/* Glass at the edges; solid, high-contrast surfaces for reading. */
:root{--surface:#fff;--surface-soft:#f2f5f8;--glass:rgba(255,255,255,.84);--ink:#202b36;--muted:#48586b;--line:#cbd4df;--gold-deep:#76551c;--shadow:0 16px 44px #23334b12}
html[data-theme=dark]{color-scheme:dark;--paper:#10161e;--white:#10161e;--surface:#192330;--surface-soft:#141d28;--glass:rgba(24,34,47,.86);--ink:#edf2f7;--muted:#bcc8d7;--line:#3c4b5e;--dark-line:#3c4b5e;--gold:#d6ba7c;--gold-deep:#e3c78d;--shadow:0 18px 50px #0004;background:var(--paper)}
body{background:var(--paper);color:var(--ink)}.site-header{background:var(--glass);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);border-color:var(--line);box-shadow:var(--shadow)}.theme-toggle{width:auto;padding:0 10px;gap:6px;font-size:13px;font-weight:600;white-space:nowrap}.theme-toggle svg{width:18px}.hero-caption,.hero-controls,.compare-tray{background:var(--glass);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.hero-caption:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,#ffffff18,transparent 55%)}.hero-caption{position:relative}.hero-controls{overflow:hidden}.product-card,.conditions-mini,.tool-form,.tool-result,.editor-card{border-radius:14px;border-color:var(--line);box-shadow:var(--shadow)}.article-card,.mini-guide,.tool-card,.video-card{transition:transform .28s,box-shadow .28s,border-color .28s}.image-guide{transition:transform .28s}.button,.filter-button,.quiz-option,.compare-product{transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #14233522}.button:active{transform:translateY(0)}.filter-button,.compare-product{border-radius:6px}.quiz-option{border-radius:10px}.guide-image{border-radius:12px;overflow:hidden}.guide-image img{transition:transform .55s}.image-guide:hover img{transform:scale(1.035)}
.tool-result,.tool-result p,.tool-result li,.tool-result dt,.tool-result dd,.tool-result h2,.tool-result h3{color:var(--ink)!important}.tool-result .eyebrow,.tool-result .tool-note,.tool-result .cost-range span{color:var(--muted)!important}.tool-result .text-link,.tool-result .cost-range{color:var(--gold-deep)!important}.result-status{font-size:12px;font-weight:600;letter-spacing:.06em;color:#285b3d;background:#e7f3eb;border:1px solid #8ab69a;padding:6px 10px;border-radius:5px}.result-actions{font-size:16px!important;line-height:1.75}.result-actions li{border-left-color:#8c7040}.tool-result>p,.tool-result section>p{font-size:16px!important;line-height:1.75}.field-hint{color:var(--muted)!important;font-size:14px!important}.product-card>p{min-height:0}.product-card h2{min-height:0}.product-specs>div{align-items:start}.product-specs dt{font-size:14px;color:var(--muted)}.product-specs dd{font-size:14px;font-weight:500}.tool-layout{align-items:start;gap:32px}.tool-form,.tool-result{min-width:0}.tool-result{top:110px}.page-head h1,.article-top h1,.section-title{overflow-wrap:break-word}.section-heading{gap:28px}.article-card h2,.video-card h3,.tool-card h3{line-height:1.35}.text-link{white-space:normal}.owl-carousel .owl-stage{display:flex}.owl-carousel .owl-item{display:flex;float:none;flex-shrink:0}.owl-carousel .video-card{width:100%;min-width:0;display:flex;flex-direction:column}.owl-carousel .video-card>p{margin-top:auto}.owl-carousel .owl-nav{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.owl-carousel .owl-nav button{width:46px;height:46px;border:1px solid var(--line)!important;border-radius:50%;font-size:24px!important;background:var(--surface)!important;color:var(--ink)!important}.owl-carousel .owl-nav button:hover{background:var(--surface-soft)!important}.owl-carousel .owl-nav button.disabled{opacity:.4}.owl-carousel .owl-dots{display:flex;justify-content:center;gap:10px;margin-top:20px}.owl-carousel .owl-dot{width:8px;height:8px;background:var(--line)!important;border-radius:50%}.owl-carousel .owl-dot.active{background:var(--gold-deep)!important;width:24px;border-radius:5px}#home-videos.owl-carousel{display:block;overflow:visible;padding:0}.carousel-controls:has(+.owl-loaded),.section-heading .carousel-controls.owl-replaced{display:none}
html[data-theme=dark] .hero{background:#10161e}html[data-theme=dark] .hero-shade{background:linear-gradient(90deg,#10161e 0%,#10161e 35%,#10161ee6 42%,#10161e00 68%)}html[data-theme=dark] :is(.hero-copy h1,.hero-caption h2,.hero-caption p,.hero-copy>.text-link,.stage-tab,.stage-line,.hero-stage-links,.play-button,.conditions-mini h3,.conditions-mini h4,.form-title,.site-header nav,.footer-grid h2){color:var(--ink)}html[data-theme=dark] :is(.hero-copy>p:not(.eyebrow),.hero-process-top,.stage-tab small,.hero-stage-links p,.home-strip,.conditions-mini p,.conditions-mini label,.product-card>p,.product-specs dt,.article-meta,.toc-links a,.quiz-hint,.field>span,.schedule-task p,.footer-bottom,.footer-brand p,.footer-grid ul,.tool-note){color:var(--muted)}html[data-theme=dark] :is(.hero-copy h1 em,.hero-copy .eyebrow,.hero-caption span,.hero-stage-links a,.stage-line .num,.stage-tab svg,.product-type,.product-price,.conditions-mini output,.conditions-mini .text-link,.site-header nav>a[aria-current=page],.site-header summary.active,.site-header nav a:hover){color:var(--gold-deep)}html[data-theme=dark] :is(.stage-tab,.home-strip,.conditions-mini,.product-card,.tool-result,.quiz-option,.tools-dropdown,dialog,.compare-tray,.site-header nav.open){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.tools-section,.tool-form,.quiz-result,.editor-card,.site-footer,.segmented,.prototype-bar,.compare-product,.compare-table th,.toc-links a){background:var(--surface-soft);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.field select,.field input:not([type=range]),.field textarea,.field-search input,.library-tools select){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.prose,.prose p,.prose li,.prose .faq-a,.prose td,.prose th){color:var(--ink);background:transparent}html[data-theme=dark] :is(.prose .tip-box,.prose .callout,.prose .takeaway-box,.prose blockquote,.prose .factcard,.prose th){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .prose a{color:var(--gold-deep)}html[data-theme=dark] .button{background:#e7edf5;color:#172230;border-color:#e7edf5}html[data-theme=dark] .button.gold{background:var(--gold);color:#172230;border-color:var(--gold)}html[data-theme=dark] .button.outline{background:transparent;color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.stage-tab[aria-selected=true],.quiz-option[aria-pressed=true],.compare-product[aria-pressed=true],.filter-button.active,.segmented button[aria-pressed=true]){background:#3a3021;color:#f5dfb2;border-color:#987b47}html[data-theme=dark] .stage-tab[aria-selected=true] :is(.stage-line,small){color:#f5dfb2}html[data-theme=dark] :is(.brand-detail,.brand-pro,.product-specs dd){color:var(--ink)}html[data-theme=dark] .result-status{background:#203b2e;color:#b8e7c8;border-color:#638e72}html[data-theme=dark] .tools-dropdown a:hover{background:#263445;color:var(--ink)}html[data-theme=dark] .search-results a{color:var(--ink)}html[data-theme=dark] .result-category{color:var(--gold-deep)}html[data-theme=dark] .close-dialog{color:var(--ink);border-color:var(--line)}html[data-theme=dark] .filter-button{color:var(--muted);border-color:var(--line)}html[data-theme=dark] .icon-button:hover{background:#ffffff0f}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.tilt-card{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .18s,box-shadow .25s;will-change:transform}.tilt-card:hover{box-shadow:0 24px 55px #10203526}.article-card:hover,.mini-guide:hover,.tool-card:hover{transform:translateY(-4px)}}
@media(max-width:1050px){.site-header nav{gap:14px}.nav-wrap{gap:14px}.theme-toggle span{display:none}}
@media(max-width:700px){.theme-toggle{width:34px;padding:0}.theme-toggle span{display:none}.tool-layout{gap:24px}.hero-caption,.hero-controls{border-radius:12px}.tool-form,.tool-result{padding:24px}.product-specs>div{min-height:0!important}.tool-result>p,.tool-result section>p,.result-actions{font-size:16px!important}.owl-carousel .owl-nav{margin-top:16px}.owl-carousel .video-card h3{font-size:20px}.hero{background:var(--surface-soft)!important}html[data-theme=dark] .hero-copy{color:var(--ink)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html[data-theme=dark] :is(.author-note p,.library-tools>label,.field-label){color:var(--muted)!important}html[data-theme=dark] .tool-card{background:var(--surface);border-color:var(--line);border-radius:12px}html[data-theme=dark] .tool-card:hover{background:#233143}html[data-theme=dark] .prose :is(.takeaway-label,.summary-label,.quick-summary p,.quick-summary b,.tl-label){color:var(--muted)!important}
html[data-theme=dark] .prose .takeaway-box h2{color:var(--gold-deep)!important}.result-actions strong{color:inherit!important}
