@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
  body {
    margin: 0; min-width: 320px; overflow-x: hidden; color: var(--color-text); background: var(--color-bg);
    font-family: var(--font-sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  }
  body.no-scroll { overflow: hidden; }
  h1, h2, h3, h4, p { margin-top: 0; }
  h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -0.025em; }
  h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 750; }
  h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 720; }
  h3 { font-size: 1.125rem; font-weight: 680; }
  a { color: inherit; text-decoration: none; }
  button, input, select, textarea { font: inherit; }
  button, [role="button"], summary, select { cursor: pointer; }
  button { color: inherit; }
  img, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  input, textarea, select { min-width: 0; }
  ::selection { color: #075985; background: #bae6fd; }
  :focus-visible { outline: 3px solid rgb(14 165 233 / .35); outline-offset: 3px; }
  [hidden] { display: none !important; }
  .num, .kpi-value, .score-value, .price, .data-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
}

@layer components {
  .container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
  .narrow-container { width: min(calc(100% - 48px), 900px); margin-inline: auto; }
  .section { padding-block: 88px; }
  .section-compact { padding-block: 48px; }
  .section-white { background: var(--color-surface); border-block: 1px solid var(--color-border); }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
  .section-heading h2 { margin-bottom: 8px; }
  .section-heading p { max-width: 680px; margin-bottom: 0; color: var(--color-text-secondary); }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--color-brand); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
  .eyebrow::before { width: 18px; height: 2px; content: ""; background: currentColor; border-radius: 2px; }
  .text-gradient { color: var(--color-brand); background: linear-gradient(105deg, #0369a1, #0ea5e9 70%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .text-muted { color: var(--color-text-muted); }
  .mono { font-family: var(--font-mono); }
  .skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 8px 16px; background: var(--color-obsidian); color: white; border-radius: 8px; transform: translateY(-160%); }
  .skip-link:focus { transform: translateY(0); }

  .site-header { position: sticky; top: 0; z-index: 80; height: var(--header-height); border-bottom: 1px solid rgb(226 232 240 / .8); background: rgb(246 247 249 / .86); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
  .site-header .container { width: min(calc(100% - 16px), 1460px); }
  .header-inner { display: flex; align-items: center; gap: 8px; height: 100%; }
  .brand { display: inline-flex; flex: none; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; letter-spacing: -.04em; }
  .brand-mark { display: grid; width: 32px; height: 32px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #0ea5e9, #0369a1); border: 1px solid rgb(255 255 255 / .5); border-radius: 9px; box-shadow: 0 6px 16px rgb(2 132 199 / .24); }
  .brand-mark svg { width: 20px; height: 20px; }
  .brand-name span { color: var(--color-brand); }
  .main-nav { display: flex; align-items: center; gap: 1px; margin-inline: auto; flex: none; }
  .nav-link { position: relative; display: inline-flex; align-items: center; gap: 3px; padding: 6px 5px; color: var(--color-text-secondary); border-radius: 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s, transform .2s; }
  .nav-pill-tag { display: inline-flex; align-items: center; padding: 1px 3.5px; font-style: normal; font-size: 8.5px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; color: #0369a1; background: rgba(14, 165, 233, .13); border: 1px solid rgba(14, 165, 233, .28); border-radius: 99px; }
  .nav-link.active .nav-pill-tag { color: #fff; background: var(--color-brand); border-color: var(--color-brand); }
  .nav-link:hover, .nav-link.active { color: var(--color-brand); background: var(--color-brand-soft); }
  .nav-link.active::after { position: absolute; bottom: -17px; left: 50%; width: 18px; height: 2px; content: ""; background: var(--color-brand); border-radius: 2px; transform: translateX(-50%); }
  .header-actions { display: flex; flex: none; align-items: center; gap: 5px; }
  .search-trigger { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 7px; color: var(--color-text-muted); background: rgb(255 255 255 / .75); border: 1px solid var(--color-border); border-radius: 9px; font-size: 11.5px; white-space: nowrap; }
  .search-trigger .search-label { display: none; }
  .search-trigger:hover { border-color: var(--color-border-strong); background: white; }
  .search-trigger svg { width: 15px; }
  .header-actions .btn-sm { min-height: 34px; padding: 6px 9px; font-size: 11.5px; white-space: nowrap; }
  .lang-trigger { height: 34px; padding: 0 5px; }
  .keycap { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 6px; color: var(--color-text-muted); background: var(--color-bg); border: 1px solid var(--color-border); border-bottom-width: 2px; border-radius: 5px; font: 11px var(--font-mono); }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 650; line-height: 1.25; transition: transform .2s var(--ease-out), box-shadow .2s, background .2s, border-color .2s; }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { color: white; background: var(--color-brand); box-shadow: 0 5px 16px rgb(2 132 199 / .2); }
  .btn-primary:hover { background: #0369a1; box-shadow: 0 8px 22px rgb(2 132 199 / .28); }
  .btn-secondary { color: var(--color-text); background: white; border-color: var(--color-border); }
  .btn-secondary:hover { border-color: #94a3b8; box-shadow: var(--shadow-card); }
  .btn-dark { color: white; background: var(--color-obsidian); }
  .btn-ghost { color: var(--color-brand); background: transparent; }
  .btn-sm { min-height: 36px; padding: 7px 13px; font-size: 12px; border-radius: 8px; }
  .btn-block { width: 100%; }
  .icon-btn { display: inline-grid; width: 40px; height: 40px; padding: 0; place-items: center; color: var(--color-text-secondary); background: transparent; border: 1px solid var(--color-border); border-radius: 10px; }
  .icon-btn svg { width: 20px; height: 20px; }
  .mobile-menu-trigger { display: none; }

  .lang-switcher { position: relative; }
  .lang-trigger { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px; color: var(--color-text-secondary); background: transparent; border: 0; border-radius: 8px; font-size: 12px; font-weight: 600; }
  .lang-trigger:hover { background: white; }
  .lang-trigger svg { width: 16px; }
  .lang-menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 100; width: 160px; padding: 6px; background: white; border: 1px solid var(--color-border); border-radius: 12px; box-shadow: var(--shadow-float); }
  .lang-option { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 11px; text-align: left; background: none; border: 0; border-radius: 7px; font-size: 13px; }
  .lang-option:hover, .lang-option.active { color: var(--color-brand); background: var(--color-brand-soft); }

  .hero { position: relative; isolation: isolate; overflow: hidden; padding: 88px 0 72px; }
  .hero::before { position: absolute; z-index: -1; top: -280px; left: 50%; width: 1000px; height: 680px; content: ""; background: radial-gradient(ellipse, rgb(14 165 233 / .12), transparent 65%); transform: translateX(-50%); pointer-events: none; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); align-items: center; gap: 64px; }
  .hero h1 { max-width: 740px; margin-bottom: 24px; }
  .hero-lead { max-width: 600px; margin-bottom: 32px; color: var(--color-text-secondary); font-size: 17px; line-height: 1.85; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: var(--color-text-muted); font-size: 12px; }
  .hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
  .hero-trust span::before { width: 6px; height: 6px; content: ""; background: var(--color-performance); border-radius: 50%; box-shadow: 0 0 0 3px var(--color-performance-soft); }
  .hero-visual { min-width: 0; }
  .hero-image { width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: 0 28px 80px rgb(15 23 42 / .12); }
  .status-dot { display: inline-block; width: 7px; height: 7px; background: #34d399; border-radius: 50%; box-shadow: 0 0 0 4px rgb(52 211 153 / .12); }

  .kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); overflow: hidden; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
  .input { width: 100%; min-height: 42px; padding: 10px 14px; color: var(--color-text); background: white; border: 1px solid var(--color-border); border-radius: 10px; outline: none; font-size: 14px; }
  .input:focus { border-color: var(--color-brand-bright); box-shadow: 0 0 0 3px rgb(14 165 233 / .12); }
  .table-wrap { width: 100%; overflow-x: auto; }
  .table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .table-wrap th, .table-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--color-border); text-align: left; }
  .table-wrap th { background: #f8fafc; color: var(--color-text-muted); font-size: 12px; }
  .kpi-item { position: relative; padding: 25px 28px; }
  .kpi-item + .kpi-item { border-left: 1px solid var(--color-border); }
  .kpi-label { margin-bottom: 4px; color: var(--color-text-muted); font-size: 12px; }
  .kpi-value { display: flex; align-items: baseline; gap: 5px; margin-bottom: 2px; font-size: 28px; font-weight: 730; line-height: 1.25; letter-spacing: -.035em; }
  .kpi-unit { color: var(--color-text-muted); font-size: 12px; font-weight: 500; }
  .kpi-note { color: var(--color-text-secondary); font-size: 12px; }
  .kpi-value.tone-brand { color: var(--color-brand); }
  .kpi-value.tone-emerald { color: var(--color-performance); }
  .kpi-value.tone-amber { color: var(--color-deal); }

  .wb-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr) 240px; min-height: 540px; overflow: hidden; color: #cbd5e1; background: var(--color-obsidian); border: 1px solid #273244; border-radius: var(--radius-lg); box-shadow: 0 28px 70px rgb(11 15 23 / .25); }
  .wb-sidebar { padding: 22px 12px; background: #080c13; border-right: 1px solid #202938; }
  .wb-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px 22px; color: white; font-size: 13px; font-weight: 700; }
  .wb-sidebar-title { padding: 14px 10px 8px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .wb-expert { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; text-align: left; color: #94a3b8; background: transparent; border: 0; border-radius: 8px; font-size: 12px; transition: background .2s, color .2s; }
  .wb-expert:hover { color: #e2e8f0; background: #111927; }
  .wb-expert.active, .wb-expert[aria-selected="true"] { color: #7dd3fc; background: #0c293d; }
  .wb-avatar { display: grid; flex: none; width: 30px; height: 30px; place-items: center; color: #bae6fd; background: #172033; border: 1px solid #334155; border-radius: 8px; font-size: 11px; font-weight: 700; }
  .wb-expert.active .wb-avatar, .wb-expert[aria-selected="true"] .wb-avatar { background: #083449; border-color: #075985; }
  .wb-main { display: flex; min-width: 0; flex-direction: column; }
  .wb-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 59px; padding: 12px 20px; border-bottom: 1px solid #202938; }
  .wb-topbar-title { overflow: hidden; color: #e2e8f0; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .wb-online { display: inline-flex; align-items: center; gap: 8px; color: #6ee7b7; font-size: 10px; white-space: nowrap; }
  .wb-conversation { flex: 1; min-height: 0; padding: 24px 20px; overflow-y: auto; }
  .wb-message { display: flex; gap: 12px; margin-bottom: 22px; }
  .wb-message-body { min-width: 0; }
  .wb-message-author { margin-bottom: 5px; color: #e2e8f0; font-size: 12px; font-weight: 600; }
  .wb-message-text { color: #94a3b8; font-size: 12px; line-height: 1.8; }
  .wb-message-text strong { color: #e2e8f0; font-weight: 600; }
  .wb-task-card { margin-top: 12px; padding: 14px; background: #111927; border: 1px solid #263247; border-radius: 10px; }
  .wb-task-title { margin-bottom: 8px; color: #7dd3fc; font: 11px var(--font-mono); }
  .wb-task-line { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 11px; }
  .wb-task-line::before { content: "✓"; color: #34d399; }
  .wb-composer { display: flex; align-items: center; gap: 10px; margin: 0 20px 20px; padding: 11px 12px; background: #111927; border: 1px solid #334155; border-radius: 10px; }
  .wb-composer input { flex: 1; color: #e2e8f0; background: none; border: 0; outline: 0; font-size: 12px; }
  .wb-composer input::placeholder { color: #64748b; }
  .wb-send { display: grid; width: 28px; height: 28px; place-items: center; color: white; background: var(--color-brand); border: 0; border-radius: 7px; }
  .wb-inspector { padding: 20px 16px; background: #0d131f; border-left: 1px solid #202938; }
  .wb-inspector-title { margin-bottom: 20px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .wb-metric { margin-bottom: 20px; }
  .wb-metric-head { display: flex; justify-content: space-between; margin-bottom: 7px; color: #94a3b8; font-size: 10px; }
  .wb-metric-value { color: #e2e8f0; font-variant-numeric: tabular-nums; }
  .wb-meter { height: 4px; overflow: hidden; background: #1e293b; border-radius: 4px; }
  .wb-meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-brand), #38bdf8); border-radius: inherit; }
  .wb-context { padding: 12px; color: #94a3b8; background: #111927; border: 1px solid #263247; border-radius: 8px; font-size: 10px; }
  .wb-context strong { display: block; margin-bottom: 4px; color: #cbd5e1; }

  .obsidian-panel { overflow: hidden; color: #cbd5e1; background: var(--color-obsidian); border: 1px solid #273244; border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgb(11 15 23 / .15); }
  .obsidian-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #0e1420; border-bottom: 1px solid #202938; }
  .obsidian-title { color: #e2e8f0; font-size: 13px; font-weight: 650; }
  .obsidian-body { padding: 24px; }
  .obsidian-panel .kpi-value { color: white; }
  .obsidian-panel .kpi-label, .obsidian-panel .kpi-note { color: #94a3b8; }
  .obsidian-panel .kpi-strip { background: #0e1420; border-color: #273244; box-shadow: none; }
  .obsidian-panel .kpi-item + .kpi-item { border-color: #273244; }
  .terminal-dots { display: flex; gap: 6px; }
  .terminal-dots i { width: 9px; height: 9px; background: #334155; border-radius: 50%; }
  .terminal-dots i:first-child { background: #f87171; }
  .terminal-dots i:nth-child(2) { background: #fbbf24; }
  .terminal-dots i:nth-child(3) { background: #34d399; }
  .code-viewer { position: relative; min-width: 0; overflow: hidden; color: #cbd5e1; background: var(--color-obsidian); border: 1px solid #273244; border-radius: var(--radius-md); }
  .code-viewer pre { max-height: 620px; margin: 0; padding: 22px; overflow: auto; font: 12px/1.85 var(--font-mono); tab-size: 2; }
  .code-viewer code { font-family: inherit; }
  .code-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 8px 14px; background: #0e1420; border-bottom: 1px solid #202938; }
  .code-filename { overflow: hidden; color: #94a3b8; font: 11px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
  .code-copy { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: #94a3b8; background: transparent; border: 0; border-radius: 5px; font-size: 11px; }
  .code-copy:hover { color: white; background: #1e293b; }
  .code-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .file-tree { max-height: 620px; padding: 14px 8px; overflow-y: auto; background: #0d131f; border-right: 1px solid #202938; }
  .file-node { display: flex; align-items: center; gap: 7px; width: 100%; padding: 7px 10px; overflow: hidden; color: #94a3b8; text-align: left; text-overflow: ellipsis; white-space: nowrap; background: transparent; border: 0; border-radius: 6px; font: 11px var(--font-mono); }
  .file-node:hover, .file-node.active { color: #7dd3fc; background: #162233; }
  .file-node.folder { color: #cbd5e1; }
  .code-tab { padding: 8px 14px; color: #94a3b8; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 12px; }
  .code-tab.active, .code-tab[aria-selected="true"] { color: #7dd3fc; border-color: #38bdf8; }
  .code-pane[hidden] { display: none; }

  .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgb(15 23 42 / .02); transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s; }
  .card:hover { border-color: #bae6fd; box-shadow: var(--shadow-card); transform: translateY(-4px); }
  .card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e2e8f0; }
  .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
  .card:hover .card-media img { transform: scale(1.025); }
  .card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
  .card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
  .card-title { margin-bottom: 9px; font-size: 18px; }
  .card-title a::after { position: absolute; inset: 0; content: ""; }
  .card-description { display: -webkit-box; margin-bottom: 18px; overflow: hidden; color: var(--color-text-secondary); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .card-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 14px; color: var(--color-text-muted); border-top: 1px solid #f1f5f9; font-size: 11px; }
  .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
  .card-link { color: var(--color-brand); font-size: 13px; font-weight: 650; }
  .card-price { color: var(--color-text); font-size: 20px; font-weight: 730; font-variant-numeric: tabular-nums; }
  .badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 9px; color: var(--color-text-secondary); background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.5; }
  .badge-brand { color: #0369a1; background: #f0f9ff; border-color: #bae6fd; }
  .badge-emerald { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
  .badge-amber { color: #b45309; background: #fffbeb; border-color: #fde68a; }
  .badge-dark { color: #e2e8f0; background: rgb(11 15 23 / .85); border-color: rgb(255 255 255 / .15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
  .spec-list { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--color-text-secondary); font-size: 12px; }
  .spec-list li { display: flex; justify-content: space-between; gap: 12px; }
  .spec-list strong { color: var(--color-text); font-weight: 600; text-align: right; }

  .score-row { margin-bottom: 16px; }
  .score-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 12px; }
  .score-label { color: var(--color-text-secondary); }
  .score-value { color: var(--color-text); font-weight: 700; }
  .score-unit { margin-left: 3px; color: var(--color-text-muted); font-size: 10px; font-weight: 500; }
  .score-track { height: 7px; overflow: hidden; background: #e2e8f0; border-radius: 99px; }
  .score-fill { display: block; width: var(--score, 0%); height: 100%; background: var(--color-brand); border-radius: inherit; }
  .score-bar.tone-emerald .score-fill { background: var(--color-performance); }
  .score-bar.tone-amber .score-fill { background: var(--color-deal); }
  .obsidian-panel .score-track, .wb-shell .score-track { background: #273244; }
  .obsidian-panel .score-value, .wb-shell .score-value { color: #e2e8f0; }
  .obsidian-panel .score-label, .wb-shell .score-label { color: #94a3b8; }

  .data-table-wrap { width: 100%; overflow-x: auto; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
  .data-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
  .data-table th { padding: 14px 18px; color: var(--color-text-muted); text-align: left; white-space: nowrap; background: #f8fafc; border-bottom: 1px solid var(--color-border); font-size: 11px; font-weight: 650; letter-spacing: .025em; }
  .data-table td { padding: 16px 18px; border-bottom: 1px solid #edf2f7; vertical-align: middle; }
  .data-table tbody tr:last-child td { border-bottom: 0; }
  .data-table tbody tr { transition: background .15s; }
  .data-table tbody tr:hover { background: #f8fafc; }
  .data-table a { color: var(--color-brand); font-weight: 600; }
  .table-rank { color: var(--color-text-muted); font: 12px var(--font-mono); }
  .table-product { display: flex; align-items: center; gap: 12px; min-width: 190px; }
  .table-product img { width: 58px; height: 42px; object-fit: cover; border-radius: 6px; }
  .positive { color: var(--color-performance); }
  .deal { color: var(--color-deal); }

  .bom-list { overflow: hidden; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
  .bom-item { display: grid; grid-template-columns: 110px minmax(180px, 1fr) auto auto; align-items: center; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--color-border); }
  .bom-item:last-child { border-bottom: 0; }
  .bom-category { color: var(--color-text-muted); font-size: 12px; font-weight: 650; }
  .bom-product { min-width: 0; }
  .bom-product strong { display: block; font-size: 13px; }
  .bom-product small { color: var(--color-text-muted); }
  .bom-price { font-weight: 700; white-space: nowrap; }
  .bom-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; background: #f8fafc; border-top: 1px solid var(--color-border); }
  .bom-total-price { color: var(--color-brand); font-size: 28px; font-weight: 750; }
  .price-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .price-option { padding: 20px; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
  .price-option.best { background: var(--color-deal-soft); border-color: #fcd34d; }
  .price-option-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .price-option .price { font-size: 24px; font-weight: 750; }
  .saving { color: var(--color-deal); font-size: 12px; font-weight: 650; }

  .filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; padding: 16px; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
  .filter-group { display: flex; align-items: center; gap: 8px; }
  .filter-label { color: var(--color-text-muted); font-size: 12px; white-space: nowrap; }
  .filter-bar select, .filter-bar input, .form-control { min-height: 40px; padding: 8px 12px; color: var(--color-text); background: white; border: 1px solid var(--color-border); border-radius: 8px; outline: none; font-size: 13px; }
  .filter-bar select:focus, .filter-bar input:focus, .form-control:focus { border-color: var(--color-brand-bright); box-shadow: 0 0 0 3px rgb(14 165 233 / .1); }
  .filter-search { flex: 1; min-width: 180px; }
  .filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-chip { padding: 7px 13px; color: var(--color-text-secondary); background: #f8fafc; border: 1px solid var(--color-border); border-radius: 999px; font-size: 12px; }
  .filter-chip:hover, .filter-chip.active { color: var(--color-brand); background: var(--color-brand-soft); border-color: #7dd3fc; }
  .filter-count { margin-left: auto; color: var(--color-text-muted); font-size: 12px; }

  .faq-list { display: grid; gap: 12px; }
  .faq-item { overflow: hidden; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
  .faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-weight: 650; list-style: none; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { flex: none; content: "+"; color: var(--color-brand); font-size: 22px; font-weight: 400; transition: transform .2s; }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-answer { padding: 0 24px 22px; color: var(--color-text-secondary); font-size: 14px; }
  .faq-answer > :last-child { margin-bottom: 0; }

  .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; color: var(--color-text-muted); list-style: none; font-size: 12px; }
  .breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
  .breadcrumbs li + li::before { content: "/"; color: #cbd5e1; }
  .breadcrumbs a:hover { color: var(--color-brand); }
  .breadcrumbs [aria-current="page"] { color: var(--color-text-secondary); }

  .prose { color: var(--color-text-secondary); font-size: 15px; line-height: 1.9; }
  .prose h2, .prose h3 { margin: 2em 0 .75em; color: var(--color-text); }
  .prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 1.4em; }
  .prose a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
  .prose img { border-radius: var(--radius-md); }
  .prose pre { padding: 20px; overflow: auto; color: #cbd5e1; background: var(--color-obsidian); border-radius: var(--radius-md); font: 12px/1.8 var(--font-mono); }
  .prose code { padding: 2px 5px; color: #0369a1; background: #f0f9ff; border-radius: 4px; font: .9em var(--font-mono); }
  .prose pre code { padding: 0; color: inherit; background: transparent; }
  .prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
  .prose th, .prose td { padding: 10px 14px; border: 1px solid var(--color-border); }
  .prose blockquote { padding-left: 18px; border-left: 3px solid var(--color-brand-bright); }

  .cmdk-modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-start; justify-content: center; padding: min(15vh, 140px) 20px 20px; visibility: hidden; opacity: 0; transition: opacity .18s, visibility .18s; }
  .cmdk-modal.open, .cmdk-modal[aria-hidden="false"] { visibility: visible; opacity: 1; }
  .cmdk-backdrop { position: absolute; inset: 0; background: rgb(11 15 23 / .52); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .cmdk-dialog { position: relative; width: min(100%, 660px); max-height: min(680px, 75vh); overflow: hidden; background: white; border: 1px solid rgb(255 255 255 / .5); border-radius: 16px; box-shadow: 0 30px 100px rgb(0 0 0 / .28); transform: translateY(-12px) scale(.985); transition: transform .22s var(--ease-out); }
  .cmdk-modal.open .cmdk-dialog, .cmdk-modal[aria-hidden="false"] .cmdk-dialog { transform: translateY(0) scale(1); }
  .cmdk-input-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--color-border); }
  .cmdk-input-row svg { flex: none; width: 20px; color: var(--color-text-muted); }
  .cmdk-input { flex: 1; height: 34px; padding: 0; color: var(--color-text); background: transparent; border: 0; outline: 0; font-size: 16px; }
  .cmdk-results { max-height: min(540px, calc(75vh - 74px)); padding: 10px; overflow-y: auto; }
  .cmdk-empty { padding: 48px 20px; color: var(--color-text-muted); text-align: center; font-size: 13px; }
  .cmdk-group-title { padding: 10px 10px 6px; color: var(--color-text-muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .cmdk-result { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; }
  .cmdk-result:hover, .cmdk-result.active { background: var(--color-brand-soft); }
  .cmdk-result-icon { display: grid; flex: none; width: 34px; height: 34px; place-items: center; color: var(--color-brand); background: white; border: 1px solid var(--color-border); border-radius: 8px; font-size: 12px; }
  .cmdk-result-body { min-width: 0; }
  .cmdk-result-title { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .cmdk-result-desc { overflow: hidden; color: var(--color-text-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .cmdk-footer { display: flex; justify-content: space-between; padding: 10px 18px; color: var(--color-text-muted); background: #f8fafc; border-top: 1px solid var(--color-border); font-size: 10px; }

  .drawer-backdrop { position: fixed; inset: 0; z-index: 99; visibility: hidden; background: rgb(11 15 23 / .45); opacity: 0; transition: .2s; }
  .drawer-backdrop.open { visibility: visible; opacity: 1; }
  .mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(88vw, 360px); padding: 20px; overflow-y: auto; visibility: hidden; background: white; box-shadow: -20px 0 60px rgb(15 23 42 / .18); transform: translateX(105%); transition: transform .3s var(--ease-out), visibility .3s; }
  .mobile-drawer.open { visibility: visible; transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
  .drawer-nav { display: grid; gap: 4px; }
  .drawer-nav .nav-link { padding: 12px 14px; font-size: 15px; }
  .drawer-actions { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--color-border); }
  .drawer-langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }

  .toast-region { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: grid; width: min(calc(100% - 32px), 360px); gap: 10px; pointer-events: none; }
  .toast { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: white; background: var(--color-obsidian); border: 1px solid #334155; border-radius: 11px; box-shadow: var(--shadow-float); font-size: 13px; opacity: 0; transform: translateY(12px); transition: .25s var(--ease-out); }
  .toast.visible { opacity: 1; transform: translateY(0); }
  .toast::before { content: "✓"; color: #34d399; font-weight: 700; }
  .toast.error::before { content: "!"; color: #f87171; }

  .site-footer { color: #94a3b8; background: var(--color-obsidian); border-top: 1px solid #202938; }
  .footer-main { display: grid; grid-template-columns: 1.65fr repeat(3, 1fr); gap: 64px; padding-block: 64px 48px; }
  .footer-brand .brand { margin-bottom: 18px; color: white; }
  .footer-description { max-width: 340px; margin-bottom: 20px; font-size: 13px; }
  .footer-status { display: inline-flex; align-items: center; gap: 9px; color: #6ee7b7; font-size: 11px; }
  .footer-title { margin-bottom: 18px; color: #e2e8f0; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
  .footer-links { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
  .footer-links a { transition: color .15s; }
  .footer-links a:hover { color: #7dd3fc; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid #202938; font-size: 11px; }
  .footer-bottom p { margin: 0; }
  .footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
  .empty-state { padding: 64px 24px; color: var(--color-text-muted); text-align: center; background: white; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-lg); }
  .pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
  .page-link { display: grid; min-width: 38px; height: 38px; padding: 0 10px; place-items: center; background: white; border: 1px solid var(--color-border); border-radius: 8px; font-size: 12px; }
  .page-link.active { color: white; background: var(--color-brand); border-color: var(--color-brand); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

  .tool-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 24px; }
  .tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
  .tool-field { display: grid; align-content: start; gap: 7px; min-width: 0; color: #cbd5e1; font-size: 12px; }
  .tool-input, .tool-output { display: block; width: 100%; min-width: 0; max-width: 100%; margin-block: 14px; padding: 14px; resize: vertical; color: #dbeafe; background: #080c13; border: 1px solid #334155; border-radius: 10px; font: 12px/1.7 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
  .tool-output[readonly] { color: #a7f3d0; }
  .tool-metrics { margin-block: 16px; }
  .tool-actions { margin-block: 18px; }
  .tool-workspace h3, .tool-workspace h4 { color: #e2e8f0; overflow-wrap: anywhere; }
  .tool-workspace p { color: #94a3b8; white-space: pre-line; overflow-wrap: anywhere; }
  .tool-error { color: #fca5a5; overflow-wrap: anywhere; }
  .tool-table { margin-block: 18px; overflow: hidden; border: 1px solid #273244; border-radius: 10px; }
  .tool-table-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; padding: 12px 14px; color: #cbd5e1; border-bottom: 1px solid #273244; font-size: 12px; }
  .tool-table-row:last-child { border: 0; }
  .tool-table-row code { min-width: 0; color: #a7f3d0; overflow-wrap: anywhere; }
  .tool-table-head { color: #94a3b8; background: #111927; }
  .cuda-table .tool-table-row { grid-template-columns: 130px minmax(0, 1fr) auto; }
  .checklist { display: grid; gap: 8px; }
  .check-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 10px 12px; color: #cbd5e1; background: #111927; border: 1px solid #273244; border-radius: 8px; font-size: 12px; }
  .check-item input { flex: none; margin-top: 5px; }
  .check-item strong { margin-left: auto; color: #6ee7b7; }
  .thesis-result { color: #cbd5e1; }
  .thesis-result li { margin-bottom: 6px; }
  .tool-presets { margin-bottom: 18px; }
  .tool-regex-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
  .regex-preview { margin-top: 18px; padding: 16px; color: #cbd5e1; background: #080c13; border: 1px solid #273244; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .regex-preview mark { color: #082f49; background: #7dd3fc; }
  .cron-runs { color: #a7f3d0; font-family: var(--font-mono); }
  .command-list { display: grid; gap: 8px; }
  .command-item { display: grid; grid-template-columns: auto minmax(130px, .7fr) minmax(0, 1.5fr); align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 12px; color: #cbd5e1; text-align: left; background: #111927; border: 1px solid #273244; border-radius: 8px; }
  .command-item:hover { border-color: #0ea5e9; }
  .command-item code { min-width: 0; color: #7dd3fc; overflow-wrap: anywhere; }

  .advisor-shell { grid-template-columns: 260px minmax(0, 1fr); }
  .advisor-prompts { display: grid; gap: 7px; padding: 5px; }
  .advisor-chip { min-width: 0; padding: 8px 11px; color: #94a3b8; text-align: left; background: #111927; border: 1px solid #273244; border-radius: 8px; font-size: 11px; overflow-wrap: anywhere; }
  .advisor-chip:hover { color: #7dd3fc; border-color: #075985; }
  .advisor-main { background: #f8fafc; }
  .advisor-main .wb-topbar { color: #0f172a; background: white; border-color: #e2e8f0; }
  .advisor-main .wb-topbar-title { color: #0f172a; }
  .advisor-conversation { max-height: 670px; }
  .advisor-welcome { max-width: 520px; margin: 55px auto; color: #64748b; text-align: center; }
  .advisor-welcome h2 { margin-top: 18px; color: #0f172a; font-size: 26px; }
  .advisor-message { display: flex; gap: 12px; max-width: 860px; margin-bottom: 24px; }
  .advisor-message-body { min-width: 0; max-width: 100%; padding: 17px 20px; color: #334155; background: white; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 3px 14px rgb(15 23 42 / .04); }
  .advisor-message-user { margin-left: auto; }
  .advisor-message-user .advisor-message-body { color: white; background: #0e7490; border-color: #0e7490; }
  .advisor-message-header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
  .advisor-markdown { min-width: 0; overflow-wrap: anywhere; }
  .advisor-markdown > :last-child { margin-bottom: 0; }
  .advisor-markdown h2, .advisor-markdown h3, .advisor-markdown h4 { margin: 16px 0 8px; color: #0f172a; font-size: 16px; }
  .advisor-markdown pre { max-width: 100%; padding: 14px; overflow: auto; color: #cbd5e1; background: #0b0f17; border-radius: 8px; font: 12px/1.7 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
  .advisor-markdown code { font-family: var(--font-mono); }
  .advisor-markdown a { color: #0369a1; text-decoration: underline; }
  .advisor-table-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(90px, 1fr); gap: 10px; max-width: 100%; padding: 8px; overflow-x: auto; border-bottom: 1px solid #e2e8f0; font-size: 12px; }
  .advisor-composer { margin: 0 16px 16px; padding: 12px; background: white; border: 1px solid #cbd5e1; border-radius: 12px; }
  .advisor-composer textarea { display: block; width: 100%; min-width: 0; padding: 4px; resize: vertical; border: 0; outline: 0; }
  .advisor-composer-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #94a3b8; font-size: 11px; }
  .advisor-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
  .advisor-suggestions > span { width: 100%; color: #64748b; font-size: 11px; }
  .advisor-loading { opacity: .65; }
}

@layer utilities {
  .stack { display: grid; gap: 20px; }
  .cluster { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
  .mt-0 { margin-top: 0; }
  .mb-0 { margin-bottom: 0; }
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .mobile-menu-trigger { display: inline-grid; }
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); gap: 36px; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-shell { grid-template-columns: 180px minmax(0, 1fr); }
  .wb-inspector { display: none; }
}

@media (max-width: 900px) {
  .section { padding-block: 64px; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-item + .kpi-item { border-left: 0; }
  .kpi-item:nth-child(even) { border-left: 1px solid var(--color-border); }
  .kpi-item:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .bom-item { grid-template-columns: 85px minmax(160px, 1fr) auto; gap: 12px; }
  .bom-item .btn { grid-column: 2 / -1; justify-self: end; }
}

@media (max-width: 768px) {
  html, body { width: 100%; min-width: 0; max-width: 100%; overflow-x: clip; }
  .container, .narrow-container, .hero-grid, .hero-copy, .hero-actions, .wb-shell, .wb-sidebar, .wb-main { min-width: 0; max-width: 100%; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-actions, .hero-trust, .section-heading { flex-wrap: wrap; overflow-wrap: anywhere; }
  .hero-actions .btn { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .wb-shell { grid-template-columns: minmax(0, 1fr); }
  .wb-sidebar { border-right: 0; }
  .tool-columns { grid-template-columns: minmax(0, 1fr); }
  .advisor-shell { grid-template-columns: minmax(0, 1fr); }
  .advisor-sidebar { max-width: 100%; }
}

@media (max-width: 640px) {
  html, body { width: 100%; min-width: 0; max-width: 100%; overflow-x: clip; }
  .container, .narrow-container { width: calc(100% - 32px); min-width: 0; max-width: 100%; }
  .hero-grid, .hero-copy, .hero-actions, .wb-shell, .wb-sidebar, .wb-main { width: 100%; min-width: 0; max-width: 100%; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions { display: flex; }
  .hero-actions .btn { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  h1, h2, h3, h4, p, .btn { overflow-wrap: anywhere; }
  .tool-fields { grid-template-columns: minmax(0, 1fr); }
  .tool-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-regex-input, .command-item { grid-template-columns: minmax(0, 1fr); }
  .cuda-table .tool-table-row { grid-template-columns: minmax(0, 1fr); }
  .advisor-shell { display: block; }
  .advisor-shell .wb-sidebar { display: block; overflow: visible; }
  .advisor-shell [role="tablist"] { display: flex; flex-wrap: wrap; gap: 5px; }
  .advisor-shell .wb-expert { flex: 1 1 42%; min-width: 0; white-space: normal; }
  .advisor-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advisor-message { gap: 7px; }
  .advisor-message .wb-avatar { display: none; }
  .advisor-message-body { padding: 14px; }
  .advisor-composer { margin: 0 10px 10px; }
  :root { --header-height: 62px; }
  .container, .narrow-container { width: calc(100% - 32px); max-width: calc(100vw - 32px); }
  .section { padding-block: 44px; }
  .section-compact { padding-block: 32px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading .btn, .section-heading .card-link { margin-top: 14px; }
  h2 { font-size: 1.65rem; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 5px; }
  .header-actions > .btn-primary, .header-actions > .lang-switcher, .search-trigger .search-label, .search-trigger .keycap { display: none; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .hero { padding: 36px 0 36px; }
  .hero h1 { margin-bottom: 16px; font-size: clamp(1.85rem, 8.2vw, 2.5rem); line-height: 1.18; }
  .hero-lead { font-size: 14.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; flex: none; padding-inline: 14px; }
  .hero-trust { gap: 8px 14px; font-size: 12.5px; }
  .hero-grid { gap: 28px; }
  .hero-grid > * { min-width: 0; max-width: 100%; }
  .obsidian-panel { max-width: 100%; overflow: hidden; }
  .obsidian-body { padding: 16px; max-width: 100%; }
  .obsidian-panel .kpi-strip, .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-item { padding: 14px 12px; min-width: 0; }
  .kpi-value { font-size: 20px; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; gap: 18px; }
  .card-body { padding: 18px; }
  .wb-shell { display: block; min-height: 0; }
  .wb-sidebar { display: flex; gap: 5px; padding: 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #202938; }
  .wb-brand, .wb-sidebar-title { display: none; }
  .wb-expert { flex: none; width: auto; padding: 7px 10px; }
  .wb-expert .wb-avatar { width: 25px; height: 25px; }
  .wb-conversation { min-height: 330px; padding: 18px 14px; }
  .wb-topbar { padding-inline: 14px; }
  .wb-composer { margin: 0 14px 14px; }
  .obsidian-body { padding: 16px; }
  .code-layout { grid-template-columns: 1fr; }
  .file-tree { display: flex; max-height: none; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #202938; }
  .file-node { flex: none; width: auto; }
  .code-viewer pre { padding: 16px; font-size: 11px; }
  .filter-bar { align-items: stretch; padding: 12px; }
  .filter-group { flex: 1; }
  .filter-group select { width: 100%; }
  .filter-search { flex-basis: 100%; }
  .filter-count { width: 100%; margin-left: 0; }
  .bom-item { grid-template-columns: 1fr auto; padding: 16px; }
  .bom-category { grid-column: 1 / -1; }
  .bom-product { grid-column: 1; }
  .bom-item .btn { grid-column: 1 / -1; justify-self: stretch; }
  .bom-total { align-items: flex-start; flex-direction: column; }
  .price-compare { grid-template-columns: 1fr; }
  .faq-item summary { padding: 17px; font-size: 14px; }
  .faq-answer { padding: 0 17px 18px; }
  .cmdk-modal { padding: 72px 12px 12px; }
  .cmdk-dialog { max-height: calc(100dvh - 100px); border-radius: 13px; }
  .cmdk-results { max-height: calc(100dvh - 180px); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; padding-block: 48px 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .toast-region { right: 16px; bottom: 16px; }
}

/* Builder form & obsidian form polish */
.builder-form-card { background: var(--color-surface, #fff); border: 1px solid var(--color-border, rgba(15,23,42,.09)); border-radius: var(--radius-lg, 18px); padding: 24px; box-shadow: 0 2px 10px rgb(15 23 42 / .04); }
#builder-form { display: grid; gap: 14px; margin-bottom: 18px; }
.form-group { display: grid; gap: 6px; min-width: 0; }
.form-control { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(15, 23, 42, 0.14); background: #fff; color: #0f172a; font-size: 14px; }
.obsidian-panel .form-group { margin-top: 16px; }
.obsidian-panel .filter-label { color: #94a3b8; font-size: 12px; font-weight: 600; }
.obsidian-panel .form-control { background: #111827; border-color: #273244; color: #e2e8f0; }
.obsidian-panel .hero-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.obsidian-panel .hero-actions .btn { flex: 1 1 160px; }
.obsidian-panel .kpi-strip { margin-bottom: 16px; background: rgba(255,255,255,0.03); border-color: #273244; }
.obsidian-panel .kpi-item { border-color: #273244; }
.obsidian-panel .kpi-label { color: #94a3b8; }
.obsidian-panel .kpi-value { color: #f8fafc; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .filter-bar, .cmdk-modal, .toast-region, .mobile-drawer, .drawer-backdrop { display: none !important; }
  body { background: white; }
  .section { padding-block: 24px; }
  .card { break-inside: avoid; box-shadow: none; }
}
