:root {
  --ink: #111418;
  --paper: #f3f0e8;
  --paper-2: #e9e5db;
  --white: #fbfaf6;
  --muted: #5d6670;
  --line: #c9c6bd;
  --line-dark: #252b27;
  --acid: #b9f45d;
  --acid-2: #9ee43f;
  --blue: #316bd9;
  --orange: #e16d3d;
  --console-bg: #080c11;
  --console-surface: #0e141b;
  --console-raised: #141d27;
  --console-border: #2a3541;
  --console-text: #f3f7fa;
  --console-muted: #96a2ad;
  --state-agent: #64e3ad;
  --state-data: #66b2ff;
  --state-plan: #b9a2ff;
  --state-waiting: #f4b85e;
  --state-success: #55d98a;
  --state-error: #ff7777;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(84px, 10vw, 152px);
  --sans: "Neue Haas Grotesk Text Pro", Aptos, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 14px; background: var(--acid); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.copy-en, .copy-zh { display: block; }
body[data-primary-language="en"] [lang="zh-CN"] { display: none !important; }
body[data-primary-language="zh"] [lang="en"] { display: none !important; }
body[data-primary-language="zh"] .copy-zh { margin-top: 0 !important; color: inherit; font-size: inherit !important; line-height: inherit !important; letter-spacing: inherit !important; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  min-height: 76px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(244, 243, 239, .94);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; }
.brand > span { font-size: 25px; font-weight: 900; letter-spacing: -.06em; }
.brand > small { padding-left: 12px; border-left: 1px solid var(--ink); font: 9px/1.25 var(--mono); letter-spacing: .08em; }
.site-nav { display: flex; justify-content: center; align-items: stretch; }
.nav-link { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 20px; font-size: 13px; font-weight: 700; }
.nav-link small { color: var(--muted); font-size: 10px; font-weight: 500; }
.nav-link::after { position: absolute; right: 20px; bottom: -1px; left: 20px; height: 3px; background: var(--ink); content: ""; transform: scaleX(0); transition: transform .2s; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-solutions { display: flex; }
.mega-menu { position: absolute; top: 75px; right: var(--gutter); left: var(--gutter); display: grid; grid-template-columns: .7fr 2fr; gap: 50px; padding: 38px; border: 1px solid var(--ink); background: var(--white); box-shadow: 0 26px 70px rgba(0,0,0,.13); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease; }
.nav-solutions:hover .mega-menu, .nav-solutions:focus-within .mega-menu { opacity: 1; visibility: visible; transform: none; }
.mega-intro { padding: 8px 34px 8px 0; border-right: 1px solid var(--line); }
.mega-intro span { font: 10px var(--mono); letter-spacing: .1em; }
.mega-intro b { display: block; max-width: 270px; margin: 36px 0 12px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.mega-intro small { color: var(--muted); font-size: 15px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; }
.mega-links a { display: grid; grid-template-columns: 44px 1fr; padding: 18px 18px; border-bottom: 1px solid var(--line); transition: background .15s; }
.mega-links a:hover { background: var(--acid); }
.mega-links a > span { grid-row: 1 / 3; font: 10px var(--mono); }
.mega-links b { font-size: 15px; }
.mega-links small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switcher { display: flex; padding: 3px; border: 1px solid var(--ink); border-radius: 999px; }
.language-switcher button { min-width: 36px; height: 28px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; font: 9px var(--mono); }
.language-switcher button[aria-pressed="true"] { background: var(--ink); color: white; }
.header-cta { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }
.header-cta small { color: var(--acid); font-size: 10px; }
.menu-toggle { display: none; }

main { min-height: 70vh; }
.home-hero { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr); gap: clamp(40px, 5vw, 86px); max-width: var(--max); min-height: 760px; margin: 0 auto; padding: clamp(76px, 8vw, 126px) var(--gutter) 90px; align-items: center; }
.eyebrow, .eyebrow-simple { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font: 10px/1.5 var(--mono); letter-spacing: .09em; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--acid-2); box-shadow: 0 0 0 4px rgba(158,228,63,.18); }
.eyebrow small { color: var(--muted); font-family: var(--sans); letter-spacing: 0; }
.hero-title { max-width: 720px; margin: 0; font-size: clamp(46px, 4.7vw, 68px); line-height: 1; letter-spacing: -.055em; }
.hero-title .copy-zh { margin-top: 22px; font-size: .53em; line-height: 1.12; letter-spacing: -.05em; }
.hero-lead { max-width: 630px; margin: 34px 0 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.48; }
.hero-lead .copy-zh { margin-top: 10px; font-size: .72em; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); font-size: 13px; font-weight: 800; transition: transform .18s, background .18s, color .18s; }
.button:hover { transform: translateY(-2px); }
.button small { font-size: 11px; font-weight: 500; }
.button-dark { background: var(--ink); color: white; }
.button-dark small { color: var(--acid); }
.button-line { background: transparent; }
.button-line:hover { background: var(--white); }
.button-acid { background: var(--acid); color: var(--ink); }
.button-light { border-color: white; background: white; color: var(--ink); }
.hero-scope { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .05em; }
.hero-visual { min-width: 0; }

