@font-face {
  font-family: "Proposal Sans";
  src: url("assets/fonts/proposal-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Proposal Sans";
  src: url("assets/fonts/proposal-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f5f5f5;
  --surface: #ffffff;
  --ink: #000000;
  --muted: #595757;
  /* avoid-ai-design-ignore: C2 — blue-violet is the supplied PDF's exact primary color. */
  --blue: #3d38f5;
  --pale: #eae9ff;
  --line: #d5d5d5;
  font-family: "Proposal Sans", "Noto Sans CJK TC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; min-width: 1140px; font-size: 15px; line-height: 1.95; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
a:hover { color: var(--blue); }
button:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 5px;
}
.skip { position: fixed; top: -100px; left: 15px; background: white; padding: 10px; z-index: 30; }
.skip:focus { top: 10px; }
.sidebar { position: fixed; left: max(32px, calc((100vw - 1600px) / 2)); top: 50px; bottom: 30px; width: 175px; display: flex; flex-direction: column; }
.group-name { font-size: 25px; line-height: 1.55; font-weight: 700; text-decoration: none; width: max-content; letter-spacing: .03em; }
.sidebar-subtitle { margin: 8px 0 42px; color: var(--muted); font-size: 12px; }
nav { display: grid; gap: 5px; margin-left: -12px; }
nav a { text-decoration: none; font-size: 13px; padding: 8px 12px; border-left: 2px solid transparent; }
nav a:hover { background: #ebebeb; }
nav a[aria-current] { border-left-color: var(--blue); color: var(--blue); background: var(--pale); }
.sidebar-bottom { margin-top: auto; padding-top: 35px; display: grid; gap: 12px; align-content: end; font-size: 12px; }
.sidebar-bottom a { width: max-content; }
.sidebar-bottom button { text-align: left; border: 0; padding: 0; background: none; width: max-content; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.sidebar-bottom button:hover { color: var(--blue); }
.sidebar-bottom p { color: var(--muted); font-size: 11px; margin: 12px 0 0; }
main { max-width: 1260px; margin-left: max(255px, calc((100vw - 1600px) / 2 + 235px)); margin-right: 50px; }
h1,h2,h3,p,dl,figure { margin: 0; }
h1,h2,h3 { font-weight: 700; line-height: 1.55; }
p + p { margin-top: 18px; }
.cover { padding-top: 50px; }
.document-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; padding-bottom: 25px; }
.document-meta p + p { margin: 0; }
.cover-title { padding-top: 14px; padding-bottom: 38px; display: flex; align-items: baseline; gap: 35px; }
h1 { font-size: clamp(75px, 6.4vw, 108px); line-height: 1.25; letter-spacing: -.06em; }
.cover-title > p { font-size: 22px; margin: 0; }
.english-title { font-size: 23px; margin-top: 13px; letter-spacing: .01em; line-height: 1.5; }
.cover-body { display: grid; grid-template-columns: .85fr 1.4fr; gap: 45px; align-items: start; }
.cover-description { padding-top: 12px; }
.opening { font-size: 22px; line-height: 1.8; margin-bottom: 25px; }
.cover-description > p:not(.opening) { font-size: 14px; color: var(--muted); }
.project-facts { margin-top: 30px; font-size: 12px; }
.project-facts > div { display: grid; grid-template-columns: 65px 1fr; gap: 12px; margin-top: 14px; }
dt { color: var(--muted); }
dd { margin: 0; }
.project-facts small { font-size: 11px; color: var(--muted); }
.original-sketch { background: white; padding: 18px 20px 20px; }
.drawing-trigger { display: block; width: 100%; background: white; border: 0; padding: 0; position: relative; }
.drawing-trigger img { display: block; width: 100%; height: auto; }
.drawing-trigger span { display: block; margin-top: 16px; font-size: 12px; color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.drawing-trigger:hover span { color: black; }
figcaption { color: var(--muted); font-size: 11px; margin: 14px 0 5px; line-height: 1.8; }
.source-link { font-size: 11px; }
.motivation { display: grid; grid-template-columns: .85fr 1.4fr; gap: 45px; padding: 55px 0 60px; }
.motivation h2 { font-size: 23px; }
.motivation p { font-size: 14px; }
.note { color: var(--muted); font-size: 11px !important; line-height: 1.85; margin-top: 20px; }
.chapter { padding: 60px 0 65px; border-top: 1px solid var(--line); }
.chapter > h2, .heading-row h2 { font-size: 32px; margin-bottom: 30px; letter-spacing: -.025em; }
.story-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-bottom: 32px; font-size: 14px; }
.story-intro p + p { margin-top: 0; }
.journey-map { background: white; padding: 35px 28px 20px; }
.route-controls { display: grid; grid-template-columns: repeat(6,1fr); position: relative; isolation: isolate; gap: 18px; }
.route-controls:before { content: ""; position: absolute; left: 30px; right: 30px; height: 2px; background: var(--line); top: 50%; z-index: -1; }
.route-controls button { background: white; padding: 10px 5px; border: 1px solid var(--line); border-radius: 5px; line-height: 1.5; }
.route-controls button:nth-last-child(-n+2) { border-style: dashed; }
.route-controls small { display: block; font-size: 10px; margin-bottom: 7px; color: var(--muted); }
.route-controls span { font-size: 13px; white-space: nowrap; }
.route-controls button:hover { border-color: var(--blue); }
/* avoid-ai-design-ignore: C2 — the selected investigation stage uses the source PDF color. */
.route-controls button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: white; }
.route-controls button[aria-selected="true"] small { color: white; }
.journey-panel { margin-top: 30px; padding: 28px 0 20px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 45px; border-top: 1px solid var(--line); min-height: 205px; }
.journey-panel h3 { font-size: 20px; margin-bottom: 14px; }
.journey-panel p { font-size: 14px; }
.journey-panel dl { font-size: 12px; }
.journey-panel dl > div + div { margin-top: 18px; }
.journey-panel dt { font-size: 11px; margin-bottom: 5px; }
.route-caption { margin-top: 10px; font-size: 11px; color: var(--muted); }
details { border-bottom: 1px solid var(--line); margin-top: 25px; }
summary { font-size: 16px; font-weight: 700; padding: 20px 0; cursor: pointer; }
summary::marker { font-size: 12px; color: var(--blue); }
summary > span { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 24px; }
.details-content { padding: 5px 0 28px; max-width: 950px; font-size: 14px; }
.details-content h4 { font-size: 17px; margin: 24px 0 12px; }
.details-content h4:first-child { margin-top: 0; }
 .interaction-layout { display: grid; }
.interaction-row { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 34px; padding: 28px 0; border-top: 1px solid var(--line); }
.interaction-row:first-child { padding-top: 10px; border-top: 0; }
.interaction-row:last-child { padding-bottom: 0; }
.interaction-row h3 { font-size: 18px; padding-top: 1px; }
.interaction-content { max-width: 900px; font-size: 14px; }
.interaction-content p + p { margin-top: 15px; }
.interaction-content dl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-top: 22px; font-size: 12px; }
.interaction-content dt { margin-bottom: 7px; }
.production-layout h3, .testing-plan h3 { font-size: 20px; margin-bottom: 17px; }
.section-intro { max-width: 820px; font-size: 14px; margin-bottom: 30px; }
.production-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }
.work-scope dl { font-size: 13px; }
.work-scope dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; margin-bottom: 18px; }
.work-scope dt { color: black; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.9; }
th { text-align: left; font-weight: 400; }
td, th { padding: 15px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px; }
.team td, .team th { padding-left: 0; }
.team th { white-space: nowrap; }
.testing-plan { margin-top: 35px; font-size: 14px; max-width: 850px; }
.heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; }
.heading-row > p { font-size: 12px; color: var(--muted); }
.schedule-board { margin-top: 8px; }
.pin-schedule { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: auto auto; column-gap: 3%; }
.pin-axis { position: absolute; height: 1.5px; background: black; left: 0; right: 0; top: var(--axis-top,50%); }
.pin-axis::after { content: ""; position: absolute; right: 1px; top: -3px; width: 7px; height: 7px; border-right: 1.5px solid black; border-top: 1.5px solid black; transform: rotate(45deg); }
.pin-phase { position: relative; grid-column: calc(var(--slot) + 1); }
.pin-top { grid-row: 1; padding-bottom: 86px; }
.pin-bottom { grid-row: 2; padding-top: 86px; }
.pin-phase time { display: block; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 12px; color: var(--blue); }
.pin-content { position: relative; left: var(--pin); transform: translateX(-50%); width: 87.912088%; }
.pin-heading { width: 100%; text-align: center; }
.pin-phase h3 { font-size: 17px; line-height: 1.6; min-height: 54px; margin-bottom: 16px; }
.pin-content > p { font-size: 12px; line-height: 1.95; }
.pin-phase .schedule-deliverable { margin-top: 14px; color: var(--muted); font-size: 11px; }
.pin-marker { position: absolute; left: var(--pin); width: 1.5px; height: 46px; background: black; }
.pin-marker::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1.5px solid black; border-radius: 50%; background: var(--paper); left: -4px; }
.pin-top .pin-marker { bottom: 0; }
.pin-top .pin-marker::after { top: -8px; }
.pin-bottom .pin-marker { top: 0; }
.pin-bottom .pin-marker::after { bottom: -8px; }
.quotation { table-layout: fixed; }
.quotation caption { text-align: left; font-weight: 700; font-size: 18px; padding: 0 0 18px; }
.quotation td, .quotation th { padding: 17px 16px; vertical-align: middle; }
.quotation thead th { background: white; color: var(--muted); font-size: 12px; }
.quotation tbody th { font-size: 13px; white-space: nowrap; }
.quotation tbody td:nth-child(2) { font-size: 12px; color: var(--muted); }
.quotation thead th:nth-child(3), .quotation tbody td:nth-child(3) { text-align: center; white-space: nowrap; }
.quotation thead th:nth-child(n+4), .quotation tbody td:nth-child(n+4), .quotation tfoot td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quotation tfoot th { text-align: left; }
tfoot { background: var(--pale); }
tfoot th, tfoot td { font-weight: 700; }
.quotation tfoot th { padding-left: 12px; }
.labor .details-content { max-width: none; }
.labor table { margin-top: 25px; table-layout: fixed; }
.labor td, .labor th { padding: 17px 16px; vertical-align: middle; }
.labor thead th { background: white; font-size: 12px; }
.labor thead th:nth-child(2), .labor tbody td:nth-child(2), .labor thead th:nth-child(3), .labor tbody td:nth-child(3) { text-align: center; }
.labor thead th:nth-child(n+4), .labor tbody td:nth-child(n+4), .labor tfoot td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.labor tfoot th { text-align: left; padding-left: 12px; }
.pending-list { max-width: 980px; }
.pending-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; margin-bottom: 23px; font-size: 14px; }
.pending-list dt { color: black; font-weight: 700; }
.proposal-status { margin-top: 35px; padding: 22px 25px; background: white; font-size: 12px; color: var(--muted); }
.proposal-status p + p { margin-top: 8px; }
footer { padding: 30px 0 45px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
dialog { border: 0; padding: 0; max-width: 94vw; width: 1600px; max-height: 90vh; background: white; }
dialog::backdrop { background: #0009; }
.dialog-bar { padding: 18px 22px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.dialog-bar h2 { font-size: 16px; }
.dialog-bar p, .dialog-bar a { font-size: 12px; }
.dialog-bar p { color: var(--muted); }
.dialog-bar a { margin-left: auto; }
.dialog-bar button { border: 1px solid var(--line); background: white; font-size: 12px; padding: 5px 15px; }
.dialog-bar button:hover { border-color: black; }
.drawing-scroll { overflow: auto; max-height: calc(90vh - 80px); }
.drawing-scroll img { display: block; width: 1900px; height: auto; max-width: none; }
body:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  @page { size: A4 landscape; margin: 15mm; }
  :root { background: white; }
  body { min-width: 0; font-size: 10pt; }
  .sidebar,.skip,dialog,footer a,.drawing-trigger span,.source-link { display: none; }
  main { margin: 0; max-width: none; }
  .cover { padding-top: 0; }
  .chapter { break-before: page; border: 0; padding: 0; }
  .cover-title { padding-top: 20px; padding-bottom: 20px; }
  h1 { font-size: 58pt; }
  .cover-title > p { font-size: 17pt; }
  .document-meta { padding-bottom: 12px; }
  .cover-body { gap: 25px; }
  .opening { font-size: 15pt; margin-bottom: 15px; }
  .cover-description > p:not(.opening) { font-size: 10pt; }
  .project-facts { margin-top: 15px; }
  .motivation { padding: 25px 0 0; gap: 25px; }
  .motivation p { font-size: 10pt; }
  .motivation p + p { margin-top: 8px; }
  .motivation .note { margin-top: 8px; }
  .original-sketch { padding: 5px; }
  .chapter > h2,.heading-row h2 { font-size: 24pt; margin-bottom: 20px; }
  .story-intro,.interaction-layout,.production-layout { gap: 30px; }
  .route-controls,.route-caption { display: none; }
  .journey-map { padding: 0; }
  .journey-panel { display: block; padding: 0; margin: 0; border: 0; }
  .print-step { margin: 0 0 14px; break-inside: avoid; }
  .print-step h3 { font-size: 12pt; margin-bottom: 4px; }
  .print-step p { font-size: 10pt; }
  .spoiler { break-before: page; }
  details { border: 0; }
  details > :not(summary) { display: block !important; }
  .details-content { max-width: none; }
  summary { display: block; font-size: 17pt; }
  summary > span { font-size: 10pt; }
  .interaction-layout > div > h3:not(:first-child) { margin-top: 25px; }
  .participation,.testing-plan { margin-top: 25px; }
  .section-intro { margin-bottom: 20px; }
  .labor { break-before: page; }
  .schedule-board { padding-top: 10px; }
  .schedule-board article > p:not(.month) { font-size: 10pt; }
  .schedule-top { gap: 40px; }
  .schedule-bottom { gap: 25px; }
  .schedule-board time { font-size: 12pt; }
  .quotation td,.quotation th { padding-top: 12px; padding-bottom: 12px; }
  .pending-list > div { margin-bottom: 25px; }
  footer { margin-top: 25px; padding-bottom: 0; }
}

.full-story-heading { font-size: 22px; margin: 38px 0 24px; }

@media print {
  .interaction-row { grid-template-columns: 95px 1fr; gap: 25px; padding: 18px 0; break-inside: avoid; }
  .interaction-row h3 { font-size: 13pt; }
  .interaction-content { font-size: 10pt; }
  .interaction-content dl { margin-top: 12px; gap: 20px; font-size: 9pt; }
}

@media print {
  .schedule-columns, .production-schedule li { grid-template-columns: 145px 145px 1fr; gap: 20px; }
  .production-schedule li { padding: 12px 0; break-inside: avoid; }
  .production-schedule h3 { font-size: 11pt; }
  .production-schedule p, .production-schedule time { font-size: 9pt; }
  .production-schedule .schedule-deliverable { margin-top: 4px; font-size: 8pt; }
}
