:root{--color-bg: #fafafa;--color-surface: #ffffff;--color-border: #e2e2e2;--color-text: #1a1a1a;--color-muted: #666666;--color-accent: #1d4ed8;--color-accent-contrast: #ffffff;--color-retired: #b45309;--radius: 8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--color-bg);color:var(--color-text);line-height:1.5}a{color:var(--color-accent);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:1.6rem;margin:0 0 1rem}h2{font-size:1.15rem;margin:0 0 .75rem}.site-header{background:var(--color-surface);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:10}.site-header-inner{max-width:1100px;margin:0 auto;padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}.brand{font-weight:700;color:var(--color-text)}.main-nav{display:flex;gap:1.25rem}.main-nav a{color:var(--color-muted);font-weight:500}.main-nav a.active{color:var(--color-text)}.site-main{max-width:1100px;margin:0 auto;padding:1.5rem 1.25rem 3rem}.site-footer{text-align:center;color:var(--color-muted);font-size:.8rem;padding:2rem 1.25rem}.btn{border:1px solid var(--color-border);background:var(--color-surface);border-radius:var(--radius);padding:.4rem .85rem;font-size:.9rem;cursor:pointer}.btn:hover:not(:disabled){border-color:var(--color-accent)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-compare.active{background:var(--color-accent);color:var(--color-accent-contrast);border-color:var(--color-accent)}.btn-remove{font-size:.75rem;margin-top:.35rem}.btn-load-more{display:block;margin:1.5rem auto 0}select,input[type=search],input[type=text]{border:1px solid var(--color-border);border-radius:var(--radius);padding:.4rem .6rem;font-size:.9rem;background:var(--color-surface);color:var(--color-text)}.status-toggle{display:inline-flex;border:1px solid var(--color-border);border-radius:var(--radius);overflow:hidden}.status-toggle button{border:none;background:var(--color-surface);padding:.4rem .9rem;cursor:pointer;font-size:.9rem}.status-toggle button.active{background:var(--color-accent);color:var(--color-accent-contrast)}.hint{color:var(--color-muted);font-size:.85rem}.error-message{color:#b91c1c}.empty-state{color:var(--color-muted);padding:2rem 0}.badge{display:inline-block;font-size:.75rem;font-weight:600;padding:.15rem .5rem;border-radius:999px;margin:.25rem 0}.badge-retired{background:#fef3c7;color:var(--color-retired)}.browse-controls{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.25rem}.search-form{display:flex;gap:.4rem}.browse-view-toggle{margin-left:auto}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:1.1rem}.product-list{display:flex;flex-direction:column;gap:.6rem}.product-list .product-card{flex-direction:row;align-items:center}.product-list .product-card-media{width:84px;height:84px;flex:0 0 auto}.product-list .product-card-body{flex-direction:row;align-items:center;flex:1;gap:1rem;padding:.6rem 1rem;min-width:0}.product-list .product-card-brand{flex:0 0 120px}.product-list .product-card-name{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-list .product-card-meta{flex:0 0 auto;white-space:nowrap}.product-list .product-card-video-count{flex:0 0 160px;white-space:nowrap}.product-list .product-card .btn-compare{flex:0 0 auto;margin-top:0}.product-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}.product-card-media{aspect-ratio:1 / 1;background:#f2f2f2;display:block}.product-card-media img,.product-detail-media img{width:100%;height:100%;object-fit:contain}.product-card-media-placeholder{width:100%;height:100%;background:repeating-linear-gradient(45deg,#eee,#eee 10px,#f5f5f5 10px,#f5f5f5 20px)}.product-card-body{padding:.75rem;display:flex;flex-direction:column;gap:.25rem}.product-card-brand{font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;color:var(--color-muted)}.product-card-name{font-weight:600;color:var(--color-text)}.product-card-meta,.product-card-video-count{font-size:.8rem;color:var(--color-muted)}.product-card .btn-compare{margin-top:.5rem;align-self:flex-start}.similar-card{display:block}.back-link{display:inline-block;margin-bottom:1rem}:root{--detail-hero-height: 352px}.product-detail-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.product-detail-media{width:var(--detail-hero-height);height:var(--detail-hero-height);flex:0 0 auto;border-radius:var(--radius);overflow:hidden;border:1px solid var(--color-border);background:#f2f2f2}.product-detail-heading{flex:1 1 240px}.product-detail-heading h1{margin-top:.25rem}.product-detail-gallery{display:flex;flex-direction:column;flex:0 0 auto;gap:.6rem;height:var(--detail-hero-height);overflow-y:auto;padding-right:.15rem}.product-detail-gallery-thumb{width:72px;height:72px;flex:0 0 auto;padding:0;border:1px solid var(--color-border);border-radius:var(--radius);overflow:hidden;background:var(--color-surface);cursor:pointer}.product-detail-gallery-thumb:hover{border-color:var(--color-accent)}.product-detail-gallery-thumb.active{border-color:var(--color-accent);border-width:2px}.product-detail-gallery-thumb img{width:100%;height:100%;object-fit:contain;display:block}.detail-section{border-top:1px solid var(--color-border);padding:1.5rem 0}.spec-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.5rem 1.5rem;margin:0 0 1rem}.spec-row{display:flex;justify-content:space-between;gap:.5rem;border-bottom:1px dashed var(--color-border);padding-bottom:.15rem}.spec-row dt{color:var(--color-muted)}.spec-row dd{margin:0;font-weight:500;text-align:right}.sku-table,.compare-table{border-collapse:collapse;width:100%;font-size:.9rem}.sku-table th,.sku-table td,.compare-table th,.compare-table td{border:1px solid var(--color-border);padding:.5rem .75rem;text-align:left}.product-description{color:var(--color-muted);margin-top:1rem}.video-summary{white-space:pre-wrap}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem}.video-embed{aspect-ratio:16 / 9;background:#000;border-radius:var(--radius);overflow:hidden}.video-embed iframe{width:100%;height:100%;border:0}.video-card-title{font-weight:600;margin-top:.5rem}.video-card-channel{font-size:.8rem;color:var(--color-muted)}.video-card-summary{font-size:.85rem;color:var(--color-muted)}.compare-search{position:relative;max-width:420px;margin-bottom:1.5rem}.compare-search input{width:100%}.compare-search-results{position:absolute;top:100%;left:0;right:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);margin:.25rem 0 0;padding:.25rem;list-style:none;z-index:5}.compare-search-results li{display:flex;justify-content:space-between;align-items:center;padding:.4rem .5rem;gap:.5rem}.compare-table-wrap{overflow-x:auto;margin-top:1rem}.compare-table th img{width:80px;height:80px;object-fit:contain;display:block;margin:0 auto .4rem}.compare-table thead th{text-align:center;vertical-align:top}.plotter-controls{display:flex;gap:.75rem;align-items:center;margin-bottom:.75rem;flex-wrap:wrap}.plotter-size-control{display:flex;align-items:center;gap:.4rem;font-size:.9rem;color:var(--color-muted)}.plotter-count{font-size:.85rem;color:var(--color-muted);margin-left:auto}.plotter-brand-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:1rem}.plotter-brand-chips-label{font-size:.85rem;font-weight:600;margin-right:.15rem}.chip{border:1px solid var(--color-border);background:var(--color-surface);border-radius:999px;padding:.25rem .75rem;font-size:.8rem;cursor:pointer;color:var(--color-text)}.chip.chip-off{opacity:.4;text-decoration:line-through}.plotter-chart-wrap{position:relative;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius)}.plotter-svg{width:100%;height:auto;display:block}.axis-line{stroke:#b9bec9;stroke-width:2}.axis-label{font-size:12px;fill:var(--color-muted)}.plotter-gridline{stroke:var(--color-border);stroke-width:1}.plotter-tick{font-size:10px;fill:var(--color-muted)}.plotter-ball{cursor:pointer}.plotter-ball image{pointer-events:none}.plotter-ball-hit{pointer-events:all}.plotter-ball-placeholder{fill:#eee}.plotter-ball-ring{stroke-width:2;transition:stroke-width .1s}.plotter-ball:hover .plotter-ball-ring{stroke-width:3}.plotter-ball-ring-chart{stroke:var(--color-accent)}.plotter-ball-ring-estimated{stroke:var(--color-accent);stroke-dasharray:3 2}.plotter-ball-ring-manual{stroke:var(--color-retired)}.plotter-tooltip{position:absolute;bottom:.75rem;left:.75rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:.5rem .75rem;display:flex;gap:.6rem;align-items:center;box-shadow:0 4px 12px #00000014;pointer-events:none}.plotter-tooltip img{width:44px;height:44px;object-fit:contain}@media (max-width: 640px){.product-detail-header{flex-direction:column}.product-detail-media{width:100%;height:auto;aspect-ratio:1 / 1}.product-detail-gallery{flex-direction:row;width:100%;height:auto;overflow-x:auto;overflow-y:visible;padding-right:0;padding-bottom:.15rem}.product-list .product-card{flex-wrap:wrap}.product-list .product-card-body{flex-wrap:wrap;padding:.5rem .75rem}.product-list .product-card-brand,.product-list .product-card-video-count{flex:1 1 100%}}