.agent-dashboard { overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; background: #eef0ec; box-shadow: 0 32px 90px rgba(21,28,24,.14); }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 15px; border-bottom: 1px solid #38403c; background: #111714; color: white; font: 8px var(--mono); letter-spacing: .07em; }
.dashboard-top div { display: flex; align-items: center; gap: 9px; }
.dashboard-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.dashboard-top > span { color: var(--acid); }
.dashboard-shell { display: grid; grid-template-columns: 108px 1fr; min-height: 520px; }
.dashboard-shell aside { display: flex; flex-direction: column; gap: 5px; padding: 18px 9px; border-right: 1px solid #bcc2bc; background: #e4e7e2; }
.dashboard-shell aside strong { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 0 18px 7px; border-radius: 8px; background: var(--ink); color: var(--acid); }
.dashboard-shell aside span { padding: 9px 8px; border-radius: 5px; color: #68706b; font-size: 9px; }
.dashboard-shell aside span.is-active { background: var(--white); color: var(--ink); font-weight: 800; }
.dashboard-main { min-width: 0; padding: 24px; }
.dash-heading { display: flex; justify-content: space-between; align-items: end; }
.dash-heading span { display: block; margin-bottom: 8px; font: 8px var(--mono); color: var(--muted); }
.dash-heading b { display: block; font-size: 20px; letter-spacing: -.035em; }
.dash-heading button { padding: 9px 12px; border: 0; border-radius: 5px; background: var(--acid); font-size: 9px; font-weight: 800; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 24px 0 10px; }
.dash-metrics > div { padding: 14px; border: 1px solid #c9cec9; border-radius: 6px; background: var(--white); }
.dash-metrics span { display: block; font: 7px var(--mono); color: var(--muted); }
.dash-metrics b { display: block; margin: 9px 0 5px; font-size: 25px; }
.dash-metrics small { color: var(--muted); font-size: 8px; }
.dash-work { display: grid; grid-template-columns: 1.35fr .75fr; gap: 10px; }
.dash-table, .agent-feed { border: 1px solid #c9cec9; border-radius: 6px; background: var(--white); }
.dash-table > div { display: grid; grid-template-columns: 1fr 62px 72px; align-items: center; min-height: 52px; padding: 0 12px; border-bottom: 1px solid #e0e2de; }
.dash-table > div:last-child { border-bottom: 0; }
.dash-table .table-head { min-height: 34px; color: var(--muted); font: 7px var(--mono); }
.dash-table b { font-size: 9px; }
.dash-table small { color: var(--muted); font-size: 8px; }
.dash-table em { width: fit-content; padding: 4px 6px; border-radius: 20px; font: 7px var(--mono); font-style: normal; }
.dash-table em.risk { background: #ffe0d5; color: #a84522; }
.dash-table em.review { background: #fff0c5; color: #7a5b00; }
.dash-table em.active { background: #dfe9ff; color: #2453ab; }
.dash-table em.ready { background: #e0f8ca; color: #396c15; }
.agent-feed { padding: 12px; background: #17201c; color: white; }
.agent-feed > span { font: 7px var(--mono); color: var(--acid); }
.agent-feed > div { display: grid; grid-template-columns: 23px 1fr; gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #3c4741; }
.agent-feed i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acid); color: var(--ink); font: 7px var(--mono); font-style: normal; }
.agent-feed p { margin: 0; }
.agent-feed b, .agent-feed small { display: block; font-size: 8px; line-height: 1.35; }
.agent-feed small { margin-top: 4px; color: #9fa8a2; font-size: 7px; }

.problem-strip { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.problem-strip a { position: relative; min-height: 145px; padding: 22px var(--gutter); border-right: 1px solid var(--ink); }
.problem-strip a:last-child { border-right: 0; }
.problem-strip a:hover { background: var(--acid); }
.problem-strip span { font: 9px var(--mono); }
.problem-strip b, .problem-strip small { display: block; }
.problem-strip b { margin-top: 42px; font-size: 14px; }
.problem-strip small { margin-top: 7px; color: var(--muted); font-size: 11px; }

.site-section { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); }
.section-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); max-width: 980px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-index { padding-top: 11px; font: 10px var(--mono); }
.section-title { margin: 0; font-size: clamp(36px, 3.7vw, 54px); line-height: 1.02; letter-spacing: -.05em; }
.section-title .copy-zh { margin-top: 13px; font-size: .52em; letter-spacing: -.04em; }
.section-lead { max-width: 760px; margin: 25px 0 0; font-size: 17px; line-height: 1.55; }
.section-lead .copy-zh { margin-top: 7px; font-size: .78em; }
.solution-grid { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.solution-card { grid-column: span 2; min-height: 330px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.solution-card:nth-child(4), .solution-card:nth-child(5) { grid-column: span 3; }
.solution-card > a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px; transition: background .2s; }
.solution-card > a:hover { background: var(--acid); }
.card-code { font: 9px var(--mono); }
.card-title { margin: auto 0 20px; font-size: clamp(24px, 2.1vw, 34px); line-height: .98; letter-spacing: -.045em; }
.card-title .copy-zh { margin-top: 10px; font-size: .55em; }
.card-copy { max-width: 430px; margin: 0; font-size: 13px; line-height: 1.55; }
.card-copy .copy-zh { margin-top: 6px; font-size: .82em; }
.card-arrow { position: absolute; top: 24px; right: 24px; font-size: 18px; }
.cases-section { border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(54px, 6vw, 96px) 28px; }
.case-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.case-card { min-width: 0; }
.case-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--ink); background: #dfe2dd; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.case-image:hover img { transform: scale(1.02); }
.case-image > span { position: absolute; right: 0; bottom: 0; padding: 8px 10px; background: var(--ink); color: var(--acid); font: 9px var(--mono); }
.case-meta { display: flex; justify-content: space-between; margin: 17px 0 20px; font: 9px var(--mono); text-transform: uppercase; }
.case-meta small { color: var(--muted); font-family: var(--sans); }
.case-copy { display: block; }
.case-title { margin: 0; font-size: clamp(27px, 2.5vw, 40px); line-height: .98; letter-spacing: -.052em; }
.case-title .copy-zh { margin-top: 10px; font-size: .58em; }
.case-summary { max-width: 650px; margin: 20px 0; font-size: 14px; line-height: 1.55; }
.case-summary .copy-zh { margin-top: 6px; font-size: .8em; }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.text-link small { margin-left: 6px; color: var(--muted); font-size: 10px; }
.section-link { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 66px 0 0 auto; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 800; }
.section-link small { color: var(--muted); font-size: 11px; }
.section-link span { font-size: 18px; }
.industries-section { border-top: 1px solid var(--line); }
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--ink); }
.industry-card { min-height: 430px; padding: 26px; border-right: 1px solid var(--ink); }
.industry-card:last-child { border-right: 0; }
.industry-card:hover { background: var(--acid); }
.industry-card > span { font: 9px var(--mono); }
.industry-title { margin: 120px 0 18px; font-size: 33px; line-height: 1; letter-spacing: -.045em; }
.industry-title .copy-zh { margin-top: 8px; font-size: .55em; }
.industry-copy { margin: 0; font-size: 13px; line-height: 1.55; }
.industry-copy .copy-zh { margin-top: 5px; font-size: .82em; }
.mini-tags, .tag-list, .case-modules { display: flex; flex-wrap: wrap; gap: 7px; }
.mini-tags { margin-top: 28px; }
.mini-tags span, .tag-list span, .case-modules span { display: flex; gap: 5px; padding: 7px 9px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 9px; }
.mini-tags small, .tag-list small, .case-modules small { color: var(--muted); font-size: 9px; }
.digital-team-section { max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); border-top: 1px solid var(--line); background: #e8eae5; }
.digital-team-board { overflow: hidden; border: 1px solid var(--ink); border-radius: 8px; background: #f7f8f5; box-shadow: 0 28px 80px rgba(16,24,19,.1); }
.team-board-head { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 20px; border-bottom: 1px solid var(--ink); background: var(--ink); color: white; }
.team-board-head div { display: flex; gap: 10px; align-items: center; }
.team-board-head span { font: 9px var(--mono); letter-spacing: .06em; }
.team-board-head small { color: #9ea7a1; font-size: 10px; }
.team-board-head > b { font: 8px var(--mono); color: var(--acid); }
.team-board-head > b i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(185,244,93,.13); }
.team-board-body { display: grid; grid-template-columns: 200px 1fr; }
.team-board-body > aside { display: flex; flex-direction: column; min-height: 480px; padding: 22px; border-right: 1px solid var(--ink); background: #dfe3dc; }
.team-board-body > aside span { margin-bottom: 50px; font: 8px var(--mono); }
.team-board-body > aside b { padding: 14px 0; border-bottom: 1px solid #aeb5ae; font-size: 11px; }
.team-board-body > aside small { margin-top: auto; font: 7px/1.5 var(--mono); color: var(--muted); }
.digital-roles { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #bdc2bc; }
.digital-roles article { min-width: 0; min-height: 239px; padding: 18px; background: var(--white); }
.digital-roles article > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.digital-roles article > div span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1a211d; color: white; font: 8px var(--mono); }
.digital-roles em { padding: 5px 7px; border-radius: 999px; background: #e7e9e5; font: 7px var(--mono); font-style: normal; }
.digital-roles article[data-role-state="processing"] em, .digital-roles article[data-role-state="working"] em { background: #dfe8ff; color: #2757ad; }
.digital-roles article[data-role-state="documents"] em { background: #fff0c9; color: #765500; }
.digital-roles article[data-role-state="developing"] em { background: #eadcff; color: #6330a1; }
.digital-roles article[data-role-state="review"] em { background: #ffe2d8; color: #9d4324; }
.digital-roles article[data-role-state="ready"] em { background: #e2f8cd; color: #376d13; }
.digital-roles article > b { display: block; margin-top: 47px; font-size: 16px; letter-spacing: -.02em; }
.digital-roles article > small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.digital-roles article > p { margin: 28px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: #4d5550; font: 8px/1.5 var(--mono); }
.team-flow { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr; align-items: center; min-height: 82px; padding: 14px 20px; border-top: 1px solid var(--ink); background: #f0f1ed; }
.team-flow span { text-align: center; font: 8px var(--mono); }
.team-flow small { display: block; margin-top: 5px; color: var(--muted); font: 9px var(--sans); }
.team-flow i { text-align: center; font-style: normal; }
.approach-preview { max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); background: #101512; color: white; }
.approach-preview .section-index, .approach-preview .section-title .copy-zh, .approach-preview .section-lead { color: #9ba39d; }
.approach-steps { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border-top: 1px solid #647068; border-left: 1px solid #647068; list-style: none; }
.approach-steps li { min-height: 250px; padding: 20px; border-right: 1px solid #647068; border-bottom: 1px solid #647068; }
.approach-steps li > span { font: 9px var(--mono); color: var(--acid); }
.approach-steps li > div { margin-top: 100px; }
.step-title { margin: 0; font-size: 16px; line-height: 1.15; }
.step-title .copy-zh { margin-top: 7px; color: #aab1ad; font-size: .7em; }
.step-note { margin: 12px 0 0; color: #b3b9b5; font-size: 11px; line-height: 1.5; }
.step-note .copy-zh { margin-top: 4px; font-size: .86em; }
.approach-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 38px; }
.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: clamp(68px, 8vw, 112px) max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); border-top: 1px solid var(--ink); background: var(--ink); color: white; }
.final-cta > div > span { font: 9px var(--mono); color: var(--acid); }
.final-title { max-width: 870px; margin: 28px 0 0; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; }
.final-title .copy-zh { margin-top: 13px; color: #99a19c; font-size: .52em; }

.page-hero, .case-detail-hero { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) clamp(82px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: clamp(70px, 9vw, 126px); font: 9px var(--mono); color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb b { color: var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.6fr); gap: clamp(50px, 9vw, 140px); align-items: end; }
.page-title { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.page-title .copy-zh { margin-top: 18px; font-size: .5em; line-height: 1.08; }
.page-lead { max-width: 780px; margin: 28px 0 0; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; }
.page-lead .copy-zh { margin-top: 8px; font-size: .76em; }
.page-hero .button { margin-top: 34px; }
.hero-note { padding: 30px 0 8px 28px; border-left: 1px solid var(--ink); }
.hero-note span, .case-count span { display: block; font: 9px var(--mono); color: var(--muted); letter-spacing: .07em; }
.hero-note b { display: block; margin: 40px 0 10px; font: 11px/1.7 var(--mono); }
.hero-note small { color: var(--muted); font-size: 12px; }
.solution-matrix { border-top: 1px solid var(--ink); }
.solution-matrix a { display: grid; grid-template-columns: 70px 1.1fr 1fr 30px; gap: 20px; align-items: center; min-height: 106px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.solution-matrix a:hover { padding-right: 14px; padding-left: 14px; background: var(--acid); }
.solution-matrix span { font: 9px var(--mono); }
.solution-matrix b { font-size: 22px; }
.solution-matrix b small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.solution-matrix em { color: var(--muted); font-size: 12px; font-style: normal; }
.solution-contract { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; gap: 6px; align-items: center; padding: 22px; border: 1px solid var(--ink); }
.solution-contract > span { grid-column: 1/-1; padding-bottom: 16px; border-bottom: 1px solid var(--line); font: 9px var(--mono); }
.solution-contract div { min-height: 90px; padding: 15px 8px; }
.solution-contract b, .solution-contract small { display: block; }
.solution-contract b { font: 9px var(--mono); }
.solution-contract small { margin-top: 30px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.solution-contract i { font-style: normal; }
.split-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.split-section .section-head { display: block; }
.split-section .section-index { display: block; margin-bottom: 34px; }
.problem-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.problem-list li { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--ink); }
.problem-list span { font: 9px var(--mono); }
.problem-list b { font-size: 17px; }
.problem-list small { color: var(--muted); font-size: 12px; }
.module-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.module-grid article { min-height: 210px; padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.module-grid span { font: 9px var(--mono); }
.module-grid b, .module-grid small { display: block; }
.module-grid b { margin-top: 92px; font-size: 18px; }
.module-grid small { margin-top: 7px; color: var(--muted); font-size: 12px; }
.related-cases { border-top: 1px solid var(--line); }

.industry-detail { border-top: 1px solid var(--ink); }
.industry-heading { display: grid; grid-template-columns: 75px minmax(0,1fr); margin-bottom: 72px; }
.industry-heading > span { font: 10px var(--mono); }
.industry-heading .tag-list { margin-top: 28px; }
.case-count { border-left: 1px solid var(--ink); padding-left: 28px; }
.case-count b { display: block; font-size: 100px; line-height: .8; letter-spacing: -.08em; }
.case-count span { margin-top: 26px; }
.case-count small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.case-index-section { padding-top: 55px; }
.case-tools { display: grid; grid-template-columns: minmax(260px,.7fr) 1fr; gap: 24px; margin-bottom: 70px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.case-tools label { grid-row: 1/3; }
.case-tools label span { display: block; margin-bottom: 10px; font: 9px var(--mono); }
.case-tools input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--ink); background: var(--white); font-size: 13px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-group button { padding: 9px 12px; border: 1px solid var(--ink); background: transparent; font-size: 11px; font-weight: 700; }
.filter-group button small { color: var(--muted); font-size: 9px; }
.filter-group button.is-active { background: var(--ink); color: white; }
.filter-group button.is-active small { color: var(--acid); }
.filter-empty { padding: 80px 0; text-align: center; }

.case-detail-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(480px,1.22fr); gap: clamp(50px, 7vw, 110px); align-items: end; }
.case-kicker { display: flex; gap: 9px; margin-bottom: 24px; font: 9px var(--mono); }
.case-kicker small { color: var(--muted); font-family: var(--sans); }
.case-modules { margin: 28px 0 4px; }
.case-detail-grid .button { margin-top: 36px; }
.case-hero-image { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--ink); background: #dfe2dd; }
.case-hero-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case-hero-image span { position: absolute; right: 0; bottom: 0; padding: 11px 13px; background: var(--ink); color: white; font: 8px var(--mono); }
.case-outcome { display: grid; grid-template-columns: repeat(3,1fr); max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); background: var(--ink); color: white; }
.case-outcome article { min-height: 320px; padding: 25px 34px 25px 0; border-right: 1px solid #47504b; }
.case-outcome article + article { padding-left: 34px; }
.case-outcome article:last-child { border-right: 0; }
.case-outcome article > span { font: 9px var(--mono); color: var(--acid); }
.outcome-copy { margin: 120px 0 0; font-size: 17px; line-height: 1.48; }
.outcome-copy .copy-zh { margin-top: 12px; color: #aeb5b0; font-size: .78em; }
.case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--ink); background: #dfe2dd; }
.gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.015); }
.gallery-item > span { position: absolute; right: 0; bottom: 0; padding: 9px 11px; background: var(--ink); color: var(--acid); font: 8px var(--mono); }
.privacy-caption { margin: 18px 0 0; color: var(--muted); font-size: 10px; }

.approach-page-section { padding-bottom: 70px; }
.approach-timeline { margin: 0; padding: 0; list-style: none; }
.approach-timeline li { display: grid; grid-template-columns: 100px 1fr 20px; gap: 25px; align-items: center; min-height: 190px; border-top: 1px solid var(--ink); }
.approach-timeline li:last-child { border-bottom: 1px solid var(--ink); }
.approach-timeline li > span { font: 10px var(--mono); }
.approach-timeline li > i { width: 10px; height: 10px; border-radius: 50%; background: var(--acid-2); }
.approach-title { margin: 0; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.045em; }
.approach-title .copy-zh { margin-top: 7px; font-size: .52em; }
.approach-note { margin: 17px 0 0; font-size: 14px; }
.approach-note .copy-zh { margin-top: 6px; font-size: .8em; }
.a2a-section { max-width: none; padding-right: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))); background: #e8e9e3; }
.a2a-flow { display: grid; grid-template-columns: repeat(5,18px 1fr) 1fr; align-items: center; border: 1px solid var(--ink); }
.a2a-flow > div { min-width: 0; min-height: 160px; padding: 18px; }
.a2a-flow > i { text-align: center; font-style: normal; }
.a2a-flow span, .a2a-flow b, .a2a-flow small { display: block; }
.a2a-flow span { font: 8px var(--mono); }
.a2a-flow b { margin-top: 64px; font-size: 12px; }
.a2a-flow small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.governance-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 32px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.governance-grid article { min-height: 230px; padding: 21px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.governance-grid span { font: 8px var(--mono); }
.governance-grid b, .governance-grid small { display: block; }
.governance-grid b { margin-top: 90px; font-size: 15px; line-height: 1.3; }
.governance-grid small { margin-top: 8px; color: var(--muted); font-size: 11px; }
.faq-section { padding-bottom: 110px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { padding: 27px 40px 27px 0; font-size: 17px; font-weight: 700; list-style: none; }
.faq-list summary::after { float: right; content: "+"; font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary small { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 400; }
.faq-list p { max-width: 800px; margin: 0 0 28px; font-size: 14px; line-height: 1.6; }
.faq-list p small { color: var(--muted); }

.contact-section { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(60px, 9vw, 140px); }
.contact-guide > span { font: 9px var(--mono); }
.contact-guide ol { margin: 38px 0; padding: 0; list-style: none; }
.contact-guide li { display: grid; grid-template-columns: 32px 1fr; gap: 15px; padding: 20px 0; border-top: 1px solid var(--ink); }
.contact-guide li:last-child { border-bottom: 1px solid var(--ink); }
.contact-guide li > b { font: 9px var(--mono); }
.contact-guide p { margin: 0; font-size: 13px; font-weight: 700; }
.contact-guide p small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
.contact-privacy { padding: 20px; background: var(--ink); color: white; }
.contact-privacy b { font: 9px var(--mono); color: var(--acid); }
.contact-privacy p { margin: 25px 0 6px; font-size: 12px; }
.contact-privacy small { color: #aeb5b0; font-size: 10px; }
.solution-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.solution-form label { display: block; }
.solution-form label > span { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 800; }
.solution-form input:not([type="checkbox"]), .solution-form select, .solution-form textarea { width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); font-size: 13px; outline: none; }
.solution-form textarea { resize: vertical; }
.solution-form input:focus, .solution-form select:focus, .solution-form textarea:focus { box-shadow: 0 0 0 3px rgba(185,244,93,.75); }
.form-wide, .form-status { grid-column: 1/-1; }
.consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; }
.consent input { margin: 2px 0 0; }
.consent span { margin: 0 !important; font-weight: 500 !important; line-height: 1.4; }
.consent small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.honeypot { position: absolute !important; left: -10000px; }
.form-actions { display: flex; gap: 12px; }
.form-actions .button { flex: 1; }
.form-status { min-height: 0; padding: 0; font-size: 12px; }
.form-status.is-error, .form-status.is-success { padding: 12px; border: 1px solid var(--ink); }
.form-status.is-error { background: #ffe0d5; }
.form-status.is-success { background: #e0f8ca; }
.brief-preview { border: 1px solid var(--ink); background: var(--white); }
.brief-preview > div { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid var(--ink); }
.brief-preview > div b { font: 9px var(--mono); }
.brief-preview button { border: 0; background: transparent; font-size: 10px; font-weight: 800; }
.brief-preview pre { margin: 0; padding: 18px; white-space: pre-wrap; font: 11px/1.6 var(--mono); }

.image-dialog { width: min(94vw, 1400px); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); }
.image-dialog::backdrop { background: rgba(7,10,8,.86); }
.image-dialog > button { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid white; border-radius: 50%; background: var(--ink); color: white; font-size: 24px; }
.image-dialog img { width: 100%; max-height: 84vh; object-fit: contain; background: #dfe2dd; }
.image-dialog p { margin: 0; padding: 12px 15px; font: 9px var(--mono); }
.not-found { display: grid; place-items: start; min-height: 70vh; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); }
.not-found > span { font: 11px var(--mono); }
.not-found .page-title { margin: 70px 0 50px; }

.site-footer { padding: 72px var(--gutter) 24px; border-top: 1px solid var(--ink); }
.footer-main { display: flex; justify-content: space-between; max-width: var(--max); min-height: 230px; margin: 0 auto; }
.footer-brand { font-size: 40px; font-weight: 900; letter-spacing: -.07em; }
.footer-main p { margin-top: 18px; font-size: 12px; line-height: 1.5; }
.footer-main p small { color: var(--muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 50px; align-content: start; }
.footer-links a { min-width: 170px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.footer-links small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--ink); font: 8px var(--mono); letter-spacing: .05em; }
.footer-contact { display: grid; gap: 6px; margin-top: 34px; }
.footer-contact a { width: fit-content; font: 12px var(--mono); }

.system-section { border-top: 1px solid var(--line); }
.system-landscape { display: grid; gap: 24px; }
.landscape-visual { position: relative; display: block; overflow: hidden; border: 1px solid var(--ink); background: #0e171d; }
.landscape-visual img { width: 100%; aspect-ratio: 16/8.7; object-fit: cover; transition: transform .45s ease; }
.landscape-visual:hover img { transform: scale(1.012); }
.landscape-visual > span { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 18px; background: rgba(9,15,18,.9); color: white; }
.landscape-visual b { font: 9px var(--mono); color: var(--acid); letter-spacing: .04em; }
.landscape-visual i { font: normal 8px var(--mono); }
.surface-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ink); }
.surface-grid article { min-height: 200px; padding: 20px; border-right: 1px solid var(--ink); }
.surface-grid article:last-child { border-right: 0; }
.surface-grid article > i { font: normal 9px var(--mono); }
.surface-grid h3 { margin: 48px 0 18px; font-size: 20px; letter-spacing: -.035em; }
.surface-grid article > div { display: flex; flex-wrap: wrap; gap: 6px; }
.surface-grid article > div span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; font: 8px var(--mono); }
.landscape-flow { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: center; border: 1px solid var(--ink); background: var(--ink); color: white; }
.landscape-flow span { padding: 18px; text-align: center; font: 9px var(--mono); }
.landscape-flow small { display: block; margin-top: 6px; color: #aeb6b0; font: 9px var(--sans); }
.landscape-flow > i { color: var(--acid); font-style: normal; text-align: center; }

.case-system-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.case-system-tags span { padding: 6px 8px; border: 1px solid var(--line-dark); border-radius: 999px; font: 8px var(--mono); }
.case-detail-systems { margin-top: 30px; }
.case-card .text-link { margin-top: 0; }
.system-filter { grid-column: 2; padding-top: 5px; }
.system-filter button { font: 9px var(--mono); }

.contact-direct { display: grid; gap: 10px; margin: 28px 0 52px; }
.contact-direct a { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--ink); background: var(--white); }
.contact-direct a:hover { background: var(--acid); }
.contact-direct small { font: 8px var(--mono); color: var(--muted); }
.contact-direct b { font: 13px var(--mono); overflow-wrap: anywhere; }

.assistant-launch { position: fixed; z-index: 180; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 17px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 12px 34px rgba(0,0,0,.2); font: 9px var(--mono); letter-spacing: .04em; }
.assistant-launch i { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(185,244,93,.16); }
.assistant-panel { position: fixed; z-index: 190; right: 24px; bottom: 80px; display: grid; grid-template-rows: auto minmax(120px,1fr) auto auto auto; width: min(430px,calc(100vw - 40px)); max-height: min(680px,calc(100vh - 110px)); overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.assistant-panel[hidden] { display: none; }
.assistant-panel > header { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 16px; background: var(--ink); color: white; }
.assistant-panel > header b { font: 10px var(--mono); }
.assistant-panel > header small { display: block; margin-top: 5px; color: #aeb6b0; font: 7px var(--mono); }
.assistant-panel > header button { width: 34px; height: 34px; padding: 0; border: 1px solid #59625d; border-radius: 50%; background: transparent; color: white; font-size: 20px; }
.assistant-messages { display: grid; align-content: start; gap: 9px; padding: 16px; overflow-y: auto; }
.assistant-message { max-width: 88%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; line-height: 1.5; }
.assistant-message.is-agent { background: #eef4e3; }
.assistant-message.is-user { justify-self: end; background: var(--ink); color: white; }
.assistant-results { display: grid; gap: 7px; margin-top: 10px; }
.assistant-results a { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line); background: var(--white); }
.assistant-results a:hover { border-color: var(--ink); }
.assistant-results i { font: normal 8px var(--mono); color: var(--muted); }
.assistant-results b { font-size: 10px; }
.assistant-results span { font: 9px var(--mono); }
.assistant-prompts { display: flex; gap: 6px; padding: 0 16px 12px; overflow-x: auto; }
.assistant-prompts button { flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; font: 8px var(--mono); }
.assistant-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.assistant-form input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--ink); background: white; font-size: 11px; }
.assistant-form button { min-width: 66px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 10px; font-weight: 800; }
.assistant-panel > footer { display: flex; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font: 8px var(--mono); }
.assistant-panel > footer a:last-child { margin-left: auto; font-weight: 800; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .nav-link { padding: 0 12px; }
  .nav-link::after { right: 12px; left: 12px; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .agent-dashboard { max-width: 850px; }
  .case-grid-three { grid-template-columns: repeat(2,1fr); }
  .digital-roles { grid-template-columns: repeat(2,1fr); }
  .approach-steps { grid-template-columns: repeat(3,1fr); }
  .problem-strip { grid-template-columns: repeat(3,1fr); }
  .problem-strip a:nth-child(3) { border-right: 0; }
  .problem-strip a:nth-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .problem-strip a:nth-child(4) { grid-column: 1/2; }
  .solution-grid { grid-template-columns: repeat(2,1fr); }
  .solution-card, .solution-card:nth-child(4), .solution-card:nth-child(5) { grid-column: span 1; }
  .solution-card:nth-child(5) { grid-column: span 2; }
  .a2a-flow { overflow-x: auto; grid-template-columns: repeat(5,18px 150px) 150px; }
  .governance-grid, .module-grid { grid-template-columns: repeat(2,1fr); }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-hero-image { max-width: 850px; }
  .surface-grid { grid-template-columns: repeat(2,1fr); }
  .surface-grid article:nth-child(2) { border-right: 0; }
  .surface-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .system-filter { grid-column: 1/-1; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; --section: 82px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; }
  .brand > small, .header-actions .header-cta { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 23px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: fixed; top: 65px; right: 0; bottom: 0; left: 0; display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 22px 20px 80px; overflow-y: auto; background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .nav-solutions { display: block; }
  .nav-link { min-height: 58px; padding: 0; border-bottom: 1px solid var(--ink); font-size: 20px; }
  .nav-link::after { display: none; }
  .nav-link small { margin-left: auto; font-size: 12px; }
  .mega-menu { position: static; display: block; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .mega-intro { display: none; }
  .mega-links { grid-template-columns: 1fr; }
  .mega-links a { padding: 13px 0; }
  .header-actions { position: absolute; right: 62px; height: 66px; }
  .home-hero { min-height: 0; padding-top: 65px; }
  .hero-title { font-size: clamp(42px, 11vw, 58px); }
  .dashboard-shell { grid-template-columns: 76px 1fr; }
  .dashboard-shell aside span { overflow: hidden; text-overflow: ellipsis; }
  .dashboard-main { padding: 16px; }
  .dash-work { grid-template-columns: 1fr; }
  .agent-feed { display: none; }
  .case-grid, .case-grid-three { grid-template-columns: 1fr; }
  .team-board-body { grid-template-columns: 140px 1fr; }
  .digital-roles { grid-template-columns: 1fr; }
  .team-flow { overflow-x: auto; grid-template-columns: 130px 20px 130px 20px 130px 20px 130px 20px 130px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .industry-card:last-child { border-bottom: 0; }
  .industry-title { margin-top: 80px; }
  .page-hero-grid, .split-section, .contact-section { grid-template-columns: 1fr; }
  .hero-note { border-top: 1px solid var(--ink); border-left: 0; padding: 26px 0 0; }
  .solution-matrix a { grid-template-columns: 48px 1fr 20px; }
  .solution-matrix em { display: none; }
  .case-outcome { grid-template-columns: 1fr; }
  .case-outcome article { min-height: 250px; padding: 25px 0; border-right: 0; border-bottom: 1px solid #47504b; }
  .case-outcome article + article { padding-left: 0; }
  .outcome-copy { margin-top: 80px; }
  .case-tools { grid-template-columns: 1fr; }
  .case-tools label { grid-row: auto; }
  .system-filter { grid-column: auto; }
  .landscape-flow { overflow-x: auto; grid-template-columns: 140px 24px 140px 24px 140px 24px 140px 24px 140px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .footer-main { flex-direction: column; gap: 50px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 580px) {
  .home-hero { gap: 58px; padding-bottom: 64px; }
  .hero-title { font-size: 42px; }
  .hero-title .copy-zh { font-size: .58em; }
  .hero-actions, .approach-actions, .form-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-scope { gap: 8px 14px; }
  .agent-dashboard { margin-right: -8px; margin-left: -8px; border-radius: 6px; }
  .dashboard-shell { grid-template-columns: 1fr; min-height: 0; }
  .dashboard-shell aside { display: none; }
  .dashboard-main { padding: 13px; }
  .dash-heading b { font-size: 17px; }
  .dash-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dash-metrics > div { padding: 10px 8px; }
  .dash-metrics b { font-size: 19px; }
  .dash-metrics small { display: none; }
  .dash-table > div { grid-template-columns: 1fr 52px; }
  .dash-table small { display: none; }
  .problem-strip { grid-template-columns: 1fr; }
  .problem-strip a { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .problem-strip a:nth-child(4) { grid-column: auto; }
  .problem-strip b { margin-top: 30px; }
  .section-head, .industry-heading { grid-template-columns: 42px 1fr; }
  .section-title { font-size: 38px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card, .solution-card:nth-child(5) { grid-column: span 1; min-height: 280px; }
  .case-title { font-size: 30px; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-steps li { min-height: 190px; }
  .approach-steps li > div { margin-top: 70px; }
  .page-hero, .case-detail-hero { padding-top: 34px; }
  .breadcrumb { margin-bottom: 70px; }
  .page-title { font-size: 42px; }
  .page-title .copy-zh { font-size: .56em; }
  .module-grid, .governance-grid { grid-template-columns: 1fr; }
  .problem-list li { grid-template-columns: 42px 1fr; padding: 17px 0; }
  .problem-list small { grid-column: 2; }
  .case-count b { font-size: 76px; }
  .case-gallery { grid-template-columns: 1fr; }
  .team-board-body { grid-template-columns: 1fr; }
  .team-board-body > aside { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .team-board-body > aside span { margin-bottom: 30px; }
  .team-board-head > b { display: none; }
  .approach-timeline li { grid-template-columns: 48px 1fr 10px; min-height: 160px; }
  .solution-form { grid-template-columns: 1fr; }
  .solution-form label { grid-column: 1; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .footer-links a { min-width: 0; }
  .landscape-visual img { aspect-ratio: 1.25/1; object-position: center; }
  .landscape-visual > span { align-items: flex-start; flex-direction: column; }
  .surface-grid { grid-template-columns: 1fr; }
  .surface-grid article { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .surface-grid article:last-child { border-bottom: 0; }
  .surface-grid h3 { margin-top: 38px; }
  .assistant-launch { right: 14px; bottom: 14px; }
  .assistant-panel { right: 10px; bottom: 70px; width: calc(100vw - 20px); max-height: calc(100vh - 84px); }
  .assistant-panel > footer { gap: 10px; }
  .assistant-panel > footer a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Mobile/coarse-pointer targets: expand only standalone controls and navigation links. */
@media (max-width: 580px), (hover: none) and (pointer: coarse) {
  .brand,
  .footer-brand,
  .section-link,
  .footer-contact a,
  .footer-links a,
  .s01-hero-actions .text-link,
  .s01-console__footer a,
  .ai-boundary-note a,
  .assistant-panel > footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .language-switcher button {
    min-width: 44px;
    height: 44px;
  }
  .section-link { padding-top: 6px; padding-bottom: 6px; }
  .footer-contact { gap: 0; }
  .footer-links a { width: 100%; padding-top: 8px; padding-bottom: 8px; }
}

/* STAR AI experience: warm editorial shell + precise operations surface. */
.home-page .home-hero {
  grid-template-columns: minmax(380px, .84fr) minmax(600px, 1.16fr);
  max-width: 1440px;
  gap: clamp(42px, 4.5vw, 78px);
}
.home-page .hero-copy { position: relative; z-index: 1; }
.home-page .hero-title { text-wrap: balance; }
.home-page .hero-lead { color: #3d454d; }
.home-page .hero-truth-note { display: grid; gap: 6px; max-width: 610px; margin: 20px 0 0; padding-left: 14px; border-left: 2px solid #a87931; color: #555e66; font-size: 12px; line-height: 1.5; }
.home-page .hero-truth-note strong { color: #765015; font: 9px/1.3 var(--mono); letter-spacing: .04em; }
.home-page .hero-truth-note > span { display: block; }
.home-page .hero-scope { color: #555e66; }

.ai-console.agent-dashboard,
.ai-console[data-ai-console] {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 88px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #313d49;
  border-radius: 18px;
  background: var(--console-bg);
  color: var(--console-text);
  box-shadow: 0 34px 90px rgba(14, 22, 30, .24), 0 1px 0 rgba(255,255,255,.07) inset;
  font-family: var(--sans);
}
.ai-console::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(102,178,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,178,255,.028) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}
.ai-console button { min-width: 44px; min-height: 44px; }
.ai-console button:focus-visible { outline: 2px solid var(--state-data); outline-offset: 2px; }

.ai-console__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--console-border);
  background: rgba(8,12,17,.94);
}
.ai-console__identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ai-console__identity i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--state-plan);
  box-shadow: 0 0 0 4px rgba(185,162,255,.11);
}
.ai-console__identity span { overflow: hidden; font: 12px/1.34 var(--mono); letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.ai-console__truth { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.ai-console__truth span {
  padding: 5px 7px;
  border: 1px solid #3a4652;
  border-radius: 999px;
  color: #cbd4dc;
  font: 12px/1.34 var(--mono);
  letter-spacing: .04em;
}
.ai-console__truth span:nth-child(2) { border-color: rgba(244,184,94,.55); color: var(--state-waiting); }

.ai-console__runbar {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-bottom: 1px solid var(--console-border);
  background: rgba(14,20,27,.92);
}
.ai-console__runbar > div { min-width: 0; padding: 12px 15px; border-right: 1px solid var(--console-border); }
.ai-console__runbar > div:last-child { border-right: 0; }
.ai-console__runbar small,
.ai-console__runbar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-console__runbar small { margin-bottom: 6px; color: var(--console-muted); font: 12px/1.34 var(--mono); letter-spacing: .08em; }
.ai-console__runbar b { color: #d9e1e8; font: 14px/1.5 var(--mono); }
.ai-console__runstate b { color: var(--state-plan); }
.ai-console[data-run-state="awaiting_approval"] .ai-console__runstate b { color: var(--state-waiting); }
.ai-console[data-run-state="completed"] .ai-console__runstate b { color: var(--state-success); }

.ai-console__rail {
  display: grid;
  grid-template-columns: minmax(58px,1fr) 13px minmax(58px,1fr) 13px minmax(58px,1fr) 13px minmax(58px,1fr) 13px minmax(58px,1fr);
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--console-border);
  background: rgba(8,12,17,.72);
}
.ai-console__rail > span {
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid #2d3945;
  border-radius: 7px;
  color: #c2ccd4;
  text-align: center;
  font: 14px/1.5 var(--mono);
  transition: border-color 220ms var(--ease-standard, ease), background 220ms var(--ease-standard, ease), color 220ms var(--ease-standard, ease);
}
.ai-console__rail > span small { display: block; margin-top: 5px; color: #73808b; font-size: 12px; line-height: 1.34; letter-spacing: .05em; }
.ai-console__rail > span.is-active { border-color: rgba(102,178,255,.72); background: rgba(102,178,255,.09); color: #fff; }
.ai-console__rail > span.is-active small { color: var(--state-data); }
.ai-console__rail > i { color: #52606c; text-align: center; font: normal 12px/1.34 var(--mono); }

.ai-console__body { display: grid; grid-template-columns: 168px minmax(0,1fr); min-height: 338px; }
.ai-console__timeline {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 0;
  margin: 0;
  padding: 12px 0;
  border-right: 1px solid var(--console-border);
  background: rgba(14,20,27,.7);
  list-style: none;
}
.ai-console__timeline li { position: relative; display: flex; min-width: 0; }
.ai-console__timeline li::after {
  position: absolute;
  top: 50%;
  bottom: -50%;
  left: 27px;
  width: 1px;
  background: #303b46;
  content: "";
}
.ai-console__timeline li:last-child::after { display: none; }
.ai-console__timeline button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 5px 12px 5px 14px;
  border: 0;
  background: transparent;
  color: #87939e;
  text-align: left;
  font: 12px/1.34 var(--mono);
}
.ai-console__timeline button:hover { color: var(--console-text); }
.ai-console__timeline button i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #3a4652;
  border-radius: 50%;
  background: var(--console-surface);
  font: normal 12px/1.34 var(--mono);
}
.ai-console__timeline li.is-complete button { color: #b9c3cc; }
.ai-console__timeline li.is-complete button i { border-color: rgba(85,217,138,.5); color: var(--state-success); }
.ai-console__timeline li.is-current button { color: #fff; }
.ai-console__timeline li.is-current button i { border-color: var(--state-plan); background: rgba(185,162,255,.13); color: var(--state-plan); }

.ai-console__detail {
  position: relative;
  min-width: 0;
  margin: 14px;
  padding: 22px 22px 96px;
  overflow: hidden;
  border: 1px solid var(--console-border);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(20,29,39,.98), rgba(12,18,25,.98));
}
.ai-console__detail::after {
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(102,178,255,.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ai-console[data-run-state="awaiting_approval"] .ai-console__detail { border-color: rgba(244,184,94,.52); }
.ai-console[data-run-state="completed"] .ai-console__detail { border-color: rgba(85,217,138,.44); }
.ai-console__eventline { display: flex; justify-content: space-between; gap: 14px; color: var(--console-muted); font: 12px/1.34 var(--mono); }
.ai-console__eventline span:first-child { color: var(--state-data); overflow-wrap: anywhere; }
.ai-console__kicker { margin: 48px 0 10px; color: var(--state-plan); font: 12px/1.34 var(--mono); letter-spacing: .08em; }
.ai-console__detail h2 { max-width: 530px; margin: 0; color: #f7fafc; font-size: clamp(22px, 2vw, 30px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.ai-console__summary { max-width: 570px; min-height: 42px; margin: 17px 0 0; color: #b8c3cc; font-size: 14px; line-height: 1.5; }
.ai-console__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.ai-console__meta span { padding: 6px 8px; border: 1px solid #35424e; border-radius: 999px; color: #aeb9c2; font: 12px/1.34 var(--mono); }
.ai-console__boundary { position: absolute; right: 20px; bottom: 18px; left: 20px; display: flex; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid #2c3742; color: #87949f; font: 14px/1.5 var(--mono); }
.ai-console__boundary > span:first-child { color: var(--state-waiting); }
.ai-console__static-story { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.ai-console__static-story li { min-width: 0; padding: 10px; border: 1px solid #35414c; border-radius: 7px; background: rgba(8,12,17,.34); }
.ai-console__static-story li:last-child { grid-column: 1/-1; }
.ai-console__static-story i,
.ai-console__static-story b,
.ai-console__static-story small,
.ai-console__static-story li > span { display: block; }
.ai-console__static-story i { color: var(--state-plan); font: normal 12px/1.34 var(--mono); }
.ai-console__static-story b { margin-top: 7px; color: #e9eef2; font-size: 14px; line-height: 1.5; }
.ai-console__static-story small,
.ai-console__static-story li > span { margin-top: 5px; color: #95a2ac; font-size: 14px; line-height: 1.5; }
.ai-console__static-story strong { color: #d9e1e8; font: inherit; overflow-wrap: anywhere; }

.ai-console__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 14px;
  border-top: 1px solid var(--console-border);
  background: rgba(8,12,17,.95);
}
.ai-console__footer > span { color: var(--console-muted); font: 12px/1.34 var(--mono); }
.ai-console__footer > div { display: flex; gap: 7px; }
.ai-console__footer button {
  padding: 0 13px;
  border: 1px solid #3a4652;
  border-radius: 7px;
  background: var(--console-surface);
  color: #e8edf1;
  font: 12px/1.34 var(--mono);
}
.ai-console__footer button:hover { border-color: var(--state-data); background: #162330; }

.ai-console__recovery {
  padding: 18px;
  border-top: 1px solid var(--console-border);
  background: linear-gradient(135deg, rgba(30,21,19,.97), rgba(13,19,25,.98));
}
.ai-console__recovery[hidden] { display: none; }
.ai-console__recovery > header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ai-console__recovery > header small,
.ai-console__recovery > header b { display: block; }
.ai-console__recovery > header small { color: var(--state-waiting); font: 12px/1.34 var(--mono); }
.ai-console__recovery > header b { margin-top: 8px; color: #f3f6f8; font: 14px/1.5 var(--mono); letter-spacing: .04em; }
.ai-console__recovery > header > span { padding: 6px 8px; border: 1px solid #6f5940; border-radius: 999px; color: #e6bd7e; font: 12px/1.34 var(--mono); }
.ai-console__recovery > p { max-width: 820px; margin: 15px 0 0; color: #b8c3cc; font-size: 14px; line-height: 1.5; }
.ai-console__recovery > ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ai-console__recovery > ol > li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; align-items: center; min-width: 0; padding: 11px; border: 1px solid #493d33; border-radius: 8px; background: rgba(8,12,17,.42); }
.ai-console__recovery > ol > li i { color: var(--state-waiting); font: normal 12px/1.34 var(--mono); }
.ai-console__recovery > ol > li span { color: #dbe2e7; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-console__footer > details.ai-console__recovery { flex: 1 0 100%; width: 100%; margin-top: 7px; box-sizing: border-box; }
.ai-console__recovery > summary { display: flex; align-items: center; min-height: 44px; color: #f3f6f8; font: 12px/1.34 var(--mono); cursor: pointer; }
.ai-console__recovery-content { padding-top: 14px; border-top: 1px solid #493d33; }
.ai-console__recovery-truth { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-console__recovery-truth span { padding: 5px 7px; border: 1px solid #6f5940; border-radius: 999px; color: #e6bd7e; font: 12px/1.34 var(--mono); }
.ai-console__recovery-kicker { margin: 16px 0 0; color: var(--state-waiting); font: 12px/1.34 var(--mono); }
.ai-console__recovery-content h3 { margin: 8px 0 0; color: #f3f6f8; font-size: 18px; line-height: 1.35; }
.ai-console__recovery-content > p { margin: 10px 0 0; color: #b8c3cc; font-size: 14px; line-height: 1.5; }
.ai-console__recovery-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ai-console__recovery-steps li { min-width: 0; padding: 11px; border: 1px solid #493d33; border-radius: 8px; background: rgba(8,12,17,.42); }
.ai-console__recovery-steps li:last-child { grid-column: 1/-1; }
.ai-console__recovery-steps b,
.ai-console__recovery-steps span { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-console__recovery-steps b { color: #f0d1a1; }
.ai-console__recovery-steps span { margin-top: 6px; color: #b8c3cc; }
.ai-console__recovery-content .ai-console__recovery-boundary { padding-top: 12px; border-top: 1px solid #493d33; color: #aeb8c0; }

/* AI Copilot remains a local, read-only public-index demo. */
.assistant-panel {
  grid-template-rows: auto auto minmax(160px,1fr) auto auto auto;
  width: min(520px, calc(100vw - 40px));
  border-color: #2a3541;
  border-radius: 16px;
  background: #f8f7f2;
  box-shadow: 0 34px 100px rgba(9,14,20,.28);
}
.assistant-panel > header { min-height: 72px; padding: 0 18px; background: var(--console-bg); }
.assistant-panel > header b { color: #f2f6f9; font-size: 11px; letter-spacing: .07em; }
.assistant-panel > header small { color: #96a2ad; font-size: 9px; }
.assistant-panel > header button { min-width: 44px; min-height: 44px; border-color: #46525e; }
.assistant-truthbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid #d1cec5; background: #ece9df; }
.assistant-truthbar span { padding: 5px 7px; border: 1px solid #9f9c94; border-radius: 999px; color: #454b50; font: 8px/1 var(--mono); }
.assistant-truthbar span:first-child { border-color: #a87931; color: #765015; }
.assistant-messages { gap: 12px; padding: 18px; }
.assistant-message { max-width: 94%; padding: 14px; border-radius: 11px; font-size: 13px; line-height: 1.55; }
.assistant-message.is-agent { border-color: #c8cbd0; background: #f1f3f4; }
.assistant-message.is-user { border-color: var(--console-bg); background: var(--console-bg); }
.assistant-prompts { gap: 7px; padding: 0 18px 14px; }
.assistant-prompts button { min-height: 38px; padding: 8px 11px; border-color: #8c9297; background: #f8f7f2; font-size: 9px; }
.assistant-form { padding: 14px 18px; border-color: #c9c6bd; background: #f1efe8; }
.assistant-form input { height: 46px; border-color: #747a7e; border-radius: 7px; font-size: 13px; }
.assistant-form button { min-width: 76px; min-height: 46px; border-radius: 7px; }
.assistant-panel > footer { padding: 13px 18px; border-color: #c9c6bd; font-size: 9px; }
.assistant-brief { display: grid; gap: 12px; }
.assistant-brief__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #c7cbd0; }
.assistant-brief__head span { font: 9px var(--mono); letter-spacing: .05em; }
.assistant-brief__head i { color: #7a5520; font: normal 8px var(--mono); white-space: nowrap; }
.assistant-phase-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.assistant-phase-rail span { padding: 7px 5px; border: 1px solid #c2c6c9; border-radius: 6px; color: #777f85; text-align: center; font: 7px/1.35 var(--mono); }
.assistant-phase-rail span.is-complete { border-color: #91af9d; color: #47745b; }
.assistant-phase-rail span[aria-current="step"] { border-color: #8773b9; background: #eeeafb; color: #594486; }
.assistant-scope { display: grid; grid-template-columns: 120px 1fr; gap: 8px; margin: 0; }
.assistant-scope dt { color: #737b81; font: 8px var(--mono); }
.assistant-scope dd { margin: 0; font: 9px var(--mono); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.assistant-plan-summary { padding: 13px; border: 1px solid #c3c8cd; border-radius: 8px; background: #fff; }
.assistant-plan-summary b { font: 9px var(--mono); color: #564482; letter-spacing: .04em; }
.assistant-plan-summary p { margin: 9px 0 0; color: #40484f; font-size: 12px; line-height: 1.55; }
.assistant-next-context { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.assistant-next-context li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; }
.assistant-next-context i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #aeb4b9; border-radius: 50%; font: normal 8px var(--mono); }
.assistant-next-context span { font-size: 11px; }
.assistant-results { margin-top: 0; }
.assistant-results a { min-height: 48px; border-radius: 7px; }
.assistant-results b { font-size: 11px; }
.assistant-artifact { padding: 13px; border: 1px solid #aeb5ba; border-radius: 9px; background: #fff; }
.assistant-artifact > div:first-child { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #c7ccd0; }
.assistant-artifact > div:first-child b { color: #3b444a; font: 9px/1.35 var(--mono); }
.assistant-artifact > div:first-child i { color: #72569d; font: normal 7px/1.35 var(--mono); overflow-wrap: anywhere; }
.assistant-artifact dl { display: grid; grid-template-columns: 92px 1fr; gap: 7px 10px; margin: 12px 0; }
.assistant-artifact dt { color: #747d83; font: 7px var(--mono); }
.assistant-artifact dd { margin: 0; color: #394147; font: 8px var(--mono); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.assistant-artifact__workflow { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.assistant-artifact__workflow li { display: grid; grid-template-columns: 24px 1fr; gap: 7px; align-items: center; }
.assistant-artifact__workflow i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #b7bdc1; border-radius: 50%; color: #5d6870; font: normal 7px var(--mono); }
.assistant-artifact__workflow span { color: #4e575e; font-size: 9px; line-height: 1.35; }
.assistant-artifact__validation { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #c7ccd0; }
.assistant-artifact__validation span { padding: 5px 6px; border: 1px solid #8eb49d; border-radius: 999px; color: #3d704f; font: 7px/1 var(--mono); }
.assistant-artifact__validation[data-validation-state="not-evaluated"] span { border-color: #a5a9ac; color: #596168; }
.assistant-safety { margin: 0; padding-top: 10px; border-top: 1px solid #c8ccd0; color: #687178; font: 8px/1.55 var(--mono); }
.assistant-launch { min-height: 50px; border-color: #28333d; background: var(--console-bg); box-shadow: 0 16px 44px rgba(8,12,17,.24); font-size: 10px; }
.assistant-launch i { background: var(--state-plan); box-shadow: 0 0 0 4px rgba(185,162,255,.15); }
.assistant-launch[hidden] { display: none !important; }
body.ai-console-in-view .assistant-launch { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(10px); }
body.ai-console-in-view .assistant-launch:focus,
body.ai-console-in-view .assistant-launch[data-assistant-restore-focus="true"] { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
[data-assistant-inert="true"] { pointer-events: none; user-select: none; }

/* Truth-safe capability gallery used by the homepage SSR enhancement. */
.ai-lab-section { max-width: none; padding-right: max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); padding-left: max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); border-top: 1px solid var(--line); background: #e8e4da; }
.ai-lab-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: start; margin-bottom: 24px; }
.ai-lab-intro > p { max-width: 720px; margin: 0; color: #505960; font-size: 13px; line-height: 1.6; }
.ai-lab-truth { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.ai-lab-truth span { padding: 6px 8px; border: 1px solid #929796; border-radius: 999px; color: #4d555b; font: 8px/1 var(--mono); letter-spacing: .03em; }
.ai-lab-truth span:nth-child(2) { border-color: #9a6c2b; color: #765015; }
.ai-lab-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.ai-lab-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 310px; padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(251,250,246,.68); }
.ai-lab-card::before { width: 36px; height: 2px; background: var(--state-plan); content: ""; }
.ai-lab-card > span,
.ai-lab-card > i { margin-top: 18px; color: #616971; font: normal 9px var(--mono); letter-spacing: .04em; }
.ai-lab-card h3 { margin: auto 0 12px; font-size: clamp(21px, 2vw, 30px); line-height: 1.04; letter-spacing: -.04em; }
.ai-lab-card p { margin: 0; color: #505860; font-size: 13px; line-height: 1.55; }
.ai-lab-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.ai-lab-card__meta span { padding: 6px 7px; border: 1px solid #9ca19f; border-radius: 999px; font: 8px/1 var(--mono); }
.ai-lab-card__meta span:first-child { border-color: #9a6c2b; color: #765015; }
.ai-lab-card button,
.ai-lab-card [data-assistant-preset] { min-height: 44px; margin-top: 18px; padding: 0 13px; border: 1px solid var(--ink); background: transparent; font: 9px var(--mono); font-weight: 700; }
.ai-lab-card button:hover,
.ai-lab-card [data-assistant-preset]:hover { background: var(--ink); color: #fff; }
.ai-boundary-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding: 15px 17px; border: 1px solid #aaa79f; background: rgba(251,250,246,.58); color: #4b535a; font: 10px/1.55 var(--mono); }
.ai-boundary-note::before { flex: 0 0 auto; color: #9a6c2b; content: "◇"; }
.ai-boundary-note strong { flex: 0 0 auto; color: #765015; }
.ai-boundary-note a { margin-left: auto; border-bottom: 1px solid currentColor; color: #20262b; }

.solution-detail-page .solution-contract { border-color: var(--console-border); border-radius: 12px; background: var(--console-bg); color: var(--console-text); box-shadow: 0 24px 70px rgba(10,16,22,.15); }
.solution-detail-page .solution-contract > span { border-color: var(--console-border); color: var(--state-plan); }
.solution-detail-page .solution-contract small { color: var(--console-muted); }
.solution-detail-page .solution-contract i { color: var(--state-data); }

/* S.01 contract explorer: all content is SSR; JavaScript only adds tabs. */
.s01-ai-page { background: var(--paper); }
.s01-ai-page [data-s01-scenarios] { min-width: 0; }
.s01-truthbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 13px 15px;
  border: 1px solid #aaa79f;
  background: rgba(251,250,246,.62);
}
.s01-truthbar span {
  padding: 6px 8px;
  border: 1px solid #979b9e;
  border-radius: 999px;
  color: #4f575e;
  font: 12px/1.34 var(--mono);
  letter-spacing: .04em;
}
.s01-truthbar span:first-child { border-color: #9a6c2b; color: #765015; }

.s01-knowledge-grid,
.s01-comparison-grid,
.s01-contract-grid,
.s01-control-grid,
.s01-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.s01-knowledge-grid > *,
.s01-comparison-grid > *,
.s01-contract-grid > *,
.s01-control-grid > *,
.s01-evidence-grid > * {
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(251,250,246,.55);
}
.s01-knowledge-grid h3,
.s01-comparison-grid h3,
.s01-contract-grid h3,
.s01-control-grid h3,
.s01-evidence-grid h3 { margin: 30px 0 10px; font-size: clamp(17px,1.6vw,24px); line-height: 1.08; letter-spacing: -.03em; }
.s01-knowledge-grid p,
.s01-comparison-grid p,
.s01-contract-grid p,
.s01-control-grid p,
.s01-evidence-grid p { margin: 0; color: #555e66; font-size: 12px; line-height: 1.55; }
.s01-knowledge-grid i,
.s01-comparison-grid i,
.s01-contract-grid i,
.s01-control-grid i,
.s01-evidence-grid i { color: #6b7278; font: normal 8px var(--mono); }

.s01-workflow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--ink);
  list-style: none;
}
.s01-workflow > * { position: relative; min-width: 0; min-height: 152px; padding: 16px 14px; border-right: 1px solid var(--ink); }
.s01-workflow > *:last-child { border-right: 0; }
.s01-workflow > *::after { position: absolute; right: -6px; top: 26px; z-index: 1; color: #6e767d; content: "→"; font: 10px var(--mono); }
.s01-workflow > *:last-child::after { display: none; }
.s01-workflow i,
.s01-workflow b,
.s01-workflow small { display: block; }
.s01-workflow i { color: #6b7278; font: normal 8px var(--mono); }
.s01-workflow b { margin-top: 45px; font-size: 13px; }
.s01-workflow small { margin-top: 8px; color: #606970; font-size: 10px; line-height: 1.45; }

.s01-scenario-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--console-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--console-bg);
  list-style: none;
}
.s01-scenario-tabs > * { min-width: 0; border-right: 1px solid var(--console-border); }
.s01-scenario-tabs > *:last-child { border-right: 0; }
.s01-scenario-tabs [data-s01-scenario-tab] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 9px 10px;
  color: #8e9aa5;
  text-align: center;
  font: 8px/1.35 var(--mono);
  letter-spacing: .025em;
}
.s01-scenario-tabs [data-s01-scenario-tab]:hover { background: #101821; color: #e8eef3; }
.s01-scenario-tabs [data-s01-scenario-tab][aria-selected="true"] { background: #17212c; color: var(--console-text); box-shadow: inset 0 -2px var(--state-plan); }
.s01-scenario-tabs [data-s01-scenario-tab]:focus-visible { position: relative; z-index: 2; outline: 2px solid var(--state-data); outline-offset: -3px; }

.s01-scenario-panel {
  position: relative;
  min-width: 0;
  margin-top: 14px;
  padding: clamp(18px,2.5vw,30px);
  overflow: hidden;
  border: 1px solid var(--console-border);
  border-radius: 14px;
  background:
    linear-gradient(rgba(102,178,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,178,255,.024) 1px, transparent 1px),
    var(--console-bg);
  background-size: 34px 34px;
  color: var(--console-text);
  box-shadow: 0 24px 70px rgba(10,16,22,.15);
}
.s01-scenario-panel::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--state-success); content: ""; }
.s01-scenario-panel[data-run-state="rejected"]::before,
.s01-scenario-panel[data-run-state="failed"]::before { background: var(--state-error); }
.s01-scenario-panel[data-run-state="timed_out"]::before,
.s01-scenario-panel[data-run-state="cancelled"]::before { background: var(--state-waiting); }
.s01-scenario-panel > header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 24px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--console-border); }
.s01-scenario-panel > header h3 { margin: 0; color: #f2f6f9; font-size: clamp(22px,2.6vw,36px); line-height: 1.05; letter-spacing: -.04em; }
.s01-scenario-panel > header p { grid-column: 1; max-width: 760px; margin: 5px 0 0; color: var(--console-muted); font-size: 12px; line-height: 1.55; }
.s01-scenario-panel > header small,
.s01-scenario-panel > header > span { color: var(--state-plan); font: 8px/1.4 var(--mono); text-align: right; }
.s01-scenario-panel dl { margin: 0; }
.s01-scenario-panel dt { color: #73808b; font: 8px var(--mono); }
.s01-scenario-panel dd { margin: 6px 0 0; color: #e0e7ec; font-size: 11px; overflow-wrap: anywhere; }

.s01-event-list { display: grid; gap: 0; margin: 20px 0 0; padding: 0; border-top: 1px solid #34404b; list-style: none; }
.s01-event-list > * { display: grid; grid-template-columns: 54px minmax(150px,.7fr) minmax(0,1.3fr); gap: 12px; min-width: 0; padding: 12px 5px; border-bottom: 1px solid #2b3641; }
.s01-event-list i { color: var(--state-data); font: normal 8px var(--mono); }
.s01-event-list b { color: #dbe3e9; font: 9px var(--mono); overflow-wrap: anywhere; }
.s01-event-list span,
.s01-event-list small { color: #8f9ca6; font-size: 10px; line-height: 1.45; }

.s01-scenario-panel .s01-contract-grid,
.s01-scenario-panel .s01-control-grid,
.s01-scenario-panel .s01-evidence-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 20px; border-color: #36424d; }
.s01-scenario-panel .s01-contract-grid > *,
.s01-scenario-panel .s01-control-grid > *,
.s01-scenario-panel .s01-evidence-grid > * { min-height: 150px; border-color: #36424d; background: rgba(18,27,36,.88); }
.s01-scenario-panel .s01-contract-grid h3,
.s01-scenario-panel .s01-control-grid h3,
.s01-scenario-panel .s01-evidence-grid h3 { color: #edf2f5; }
.s01-scenario-panel .s01-contract-grid p,
.s01-scenario-panel .s01-control-grid p,
.s01-scenario-panel .s01-evidence-grid p { color: #96a2ad; }
.s01-scenario-panel [data-external-effects="none"],
.s01-scenario-panel [data-writeback-count="0"] { color: var(--state-success); }
.s01-scenario-panel [data-retryable="false"] { color: var(--state-waiting); }
.s01-scenario-panel[hidden] { display: none; }

.s01-hero-grid { align-items: start; }
.s01-hero-copy,
.s01-console { min-width: 0; }
.s01-hero-boundary { max-width: 620px; padding-left: 14px; border-left: 2px solid #a87931; color: #555e66; font-size: 12px; line-height: 1.55; }
.s01-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.s01-hero-method { margin-top: 32px; color: #626b72; font: 9px/1.5 var(--mono); overflow-wrap: anywhere; }
.s01-console { display: block; padding: 0; overflow: hidden; scroll-margin-top: 88px; }
.s01-console__header { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 16px; border-bottom: 1px solid var(--console-border); }
.s01-console__header > div:first-child > span { color: var(--state-plan); font: 12px/1.34 var(--mono); }
.s01-console__header h2 { margin: 8px 0 0; color: #f2f6f9; font-size: 18px; }
.s01-console .s01-truthbar { justify-content: flex-end; padding: 0; border: 0; background: transparent; }
.s01-console .s01-truthbar span { border-color: #45515d; color: #aeb9c2; }
.s01-console__runbar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--console-border); background: #0d141b; }
.s01-console__runbar > div { min-width: 0; padding: 12px 14px; border-right: 1px solid var(--console-border); }
.s01-console__runbar > div:last-child { border-right: 0; }
.s01-console__runbar small,
.s01-console__runbar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s01-console__runbar small { color: #778590; font: 12px/1.34 var(--mono); }
.s01-console__runbar b { margin-top: 6px; color: #d6dee5; font: 14px/1.5 var(--mono); }
.s01-system-rail { display: grid; grid-template-columns: minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr); gap: 5px; align-items: center; padding: 14px; border-bottom: 1px solid var(--console-border); }
.s01-system-rail > span { min-width: 0; padding: 9px 5px; border: 1px solid #34404b; border-radius: 7px; text-align: center; font: 14px/1.5 var(--mono); }
.s01-system-rail small { display: block; margin-top: 5px; color: #778590; font-size: 12px; line-height: 1.34; }
.s01-system-rail i { color: #63717d; text-align: center; font: normal 12px/1.34 var(--mono); }
.s01-console__story { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.s01-console__story li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; min-width: 0; min-height: 126px; padding: 15px 10px; border-right: 1px solid var(--console-border); border-bottom: 1px solid var(--console-border); }
.s01-console__story li:nth-child(even) { border-right: 0; }
.s01-console__story li:last-child { grid-column: 1/-1; border-right: 0; border-bottom: 0; }
.s01-console__story i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #485560; border-radius: 50%; color: var(--state-plan); font: normal 12px/1.34 var(--mono); }
.s01-console__story b,
.s01-console__story small { display: block; overflow-wrap: anywhere; }
.s01-console__story b { color: #dbe3e9; font-size: 14px; line-height: 1.5; }
.s01-console__story small { margin-top: 14px; color: #84919b; font-size: 14px; line-height: 1.5; }
.s01-console__footer { display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--console-border); color: #8d99a3; font: 12px/1.34 var(--mono); }
.s01-console__footer a { color: #dde5eb; }

.s01-comparison-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.s01-layer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 24px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.s01-layer-grid > * { min-width: 0; padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.s01-workflow { display: block; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--console-border); border-radius: 14px; background: var(--console-bg); color: var(--console-text); }
.s01-workflow > header { display: flex; justify-content: space-between; gap: 18px; align-items: start; min-height: 0; padding: 18px; border-right: 0; border-bottom: 1px solid var(--console-border); }
.s01-workflow > header::after { display: none; }
.s01-workflow > header h3 { margin: 8px 0 0; font-size: clamp(20px,2.4vw,32px); }
.s01-workflow > header > div:first-child > span { color: var(--state-plan); font: 8px var(--mono); }
.s01-workflow .s01-truthbar { padding: 0; border: 0; background: transparent; }
.s01-workflow-steps { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.s01-workflow-steps li { min-width: 0; min-height: 150px; padding: 16px 12px; border-right: 1px solid var(--console-border); }
.s01-workflow-steps li:last-child { border-right: 0; }
.s01-workflow-steps i,
.s01-workflow-steps b,
.s01-workflow-steps small { display: block; }
.s01-workflow-steps i { color: var(--state-data); font: normal 8px var(--mono); }
.s01-workflow-steps b { margin-top: 40px; font-size: 11px; }
.s01-workflow-steps small { margin-top: 8px; color: #84919b; font-size: 8px; line-height: 1.45; overflow-wrap: anywhere; }

.s01-scenario-panel > summary { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 2px 0 18px; border-bottom: 1px solid var(--console-border); cursor: pointer; list-style: none; }
.s01-scenario-panel > summary::-webkit-details-marker { display: none; }
.s01-scenario-panel > summary > span { color: var(--state-data); font: 9px var(--mono); }
.s01-scenario-panel > summary b,
.s01-scenario-panel > summary small { display: block; }
.s01-scenario-panel > summary b { color: #edf2f5; font-size: 16px; }
.s01-scenario-panel > summary small { margin-top: 6px; color: #88959f; font: 8px/1.45 var(--mono); overflow-wrap: anywhere; }
.s01-scenario-panel > summary i { color: var(--state-plan); font: normal 8px var(--mono); }
.s01-scenario-content { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(210px,.5fr); gap: 20px; }
.s01-scenario-content > aside { margin-top: 20px; padding: 16px; border: 1px solid #34404b; border-radius: 9px; background: #111922; }
.s01-scenario-content > aside dl > div { padding: 10px 0; border-bottom: 1px solid #2d3944; }
.s01-scenario-content > aside dl > div:last-child { border-bottom: 0; }
.s01-event-list > * { grid-template-columns: minmax(140px,.7fr) minmax(0,1.3fr); }
.s01-event-list code { color: var(--state-data); font: 9px var(--mono); overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .home-page .home-hero { grid-template-columns: 1fr; max-width: 1000px; }
  .home-page .hero-copy { max-width: 780px; }
  .ai-console { width: 100%; }
  .s01-knowledge-grid,
  .s01-comparison-grid,
  .s01-contract-grid,
  .s01-control-grid,
  .s01-evidence-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .ai-console__body { grid-template-columns: 1fr; min-height: 0; }
  .ai-console__timeline { grid-template-columns: repeat(7, minmax(0,1fr)); padding: 8px; border-right: 0; border-bottom: 1px solid var(--console-border); }
  .ai-console__timeline li::after { top: 21px; right: -50%; bottom: auto; left: 50%; width: auto; height: 1px; }
  .ai-console__timeline button { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 5px; padding: 5px 2px; text-align: center; }
  .ai-console__timeline button i { width: 26px; height: 26px; }
  .ai-console__timeline button span { font-size: 12px; line-height: 1.34; }
  .ai-console__detail { min-height: 318px; }
  .ai-console__recovery > ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ai-console__recovery > ol > li:last-child { grid-column: 1/-1; }
  body.assistant-open { overflow: hidden; }
  .assistant-panel { inset: 0; width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .ai-lab-intro { grid-template-columns: 1fr; }
  .ai-lab-truth { justify-content: flex-start; }
  .ai-lab-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ai-boundary-note { flex-direction: column; }
  .ai-boundary-note a { margin-left: 0; }
  .s01-workflow { grid-template-columns: 1fr; }
  .s01-hero-grid { grid-template-columns: 1fr; }
  .s01-workflow > header { min-height: 0; border-right: 0; border-bottom: 1px solid var(--console-border); }
  .s01-workflow > header::after { display: none; }
  .s01-workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-workflow-steps li { border-bottom: 1px solid var(--console-border); }
  .s01-layer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-scenario-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-scenario-tabs > * { border-bottom: 1px solid var(--console-border); }
  .s01-scenario-tabs > *:nth-child(even) { border-right: 0; }
  .s01-scenario-tabs > *:last-child { grid-column: 1/-1; border-bottom: 0; }
  .s01-event-list > * { grid-template-columns: 48px minmax(0,1fr); }
  .s01-event-list span,
  .s01-event-list small { grid-column: 2; }
  .s01-scenario-panel .s01-contract-grid,
  .s01-scenario-panel .s01-control-grid,
  .s01-scenario-panel .s01-evidence-grid { grid-template-columns: 1fr; }
  .s01-scenario-content { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .home-page .home-hero { padding-top: 54px; }
  .ai-console.agent-dashboard { margin-right: 0; margin-left: 0; border-radius: 14px; }
  .ai-console__header { align-items: flex-start; flex-direction: column; gap: 10px; min-height: 0; padding: 14px; }
  .ai-console__truth { justify-content: flex-start; }
  .ai-console__identity span,
  .ai-console__truth span { font-size: 12px; }
  .ai-console__runbar { grid-template-columns: 1.2fr 1fr; }
  .ai-console__runbar > div { padding: 10px; }
  .ai-console__runbar small { font-size: 12px; }
  .ai-console__runbar b { font-size: 14px; }
  .ai-console__runbar > div:nth-child(2) { border-right: 0; }
  .ai-console__playback { grid-column: 1/-1; border-top: 1px solid var(--console-border); }
  .ai-console__rail { grid-template-columns: minmax(45px,1fr) 8px minmax(45px,1fr) 8px minmax(45px,1fr) 8px minmax(45px,1fr) 8px minmax(45px,1fr); gap: 2px; padding: 10px 8px; }
  .ai-console__rail > span { padding: 8px 3px; font-size: 14px; }
  .ai-console__rail > span small { display: none; }
  .ai-console__rail > i { font-size: 12px; }
  .ai-console__timeline button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .ai-console__timeline button,
  .ai-console__timeline button i { font-size: 12px; }
  .ai-console__detail { min-height: 370px; margin: 10px; padding: 18px 18px 104px; }
  .ai-console__eventline,
  .ai-console__kicker { font-size: 12px; }
  .ai-console__kicker { margin-top: 42px; }
  .ai-console__detail h2 { font-size: 23px; }
  .ai-console__summary { min-height: 62px; font-size: 14px; }
  .ai-console__meta span { font-size: 12px; }
  .ai-console__boundary { right: 18px; bottom: 16px; left: 18px; font-size: 14px; }
  .ai-console__static-story { grid-template-columns: 1fr; padding-bottom: 54px; }
  .ai-console__static-story li:last-child { grid-column: auto; }
  .ai-console__static-story b { font-size: 14px; }
  .ai-console__static-story small,
  .ai-console__static-story li > span { font-size: 14px; }
  .ai-console__footer { align-items: flex-start; flex-direction: column; padding: 10px; }
  .ai-console__footer > span { font-size: 12px; }
  .ai-console__footer > div { width: 100%; }
  .ai-console__footer > div { flex-wrap: wrap; }
  .ai-console__footer button { flex: 1; font-size: 12px; }
  .ai-console__recovery { padding: 16px 14px; }
  .ai-console__recovery > header { flex-direction: column; }
  .ai-console__recovery > ol,
  .ai-console__recovery-steps { grid-template-columns: 1fr; }
  .ai-console__recovery > ol > li:last-child,
  .ai-console__recovery-steps li:last-child { grid-column: auto; }
  .assistant-panel > header { min-height: 68px; }
  .assistant-panel > header b,
  .assistant-panel > header small,
  .assistant-truthbar span,
  .assistant-brief__head span,
  .assistant-brief__head i,
  .assistant-phase-rail span,
  .assistant-scope dt,
  .assistant-scope dd,
  .assistant-plan-summary b,
  .assistant-safety,
  .assistant-artifact > div:first-child b,
  .assistant-artifact > div:first-child i,
  .assistant-artifact dt,
  .assistant-artifact dd,
  .assistant-artifact__validation span { font-size: 12px; }
  .assistant-messages { padding: 14px; }
  .assistant-message { max-width: 96%; font-size: 14px; }
  .assistant-prompts { flex-wrap: wrap; padding-right: 14px; padding-left: 14px; overflow-x: visible; }
  .assistant-prompts button { flex: 1 1 calc(50% - 4px); min-width: 0; min-height: 44px; font-size: 12px; white-space: normal; }
  .assistant-form { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .assistant-form input { font-size: 16px; }
  .assistant-scope { grid-template-columns: 1fr; }
  .assistant-scope dd { text-align: left; }
  .assistant-artifact > div:first-child { flex-direction: column; }
  .assistant-artifact dl { grid-template-columns: 1fr; }
  .assistant-artifact dd { text-align: left; }
  .assistant-next-context span,
  .assistant-results b,
  .assistant-artifact__workflow span { font-size: 14px; }
  .assistant-next-context i,
  .assistant-artifact__workflow i { font-size: 12px; }
  .ai-lab-grid { grid-template-columns: 1fr; }
  .ai-lab-card { min-height: 270px; }
  .ai-lab-truth span,
  .ai-lab-card__meta span,
  .ai-lab-card button,
  .ai-lab-card [data-assistant-preset] { font-size: 12px; }
  .ai-lab-intro > p,
  .ai-lab-card p,
  .ai-boundary-note { font-size: 14px; }
  .s01-knowledge-grid,
  .s01-comparison-grid,
  .s01-contract-grid,
  .s01-control-grid,
  .s01-evidence-grid { grid-template-columns: 1fr; }
  .s01-layer-grid { grid-template-columns: 1fr; }
  .s01-knowledge-grid > *,
  .s01-comparison-grid > *,
  .s01-contract-grid > *,
  .s01-control-grid > *,
  .s01-evidence-grid > * { min-height: 160px; }
  .s01-scenario-tabs { grid-template-columns: 1fr; }
  .s01-scenario-tabs > * { border-right: 0; }
  .s01-scenario-tabs > *:last-child { grid-column: auto; }
  .s01-scenario-panel { padding: 18px 15px; }
  .s01-scenario-panel > header { grid-template-columns: 1fr; }
  .s01-scenario-panel > header p,
  .s01-scenario-panel > header small,
  .s01-scenario-panel > header > span { grid-column: 1; text-align: left; }
  .s01-event-list > * { grid-template-columns: 1fr; }
  .s01-event-list span,
  .s01-event-list small { grid-column: 1; }
  .s01-hero-copy { width: 100%; }
  .s01-hero-boundary,
  .s01-section-intro { font-size: 14px; }
  .s01-hero-actions { align-items: stretch; flex-direction: column; }
  .s01-hero-actions .button { width: 100%; }
  .s01-hero-method { font-size: 12px; }
  .s01-console__header { flex-direction: column; }
  .s01-console__header > div:first-child > span,
  .s01-console__runbar small { font-size: 12px; }
  .s01-console__runbar b { font-size: 14px; }
  .s01-console__header h2 { font-size: 22px; }
  .s01-console .s01-truthbar { justify-content: flex-start; }
  .s01-console__runbar { grid-template-columns: 1fr 1fr; }
  .s01-console__runbar > div:nth-child(2) { border-right: 0; }
  .s01-console__runbar > div:last-child { grid-column: 1/-1; border-top: 1px solid var(--console-border); }
  .s01-system-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s01-system-rail > i { display: none; }
  .s01-system-rail > span { font-size: 14px; }
  .s01-system-rail small { font-size: 12px; }
  .s01-console__story { grid-template-columns: 1fr; }
  .s01-console__story li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--console-border); }
  .s01-console__story li:last-child { grid-column: auto; border-bottom: 0; }
  .s01-console__story i { font-size: 12px; }
  .s01-console__story b { font-size: 14px; }
  .s01-console__story small { margin-top: 6px; font-size: 14px; }
  .s01-console__footer { align-items: flex-start; flex-direction: column; font-size: 12px; }
  .s01-console__footer a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
  .s01-workflow > header { align-items: flex-start; flex-direction: column; }
  .s01-workflow > header > div:first-child > span,
  .s01-workflow-steps i { font-size: 12px; }
  .s01-workflow-steps { grid-template-columns: 1fr; }
  .s01-workflow-steps li { min-height: 0; border-right: 0; }
  .s01-workflow-steps b { margin-top: 18px; font-size: 14px; }
  .s01-workflow-steps small { font-size: 14px; }
  .s01-scenario-panel > summary { grid-template-columns: 28px minmax(0,1fr); }
  .s01-scenario-panel > summary > i { grid-column: 2; }
  .s01-scenario-panel > summary > span,
  .s01-scenario-panel > summary small,
  .s01-scenario-panel > summary i,
  .s01-event-list code { font-size: 12px; }
  .s01-scenario-panel > summary b { font-size: 14px; }
  .s01-scenario-content > aside { font-size: 14px; }
  .s01-truthbar span,
  .s01-scenario-tabs [data-s01-scenario-tab],
  .s01-scenario-panel > header small,
  .s01-scenario-panel > header > span,
  .s01-scenario-panel dt,
  .s01-event-list i,
  .s01-event-list b { font-size: 12px; }
  .s01-scenario-panel > header p,
  .s01-scenario-panel dd,
  .s01-event-list span,
  .s01-event-list small,
  .s01-knowledge-grid p,
  .s01-comparison-grid p,
  .s01-contract-grid p,
  .s01-control-grid p,
  .s01-evidence-grid p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-console::before { display: none; }
  .ai-console__rail > span { transition: none; }
}

@media (forced-colors: active) {
  .ai-console,
  .ai-console__detail,
  .ai-console__timeline button i,
  .assistant-panel { border: 1px solid CanvasText; }
  .ai-console__identity i,
  .assistant-launch i { forced-color-adjust: none; }
}

:root {
  color-scheme: light;
  --evidence-bg: #edf0ec;
  --evidence-surface: #f9faf7;
  --evidence-ink: #142226;
  --evidence-muted: #47585c;
  --evidence-line: #aab5b2;
  --evidence-steel: #426d78;
  --evidence-steel-dark: #315760;
  --evidence-signal: #9a321d;
  --evidence-amber: #7b5412;
  --evidence-mint: #cddfd7;
  --evidence-error: #8a2925;
  --evidence-mono: "Cascadia Mono", Consolas, monospace;
  --evidence-display: "Bahnschrift Condensed", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --evidence-body: "Segoe UI", "Microsoft YaHei", sans-serif;
  --evidence-max: 1340px;
  --evidence-pad: clamp(16px, 3vw, 48px);
}

* { box-sizing: border-box; }
html { background: var(--evidence-bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--evidence-bg);
  color: var(--evidence-ink);
  font: 16px/1.62 var(--evidence-body);
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(20,34,38,.045) 1px, transparent 1px);
  background-size: 100% 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 42vh);
  z-index: -1;
}
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, [role="button"], a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--evidence-signal);
  outline-offset: 2px;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.eo-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.eo-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--evidence-ink);
  color: #fff;
  transform: translateY(-160%);
}
.eo-skip:focus { transform: none; }
.eo-wrap { width: min(calc(100% - 2 * var(--evidence-pad)), var(--evidence-max)); margin-inline: auto; }
.eo-section { padding-block: clamp(64px, 9vw, 128px); border-top: 1px solid var(--evidence-line); }
.eo-section--tight { padding-block: clamp(40px, 6vw, 80px); }
.eo-kicker, .eo-meta, .eo-chip, .eo-truth, .eo-source, .eo-status, th {
  font: 700 12px/1.35 var(--evidence-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}
.eo-kicker { margin: 0 0 16px; color: var(--evidence-steel-dark); }
.eo-h1, .eo-h2, .eo-h3 { margin: 0; font-family: var(--evidence-display); font-weight: 650; letter-spacing: -.035em; }
.eo-h1 { max-width: 11ch; font-size: clamp(52px, 7vw, 108px); line-height: .9; }
.eo-h2 { max-width: 15ch; font-size: clamp(38px, 5vw, 72px); line-height: .98; }
.eo-h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; }
.eo-lead { max-width: 66ch; margin: 24px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.eo-muted { color: var(--evidence-muted); }
.eo-link { color: var(--evidence-steel-dark); font-weight: 700; }
.eo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--evidence-ink);
  border-radius: 2px;
  background: transparent;
  color: var(--evidence-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.eo-button--solid { background: var(--evidence-ink); color: var(--evidence-surface); }
.eo-button--signal { border-color: var(--evidence-signal); color: var(--evidence-signal); }
.eo-button[aria-pressed="true"], .eo-button.is-active { background: var(--evidence-steel-dark); color: #fff; border-color: var(--evidence-steel-dark); }
.eo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eo-truth {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--evidence-ink);
  background: var(--evidence-surface);
}
.eo-truth::before { content: "TRUTH"; color: var(--evidence-signal); }
.eo-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 8px; border: 1px solid var(--evidence-line); }
.eo-chip--gate { color: var(--evidence-signal); border-color: var(--evidence-signal); }
.eo-chip--steel { color: var(--evidence-steel-dark); border-color: var(--evidence-steel); }

.eo-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: 72px;
  border-bottom: 1px solid var(--evidence-ink);
  background: rgba(237,240,236,.96);
}
.eo-brand {
  display: grid;
  place-content: center start;
  min-width: 190px;
  padding: 12px var(--evidence-pad);
  border-right: 1px solid var(--evidence-ink);
  font: 800 22px/1 var(--evidence-display);
  letter-spacing: .12em;
  text-decoration: none;
}
.eo-brand small { margin-top: 5px; color: var(--evidence-muted); font: 700 12px/1 var(--evidence-mono); letter-spacing: .04em; }
.eo-nav { display: flex; justify-content: flex-end; align-items: stretch; }
.eo-nav a { display: grid; place-items: center; min-height: 44px; padding: 12px clamp(12px, 2vw, 24px); border-left: 1px solid var(--evidence-line); font-weight: 700; text-decoration: none; }
.eo-menu { display: none; min-width: 56px; min-height: 56px; border: 0; border-left: 1px solid var(--evidence-ink); background: transparent; }
.eo-header-cta { align-self: center; margin-inline: 16px var(--evidence-pad); }

.eo-hero { min-height: min(900px, calc(100svh - 72px)); display: grid; align-content: center; padding-block: clamp(56px, 8vw, 104px); }
.eo-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.eo-hero__copy .eo-truth { margin-top: 24px; }
.eo-hero__proof { display: grid; grid-template-columns: 100px 1fr; gap: 16px; max-width: 700px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--evidence-ink); }
.eo-hero__proof b { font: 700 12px/1.4 var(--evidence-mono); color: var(--evidence-steel-dark); }
.eo-hero__proof p { margin: 0; }

.eo-record { border: 1px solid var(--evidence-ink); background: var(--evidence-surface); }
.eo-record__head { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px; border-bottom: 1px solid var(--evidence-ink); }
.eo-record__head h2, .eo-record__head h3 { margin: 4px 0 0; font: 650 clamp(24px, 2.5vw, 36px)/1.05 var(--evidence-display); }
.eo-record__id { font: 700 12px/1.35 var(--evidence-mono); color: var(--evidence-steel-dark); overflow-wrap: anywhere; }
.eo-record__register { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--evidence-line); }
.eo-record__register > span { padding: 10px 12px; border-right: 1px solid var(--evidence-line); }
.eo-record__register > span:last-child { border-right: 0; }
.eo-record__register small, .eo-record__register b { display: block; font: 700 12px/1.35 var(--evidence-mono); overflow-wrap: anywhere; }
.eo-record__register small { color: var(--evidence-muted); }
.eo-record__flow { list-style: none; margin: 0; padding: 0; }
.eo-record__flow li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--evidence-line); }
.eo-record__flow li:last-child { border-bottom: 0; }
.eo-record__flow b { font: 700 12px/1.35 var(--evidence-mono); color: var(--evidence-steel-dark); }
.eo-record__flow p { margin: 0; }
.eo-record__flow .is-gate { border-left: 4px solid var(--evidence-signal); }
.eo-record__flow .is-gate b { color: var(--evidence-signal); }
.eo-record__boundary { margin: 0; padding: 14px 16px; border-top: 2px solid var(--evidence-signal); color: var(--evidence-signal); font: 700 12px/1.45 var(--evidence-mono); }

.eo-rail { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--evidence-ink); }
.eo-rail li { position: relative; min-height: 108px; padding: 16px; border-right: 1px solid var(--evidence-line); }
.eo-rail li:last-child { border-right: 0; }
.eo-rail span { display: block; color: var(--evidence-muted); font: 700 12px/1.3 var(--evidence-mono); }
.eo-rail b { display: block; margin-top: 10px; font-size: 15px; }
.eo-rail .is-gate { box-shadow: inset 0 4px 0 var(--evidence-signal); }
.eo-rail .is-gate span { color: var(--evidence-signal); }

.eo-section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.eo-section-head p { margin: 0; }
.eo-atlas-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 24px; }
.eo-atlas {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--evidence-ink);
  background:
    linear-gradient(90deg, transparent 49.85%, var(--evidence-line) 50%, transparent 50.15%),
    linear-gradient(transparent 49.85%, var(--evidence-line) 50%, transparent 50.15%),
    var(--evidence-surface);
}
.eo-atlas::before, .eo-atlas::after { position: absolute; color: var(--evidence-muted); font: 700 12px/1 var(--evidence-mono); }
.eo-atlas::before { content: "LOW SYSTEM REACH ←  → MULTI-SYSTEM"; left: 16px; bottom: 12px; }
.eo-atlas::after { content: "ACTION BOUNDARY ↑"; left: 14px; top: 16px; writing-mode: vertical-rl; transform: rotate(180deg); }
.eo-atlas button, .eo-atlas a {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--evidence-ink);
  border-radius: 50%;
  background: var(--evidence-bg);
  font: 700 12px/1 var(--evidence-mono);
  text-decoration: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.eo-atlas button[data-boundary="APPROVAL_REQUIRED"], .eo-atlas a[data-boundary="APPROVAL_REQUIRED"] { border: 2px solid var(--evidence-signal); color: var(--evidence-signal); }
.eo-atlas button[data-boundary="GOVERNED_WRITE"], .eo-atlas button[data-boundary="READBACK_VERIFY"], .eo-atlas a[data-boundary="GOVERNED_WRITE"], .eo-atlas a[data-boundary="READBACK_VERIFY"] { background: var(--evidence-ink); color: #fff; }
.eo-atlas [aria-pressed="true"] { box-shadow: 0 0 0 4px var(--evidence-amber); }
.eo-atlas-note { align-self: stretch; padding: 24px; border-block: 1px solid var(--evidence-ink); }
.eo-atlas-note h3 { margin: 8px 0 16px; font: 650 32px/1.05 var(--evidence-display); }
.eo-atlas-note dl { margin: 24px 0 0; }
.eo-atlas-note dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--evidence-line); }
.eo-atlas-note dt, .eo-atlas-note dd { margin: 0; }
.eo-atlas-note dt { color: var(--evidence-muted); }
.eo-atlas-fallback { margin: 16px 0 0; color: var(--evidence-muted); font-size: 14px; }

.eo-patterns { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--evidence-ink); }
.eo-pattern { min-height: 250px; padding: 20px; border-right: 1px solid var(--evidence-line); border-bottom: 1px solid var(--evidence-line); }
.eo-pattern:nth-child(4n) { border-right: 0; }
.eo-pattern .eo-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--evidence-muted); }
.eo-pattern h3 { margin: 34px 0 12px; font: 650 25px/1.08 var(--evidence-display); }
.eo-pattern p { margin: 0; }
.eo-pattern footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }

.eo-path { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: path; border-block: 1px solid var(--evidence-ink); }
.eo-path article { min-height: 270px; padding: 20px; border-right: 1px solid var(--evidence-line); counter-increment: path; }
.eo-path article:last-child { border-right: 0; }
.eo-path article::before { content: "0" counter(path); display: block; color: var(--evidence-signal); font: 700 12px/1 var(--evidence-mono); }
.eo-path h3 { margin: 56px 0 12px; font: 650 24px/1.08 var(--evidence-display); }
.eo-path p { margin: 0; color: var(--evidence-muted); }

.eo-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-block: 40px; border-top: 1px solid var(--evidence-ink); }
.eo-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.eo-footer p { margin: 4px 0 0; color: var(--evidence-muted); }

.eo-page-head { padding-block: clamp(52px, 8vw, 100px); border-bottom: 1px solid var(--evidence-ink); }
.eo-page-head__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(260px, 3fr); gap: 48px; align-items: end; }
.eo-page-head__aside { padding-left: 20px; border-left: 2px solid var(--evidence-signal); }
.eo-page-head__aside p { margin: 6px 0; }
.eo-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font: 700 12px/1.35 var(--evidence-mono); color: var(--evidence-muted); }

.eo-tools { position: sticky; top: 0; z-index: 10; padding-block: 14px; border-bottom: 1px solid var(--evidence-ink); background: rgba(237,240,236,.97); }
.eo-search { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, auto)); gap: 10px; }
.eo-search input, .eo-search select { min-height: 44px; width: 100%; border: 1px solid var(--evidence-ink); border-radius: 0; background: var(--evidence-surface); color: var(--evidence-ink); padding: 9px 12px; }
.eo-view-switch { display: flex; gap: 8px; margin-top: 12px; }
.eo-results { min-height: 24px; margin: 12px 0 0; font: 700 12px/1.35 var(--evidence-mono); }
.eo-registry { border-top: 1px solid var(--evidence-ink); }
.eo-registry-row { display: grid; grid-template-columns: 64px minmax(220px, 1.6fr) minmax(180px, 1fr) minmax(150px, .8fr) 138px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--evidence-line); }
.eo-registry-row h2, .eo-registry-row h3 { margin: 0; font: 650 24px/1.1 var(--evidence-display); }
.eo-registry-row p { margin: 4px 0 0; }
.eo-registry-row__code { align-self: start; color: var(--evidence-steel-dark); font: 700 13px/1.4 var(--evidence-mono); }
.eo-registry-row__gate { color: var(--evidence-signal); font: 700 12px/1.35 var(--evidence-mono); }
.eo-compare-add { width: 100%; }
.eo-empty { padding: 40px 0; border-bottom: 1px solid var(--evidence-line); }

.eo-compare-tray {
  position: sticky;
  bottom: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px var(--evidence-pad);
  border-top: 1px solid var(--evidence-ink);
  background: var(--evidence-surface);
}
.eo-compare-tray p { margin: 0; }
.eo-compare-tray__items { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-left: 12px; }

.eo-table-wrap { overflow-x: auto; border: 1px solid var(--evidence-ink); background: var(--evidence-surface); }
.eo-table { width: 100%; min-width: 740px; border-collapse: collapse; }
.eo-table th, .eo-table td { padding: 14px; border-right: 1px solid var(--evidence-line); border-bottom: 1px solid var(--evidence-line); text-align: left; vertical-align: top; }
.eo-table th { position: sticky; top: 0; background: var(--evidence-bg); }
.eo-direction { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); margin-top: 32px; border: 1px solid var(--evidence-ink); }
.eo-direction > * { padding: 24px; }
.eo-direction > :first-child { border-right: 1px solid var(--evidence-ink); }
.eo-direction ul { margin: 0; padding-left: 20px; }
.eo-direction li + li { margin-top: 10px; }

.eo-detail-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr); gap: 48px; align-items: start; }
.eo-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-block: 1px solid var(--evidence-ink); }
.eo-facts div { padding: 16px; border-right: 1px solid var(--evidence-line); }
.eo-facts div:last-child { border-right: 0; }
.eo-facts dt { color: var(--evidence-muted); font: 700 12px/1.35 var(--evidence-mono); }
.eo-facts dd { margin: 8px 0 0; }
.eo-trace { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--evidence-ink); counter-reset: trace; }
.eo-trace li { display: grid; grid-template-columns: 52px minmax(140px,.45fr) minmax(0,1fr) minmax(160px,.55fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--evidence-line); counter-increment: trace; }
.eo-trace li::before { content: "0" counter(trace); color: var(--evidence-steel-dark); font: 700 13px/1.35 var(--evidence-mono); }
.eo-trace h3, .eo-trace p { margin: 0; }
.eo-trace h3 { font: 650 22px/1.12 var(--evidence-display); }
.eo-trace aside { color: var(--evidence-muted); }
.eo-trace .is-gate { box-shadow: inset 4px 0 0 var(--evidence-signal); padding-left: 18px; }

.eo-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--evidence-ink); }
.eo-grid-3 article { min-height: 230px; padding: 22px; border-right: 1px solid var(--evidence-line); border-bottom: 1px solid var(--evidence-line); }
.eo-grid-3 article, .eo-grid-3 p, code { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.eo-grid-3 article:nth-child(3n) { border-right: 0; }
.eo-grid-3 h3 { margin: 24px 0 12px; font: 650 26px/1.08 var(--evidence-display); }
.eo-grid-3 p, .eo-grid-3 ul { margin-top: 0; }
.eo-grid-3 a { font-weight: 700; }
.eo-hub-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--evidence-ink); }
.eo-hub-link { display: grid; align-content: space-between; min-height: 250px; padding: 22px; border-right: 1px solid var(--evidence-line); border-bottom: 1px solid var(--evidence-line); text-decoration: none; }
.eo-hub-link:nth-child(3n) { border-right: 0; }
.eo-hub-link h2, .eo-hub-link h3 { margin: 16px 0; font: 650 30px/1.05 var(--evidence-display); }
.eo-hub-link p { margin: 0; }

.eo-legend { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--evidence-ink); }
.eo-legend article { padding: 18px; border-right: 1px solid var(--evidence-line); border-bottom: 1px solid var(--evidence-line); }
.eo-legend article:last-child { border-right: 0; }
.eo-legend h3 { margin: 16px 0 8px; font: 650 21px/1.1 var(--evidence-display); }
.eo-legend p { margin: 0; color: var(--evidence-muted); }
.eo-notice { padding: 18px 20px; border: 1px solid var(--evidence-line); border-left: 4px solid var(--evidence-signal); background: var(--evidence-surface); }
.eo-notice > :first-child { margin-top: 0; }
.eo-notice > :last-child { margin-bottom: 0; }
.eo-json-status { padding: 12px; border: 1px solid var(--evidence-line); background: var(--evidence-surface); font: 700 12px/1.45 var(--evidence-mono); overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .eo-header { grid-template-columns: auto 1fr auto; }
  .eo-nav { display: none; position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--evidence-ink); background: var(--evidence-surface); }
  .eo-nav.is-open { display: flex; }
  .eo-nav a { justify-content: start; border-left: 0; border-top: 1px solid var(--evidence-line); }
  .eo-menu { display: block; justify-self: end; }
  .eo-header-cta { display: none; }
  .eo-hero__grid, .eo-detail-hero { grid-template-columns: 1fr; }
  .eo-hero { min-height: auto; }
  .eo-record { max-width: 760px; }
  .eo-patterns { grid-template-columns: repeat(2, 1fr); }
  .eo-pattern:nth-child(2n) { border-right: 0; }
  .eo-path { grid-template-columns: repeat(2, 1fr); }
  .eo-path article:nth-child(2n) { border-right: 0; }
  .eo-search { grid-template-columns: 1fr 1fr; }
  .eo-search input { grid-column: 1 / -1; }
  .eo-registry-row { grid-template-columns: 56px 1.4fr 1fr 130px; }
  .eo-registry-row__systems { display: none; }
  .eo-legend { grid-template-columns: repeat(3, 1fr); }
  .eo-legend article:nth-child(3n) { border-right: 0; }
}

@media (max-width: 760px) {
  :root { --evidence-pad: 16px; }
  .eo-brand { min-width: 0; border-right: 0; }
  .eo-header { min-height: 64px; }
  .eo-nav { inset-block-start: 64px; }
  .eo-h1 { font-size: clamp(46px, 15vw, 64px); line-height: .92; }
  .eo-h2 { font-size: clamp(36px, 11vw, 52px); }
  .eo-hero { padding-block: 48px 64px; }
  .eo-hero__grid { gap: 40px; }
  .eo-hero__proof { grid-template-columns: 1fr; gap: 8px; }
  .eo-record__head { grid-template-columns: 1fr; }
  .eo-record__register { grid-template-columns: repeat(2, 1fr); }
  .eo-record__register > span:nth-child(2) { border-right: 0; }
  .eo-record__register > span:nth-child(-n+2) { border-bottom: 1px solid var(--evidence-line); }
  .eo-record__flow li { grid-template-columns: 1fr; gap: 6px; }
  .eo-rail { grid-template-columns: 1fr; }
  .eo-rail li { min-height: 0; display: grid; grid-template-columns: 100px 1fr; gap: 12px; border-right: 0; border-bottom: 1px solid var(--evidence-line); }
  .eo-section-head, .eo-page-head__grid, .eo-atlas-layout { grid-template-columns: 1fr; gap: 24px; }
  .eo-atlas { display: none; }
  .eo-atlas-note { border-top: 1px solid var(--evidence-ink); }
  .eo-atlas-fallback { display: block; }
  .eo-patterns, .eo-grid-3, .eo-hub-links, .eo-legend { grid-template-columns: 1fr; }
  .eo-pattern, .eo-grid-3 article, .eo-hub-link, .eo-legend article { border-right: 0 !important; min-height: 0; }
  .eo-path { grid-template-columns: 1fr; }
  .eo-path article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--evidence-line); }
  .eo-path h3 { margin-top: 24px; }
  .eo-footer { grid-template-columns: 1fr; }
  .eo-footer nav { justify-content: flex-start; }
  .eo-page-head__aside { padding-left: 0; padding-top: 16px; border-left: 0; border-top: 2px solid var(--evidence-signal); }
  .eo-search { grid-template-columns: 1fr; }
  .eo-search input { grid-column: auto; }
  .eo-tools { position: static; }
  .eo-registry-row { grid-template-columns: 48px 1fr; gap: 10px 12px; }
  .eo-registry-row__goal, .eo-registry-row__gate, .eo-registry-row .eo-compare-add { grid-column: 2; }
  .eo-compare-tray { grid-template-columns: 1fr; padding-inline: 16px; }
  .eo-compare-tray__items { display: flex; margin: 8px 0 0; }
  .eo-direction { grid-template-columns: 1fr; }
  .eo-direction > :first-child { border-right: 0; border-bottom: 1px solid var(--evidence-ink); }
  .eo-facts { grid-template-columns: 1fr; }
  .eo-facts div { border-right: 0; border-bottom: 1px solid var(--evidence-line); }
  .eo-trace li { grid-template-columns: 40px 1fr; }
  .eo-trace li > p, .eo-trace li > aside { grid-column: 2; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .eo-header { position: static; min-height: 56px; }
  .eo-hero { padding-block: 32px 48px; }
  .eo-h1 { font-size: clamp(44px, 8vw, 64px); max-width: 15ch; }
  .eo-hero__grid { align-items: start; }
  .eo-record__flow li { padding-block: 9px; }
}

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

@media print {
  .eo-header, .eo-menu, .eo-tools, .eo-compare-tray { position: static; }
  .eo-menu, .eo-actions { display: none; }
  body { background: #fff; }
}

:root {
  --v5-bg: var(--evidence-bg, #edf0ec);
  --v5-surface: var(--evidence-surface, #f9faf7);
  --v5-ink: var(--evidence-ink, #142226);
  --v5-muted: var(--evidence-muted, #47585c);
  --v5-line: var(--evidence-line, #aab5b2);
  --v5-teal: var(--evidence-steel-dark, #315760);
  --v5-signal: var(--evidence-signal, #9a321d);
  --v5-display: var(--evidence-display, "Bahnschrift Condensed", "Arial Narrow", "Microsoft YaHei", sans-serif);
  --v5-body: var(--evidence-body, "Segoe UI", "Microsoft YaHei", sans-serif);
  --v5-mono: var(--evidence-mono, "Cascadia Mono", Consolas, monospace);
  --v5-max: var(--evidence-max, 1340px);
  --v5-pad: var(--evidence-pad, clamp(16px, 3vw, 48px));
  --v5-header: 72px;
  --v5-route: 50px;
}

html { scroll-padding-top: calc(var(--v5-header) + var(--v5-route) + 20px); }
body[data-shell-version="4.1"] {
  min-width: 0;
  overflow-x: clip;
  background: var(--v5-bg);
  color: var(--v5-ink);
  font-family: var(--v5-body);
}
body[data-shell-version="4.2"] { min-width: 0; }
body[data-shell-version="4.1"] main,
body[data-shell-version="4.2"] main { min-width: 0; }
body[data-shell-version="4.1"] code,
body[data-shell-version="4.2"] code { overflow-wrap: anywhere; }

.star-shell-wrap { width: min(calc(100% - 2 * var(--v5-pad)), var(--v5-max)); margin-inline: auto; }

.star-global-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: var(--v5-header);
  border-bottom: 1px solid var(--v5-ink);
  background: color-mix(in srgb, var(--v5-bg) 96%, transparent);
  backdrop-filter: blur(14px);
}
.star-brand {
  display: grid;
  place-content: center start;
  min-width: 214px;
  padding: 11px var(--v5-pad);
  border-right: 1px solid var(--v5-ink);
  color: var(--v5-ink);
  font: 800 22px/1 var(--v5-display);
  letter-spacing: .12em;
  text-decoration: none;
}
.star-brand small {
  margin-top: 6px;
  color: var(--v5-muted);
  font: 700 11px/1.15 var(--v5-mono);
  letter-spacing: .045em;
}
.star-nav { display: flex; justify-content: flex-end; align-items: stretch; }
.star-nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 10px clamp(12px, 1.8vw, 24px);
  border-left: 1px solid var(--v5-line);
  color: var(--v5-ink);
  font-weight: 700;
  text-decoration: none;
}
.star-nav a:hover, .star-nav a[aria-current="page"] { background: var(--v5-ink); color: var(--v5-surface); }
.star-nav .star-nav-pilot { display: none; }
.star-header-action {
  align-self: center;
  min-height: 44px;
  margin-inline: 14px var(--v5-pad);
  padding: 10px 15px;
  border: 1px solid var(--v5-ink);
  background: var(--v5-ink);
  color: var(--v5-surface);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.star-menu {
  display: none;
  min-width: 64px;
  border: 0;
  border-left: 1px solid var(--v5-ink);
  background: transparent;
  color: var(--v5-ink);
  font-weight: 800;
}

.star-task-route {
  position: sticky;
  top: var(--v5-header);
  z-index: 55;
  min-height: var(--v5-route);
  border-bottom: 1px solid var(--v5-ink);
  background: color-mix(in srgb, var(--v5-surface) 97%, transparent);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.star-task-route__inner { display: grid; grid-template-columns: auto 1fr; align-items: stretch; min-height: var(--v5-route); }
.star-task-route__label {
  display: grid;
  align-content: center;
  min-width: 214px;
  padding-inline: var(--v5-pad) 18px;
  border-right: 1px solid var(--v5-line);
  color: var(--v5-teal);
  font: 700 11px/1.25 var(--v5-mono);
  letter-spacing: .04em;
}
.star-task-route ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.star-task-route li { min-width: 0; border-right: 1px solid var(--v5-line); }
.star-task-route a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  min-height: var(--v5-route);
  padding: 7px 12px;
  color: var(--v5-muted);
  text-decoration: none;
}
.star-task-route a span { color: var(--v5-teal); font: 700 11px/1 var(--v5-mono); }
.star-task-route a b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.star-task-route a[aria-current="step"] { background: var(--v5-ink); color: var(--v5-surface); }
.star-task-route a[aria-current="step"] span { color: #fff; }
.star-task-route li[data-task-view-state="completed"] a { color: var(--v5-teal); }
.star-task-route li[data-task-view-state="completed"] span::before { content: "✓ "; }
.star-reference-support {
  align-self: center;
  justify-self: end;
  margin-right: var(--v5-pad);
  color: var(--v5-signal);
  font: 700 10px/1.2 var(--v5-mono);
}

.star-context {
  border-bottom: 1px solid var(--v5-line);
  background: var(--v5-surface);
}
.star-context__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 20px;
  align-items: center;
  min-height: 54px;
  padding-block: 8px;
}
.star-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.star-breadcrumb li { color: var(--v5-muted); font: 700 11px/1.35 var(--v5-mono); }
.star-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--v5-line); }
.star-breadcrumb a { color: inherit; }
.star-context__task { margin: 0; text-align: right; font-size: 14px; }
.star-context__task b { color: var(--v5-signal); font: 700 11px/1.35 var(--v5-mono); }
.star-context__selection { color: var(--v5-teal); font: 700 11px/1.35 var(--v5-mono); }

.star-task-starter { padding-block: clamp(44px, 7vw, 88px); border-block: 1px solid var(--v5-ink); background: var(--v5-surface); }
.star-task-starter__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr); gap: 36px; margin-bottom: 28px; }
.star-task-starter h2 { max-width: 14ch; margin: 0; font: 650 clamp(38px, 5vw, 70px)/.98 var(--v5-display); letter-spacing: -.035em; }
.star-task-starter__head p { margin: 0; align-self: end; color: var(--v5-muted); }
.star-task-starter__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--v5-ink); }
.star-entry-card {
  min-height: 220px;
  padding: 22px;
  border-right: 1px solid var(--v5-line);
  border-bottom: 1px solid var(--v5-line);
  color: var(--v5-ink);
  text-decoration: none;
}
.star-entry-card:last-child { border-right: 0; }
.star-entry-card:hover { background: var(--v5-bg); }
.star-entry-card span { color: var(--v5-signal); font: 700 11px/1 var(--v5-mono); }
.star-entry-card h3 { margin: 50px 0 10px; font: 650 26px/1.05 var(--v5-display); }
.star-entry-card p { margin: 0; color: var(--v5-muted); }
.star-code-open { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.star-code-open label { font: 700 11px/1.3 var(--v5-mono); }
.star-code-open input { min-height: 44px; border: 1px solid var(--v5-ink); background: var(--v5-bg); padding: 8px 12px; text-transform: uppercase; }
.star-code-open button { min-height: 44px; border: 1px solid var(--v5-ink); background: var(--v5-ink); color: #fff; padding: 8px 15px; font-weight: 800; }

.star-hero-image, .star-page-visual, .star-case-reference {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--v5-ink);
  background: #d8d2c8;
}
.star-hero-image img, .star-page-visual img, .star-case-reference img { width: 100%; height: 100%; object-fit: cover; }
.star-hero-image figcaption, .star-page-visual figcaption, .star-case-reference figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: color-mix(in srgb, var(--v5-ink) 88%, transparent);
  color: #fff;
  font: 700 10px/1.35 var(--v5-mono);
  letter-spacing: .035em;
}
.star-hero-image { grid-column: 2; grid-row: 1; min-height: 280px; aspect-ratio: 16/9; }
body[data-page-family="home"] .eo-hero__copy { grid-column: 1; grid-row: 1 / span 2; }
body[data-page-family="home"] .eo-hero__grid > .eo-record { grid-column: 2; grid-row: 2; }
body[data-page-family="home"] .eo-hero { min-height: auto; }
.star-page-visual { width: min(calc(100% - 2 * var(--v5-pad)), var(--v5-max)); margin: clamp(28px, 5vw, 64px) auto; aspect-ratio: 2/1; }
.star-page-visual--atlas, .star-page-visual--matrix, .star-page-visual--triptych { aspect-ratio: 3/1.42; }
.star-page-visual--detail { aspect-ratio: 2.7/1; }
.star-detail-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 16px;
  width: min(calc(100% - 2 * var(--v5-pad)), var(--v5-max));
  margin: clamp(28px, 5vw, 64px) auto;
}
.star-detail-visuals .star-page-visual, .star-detail-visuals .star-case-reference { width: auto; height: 100%; margin: 0; aspect-ratio: auto; min-height: 320px; }
.star-case-reference img { filter: grayscale(.68) sepia(.10) saturate(.55) contrast(.94); }
.star-case-reference::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--v5-teal) 10%, transparent); mix-blend-mode: multiply; }
.star-case-reference figcaption { z-index: 1; }

.star-next-step { border-top: 1px solid var(--v5-ink); background: var(--v5-surface); }
.star-next-step__inner { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(38px, 6vw, 72px); }
.star-next-step__marker { color: var(--v5-signal); font: 700 11px/1.4 var(--v5-mono); }
.star-next-step h2 { max-width: 15ch; margin: 12px 0 0; font: 650 clamp(32px, 4vw, 56px)/.98 var(--v5-display); letter-spacing: -.03em; }
.star-next-step__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.star-next-step__body h3 { margin: 0 0 8px; color: var(--v5-teal); font: 700 11px/1.35 var(--v5-mono); }
.star-next-step__body p, .star-next-step__body ul { margin: 0; }
.star-next-step__body ul { padding-left: 18px; }
.star-next-step__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.star-primary-action, .star-secondary-action, .star-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--v5-ink);
  border-radius: 0;
  font: 800 15px/1.2 var(--v5-body);
  text-decoration: none;
  cursor: pointer;
}
.star-primary-action, .star-action-button { background: var(--v5-ink); color: #fff; }
.star-secondary-action { background: transparent; color: var(--v5-ink); }
.star-non-effect { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--v5-line); color: var(--v5-signal); font: 700 11px/1.45 var(--v5-mono); }

.star-global-footer { border-top: 1px solid var(--v5-ink); background: var(--v5-bg); }
.star-global-footer__main { display: grid; grid-template-columns: minmax(220px, 1.1fr) 2fr; gap: 40px; padding-block: 42px; }
.star-global-footer__brand { font: 800 26px/1 var(--v5-display); letter-spacing: .08em; }
.star-global-footer p { max-width: 48ch; margin: 10px 0 0; color: var(--v5-muted); }
.star-global-footer nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; align-content: start; }
.star-global-footer a { min-height: 32px; font-weight: 700; }
.star-global-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 16px; border-top: 1px solid var(--v5-line); color: var(--v5-muted); font: 700 10px/1.4 var(--v5-mono); }

/* Legacy content becomes a supported page family inside the same Evidence shell. */
body[data-page-family^="solution-"] .page-hero,
body[data-page-family="pilot-contact"] .page-hero,
body[data-page-family="not-found"] .not-found { padding: clamp(48px, 8vw, 100px) var(--v5-pad); border-bottom: 1px solid var(--v5-ink); background: var(--v5-bg); }
body[data-page-family^="solution-"] .page-hero > *,
body[data-page-family="pilot-contact"] .page-hero > * { width: min(100%, var(--v5-max)); margin-inline: auto; }
body[data-page-family^="solution-"] .page-title,
body[data-page-family="pilot-contact"] .page-title { max-width: 13ch; margin: 0; color: var(--v5-ink); font: 650 clamp(50px, 7vw, 96px)/.92 var(--v5-display); letter-spacing: -.035em; }
body[data-page-family^="solution-"] .page-lead,
body[data-page-family="pilot-contact"] .page-lead { max-width: 64ch; color: var(--v5-muted); font-size: clamp(18px, 1.6vw, 22px); }
body[data-page-family^="solution-"] .site-section,
body[data-page-family="pilot-contact"] .site-section { width: min(calc(100% - 2 * var(--v5-pad)), var(--v5-max)); margin-inline: auto; padding-block: clamp(50px, 8vw, 100px); }
body[data-page-family^="solution-"] .section-title { color: var(--v5-ink); font-family: var(--v5-display); }
body[data-page-family^="solution-"] .solution-card,
body[data-page-family^="solution-"] .solution-matrix > *,
body[data-page-family="pilot-contact"] .solution-form,
body[data-page-family="pilot-contact"] .contact-guide { border-color: var(--v5-line); background: var(--v5-surface); color: var(--v5-ink); }
.assistant-launch { border: 1px solid var(--v5-ink) !important; background: var(--v5-ink) !important; color: #fff !important; }
.assistant-panel { border: 1px solid var(--v5-ink) !important; background: var(--v5-surface) !important; color: var(--v5-ink) !important; }

body[data-page-family="scenario-library"] .eo-tools { top: calc(var(--v5-header) + var(--v5-route)); }
body[data-page-family="scenario-detail"] .eo-page-head,
body[data-page-family="scenario-compare"] .eo-page-head { padding-top: clamp(44px, 6vw, 76px); }
.eo-table-scroll-hint { display: none; margin: 0 0 8px; color: var(--v5-muted); font: 700 11px/1.4 var(--v5-mono); }
.eo-table-wrap[tabindex]:focus-visible { outline: 3px solid var(--v5-signal); outline-offset: 3px; }
.eo-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--v5-surface); }
.eo-table thead tr > :first-child { z-index: 3; background: var(--v5-bg); }
.eo-direction .eo-h3 { overflow-wrap: anywhere; }
.star-pilot-context { margin: 0; padding: 14px 18px; border: 1px solid var(--v5-ink); background: var(--v5-surface); font: 700 12px/1.5 var(--v5-mono); }

@media (max-width: 1099.98px) {
  :root { --v5-header: 64px; }
  .star-global-header { grid-template-columns: 1fr auto; }
  .star-brand { min-width: 0; border-right: 0; }
  .star-menu { display: block; }
  .star-header-action { display: none; }
  .star-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-block: 1px solid var(--v5-ink);
    background: var(--v5-surface);
  }
  .has-v5-js .star-nav:not(.is-open) { display: none; }
  .star-nav a { min-height: 52px; border-left: 0; border-right: 1px solid var(--v5-line); }
  .star-nav .star-nav-pilot { display: flex; background: var(--v5-signal); color: var(--v5-ink); }
  .star-task-route__inner { display: block; width: 100%; max-width: 100vw; min-width: 0; overflow-x: auto; }
  .star-task-route::after { position: absolute; top: 50%; right: 8px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--v5-line); border-radius: 50%; background: color-mix(in srgb, var(--v5-surface) 92%, transparent); color: var(--v5-signal); content: "→"; pointer-events: none; transform: translateY(-50%); }
  .star-task-route__label { display: none; }
  .star-task-route ol { min-width: 720px; }
  .star-reference-support { display: none; }
  .star-context__inner { grid-template-columns: 1fr; gap: 6px; }
  .star-context__task { text-align: left; }
  .star-task-starter__head { grid-template-columns: 1fr; }
  .star-task-starter__grid { grid-template-columns: 1fr; }
  .star-entry-card { min-height: auto; border-right: 0; }
  .star-entry-card h3 { margin-top: 28px; }
  body[data-page-family="home"] .eo-hero__copy,
  .star-hero-image,
  body[data-page-family="home"] .eo-hero__grid > .eo-record { grid-column: 1; grid-row: auto; }
  .star-hero-image { width: 100%; min-height: 0; }
  body[data-page-family="home"] .eo-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .star-detail-visuals { grid-template-columns: 1fr; }
  .star-detail-visuals .star-page-visual, .star-detail-visuals .star-case-reference { min-height: 260px; }
  .star-next-step__inner { grid-template-columns: 1fr; }
  .star-global-footer__main { grid-template-columns: 1fr; }
  .eo-table-scroll-hint { display: block; }
}

@media (max-width: 760px) {
  .star-nav { grid-template-columns: 1fr; }
  .star-nav a { justify-content: start; border-right: 0; border-bottom: 1px solid var(--v5-line); }
  .star-brand small { max-width: 24ch; }
  .star-context { overflow: hidden; }
  .star-breadcrumb { overflow-x: auto; }
  .star-breadcrumb ol { flex-wrap: nowrap; width: max-content; }
  .star-page-visual { aspect-ratio: 4/3; }
  .star-page-visual--atlas, .star-page-visual--matrix, .star-page-visual--triptych { aspect-ratio: 3/2; }
  .star-page-visual--detail { aspect-ratio: 4/3; }
  .star-next-step__body { grid-template-columns: 1fr; }
  .star-next-step__actions, .star-non-effect { grid-column: 1; }
  .star-global-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .star-brand { padding-inline: 16px; }
  .star-menu { min-width: 58px; }
  .star-task-route ol { min-width: 650px; }
  .star-task-route a { min-height: 48px; }
  .star-primary-action, .star-secondary-action, .star-action-button { width: 100%; min-height: 48px; }
  .star-global-footer nav { grid-template-columns: 1fr; }
}

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

@media print {
  .star-global-header, .star-task-route { position: static; }
  .star-menu, .star-header-action, .star-next-step, .assistant-launch, .assistant-panel { display: none !important; }
}

:root {
  --v42-canvas: 1600px;
  --v42-grid: color-mix(in srgb, var(--evidence-line) 34%, transparent);
}

body[data-shell-version="4.2"] {
  --evidence-max: var(--v42-canvas);
  --v5-max: var(--v42-canvas);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--v42-grid) calc(100% - 1px)) 0 0 / calc(100% / 16) 100%,
    var(--evidence-bg);
}

body[data-shell-version="4.2"] main {
  position: relative;
  isolation: isolate;
}

body[data-shell-version="4.2"] .eo-wrap,
body[data-shell-version="4.2"] .star-shell-wrap {
  width: min(calc(100% - 48px), var(--v42-canvas));
}

@media (min-width: 1100px) {
  body[data-shell-version="4.2"] .star-global-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
}

.star-locale-control {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 0 12px;
  padding: 5px 7px 5px 10px;
  border-left: 1px solid var(--evidence-line);
  color: var(--evidence-muted);
  font: 700 10px/1 var(--evidence-mono);
  letter-spacing: .05em;
}

.star-locale-control select {
  min-height: 34px;
  border: 1px solid var(--evidence-ink);
  border-radius: 0;
  background: var(--evidence-surface);
  color: var(--evidence-ink);
  padding: 4px 28px 4px 8px;
  font: 800 12px/1 var(--evidence-body);
}

.star-language {
  display: flex;
  align-self: center;
  min-height: 36px;
  margin-left: 10px;
  border: 1px solid var(--evidence-ink);
  background: var(--evidence-surface);
}

.star-language a {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 6px 9px;
  border-right: 1px solid var(--evidence-line);
  color: var(--evidence-muted);
  font: 800 10px/1 var(--evidence-body);
  text-decoration: none;
  white-space: nowrap;
}

/* Legacy pages hide inline English copy through [lang="en"]. The global
   language route itself must remain visible regardless of that page toggle. */
body[data-shell-version="4.2"] .star-language a[lang="en"] { display: grid !important; }

.star-language a:last-child { border-right: 0; }
.star-language a:hover,
.star-language a[aria-current="page"] { background: var(--evidence-ink); color: #fff; }

.star-command-strip {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--evidence-ink);
  background: var(--evidence-ink);
  color: var(--evidence-surface);
}

.star-command-strip__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(5, minmax(112px, 1fr));
  width: min(100%, var(--v42-canvas));
  min-height: 66px;
  margin-inline: auto;
}

.star-command-strip__intro,
.star-command-strip__metric {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 9px 15px;
  border-right: 1px solid color-mix(in srgb, var(--evidence-surface) 24%, transparent);
}

.star-command-strip__intro {
  border-left: 1px solid color-mix(in srgb, var(--evidence-surface) 24%, transparent);
  color: #fff;
  font: 700 11px/1.4 var(--evidence-mono);
  letter-spacing: .04em;
}

.star-command-strip__intro small,
.star-command-strip__metric small {
  color: color-mix(in srgb, var(--evidence-surface) 68%, transparent);
  font: 700 9px/1.25 var(--evidence-mono);
  letter-spacing: .055em;
}

.star-command-strip__metric b {
  margin-top: 4px;
  color: #fff;
  font: 650 17px/1.05 var(--evidence-display);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.star-command-strip__metric em {
  color: #f2a18e;
  font: 800 11px/1 var(--evidence-mono);
  font-style: normal;
}

.star-edge-rail {
  display: none;
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 6vw, 104px);
  border-bottom: 1px solid var(--evidence-ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--evidence-steel) 7%, transparent), transparent 18%, transparent 82%, color-mix(in srgb, var(--evidence-signal) 6%, transparent)),
    color-mix(in srgb, var(--evidence-bg) 94%, white);
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-hero::after {
  content: "EVIDENCE COMMAND CANVAS / LIVE REFERENCE SURFACE";
  position: absolute;
  right: 24px;
  bottom: 10px;
  color: var(--evidence-muted);
  font: 700 9px/1 var(--evidence-mono);
  letter-spacing: .08em;
  writing-mode: vertical-rl;
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-hero__copy {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 700px;
  padding: clamp(28px, 4vw, 64px) clamp(24px, 3vw, 48px) clamp(28px, 4vw, 64px) 0;
  border-right: 1px solid var(--evidence-line);
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-hero__copy::before {
  content: "01 / DECISION INFRASTRUCTURE";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--evidence-signal);
  font: 800 10px/1 var(--evidence-mono);
  letter-spacing: .05em;
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-h1 {
  max-width: 12ch;
  font-size: clamp(54px, 4.75vw, 86px);
  line-height: .92;
}

body[data-page-family="home"][data-shell-version="4.2"] .star-hero-image {
  min-height: 300px;
  border-bottom: 0;
  aspect-ratio: 16 / 8.4;
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-record {
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--evidence-steel) 14%, transparent);
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-section,
body[data-page-family="home"][data-shell-version="4.2"] .star-task-starter {
  position: relative;
  background: color-mix(in srgb, var(--evidence-bg) 94%, white);
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-section:nth-of-type(even) {
  background: color-mix(in srgb, var(--evidence-steel) 6%, var(--evidence-bg));
}

body[data-page-family="home"][data-shell-version="4.2"] .eo-section::before,
body[data-page-family="home"][data-shell-version="4.2"] .star-task-starter::before {
  content: attr(data-v42-index);
  position: absolute;
  top: 30px;
  left: 24px;
  color: var(--evidence-steel-dark);
  font: 800 10px/1 var(--evidence-mono);
  letter-spacing: .06em;
}

/* The 16-column canvas is shared by every page family. Text stays measured;
   structure, evidence, and visuals receive the additional width. */
body[data-shell-version="4.2"] .eo-page-head {
  position: relative;
  overflow: clip;
  padding-block: 0;
  border-bottom: 1px solid var(--evidence-ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--evidence-steel) 7%, transparent), transparent 24%, transparent 76%, color-mix(in srgb, var(--evidence-signal) 5%, transparent)),
    var(--evidence-bg);
}

body[data-shell-version="4.2"] .eo-page-head::after {
  content: attr(data-v42-coordinate);
  position: absolute;
  right: 24px;
  bottom: 16px;
  color: var(--evidence-muted);
  font: 700 9px/1 var(--evidence-mono);
  letter-spacing: .07em;
}

body[data-shell-version="4.2"] .eo-page-head > .eo-wrap,
body[data-shell-version="4.2"] .eo-page-head__grid {
  min-height: clamp(390px, 46vw, 660px);
  padding-block: clamp(64px, 7vw, 112px);
}

body[data-shell-version="4.2"] .eo-page-head > .eo-wrap:not(.eo-page-head__grid) {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 0 24px;
  align-content: center;
}

body[data-shell-version="4.2"] .eo-page-head > .eo-wrap:not(.eo-page-head__grid) > * {
  grid-column: 3 / 13;
}

body[data-shell-version="4.2"] .eo-page-head > .eo-wrap:not(.eo-page-head__grid) > .eo-truth,
body[data-shell-version="4.2"] .eo-page-head > .eo-wrap:not(.eo-page-head__grid) > .eo-actions {
  justify-self: start;
}

body[data-shell-version="4.2"] .eo-page-head__grid {
  grid-template-columns: minmax(180px, 3fr) minmax(0, 10fr) minmax(240px, 3fr);
  gap: 24px;
}

body[data-shell-version="4.2"] .eo-page-head__grid > :first-child { grid-column: 1 / 3; }
body[data-shell-version="4.2"] .eo-page-head__grid > .eo-page-head__aside { grid-column: 3; }
body[data-shell-version="4.2"] .eo-page-head .eo-h1 { max-width: 13ch; }

/* Localized briefs use longer Latin and Japanese lines. Keep the editorial scale,
   but fill the command canvas instead of leaving a ceremonial empty column. */
body[data-locale-page="true"][data-shell-version="4.2"] .eo-page-head__grid {
  min-height: clamp(380px, 38vw, 540px);
  padding-block: clamp(52px, 5vw, 80px);
  align-items: center;
}

body[data-locale-page="true"][data-shell-version="4.2"] .eo-page-head__aside {
  align-self: center;
}

html[lang="en"] body[data-locale-page="true"] .eo-page-head .eo-h1 { max-width: 23ch; }
html[lang="ja"] body[data-locale-page="true"] .eo-page-head .eo-h1 { max-width: 17ch; }

body[data-shell-version="4.2"] main > .eo-section {
  overflow: clip;
  background: color-mix(in srgb, var(--evidence-bg) 95%, white);
}

body[data-shell-version="4.2"] main > .eo-section:nth-of-type(even) {
  background: color-mix(in srgb, var(--evidence-steel) 5%, var(--evidence-bg));
}

body[data-shell-version="4.2"] .eo-section-head {
  grid-template-columns: minmax(180px, 3fr) minmax(0, 7fr) minmax(240px, 3fr);
  gap: 24px;
  align-items: end;
}

body[data-shell-version="4.2"] .eo-section-head > :first-child { grid-column: 1 / 3; }
body[data-shell-version="4.2"] .eo-section-head > p:last-child { grid-column: 3; }

body[data-shell-version="4.2"] .star-page-visual,
body[data-shell-version="4.2"] .star-detail-visuals {
  width: min(calc(100% - 48px), var(--v42-canvas));
}

body[data-shell-version="4.2"] .star-page-visual {
  max-height: 720px;
  box-shadow: 14px 14px 0 color-mix(in srgb, var(--evidence-steel) 12%, transparent);
}

body[data-shell-version="4.2"] .eo-registry-row {
  grid-template-columns: 72px minmax(300px, 1.7fr) minmax(210px, .9fr) minmax(180px, .7fr) 150px;
  min-height: 148px;
}

body[data-shell-version="4.2"] .eo-atlas-layout {
  grid-template-columns: minmax(0, 11fr) minmax(300px, 5fr);
}

body[data-shell-version="4.2"] .eo-detail-hero {
  grid-template-columns: minmax(0, 10fr) minmax(360px, 6fr);
  gap: 32px;
}

body[data-shell-version="4.2"] .eo-trace li {
  grid-template-columns: 60px minmax(170px, 3fr) minmax(0, 7fr) minmax(220px, 3fr);
}

/* Legacy solution pages become dense editorial canvases instead of narrow
   two-column marketing pages. */
body[data-shell-version="4.2"] .page-hero,
body[data-shell-version="4.2"] .case-detail-hero,
body[data-shell-version="4.2"] .site-section {
  width: min(100%, var(--v42-canvas));
  max-width: var(--v42-canvas);
}

body[data-shell-version="4.2"] .page-hero,
body[data-shell-version="4.2"] .case-detail-hero {
  padding-inline: 24px;
  background: color-mix(in srgb, var(--evidence-bg) 95%, white);
}

body[data-shell-version="4.2"] .page-hero-grid {
  grid-template-columns: minmax(0, 9fr) minmax(360px, 7fr);
  gap: clamp(32px, 4vw, 64px);
}

body[data-shell-version="4.2"] .site-section {
  padding-inline: 24px;
}

@media (min-width: 1280px) {
  body[data-shell-version="4.2"] .df-section {
    display: grid;
    grid-template-columns: minmax(210px, 3fr) minmax(0, 10fr) minmax(260px, 3fr);
    gap: 24px;
    align-items: start;
  }

  body[data-shell-version="4.2"] .df-section > .df-section__head {
    grid-column: 1;
    position: sticky;
    top: calc(var(--v5-header) + var(--v5-route) + 28px);
    display: block;
    min-width: 0;
    padding-right: 20px;
    border-right: 1px solid var(--evidence-line);
  }

  body[data-shell-version="4.2"] .df-section > .df-section__head .df-section__index {
    display: block;
    margin-bottom: 42px;
    color: var(--evidence-signal);
  }

  body[data-shell-version="4.2"] .df-section > .df-section__head .section-title {
    font-size: clamp(30px, 2.7vw, 48px);
  }

  body[data-shell-version="4.2"] .df-section > :not(.df-section__head) {
    grid-column: 2 / 4;
    min-width: 0;
  }

  body[data-shell-version="4.2"] .df-section > .df-section__intro {
    max-width: 72ch;
  }

  body[data-shell-version="4.2"] .split-section {
    grid-template-columns: minmax(220px, 3fr) minmax(0, 10fr) minmax(240px, 3fr);
    gap: 24px;
  }

  body[data-shell-version="4.2"] .split-section > :first-child { grid-column: 1 / 2; }
  body[data-shell-version="4.2"] .split-section > :last-child { grid-column: 2 / 4; }
}

body[data-shell-version="4.2"] .star-next-step__inner {
  grid-template-columns: minmax(220px, 3fr) minmax(0, 10fr) minmax(240px, 3fr);
  gap: 24px;
}

body[data-shell-version="4.2"] .star-next-step__body { grid-column: 2 / 4; }

body[data-shell-version="4.2"] .star-global-footer__main {
  grid-template-columns: minmax(240px, 5fr) minmax(0, 11fr);
}

@media (max-width: 1260px) {
  .star-locale-control span { display: none; }
  .star-locale-control { margin-left: 0; padding-left: 7px; }
  .star-command-strip__inner { grid-template-columns: minmax(160px, 1.4fr) repeat(3, 1fr); }
  .star-command-strip__metric:nth-last-child(-n + 2) { display: none; }
}

@media (min-width: 1100px) and (max-width: 1420px) {
  body[data-shell-version="4.2"] .star-nav a { padding-inline: 9px; font-size: 14px; }
  body[data-shell-version="4.2"] .star-brand { min-width: 190px; padding-inline: 22px; }
  body[data-shell-version="4.2"] .star-header-action { margin-inline: 8px 14px; padding-inline: 11px; }
  .star-language { margin-left: 6px; }
  .star-language a { padding-inline: 6px; font-size: 9px; }
}

@media (max-width: 1099.98px) {
  body[data-shell-version="4.2"] .eo-wrap,
  body[data-shell-version="4.2"] .star-shell-wrap { width: min(calc(100% - 32px), var(--v42-canvas)); }
  body[data-page-family="home"][data-shell-version="4.2"] .eo-hero__grid {
    width: min(calc(100% - 32px), var(--v42-canvas));
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .star-locale-control { grid-column: 1; grid-row: 1; justify-self: end; margin-right: 72px; border-left: 0; }
  body[data-shell-version="4.2"] .star-global-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  body[data-shell-version="4.2"] .star-brand { grid-column: 1; grid-row: 1; }
  body[data-shell-version="4.2"] .star-language { grid-column: 2; grid-row: 1; justify-self: auto; margin: 0 6px; }
  body[data-shell-version="4.2"] .star-menu { grid-column: 3; grid-row: 1; }
  .star-command-strip { overflow-x: auto; }
  .star-command-strip__inner { min-width: 760px; }
  body[data-page-family="home"][data-shell-version="4.2"] .eo-hero__copy { min-height: 0; padding-right: 0; border-right: 0; }
  body[data-shell-version="4.2"] .eo-page-head > .eo-wrap:not(.eo-page-head__grid) { display: block; }
  body[data-shell-version="4.2"] .eo-page-head__grid,
  body[data-shell-version="4.2"] .eo-section-head,
  body[data-shell-version="4.2"] .eo-detail-hero,
  body[data-shell-version="4.2"] .star-next-step__inner { grid-template-columns: minmax(0, 1fr); }
  body[data-shell-version="4.2"] .eo-page-head__grid > :first-child,
  body[data-shell-version="4.2"] .eo-page-head__grid > .eo-page-head__aside,
  body[data-shell-version="4.2"] .eo-section-head > :first-child,
  body[data-shell-version="4.2"] .eo-section-head > p:last-child,
  body[data-shell-version="4.2"] .star-next-step__body { grid-column: 1; }
  body[data-shell-version="4.2"] .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-shell-version="4.2"] .eo-registry-row { grid-template-columns: 56px minmax(0, 1fr) 138px; }
  body[data-shell-version="4.2"] .eo-trace li { grid-template-columns: 48px minmax(150px, .55fr) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  body[data-shell-version="4.2"] .eo-registry-row { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 12px; }
  body[data-shell-version="4.2"] .eo-registry-row__goal,
  body[data-shell-version="4.2"] .eo-registry-row__gate,
  body[data-shell-version="4.2"] .eo-registry-row .eo-compare-add,
  body[data-shell-version="4.2"] .eo-registry-row > :last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .star-locale-control { margin-right: 64px; }
  .star-locale-control select { width: 70px; padding-right: 16px; }
  body[data-shell-version="4.2"] .star-language { margin-inline: 2px; }
  .star-language a { min-width: 36px; min-height: 40px; padding-inline: 6px; font-size: 9px; }
  .star-command-strip__inner { min-width: 680px; min-height: 58px; }
  .star-command-strip__intro, .star-command-strip__metric { padding-inline: 11px; }
  body[data-page-family="home"][data-shell-version="4.2"] .eo-hero::after { display: none; }
  body[data-page-family="home"][data-shell-version="4.2"] .eo-h1 { max-width: none; font-size: clamp(38px, 10.5vw, 46px); line-height: .98; }
  body[data-shell-version="4.2"] .star-command-strip { scrollbar-width: none; }
  body[data-shell-version="4.2"] .star-command-strip::-webkit-scrollbar { display: none; }
  body[data-shell-version="4.2"] .star-global-footer__main { grid-template-columns: minmax(0, 1fr); }
  body[data-shell-version="4.2"] .star-global-footer nav { width: 100%; }
}

@media (max-width: 420px) {
  body[data-shell-version="4.2"] .star-brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .star-edge-rail { backdrop-filter: none; }
}

@media print {
  .star-command-strip, .star-edge-rail, .star-locale-control, .star-language { display: none !important; }
}

/* Four editorial story bands turn the home page into a continuous evidence narrative. */
.star-story-visual {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(300px, 5fr);
  min-height: 430px;
  border-top: 1px solid var(--eo-line, rgba(17, 24, 39, .18));
  border-bottom: 1px solid var(--eo-line, rgba(17, 24, 39, .18));
  background: #f3f2ed;
  overflow: hidden;
}

.star-story-visual__media {
  min-width: 0;
  background: #0f1112;
}

.star-story-visual__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.star-story-visual figcaption {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 3.2vw, 56px);
  border-left: 1px solid var(--eo-line, rgba(17, 24, 39, .18));
}

.star-story-visual figcaption span,
.star-story-visual figcaption small {
  font: 700 11px/1.4 var(--eo-mono, ui-monospace, monospace);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--eo-muted, #5d646b);
}

.star-story-visual figcaption strong {
  max-width: 15ch;
  font: 560 clamp(25px, 2.1vw, 38px)/1.13 var(--eo-display, sans-serif);
  letter-spacing: -.035em;
  color: var(--eo-ink, #111518);
}

.star-story-visual--atlas,
.star-story-visual--governance {
  background: #111517;
  color: #f5f2e9;
}

.star-story-visual--atlas figcaption,
.star-story-visual--governance figcaption {
  order: -1;
  border-left: 0;
  border-right: 1px solid rgba(255,255,255,.2);
}

.star-story-visual--atlas figcaption strong,
.star-story-visual--governance figcaption strong {
  color: #f5f2e9;
}

.star-story-visual--atlas figcaption span,
.star-story-visual--atlas figcaption small,
.star-story-visual--governance figcaption span,
.star-story-visual--governance figcaption small {
  color: #aeb8bd;
}

@media (max-width: 900px) {
  .star-story-visual {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .star-story-visual__media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .star-story-visual figcaption,
  .star-story-visual--atlas figcaption,
  .star-story-visual--governance figcaption {
    order: initial;
    min-height: 240px;
    border: 0;
    border-top: 1px solid var(--eo-line, rgba(17, 24, 39, .18));
  }

  .star-story-visual figcaption strong {
    max-width: 22ch;
  }
}

/* Shared interaction contract: visible focus, reachable anchors and touch-safe
   controls. These rules change presentation only; task state and Truth remain
   owned by the existing explicit actions. */
body[data-shell-version="4.2"] {
  --star-sticky-offset: calc(var(--v5-header, 72px) + var(--v5-route, 50px) + 20px);
  --star-focus-ink: #0d1712;
  --star-focus-accent: #c7ff4a;
}

body[data-shell-version="4.2"] :where([id]) {
  scroll-margin-top: var(--star-sticky-offset) !important;
}

body[data-shell-version="4.2"] :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--star-focus-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--star-focus-ink);
}

body[data-shell-version="4.2"] :where(
  .star-global-header,
  .star-task-route,
  .star-product-route-map,
  .scenario-route-panel,
  .scenario-domain-section,
  .scenario-decision-layer,
  .scenario-comparison-lens,
  .solution-capability-map,
  .solution-capability-bridge,
  .solution-capability-return,
  .bc-surface
) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  position: relative;
  z-index: 4;
}

body[data-shell-version="4.2"] :where(
  .star-language a,
  .star-locale-control select,
  .star-menu,
  .star-header-action,
  .star-nav a,
  .star-task-route a,
  .star-global-footer a,
  .eo-actions a,
  .eo-actions button,
  .star-next-step__actions a,
  .star-next-step__actions button,
  .scenario-route-panel a,
  .scenario-domain-section a,
  .scenario-decision-layer a,
  .scenario-comparison-lens a,
  .star-product-route-map a,
  .solution-capability-map a,
  .solution-capability-bridge a,
  .solution-capability-return a,
  .bc-surface a
) {
  min-block-size: 44px;
}

body[data-shell-version="4.2"] .star-language a {
  min-inline-size: 44px;
}

body[data-shell-version="4.2"] .star-global-footer__brand {
  display: inline-flex;
  align-items: center;
}

body[data-shell-version="4.2"] .star-task-route__inner {
  scroll-padding-inline: 16px;
}

body[data-shell-version="4.2"] .star-task-route li {
  scroll-snap-align: center;
}

@media (max-width: 1099.98px) {
  body[data-shell-version="4.2"] .star-nav.is-open {
    max-height: calc(100dvh - var(--v5-header, 64px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body[data-shell-version="4.2"] .star-menu[aria-expanded="true"] {
    background: var(--evidence-ink);
    color: var(--evidence-surface);
  }

  body[data-shell-version="4.2"] .star-task-route__inner {
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--evidence-steel-dark) var(--evidence-surface);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-shell-version="4.2"] :where(.star-task-route__inner, [id]) {
    scroll-behavior: auto !important;
  }

  body[data-shell-version="4.2"] :where(
    .star-evidence-architecture:hover img,
    .star-product-route-map__visual:hover img,
    .executive-business__grid > a:hover,
    .star-visitor-router a:hover::after
  ) {
    transform: none !important;
  }
}

@media (prefers-contrast: more) {
  body[data-shell-version="4.2"] {
    --evidence-muted: var(--evidence-ink);
    --evidence-line: var(--evidence-ink);
    --v5-muted: var(--evidence-ink);
    --v5-line: var(--evidence-ink);
  }

  body[data-shell-version="4.2"] :where(
    .eo-muted,
    .star-product-route-map__truth,
    .scenario-decision-layer__truth,
    .scenario-comparison-lens__truth,
    .star-evidence-architecture__truth
  ) {
    opacity: 1;
  }

  body[data-shell-version="4.2"] :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline-width: 4px;
  }
}

@media (forced-colors: active) {
  body[data-shell-version="4.2"] :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 3px;
    box-shadow: none;
  }

  body[data-shell-version="4.2"] :where(
    .star-language a[aria-current="page"],
    .star-nav a[aria-current="page"],
    .star-task-route a[aria-current="step"],
    [aria-pressed="true"]
  ) {
    outline: 2px solid Highlight;
    outline-offset: -4px;
  }

  body[data-shell-version="4.2"] :where(
    .star-product-route-map,
    .scenario-route-panel,
    .scenario-observatory,
    .scenario-decision-layer,
    .scenario-comparison-lens,
    .solution-capability-map,
    .solution-capability-bridge,
    .star-evidence-architecture,
    .bc-surface
  ) {
    border-color: CanvasText;
  }
}
/*
 * Business-first compact entry points.
 * Public pages open on the usable control or record list, not a marketing hero.
 */
.star-system-presence,
.star-next-step,
main > .eo-page-head,
main > .scenario-route-panel,
main > .scenario-observatory,
main > .scenario-domain-section,
main > .scenario-implementation,
.case-lab-index > .case-lab-hero,
.case-lab-index > .case-lab-agent-cta,
.case-lab-browser .case-lab-section-head,
main > .project-hero,
main > .bc-hero,
main > .bc-map,
main > .bc-index .bc-section-head,
main > .bc-index .bc-next,
body.contact-page main > .page-hero,
body.contact-page main > .star-product-route-map,
.star-agent-stage > .star-agent-stage__map,
.star-home-v5-kicker,
.star-home-v5-hero h1,
.star-home-v5-presence {
  display: none !important;
}

.star-home-v5-hero {
  min-height: 0 !important;
  height: auto !important;
  padding-block: 18px 28px !important;
  align-items: start !important;
}

.star-home-v5-hero__inner {
  min-height: 0 !important;
  height: auto !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.boss-home-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.boss-home-actions a {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(13, 23, 18, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  color: #0d1712;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(13, 23, 18, .05);
}

.boss-home-actions a:hover,
.boss-home-actions a:focus-visible {
  border-color: rgba(13, 23, 18, .38);
  transform: translateY(-2px);
}

.boss-home-actions span {
  color: #35735d;
  font: 700 .68rem/1 ui-monospace, Consolas, monospace;
}

.boss-home-actions strong {
  margin: auto 0 8px;
  font-size: 1.2rem;
}

.boss-home-actions small {
  color: #5b6b63;
  font-size: .78rem;
}

.case-lab-browser {
  padding-top: 18px !important;
}

.project-grid {
  padding-top: 18px !important;
}

main > .bc-index {
  margin-top: 0 !important;
  padding-top: 18px !important;
}

main > .eo-tools {
  margin-top: 0 !important;
  padding-top: 18px !important;
}

main > .star-product-route-map {
  margin-top: 0 !important;
  padding-top: 18px !important;
}

main > .star-product-route-map > .star-product-route-map__head,
main > .star-product-route-map > .star-product-route-map__visual {
  display: none !important;
}

body.contact-page .contact-section {
  margin-top: 0 !important;
  padding-top: 18px !important;
}

.star-agent-stage {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding-top: 18px !important;
}

.star-agent-workspace {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 720px) {
  .star-home-v5-hero { padding-block: 10px 18px !important; }
  .boss-home-actions { grid-template-columns: 1fr 1fr; }
  .boss-home-actions a { min-height: 112px; padding: 14px; }
  .case-lab-browser,
  .project-grid,
  main > .bc-index,
  main > .eo-tools,
  main > .star-product-route-map,
  body.contact-page .contact-section,
  .star-agent-stage { padding-top: 10px !important; }
}

@media (max-width: 430px) {
  .boss-home-actions { grid-template-columns: 1fr; }
  .boss-home-actions a { min-height: 96px; }
}

.star-product-route-map {
  --star-route-ink: #0d1712;
  --star-route-paper: #f4f4ef;
  --star-route-accent: #c7ff4a;
  --star-route-line: rgba(13, 23, 18, 0.18);
  width: min(1600px, calc(100% - clamp(2rem, 6vw, 7rem)));
  margin: clamp(2.5rem, 6vw, 6rem) auto;
  color: var(--star-route-ink);
  background: var(--star-route-paper);
  border: 1px solid var(--star-route-line);
  border-radius: clamp(1.125rem, 2vw, 2rem);
  box-shadow: 0 2.25rem 7rem rgba(13, 23, 18, 0.12);
  overflow: hidden;
}

.star-product-route-map__head {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
}

.star-product-route-map__intro,
.star-product-route-map__context,
.star-product-route-map__context div,
.star-product-route-map__steps li,
.star-product-route-map__steps a {
  min-width: 0;
}

.star-product-route-map__eyebrow,
.star-product-route-map__context dt,
.star-product-route-map__index,
.star-product-route-map__truth {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.star-product-route-map__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: #46650c;
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 750;
}

.star-product-route-map h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--star-route-ink);
  font-size: clamp(1.55rem, 3vw, 3.1rem);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.star-product-route-map__intro p {
  max-width: 48ch;
  margin: 1rem 0 0;
  color: rgba(13, 23, 18, 0.68);
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 1.7;
}

.star-product-route-map__context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  margin: 0;
  border-top: 1px solid var(--star-route-line);
  border-left: 1px solid var(--star-route-line);
}

.star-product-route-map__context div {
  padding: clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--star-route-line);
  border-bottom: 1px solid var(--star-route-line);
}

.star-product-route-map__context dt {
  margin-bottom: 0.65rem;
  color: #607033;
  font-size: 0.66rem;
  font-weight: 750;
}

.star-product-route-map__context dd {
  margin: 0;
  font-size: clamp(0.86rem, 1.1vw, 0.98rem);
  font-weight: 620;
  line-height: 1.5;
}

.star-product-route-map__nav {
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem) clamp(1.5rem, 3.5vw, 3.5rem);
}

.star-product-route-map__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--star-route-line);
  border-left: 1px solid var(--star-route-line);
  list-style: none;
}

.star-product-route-map__steps a {
  position: relative;
  display: flex;
  min-height: 10.5rem;
  height: 100%;
  flex-direction: column;
  padding: clamp(1rem, 2vw, 1.65rem);
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--star-route-line);
  border-bottom: 1px solid var(--star-route-line);
  transition: color 180ms ease, background-color 180ms ease;
}

.star-product-route-map__index {
  display: block;
  margin-bottom: 2.3rem;
  color: #607033;
  font-size: 0.66rem;
  font-weight: 750;
}

.star-product-route-map__steps strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
}

.star-product-route-map__steps small {
  display: block;
  margin-top: 0.7rem;
  color: rgba(13, 23, 18, 0.64);
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  line-height: 1.55;
}

.star-product-route-map__steps a[aria-current="page"] {
  color: var(--star-route-paper);
  background: var(--star-route-ink);
}

.star-product-route-map__steps a[aria-current="page"]::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--star-route-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgba(199, 255, 74, 0.12);
  content: "";
}

.star-product-route-map__steps a[aria-current="page"] .star-product-route-map__index {
  color: var(--star-route-accent);
}

.star-product-route-map__steps a[aria-current="page"] small {
  color: rgba(244, 244, 239, 0.67);
}

.star-product-route-map__visual {
  margin: 0;
  color: var(--star-route-paper);
  background: var(--star-route-ink);
  border-top: 1px solid var(--star-route-line);
}

.star-product-route-map__visual picture,
.star-product-route-map__visual img {
  display: block;
  width: 100%;
}

.star-product-route-map__visual img {
  height: auto;
  aspect-ratio: 1774 / 887;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.star-product-route-map__visual img[src*="/visual-system/v3/"] {
  aspect-ratio: 1672 / 941;
}

.star-product-route-map__visual figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.5rem, 3.5vw, 3.5rem) 1.2rem;
  border-top: 1px solid rgba(244, 244, 239, 0.12);
}

.star-product-route-map__visual figcaption span {
  max-width: 55ch;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.55;
}

.star-product-route-map__truth {
  color: rgba(244, 244, 239, 0.48);
  font-size: 0.62rem !important;
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .star-product-route-map__steps a:not([aria-current="page"]):hover {
    background: rgba(199, 255, 74, 0.2);
  }

  .star-product-route-map__visual:hover img {
    transform: scale(1.012);
  }
}

@media (max-width: 900px) {
  .star-product-route-map__head {
    grid-template-columns: 1fr;
  }

  .star-product-route-map h2 {
    max-width: 23ch;
  }

  .star-product-route-map__steps {
    grid-template-columns: 1fr;
  }

  .star-product-route-map__steps a {
    min-height: 0;
  }

  .star-product-route-map__index {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 600px) {
  .star-product-route-map {
    width: calc(100% - 1.5rem);
    margin: 2rem auto 3rem;
    border-radius: 1.125rem;
  }

  .star-product-route-map__head {
    gap: 1.75rem;
    padding: 1.25rem;
  }

  .star-product-route-map__context {
    grid-template-columns: 1fr;
  }

  .star-product-route-map__nav {
    padding: 0 1.25rem 1.25rem;
  }

  .star-product-route-map__steps a {
    padding: 1rem;
  }

  .star-product-route-map__visual figcaption {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
  }

  .star-product-route-map__truth {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .star-product-route-map {
    width: calc(100% - 1rem);
  }

  .star-product-route-map__head,
  .star-product-route-map__nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star-product-route-map__steps a,
  .star-product-route-map__visual img {
    transition: none;
  }

  .star-product-route-map__visual:hover img {
    transform: none;
  }
}

/* STAR Design System V6
   Product-first enterprise AI workspace shared by every public route. */

:root {
  --star-v6-ink: #111713;
  --star-v6-muted: #68726b;
  --star-v6-line: rgba(17, 23, 19, 0.11);
  --star-v6-line-strong: rgba(17, 23, 19, 0.2);
  --star-v6-paper: #f7f8f4;
  --star-v6-white: #fff;
  --star-v6-mint: #dff8ec;
  --star-v6-aqua: #dcf5f5;
  --star-v6-lime: #d7fb82;
  --star-v6-lime-strong: #bcf34c;
  --star-v6-peach: #fff0df;
  --star-v6-lilac: #eee9ff;
  --star-v6-dark: #102019;
  --star-v6-radius-xl: 36px;
  --star-v6-radius-lg: 28px;
  --star-v6-radius-md: 20px;
  --star-v6-radius-sm: 14px;
  --star-v6-shadow: 0 26px 80px rgba(34, 55, 44, 0.09);
  --star-v6-shadow-soft: 0 14px 40px rgba(34, 55, 44, 0.06);
  --star-v6-shell: min(1200px, calc(100vw - 48px));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: clip;
}

body[data-design-version="6.0"] {
  color: var(--star-v6-ink);
  background:
    radial-gradient(circle at 9% 5%, rgba(217, 255, 230, 0.54), transparent 22rem),
    radial-gradient(circle at 91% 8%, rgba(214, 246, 255, 0.54), transparent 25rem),
    var(--star-v6-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  overflow-x: clip;
}

body[data-design-version="6.0"] ::selection {
  color: #07100b;
  background: var(--star-v6-lime);
}

body[data-design-version="6.0"] :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(44, 154, 114, 0.42);
  outline-offset: 3px;
}

body[data-design-version="6.0"] :where(.star-shell-wrap, .eo-wrap) {
  width: var(--star-v6-shell);
  max-width: 1200px;
}

/* Global chrome */

body[data-design-version="6.0"] .star-global-header {
  min-height: 74px;
  padding: 0 28px;
  border-bottom: 1px solid var(--star-v6-line);
  background: rgba(250, 251, 248, 0.9);
  box-shadow: 0 10px 35px rgba(22, 37, 29, 0.035);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

body[data-design-version="6.0"] .star-brand {
  min-width: 248px;
  padding-right: 28px;
  border-right: 1px solid var(--star-v6-line-strong);
  letter-spacing: 0.2em;
}

body[data-design-version="6.0"] .star-brand small {
  margin-top: 3px;
  color: #667269;
  font-size: 9px;
  letter-spacing: 0.13em;
}

body[data-design-version="6.0"] .star-brand.star-brand--wallin {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 210px;
  min-width: 210px;
  padding: 5px 16px 5px 18px;
  overflow: hidden;
  border-right: 1px solid var(--star-v6-line-strong);
  background: transparent;
  line-height: 0;
}

body[data-design-version="6.0"] .star-brand--wallin img {
  display: block;
  width: 176px;
  height: 50px;
  max-width: none;
  object-fit: cover;
  object-position: center 44%;
}

body[data-design-version="6.0"] .star-nav {
  gap: 4px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(17, 23, 19, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

body[data-design-version="6.0"] .star-nav > a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #445049;
  font-size: 12px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

body[data-design-version="6.0"] .star-nav > a:hover,
body[data-design-version="6.0"] .star-nav > a[aria-current="page"] {
  color: var(--star-v6-ink);
  background: var(--star-v6-white);
  transform: translateY(-1px);
}

body[data-design-version="6.0"] .star-nav > .star-nav-pilot {
  color: #102018;
  background: var(--star-v6-lime);
}

body[data-design-version="6.0"] .star-language {
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--star-v6-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

body[data-design-version="6.0"] .star-language a {
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  color: #5c665f;
  font-size: 10px;
  font-weight: 700;
}

body[data-design-version="6.0"] .star-language a[aria-current="page"] {
  color: #fff;
  background: var(--star-v6-dark);
}

body[data-design-version="6.0"] .star-header-action {
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--star-v6-dark);
  box-shadow: 0 8px 22px rgba(16, 32, 25, 0.16);
}

body[data-design-version="6.0"] .star-menu {
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 48px;
  min-height: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--star-v6-line-strong);
  border-radius: 999px;
  color: var(--star-v6-ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 760;
}

/* Task path becomes a compact product route instead of a second navigation bar. */

body[data-design-version="6.0"] .star-task-route {
  position: relative;
  top: auto;
  z-index: 8;
  border: 0;
  background: transparent;
}

body[data-design-version="6.0"] .star-task-route__inner {
  width: var(--star-v6-shell);
  max-width: 1200px;
  margin: 14px auto 0;
  padding: 8px;
  border: 1px solid var(--star-v6-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--star-v6-shadow-soft);
  backdrop-filter: blur(16px);
}

body[data-design-version="6.0"] .star-task-route__label {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: #316b57;
  background: var(--star-v6-mint);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.11em;
}

body[data-design-version="6.0"] .star-task-route ol {
  gap: 4px;
  width: 100%;
}

body[data-design-version="6.0"] .star-task-route li {
  border: 0;
}

body[data-design-version="6.0"] .star-task-route li a {
  min-height: 42px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease;
}

body[data-design-version="6.0"] .star-task-route li a:hover {
  background: #f2f5ef;
  transform: translateY(-1px);
}

body[data-design-version="6.0"] .star-task-route li[data-task-view-state="current"] a,
body[data-design-version="6.0"] .star-task-route a[aria-current="step"] {
  color: #fff;
  background: var(--star-v6-dark);
}

body[data-design-version="6.0"] .star-task-route li span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
}

body[data-design-version="6.0"] .star-task-route li b {
  font-size: 11px;
}

body[data-design-version="6.0"] .star-reference-support {
  margin-right: 8px;
  border-radius: 999px;
}

/* Consistent AI workspace presence for every inner page. */

.star-system-presence {
  position: relative;
  z-index: 3;
  padding: 14px 0 0;
}

.star-system-presence__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(360px, 1.4fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 114px;
  padding: 18px 20px 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(31, 101, 78, 0.14);
  border-radius: var(--star-v6-radius-lg);
  background:
    radial-gradient(circle at 7% 18%, rgba(183, 255, 211, 0.5), transparent 15rem),
    radial-gradient(circle at 92% 30%, rgba(193, 244, 255, 0.52), transparent 17rem),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--star-v6-shadow-soft);
}

.star-system-presence__inner::after {
  position: absolute;
  top: -110px;
  right: 24%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(43, 123, 94, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.star-system-presence__identity {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.star-system-presence__identity > span {
  color: #397560;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.star-system-presence__identity strong {
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.star-system-presence__identity small {
  max-width: 38ch;
  color: var(--star-v6-muted);
  font-size: 11px;
  line-height: 1.55;
}

.star-system-presence__agents {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.star-system-presence__agents > em {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #476057;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.star-system-presence__agents > em i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25bd7c;
  box-shadow: 0 0 0 5px rgba(37, 189, 124, 0.12);
}

.star-system-presence__agents > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.star-system-presence__agents span {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(17, 23, 19, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.star-system-presence__agents span i {
  display: grid;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #1c4a38;
  background: var(--star-v6-lime);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.star-system-presence__agents span:nth-child(2) i { background: var(--star-v6-aqua); }
.star-system-presence__agents span:nth-child(3) i { background: var(--star-v6-lilac); }
.star-system-presence__agents span:nth-child(4) i { background: var(--star-v6-peach); }

.star-system-presence__agents span b {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.star-system-presence nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.star-system-presence nav a {
  padding: 10px 14px;
  border: 1px solid var(--star-v6-line);
  border-radius: 999px;
  color: var(--star-v6-ink);
  background: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.star-system-presence nav a.is-primary {
  border-color: var(--star-v6-dark);
  color: #fff;
  background: var(--star-v6-dark);
}

/* Inner-page hero system */

body[data-design-version="6.0"]:not([data-home-version]) main {
  position: relative;
  z-index: 1;
}

body[data-design-version="6.0"]:not([data-home-version]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero) {
  width: var(--star-v6-shell);
  max-width: 1200px;
  margin: 18px auto 0;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(17, 23, 19, 0.08);
  border-radius: var(--star-v6-radius-xl);
  background:
    radial-gradient(circle at 12% 10%, rgba(184, 255, 212, 0.72), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(190, 245, 255, 0.76), transparent 27rem),
    linear-gradient(135deg, #f5fff9 0%, #f0fbfa 58%, #f8ffdf 100%);
  box-shadow: var(--star-v6-shadow);
}

body[data-design-version="6.0"]:not([data-home-version]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero)::before {
  position: absolute;
  top: -26rem;
  left: 50%;
  width: 50rem;
  height: 50rem;
  border: 1px solid rgba(37, 128, 96, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

body[data-design-version="6.0"] .eo-page-head__grid,
body[data-design-version="6.0"] .page-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

body[data-design-version="6.0"] :where(.eo-h1, .page-title, .bc-hero__copy h1, .eo-detail-hero h1) {
  max-width: 14ch;
  margin: 14px 0 18px;
  color: var(--star-v6-ink);
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

body[data-design-version="6.0"] :where(.eo-lead, .page-lead, .bc-hero__lead, .eo-detail-hero__lead) {
  max-width: 660px;
  color: #4f5e56;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.65;
}

body[data-design-version="6.0"] :where(.eo-kicker, .scenario-kicker, .bc-kicker, .eyebrow-simple) {
  color: #397560;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

body[data-design-version="6.0"] :where(.eo-truth, .scenario-truth, .bc-truth, .star-product-route-map__truth) {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(48, 111, 86, 0.16);
  border-radius: 999px;
  color: #3f6e5c;
  background: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

body[data-design-version="6.0"] .eo-page-head__aside,
body[data-design-version="6.0"] .hero-note,
body[data-design-version="6.0"] .bc-hero__route {
  padding: 22px;
  border: 1px solid rgba(17, 23, 19, 0.09);
  border-radius: var(--star-v6-radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(32, 62, 48, 0.06);
}

body[data-design-version="6.0"] :where(.eo-actions, .s01-hero-actions, .df-path-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

body[data-design-version="6.0"] :where(.eo-button, .button, .bc-action, .star-action-button) {
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--star-v6-line-strong);
  border-radius: 999px;
  color: var(--star-v6-ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body[data-design-version="6.0"] :where(.eo-button, .button, .bc-action, .star-action-button):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(25, 49, 37, 0.11);
}

body[data-design-version="6.0"] :where(.eo-button--solid, .button-dark, .button-acid, .bc-action--solid) {
  border-color: var(--star-v6-dark);
  color: #fff;
  background: var(--star-v6-dark);
}

/* Shared content surfaces become a spacious Bento system. */

body[data-design-version="6.0"] :where(.eo-section, .site-section, .scenario-domain-section, .scenario-implementation, .df-section) {
  width: var(--star-v6-shell);
  max-width: 1200px;
  margin: 18px auto 0;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--star-v6-shadow-soft);
}

body[data-design-version="6.0"] :where(.eo-section:nth-of-type(3n), .site-section:nth-of-type(3n)) {
  background: linear-gradient(140deg, #f3fff8, #f1fbfa 55%, #fbffe9);
}

body[data-design-version="6.0"] :where(.eo-section-head, .section-head, .scenario-section-head, .df-section__head) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--star-v6-line);
}

body[data-design-version="6.0"] :where(.eo-h2, .section-title, .scenario-section-head h2, .df-section__head h2) {
  max-width: 16ch;
  margin: 6px 0 0;
  color: var(--star-v6-ink);
  font-size: clamp(30px, 4.1vw, 54px);
  font-weight: 710;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

body[data-design-version="6.0"] :where(.eo-section-head > p, .scenario-section-head > p, .df-section__intro) {
  color: var(--star-v6-muted);
  font-size: 13px;
  line-height: 1.72;
}

body[data-design-version="6.0"] :where(.eo-grid-3, .solution-grid, .scenario-domain-grid, .bc-scenarios, .s01-scenario-panels) {
  gap: 12px;
}

body[data-design-version="6.0"] .eo-grid-3 > article,
body[data-design-version="6.0"] .solution-card,
body[data-design-version="6.0"] .scenario-domain-card,
body[data-design-version="6.0"] .bc-card,
body[data-design-version="6.0"] .s01-scenario-panel {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-lg);
  background: #f8faf6;
  box-shadow: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

body[data-design-version="6.0"] .eo-grid-3 > article:nth-child(4n + 1),
body[data-design-version="6.0"] .solution-card:nth-child(4n + 1),
body[data-design-version="6.0"] .scenario-domain-card:nth-child(4n + 1),
body[data-design-version="6.0"] .bc-card:nth-child(4n + 1) { background: var(--star-v6-mint); }

body[data-design-version="6.0"] .eo-grid-3 > article:nth-child(4n + 2),
body[data-design-version="6.0"] .solution-card:nth-child(4n + 2),
body[data-design-version="6.0"] .scenario-domain-card:nth-child(4n + 2),
body[data-design-version="6.0"] .bc-card:nth-child(4n + 2) { background: var(--star-v6-aqua); }

body[data-design-version="6.0"] .eo-grid-3 > article:nth-child(4n + 3),
body[data-design-version="6.0"] .solution-card:nth-child(4n + 3),
body[data-design-version="6.0"] .scenario-domain-card:nth-child(4n + 3),
body[data-design-version="6.0"] .bc-card:nth-child(4n + 3) { background: var(--star-v6-lilac); }

body[data-design-version="6.0"] .eo-grid-3 > article:nth-child(4n),
body[data-design-version="6.0"] .solution-card:nth-child(4n),
body[data-design-version="6.0"] .scenario-domain-card:nth-child(4n),
body[data-design-version="6.0"] .bc-card:nth-child(4n) { background: var(--star-v6-peach); }

body[data-design-version="6.0"] .eo-grid-3 > article:hover,
body[data-design-version="6.0"] .solution-card:hover,
body[data-design-version="6.0"] .scenario-domain-card:hover,
body[data-design-version="6.0"] .bc-card:hover {
  border-color: rgba(41, 116, 88, 0.28);
  box-shadow: 0 18px 42px rgba(24, 49, 37, 0.09);
  transform: translateY(-4px);
}

body[data-design-version="6.0"] :where(.eo-grid-3, .solution-grid, .scenario-domain-grid, .bc-scenarios) h3 {
  margin: 26px 0 10px;
  color: var(--star-v6-ink);
  font-size: clamp(20px, 2.1vw, 29px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

body[data-design-version="6.0"] :where(.eo-grid-3, .solution-grid, .scenario-domain-grid, .bc-scenarios) p {
  color: #59665e;
  font-size: 13px;
  line-height: 1.7;
}

body[data-design-version="6.0"] :where(.eo-meta, .card-code, .scenario-domain-card__code, .bc-card__code) {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(17, 23, 19, 0.1);
  border-radius: 999px;
  color: #2c624e;
  background: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 780;
}

/* Visual product canvases */

body[data-design-version="6.0"] :where(.star-page-visual, .solution-capability-visual, .star-product-route-map__visual, .scenario-implementation__figure, .scenario-observatory, .df-hero__proof, .df-folio, .eo-atlas) {
  width: var(--star-v6-shell);
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-xl);
  background: var(--star-v6-white);
  box-shadow: var(--star-v6-shadow);
}

body[data-design-version="6.0"] :where(.eo-section, .site-section, .page-hero, .eo-page-head, .scenario-implementation, .star-product-route-map, .solution-capability-map, .solution-capability-bridge, .df-section) :where(.star-page-visual, .solution-capability-visual, .star-product-route-map__visual, .scenario-implementation__figure, .scenario-observatory, .df-hero__proof, .df-folio, .eo-atlas) {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

body[data-design-version="6.0"] :where(.star-page-visual, .solution-capability-visual, .star-product-route-map__visual, .scenario-implementation__figure) img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--star-v6-radius-xl) - 10px);
}

body[data-design-version="6.0"] :where(.star-page-visual, .solution-capability-visual, .star-product-route-map__visual, .scenario-implementation__figure) figcaption {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 17px 14px 8px;
  color: #617068;
  font-size: 9px;
  letter-spacing: 0.08em;
}

body[data-design-version="6.0"] .star-context {
  border: 0;
  background: transparent;
}

body[data-design-version="6.0"] .star-context__inner {
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px solid var(--star-v6-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

/* Scenario registry and data tools */

body[data-design-version="6.0"] :where(.eo-tools, .eo-search, .eo-results, .eo-compare-tray, .scenario-route-panel) {
  border-color: var(--star-v6-line);
  border-radius: var(--star-v6-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--star-v6-shadow-soft);
}

body[data-design-version="6.0"] :where(.eo-search input, .solution-form input, .solution-form textarea, .solution-form select, .assistant-form input) {
  min-height: 48px;
  border: 1px solid var(--star-v6-line-strong);
  border-radius: 15px;
  color: var(--star-v6-ink);
  background: #fff;
}

body[data-design-version="6.0"] :where(.eo-view-switch, .s01-scenario-tabs) {
  padding: 5px;
  border: 1px solid var(--star-v6-line);
  border-radius: 999px;
  background: #f2f5ef;
}

body[data-design-version="6.0"] :where(.eo-view-switch button, .s01-scenario-tabs button) {
  border: 0;
  border-radius: 999px;
}

body[data-design-version="6.0"] :where(.eo-view-switch button[aria-pressed="true"], .s01-scenario-tabs button[aria-selected="true"]) {
  color: #fff;
  background: var(--star-v6-dark);
}

body[data-design-version="6.0"] .eo-registry {
  gap: 12px;
}

body[data-design-version="6.0"] .eo-record {
  overflow: hidden;
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-lg);
  background: #fff;
  box-shadow: var(--star-v6-shadow-soft);
}

body[data-design-version="6.0"] .eo-record__head,
body[data-design-version="6.0"] .eo-record__register,
body[data-design-version="6.0"] .eo-record__flow {
  border-color: var(--star-v6-line);
}

body[data-design-version="6.0"] .eo-chip {
  border-radius: 999px;
}

/* Product-route, capability and governance modules */

body[data-design-version="6.0"] :where(.star-product-route-map, .solution-capability-map, .solution-capability-bridge, .star-evidence-architecture, .scenario-decision-layer, .scenario-comparison-lens) {
  width: var(--star-v6-shell);
  max-width: 1200px;
  margin: 18px auto 0;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--star-v6-shadow);
}

body[data-design-version="6.0"] :where(.solution-main-route, .star-product-route-map__nav) ol {
  gap: 8px;
}

body[data-design-version="6.0"] :where(.solution-main-route, .star-product-route-map__nav) li,
body[data-design-version="6.0"] .star-product-route-map__steps li {
  overflow: hidden;
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-md);
  background: #f7f9f5;
}

body[data-design-version="6.0"] .solution-capability-nodes {
  gap: 10px;
}

body[data-design-version="6.0"] .solution-capability-node,
body[data-design-version="6.0"] .solution-capability-siblings a,
body[data-design-version="6.0"] .solution-capability-contract > div {
  border-color: var(--star-v6-line);
  border-radius: var(--star-v6-radius-md);
  background: #f7faf6;
}

body[data-design-version="6.0"] .solution-capability-node:nth-child(odd) {
  background: var(--star-v6-mint);
}

body[data-design-version="6.0"] :where(.star-evidence-architecture__step, .scenario-decision-layer__coordinate, .scenario-decision-layer__task, .scenario-decision-layer__truth, .scenario-decision-layer__next) {
  border-color: var(--star-v6-line);
  border-radius: var(--star-v6-radius-md);
  background: #f7faf6;
}

/* Bespoke decision folios retain density but live inside the same product shell. */

body[data-design-version="6.0"] :where(.df-section, .s01-stage) {
  overflow: hidden;
}

body[data-design-version="6.0"] :where(.df-folio__sheet, .df-ledger, .df-contract, .df-operating-brief, .s01-event-disclosure, .s01-outcome-rule) {
  border-color: var(--star-v6-line);
  border-radius: var(--star-v6-radius-lg);
  background: #fff;
  box-shadow: var(--star-v6-shadow-soft);
}

/* Forms */

body[data-design-version="6.0"] .contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: start;
}

body[data-design-version="6.0"] .solution-form,
body[data-design-version="6.0"] :where(.contact-direct, .contact-guide, .brief-preview) {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-lg);
  background: #fff;
  box-shadow: var(--star-v6-shadow-soft);
}

body[data-design-version="6.0"] .solution-form {
  gap: 15px;
}

body[data-design-version="6.0"] .solution-form label {
  color: #435148;
  font-size: 11px;
  font-weight: 700;
}

/* Next-step, footer and assistant */

body[data-design-version="6.0"] .star-next-step {
  width: var(--star-v6-shell);
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--star-v6-radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(189, 243, 76, 0.19), transparent 18rem),
    radial-gradient(circle at 13% 110%, rgba(62, 178, 142, 0.22), transparent 22rem),
    var(--star-v6-dark);
  box-shadow: var(--star-v6-shadow);
}

body[data-design-version="6.0"] .star-next-step__inner {
  width: 100%;
  max-width: none;
  padding: clamp(32px, 5vw, 60px);
}

body[data-design-version="6.0"] .star-next-step__marker {
  color: var(--star-v6-lime);
}

body[data-design-version="6.0"] .star-next-step h2 {
  max-width: 12ch;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

body[data-design-version="6.0"] .star-next-step__body > div:not(.star-next-step__actions) {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--star-v6-radius-md);
  background: rgba(255, 255, 255, 0.05);
}

body[data-design-version="6.0"] :where(.star-primary-action, .star-secondary-action) {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
}

body[data-design-version="6.0"] .star-primary-action {
  border-color: var(--star-v6-lime);
  color: #122019;
  background: var(--star-v6-lime);
}

body[data-design-version="6.0"] .star-secondary-action {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

body[data-design-version="6.0"] .star-non-effect {
  color: rgba(255, 255, 255, 0.56);
}

body[data-design-version="6.0"] .star-global-footer {
  margin-top: 18px;
  padding: 56px 0 24px;
  border: 0;
  color: #dce6df;
  background: #0c1510;
}

body[data-design-version="6.0"] .star-global-footer__main {
  gap: 50px;
}

body[data-design-version="6.0"] .star-global-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 20px;
}

body[data-design-version="6.0"] .star-global-footer nav a {
  color: #afbbb3;
}

body[data-design-version="6.0"] .star-global-footer nav a:hover {
  color: var(--star-v6-lime);
}

body[data-design-version="6.0"] .star-global-footer__bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top-color: rgba(255, 255, 255, 0.1);
}

body[data-design-version="6.0"] .assistant-launch {
  top: auto;
  right: 22px;
  bottom: 22px;
  left: auto;
  display: inline-flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: var(--star-v6-dark);
  box-shadow: 0 18px 48px rgba(15, 31, 23, 0.26);
  writing-mode: horizontal-tb;
}

body[data-design-version="6.0"] .assistant-panel {
  right: 20px;
  bottom: 80px;
  overflow: hidden;
  border: 1px solid var(--star-v6-line);
  border-radius: var(--star-v6-radius-lg);
  box-shadow: 0 30px 90px rgba(17, 31, 24, 0.28);
}

/* Homepage owns its own narrative layout; V6 only aligns the shared chrome. */

body[data-home-version="5.0"] .star-task-route,
body[data-home-version="5.0"] .star-system-presence {
  display: none;
}

@media (max-width: 1120px) {
  :root { --star-v6-shell: min(100% - 32px, 1200px); }

  body[data-design-version="6.0"] .star-global-header {
    padding-inline: 16px;
  }

  body[data-design-version="6.0"] .star-brand {
    min-width: 190px;
    padding-right: 16px;
  }

  body[data-design-version="6.0"] .star-brand.star-brand--wallin {
    width: 190px;
    min-width: 190px;
    padding-inline: 12px;
  }

  body[data-design-version="6.0"] .star-brand--wallin img {
    width: 164px;
    height: 46px;
  }

  body[data-design-version="6.0"] .star-nav > a {
    padding-inline: 9px;
    font-size: 10px;
  }

  .star-system-presence__inner {
    grid-template-columns: minmax(230px, 0.9fr) minmax(360px, 1.3fr);
  }

  .star-system-presence nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body[data-design-version="6.0"] .star-global-header {
    min-height: 66px;
  }

  body[data-design-version="6.0"] .star-brand {
    border-right: 0;
  }

  body[data-design-version="6.0"] .star-brand.star-brand--wallin {
    border-right: 0;
  }

  body[data-design-version="6.0"] .star-menu {
    display: inline-flex;
  }

  body[data-design-version="6.0"] .star-nav {
    border-radius: 22px;
  }

  body[data-design-version="6.0"] .star-task-route__inner {
    align-items: center;
    overflow-x: auto;
    border-radius: 24px;
    scrollbar-width: none;
  }

  body[data-design-version="6.0"] .star-task-route__inner::-webkit-scrollbar { display: none; }

  body[data-design-version="6.0"] .star-task-route ol {
    width: max-content;
    min-width: 720px;
  }

  .star-system-presence__inner {
    grid-template-columns: 1fr;
  }

  body[data-design-version="6.0"] :where(.eo-section-head, .section-head, .scenario-section-head, .df-section__head) {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-design-version="6.0"] .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --star-v6-shell: calc(100% - 20px);
    --star-v6-radius-xl: 26px;
    --star-v6-radius-lg: 21px;
    --star-v6-radius-md: 17px;
  }

  html { scroll-padding-top: 80px; }

  body[data-design-version="6.0"] .star-global-header {
    padding-inline: 10px;
  }

  body[data-design-version="6.0"] .star-brand {
    min-width: 0;
    font-size: 17px;
  }

  body[data-design-version="6.0"] .star-brand.star-brand--wallin {
    width: 138px;
    min-width: 138px;
    padding: 3px 6px;
  }

  body[data-design-version="6.0"] .star-brand--wallin img {
    width: 126px;
    height: 40px;
  }

  body[data-design-version="6.0"] .star-brand small {
    max-width: 165px;
    font-size: 7px;
  }

  body[data-design-version="6.0"] .star-language a {
    padding: 6px 7px;
    font-size: 8px;
  }

  body[data-design-version="6.0"] .star-header-action {
    display: none;
  }

  body[data-design-version="6.0"] .star-task-route__inner {
    margin-top: 8px;
  }

  body[data-design-version="6.0"] .star-task-route__label {
    display: none;
  }

  .star-system-presence {
    padding-top: 8px;
  }

  .star-system-presence__inner {
    gap: 16px;
    min-height: 0;
    padding: 20px;
  }

  .star-system-presence__agents > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .star-system-presence__agents span b {
    font-size: 8px;
  }

  body[data-design-version="6.0"]:not([data-home-version]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero) {
    margin-top: 10px;
    padding: 30px 22px 34px;
  }

  body[data-design-version="6.0"] .eo-page-head__grid,
  body[data-design-version="6.0"] .page-hero-grid {
    gap: 24px;
  }

  body[data-design-version="6.0"] :where(.eo-h1, .page-title, .bc-hero__copy h1, .eo-detail-hero h1) {
    max-width: none;
    font-size: clamp(38px, 12vw, 54px);
  }

  body[data-design-version="6.0"] :where(.eo-lead, .page-lead, .bc-hero__lead, .eo-detail-hero__lead) {
    font-size: 15px;
  }

  body[data-design-version="6.0"] :where(.eo-section, .site-section, .scenario-domain-section, .scenario-implementation, .df-section) {
    margin-top: 10px;
    padding: 24px 18px;
  }

  body[data-design-version="6.0"] :where(.eo-h2, .section-title, .scenario-section-head h2, .df-section__head h2) {
    font-size: clamp(29px, 9vw, 42px);
  }

  body[data-design-version="6.0"] :where(.eo-grid-3, .solution-grid, .scenario-domain-grid, .bc-scenarios, .s01-scenario-panels) {
    grid-template-columns: 1fr;
  }

  body[data-design-version="6.0"] .eo-grid-3 > article,
  body[data-design-version="6.0"] .solution-card,
  body[data-design-version="6.0"] .scenario-domain-card,
  body[data-design-version="6.0"] .bc-card,
  body[data-design-version="6.0"] .s01-scenario-panel {
    min-height: 0;
    padding: 21px;
  }

  body[data-design-version="6.0"] :where(.star-product-route-map, .solution-capability-map, .solution-capability-bridge, .star-evidence-architecture, .scenario-decision-layer, .scenario-comparison-lens) {
    margin-top: 10px;
    padding: 24px 18px;
  }

  body[data-design-version="6.0"] :where(.star-page-visual, .solution-capability-visual, .star-product-route-map__visual, .scenario-implementation__figure, .scenario-observatory, .df-hero__proof, .df-folio, .eo-atlas) {
    margin-top: 10px;
    padding: 6px;
  }

  body[data-design-version="6.0"] :where(.star-page-visual, .solution-capability-visual, .star-product-route-map__visual, .scenario-implementation__figure) figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  body[data-design-version="6.0"] .star-next-step {
    margin-top: 10px;
  }

  body[data-design-version="6.0"] .star-next-step__inner {
    padding: 32px 20px;
  }

  body[data-design-version="6.0"] .star-global-footer {
    margin-top: 10px;
    padding-top: 42px;
  }

  body[data-design-version="6.0"] .star-global-footer__main {
    grid-template-columns: 1fr;
  }

  body[data-design-version="6.0"] .star-global-footer nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-design-version="6.0"] .assistant-launch {
    right: 12px;
    bottom: 12px;
  }

  body[data-design-version="6.0"] .assistant-panel {
    right: 10px;
    bottom: 70px;
    width: calc(100vw - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body[data-design-version="6.0"] *,
  body[data-design-version="6.0"] *::before,
  body[data-design-version="6.0"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* STAR professional channel system v1
   One brand shell; distinct visual grammar for each enterprise specialty. */

:root {
  --channel-blue: #0767ea;
  --channel-green: #1bb86b;
  --channel-orange: #ff9f0a;
  --channel-violet: #7654f6;
  --channel-cyan: #45d7ff;
  --channel-lime: #c9f45a;
  --channel-red: #ff5d47;
  --channel-navy: #101b35;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) {
  --channel-accent: var(--channel-blue);
  --channel-accent-2: var(--channel-cyan);
  --channel-surface: #eaf2ff;
  --channel-soft: #f5f8ff;
  --channel-ink: var(--channel-navy);
  --channel-on-accent: #fff;
  background:
    radial-gradient(circle at 8% 3%, color-mix(in srgb, var(--channel-accent) 10%, transparent), transparent 25rem),
    radial-gradient(circle at 92% 7%, color-mix(in srgb, var(--channel-accent-2) 13%, transparent), transparent 28rem),
    #f4f7fb;
}

body[data-page-family="solution-index"],
body[data-page-family="solution-detail"] {
  --channel-accent: var(--channel-violet);
  --channel-accent-2: var(--channel-cyan);
  --channel-surface: #ece9ff;
  --channel-soft: #f7f5ff;
  --channel-ink: #171535;
}

body[data-page-family="industry-index"],
body[data-page-family="industry-detail"] {
  --channel-accent: var(--channel-orange);
  --channel-accent-2: #ffd356;
  --channel-surface: #fff0d8;
  --channel-soft: #fffaf1;
  --channel-ink: #322010;
  --channel-on-accent: #201207;
}

body[data-page-family="function-index"],
body[data-page-family="function-detail"] {
  --channel-accent: var(--channel-green);
  --channel-accent-2: #62d8cf;
  --channel-surface: #dcf7ed;
  --channel-soft: #f0fbf7;
  --channel-ink: #102b22;
}

body[data-page-family="governance"] {
  --channel-accent: var(--channel-lime);
  --channel-accent-2: var(--channel-red);
  --channel-surface: #17261f;
  --channel-soft: #eef5ef;
  --channel-ink: #0e1b15;
  --channel-on-accent: #122016;
}

body[data-page-family="evidence"] {
  --channel-accent: var(--channel-cyan);
  --channel-accent-2: var(--channel-blue);
  --channel-surface: #102942;
  --channel-soft: #edf8ff;
  --channel-ink: #0b243b;
  --channel-on-accent: #092035;
}

body[data-page-family="approach"],
body[data-page-family="operating-model"],
body[data-page-family="pilot-contact"] {
  --channel-accent: var(--channel-orange);
  --channel-accent-2: var(--channel-lime);
  --channel-surface: #fff0d8;
  --channel-soft: #fffbf2;
  --channel-ink: #2c2013;
  --channel-on-accent: #201207;
}

body[data-page-family="agent-chat"] {
  --channel-accent: var(--channel-lime);
  --channel-accent-2: var(--channel-cyan);
  --channel-surface: #111b35;
  --channel-soft: #edf3ff;
  --channel-ink: #101b35;
  --channel-on-accent: #101b35;
}

/* Shared channel chrome */

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-global-header {
  min-height: 76px;
  border-bottom-color: rgba(16, 27, 53, .08);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 9px 30px rgba(23, 39, 75, .05);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-nav {
  border-color: rgba(16, 27, 53, .08);
  background: #f5f7fb;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-nav > a[aria-current="page"] {
  color: var(--channel-on-accent);
  background: var(--channel-accent);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-header-action,
body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-nav-agent {
  color: #fff;
  background: var(--channel-ink);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-language a[aria-current="page"] {
  color: var(--channel-on-accent);
  background: var(--channel-accent);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-task-route__inner {
  min-height: 48px;
  margin-top: 10px;
  padding: 5px;
  border-color: rgba(16, 27, 53, .09);
  box-shadow: 0 10px 30px rgba(16, 27, 53, .055);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-task-route__label {
  color: var(--channel-ink);
  background: var(--channel-surface);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-task-route li a {
  min-height: 38px;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-task-route li[data-task-view-state="current"] a,
body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-task-route a[aria-current="step"] {
  color: var(--channel-on-accent);
  background: var(--channel-accent);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence {
  padding-top: 10px;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__inner {
  min-height: 96px;
  padding: 15px 18px 15px 22px;
  border: 0;
  border-radius: 27px;
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--channel-surface) 92%, white), color-mix(in srgb, var(--channel-accent-2) 18%, white));
  box-shadow: 0 18px 45px rgba(20, 40, 78, .07);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__inner::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  border-radius: 27px 0 0 27px;
  background: var(--channel-accent);
  content: "";
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__inner::after {
  top: -170px;
  right: 24%;
  width: 330px;
  height: 330px;
  border-color: color-mix(in srgb, var(--channel-accent) 18%, transparent);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__identity > span {
  color: color-mix(in srgb, var(--channel-accent) 70%, var(--channel-ink));
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__agents > em i {
  background: var(--channel-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--channel-accent) 16%, transparent);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__agents span:first-child i {
  color: var(--channel-on-accent);
  background: var(--channel-accent);
}

/* The channel identity and task route already explain location. Remove the
   repeated breadcrumb/task slab so the specialist content reaches the fold. */
body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-context {
  display: none;
}

/* Shared specialist hero */

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]):not([data-page-family="agent-chat"]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero) {
  position: relative;
  display: grid;
  min-height: 410px;
  align-items: center;
  margin-top: 12px;
  padding: clamp(42px, 5vw, 68px);
  border: 0;
  border-radius: 38px;
  background:
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--channel-accent-2) 45%, transparent), transparent 19rem),
    radial-gradient(circle at 8% 88%, color-mix(in srgb, var(--channel-accent) 23%, transparent), transparent 21rem),
    var(--channel-surface);
  box-shadow: 0 28px 80px rgba(22, 38, 73, .1);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]):not([data-page-family="agent-chat"]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero)::before {
  top: -22rem;
  left: 72%;
  width: 43rem;
  height: 43rem;
  border: 1px solid color-mix(in srgb, var(--channel-accent) 23%, transparent);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]):not([data-page-family="agent-chat"]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero)::after {
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 70px;
  height: 70px;
  border: 14px solid var(--channel-accent);
  border-radius: 28px 12px 30px 16px;
  content: "";
  opacity: .92;
  transform: rotate(12deg);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-h1, .page-title, .bc-hero__copy h1, .eo-detail-hero h1) {
  max-width: 15ch;
  margin-block: 12px 18px;
  color: var(--channel-ink);
  font-size: clamp(46px, 5.55vw, 76px);
  line-height: .98;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-kicker, .scenario-kicker, .bc-kicker, .eyebrow-simple) {
  color: color-mix(in srgb, var(--channel-accent) 76%, var(--channel-ink));
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-page-head__aside, .hero-note, .bc-hero__route) {
  border: 0;
  border-radius: 24px;
  color: var(--channel-ink);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 45px rgba(20, 38, 74, .08);
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-button--solid, .star-primary-action, .solution-capability-return__actions a:first-child, .scenario-decision-layer__actions a:first-child) {
  border-color: var(--channel-accent);
  color: var(--channel-on-accent);
  background: var(--channel-accent);
}

/* Scenario intelligence: atlas, diagnostic cards and comparable records. */

body:is([data-page-family="scenario-library"],[data-page-family="scenario-detail"],[data-page-family="scenario-compare"]) {
  background-color: #eef4ff;
}

body:is([data-page-family="scenario-library"],[data-page-family="scenario-detail"],[data-page-family="scenario-compare"]) .scenario-route-panel,
body:is([data-page-family="scenario-library"],[data-page-family="scenario-detail"],[data-page-family="scenario-compare"]) .scenario-decision-layer,
body:is([data-page-family="scenario-library"],[data-page-family="scenario-detail"],[data-page-family="scenario-compare"]) .scenario-comparison-lens {
  border-color: color-mix(in srgb, var(--channel-blue) 25%, transparent);
  border-radius: 30px;
  box-shadow: 0 22px 65px rgba(21, 74, 164, .09);
}

body[data-page-family="scenario-library"] .scenario-domain-card {
  min-height: 420px;
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(18, 65, 150, .08);
}

body[data-page-family="scenario-library"] .scenario-domain-card::before {
  display: block;
  width: 82px;
  height: 14px;
  margin: -1px 0 28px;
  border-radius: 0 0 12px 0;
  background: var(--channel-blue);
  content: "";
}

body[data-page-family="scenario-library"] .scenario-domain-card:nth-child(2)::before { background: var(--channel-green); }
body[data-page-family="scenario-library"] .scenario-domain-card:nth-child(3)::before { background: var(--channel-orange); }

body[data-page-family="scenario-library"] .eo-tools {
  border-block: 0;
  background: var(--channel-navy);
  color: #fff;
}

/* Capability engineering: dark system surface and connected nodes. */

body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) :where(.eo-page-head, .page-hero, .eo-detail-hero) {
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(69, 215, 255, .33), transparent 20rem),
    radial-gradient(circle at 10% 90%, rgba(118, 84, 246, .68), transparent 23rem),
    #171535 !important;
}

body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) :where(.eo-h1, .page-title, .eo-detail-hero h1, .eo-lead, .page-lead) {
  color: #fff !important;
}

body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) .hero-note,
body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) .eo-page-head__aside {
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
  backdrop-filter: blur(15px);
}

body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) :where(.breadcrumb, .breadcrumb a, .breadcrumb b, .hero-note span, .hero-note b, .hero-note small) {
  color: #dff8ff !important;
}

body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) :where(.solution-capability-map, .solution-capability-bridge) {
  border-radius: 38px;
  background:
    linear-gradient(rgba(118, 84, 246, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 84, 246, .055) 1px, transparent 1px),
    #fff;
  background-size: 34px 34px;
  box-shadow: 0 28px 80px rgba(44, 30, 105, .1);
}

body:is([data-page-family="solution-index"],[data-page-family="solution-detail"]) .solution-capability-node {
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(66, 43, 145, .07);
}

/* Industry operations: warm editorial lanes and process handoffs. */

body:is([data-page-family="industry-index"],[data-page-family="industry-detail"]) :where(.eo-page-head, .bc-hero, .eo-detail-hero) {
  background:
    linear-gradient(120deg, rgba(255, 159, 10, .18), transparent 52%),
    radial-gradient(circle at 85% 20%, rgba(255, 211, 86, .72), transparent 20rem),
    #fff3de !important;
}

body:is([data-page-family="industry-index"],[data-page-family="industry-detail"]) :where(.business-coordinate-map, .bc-map, .eo-grid-3 > article) {
  border-radius: 30px;
  background-color: #fffaf1;
  box-shadow: 0 20px 55px rgba(120, 68, 13, .08);
}

body:is([data-page-family="industry-index"],[data-page-family="industry-detail"]) :where(.business-coordinate-map, .bc-map)::before {
  border-color: var(--channel-orange);
}

/* Functional ownership: structured matrix and responsibility lanes. */

body:is([data-page-family="function-index"],[data-page-family="function-detail"]) :where(.eo-page-head, .bc-hero, .eo-detail-hero) {
  background:
    linear-gradient(rgba(27, 184, 107, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 184, 107, .09) 1px, transparent 1px),
    linear-gradient(135deg, #e2faef, #e7fbff) !important;
  background-size: 42px 42px, 42px 42px, auto;
}

body:is([data-page-family="function-index"],[data-page-family="function-detail"]) :where(.business-coordinate-map, .bc-map, .eo-grid-3) {
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(13, 95, 67, .09);
}

body:is([data-page-family="function-index"],[data-page-family="function-detail"]) .eo-grid-3 > article {
  border-top: 7px solid var(--channel-green);
  border-radius: 20px;
}

/* Governance control: high-contrast gates and warning states. */

body[data-page-family="governance"] .eo-page-head {
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 244, 90, .2), transparent 20rem),
    linear-gradient(145deg, #0d1914, #1c3026) !important;
}

body[data-page-family="governance"] :where(.eo-page-head .eo-h1, .eo-page-head .eo-lead) { color: #fff !important; }
body[data-page-family="governance"] :where(.eo-page-head .eo-kicker, .eo-page-head .eyebrow-simple) { color: var(--channel-lime) !important; }
body[data-page-family="governance"] .eo-page-head__aside { color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
body[data-page-family="governance"] .eo-page-head::after { border-color: var(--channel-lime); }

body[data-page-family="governance"] .star-evidence-architecture {
  border-radius: 38px;
  background: #12221a;
  box-shadow: 0 30px 85px rgba(10, 29, 20, .2);
}

body[data-page-family="governance"] .star-evidence-architecture__legend li {
  border-left: 5px solid var(--channel-lime);
}

body[data-page-family="governance"] .star-evidence-architecture__legend li:nth-child(3n) {
  border-left-color: var(--channel-red);
}

/* Evidence operations: ledger lines, receipts and readback. */

body[data-page-family="evidence"] .eo-page-head {
  color: #fff;
  background:
    linear-gradient(rgba(69, 215, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 215, 255, .08) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(7, 103, 234, .7), transparent 21rem),
    #102942 !important;
  background-size: 36px 36px, 36px 36px, auto, auto;
}

body[data-page-family="evidence"] :where(.eo-page-head .eo-h1, .eo-page-head .eo-lead) { color: #fff !important; }
body[data-page-family="evidence"] :where(.eo-page-head .eo-kicker, .eo-page-head .eyebrow-simple) { color: var(--channel-cyan) !important; }
body[data-page-family="evidence"] .eo-page-head__aside { color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
body[data-page-family="evidence"] .eo-page-head::after { border-color: var(--channel-cyan); }

body[data-page-family="evidence"] .star-evidence-architecture {
  border-radius: 38px;
  background: #f1f9ff;
  box-shadow: 0 30px 85px rgba(8, 58, 99, .14);
}

body[data-page-family="evidence"] .star-evidence-architecture__legend {
  border-left: 2px dashed var(--channel-blue);
}

/* Pilot studio: warm steps, explicit Owners and action boundaries. */

body:is([data-page-family="approach"],[data-page-family="operating-model"],[data-page-family="pilot-contact"]) :where(.eo-page-head, .page-hero, .eo-detail-hero) {
  background:
    radial-gradient(circle at 82% 20%, rgba(201, 244, 90, .7), transparent 19rem),
    linear-gradient(135deg, #fff0d8, #fffaf0) !important;
}

body:is([data-page-family="approach"],[data-page-family="operating-model"],[data-page-family="pilot-contact"]) :where(.star-product-route-map, .eo-section, .solution-form) {
  border-radius: 34px;
}

body:is([data-page-family="approach"],[data-page-family="operating-model"],[data-page-family="pilot-contact"]) .star-product-route-map__step {
  border-top: 7px solid var(--channel-orange);
  border-radius: 22px;
}

/* STAR-AI workspace: direct, dark professional command surface. */

body[data-page-family="agent-chat"] .star-task-route,
body[data-page-family="agent-chat"] .star-system-presence {
  display: none;
}

body[data-page-family="agent-chat"] .star-agent-stage {
  min-height: calc(100svh - 76px);
  margin-top: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(69, 215, 255, .15), transparent 22rem),
    radial-gradient(circle at 86% 84%, rgba(201, 244, 90, .1), transparent 20rem),
    #101b35;
}

body[data-page-family="agent-chat"] .star-agent-stage__map {
  background: transparent;
}

body[data-page-family="agent-chat"] .star-agent-workspace {
  border: 8px solid rgba(255, 255, 255, .1);
  border-radius: 36px 0 0 36px;
  box-shadow: -28px 0 80px rgba(0, 0, 0, .2);
}

/* Card and section polish shared by all channels. */

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-section, .site-section, .df-section, .scenario-domain-section) {
  position: relative;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-grid-3 > article, .star-product-proof__grid figure, .solution-capability-node) {
  transition: transform .22s ease, box-shadow .22s ease;
}

body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-grid-3 > article, .star-product-proof__grid figure, .solution-capability-node):hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px color-mix(in srgb, var(--channel-accent) 13%, transparent);
}

@media (max-width: 1080px) {
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__inner {
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  }
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence nav { display: none; }
}

@media (max-width: 820px) {
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-task-route { display: none; }
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence { padding-top: 8px; }
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 17px 19px;
  }
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) .star-system-presence__agents { display: none; }
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]):not([data-page-family="agent-chat"]) :where(.eo-page-head, .bc-hero, .page-hero, .eo-detail-hero) {
    min-height: 0;
    padding: 38px 25px 82px;
    border-radius: 28px;
  }
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) :where(.eo-h1, .page-title, .bc-hero__copy h1, .eo-detail-hero h1) {
    max-width: none;
    font-size: clamp(38px, 11vw, 58px);
  }
  body[data-page-family="agent-chat"] .star-agent-stage { min-height: calc(100svh - 68px); }
  body[data-page-family="agent-chat"] .star-agent-workspace { border-width: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-shell-version="4.2"]:not([data-page-family="home"]):not([data-page-family="concept-home"]) * {
    transition: none !important;
  }
}

/* STAR Agent V1 — persistent assistant + full conversation workspace. */

:root {
  --star-agent-ink: #0e1914;
  --star-agent-dark: #102019;
  --star-agent-deep: #07130e;
  --star-agent-paper: #f6f8f3;
  --star-agent-white: #fff;
  --star-agent-lime: #d7fb82;
  --star-agent-mint: #dff8ec;
  --star-agent-aqua: #dff5f5;
  --star-agent-line: rgba(16, 32, 25, 0.12);
  --star-agent-muted: #68736c;
}

body[data-design-version="6.0"] .star-nav > .star-nav-agent {
  position: relative;
  padding-left: 28px;
  color: #fff;
  background: var(--star-agent-dark);
  box-shadow: 0 8px 20px rgba(16, 32, 25, 0.13);
}

body[data-design-version="6.0"] .star-nav > .star-nav-agent::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--star-agent-lime);
  box-shadow: 0 0 0 4px rgba(215, 251, 130, 0.13);
  transform: translateY(-50%);
}

body[data-design-version="6.0"] .star-nav > .star-nav-agent:hover,
body[data-design-version="6.0"] .star-nav > .star-nav-agent[aria-current="page"] {
  color: #fff;
  background: #183126;
}

.star-agent-float {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}

body[data-page-family="agent-chat"] .star-agent-float { display: none; }

.star-agent-launcher {
  position: relative;
  display: grid;
  grid-template-columns: 42px auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 25, 18, 0.96);
  box-shadow: 0 22px 56px rgba(12, 29, 21, 0.25);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.star-agent-launcher__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--star-agent-dark);
  background: var(--star-agent-lime);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.star-agent-launcher__copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.star-agent-launcher__copy strong {
  font-size: 12px;
  font-weight: 780;
}

.star-agent-launcher__copy small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.star-agent-launcher__status {
  position: absolute;
  left: 42px;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid #102019;
  border-radius: 50%;
  background: #7cf3b7;
}

.star-agent-panel {
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(430px, calc(100vw - 28px));
  height: min(680px, calc(100dvh - 112px));
  overflow: hidden;
  border: 1px solid rgba(16, 32, 25, 0.14);
  border-radius: 28px;
  color: var(--star-agent-ink);
  background: rgba(248, 250, 246, 0.97);
  box-shadow: 0 32px 90px rgba(12, 29, 21, 0.24);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
}

.star-agent-float[data-open="true"] .star-agent-panel { display: grid; }
.star-agent-float[data-open="true"] .star-agent-launcher { display: none; }

.star-agent-panel__head,
.star-agent-workspace__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0%, rgba(215, 251, 130, 0.17), transparent 9rem),
    var(--star-agent-dark);
}

.star-agent-panel__identity,
.star-agent-workspace__identity {
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 10px;
}

.star-agent-panel__identity > i,
.star-agent-workspace__identity > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: var(--star-agent-dark);
  background: var(--star-agent-lime);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.star-agent-panel__identity span,
.star-agent-workspace__identity span { display: grid; gap: 2px; }
.star-agent-panel__identity strong,
.star-agent-workspace__identity strong { font-size: 13px; }
.star-agent-panel__identity small,
.star-agent-workspace__identity small { color: rgba(255, 255, 255, 0.58); font-size: 9px; letter-spacing: 0.05em; }

.star-agent-panel__actions,
.star-agent-workspace__actions { display: flex; align-items: center; gap: 7px; }

.star-agent-history { position: relative; }
.star-agent-history > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 9px;
  font-weight: 740;
  list-style: none;
  cursor: pointer;
}
.star-agent-history > summary::-webkit-details-marker { display: none; }
.star-agent-history > summary > i {
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  color: var(--star-agent-dark);
  background: var(--star-agent-lime);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}
.star-agent-history[open] > summary { background: rgba(255, 255, 255, 0.14); }
.star-agent-history__popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 9px);
  right: 0;
  width: min(300px, calc(100vw - 34px));
  overflow: hidden;
  border: 1px solid rgba(16, 32, 25, 0.14);
  border-radius: 18px;
  color: var(--star-agent-ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(10, 25, 18, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.star-agent-history__popover > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px 10px;
  border-bottom: 1px solid var(--star-agent-line);
}
.star-agent-history__popover > header strong { font-size: 11px; }
.star-agent-history__popover > header small { color: var(--star-agent-muted); font-size: 9px; }
.star-agent-history__list { display: grid; gap: 5px; max-height: 330px; overflow-y: auto; padding: 7px; }
.star-agent-history__list > p { margin: 0; padding: 18px 10px; color: var(--star-agent-muted); font-size: 10px; text-align: center; }
.star-agent-panel__actions .star-agent-history__list button,
.star-agent-workspace__actions .star-agent-history__list button {
  display: grid;
  justify-items: start;
  gap: 3px;
  width: 100%;
  min-height: 0;
  padding: 10px 11px;
  border: 0;
  border-radius: 12px;
  color: var(--star-agent-ink);
  background: transparent;
  text-align: left;
}
.star-agent-history__list button:hover,
.star-agent-history__list button[aria-current="true"] { background: var(--star-agent-mint); }
.star-agent-history__list button strong { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.star-agent-history__list button small { color: var(--star-agent-muted); font-size: 8px; }

.star-agent-panel__actions a,
.star-agent-panel__actions button,
.star-agent-workspace__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 9px;
  font-weight: 740;
  text-decoration: none;
  cursor: pointer;
}

.star-agent-panel__actions button {
  width: 34px;
  padding: 0;
  font-size: 16px;
}

.star-agent-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 32, 25, 0.18) transparent;
}

.star-agent-message { display: grid; gap: 7px; max-width: 90%; }
.star-agent-message[data-role="user"] { align-self: end; }
.star-agent-message[data-role="assistant"] { align-self: start; }

.star-agent-message__bubble {
  padding: 13px 15px;
  border: 1px solid var(--star-agent-line);
  border-radius: 19px 19px 19px 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 32, 25, 0.04);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.star-agent-message[data-role="user"] .star-agent-message__bubble {
  border-color: var(--star-agent-dark);
  border-radius: 19px 19px 6px 19px;
  color: #fff;
  background: var(--star-agent-dark);
}

.star-agent-message__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.star-agent-message__meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #35614f;
  background: var(--star-agent-mint);
  font-size: 8px;
  font-weight: 730;
  letter-spacing: 0.02em;
}

.star-agent-message[data-state="loading"] .star-agent-message__bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 76px;
}

.star-agent-message[data-state="loading"] i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74ae94;
  animation: star-agent-thinking 1.05s infinite ease-in-out;
}
.star-agent-message[data-state="loading"] i:nth-child(2) { animation-delay: 130ms; }
.star-agent-message[data-state="loading"] i:nth-child(3) { animation-delay: 260ms; }

@keyframes star-agent-thinking {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.36; }
  35% { transform: translateY(-4px); opacity: 1; }
}

.star-agent-composer {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-top: 1px solid var(--star-agent-line);
  background: rgba(255, 255, 255, 0.86);
}

.star-agent-context {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #637169;
  font-size: 9px;
}
.star-agent-context::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #68d6a0; }
.star-agent-context span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.star-agent-human {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(16, 32, 25, 0.11);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(223, 248, 236, 0.88), rgba(255, 255, 255, 0.94));
}

.star-agent-human__experts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

.star-agent-human__identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-right: 8px;
  border-right: 1px solid rgba(16, 32, 25, 0.1);
}

.star-agent-human__identity:last-child { border-right: 0; }

.star-agent-human__identity > i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  background: var(--star-agent-dark);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.star-agent-human__identity > span { display: grid; gap: 1px; min-width: 0; }
.star-agent-human__identity strong { color: var(--star-agent-ink); font-size: 10px; }
.star-agent-human__identity small { color: var(--star-agent-muted); font-size: 8px; white-space: nowrap; }
.star-agent-human nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 218px; }
.star-agent-human a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid rgba(16, 32, 25, 0.12);
  border-radius: 999px;
  color: #294638;
  background: rgba(255, 255, 255, 0.9);
  font-size: 8px;
  font-weight: 760;
  text-decoration: none;
}

.star-agent-human a:last-child { color: #fff; border-color: var(--star-agent-dark); background: var(--star-agent-dark); }
.star-agent-human a:hover { border-color: rgba(16, 32, 25, 0.32); }
.star-agent-human a:focus-visible { outline: 3px solid rgba(104, 214, 160, 0.36); outline-offset: 2px; }

.star-agent-suggestions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.star-agent-suggestions::-webkit-scrollbar { display: none; }
.star-agent-suggestions button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--star-agent-line);
  border-radius: 999px;
  color: #32493e;
  background: #fff;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.star-agent-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(16, 32, 25, 0.16);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 32, 25, 0.05);
}

.star-agent-form textarea {
  min-height: 42px;
  max-height: 130px;
  resize: none;
  padding: 10px;
  border: 0;
  outline: 0;
  color: var(--star-agent-ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.star-agent-form button {
  align-self: end;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--star-agent-dark);
  background: var(--star-agent-lime);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
.star-agent-form button:disabled { opacity: 0.45; cursor: wait; }

/* Full-page agent workspace */

body[data-page-family="agent-chat"] .star-task-route,
body[data-page-family="agent-chat"] .star-system-presence { display: none; }

.star-agent-page { min-height: calc(100dvh - 74px); padding: 10px 0 24px; }

.star-agent-stage {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.38fr);
  width: 100%;
  min-height: calc(100dvh - 74px);
  margin: 0 auto;
  overflow: hidden;
  border-block: 1px solid var(--star-agent-line);
  border-inline: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 28px 86px rgba(16, 32, 25, 0.12);
}

.star-agent-stage__map {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 50px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(116, 214, 160, 0.18), transparent 18rem),
    radial-gradient(circle at 100% 88%, rgba(215, 251, 130, 0.12), transparent 22rem),
    var(--star-agent-deep);
}

.star-agent-stage__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.star-agent-stage__copy,
.star-agent-runtime,
.star-agent-boundary { position: relative; z-index: 1; }
.star-agent-stage__copy { display: grid; gap: 16px; }
.star-agent-stage__copy > span { color: var(--star-agent-lime); font-size: 10px; font-weight: 760; letter-spacing: 0.14em; }
.star-agent-stage__copy h1 { max-width: 520px; margin: 0; font-size: clamp(42px, 4vw, 62px); line-height: 0.97; letter-spacing: -0.065em; }
.star-agent-stage__copy p { max-width: 560px; margin: 0; color: rgba(255,255,255,.63); font-size: 14px; line-height: 1.7; }

.star-agent-runtime { display: grid; gap: 9px; margin-top: auto; }
.star-agent-runtime article {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.05);
}
.star-agent-runtime article > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--star-agent-dark); background: var(--star-agent-lime); font-size: 9px; font-style: normal; font-weight: 900; }
.star-agent-runtime article > span { display: grid; gap: 2px; }
.star-agent-runtime article strong { font-size: 11px; }
.star-agent-runtime article small { color: rgba(255,255,255,.5); font-size: 9px; }
.star-agent-runtime article > em { color: #80e9b1; font-size: 8px; font-style: normal; font-weight: 800; }

.star-agent-boundary { display: flex; align-items: center; gap: 9px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.52); font-size: 9px; line-height: 1.5; }
.star-agent-boundary i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #80e9b1; box-shadow: 0 0 0 5px rgba(128,233,177,.1); }

.star-agent-workspace {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 248, 236, 0.78), transparent 25rem),
    #f8faf6;
}

.star-agent-workspace__head { color: var(--star-agent-ink); background: rgba(255,255,255,.72); border-bottom: 1px solid var(--star-agent-line); backdrop-filter: blur(14px); }
.star-agent-workspace__identity > i { color: #fff; background: var(--star-agent-dark); }
.star-agent-workspace__identity small { color: #718078; }
.star-agent-workspace__actions button { color: var(--star-agent-ink); border-color: var(--star-agent-line); background: #fff; }
.star-agent-workspace__actions .star-agent-history > summary { color: var(--star-agent-ink); border-color: var(--star-agent-line); background: #fff; }
.star-agent-workspace__actions .star-agent-history[open] > summary { background: var(--star-agent-mint); }
.star-agent-workspace .star-agent-messages { padding: clamp(20px, 3vw, 42px); }
.star-agent-workspace .star-agent-message { max-width: min(82%, 760px); }
.star-agent-workspace .star-agent-message__bubble { padding: 16px 18px; font-size: 14px; }
.star-agent-workspace .star-agent-composer { padding: 16px clamp(20px, 3vw, 42px) 22px; background: rgba(248,250,246,.88); }

@media (max-width: 1180px) {
  body[data-design-version="6.0"] .star-nav > .star-nav-agent { padding-left: 24px; }
  body[data-design-version="6.0"] .star-nav > .star-nav-agent::before { left: 9px; }
  .star-agent-stage { grid-template-columns: minmax(370px, .88fr) minmax(0, 1.35fr); }
}

@media (max-width: 1120px) {
  .star-agent-stage { grid-template-columns: 1fr; min-height: 0; }
  .star-agent-stage__map { display: none; }
  .star-agent-workspace { min-height: calc(100dvh - 74px); }
}

@media (max-width: 680px) {
  .star-agent-float { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .star-agent-launcher { min-height: 54px; }
  .star-agent-panel {
    width: calc(100vw - 20px);
    height: min(84dvh, 720px);
    border-radius: 24px;
  }
  .star-agent-panel__head { padding: 13px; }
  .star-agent-panel__actions a { font-size: 0; width: 34px; padding: 0; }
  .star-agent-panel__actions a::before { content: "↗"; font-size: 14px; }
  .star-agent-page { padding: 10px 0; }
  .star-agent-stage { width: 100%; border-radius: 0; }
  .star-agent-stage__map { display: none; }
  .star-agent-stage__copy h1 { font-size: clamp(38px, 13vw, 58px); }
  .star-agent-workspace { min-height: calc(100dvh - 67px); }
  .star-agent-workspace__head { gap: 8px; padding: 12px 14px; }
  .star-agent-workspace__identity { min-width: 0; }
  .star-agent-workspace__identity > span { min-width: 0; }
  .star-agent-workspace__identity strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .star-agent-workspace__identity small { font-size: 8px; line-height: 1.35; }
  .star-agent-workspace__actions button { flex: 0 0 auto; max-width: none; font-size: 8px; }
  .star-agent-workspace__actions { gap: 5px; }
  .star-agent-workspace__actions > [data-star-agent-reset],
  .star-agent-workspace__actions > [data-star-agent-return] { width: 36px; min-width: 36px; padding: 0; font-size: 0; }
  .star-agent-workspace__actions > [data-star-agent-reset]::before { content: "+"; font-size: 15px; }
  .star-agent-workspace__actions > [data-star-agent-return]::before { content: "↗"; font-size: 13px; }
  .star-agent-history__label { font-size: 0; }
  .star-agent-history__label::before { content: "◷"; font-size: 14px; }
  .star-agent-history > summary { min-width: 50px; padding: 0 6px; }
  .star-agent-workspace .star-agent-message { max-width: 94%; }
  .star-agent-workspace .star-agent-messages { padding: 18px 13px; }
  .star-agent-workspace .star-agent-composer { padding: 12px; }
  .star-agent-human { grid-template-columns: 1fr; align-items: flex-start; }
  .star-agent-human nav { justify-content: flex-start; max-width: none; }
}

.star-agent-panel .star-agent-human { grid-template-columns: 1fr; align-items: flex-start; }
.star-agent-panel .star-agent-human nav { justify-content: flex-start; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  .star-agent-message[data-state="loading"] i { animation: none; }
}

body .wh-header,body .wh-header *{box-sizing:border-box;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;letter-spacing:normal;text-transform:none;line-height:1.5}
body .wh-header{position:relative;z-index:100;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px 0 0;margin:0;background:#fbfdfb;color:#17271f;border:0;border-bottom:1px solid #dce3dd;box-shadow:none;overflow:visible}
body .wh-header a{text-decoration:none;color:inherit}body .wh-header button{cursor:pointer;color:inherit;font-size:12px;font-weight:500;box-shadow:none;margin:0}body .wh-header .wh-brand{height:64px;display:flex;align-items:center;padding:12px 24px;border-right:1px solid #dce3dd;background:none;border-radius:0;flex-shrink:0}body .wh-brand img{display:block;width:135px;height:auto;max-height:42px;object-fit:contain}
body .wh-primary{display:flex;gap:6px;align-items:center;position:static;width:auto;padding:0;background:none;border:0;border-radius:0;overflow:visible}body .wh-primary>a,body .wh-primary>.wh-disabled,body .wh-products-toggle{display:block;border:0;border-radius:6px;background:transparent;font-size:12px;font-weight:500;padding:9px 15px;white-space:nowrap;min-height:36px}
body .wh-primary>a:hover,body .wh-products-toggle:hover{background:#f0f5f1}body .wh-primary>a[aria-current],body .wh-products-toggle.wh-current{color:#276a51;background:#eef5ef;font-weight:650}body .wh-primary>.wh-disabled{color:#929e96}body .wh-products{position:relative}body .wh-products-toggle>span{margin-left:5px;color:#63756a}
body .wh-submenu{position:absolute;right:0;top:calc(100% + 10px);width:184px;padding:6px;margin:0;list-style:none;border:1px solid #dce3dd;border-radius:8px;background:#fbfdfb;box-shadow:0 10px 30px #17271f12;z-index:110}body .wh-submenu[hidden]{display:none!important}body .wh-submenu li{margin:0;padding:0;list-style:none}body .wh-submenu a{display:block;font-size:12px;font-weight:500;padding:10px 12px;border:0;border-radius:5px;background:none;white-space:nowrap}body .wh-submenu a:hover,body .wh-submenu a[aria-current]{background:#edf4ee;color:#276a51}body .wh-header :is(a,button):focus-visible{outline:2px solid #276a51;outline-offset:3px}body .wh-mobile{display:none}
.star-task-route,.star-system-presence{display:none!important}
body[data-wh-shell] main.wh-directory :is([data-registry-panel],[data-registry-panel]>.eo-wrap,.eo-tools>.eo-wrap){padding:0!important;margin:0!important;width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body[data-wh-shell] main.wh-directory .eo-registry{padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
body[data-wh-shell] main.wh-directory .eo-registry-row{padding:14px 8px!important;min-height:74px!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body[data-wh-shell] main.wh-directory .eo-registry-row h2,body[data-wh-shell] main.wh-directory .eo-registry-row h2 a{font-size:14px!important;line-height:1.6!important;text-decoration:none!important}
body[data-wh-shell] main.wh-directory .eo-registry-row .eo-muted{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:12px!important}
body[data-wh-shell] main.wh-directory .eo-registry-row__systems{font-size:11px!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;line-height:1.7!important}
body[data-wh-shell] main.wh-directory .eo-tools :is(.eo-search,.eo-results){background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important}
body[data-wh-shell] main.wh-directory .eo-search input,body[data-wh-shell] main.wh-directory .eo-search select{border:1px solid #dce3dd!important;border-radius:5px!important;background:#fcfefc!important;box-shadow:none;font:12px/1.5 "Microsoft YaHei",sans-serif!important;padding:8px 12px!important}
body[data-wh-shell] main.wh-directory .eo-search>label:first-child{flex:1;min-width:180px}body[data-wh-shell] main.wh-directory .eo-search input{width:100%}
body[data-wh-shell] main.wh-directory .eo-results{font-size:12px!important;font-weight:400!important;letter-spacing:normal!important}
body[data-wh-shell] .eo-compare-tray{border-radius:0!important;padding:10px 24px!important;min-height:0!important;font-size:12px!important}
body[data-wh-shell] .eo-compare-tray b{font-size:12px!important}
body[data-wh-shell] .eo-compare-tray:not(:has(.eo-chip)){display:none!important}
@media(max-width:760px){body[data-wh-shell] main.wh-directory .eo-registry-row>div:first-child{grid-column:1;grid-row:1}body[data-wh-shell] main.wh-directory .eo-registry-row>div:nth-child(2){grid-column:2;grid-row:1}body[data-wh-shell] main.wh-directory .eo-registry-row>div:last-child{grid-column:3;grid-row:1}body[data-wh-shell] main.wh-directory .eo-registry-row .eo-compare-add{width:auto!important;min-width:0!important;font-size:11px!important;padding:6px!important}body[data-wh-shell] .wh-directory .eo-compare-tray{bottom:74px}}
body[data-wh-shell]:not([data-page-family="home"]) main h1{font-size:20px!important;line-height:1.5!important;letter-spacing:normal!important}body[data-wh-shell]:not([data-page-family="home"]) main h2{font-size:18px!important;line-height:1.5!important;letter-spacing:normal!important}body[data-wh-shell]:not([data-page-family="home"]) main h3{font-size:15px!important;line-height:1.5!important}
body .wh-directory{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:26px 0 50px;min-height:calc(100vh - 150px);font:13px/1.7 "Microsoft YaHei",sans-serif;color:#17271f}body .wh-directory h1{margin:0;font-size:20px!important}body .wh-directory-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}body .wh-directory-head span{color:#6b7b71;font-size:12px}body .wh-list{margin:0;padding:0;list-style:none;border-top:1px solid #dce3dd;border-bottom:1px solid #dce3dd}body .wh-list li{margin:0;list-style:none}body .wh-list li+li{border-top:1px solid #dce3dd}body .wh-list a{display:grid;grid-template-columns:32px minmax(180px,1fr) minmax(200px,1.3fr) 50px;gap:14px;align-items:center;padding:16px 12px;min-height:66px;color:inherit;text-decoration:none}body .wh-list a:hover{background:#ffffffa6}body .wh-list a strong{font-size:14px;font-weight:600}body .wh-list a small{font-size:12px;color:#68796e}body .wh-list .wh-number{font:12px/1.7 Consolas,monospace;color:#819086}body .wh-list .wh-open{font-size:12px;text-align:right;color:#276a51}
body .wh-directory .eo-wrap{width:100%;max-width:none;padding:0;margin:0}body .wh-directory .eo-tools{padding:0;margin:0;border:0;background:none}body .wh-directory .eo-search{display:flex;gap:8px;flex-wrap:wrap}body .wh-directory .eo-search input,body .wh-directory .eo-search select{font-size:12px;min-height:38px}body .wh-directory .eo-results{font-size:12px;color:#6b7b71;margin:12px 0}body .wh-directory .eo-registry-row{display:grid;grid-template-columns:58px minmax(0,1fr) 160px 90px;align-items:center;gap:16px;padding:15px 8px;background:transparent;border:0;border-top:1px solid #dce3dd;border-radius:0;box-shadow:none}body .wh-directory .eo-registry-row h2{font-size:14px!important;margin:0}body .wh-directory .eo-registry-row p{font-size:12px;margin:4px 0;color:#68796e}body .wh-directory .eo-registry-row__code{font-size:11px;color:#819086}body .wh-directory .eo-registry-row__goal,body .wh-directory .eo-truth,body .wh-directory .eo-registry-row__gate{display:none}body .wh-directory .eo-compare-add{font-size:11px;padding:6px 9px;min-height:32px}body .wh-directory .eo-section{padding:0}
body .wh-content-back{display:block;margin-bottom:18px;color:#68796e;text-decoration:none;font-size:12px}body .wh-topic{margin-top:18px;padding:18px;border:1px solid #dce3dd;border-radius:8px;background:#fcfefb}body .wh-topic p,body .wh-topic li{font-size:13px;line-height:1.8}body .wh-topic h2{font-size:16px!important}body .wh-topic h3{font-size:14px!important}body .wh-topic .eo-cards{display:block}body .wh-topic .eo-card{padding:14px 0;border:0;border-bottom:1px solid #dce3dd;background:none;box-shadow:none;min-height:0}body .wh-topic .eo-section{padding:0}body .wh-topic table{font-size:12px;max-width:100%}body .wh-topic .eo-kicker{font-size:11px}body .wh-directory-footer{padding:20px 24px;color:#839087;font:11px/1.5 "Microsoft YaHei",sans-serif;border-top:1px solid #dce3dd}
@media(max-width:760px){body .wh-header{height:58px;padding-right:16px}body .wh-header .wh-brand{height:58px;padding:12px 16px}body .wh-brand img{width:110px}body .wh-mobile{display:block;padding:6px 10px;border:1px solid #dce3dd;border-radius:5px;background:none;min-height:36px}body .wh-primary{display:none;position:absolute;top:57px;left:0;right:0;width:100%;padding:8px 12px;border-bottom:1px solid #dce3dd;background:#fbfdfb;max-height:calc(100dvh - 58px);overflow-y:auto}body .wh-primary.wh-opened{display:flex;flex-direction:column;align-items:stretch;gap:2px}body .wh-primary>a,body .wh-primary>.wh-disabled,body .wh-products-toggle{width:100%;text-align:left;padding:11px 14px}body .wh-submenu{position:static;width:auto;margin:2px 0 4px 15px;padding:2px 0 2px 8px;border:0;border-left:1px solid #dce3dd;border-radius:0;box-shadow:none;background:none}body .wh-submenu a{padding:9px 12px}body .wh-directory{width:calc(100% - 28px);padding-top:20px}body .wh-list a{grid-template-columns:25px minmax(0,1fr) 40px;gap:5px 10px;padding:14px 4px}body .wh-list a small{grid-column:2;grid-row:2}body .wh-list .wh-number{grid-row:1/3;align-self:start}body .wh-list .wh-open{grid-column:3;grid-row:1/3}body .wh-directory .eo-registry-row{grid-template-columns:38px minmax(0,1fr) 68px;gap:8px}body .wh-directory .eo-registry-row__systems{display:none}body .wh-directory .eo-search>*{flex:1 1 140px;min-width:0}body .wh-directory .eo-search input,body .wh-directory .eo-search select{width:100%}body .wh-topic{padding:12px;overflow-x:auto}}
