/* 本轮局部修订：不覆盖客户标志与硬件图片的呈现。 */
.main-nav select.theme-switch{width:76px;min-height:36px;padding:6px 8px;font-size:13px;border:1px solid var(--edge);border-radius:5px;align-self:center}
select.theme-switch:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.product-showcase{width:100%;padding:0;border:1px solid var(--edge);border-radius:8px;background:var(--surface);overflow:hidden}
.product-showcase::before{display:none}
.product-window{width:100%;aspect-ratio:8/5;border:0;border-radius:0;background:#181818}
.product-slide{margin:0;background:#181818}
.product-slide img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.product-zoom{display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in}
.product-zoom:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
html[data-theme] .product-slide.product-slide--architecture{background:#fff;padding:12px}
.product-slide figcaption{display:none}
.screenshots .shot img{width:100%;height:auto;aspect-ratio:8/5;object-fit:contain;background:#181818}
.screenshots .shot:hover img{transform:none}
.showcase-toolbar{height:76px;min-height:76px;padding:14px 16px;background:var(--surface)}
.showcase-toolbar p{font-size:11px}
[data-view="agents"]>.band>.page-hero,[data-view="agents"]>.page-hero{padding-top:44px;padding-bottom:32px;text-align:left}
[data-view="agents"] .page-hero>p{max-width:900px;margin-left:0;margin-right:0}
[data-view="agents"] .page-hero h1{margin-top:8px}
[data-view="agents"] .page-hero>.eyebrow{margin-bottom:10px}
.page-hero #download{display:block;padding:0;margin:26px 0 0;scroll-margin-top:100px;text-align:left}
.page-hero .download-copy{max-width:none;margin-bottom:16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.page-hero .download-copy .eyebrow{grid-column:1/-1;margin:0;font-size:11px}
.page-hero .download-copy h2{display:flex;align-items:center;gap:10px;max-width:100%;white-space:nowrap;font-size:22px;line-height:1.4;letter-spacing:0;color:var(--brand-ink);margin:0}
.page-hero .download-copy>p:last-child{font-size:14px;line-height:1.7;color:var(--copy);margin:0}
.page-hero .download-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0;border:0;border-radius:0;background:none}
.page-hero .download-cards>.download-card{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:20px 24px;min-width:0;border:0;border-radius:6px;background:var(--surface-alt)}
.page-hero .download-card .platform{display:none}
.page-hero .download-card h3{font-size:18px;margin:0}
.page-hero .download-card p{font-size:14px;line-height:1.65;color:var(--copy);margin:0}
.page-hero .download-card .button{margin:8px 0 0;font-size:16px;min-height:48px;padding:12px 24px}
.agent-workbench .section-heading{margin-bottom:24px;text-align:left}
.agent-tabs{justify-content:flex-start;gap:12px;margin-bottom:24px}
.agent-tabs button{font-size:16px;min-height:46px;padding:10px 24px;border-radius:5px;background:var(--surface-alt);border:0;box-shadow:none;color:var(--copy)}
.agent-tabs button.active{background:var(--brand);color:#fff;box-shadow:none}
.token-table{min-width:0;table-layout:fixed}
.token-table th:nth-child(1){width:18%}
.token-table th:nth-child(2){width:49%}
.token-table th:nth-child(3){width:33%}
.token-table th,.token-table td{overflow-wrap:anywhere;font-size:16px;letter-spacing:0}
.contact-brief{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:28px;padding-bottom:28px;flex-wrap:nowrap}
.contact-brief>div{min-width:0;background:transparent}
.contact-brief h2,.contact-brief p,.contact-brief a{font-size:16px;line-height:1.8}
.contact-brief h2{margin:0 0 6px}
.contact-brief>div:last-child{gap:4px;text-align:right;font-size:16px}
.contact-brief .eyebrow{display:none}
/* 深色最终覆盖集中于此；不改变浅色、布局和任何产品/客户/硬件图片。 */
html[data-theme="dark"] :is(.button-primary,.button-primary:hover,.main-nav .nav-consult,.main-nav .nav-consult:hover,.scene-grid button.active,.scene-grid button:hover,.agent-tabs button.active,.aie-step-tabs button.active,.gateway-tabs button[aria-selected="true"],.device-filters button.active,.showcase-controls button:hover,.rail-controls button:hover){color:var(--ground)}
/* 原品牌层对子元素有 important，仅在这一既有冲突点保留覆盖。 */
html[data-theme="dark"] .scene-grid :is(button.active,button:hover)>span,html[data-theme="dark"] .scene-grid :is(button.active,button:hover) .scene-summary{color:var(--ground)!important}
html[data-theme="dark"] .aie-step-tabs button.active :is(span,small){color:var(--ground)}
html[data-theme="dark"] :is(.gateway-tabs button[aria-selected="true"],.device-filters button.active):hover{background:var(--brand-hover);color:var(--ground)}
html[data-theme="dark"] :is(.hardware-card,.note-card,.aie-layers li,.aie-stages li,.solver-grid article,.case-card,.token-points span):hover{background:var(--surface-alt);background-image:none;box-shadow:none}
html[data-theme="dark"] .arch-layer.accent{background:var(--brand-soft);background-image:none}
html[data-theme="dark"] :is(.lightbox,.modal){background:rgba(21,23,25,.94)}
html[data-theme="dark"] :is(.lightbox-close,.modal-close){background:var(--surface-alt);color:var(--brand-ink);border-color:var(--edge)}
html[data-theme="dark"] :is(.lightbox-close,.modal-close):hover{background:var(--brand);color:var(--ground)}
html[data-theme="dark"] .product-showcase{background:var(--surface)}
html[data-theme="dark"] .capacity-table .selected-capacity{background:var(--brand-soft);box-shadow:inset 1px 0 var(--edge),inset -1px 0 var(--edge)}
html[data-theme="dark"] .capacity-status{color:var(--copy);border-color:var(--edge);background:var(--surface-alt)}
html[data-theme="dark"] .capacity-status.insufficient{color:var(--copy)}
html[data-theme="dark"] .capacity-status.fits{color:var(--brand)}
html[data-theme="dark"] .usage-shape rect:nth-child(3){fill:var(--secondary)}
html[data-theme="dark"] :is(.hardware-card.featured,.scene-grid,.card-group,.shot-grid,.hardware-grid,.device-filters button,.aie-workspace,.aie-block,.solver-grid footer,.contact-side,.footer-bottom){border-color:var(--edge)}
html[data-theme="dark"] :is(.hardware-card.featured,.shot:hover,.download-card:hover,.lightbox img){box-shadow:none}
html[data-theme="dark"] :is(.capability-card h3,.experience-choice h3,.ecosystem-grid h3,.hardware-card h3,.hpc-entry h3,.company-foundation dt,.company-product-list h3,.solver-grid h4,.application-copy .application-category){color:var(--gold)}
html[data-theme="dark"] .experience-detail summary{color:var(--accent)}
html[data-theme="dark"] .experience-detail summary:hover{color:var(--brand)}
html[data-theme="dark"] :is(.capability-card:hover p,.ecosystem-grid>div:hover p,.hardware-card:hover p,.hardware-card:hover li,.note-card:hover p,.case-card:hover p){color:var(--copy)}
html[data-theme="dark"] :is(.brand-mark img,.card-logo img){filter:brightness(0) saturate(100%) invert(72%) sepia(56%) saturate(1126%) hue-rotate(117deg) brightness(91%) contrast(91%)}
html[data-theme="dark"] ::selection{background:var(--brand);color:var(--ground)}
html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-hero{background:var(--ground)}
html[data-theme="dark"] .hero-bg::after,
html[data-theme="dark"] .scene-band::before,
html[data-theme="dark"] .ecosystem-band::before,
html[data-theme="dark"] .about-values::before{background:linear-gradient(180deg,rgba(21,23,25,.25),rgba(21,23,25,.72))}
html[data-theme="dark"] .site-header{background:var(--ground);border-bottom-color:var(--edge)}
html[data-theme="dark"] .main-nav>a:hover,
html[data-theme="dark"] .main-nav>a.active{color:var(--brand)}
html[data-theme="dark"] .main-nav .nav-download{background:var(--surface-alt);color:var(--brand-ink)}
html[data-theme="dark"] .main-nav .nav-download:hover{background:var(--brand-soft);color:var(--brand)}
html[data-theme="dark"] .main-nav .theme-switch{background:var(--surface-alt);color:var(--copy)}
html[data-theme="dark"] .main-nav .theme-switch:hover{background:var(--brand-soft);color:var(--brand-ink)}
html[data-theme="dark"] .main-nav .nav-new{color:var(--ground)}
html[data-theme="dark"] .card-group,
html[data-theme="dark"] .scene-grid,
html[data-theme="dark"] .shot-grid,
html[data-theme="dark"] .architecture,
html[data-theme="dark"] .ecosystem-grid,
html[data-theme="dark"] .download-cards,
html[data-theme="dark"] .hardware-grid,
html[data-theme="dark"] .case-grid,
html[data-theme="dark"] .value-grid,
html[data-theme="dark"] .solver-grid,
html[data-theme="dark"] .aie-stages{background:var(--surface-alt);border-color:var(--edge)}
html[data-theme="dark"] :is(.arch-layer:hover,.hardware-card:hover,.note-card:hover,.aie-layers li:hover,.solver-grid article:hover,.aie-stages li:hover,.case-card:hover,.fact-grid>div:hover,.value-grid article:hover,.tech-list span:hover){background:var(--surface-blue);background-image:none;color:var(--brand-ink);border-color:var(--edge);box-shadow:none}
html[data-theme="dark"] :is(.arch-layer:hover,.hardware-card:hover,.note-card:hover,.aie-layers li:hover,.solver-grid article:hover,.aie-stages li:hover,.case-card:hover,.fact-grid>div:hover,.value-grid article:hover,.tech-list span:hover) :is(h2,h3,h4,p,span,b,small,li,footer,.case-meta){color:var(--brand-ink)}
html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .button-primary:hover,
html[data-theme="dark"] .scene-grid button.active,
html[data-theme="dark"] .scene-grid button:hover,
html[data-theme="dark"] .agent-tabs button.active,
html[data-theme="dark"] .aie-step-tabs button.active,
html[data-theme="dark"] .gateway-tabs button[aria-selected="true"],
html[data-theme="dark"] .device-filters button.active{background:var(--brand);border-color:var(--brand);color:var(--ground)}
html[data-theme="dark"] :is(.button-primary:hover,.gateway-tabs button[aria-selected="true"]:hover,.device-filters button.active:hover){background:var(--brand-hover);border-color:var(--brand-hover)}
html[data-theme="dark"] :is(.scene-grid button.active,.scene-grid button:hover,.aie-step-tabs button.active) :is(span,.scene-summary,small){color:var(--ground)!important}
html[data-theme="dark"] .text-link:hover,
html[data-theme="dark"] .contact-brief a:hover{color:var(--brand-hover)}
html[data-theme="dark"] .hero-copy h1,
html[data-theme="dark"] .page-hero h1{color:var(--brand-ink)}
html[data-theme="dark"] .hero-badge strong{color:var(--brand-ink)}
html[data-theme="dark"] .capacity-table .selected-capacity{background:var(--brand-soft);box-shadow:inset 1px 0 var(--edge),inset -1px 0 var(--edge)}
html[data-theme="dark"] .data-table thead th{background:var(--surface-alt)}
html[data-theme="dark"] .consult-process li:hover{border-color:var(--brand);background:var(--brand-soft)}
html[data-theme="dark"] .product-window,
html[data-theme="dark"] .product-slide,
html[data-theme="dark"] .screenshots .shot img{background:#181818}
@media(max-width:1180px){.main-nav select.theme-switch{margin-left:0;align-self:flex-start}}
@media(max-width:900px){.brand-hero-frame>*{min-width:0}}
@media(max-width:600px){.product-showcase{padding:0;border-radius:6px}.showcase-toolbar{min-height:78px;padding:12px;gap:8px}.showcase-toolbar strong{font-size:12px}.showcase-toolbar p{font-size:10px;max-width:150px}.showcase-controls button{min-height:38px;min-width:34px}.page-hero .download-cards{gap:10px}.page-hero .download-cards>.download-card{padding:14px 12px;gap:5px}.page-hero .download-card h3{font-size:16px}.page-hero .download-card p{font-size:12px;line-height:1.6}.page-hero .download-card .button{width:100%;padding:10px 5px;font-size:12px;min-height:46px}.page-hero .download-copy h2{font-size:clamp(17px,5vw,20px);gap:8px}.page-hero .download-copy>p:last-child{font-size:13px}[data-view="agents"]>.band>.page-hero,[data-view="agents"]>.page-hero{padding-top:30px;padding-bottom:24px}.page-hero #download{margin-top:20px}.agent-tabs{gap:8px;margin-bottom:22px}.agent-tabs button{padding:10px 15px;font-size:15px;flex:1;white-space:nowrap}.contact-brief{flex-direction:column;align-items:flex-start;gap:18px}.contact-brief>div:last-child{text-align:left}.token-table th,.token-table td{padding:12px 8px;font-size:14px}.token-table th:nth-child(1){width:24%}.token-table th:nth-child(2){width:43%}}
