/* Retain the November storefront layer and bridge the October tool/control vocabulary. */
html:root { background:#091518; color-scheme:dark; font:100%/1.55 var(--font); }
html body {
 --ink:var(--text); --surface:#102329; --surface-2:#142d32; --surface-3:#1a373c;
 --accent:var(--aqua); --accent-glow:#57d8bf22; --blue:var(--aqua); --blue-strong:var(--aqua-soft);
 --muted:#b5c5c5; --faint:#8ca3a7; --shadow:0 16px 45px #0003; --background-pattern:none;
 --label-ink:var(--text); --label-muted:var(--muted); --label-accent:var(--aqua);
 --label-line:#35565a; --label-wash:#17383d;
 margin:0; min-height:100svh; display:flex; flex-direction:column; background:var(--bg);
 color:var(--text); font:400 1rem/1.55 var(--font);
}
body > main { flex:1; min-width:0; }
body > header.site-header { z-index:20; padding:0; }
body > footer.site-footer { padding:0; }
.site-footer .foot-content { padding-block:30px; }
.head-inner nav a { min-height:44px; align-content:center; }
.logo { flex-shrink:1; }
.skip { z-index:99; }
.skip:focus, .btn:not(.secondary,.quiet), .button:not(.secondary), .search .btn { color:#09201e; }
::selection { color:#09201e; }
html body .theme-scene, html body[data-page="home"] .theme-scene { opacity:.12; }
body[data-page="home"] .discovery #site-announcement { margin-top:8px; color:var(--aqua-soft); }
.feature-product-entry:hover strong { color:var(--aqua-soft); }
.feature-copy, .feature-fact, .feature-product-entry { min-width:0; }
.storefront-product-icon img { width:22px; height:22px; object-fit:contain; }
.feature-product-entry .storefront-product-icon { width:48px; height:48px; }
.feature-product-entry .storefront-product-icon img { width:30px; height:30px; }

/* Discovery uses the pinned dark card/grid with October's live registry, sort and filters. */
.storefront-selects { display:flex; flex-wrap:wrap; gap:10px 18px; }
.storefront-selects label { display:flex; align-items:center; gap:.55rem; font-size:.875rem; color:var(--muted); }
.storefront-selects select { font:inherit; color:var(--text); background:#0d2125; border:1px solid #547373; border-radius:8px; min-height:44px; padding:7px 9px; max-width:100%; }
.catalog-group { margin:0 0 25px; }
.catalog-group-header { margin:0 0 12px; }
.catalog-group-header h2 { font-size:1.125rem; }
.catalog-group-header p, .catalog-group-count { color:var(--muted); font-size:.875rem; }
.cards .product-card { min-width:0; overflow-wrap:anywhere; }
.cards .product-card h2 { font-size:clamp(1.1rem,2vw,1.45rem); letter-spacing:-.035em; }
.cards .product-card > .card-bottom { margin-top:auto; }
#tool-list[aria-busy="true"] { min-height:100px; }

/* Product detail, informational and workspace structure retain their original IDs and inputs. */
main .container { width:min(var(--max),calc(100% - 88px)); }
main .page-wrap { min-height:0; padding-bottom:60px; }
.kicker { color:var(--aqua); }
main .basic-page { max-width:820px; }
main .basic-page h1, .product-hero h1, .workspace-shell h1 {
 font-size:clamp(2rem,5.3vw,4.1rem); letter-spacing:-.064em; line-height:1.08;
}
main .basic-page p, .product-hero p, .workspace-shell .sub { font-size:1rem; color:var(--muted); }
main .basic-page a:not(.button), main .privacy-inline a { color:var(--aqua-soft); text-decoration:underline; text-underline-offset:.16em; }
main .product-panel, main .card { border:1px solid #365c5d; background:linear-gradient(150deg,#142e33,#102329); }
main .work-card { background:#102329; }
main .button:not(.secondary) { background:var(--aqua); }
main .button:hover:not(:disabled,.secondary) { background:#84efda; color:#09201e; filter:none; }
main .button.secondary { background:transparent; color:var(--text); border-color:#66898a; }
main .button.secondary:hover:not(:disabled) { background:#173339; }
main .button.pending-action { cursor:default; }
main .field :is(input:not([type="file"]),textarea,select) { background:#0d2125; border-color:#547373; color:var(--text); font-size:1rem; }
main .drop-zone { border-color:#547373; }
main .site-footer a:hover, main .breadcrumb a:hover { text-decoration:underline; }
main .notice { background:#102a2c; color:#cce5df; }
main .work-error:not(:empty) { background:#37282b; color:#ffc0bb; border-color:#8b4e4d; }
main .trim-waveform { background:#0d2125; }
main :is(input[type="range"],progress) { accent-color:var(--aqua); }

/* Label engine and preview stay untouched, including the white scan quiet zone. */
main.label-tool { width:min(var(--max),calc(100% - 88px)); max-width:none; padding:42px 0 58px; font-family:var(--font); }
main.label-tool .label-hero { background:linear-gradient(128deg,#16383b,#102329); }
main.label-tool .label-hero h1 { font-size:clamp(2rem,5.3vw,4.1rem); letter-spacing:-.062em; }
main.label-tool .label-tag { background:#1a373c; color:var(--aqua-soft); }
main.label-tool .label-card { color:var(--text); background:#102329; border-color:#365c5d; }
main.label-tool :is(input:not([type="checkbox"]),textarea,select) { background:#0d2125; color:var(--text); border:1px solid #547373; }
main.label-tool :is(button,.label-button) { background:var(--aqua); border:1px solid var(--aqua); color:#09201e; }
main.label-tool :is(button,.label-button).label-secondary { color:var(--aqua-soft); background:transparent; border-color:#66898a; }
main.label-tool :is(button,.label-button):not([disabled]):hover { color:#09201e; background:#a6eadb; }
main.label-tool button:disabled { opacity:.56; background:#28474a; color:#f5f2ea; cursor:not-allowed; border-color:#547373; }
main.label-tool .label-stage { background:#fff; }
main.label-tool a:not(.label-button) { text-decoration:underline; text-underline-offset:.16em; color:var(--aqua-soft); }
main.purchase-page { max-width:46rem; margin:0 auto; }
main.purchase-page .label-card { padding:clamp(20px,4vw,34px); }
main.purchase-page .label-eyebrow { color:var(--aqua-soft); }
main.purchase-page details { border-top:1px solid #547373; padding-top:1rem; }

@media(max-width:1100px) {
 main .container, main.label-tool { width:calc(100% - 64px); }
}
@media(max-width:800px) {
 main .container, main.label-tool { width:calc(100% - 44px); }
 .site-footer .foot-content { padding-block:24px; }
}
@media(max-width:560px) {
 main .container, main.label-tool { width:calc(100% - 32px); }
 .catalog-search { min-width:0; width:100%; flex-basis:100%; }
 .storefront-selects label { flex:0 1 100%; justify-content:space-between; min-width:0; }
 .storefront-selects select { width:min(65%,12rem); min-width:0; }
 main .page-wrap { padding-bottom:40px; }
 main.label-tool { padding-top:24px; }
}
