@charset "UTF-8";

:root {
  /* Shared colors: paper surfaces, forest accents, and one dark delivery band. */
  --paper: #f7f6f2;
  --white: #fffefa;
  --pale: #e5ede6;
  --paper-deep: #e8ede7;
  --mist: var(--pale);
  --ink: #20352f;
  --ink-soft: #526a5c;
  --muted: #596c60;
  --accent: #345e4d;
  --accent-deep: #203a30;
  --accent-light: #d1e1d3;
  --line: #cbd6cb;
  --line-strong: #94aa9b;
  --line-medium: #b8c6b9;
  --mark: #d5e8d8;
  --on-deep: #f7f6f2;
  --on-deep-soft: #d1e1d3;
  --line-dark: rgba(247, 246, 242, .24);
  --paper-rgb: 247, 246, 242;
  --white-rgb: 255, 254, 250;
  --ink-rgb: 32, 53, 47;
  --accent-rgb: 52, 94, 77;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --mono: "SFMono-Regular", "Roboto Mono", monospace;
  --content-width: 1248px;
  --page-gutter: 40px;
  --content-inset: max(var(--page-gutter), calc((100% - var(--content-width)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
::selection { background: var(--accent-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -60px; left: 18px; z-index: 100; padding: 11px 15px; background: var(--accent); color: var(--white); font-size: 13px; text-decoration: none; }
.skip-link:focus { top: 18px; }

/* A quiet masthead leaves the product title to carry the first view. */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(var(--paper-rgb), .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - var(--page-gutter) * 2), var(--content-width)); min-height: 72px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; }
.wordmark-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--accent); color: var(--accent); font-family: var(--mono); font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 10px; color: var(--muted); font-size: 13px; text-decoration: none; text-underline-offset: 6px; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent-deep); text-decoration: underline; }
.site-nav a:focus-visible { outline-offset: -2px; }
.header-index { justify-self: end; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }

