/* MODU / Horizon skin. Custom CSS and SVG-inspired framing; no Arwes runtime. */
:root {
  --fx-night: #071322;
  --fx-night-deep: #040c16;
  --fx-panel: #102238;
  --fx-panel-high: #17314a;
  --fx-stroke: #29465f;
  --fx-ice: #7addf7;
  --fx-electric: #4168ff;
  --fx-white: #edf6ff;
  --fx-muted: #a5bbd0;
  --fx-duration: 160ms;
  --ink: #14263d;
  --muted: #60748b;
  --blue: #3157f6;
  --blue-dark: #2547d8;
  --blue-light: #edf3ff;
  --line: #dce5ee;
  --surface: #fff;
  --canvas: #f4f8fc;
  --radius: 12px;
  --shadow: 0 8px 30px rgb(18 46 78 / 4%);
}

html { scrollbar-color: #bccbdc #f3f7fb; }
body { background: linear-gradient(180deg, #edf4fb 0, var(--canvas) 520px); font-size: 16px; }
body[data-page="discover"], body[data-page="technology"] { background: var(--fx-night); }
::selection { color: #14263d; background: #b9e9fb; }
button, input, select, textarea { -webkit-font-smoothing: antialiased; }
button:disabled { cursor: not-allowed; }
:is(.page-head, .c-page-head) h1 { font-weight: 720; }
:is(.page-head, .c-page-head) > div > p { color: #60748b; font-size: 16px; line-height: 1.75; }
.eyebrow { color: #365eda; }
.section-kicker { color: #647b96; }
.mono, code, pre, .c-metric-value, .lab-rec-price strong, .lab-row-value { font-variant-numeric: tabular-nums; }

/* An opaque, quiet command shell anchors both the presentation and work areas. */
.site-header {
  color: var(--fx-white);
  background: rgb(7 19 34 / 97%);
  border-bottom: 1px solid #1c364d;
  box-shadow: 0 2px 18px rgb(2 9 18 / 10%);
  backdrop-filter: blur(12px);
}
.site-header .brand-cn { color: #edf7ff; font-weight: 760; }
.site-header .brand-en { color: #8da9c5; letter-spacing: 2px; }
.site-header .brand-symbol { border: 1px solid #5c85fc; border-radius: 10px 3px 10px 3px; background: #3157f6; box-shadow: 0 0 20px #3059f622; }
.site-header .nav-link { color: #a6bbd1; font-size: 14px; font-weight: 550; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: #eafaff; }
.site-header .nav-link.active::after { height: 2px; border-radius: 0; background: linear-gradient(90deg, #4b7bff, #8ce9f8); box-shadow: 0 -3px 12px #6fdbf81a; }
.site-header .nav-count { color: #b7dcff; background: #17304d; border: 1px solid #284969; }
.site-header .demo-badge { color: #a6c0d7; background: #102439; border-color: #29435b; font-weight: 500; }
.site-header .header-brief { color: #a9bfd3; }
.site-header .header-brief:hover { color: #e7f8ff; }
.site-header .btn.secondary { color: #d3e8f7; background: #142b43; border-color: #31536e; }
.site-header .btn.secondary:hover { background: #1c3954; border-color: #648bab; }
.site-header .btn.primary { border-color: #5c7bff; background: #3157f6; }
.site-header .btn.primary:hover { background: #456afa; }
.site-header .mobile-menu-btn { color: #e5f3ff; }
[data-motion-toggle] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 10px; color: #b7cde0; border: 1px solid #2a455d; background: #102439; border-radius: 7px; font-size: 13px; line-height: 1.3; white-space: nowrap; }
[data-motion-toggle]:hover { background: #19364f; color: #eafaff; border-color: #4a718c; }
[data-motion-toggle] svg { width: 17px; height: 17px; }
.mobile-menu { background: #0b1d31; border-color: #29415a; box-shadow: 0 20px 35px #020b1b38; }
.mobile-menu a { color: #c0d5e9; border-radius: 7px; }
.mobile-menu a:hover { color: #fff; background: #15324b; }

.console-sidebar { background: linear-gradient(180deg, #0a1a2d 0%, #10253b 100%); border-right: 1px solid #213d55; color: #adc2d7; scrollbar-color: #2a4861 #0d1e31; }
.workspace-box { border: 1px solid #2b4862; background: #102a43; border-radius: 10px 3px 10px 3px; padding: 13px 11px; }
.workspace-avatar { color: #bcf0ff; background: #1a4261; border: 1px solid #326283; border-radius: 5px; }
.workspace-name { color: #edf7ff; font-size: 14px; }
.workspace-sub { color: #97b1ca; font-size: 12px; }
.side-group-label { color: #7e9bb6; font-size: 12px; letter-spacing: .6px; }
.side-link { color: #aec5db; border: 1px solid transparent; border-radius: 6px; font-size: 14px; }
.side-link:hover { color: #e5f7ff; border-color: #28485e; background: #143049; }
.side-link.active { color: #e8fcff; border-color: #346685; background: linear-gradient(90deg, #174563, #16334f); box-shadow: inset 2px 0 0 #7addf7; }
.side-link.active svg { color: #89e5fa; }
.sidebar-bottom { border-color: #294157; color: #8eabc5; }
.sidebar-bottom a:hover { color: #d7f6ff; }
.console-main { background: transparent; }
.console-breadcrumb { color: #698098; font-size: 13px; }
.console-breadcrumb > span:first-child { color: #54708d; }

/* Bright working surfaces use subtle structural lines, with no text effects. */
.card { border-color: #dce6f0; border-radius: 12px; box-shadow: 0 6px 22px #17395f04; }
.btn { border-radius: 7px; border-color: #d0deeb; min-height: 44px; font-size: 14px; transition: background var(--fx-duration), border-color var(--fx-duration), box-shadow var(--fx-duration), color var(--fx-duration); }
.btn.primary { box-shadow: 0 3px 10px #3157f615, inset 0 1px 0 #ffffff18; }
.btn.primary:hover { box-shadow: 0 5px 16px #3157f625; }
.btn.secondary:hover { border-color: #8caae6; background: #f3f7ff; }
.btn.ghost:hover { color: #244ec6; background: #eaf2ff; }
.icon-btn { border-radius: 7px; color: #5b7591; border-color: #d6e2ee; }
.icon-btn:hover, .icon-btn.selected { color: #3157f6; border-color: #9ab3ea; background: #eef5ff; }
.text-btn { color: #2b54d1; font-size: 14px; }
.badge.blue { color: #2a56cc; border: 1px solid #d6e3fb; background: #eef5ff; }
.badge.outline { border-color: #d2dfed; color: #60778e; }
.demo-note { border-color: #d8e7f5; background: #eef5fc; color: #55738e; }
.input, input[type="text"], input[type="number"], input[type="search"], input[type="email"], input[type="url"], select, textarea { border-color: #ccdbea; background-color: #fff; color: #18324b; border-radius: 7px; min-height: 44px; font-size: 14px; }
input::placeholder, textarea::placeholder { color: #8194a8; opacity: 1; }
.input:focus, input:focus, select:focus, textarea:focus { border-color: #6f93ec; box-shadow: 0 0 0 3px #3157f610; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible,
.lab-root :focus-visible, .c-console button:focus-visible, .c-console input:focus-visible, .c-console select:focus-visible, .c-console tr:focus-visible { outline: 3px solid #517ddd; outline-offset: 3px; }
.site-header :focus-visible, .console-sidebar :focus-visible { outline-color: #8ae8ff; outline-offset: 4px; }
.skip-link { z-index: 1000; background: #3157f6; color: #fff; }

/* Catalog and model details: restrained corner accents, readable actual content. */
.model-card { position: relative; border-color: #d7e3ee; border-radius: 12px 4px 12px 4px; box-shadow: 0 5px 22px #18395c04; transition: border-color var(--fx-duration), box-shadow var(--fx-duration), transform var(--fx-duration); }
.model-card::after { content: ""; position: absolute; width: 18px; height: 18px; top: -1px; right: -1px; border-top: 2px solid #9eb5d2; border-right: 2px solid #9eb5d2; border-top-right-radius: 4px; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .model-card:hover { border-color: #92afe0; box-shadow: 0 12px 28px #234d8e0b; transform: translateY(-2px); }
  .model-card:hover::after { border-color: #4c7de9; }
}
.model-card .model-desc { color: #5c7189; font-size: 16px; line-height: 1.8; }
.model-mark { border-radius: 9px 3px 9px 3px; }
.catalog-filters { border-color: #d9e4f0; background: #fafdff; border-radius: 12px; box-shadow: none; }
.filter-group { border-color: #dfe8f2; }
.filter-check { font-size: 14px; color: #536c87; }
.catalog-toolbar input, .catalog-toolbar select { min-height: 44px; }
.catalog-toolbar select { font-size: 14px; }
.compare-dock { border-color: #2b4a68; background: #0f243b; color: #e8f6ff; box-shadow: 0 15px 45px #05142a28; border-radius: 10px; }
.compare-dock .dock-label { color: #bdd6ed; }
.compare-dock .dock-item { background: #19364f; border-color: #35556f; color: #cce7f7; }
.compare-dock .dock-item button { color: #aecce4; }
.compare-dock .btn { border-color: #5c7dff; }
.detail-header .model-mark { border-radius: 14px 4px 14px 4px; }
.detail-section, .detail-sticky { border-color: #d8e4ef; }
.score-block { background: #f8fbff; border-color: #dce7f4; border-radius: 8px; }
.score-block strong { color: #2f5aca; }
.score-block span { font-size: 14px; color: #647d96; }
.score-bar i { background: linear-gradient(90deg, #446dff, #6aaee8); }
.endpoint-row { border-color: #e1eaf3; }
.endpoint-row small { color: #6c8198; font-size: 13px; }
.evidence-banner { color: #687f98; border-color: #dce6f2; background: #f0f6fc; }

/* Decision lab: keep capabilities, endpoint metrics and evidence separate. */
.lab-root { --lab-ink: #152c45; --lab-muted: #60778f; --lab-line: #dce7f1; --lab-blue: #3157f6; }
.lab-wizard-card { border-color: #d5e3f0; box-shadow: 0 12px 35px #163c6706; }
.lab-step.is-active span { background: #3157f6; box-shadow: 0 0 0 5px #e2edff; }
.lab-step.is-complete span { background: #eaf4fc; color: #21658b; }
.lab-scenario { border-radius: 9px 3px 9px 3px; border-color: #d8e5f0; }
.lab-scenario.is-active { background: #f1f7ff; border-color: #4b7bec; box-shadow: 0 0 0 1px #4b7bec; }
.lab-scenario.is-active .lab-scenario-icon { background: #e1efff; color: #315bd1; }
.lab-priority.is-active { background: #edf5ff; border-color: #5d86e8; color: #2958cd; }
.lab-task-summary, .lab-task-note { background: #f0f6fc; border-color: #dce8f4; }
.lab-recommend-card { border-color: #d9e6f1; }
.lab-recommend-card.is-featured { border-color: #90b0ec!important; box-shadow: 0 8px 26px #2d5fb20c; }
.lab-recommend-card.is-featured::before { background: linear-gradient(90deg, #3157f6, #77d3ec); }
.lab-fit-track i, .lab-score-track i { background: linear-gradient(90deg, #4c75e8, #75bce3); }
.lab-next-card { background: #f0f6fd!important; border-color: #d1e3f4!important; }
.lab-comparison { border-color: #d4e1ee; }
.lab-comparison-corner { background: #10263e; color: #e8f5ff; }
.lab-comparison-corner .lab-mini-label { color: #80c6e6; }
.lab-comparison-corner h3 { color: #e8f5ff; }
.lab-comparison-corner p { color: #a8c2d9; }
.lab-compare-model { background: #fbfdff; border-left-color: #dbe5f0; border-top: 2px solid #aac2dc; }
.lab-row-group { color: #4e6b87; background: #edf4fa; border-color: #dbe6ef; }
.lab-row-label { color: #5b738d; background: #f8fbfe; }
.lab-row-value { color: #2e4864; }
.lab-cell-strong, .lab-row-value.lab-cell-strong { background: #f0f6ff; }
.lab-play-notice { border-color: #d7e5f5; background: #edf5fc; }
.lab-play-settings { border-top: 2px solid #7898c6; }
.lab-result-card { border-color: #d8e5f1; }
.lab-output { background: #f4f8fd; color: #435d7a; border-color: #e0e9f4; }
.lab-output.is-code { color: #3a5577; }
.lab-result-metrics strong { color: #244363; }
.lab-result-card .lab-result-head { border-color: #dfe8f2; }
.lab-result-metrics span, .lab-result-check p { color: #627c95; }
.lab-demo-label { color: #5f7891; border-color: #dce7f2; background: #eff5fb; }
.lab-root .lab-result-card.is-stale { border-color: #ead1a0!important; }
.lab-root .lab-status-stale { color: #8f6a21; background: #fff3d8; }

/* Developer console: controlled accents on high-density content. */
.c-console { --c-blue: #3157f6; --c-ink: #152c43; --c-muted: #60788f; --c-border: #dce6f1; }
.c-console .card { border-color: #d8e4ef; border-radius: 11px; box-shadow: 0 5px 20px #17395c03; }
.c-metric { position: relative; border-top: 2px solid #aec4df!important; }
.c-metric:first-child { border-top-color: #668bea!important; }
.c-metric-label { color: #5c7791; }
.c-metric-value { color: #153b5b; }
.c-chart-card { border-top: 2px solid #a4bfd8!important; }
.c-chart-legend span { background: #4c78df; }
.c-progress { background: #e8f0fb; border-radius: 4px; }
.c-progress span { border-radius: 4px; background: linear-gradient(90deg, #3157f6, #55b7df); }
.c-plan-icon { background: #e9f3ff; color: #3c6ac9; border-radius: 9px 3px 9px 3px; }
.c-plan-strip { background: #fcfeff!important; border-left: 3px solid #6d9bd9!important; }
.c-console .input { border-color: #ccdcea; color: #19344f; }
.c-console .btn, .c-console .primary, .c-console .secondary { min-height: 44px; border-radius: 7px; }
.c-console .secondary { border-color: #cfdeeb; color: #3d5b78; }
.c-console .primary:hover { background: #2449d7; }
.c-network-entry { background: #102b43; border-color: #365d79; border-radius: 11px 3px 11px 3px; color: #8ad9f3; }
.c-network-entry strong { color: #d8f2ff; }
.c-network-entry span { color: #99bdd7; }
.c-network-lines, .c-network-lines::after, .c-network-node::before { background: #abc4db; }
.c-network-node { border-color: #d7e5f0; }
.c-network-node:hover { background: #f1f8ff; border-color: #92b5de; }
.c-code-card { background: #081a2c!important; border-color: #2c4a64!important; box-shadow: 0 10px 28px #1635510c!important; }
.c-code-header { background: #10283f; border-bottom-color: #284761; }
.c-code { background: #091a2b; color: #c2e2f6; font-size: 13px; line-height: 1.95; }
.c-code-footer { background: #102438; border-top: 1px solid #223d55; color: #9ebed6!important; font-size: 13px; }
.c-code-dot { background: #77d3ef; border-radius: 2px; }
.c-code-copy { color: #a6dcf3!important; font-size: 14px; }
.c-code-copy:hover { color: #e9faff!important; }
.data-table, .c-console .data-table { font-size: 14px; }
.data-table th, .c-table th { background: #eef4fa; color: #58748f; font-size: 14px; border-bottom-color: #d7e3ed; }
.data-table td, .c-table td { border-bottom-color: #e5edf5; }
.data-table tbody tr:hover, .c-table tbody tr[data-c-log]:hover { background: #f1f7fe; }
.table-wrap, .c-table-card, .i-endpoint-table { border-color: #d7e3ee; }
.segmented { background: #e6eef7; border: 1px solid #d8e3ee; border-radius: 7px; }
.segmented button.active { color: #244f9a; border-radius: 5px; }

/* Pricing and editorial content provide a bridge between both surface modes. */
.price-overview { background: radial-gradient(ellipse at 8% 0, #173e60 0, transparent 65%), #0b2138; border: 1px solid #345570; border-radius: 15px 4px 15px 4px; box-shadow: 0 15px 35px #0c2a4810; }
.price-overview h2 { color: #e5f6ff; }
.price-overview p { color: #a8c5de; font-size: 16px; }
.price-calculator { background: #0a1c2d99; border-color: #35536c; border-radius: 9px; }
.price-calculator label { color: #bfd6e9; font-size: 14px; }
.price-calculator input { background-color: #122d44; border-color: #3b5d78; color: #f2fbff; font-size: 16px; }
.price-calculator select { background-color: #eff7fd; color: #163249; }
.price-calculator strong { color: #b9f1ff; }
.price-calculator .helper { color: #adc7df; }
.price-footnote { font-size: 13px; color: #637b94; }
.g-hero { background: radial-gradient(ellipse at 10% 10%, #173e5c, transparent 75%), #0b2035; color: #e8f5ff; border-color: #34536e; border-radius: 16px 4px 16px 4px; }
.g-hero h1 { color: #eff9ff; }
.g-kicker, .g-version { color: #a6cce2; }
.g-kicker-dot { background: #7addf7; }
.g-version { border-color: #365773; }
.g-hero-main > p { color: #abc4d9; font-size: 16px; }
.g-hero .g-hero-link { color: #9bdbf5; }
.g-blueprint { transform: none; background: #09192c; border: 1px solid #34536e; border-radius: 10px; box-shadow: 0 15px 40px #020c1925; }
.g-blueprint-label { color: #8dbbd7; }
.g-blueprint-step > span { background: #153650; border-color: #376381; color: #8cdef8; border-radius: 7px; }
.g-blueprint-step small { color: #9bbbd3; }
.g-blueprint-step em { background: #18374f; color: #bfdeed; }
.g-blueprint-line { border-color: #487d9e; }
.g-blueprint-footer { border-color: #2d4d67; color: #d2eafa; }
.g-section-nav { border-color: #d6e4ef; border-radius: 9px; }
.g-section-nav a.active { color: #2957c0; background: #ecf4fe; }
.g-evidence-card, .g-method { border-color: #d8e4ef; border-radius: 11px; }
.g-method-visual { background: #eff5fb; border: 1px solid #e1ebf4; }
.g-principle { background: #eff6fc; border-color: #d2e4f4; }
.g-principle b { color: #2e587d; }
.g-method > p, .g-applied p { color: #60758c; font-size: 16px; }
.g-toolchain { background: #eef4fa; border-color: #d8e4ee; }
.i-hero { border-color: #d7e4ef; }
.i-editorial-sign { border-color: #355b76; background: #112c44; border-radius: 12px 3px 12px 3px; }
.i-editorial-sign > span { color: #86c6e2; }
.i-editorial-sign b { color: #e2f5ff; }
.i-editorial-sign small { color: #acc7dc; }
.i-editorial-sign::after { border-color: #285674; opacity: .5; }
.i-scene-tabs { background: #e8f0f8; border-color: #d4e1ee; border-radius: 8px; }
.i-scene-tab.active { color: #2959cc; background: #fff; box-shadow: 0 3px 9px #23476d0a; border-radius: 5px; }
.i-score-track { background: #eaf1f9; height: 7px; border-radius: 3px; }
.i-score-track > span { background: #94b7dc; border-radius: 3px; }
.i-score-track > span.i-score-highlight { background: linear-gradient(90deg, #3157f6, #5ca9d8); }
.i-guide-card { border-color: #d5e3ef; border-radius: 11px 3px 11px 3px; }
.i-guide-icon { border-radius: 10px 3px 10px 3px; }
.i-demo-tag, .c-demo-label { background: #edf5fb; color: #617c93; border-color: #d6e6f2; }
.i-quiet-note { background: #eef5fb; color: #627d97; border-color: #d8e6f2; }

/* Dialogs remain light, with visible headings and a stable focus boundary. */
.global-dialog, .c-dialog { color: #193149; border-color: #b9ccdf; border-radius: 13px 4px 13px 4px; box-shadow: 0 25px 100px #03132655; background: #fff; }
.global-dialog::backdrop, .c-dialog::backdrop { background: #0413239c; backdrop-filter: blur(3px); }
.dialog-head, .c-dialog-head { background: #f1f6fc; border-bottom-color: #d8e5ef; }
.dialog-head h2, .c-dialog-head h2 { color: #24445f; }
.dialog-content p { color: #5f778e; font-size: 16px; }
.toast { color: #e6f6ff; background: #0c2942; border: 1px solid #3f6886; border-radius: 9px 3px 9px 3px; box-shadow: 0 12px 30px #06152d26; }
.toast svg { color: #85ddf1; }
.site-footer { background: #f0f5fa; border-top: 1px solid #dce6f0; }
.footer-inner, .footer-links button { color: #647f98; }
body[data-page="discover"] .site-footer, body[data-page="technology"] .site-footer { background: #06101d; border-top-color: #20384d; }
body[data-page="discover"] .footer-inner, body[data-page="discover"] .footer-links button,
body[data-page="technology"] .footer-inner, body[data-page="technology"] .footer-links button { color: #8faac3; }
body[data-page="discover"] .footer-brand, body[data-page="technology"] .footer-brand { color: #bfd8eb; }
body[data-page="discover"] .footer-links a:hover, body[data-page="technology"] .footer-links a:hover { color: #c4f1ff; }

/* Opt-in reusable framing; decorative layers never intercept pointer input. */
.fx-frame { position: relative; border: 1px solid var(--fx-stroke); }
.fx-frame::before, .fx-frame::after { content: ""; position: absolute; width: 20px; height: 20px; pointer-events: none; border-color: var(--fx-ice); border-style: solid; opacity: .7; }
.fx-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.fx-frame::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.fx-grid { background-image: linear-gradient(#6fb3de09 1px, transparent 1px), linear-gradient(90deg, #6fb3de09 1px, transparent 1px); background-size: 40px 40px; }
.fx-hud-label { color: #89aeca; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; }
.g-hero, .price-overview { position: relative; }
.g-hero::before, .price-overview::before, .i-editorial-sign::before { content: ""; position: absolute; left: 27px; top: -1px; height: 2px; width: 70px; background: linear-gradient(90deg, #6fdaf4, #5482e8); box-shadow: 0 0 14px #63c7f22b; pointer-events: none; }
.fx-beam-line { position: absolute; top: 0; left: 0; width: 18%; height: 1px; background: linear-gradient(90deg, transparent, #85e6ff, transparent); opacity: .65; pointer-events: none; animation: fx-beam-pass 6s linear infinite; }
@keyframes fx-beam-pass { from { transform: translateX(-100%); } to { transform: translateX(650%); } }
html[data-motion="full"] [data-fx-reveal] { animation: fx-reveal 220ms ease-out both; }
@keyframes fx-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1280px) {
  .header-inner { gap: 24px; }
  .main-nav { gap: 20px; }
  .header-actions { gap: 10px; }
  .site-header .brand-en { display: none; }
}
@media (max-width: 1080px) {
  .header-inner { padding-inline: 24px; gap: 22px; }
  .main-nav { gap: 17px; }
  .site-header .header-brief { display: none; }
  .header-actions > .demo-badge .demo-long { display: none; }
  .header-actions > .demo-badge .demo-short { display: inline; }
  [data-motion-toggle] { font-size: 0; width: 38px; padding: 8px; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: grid; place-items: center; }
  .header-inner { gap: 18px; }
  .site-header .header-actions { gap: 10px; }
}
@media (min-width: 721px) and (max-width: 820px) { .mobile-menu { inset: 80px 0 auto; display: flex; flex-direction: column; padding: 15px 20px; position: fixed; z-index: 45; } }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { height: 66px; }
  .header-inner { padding-inline: 18px; gap: 10px; }
  .site-header .header-actions { gap: 8px; }
  .header-actions .btn { min-height: 36px; padding: 8px 12px; font-size: 13px; }
  [data-motion-toggle] { width: 36px; min-height: 36px; padding: 8px; }
  .mobile-menu { inset: 66px 0 auto; }
  .mobile-menu a { font-size: 15px; padding: 12px; }
  .console-sidebar { background: #0c2036; border-right: 0; border-bottom: 1px solid #2c4a64; }
  .side-link { padding: 9px 12px; font-size: 14px; }
  .side-link.active { box-shadow: inset 0 -2px 0 #7addf7; }
  .input, input[type="text"], input[type="number"], input[type="search"], input[type="email"], input[type="url"], select, textarea,
  .c-console .input, .lab-root .input { font-size: 16px; }
  .catalog-toolbar input, .catalog-toolbar select { font-size: 16px; }
  .model-card .model-desc { font-size: 16px; }
  .page-head p, .c-page-head p, .section-title p { font-size: 15px; }
  .data-table th, .c-table th { font-size: 14px; }
  .c-code { font-size: 13px; line-height: 1.9; }
  .c-code-copy { font-size: 14px!important; }
  .c-code-footer { font-size: 13px; }
  .c-network-node strong { font-size: 14px; }
  .c-network-node div > span { font-size: 13px; }
  .g-hero { border-radius: 13px 4px 13px 4px; }
  .g-hero-main > p { font-size: 16px; }
  .g-hero-actions { flex-wrap: wrap; gap: 18px; }
  .i-hero-tags { font-size: 14px; }
  .lab-comparison-corner { background: #10263e; }
  .compare-dock { border-color: #2f526d; }
  .global-dialog, .c-dialog { max-width: calc(100vw - 28px); }
}
@media (max-width: 390px) {
  .header-inner { padding-inline: 12px; }
  .site-header .brand-cn { font-size: 21px; }
  .site-header .brand { gap: 8px; }
  .header-actions .btn { padding-inline: 9px; }
  .site-header .header-actions { gap: 5px; }
  [data-motion-toggle] { width: 33px; min-height: 34px; }
}

/* Explicit app preference is read by both the UI skin and the 3D controller. */
html[data-motion="reduced"] { scroll-behavior: auto!important; --fx-duration: 0ms; }
html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  animation: none!important;
  transition: none!important;
  scroll-behavior: auto!important;
}
html[data-motion="reduced"] .model-card:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]), html:not([data-motion="full"]) *,
  html:not([data-motion="full"]) *::before, html:not([data-motion="full"]) *::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
@media (forced-colors: active) {
  .btn, .icon-btn, .model-card, .card, .side-link.active, .nav-link.active, [data-motion-toggle] { border-color: ButtonText; }
  .site-header .nav-link.active::after { background: Highlight; }
  .model-card::after, .fx-frame::before, .fx-frame::after { display: none; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: Highlight; }
}
