.site-search-link{display:inline-flex;align-items:center;min-height:42px;padding-inline:12px;border:1px solid var(--line);border-radius:8px;font-weight:650}.theme-control{display:flex;align-items:center;gap:8px;font-size:12px}.theme-control select{width:auto;min-width:105px;min-height:42px;margin:0}.search-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(100px,180px) auto;align-items:center;gap:12px}.search-form input,.search-form select{margin:0;min-width:0}.search-form button{padding:12px 20px;border:1px solid var(--line);border-radius:8px;background:var(--ink);color:#fff}.search-group{margin-block:28px}.search-group>h2{margin-block:18px}.search-result{margin-block:10px;overflow-wrap:anywhere}.search-result h3{font-size:18px}.search-result p,.home-news p{font-size:13px;line-height:1.7;margin-block:8px;color:var(--muted)}.search-empty{padding-block:30px}.home-news{padding-block:30px;order:2}.home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-news-grid h3{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
:root[data-theme=dark]{color-scheme:dark;--ink:#e5ede7;--muted:#b4c3b9;--line:#3d5147;--gold:#d8bd7e;--paper:#101b17;--surface:#1a2a22;background:#101b17;color:#e5ede7}
:root[data-theme=dark] body{background:#101b17;color:var(--ink)}
:root[data-theme=dark] .demo-banner{background:#243c2e;color:#d7e7d5}
:root[data-theme=dark] :is(.home-intro,.article-toc,.article-caution,.catalog-notice,.demo-notice,.catalog-outline,.ad-slot,#chart-tooltip){background:#23382b;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .editorial-article{color:var(--ink)}
:root[data-theme=dark] :is(.editorial-article a,.catalog-back,.product-detail-link){color:#e4c988}
:root[data-theme=dark] :is(.guide-index p,.catalog-notice p,.catalog-filters label,.ad-label,.ad-placeholder){color:var(--muted)}
:root[data-theme=dark] #chart text{fill:var(--muted)}
:root[data-theme=dark] #chart line{stroke:var(--line)}
:root[data-theme=dark] :is(.panel,.market-card,details,.site-header,.search-form,.source-toolbar,input,select,textarea,.language-switcher button,.source-toolbar button,.site-account-link,.site-search-link,.home-secondary,.unit-select select,.periods button,.chart-tab,.tag){background:#1a2a22;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(h1,h2,h3,.site-wordmark,.home-intro h1,.quote,.chart-summary strong,.article-lead,.site-navigation a,.site-account-link,.home-secondary,.home-source,.table-note,.site-brand-caption,.currency-note){color:var(--ink)}
:root[data-theme=dark] :is(.home-intro p,.intro p,.data-notice,.chart-source,.home-source,.quote-date,details p,.panel p,.panel label,small,th){color:var(--muted)}
:root[data-theme=dark] :is(.site-navigation a[aria-current=page],.site-navigation a:hover,.selected,.market-card.selected,.periods button.active,.chart-tab.active,.home-primary){background:#304b3b;color:#f1dfb1}
:root[data-theme=dark] :is(.search-form button,.site-menu-toggle){background:#e4c988;color:#152b22}
:root[data-theme=dark] :is(.guide-card,.home-intro-visual){background:#23382b;color:#f1dfb1}
:root[data-theme=dark] #market-status[data-state=ready]{background:#243c2e;color:#d7e7d5}
:root[data-theme=dark] #market-status[data-state=warning]{background:#493426;color:#ffe0bd}
:root[data-theme=dark] :is(.change.positive,.positive){color:#9ed8a8}
:root[data-theme=dark] :is(.change.negative,.negative){color:#f2b3a5}
:root[data-theme=dark] .result{background:#23382b;border-color:#526044;color:var(--ink)}
:root[data-theme=dark] .result>span,:root[data-theme=dark] .result small{color:#bdcdbb}
:root[data-theme=dark] .result output{color:#f1dfb1}
:root[data-theme=dark] .result .tiny-demo{background:#344535;border-color:#6d7954;color:#eedca5}
:root[data-theme=dark] .periods{background:#15271f;border-color:var(--line)}
:root[data-theme=dark] .periods button{background:transparent;color:#c5d2c5}
:root[data-theme=dark] .periods button[aria-pressed=true]{background:#e4c988;color:#152b22;box-shadow:none}
:root[data-theme=dark] .chart-summary>.change{background:#203c2b;color:#9ed8a8}
:root[data-theme=dark] .chart-summary>.negative{background:#452e28;color:#f2b3a5}
:root[data-theme=dark] .weight-panel td{border-color:var(--line)}
:root[data-theme=dark] .weight-panel td:first-child{color:var(--muted)}
:root[data-theme=dark] .weight-panel td:nth-child(2){color:var(--ink)}
:root[data-theme=dark] a:focus-visible,:root[data-theme=dark] button:focus-visible,:root[data-theme=dark] select:focus-visible{outline:2px solid #e4c988;outline-offset:3px}
@media(max-width:1000px){.site-header-actions{flex-wrap:wrap}.search-form{grid-template-columns:1fr 2fr}.search-form button{grid-column:1/-1}.home-news-grid{grid-template-columns:1fr}}
@media(max-width:760px){.theme-control{flex-wrap:wrap}.site-header-actions{gap:10px}.search-form{grid-template-columns:1fr}.search-form button{grid-column:auto}.home-news{padding-block:20px}}
@media print{:root[data-theme=dark] body,:root[data-theme=dark] .panel{background:white;color:black}.theme-control,.site-search-link{display:none}}
.theme-icon-control{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#284535;cursor:pointer}
.theme-icon-control>svg{width:21px;height:21px;pointer-events:none}
.theme-icon-control .theme-moon{display:none}
.theme-icon-control select{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;opacity:0;cursor:pointer;margin:0;padding:0}
.theme-icon-control:hover{background:#f2f5ed;border-color:#b6c2ae}
.theme-icon-control:focus-within{outline:2px solid #cdb477;outline-offset:3px}
:root[data-theme=dark] .theme-icon-control{background:#20362c;border-color:#4b6355;color:#e4c988}
:root[data-theme=dark] .theme-icon-control .theme-sun{display:none}
:root[data-theme=dark] .theme-icon-control .theme-moon{display:block}
@media print{.theme-icon-control{display:none}}

:root[data-theme=dark] :is(.eyebrow,.card-demo,.day-label,.quote small,.chart-summary div>span,.chart-bottom,.muted,.calc-intro,.calc-note,.table-note,.section-heading>span){color:var(--muted)}

:root[data-theme=dark] :is(.chart-bottom>span:first-child,.guide-card p,.data-notice strong){color:var(--muted)}
:root[data-theme=dark] .change:not(.negative) .absolute-change{color:#9ed8a8}
:root[data-theme=dark] .change.negative .absolute-change{color:#f2b3a5}

:root[data-theme=dark] .change:not(.negative){color:#9ed8a8}
:root[data-theme=dark] :is(.catalog-notice a,.filter-reset,.catalog-pagination a){color:#e4c988}
:root[data-theme=dark] :is(.product-description,.catalog-source,.merchant-city,.merchant-excerpt,.merchant-tags span,.contact-list dt,.comparison-table small,.product-facts span,.offer-notes td,.catalog-result-heading>span,.catalog-pagination>span){color:var(--muted)}

:root[data-theme=dark] .empty-offers{background:#23382b;color:var(--muted)}
:root[data-theme=dark] .demo-notice strong{color:#e4c988}
:root[data-theme=dark] .comparison-table th{background:#23382b;color:var(--muted)}
:root[data-theme=dark] .comparison-table td{background:#1a2a22;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .comparison-table .best-offer td{background:#23382b}
:root[data-theme=dark] .comparison-table td[data-label]:before{color:var(--muted)}

:root[data-theme=dark] .offer-best{color:#9ed8a8}
:root[data-theme=dark] .editorial-article .catalog-button{color:#fff}
