:root{font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:clamp(11px,.28vw + 10px,14px);line-height:1.45;color:#212529;background:#fff}*{box-sizing:border-box}html{height:100%}body{margin:0;min-height:100%;overflow-x:hidden;background:#e9ecef}a{color:#007bff}.desktop-app{display:flex;flex-direction:row;align-items:stretch;min-height:100vh;min-height:100dvh;width:100%;max-width:min(1600px,100%);margin:0 auto;padding:clamp(8px,2vw,16px);padding-left:max(clamp(8px,2vw,16px),env(safe-area-inset-left,0px));padding-right:max(clamp(8px,2vw,16px),env(safe-area-inset-right,0px));padding-bottom:max(clamp(8px,2vw,16px),env(safe-area-inset-bottom,0px));gap:clamp(12px,2.5vw,24px);background:#fff}.panel-left{flex:0 1 380px;width:100%;max-width:420px;min-width:0}.panel-right{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;min-height:0}.panel-left-actions{display:flex;flex-wrap:wrap;gap:8px}.panel-left-actions .btn-secondary,.panel-left-actions .btn-warning{margin:0;flex:1 1 auto;min-width:140px}.hero-box{background:#f8f9fa;border:1px solid #dee2e6;padding:8px;margin-bottom:8px}.hero-title{font-size:13px;font-weight:700;margin:0 0 4px;color:#212529}.hero-sub{font-size:9px;color:#6c757d;margin:0 0 8px}.hero-textarea{width:100%;min-height:72px;font-size:9px;font-family:Segoe UI,system-ui,sans-serif;border:1px solid #dee2e6;padding:8px;resize:vertical}.hero-textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 1px #007bff}.btn-pull{width:100%;margin-top:8px;padding:8px 24px;font-size:11px;font-weight:700;background:#007bff;color:#fff;border:none;cursor:pointer}.btn-pull:hover:not(:disabled){background:#0056b3}.btn-pull:disabled{opacity:.65;cursor:not-allowed}.section-label{font-size:9px;font-weight:700;color:#2c3e50;margin:8px 0 4px}.throttle-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:8px}.throttle-row label{display:flex;align-items:center;gap:2px;cursor:pointer}.progress-label{font-size:8px;color:#6c757d;margin-bottom:2px}.progress-track{height:6px;background:#e9ecef;border-radius:0;overflow:hidden}.progress-fill{height:100%;background:#007bff;transition:width .3s ease}.progress-indeterminate{width:40%!important;animation:progress-slide 1.2s ease-in-out infinite}@keyframes progress-slide{0%{transform:translate(-100%)}to{transform:translate(350%)}}.steps-row{display:flex;gap:8px;margin-top:4px;font-size:7px;color:#6c757d}.step-done{color:#28a745}.listbox{width:100%;height:80px;font-size:8px;border:1px solid #dee2e6;overflow:auto;background:#fff}.listbox-item{padding:4px 6px;cursor:pointer;min-height:1.75em}.listbox-item:hover{background:#e7f3ff}.listbox-item-selected{background:#cce5ff;font-weight:600}.url-badges{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0}.url-badge{display:inline-block;padding:2px 8px;border-radius:4px;color:#fff;font-size:9px;font-weight:600}.url-badge-error{background:#dc3545}.url-preview-error{margin:4px 0 6px;padding:8px;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#842029;font-size:9px;line-height:1.45;white-space:pre-wrap}.url-preview{background:#e7f3ff;color:#0c5460;padding:6px 8px;margin-bottom:6px;font-size:9px;border-radius:4px}.column-chooser{display:flex;flex-wrap:wrap;gap:6px 12px;padding:8px;margin-bottom:8px;background:#f8f9fa;border:1px solid #dee2e6;max-height:120px;overflow:auto}.column-chooser-item{font-size:10px;white-space:nowrap}.th-sort{background:none;border:none;padding:0;font:inherit;font-weight:700;cursor:pointer;color:inherit;text-align:left}.toolbar-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chip-btn-columns{font-weight:600}.log-box{width:100%;height:72px;font-family:Consolas,monospace;font-size:7px;background:#f8f9fa;color:#495057;border:1px solid #dee2e6;padding:4px;overflow:auto;white-space:pre-wrap}.btn-secondary{padding:4px 10px;font-size:9px;margin:4px 4px 4px 0;border:1px solid #6c757d;background:#6c757d;color:#fff;cursor:pointer}.btn-warning{padding:4px 10px;font-size:9px;margin:4px 0;border:1px solid #ffc107;background:#ffc107;color:#212529;cursor:pointer}.toolbar{border:1px solid #dee2e6;background:#fff;padding:8px 16px;margin-bottom:4px}.toolbar-section-title{font-size:9px;font-weight:700;color:#495057;margin-bottom:4px}.region-btns{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.chip-btn{font-size:9px;padding:4px 8px;border:1px solid #dee2e6;background:#f8f9fa;color:#495057;cursor:pointer}.chip-btn:hover{background:#dee2e6}.chip-btn.active{background:#007bff;color:#fff;border-color:#007bff}.chip-btn.chip-link{border:none;background:transparent;color:#007bff}.chip-btn.chip-link:hover{background:#e7f3ff}.chip-btn.chip-link.active{background:#007bff;color:#fff}.diff-input{width:3rem;max-width:100%;font-size:inherit;padding:4px 6px;border:1px solid #dee2e6}.btn-apply-inline{width:auto;margin:0;padding:6px 12px}.toolbar-row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px 20px;align-items:end;margin-top:8px}.toolbar-block{min-width:0}.toolbar-reset{justify-self:end;align-self:end}.region-quick{display:flex;gap:4px;margin-left:auto;flex-shrink:0}.filter-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.segmented{display:inline-flex;border:1px solid #dee2e6;background:#f8f9fa}.segmented button{font-size:9px;padding:4px 8px;border:none;background:#f8f9fa;color:#495057;cursor:pointer}.segmented button.active{background:#007bff;color:#fff}.segmented button+button{border-left:1px solid #dee2e6}.results-table-wrap{flex:1 1 auto;overflow:auto;overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;border:1px solid #dee2e6;min-height:200px;max-height:min(72vh,calc(100dvh - 220px));width:100%}.results-table{width:max(100%,max-content);min-width:100%;border-collapse:collapse;font-size:clamp(8px,.2vw + 7px,11px)}.results-table th{position:sticky;top:0;background:#f8f9fa;font-weight:700;text-align:left;padding:4px 6px;border-bottom:1px solid #dee2e6;white-space:nowrap}.results-table td{padding:3px 6px;border-bottom:1px solid #eee;white-space:nowrap}.row-cheaper{background:#d4edda}.row-similar{background:#fff3cd}.row-expensive{background:#f8d7da}.row-unavailable{background:#f8f9fa}.export-bar{display:grid;grid-template-columns:repeat(2,max-content);gap:8px 12px;padding:8px 0;align-items:center;justify-content:start}.export-bar .btn-secondary,.export-bar .btn-success{margin:0;white-space:nowrap}.export-hint{grid-column:1 / -1;font-size:9px;color:#6c757d;line-height:1.4}.btn-success{padding:6px 12px;font-size:9px;font-weight:600;background:#28a745;color:#fff;border:none;cursor:pointer}.btn-success:hover{background:#218838}.error-box{margin:8px 0;padding:8px;background:#f8d7da;border:1px solid #f5c6cb;font-size:9px;color:#842029;line-height:1.45;white-space:pre-wrap}.empty-results{padding:24px;text-align:center;color:#6c757d;font-size:11px}.spinner{width:14px;height:14px;border:2px solid #dee2e6;border-top-color:#007bff;border-radius:50%;animation:spin .65s linear infinite;display:inline-block;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1199.98px){.panel-left{flex-basis:320px;max-width:360px}.toolbar{padding:8px 12px}.toolbar-row2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.toolbar-reset,.toolbar-actions{grid-column:1 / -1;justify-self:start}.toolbar-actions{display:flex;flex-wrap:wrap;width:100%}}@media (max-width: 991.98px){.desktop-app{flex-direction:column;max-width:none}.panel-left{flex:none;max-width:none;width:100%}.panel-right{flex:1 1 auto;min-height:55vh;min-height:55dvh}.results-table-wrap{min-height:280px;max-height:min(65vh,65dvh)}.toolbar-reset{justify-self:start;width:auto}}@media (max-width: 767.98px){:root{font-size:12px}.hero-title{font-size:15px}.hero-sub,.section-label,.toolbar-section-title{font-size:11px}.hero-textarea{font-size:11px;min-height:88px}.btn-pull{padding:12px 20px;font-size:13px}.listbox{height:clamp(64px,18vh,120px)}.log-box{height:clamp(56px,14vh,100px);font-size:9px}.toolbar-row2{grid-template-columns:1fr;gap:12px}.toolbar-reset{justify-self:start;width:auto}.toolbar-block,.filter-group{width:100%}.segmented{display:flex;width:100%}.segmented button{flex:1 1 0;padding:8px 6px;font-size:10px}.region-btns{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:4px;margin:0 -4px;padding-left:4px;padding-right:4px}.region-btns .chip-btn{flex-shrink:0}.region-quick{margin-left:0;flex-shrink:0;width:100%;justify-content:flex-end;display:flex;padding-top:4px}.column-chooser{max-height:min(160px,28vh)}.export-bar{grid-template-columns:1fr}.export-bar .btn-secondary,.export-bar .btn-success{width:100%;padding:10px 14px;font-size:11px}}@media (max-width: 479.98px){.desktop-app{padding:8px;gap:12px}.throttle-row{font-size:10px;gap:10px}.throttle-row label{min-height:32px}.panel-left-actions{flex-direction:column}.panel-left-actions .btn-secondary,.panel-left-actions .btn-warning{width:100%;min-width:0;padding:10px}.chip-btn{padding:6px 10px;font-size:10px}.results-table{font-size:9px}.results-table th,.results-table td{padding:5px 8px}}@media (hover: none) and (pointer: coarse){.btn-pull,.chip-btn,.segmented button,.btn-secondary,.btn-warning,.btn-success{min-height:40px}.throttle-row label{padding:4px 0}}@media (min-width: 1400px){.panel-left{flex-basis:400px}}@media (max-height: 600px) and (max-width: 991.98px){.results-table-wrap{min-height:160px;max-height:min(50vh,50dvh)}.listbox,.log-box{height:56px}}@media (min-width: 1200px){.results-table-wrap{max-height:min(78vh,calc(100dvh - 200px))}}@media (prefers-reduced-motion: reduce){.progress-fill,.spinner,.progress-indeterminate{animation:none}.progress-indeterminate{width:100%!important;opacity:.5}}
