@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --surface: #fffef8;
  --ink: #203f35;
  --ink-deep: #14382d;
  --muted: #5f6e62;
  --line: #d1d7c9;
  --lime: #d9ee84;
  --lime-bright: #d5ee65;
  --sage: #e8ecdf;
  --warning: #f4ebd2;
  --radius: 14px;
  --shadow: 0 16px 40px rgb(25 55 38 / 5%);
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button,
input,
select,
textarea { font: inherit; }
button,
a,
input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:not(:disabled),
summary,
input[type="checkbox"] { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 3px solid #566e00; outline-offset: 5px; }
::selection { background: var(--lime); color: var(--ink-deep); }
h1,
h2,
h3,
p,
ul,
ol { margin-top: 0; }
h1,
h2,
h3 { font-feature-settings: "palt"; overflow-wrap: anywhere; }
h1,
h2 { letter-spacing: -.045em; }
h2 { margin-bottom: 14px; font-size: clamp(28px, 3.3vw, 42px); font-weight: 750; line-height: 1.55; }
h3 { margin-bottom: 14px; font-size: 20px; line-height: 1.6; letter-spacing: -.025em; }
p { margin-bottom: 1.1em; }
ul,
ol { padding-left: 1.4em; }
li + li { margin-top: .55em; }
small { font-size: 12px; }
strong { font-weight: 750; }
img,
svg { max-width: 100%; }
.shell { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; transform: translateY(-160%); border: 2px solid var(--ink); border-radius: 5px; background: var(--lime); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

/* A quiet masthead keeps the guide close to a printed field notebook. */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1328px, calc(100% - 64px)); min-height: 100px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--lime); font-family: var(--serif); font-size: 21px; font-weight: 700; }
.brand-name { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.04em; line-height: 1.45; }
.brand small { display: block; color: var(--muted); font-family: var(--serif); font-size: 11px; font-weight: 400; letter-spacing: .035em; }
.header-nav { display: flex; align-items: center; gap: 20px; font-size: 12px; font-weight: 650; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }
.header-nav .lang { justify-content: center; min-width: 48px; min-height: 44px; padding: 5px 11px; border: 1px solid var(--ink); border-radius: 4px; font-size: 11px; letter-spacing: .02em; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(280px, 1fr); align-items: center; gap: 68px; min-height: 570px; padding: 77px 0 84px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: block; margin-bottom: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.7; text-transform: uppercase; }
.hero .eyebrow::before { display: inline-block; width: 23px; height: 1px; margin: 0 10px 4px 0; background: currentColor; content: ""; }
h1 { margin: 0 0 28px; font-size: clamp(40px, 4.3vw, 61px); font-weight: 750; line-height: 1.48; }
h1 em { position: relative; display: inline; padding-bottom: .05em; background: linear-gradient(transparent 77%, var(--lime) 77%, var(--lime) 95%, transparent 95%); font-style: normal; }
.hero-intro { max-width: 540px; margin-bottom: 31px; color: var(--muted); font-size: 15px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-gateway { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 0 0 36px; }
.guide-gateway > a { position: relative; display: block; padding: 26px 48px 25px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.guide-gateway > a:hover { border-color: var(--ink); }
.guide-gateway > .gateway-growth { background: var(--sage); }
.guide-gateway .eyebrow { margin-bottom: 10px; font-size: 10px; }
.guide-gateway strong { display: block; font-size: 19px; line-height: 1.7; }
.guide-gateway p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.gateway-arrow { position: absolute; right: 22px; top: 27px; font-size: 24px; }
.dojo-gateway { display:flex; align-items:center; gap:26px; padding:25px 30px; margin-bottom:36px; border:1px solid var(--ink); border-radius:var(--radius); background:var(--ink-deep); color:var(--surface); text-decoration:none; }
.dojo-gateway:hover { background:#244c38; }
.dojo-gateway:focus-visible { outline-offset:5px; }
.dojo-gateway-number { font:54px/1.2 var(--serif); color:var(--lime); }
.dojo-gateway .eyebrow { color:#c4d79c; font-size:10px; margin-bottom:6px; }
.dojo-gateway strong { font-size:19px; line-height:1.6; }
.dojo-gateway p { color:#ced9c9; font-size:12px; margin:6px 0 0; }
.dojo-gateway-arrow { margin-left:auto; font-size:30px; }
@media(max-width:600px) { .dojo-gateway { padding:23px; gap:18px; align-items:flex-start; } .dojo-gateway-number { font-size:35px; } .dojo-gateway strong { font-size:15px; } .dojo-gateway-arrow { display:none; } .dojo-gateway p { font-size:11px; } }
@media (max-width:600px) { .guide-gateway { grid-template-columns: 1fr; } }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 12px 23px; border: 1px solid var(--ink); border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.65; text-align: center; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgb(20 56 45 / 10%); text-decoration: none; }
.button-primary { border-color: var(--ink-deep); background: var(--ink-deep); color: var(--surface); }
.button-primary:hover { background: #275b47; }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--sage); }
.hero-note { position: relative; width: 100%; max-width: 360px; justify-self: center; padding: 31px 29px 21px; transform: rotate(2.2deg); border: 1px solid #d1d4b9; border-radius: 3px; background: #e8edca; box-shadow: 10px 14px 0 #e5e5d8; }
.hero-note::before { position: absolute; top: -13px; left: calc(50% - 37px); width: 74px; height: 26px; transform: rotate(-7deg); border: 1px solid rgb(201 207 180 / 50%); background: rgb(248 247 228 / 75%); content: ""; }
.note-label { display: block; margin-bottom: 25px; color: #5a6544; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.note-title { margin-bottom: 24px; font-size: 24px; font-weight: 750; line-height: 1.7; letter-spacing: -.04em; }
.hero-note ol { padding: 0; margin: 0 0 24px; list-style: none; counter-reset: note; }
.hero-note li { display: flex; align-items: baseline; gap: 13px; padding: 11px 0; margin: 0; border-top: 1px solid #c1c9a8; font-size: 14px; }
.hero-note li::before { color: #536040; font-family: var(--serif); font-size: 18px; content: "0" counter(note); counter-increment: note; }
.note-footer { margin: 0; color: #586246; font-size: 11px; }
.subnav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow-x: auto; padding: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.subnav a { display: flex; align-items: center; justify-content: flex-start; gap: 11px; min-height: 59px; padding: 14px 18px; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.subnav a > span { color: #687b5c; font-family: var(--serif); font-size: 14px; font-weight: 400; }
.subnav a + a { border-left: 1px solid var(--line); }
.subnav a:nth-child(5n + 1) { border-left: 0; }
.subnav a:nth-child(n + 6) { border-top: 1px solid var(--line); }
.subnav a:hover { background: var(--sage); color: var(--ink); }

.section { padding: 76px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.section-heading { position: relative; padding-left: 70px; margin-bottom: 33px; }
.section-number { position: absolute; top: -5px; left: 0; color: #6a7965; font-family: var(--serif); font-size: 41px; font-weight: 400; line-height: 1.2; letter-spacing: -.04em; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin-bottom: 10px; }
.section-heading p:last-child { max-width: 750px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.daily-panel { overflow: hidden; border: 1px solid #becbb8; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.daily-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 27px 32px 13px; }
.daily-header h3 { margin: 0; font-size: 19px; }
.progress-copy { margin: 0; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.progress-copy strong { color: var(--ink); }
progress#daily-progress { display: block; width: calc(100% - 64px); height: 5px; overflow: hidden; margin: 0 32px 25px; border: 0; border-radius: 9px; background: var(--sage); accent-color: var(--ink); }
progress::-webkit-progress-bar { border-radius: 9px; background: var(--sage); }
progress::-webkit-progress-value { border-radius: 9px; background: var(--ink); transition: width .2s; }
progress::-moz-progress-bar { border-radius: 9px; background: var(--ink); }
.phase-tabs { display: flex; gap: 6px; padding: 0 32px 23px; }
.phase-tab { flex: 1; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font-size: 13px; font-weight: 700; line-height: 1.6; transition: background .15s; }
.phase-tab:hover { background: var(--sage); }
.phase-tab[aria-pressed="true"] { border-color: var(--ink-deep); background: var(--ink-deep); color: var(--surface); }
.phase-panel { padding: 24px 32px 22px; border-top: 1px solid var(--line); }
.phase-panel h3 { margin-bottom: 6px; font-size: 18px; }
.phase-intro { margin-bottom: 19px; color: var(--muted); font-size: 13px; }
.checklist { padding: 0; margin: 0; list-style: none; }
.checklist li { margin: 0; border-top: 1px solid #e3e6dc; }
.checklist li:first-child { border-top: 0; }
.checklist label { display: flex; align-items: flex-start; gap: 15px; min-height: 69px; padding: 15px 0; cursor: pointer; }
.checklist input[type="checkbox"] { flex: 0 0 21px; width: 21px; height: 21px; margin: 4px 0 0; accent-color: var(--ink); }
.checklist label > span { flex: 1; min-width: 0; }
.checklist strong { display: block; font-size: 14px; line-height: 1.7; }
.checklist small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.checklist input:checked + span strong { color: #586a5a; text-decoration: line-through; text-decoration-color: #869680; }
.daily-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 32px; border-top: 1px solid var(--line); background: #f1f3e9; }
.daily-footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.text-button { flex-shrink: 0; min-height: 44px; padding: 9px 0; border: 0; background: transparent; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: #45602b; }

.split-grid,
.three-grid { display: grid; gap: 20px; }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.card > .tag + h3,
.mini-card > .tag + h3 { margin-top: 14px; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid #c5cdb9; border-radius: 3px; background: #eef1e3; color: #445735; font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: .035em; }
.card p,
.card li { color: var(--muted); font-size: 13px; line-height: 1.95; }
.card strong { color: var(--ink); }
.card p:last-child,
.card ul:last-child,
.card ol:last-child { margin-bottom: 0; }
.card li::marker { color: #698350; }
.dark-card { border-color: var(--ink-deep); background: var(--ink-deep); color: var(--surface); }
.dark-card p,
.dark-card li { color: #d7e0d2; }
.dark-card strong { color: #eff6d7; }
.dark-card .tag { border-color: #6b805d; background: #304d36; color: var(--lime); }
.dark-card li::marker { color: var(--lime); }
.dark-card :focus-visible { outline-color: var(--lime); }
.callout { padding: 18px 24px; margin: 22px 0 0; border: 1px solid #c8d2b4; border-left: 3px solid #83994e; border-radius: 4px; background: #edf0e1; color: #465840; font-size: 13px; line-height: 1.9; }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { border-color: #d6cbaa; border-left-color: #a18a4b; background: var(--warning); color: #5c5030; }
.template-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 25px; }
.template-layout:has(.template-picker[hidden]) { grid-template-columns: minmax(0, 1fr); }
.template-content { display: grid; min-width: 0; gap: 18px; }
.template-picker { display: grid; gap: 8px; }
.template-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 5px; background: transparent; font-size: 13px; font-weight: 650; line-height: 1.65; text-align: left; }
.template-tab > span { flex-shrink: 0; }
.template-tab:hover { background: var(--sage); }
.template-tab[aria-pressed="true"] { border-color: #b9cb6b; background: var(--lime); color: var(--ink-deep); }
.template-card { min-width: 0; overflow: hidden; padding: 28px 30px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.template-top { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; margin-bottom: 9px; }
.template-top h3 { margin: 0; }
.template-top .tag { flex-shrink: 0; }
.template-when { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.template-card pre,
.card pre,
.detail-body pre { min-width: 0; max-width: 100%; padding: 24px; margin: 0 0 20px; border: 1px solid #dce1d0; border-radius: 5px; background: #f5f6ee; color: #33493c; font-family: var(--sans); font-size: 14px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
.card pre { padding: 18px; margin-bottom: 9px; font-family: Georgia, serif; font-size: 16px; line-height: 1.75; }
.detail-body pre { font-size: 13px; }
.template-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.template-tip { margin: 17px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.communication-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.mini-card { min-width: 0; padding: 23px; border-top: 2px solid #78925c; background: #ebeee3; }
.mini-card h3 { margin-bottom: 9px; font-size: 16px; }
.mini-card p,
.mini-card li { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.mini-card ul { margin-bottom: 0; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.step { position: relative; min-width: 0; padding: 26px 23px; }
.step + .step { border-left: 1px solid var(--line); }
.step-range { display: inline-block; margin-bottom: 17px; color: #5d7151; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.step h3 { margin-bottom: 13px; font-size: 17px; }
.step p,
.step li { color: var(--muted); font-size: 12px; line-height: 1.9; }
.step ul { margin-bottom: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
th,
td { padding: 17px 21px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #e9eddf; font-size: 12px; font-weight: 700; }
td { color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.guide-detail { margin-top: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.guide-detail summary { position: relative; min-height: 60px; padding: 17px 50px 17px 23px; font-size: 14px; font-weight: 700; list-style: none; }
.guide-detail summary::-webkit-details-marker { display: none; }
.guide-detail summary::after { position: absolute; top: 16px; right: 22px; font-size: 21px; font-weight: 400; line-height: 1.3; content: "+"; }
.guide-detail[open] summary::after { content: "−"; }
.guide-detail summary:hover { background: #eef1e6; }
.guide-detail[open] summary { border-bottom: 1px solid var(--line); }
.detail-body { padding: 22px 23px 25px; color: var(--muted); font-size: 13px; }
.detail-body strong { color: var(--ink); }
.detail-body > :last-child { margin-bottom: 0; }
.privacy-strip { display: flex; align-items: flex-start; gap: 20px; padding: 27px 30px; margin: 48px 0 0; border: 1px solid #c2ceaa; border-radius: 7px; background: #e6edda; }
.privacy-strip > .brand-mark { flex-shrink: 0; width: 32px; height: 32px; font-size: 16px; }
.privacy-strip > div { min-width: 0; }
.privacy-strip h3 { flex-shrink: 0; margin: 0; font-size: 15px; }
.privacy-strip p { margin: 0; color: #526345; font-size: 12px; line-height: 1.95; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.site-footer .shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.site-footer small { color: var(--muted); font-size: 10px; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 22px; }
.footer-actions .text-button { font-size: 12px; }
.back-top { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; font-size: 12px; text-decoration: none; }
.toast { position: fixed; z-index: 50; bottom: 25px; left: 50%; width: max-content; max-width: calc(100% - 32px); padding: 13px 22px; transform: translateX(-50%); border: 1px solid #628069; border-radius: 7px; background: var(--ink-deep); color: #fff; box-shadow: 0 8px 30px rgb(0 0 0 / 15%); font-size: 13px; text-align: center; }

@media (min-width: 1440px) {
  .hero { min-height: 630px; }
}

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .header-nav { gap: 14px; }
  .hero { gap: 38px; padding-block: 68px; }
  h1 { font-size: 44px; }
  .hero-note { padding: 28px 24px 21px; }
  .note-title { font-size: 21px; }
  .subnav a { gap: 8px; padding-inline: 13px; font-size: 11px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .three-grid { gap: 14px; }
  .three-grid .card { padding: 24px; }
}

@media (max-width: 800px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 20px 9px; }
  .header-nav { width: 100%; gap: 21px; overflow-x: auto; scrollbar-width: thin; }
  .header-nav .lang { min-height: 44px; margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr); gap: 27px; padding-block: 55px; }
  h1 { font-size: 37px; }
  .hero-intro { font-size: 14px; }
  .hero-note { padding: 27px 20px 18px; }
  .hero-note li { font-size: 12px; }
  .note-title { font-size: 19px; }
  .hero-actions .button { width: 100%; }
  .subnav a { min-height: 58px; padding-inline: 18px; }
  .subnav { display: flex; }
  .subnav a { flex: 0 0 auto; }
  .subnav a:nth-child(5n + 1):not(:first-child) { border-left: 1px solid var(--line); }
  .subnav a:nth-child(n + 6) { border-top: 0; }
  .section { padding-block: 57px; }
  .section-heading { padding-left: 58px; }
  .section-number { font-size: 35px; }
  .template-layout { grid-template-columns: 1fr; gap: 17px; }
  .template-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-grid { grid-template-columns: 1fr; }
  .communication-map { gap: 11px; }
  .mini-card { padding: 18px; }
  .privacy-strip { gap: 15px; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .shell,
  .header-inner { width: calc(100% - 40px); }
  .header-inner { padding-top: 18px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .brand-name { font-size: 16px; }
  .brand small { font-size: 10px; }
  .header-nav { gap: 21px; font-size: 11px; }
  .header-nav .lang { min-width: 43px; padding-inline: 9px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: auto; padding: 42px 0 45px; }
  .hero .eyebrow { margin-bottom: 20px; font-size: 10px; }
  h1 { margin-bottom: 21px; font-size: clamp(35px, 8.7vw, 48px); line-height: 1.48; }
  .hero-intro { max-width: 440px; margin-bottom: 24px; font-size: 13px; line-height: 2; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { flex: 1 1 145px; width: auto; padding: 12px 13px; font-size: 12px; }
  .hero-note { max-width: none; width: calc(100% - 17px); padding: 23px 25px 19px; transform: rotate(1deg); box-shadow: 7px 8px 0 #e5e5d8; }
  .note-label { margin-bottom: 12px; font-size: 9px; }
  .note-title { margin-bottom: 15px; font-size: 20px; line-height: 1.7; }
  .hero-note ol { margin-bottom: 12px; }
  .hero-note li { padding-block: 9px; font-size: 13px; }
  .note-footer { font-size: 10px; }
  .subnav { margin-inline: -20px; padding-inline: 8px; }
  .subnav a { min-height: 54px; padding-inline: 16px; font-size: 11px; }
  .section { padding-block: 45px; }
  .section-heading { padding-left: 45px; margin-bottom: 25px; }
  .section-number { top: -1px; font-size: 30px; }
  .section-heading .eyebrow { font-size: 9px; letter-spacing: .1em; }
  h2 { font-size: 26px; line-height: 1.6; }
  .section-heading p:last-child { margin-left: -45px; margin-top: 14px; font-size: 12px; line-height: 1.95; }
  .daily-header { align-items: flex-start; gap: 12px; padding: 22px 19px 14px; }
  .daily-header h3 { font-size: 16px; }
  .progress-copy { padding-top: 3px; font-size: 10px; }
  progress#daily-progress { width: calc(100% - 38px); margin-inline: 19px; margin-bottom: 20px; }
  .phase-tabs { gap: 5px; padding: 0 19px 20px; }
  .phase-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 9px 3px; font-size: 11px; white-space: nowrap; }
  .phase-tab > span { display: block; font-size: 10px; opacity: .8; }
  html[lang="en"] .phase-tabs { overflow-x: auto; }
  html[lang="en"] .phase-tab { flex: 0 0 104px; }
  .phase-panel { padding: 21px 19px 17px; }
  .phase-panel h3 { font-size: 16px; }
  .phase-intro { font-size: 12px; }
  .checklist label { gap: 12px; padding-block: 14px; }
  .checklist strong { font-size: 13px; }
  .checklist small { font-size: 11px; }
  .daily-footer { align-items: flex-start; flex-direction: column; gap: 3px; padding: 15px 19px 8px; }
  .daily-footer p { font-size: 10px; }
  .text-button { font-size: 11px; }
  .split-grid { grid-template-columns: 1fr; gap: 14px; }
  .card,
  .three-grid .card { padding: 24px 22px; }
  .card-top { margin-bottom: 15px; }
  .card h3 { font-size: 18px; }
  .card p,
  .card li { font-size: 12px; }
  .callout { padding: 16px 18px; font-size: 12px; }
  .template-picker { gap: 7px; }
  .template-tab { min-height: 52px; padding: 11px 12px; font-size: 11px; }
  .template-card { padding: 23px 19px 21px; }
  .template-top { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
  .template-top h3 { font-size: 18px; }
  .template-when { margin-top: 11px; font-size: 11px; }
  .template-card pre,
  .card pre,
  .detail-body pre { padding: 18px 16px; font-size: 12px; }
  .card pre { font-size: 15px; }
  .template-actions .button { flex: 1; }
  .template-tip { font-size: 10px; }
  .communication-map { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
  .mini-card { padding: 19px 21px; }
  .timeline { grid-template-columns: 1fr; }
  .step { padding: 24px 23px; }
  .step + .step { border-top: 1px solid var(--line); border-left: 0; }
  .step-range { margin-bottom: 12px; font-size: 21px; }
  .step h3 { margin-bottom: 11px; }
  .table-wrap { margin-top: 18px; }
  table { min-width: 510px; font-size: 12px; }
  th,
  td { padding: 14px 16px; }
  th { font-size: 11px; }
  .guide-detail summary { padding: 16px 45px 16px 18px; font-size: 13px; }
  .guide-detail summary::after { right: 17px; }
  .detail-body { padding: 19px 18px 21px; font-size: 12px; }
  .privacy-strip { padding: 23px 22px; margin-top: 34px; }
  .privacy-strip h3 { font-size: 14px; }
  .privacy-strip p { font-size: 11px; }
  .site-footer { padding-block: 24px; }
  .site-footer .shell { align-items: flex-start; gap: 12px 20px; }
  .site-footer p { font-size: 10px; }
  .footer-actions { justify-content: flex-start; gap: 6px 17px; }
  .toast { bottom: 16px; font-size: 12px; }
}

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

@media print {
  :root { --paper: #fff; --surface: #fff; --ink: #111; --ink-deep: #111; --muted: #333; --line: #ccc; }
  @page { margin: 15mm; }
  body { background: #fff; color: #111; font-size: 10pt; line-height: 1.6; }
  .shell,
  .header-inner { width: 100%; }
  .skip-link,
  .header-nav,
  .hero-actions,
  .subnav,
  .phase-tabs,
  .daily-footer,
  .template-picker,
  .template-actions,
  [data-copy],
  #print-guide,
  .back-top,
  .toast { display: none !important; }
  .header-inner { min-height: 60px; padding: 0 0 12px; }
  .hero { grid-template-columns: 1.5fr 1fr; min-height: 0; padding-block: 25px; gap: 30px; }
  h1 { font-size: 27pt; }
  h2 { font-size: 19pt; }
  h3 { font-size: 13pt; }
  .hero-note { transform: none; box-shadow: none; background: #fff; }
  .hero-note::before { display: none; }
  .section { padding-block: 24px; }
  .section-heading { break-after: avoid; margin-bottom: 20px; }
  .card,
  .step,
  .mini-card,
  .guide-detail,
  .privacy-strip,
  .checklist li { break-inside: avoid; }
  .daily-panel,
  .template-card { box-shadow: none; }
  .dark-card { background: #fff; border-color: #777; color: #111; }
  .dark-card p,
  .dark-card li,
  .dark-card strong { color: #222; }
  .template-layout { grid-template-columns: 1fr; }
  .phase-panel[hidden],
  .template-card[hidden] { display: block !important; }
  .template-card { break-inside: avoid; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid #ccc; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  tr { break-inside: avoid; }
  thead { display: table-header-group; }
  .guide-detail::details-content { display: block; content-visibility: visible; }
  .privacy-strip { margin-block: 24px; }
  .site-footer { padding-block: 15px; }
  a { text-decoration: none; }
}