/* Cover: a three-line title and one authored material object. */
.hero { padding: 64px var(--content-inset) 32px; background: var(--paper); }
.hero-grid { width: min(100%, var(--content-width)); min-height: 540px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr); gap: clamp(40px, 4.5vw, 72px); align-items: center; }
.eyebrow { display: none; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--display); font-size: clamp(52px, 4.2vw, 70px); font-weight: 600; line-height: 1.21; letter-spacing: -.02em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 490px; margin: 34px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.84; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 570px; margin-top: 38px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hero-proof span::before { margin-right: 9px; color: var(--accent); content: "·"; font-size: 18px; line-height: 0; }
.hero-art { position: relative; min-height: 460px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); grid-template-rows: 28px repeat(4, minmax(0, 1fr)) 30px; gap: 9px 20px; padding: 30px; overflow: hidden; background: var(--mist); }
.hero-art::before { position: absolute; top: 0; bottom: 0; left: 51%; width: 1px; background: rgba(var(--accent-rgb), .17); content: ""; }
.artifact-label { grid-column: 1 / -1; color: var(--accent-deep); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.artifact-source { position: relative; grid-column: 1; grid-row: 2 / 6; padding: 24px 21px; overflow: hidden; background: var(--white); box-shadow: 0 16px 30px rgba(var(--ink-rgb), .08); }
.artifact-source::before { position: absolute; top: 0; left: 0; width: 42px; height: 3px; background: var(--accent); content: ""; }
.artifact-source::after { position: absolute; top: 113px; right: 20px; left: 20px; height: 1px; background: var(--line); box-shadow: 0 28px var(--line), 0 56px var(--line), 0 84px var(--line), 0 112px var(--line), 0 140px var(--line); content: ""; opacity: .9; }
.artifact-source span { position: relative; z-index: 1; display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.artifact-source small { position: relative; z-index: 1; display: block; margin-top: 8px; color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.artifact-line { display: none; }
.artifact-output { position: relative; grid-column: 2; display: flex; flex-direction: column; justify-content: center; padding: 13px 18px; border-bottom: 1px solid var(--line-strong); background: rgba(var(--white-rgb), .73); }
.artifact-output::before { position: absolute; top: 14px; right: 16px; width: 20px; height: 1px; background: var(--accent); content: ""; }
.artifact-output b { font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.15; }
.artifact-output small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.output-one { grid-row: 2; }
.output-two { grid-row: 3; }
.output-three { grid-row: 4; }
.output-four { grid-row: 5; }
.artifact-caption { grid-column: 1 / -1; align-self: end; color: var(--accent-deep); font-size: 12px; line-height: 1.3; text-align: right; }
.artifact-caption br { display: none; }
.hero-footer { width: min(100%, var(--content-width)); margin: 0 auto; display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* Process: parallel columns and a continuous, calm handoff spine. */
.workflow-section { padding: 52px var(--content-inset) 56px; background: var(--paper-deep); }
.section-topline { width: min(100%, var(--content-width)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.section-topline span:last-child { font-family: var(--sans); letter-spacing: 0; }
.workflow-intro { width: min(100%, var(--content-width)); margin: 30px auto 25px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(270px, .68fr); gap: 7vw; align-items: end; }
.workflow-intro h2, .materials-heading h2, .responsibility-heading h2, .revision-heading h2, .closing-layout h2 { margin: 0; font-family: var(--display); font-size: clamp(40px, 3.35vw, 54px); font-weight: 600; line-height: 1.28; letter-spacing: -.02em; }
.workflow-intro h2 span, .materials-heading h2 span, .revision-heading h2 span { color: var(--accent); }
.workflow-intro p { max-width: 370px; margin: 0 0 3px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.flow-stage { width: min(100%, var(--content-width)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.flow-column { min-width: 0; padding: 14px 25px 16px; }
.flow-column-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.flow-code { color: var(--accent-deep); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.flow-open { padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--accent-deep); font: inherit; font-size: 13px; cursor: pointer; }
.flow-open:hover { color: var(--ink); }
.flow-open span { margin-left: 5px; font-size: 16px; }
.flow-column h3 { margin: 18px 0 3px; font-family: var(--display); font-size: clamp(22px, 1.8vw, 29px); font-weight: 600; line-height: 1.28; letter-spacing: -.01em; }
.flow-subtitle { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.flow-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.flow-step { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 58px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.flow-step.is-key { min-height: 66px; }
.flow-step.is-result { border-bottom-color: var(--accent); }
.step-index { align-self: start; padding-top: 4px; color: var(--accent-deep); font-family: var(--mono); font-size: 12px; }
.flow-step b { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.flow-step.is-key b { font-size: 17px; }
.flow-step.is-minor b { color: var(--muted); font-size: 14px; font-weight: 500; }
.flow-step small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.handoff-column { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; border-right: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--pale); }
.handoff-column .handoff-line { width: 1px; flex: 1; min-height: 38px; background: var(--accent); opacity: .38; }
.handoff-object { width: 82px; padding: 16px 6px; color: var(--accent-deep); text-align: center; }
.handoff-object span { display: block; margin-bottom: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.handoff-object strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.24; }
.handoff-object small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.workflow-foot { width: min(100%, var(--content-width)); margin: 15px auto 0; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.workflow-foot span:last-child { font-family: var(--mono); letter-spacing: .02em; }

/* Materials take the full measure of the page instead of repeating the cover split. */
.materials-section { padding: 74px var(--content-inset) 78px; background: var(--white); }
.materials-section .section-topline { border-bottom-color: transparent; }
.materials-layout { width: min(100%, var(--content-width)); margin: 28px auto 0; }
.materials-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 40px; }
.materials-heading h2 { flex: 0 1 680px; }
.materials-heading p { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.materials-index { border-top: 1px solid var(--ink); }
.material-row { display: grid; grid-template-columns: 60px minmax(180px, .7fr) minmax(250px, 1.1fr) minmax(200px, .7fr); gap: 24px; align-items: center; min-height: 92px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.material-row.material-primary { min-height: 105px; }
.material-number { align-self: start; padding-top: 8px; color: var(--accent-deep); font-family: var(--mono); font-size: 12px; }
.material-row h3 { margin: 0; font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1.2; }
.material-row p { margin: 5px 0 0; color: var(--accent-deep); font-size: 13px; }
.material-detail, .material-use { color: var(--muted); font-size: 14px; line-height: 1.6; }
.material-use { justify-self: end; text-align: right; }
.material-note { width: min(100%, var(--content-width)); margin: 30px auto 0; display: flex; gap: 14px; align-items: start; }
.note-mark { color: var(--accent); font-size: 22px; }
.material-note p { max-width: 730px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* After the dark delivery band, responsibilities return to a quiet paper surface. */
.responsibility-section { padding: 72px var(--content-inset) 76px; background: var(--paper); color: var(--ink); }
.responsibility-section .section-topline { border-bottom-color: var(--line); color: var(--muted); }
.responsibility-layout { width: min(100%, var(--content-width)); margin: 0 auto; }
.margin-number { display: none; }
.responsibility-heading h2 { max-width: 860px; }
.responsibility-heading h2 em { color: var(--accent); font-style: normal; }
.responsibility-list { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 38px; margin-top: 58px; }
.responsibility-row { display: flex; flex-direction: column; align-items: start; min-height: 185px; padding-top: 20px; border-top: 1px solid var(--line); }
.responsibility-label { font-size: 18px; font-weight: 600; }
.label-ai, .label-code, .label-human { color: var(--accent); }
.responsibility-row p { max-width: none; margin: 18px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.responsibility-row small { margin-top: auto; padding-top: 18px; color: var(--ink-soft); font-size: 12px; }
.handoff-notes { width: min(100%, var(--content-width)); margin: 48px auto 0; display: flex; flex-wrap: wrap; gap: 10px 13px; align-items: center; padding-top: 19px; border-top: 1px solid var(--line-dark); color: var(--ink-soft); font-size: 13px; }
.handoff-notes b { color: var(--accent-light); font-size: 16px; font-weight: 400; }
.handoff-notes .note-separator { margin: 0 12px; color: var(--line-strong); }

/* Revision is an open route, not another bordered card. */
.revision-section { padding: 74px var(--content-inset) 68px; background: var(--paper-deep); }
.revision-layout { width: min(100%, var(--content-width)); margin: 49px auto 0; }
.revision-heading { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 70px; align-items: end; }
.revision-heading h2 { max-width: 820px; }
.revision-heading p { max-width: 370px; margin: 0 0 7px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.revision-map { position: relative; min-height: 245px; margin-top: 49px; padding-top: 12px; border-top: 1px solid var(--ink); }
.change-marker { position: absolute; top: 30px; left: 0; z-index: 2; width: 85px; height: 85px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-deep); color: var(--white); text-align: center; }
.change-marker span { position: absolute; top: -18px; left: 0; color: var(--accent-deep); font-family: var(--mono); font-size: 12px; }
.change-marker b { font-size: 16px; font-weight: 600; line-height: 1.2; }
.change-path { position: absolute; top: 72px; right: 0; left: 85px; height: 1px; background: var(--line); }
.change-path::before { position: absolute; top: 0; left: 0; width: 46%; height: 1px; background: var(--accent); content: ""; }
.change-path span, .change-path i, .change-path em, .change-path strong { position: absolute; top: -5px; width: 11px; height: 11px; border: 1px solid var(--accent-deep); border-radius: 50%; background: var(--paper-deep); }
.change-path span { left: 0; background: var(--accent-deep); }
.change-path i { left: 30%; }
.change-path em { left: 62%; }
.change-path strong { right: 0; background: var(--accent-deep); }
.revision-steps { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.revision-steps li { min-height: 74px; padding-top: 15px; border-top: 1px solid var(--line); }
.revision-steps span { display: block; margin-bottom: 10px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.revision-steps b { color: var(--ink-soft); font-size: 16px; font-weight: 500; }
.revision-steps .is-active b, .revision-steps .is-active span { color: var(--accent-deep); }
.revision-close { width: min(100%, var(--content-width)); margin: 36px auto 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Colophon: lower the energy and let the page end. */
.closing-section { min-height: 50vh; min-height: 50svh; display: flex; align-items: center; padding: clamp(28px, 5svh, 48px) var(--content-inset); background: var(--mist); }
.closing-mark { width: min(100%, var(--content-width)); margin: 0 auto; color: var(--accent-deep); font-family: var(--mono); font-size: 12px; }
.closing-layout { width: min(100%, var(--content-width)); min-height: 0; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.closing-layout h2 { max-width: 790px; font-size: clamp(40px, 3.2vw, 52px); text-wrap: balance; }
.closing-layout h2 span { color: var(--accent); }
.closing-layout p { max-width: 390px; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.78; }
.closing-footer { width: min(100%, var(--content-width)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.closing-footer a { color: var(--accent-deep); text-decoration: none; text-underline-offset: 4px; }
.closing-footer a:hover { text-decoration: underline; }

/* Detail layers remain secondary, but read like a considered article. */
.detail-dialog { width: min(calc(100% - 36px), 1120px); max-height: calc(100svh - 36px); padding: 0; border: 0; background: transparent; color: var(--ink); }
.detail-dialog::backdrop { background: rgba(var(--ink-rgb), .7); }
.detail-shell { max-height: calc(100svh - 36px); overflow: auto; padding: 42px 50px 46px; background: var(--white); }
.detail-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; padding-bottom: 29px; border-bottom: 1px solid var(--ink); }
.detail-code { display: block; margin-bottom: 16px; color: var(--accent-deep); font-family: var(--mono); font-size: 12px; }
.detail-top h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 3.6vw, 52px); font-weight: 600; line-height: 1.22; }
.detail-top p { max-width: 720px; margin: 21px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.dialog-close { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); font-size: 23px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: var(--white); }
.detail-list { margin: 22px 0 0; padding: 0; list-style: none; }
.detail-stage { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(200px, .42fr); gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-stage.is-key { box-shadow: inset 1px 0 0 var(--accent); padding-left: 15px; }
.detail-stage.is-result { border-bottom-color: var(--ink); }
.detail-stage > span { color: var(--accent-deep); font-family: var(--mono); font-size: 12px; }
.detail-stage h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.detail-stage p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.68; }
.detail-stage small { color: var(--muted); font-size: 13px; line-height: 1.55; }
.detail-stage small b { color: var(--ink); font-weight: 600; }

@media (max-width: 1100px) {
  :root { --page-gutter: 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(400px, .92fr); gap: 45px; }
  .hero h1 { font-size: clamp(48px, 4.7vw, 62px); }
  .material-row { grid-template-columns: 45px minmax(145px, .65fr) minmax(190px, 1fr) minmax(170px, .72fr); gap: 18px; }
}

@media (max-width: 940px) {
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 42px; }
  .hero-art { max-width: 650px; }
}

@media (max-width: 850px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: end; padding-bottom: 13px; }
  .header-index { grid-column: 2; grid-row: 1; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 42px; }
  .hero-art { max-width: 650px; }
  .workflow-intro { grid-template-columns: 1fr; gap: 20px; }
  .flow-stage { grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr); }
  .flow-column { padding-inline: 17px; }
  .flow-step { grid-template-columns: 42px minmax(0, 1fr); gap: 8px; }
  .flow-column h3 { font-size: 23px; }
  .materials-heading { align-items: start; }
  .material-row { grid-template-columns: 42px minmax(145px, .7fr) minmax(170px, 1fr); }
  .material-use { grid-column: 2 / -1; justify-self: start; text-align: left; }
  .revision-heading { grid-template-columns: 1fr; gap: 20px; }
  .closing-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 0; }
}

@media (max-width: 680px) {
  html { scroll-behavior: auto; }
  :root { --page-gutter: 20px; }
  .header-inner { min-height: 62px; gap: 10px; }
  .wordmark { font-size: 12px; }
  .site-nav { width: 100%; justify-self: start; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 12px; }
  .header-index { display: none; }
  .hero, .workflow-section, .materials-section, .responsibility-section, .revision-section, .closing-section { padding-right: 20px; padding-left: 20px; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(34px, 9.7vw, 44px); line-height: 1.25; }
  .hero-description { margin-top: 24px; font-size: 16px; }
  .hero-proof { margin-top: 28px; padding-top: 15px; font-size: 12px; }
  .hero-art { min-height: 350px; grid-template-columns: .92fr 1.08fr; gap: 8px 10px; padding: 18px; }
  .hero-art::before { left: 48%; }
  .artifact-label { font-size: 12px; }
  .artifact-source { padding: 17px 12px; }
  .artifact-source span { font-size: 18px; }
  .artifact-source small { font-size: 12px; }
  .artifact-source::after { top: 78px; right: 12px; bottom: 16px; left: 12px; }
  .artifact-output { padding: 8px 10px; }
  .artifact-output::before { top: 9px; right: 9px; width: 11px; }
  .artifact-output b { font-size: 17px; }
  .artifact-output small { font-size: 12px; }
  .artifact-caption { font-size: 12px; }
  .hero-footer, .section-topline, .workflow-foot { font-size: 12px; }
  .workflow-section, .materials-section, .responsibility-section, .revision-section { padding-top: 56px; padding-bottom: 62px; }
  .workflow-intro, .materials-layout, .responsibility-layout, .revision-layout { margin-top: 31px; }
  .workflow-intro h2, .materials-heading h2, .responsibility-heading h2, .revision-heading h2, .closing-layout h2 { font-size: clamp(34px, 9vw, 43px); }
  .workflow-intro p, .materials-heading p, .revision-heading p { font-size: 15px; }
  .flow-stage { display: block; }
  .flow-column { padding: 18px 9px 22px; }
  .flow-column h3 { margin-top: 22px; }
  .flow-step { grid-template-columns: 50px minmax(0, 1fr); min-height: 64px; }
  .handoff-column { flex-direction: row; min-height: 88px; padding: 10px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .handoff-column .handoff-line { width: auto; height: 1px; min-height: 0; }
  .handoff-object { width: 170px; padding: 0 8px; }
  .handoff-object span { margin-bottom: 4px; }
  .handoff-object strong { font-size: 16px; }
  .handoff-object strong br { display: none; }
  .handoff-object small { margin-top: 4px; }
  .workflow-foot { display: block; line-height: 1.6; }
  .workflow-foot span:last-child { display: block; margin-top: 5px; }
  .materials-heading { display: block; margin-bottom: 29px; }
  .materials-heading p { margin-top: 21px; }
  .material-row, .material-row.material-primary { grid-template-columns: 34px 1fr; gap: 8px 12px; min-height: 0; padding: 20px 0; }
  .material-number { padding-top: 5px; }
  .material-row h3 { font-size: 25px; }
  .material-detail, .material-use { grid-column: 2; font-size: 13px; }
  .material-use { margin-top: -5px; }
  .material-note { margin-top: 22px; }
  .material-note p { font-size: 14px; }
  .responsibility-list { grid-template-columns: 1fr; gap: 0; margin-top: 38px; }
  .responsibility-row { min-height: 0; padding: 19px 0 22px; }
  .responsibility-row p { margin-top: 12px; font-size: 15px; }
  .responsibility-row small { padding-top: 12px; }
  .handoff-notes { margin-top: 28px; font-size: 12px; }
  .handoff-notes .note-separator { display: none; }
  .revision-map { min-height: 300px; margin-top: 35px; }
  .change-marker { top: 27px; width: 72px; height: 72px; }
  .change-marker b { font-size: 14px; }
  .change-path { top: 63px; left: 72px; }
  .revision-steps { grid-template-columns: 1fr 1fr; gap: 9px 20px; }
  .revision-steps li { min-height: 60px; padding-top: 10px; }
  .revision-steps b { font-size: 14px; }
  .revision-close { margin-top: 25px; font-size: 14px; }
  .closing-section { padding-block: 28px; }
  .closing-layout { min-height: 0; margin-top: 0; }
  .closing-layout p { font-size: 15px; }
  .closing-footer { display: block; font-size: 12px; line-height: 1.7; }
  .closing-footer a { display: block; margin-top: 8px; }
  .detail-dialog { width: calc(100% - 18px); max-height: calc(100svh - 18px); }
  .detail-shell { max-height: calc(100svh - 18px); padding: 24px 19px 29px; }
  .detail-top { gap: 13px; padding-bottom: 22px; }
  .detail-top h2 { font-size: 38px; }
  .detail-top p { margin-top: 15px; font-size: 14px; }
  .detail-stage { grid-template-columns: 43px minmax(0, 1fr); gap: 9px; padding: 19px 0; }
  .detail-stage.is-key { padding-left: 12px; }
  .detail-stage h3 { font-size: 16px; }
  .detail-stage p { font-size: 13px; }
  .detail-stage small { grid-column: 2; font-size: 12px; }
}

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

/* Capability boundaries: three peer roles with their decision limits. */
.responsibility-guide { max-width: 980px; margin: 24px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.responsibility-role { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; line-height: 1.5; }
.responsibility-function { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.responsibility-function::before { content: "｜"; margin-right: 8px; color: var(--line-strong); }
.responsibility-row .responsibility-boundary { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 850px) {
  .responsibility-list { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .responsibility-row { min-height: 0; padding: 22px 0 26px; }
  .responsibility-row p { max-width: 52em; }
}
@media (max-width: 680px) {
  .responsibility-layout { margin-top: 0; }
  .responsibility-guide { margin-top: 20px; font-size: 15px; }
  .responsibility-row .responsibility-boundary { font-size: 14px; }
}
