:root { --ink: #17332f; --muted: #506661; --line: #dce7e3; --teal: #087c69; --blue: #2861bc; --coral: #bf483b; --yellow: #e9c849; --paper: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #edf3f1; color: var(--ink); font: 16px/1.5 system-ui, -apple-system, sans-serif; letter-spacing: 0; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.toolbar { display: flex; align-items: center; gap: 24px; padding: 16px 28px; background: white; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.brand { color: var(--ink); text-decoration: none; font-weight: 750; white-space: nowrap; }
.brand span { color: var(--muted); font-weight: 400; margin-left: 8px; }
#contents { display: flex; gap: 17px; margin-left: auto; min-width: 0; overflow-x: auto; }
#contents a { color: var(--muted); font-size: 13px; text-decoration: none; padding: 5px 0; border-bottom: 2px solid transparent; flex: none; }
#contents a[aria-current] { color: var(--teal); border-color: var(--teal); }
.download { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; text-decoration: none; font-weight: 700; }
.download svg { width: 22px; height: 22px; }
#guide { max-width: 1056px; margin: 28px auto 48px; }
.sheet { position: relative; background: var(--paper); padding: 42px 52px 68px; margin-bottom: 24px; border-top: 5px solid var(--teal); }
.sheet:nth-child(2n) { border-color: var(--blue); }
.sheet:nth-child(3n) { border-color: var(--coral); }
.eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 750; color: var(--teal); margin: 0 0 12px; display: flex; justify-content: space-between; gap: 12px; }
.eyebrow span { color: var(--muted); }
h1 { font-size: 38px; line-height: 1.12; font-weight: 730; margin: 0 0 8px; }
h3 { font-size: 17px; line-height: 1.3; margin: 0 0 7px; }
p { margin: 0; }
.subtitle { color: var(--muted); font-size: 17px; margin-bottom: 25px; }
.lead { font-size: 21px; max-width: 720px; line-height: 1.4; margin: 0 0 24px; }
.poster { margin: 0 0 24px; }
.poster img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.poster figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; padding-top: 8px; }
.play-url { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.islands img { max-height: 340px; }
.chain { display: flex; align-items: stretch; list-style: none; padding: 0; margin: 22px 0; gap: 22px; }
.chain li { position: relative; flex: 1; background: #e7f5ee; border-bottom: 3px solid var(--teal); padding: 15px 10px; text-align: center; font-weight: 650; font-size: 13px; display: grid; place-items: center; min-height: 58px; }
.chain li + li::before { content: ''; position: absolute; top: 50%; left: -17px; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 25px; }
.fact { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.fact p { font-size: 14px; line-height: 1.55; }
.status { display: block; font-size: 10px; font-weight: 750; color: var(--teal); text-transform: uppercase; margin-bottom: 7px; }
.status::before { content: ''; display: inline-block; width: 6px; height: 6px; background: currentColor; margin-right: 6px; border-radius: 50%; }
.planned .status { color: var(--coral); }
.setup .status { color: #786008; }
.layout-cover .facts { grid-template-columns: repeat(3, 1fr); }
.page-note { font-size: 12px; line-height: 1.6; margin: 26px 0 14px; padding: 12px 14px; background: #fcf6da; border-left: 3px solid var(--yellow); }
.sources { font-size: 11px; color: var(--muted); }
.sources summary { cursor: pointer; width: fit-content; }
.sources ul { padding-left: 16px; }
.sources code { overflow-wrap: anywhere; font-size: 10px; }
.sheet-footer { display: flex; align-items: center; gap: 16px; position: absolute; left: 52px; right: 52px; bottom: 22px; color: var(--muted); font-size: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.sheet-footer span:nth-child(2) { margin-left: auto; }
.sheet-footer b { color: var(--ink); }
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lane { min-width: 0; border-top: 3px solid var(--blue); padding-top: 14px; }
.lane.coral { border-color: var(--coral); }
.lane-top { display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: 10px; }
.lane-top img { width: 130px; height: 80px; object-fit: contain; }
.lane h3 { font-size: 23px; }
.lane .chain { display: block; margin: 14px 0 20px; }
.lane .chain li { min-height: 0; padding: 9px; margin-bottom: 13px; border-bottom: 2px solid var(--blue); background: #eaf1fd; }
.lane .chain li + li::before { left: calc(50% - 4px); top: -10px; width: 5px; height: 5px; transform: rotate(135deg); border-color: var(--blue); }
.coral .chain li { background: #fcede7; border-color: var(--coral); }
.coral .chain li + li::before { border-color: var(--coral); }
.lane p { font-size: 13px; }
.recipe-flow .chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.recipe-flow .chain li:nth-child(5)::before { display: none; }
.feedback-flows { display: grid; gap: 16px; }
.feedback-flows section { display: grid; grid-template-columns: 155px 1fr; align-items: center; gap: 12px; }
.feedback-flows h3 { font-size: 14px; margin: 0; }
.feedback-flows .chain { margin: 0; }
.feedback-flows .chain li { font-size: 12px; padding: 12px 8px; }
.feedback-flows section:nth-child(2) li { background: #eaf1fd; border-color: var(--blue); }
.feedback-flows section:nth-child(3) li { background: #fcede7; border-color: var(--coral); }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; }
.locations > div { border-top: 2px solid var(--line); padding-top: 10px; }
.locations dt { font-size: 18px; font-weight: 700; }
.locations dt span { display: block; font-size: 11px; color: var(--blue); margin: 3px 0 7px; }
.locations dd { font-size: 13px; margin: 0; }
.layout-locations .fact:last-child { grid-column: 1 / -1; }
.small-poster { display: flex; align-items: center; gap: 18px; margin: 20px 0 0; }
.small-poster img { width: 115px; height: 72px; object-fit: contain; }
.small-poster figcaption { display: grid; gap: 3px; padding: 0; }
.schedule-table { border-top: 2px solid var(--ink); }
.schedule-row { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.schedule-row h3 { font-size: 16px; }
.schedule-row code { color: var(--blue); font-size: 12px; }
.schedule-row strong { font-size: 13px; }
.schedule-row p { font-size: 13px; margin-top: 5px; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; gap: 20px; }
.limits > div { padding: 12px 0; border-top: 3px solid var(--teal); }
.limits > div:nth-child(2) { border-color: var(--blue); }
.limits > div:nth-child(3) { border-color: var(--coral); }
.limits dt { font-size: 27px; font-weight: 750; }
.limits dd { font-size: 12px; margin: 5px 0 0; }
#load-error { padding: 30px; }
@media (max-width: 1000px) { .toolbar { gap: 14px; padding: 12px 18px; } .brand span { display: none; } #contents { gap: 12px; } #guide { margin: 16px; } .sheet { padding: 32px 30px 64px; } .sheet-footer { left: 30px; right: 30px; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 104px; }
  .toolbar { flex-wrap: wrap; gap: 6px; padding: 10px 16px; }
  .brand { flex: 1; } .download { min-height: 30px; }
  #contents { order: 3; width: 100%; justify-content: space-between; gap: 4px; }
  #contents a { font-size: 11px; }
  #guide { margin: 12px 0; }
  .sheet { padding: 28px 22px 85px; margin-bottom: 12px; }
  h1 { font-size: 30px; } .subtitle { font-size: 15px; } .lead { font-size: 18px; }
  .facts, .layout-cover .facts, .locations, .lanes { grid-template-columns: 1fr; gap: 18px; }
  .chain { gap: 13px; flex-wrap: wrap; }
  .chain li { flex: 1 1 27%; min-height: 55px; font-size: 11px; }
  .chain li + li::before { left: -10px; width: 5px; height: 5px; }
  .layout-cover .chain li:nth-child(4)::before { display: none; }
  .recipe-flow .chain { grid-template-columns: 1fr 1fr; gap: 14px; }
  .recipe-flow .chain li:nth-child(odd)::before { display: none; }
  .feedback-flows section { grid-template-columns: 1fr; gap: 8px; }
  .feedback-flows .chain { gap: 12px; }
  .feedback-flows .chain li { flex-basis: 40%; }
  .feedback-flows .chain li:nth-child(3)::before { display: none; }
  .poster figcaption { align-items: flex-start; flex-direction: column; }
  .small-poster figcaption { display: grid; }
  .schedule-row { grid-template-columns: 1fr; gap: 8px; }
  .limits { gap: 10px; } .limits dt { font-size: 18px; } .limits dd { font-size: 11px; }
  .sheet-footer { left: 22px; right: 22px; flex-wrap: wrap; gap: 4px 12px; }
  .sheet-footer span:nth-child(2) { order: 3; width: 100%; margin: 0; }
  .sheet-footer b { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@page { size: A4; margin: 10mm; }
@media print {
  html { scroll-behavior: auto; }
  body { background: white; font-size: 10pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .toolbar, .sources, noscript { display: none; }
  #guide { max-width: none; margin: 0; }
  .sheet { width: 190mm; height: 277mm; padding: 8mm 7mm 17mm; margin: 0; border-top-width: 1.2mm; break-after: page; break-inside: avoid; }
  .sheet:last-child { break-after: auto; }
  .eyebrow { font-size: 7pt; margin-bottom: 3mm; }
  h1 { font-size: 28pt; margin-bottom: 2mm; }
  .subtitle { font-size: 11pt; margin-bottom: 7mm; }
  .lead { font-size: 14pt; margin-bottom: 5mm; }
  h3 { font-size: 11pt; margin-bottom: 2mm; }
  .islands img { max-height: none; height: 80mm; }
  .poster { margin-bottom: 5mm; }
  .poster figcaption { font-size: 8pt; padding-top: 2mm; }
  .play-url { font-size: 7pt; }
  .chain { gap: 6mm; margin: 5mm 0; }
  .chain li { font-size: 8pt; min-height: 15mm; padding: 3mm 2mm; }
  .chain li + li::before { left: -4.5mm; }
  .facts { gap: 6mm 7mm; margin-top: 7mm; }
  .fact { padding-top: 3mm; }
  .fact p { font-size: 9pt; line-height: 1.5; }
  .status { font-size: 6.5pt; margin-bottom: 2mm; }
  .page-note { font-size: 8pt; margin: 7mm 0 0; padding: 3mm; }
  .sheet-footer { left: 7mm; right: 7mm; bottom: 5mm; font-size: 6.5pt; padding-top: 2mm; }
  .lanes { gap: 7mm; }
  .lane-top { grid-template-columns: 1fr 29mm; }
  .lane-top img { width: 29mm; height: 19mm; }
  .lane h3 { font-size: 15pt; }
  .lane .chain { margin: 4mm 0; }
  .lane .chain li { padding: 2.5mm; margin-bottom: 3.5mm; }
  .lane p { font-size: 8.5pt; }
  .recipe-flow .chain { gap: 5mm 6mm; }
  .feedback-flows { gap: 5mm; }
  .feedback-flows section { grid-template-columns: 30mm 1fr; }
  .feedback-flows h3 { font-size: 9pt; }
  .feedback-flows .chain li { font-size: 8pt; padding: 3mm 1mm; }
  .layout-feedback .feedback-flows { gap: 3mm; }
  .layout-feedback .facts { gap: 4mm 7mm; margin-top: 5mm; }
  .layout-feedback .page-note { margin-top: 4mm; }
  .locations { gap: 5mm 7mm; }
  .locations dt { font-size: 13pt; }
  .locations dt span { font-size: 8pt; margin: 1mm 0 2mm; }
  .locations dd { font-size: 9pt; }
  .layout-locations .facts { margin-top: 4mm; gap: 3mm 7mm; }
  .layout-locations .page-note { margin-top: 3mm; }
  .small-poster { margin-top: 4mm; }
  .layout-locations .small-poster { margin-top: 2mm; margin-bottom: 0; }
  .small-poster img { width: 28mm; height: 17mm; }
  .schedule-row { grid-template-columns: 39mm 1fr; gap: 7mm; padding: 4mm 0; }
  .schedule-row h3 { font-size: 11pt; }
  .schedule-row code { font-size: 8pt; }
  .schedule-row strong { font-size: 9pt; }
  .schedule-row p { font-size: 9pt; }
  .layout-schedule .schedule-row { padding: 2mm 0; }
  .layout-schedule .facts { margin-top: 3mm; gap: 3mm 7mm; }
  .layout-schedule .page-note { margin-top: 4mm; }
  .limits { gap: 5mm; }
  .limits dt { font-size: 18pt; }
  .limits dd { font-size: 8pt; }
}
