/* ヨモスガラ食堂 本部（デモ）多店舗の月次締めボード */
/* 共通部品（TENKA LAB バー・ヘッダー・フッター・ボタン・実際のお仕事では）は、ほかのデモと同じクラス名と作り。色は決め直した */
/* 本部の机の上に開いた、緑の罫の締め台帳。差し戻しだけ赤ペンの紅、外に出す行動だけ付箋の黄 */
:root {
  --c-base: #F3F5F0;
  --c-surface: #FFFFFF;
  --c-soft: #E3EBE3;
  --c-main: #1F4A3D;
  --c-text: #1E2A26;
  --c-sub: #52615A;
  --c-wait: #36557A;
  --c-wait-bg: #E6EEF6;
  --c-warn: #A3213F;
  --c-warn-bg: #FCE9EE;
  --c-accent: #F0B43C;
  --c-accent-hover: #E5A21F;
  --c-line: #C9D6CC;

  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  --pad-x: 16px;
  --gap-sec: 48px;
  --f-body: 16px;
  --f-note: 14px;
  --f-h1: 26px;
  --f-h2: 20px;
  --f-h3: 18px;
  --f-big: 28px;
  --f-cell: 16px;
  --f-tag: 14px;
  --f-btn: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-base); color: var(--c-text);
  font-family: var(--font-body); font-size: var(--f-body); line-height: 1.8; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--c-main); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, select, input, textarea { font: inherit; letter-spacing: inherit; }
button { color: inherit; cursor: pointer; }
.wrap { max-width: 1184px; margin: 0 auto; padding: 0 var(--pad-x); }
.nw { white-space: nowrap; }
svg { flex: none; }
p, li { text-wrap: pretty; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--c-main); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
[tabindex="-1"]:focus-visible { outline: 3px solid var(--c-main); }

/* ---------- TENKA LAB バー（作品例・デモ 共通） ---------- */
.tl-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px; padding: 8px 16px; background: #1B2A41; color: #FFFFFF;
  font-family: var(--font-body); font-size: 13px; line-height: 1.5; letter-spacing: .04em;
}
.tl-bar__text { margin: 0; }
.tl-bar strong { font-weight: 700; }
.tl-bar__back { flex: none; position: relative; color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tl-bar__back:hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.tl-bar__back::before { content: ""; position: absolute; inset: -15px -8px; }
.tl-bar__back::after { content: "→"; margin-left: 4px; }
.tl-bar__back:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 64px; padding: 0 4px;
  border: 0; background: none; color: var(--c-main); font-size: var(--f-body); font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-text:hover { text-decoration-thickness: 2px; }

/* ---------- ヘッダー ---------- */
.hd { background: #FFFFFF; border-bottom: 1px solid var(--c-line); }
.hd__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; padding-top: 4px; padding-bottom: 8px; }
.hd__logo { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; min-width: 0; color: var(--c-main); }
.hd__mark { width: 28px; height: 28px; color: var(--c-main); }
.hd__name { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; }
.hd__demo {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 14px;
  background: var(--c-soft); color: var(--c-text); font-size: 14px; font-weight: 700; line-height: 1.4;
}

/* ---------- イントロ ---------- */
.intro { padding: 32px 0 24px; }
.h1 { color: var(--c-main); font-size: var(--f-h1); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.intro__lead { margin-top: 12px; max-width: 36em; }
.intro__note { margin-top: 8px; max-width: 36em; color: var(--c-sub); font-size: var(--f-note); line-height: 1.6; }
.intro__now { margin-top: 8px; font-size: var(--f-note); font-weight: 700; line-height: 1.6; }
.intro__now + .intro__now { margin-top: 0; }

/* ---------- 見出し・共通 ---------- */
.sec { padding: var(--gap-sec) 0 0; }
.h2 { display: flex; align-items: center; gap: 8px; color: var(--c-main); font-size: var(--f-h2); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.h2__no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-main); color: #FFFFFF; font-size: 14px; line-height: 1; letter-spacing: 0; }
.h3 { color: var(--c-main); font-size: var(--f-h3); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.sec__lead { margin: 16px 0 24px; max-width: 36em; font-size: var(--f-note); line-height: 1.7; }
.note { margin-top: 8px; color: var(--c-sub); font-size: var(--f-note); line-height: 1.6; }
.warn-text { margin-top: 8px; color: var(--c-warn); font-size: var(--f-note); line-height: 1.6; }
.empty { font-size: 16px; }
.num { text-align: right; }

/* 台帳の入れ物（左に背表紙） */
.ledger {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px;
  box-shadow: inset 8px 0 0 var(--c-main); padding: 16px 16px 16px 24px; min-width: 0;
}

/* ---------- ボタン ---------- */
.btn-sub {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 44px; padding: 0 16px; margin: 0; border: 2px solid var(--c-main); border-radius: 22px;
  background: #FFFFFF; color: var(--c-main); font-family: var(--font-body);
  font-size: var(--f-btn); font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-align: center; white-space: nowrap;
}
.btn-sub:hover, .btn-sub:active { background: var(--c-soft); }
.btn-act {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 2px solid var(--c-text); border-radius: 24px; background: var(--c-accent); color: var(--c-text);
  font-size: var(--f-btn); font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.btn-act:hover, .btn-act:active { background: var(--c-accent-hover); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.btn-row .note { margin-top: 0; }
.inline-link {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none;
  color: var(--c-main); font-size: 16px; font-weight: 700; line-height: 1.3; text-align: left; text-decoration: underline; text-underline-offset: 3px;
}
.inline-link:hover { text-decoration-thickness: 2px; }

/* ---------- 状態の札 ---------- */
.st {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 6px; border-radius: 6px;
  font-size: var(--f-tag); font-weight: 700; line-height: 1.3; white-space: nowrap; color: var(--c-text);
}
.st svg { width: 16px; height: 16px; }
.st--todo { background: #FFFFFF; border: 2px dashed var(--c-sub); }
.st--todo svg { color: var(--c-sub); }
.st--doing { background: var(--c-soft); border: 2px solid var(--c-main); }
.st--doing svg { color: var(--c-main); }
.st--wait { background: var(--c-wait-bg); border: 2px solid var(--c-wait); }
.st--wait svg { color: var(--c-wait); }
.st--done { background: var(--c-main); color: #FFFFFF; border: 2px solid var(--c-main); }
.st--back { background: var(--c-warn-bg); border: 2px solid var(--c-warn); color: var(--c-warn); }
.st-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; color: var(--c-sub); font-size: var(--f-note); font-weight: 400; line-height: 1.5; }
.tag-nudge { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 4px; background: var(--c-warn); color: #FFFFFF; font-size: 14px; font-weight: 700; line-height: 1; }
.tag-prov { display: inline-flex; align-items: center; height: 22px; padding: 0 4px; border: 1px dashed var(--c-sub); border-radius: 4px; background: #FFFFFF; color: var(--c-sub); font-size: 14px; font-weight: 400; line-height: 1; }
.all-done { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--c-main); font-size: var(--f-note); font-weight: 700; line-height: 1.5; }
.done-n { font-size: 18px; font-weight: 700; white-space: nowrap; }

/* 凡例 */
.legend { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; font-size: var(--f-note); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend__nudge { color: var(--c-text); }

/* ---------- 要約の帯 ---------- */
.sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px; background: var(--c-soft); border-radius: 12px; }
.sum__card { min-width: 0; padding: 12px; background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 8px; }
.sum__lab { color: var(--c-sub); font-size: 14px; line-height: 1.5; }
.sum__num { margin-top: 4px; font-size: var(--f-big); font-weight: 700; line-height: 1.1; white-space: nowrap; }
.sum__num.is-warn { color: var(--c-warn); }
.sum__sub { margin-top: 6px; font-size: 14px; line-height: 1.5; }
.sum__reset { grid-column: 1 / -1; }
.sum__reset .btn-sub { width: 100%; }

/* ---------- 表 ---------- */
.grid-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.4; }
.grid-table th, .grid-table td { padding: 8px; border: 1px solid var(--c-line); vertical-align: top; text-align: left; }
.grid-table thead th { background: var(--c-soft); border-bottom: 2px solid var(--c-main); font-size: 14px; font-weight: 700; }
.grid-table tbody th { background: var(--c-soft); font-weight: 700; }
.grid-table tbody tr { height: 56px; }
.board-table tbody tr { height: 64px; }
.th-main { display: block; }
.th-sub { display: block; margin-top: 2px; color: var(--c-sub); font-size: 14px; font-weight: 400; }
.board-table col.c-store { width: 136px; }
.board-table col.c-item { width: auto; }
.grid-table td.is-back { background: var(--c-warn-bg); }
.grid-table td.num, .grid-table th.num { text-align: right; }
.v-main { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.is-off { background: var(--c-warn-bg) !important; box-shadow: inset 4px 0 0 var(--c-warn); }
.is-off .v { color: var(--c-warn); font-weight: 700; }
.bang { width: 16px; height: 16px; color: var(--c-warn); }
.off { display: block; margin-top: 2px; color: var(--c-warn); font-size: 14px; font-weight: 400; }
.tr-total th, .tr-total td { border-top: 2px solid var(--c-main); font-weight: 700; }
.nudge-table th:nth-child(1) { width: 48px; }
.nudge-table th:nth-child(2) { width: 128px; }
.nudge-table th:nth-child(4) { width: 96px; }
.nudge-table th:nth-child(5) { width: 120px; }
.nudge-table th:nth-child(6) { width: 152px; }
.nudge-table th:nth-child(7) { width: 168px; }
.nudge-table th:nth-child(8) { width: 184px; }
.nudge-table td { vertical-align: middle; }
.due-left { font-size: 14px; color: var(--c-sub); }
.due-left.is-warn { color: var(--c-warn); font-weight: 700; }
.check-table th:nth-child(1) { width: 128px; }
.check-table th:nth-child(2) { width: 136px; }
.check-table th:nth-child(7) { width: 112px; }
.check-table th:nth-child(8) { width: 184px; }
.check-table thead th:not(:first-child):not(:last-child) { text-align: right; }

/* カード（1024px 以下） */
.only-table { display: none; }
.cards { display: grid; gap: 16px; }
.card { min-width: 0; padding: 16px; background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 12px; }
.card__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card__sub { margin-top: 0; }
.card__btn { margin-top: 12px; }
.card__btn .btn-sub { width: 100%; }
.card-rows { margin-top: 8px; }
.card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--c-line); }
.card-row__l { min-width: 0; }
.card-row__r { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.card-row__r .st-line { justify-content: flex-end; }
.card-row__name { display: block; font-weight: 700; line-height: 1.5; }
.card--nudge .card-row__name { margin-top: 4px; }
.nudge-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--c-soft); color: var(--c-text); font-size: 14px; }
.nudge-st { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.nudge-st .st-line { margin-top: 0; }
.card--total { border-top: 2px solid var(--c-main); }
.nums { margin-top: 8px; }
.nums__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-top: 1px solid var(--c-line); }
.nums__row dt { color: var(--c-sub); font-size: 14px; line-height: 1.5; }
.nums__row dd { font-size: 16px; font-weight: 700; line-height: 1.4; text-align: right; }
.nums__row.is-sum { border-top: 1px solid var(--c-text); }
.hint-box { margin: 0 0 4px; padding: 8px 12px 8px 16px; background: var(--c-warn-bg); box-shadow: inset 4px 0 0 var(--c-warn); border-radius: 0 0 8px 8px; font-size: 14px; line-height: 1.6; }

/* 催促文の欄 */
.nudge-panel { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.nudge-text {
  display: block; width: 100%; min-height: 240px; margin-top: 12px; padding: 12px 16px;
  border: 1px solid var(--c-sub); border-radius: 8px; background: #FFFFFF; color: var(--c-text); font-size: 16px; line-height: 1.7; resize: vertical;
}

/* 本部の基準 */
.std { margin-bottom: 24px; padding: 16px; background: var(--c-soft); border-radius: 8px; }
.std__rows { display: grid; gap: 12px; margin-top: 8px; }
.std__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.std__f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.std__f label { font-size: 16px; font-weight: 700; }
.std__f input { width: 88px; height: 44px; padding: 0 8px; border: 1px solid var(--c-sub); border-radius: 6px; background: #FFFFFF; color: var(--c-text); font-size: 16px; text-align: right; }
.std__f input[aria-invalid="true"] { border: 2px solid var(--c-warn); }
.std__u, .std__hint { color: var(--c-sub); font-size: 14px; }
.std__hint { flex-basis: 100%; }
.std__err { flex-basis: 100%; color: var(--c-warn); font-size: 14px; line-height: 1.6; }
.std__reset { margin-top: 12px; }

/* 店の詳細 */
.store-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.store-pick__b {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 4px;
  border: 2px solid var(--c-main); border-radius: 8px; background: #FFFFFF; color: var(--c-main); font-size: 16px; font-weight: 700; line-height: 1.2;
}
.store-pick__b[aria-pressed="true"] { background: var(--c-main); color: #FFFFFF; }
.store-pick__b[aria-pressed="true"]:focus-visible { outline-color: var(--c-main); box-shadow: inset 0 0 0 2px #FFFFFF; }
.detail { display: grid; gap: 32px; margin-top: 24px; }
.detail__items, .detail__nums { min-width: 0; }
.items { margin-top: 8px; }
.item { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--c-line); }
.item__t { display: block; font-weight: 700; line-height: 1.5; }
.item__sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.item__sel select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--c-sub); border-radius: 6px; background: #FFFFFF; color: var(--c-text); font-size: 16px; }
.item__days { color: var(--c-sub); font-size: 14px; }
.item__reason { grid-column: 1 / -1; padding: 12px 16px 12px 20px; background: var(--c-warn-bg); box-shadow: inset 4px 0 0 var(--c-warn); border-radius: 8px; }
.item__reason label { display: block; font-size: 14px; font-weight: 700; }
.item__reason textarea { display: block; width: 100%; min-height: 88px; margin-top: 4px; padding: 8px 12px; border: 1px solid var(--c-sub); border-radius: 6px; background: #FFFFFF; color: var(--c-text); font-size: 16px; line-height: 1.5; }

/* 合計 */
.total { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.total__i { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px; border-top: 1px solid var(--c-line); }
.total__i dt { color: var(--c-sub); font-size: 14px; }
.total__i dd { font-size: 18px; font-weight: 700; text-align: right; }
.total__i .st-line { justify-content: flex-end; }
#total .btn-row .btn-act { width: 100%; }

/* ---------- 実際のお仕事では（TENKA LAB の層） ---------- */
.sec--lab { margin-top: var(--gap-sec); padding-bottom: var(--gap-sec); border-top: 1px dashed var(--c-sub); }
.lab-tag {
  display: inline-flex; align-items: center; gap: .3em; height: 24px; padding: 0 8px; border-radius: 4px;
  background: var(--c-text); color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: 1;
}
.lab-title { margin-top: 12px; font-size: var(--f-h2); font-weight: 700; line-height: 1.4; color: var(--c-main); letter-spacing: .04em; }
.lab-lead { margin-top: 16px; max-width: 36em; font-size: var(--f-body); }
.work-3 { display: grid; gap: 16px; margin-top: 32px; }
.work-3 > li { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 12px; padding: 24px; min-width: 0; }
.work-3 > li > svg { color: var(--c-main); }
.work-3 h3 { margin-top: 8px; color: var(--c-text); font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.work-3 ul, .work-check ul { margin-top: 8px; }
.work-3 ul li, .work-check li { position: relative; padding-left: 18px; font-size: var(--f-body); line-height: 1.7; }
.work-3 ul li::before, .work-check li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-main); }
.work-check { margin-top: 16px; padding: 16px; background: #FFFFFF; border: 1px dashed var(--c-sub); border-radius: 12px; }
.work-check h3 { color: var(--c-text); font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.work-check__note { margin-top: 12px; color: var(--c-sub); font-size: var(--f-note); line-height: 1.7; }
.lab-more { margin-top: 16px; }
.lab-more .btn-text { padding: 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--c-main); color: #FFFFFF; font-size: 16px; line-height: 1.8; padding: 48px 0; text-align: center; }
.site-footer p + p { margin-top: 16px; }
.site-footer :focus-visible { outline-color: #FFFFFF; }
/* 面は付箋の黄・字は墨（7.98）。背表紙の面と 5.36 で形が見える */
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; max-width: 360px; min-height: 52px;
  margin: 0 auto; border: 2px solid var(--c-text); border-radius: 8px; background: var(--c-accent); color: var(--c-text);
  font-size: 16px; font-weight: 700; text-decoration: none;
}
.btn:hover, .btn:active { background: var(--c-accent-hover); color: var(--c-text); }
.copy { font-size: 13px; }
.print-root { display: none; }

@media (max-width: 374px) {
  .btn-sub { padding: 0 12px; }
}

/* ---------- 769px 以上 ---------- */
@media (min-width: 769px) {
  :root { --pad-x: 32px; --gap-sec: 64px; --f-h1: 30px; --f-h2: 22px; --f-big: 32px; --f-cell: 15px; }
  .tl-bar { padding: 8px 32px; }
  .intro { padding: 48px 0 32px; }
  .ledger { padding: 24px 24px 24px 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sum { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-3 > li { padding: 24px 20px; }
  .item__sel select { width: 224px; }
  .item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .item__name { grid-column: 1 / -1; }
  .total { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #total .btn-row .btn-act { width: auto; }
  .nudge-text { max-width: 720px; }
}

/* ---------- 1025px 以上：表の形 ---------- */
@media (min-width: 1025px) {
  :root { --f-body: 17px; --f-h1: 34px; --f-h2: 24px; --f-big: 36px; }
  .only-table { display: block; }
  .only-cards { display: none; }
  .sum { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; }
  .sum__reset { grid-column: auto; }
  .sum__reset .btn-sub { width: auto; }
  .store-pick { display: flex; flex-wrap: wrap; }
  .store-pick__b { padding: 0 16px; }
  .detail { grid-template-columns: minmax(0, 1fr) 448px; }
  .item { grid-template-columns: 280px 1fr auto; }
  .item__name { grid-column: auto; }
  .total { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .total__i { grid-template-columns: minmax(0, 1fr); }
  .total__i dd { text-align: left; }
  .total__i .st-line, .total__i .v-main { justify-content: flex-start; }
  .std__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 印刷（A4 横） ---------- */
@page { size: A4 landscape; margin: 10mm; }
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #FFFFFF; font-size: 10pt; }
  .tl-bar, .hd, main, .site-footer { display: none !important; }
  .print-root { display: block; line-height: 1.45; }
  .pr-title { font-size: 14pt; font-weight: 700; }
  .pr-sum { margin: 4pt 0 8pt; }
  .pr-h { margin-top: 10pt; font-size: 12pt; font-weight: 700; break-after: avoid; }
  .pr-table { width: 100%; border-collapse: collapse; table-layout: fixed; break-inside: avoid; }
  .pr-table th, .pr-table td { padding: 3pt 4pt; border: .5pt solid #52615A; text-align: left; vertical-align: top; font-size: 10pt; }
  .pr-board thead th { width: 12%; }
  .pr-board thead th:first-child { width: 16%; }
  .pr-page--2 { break-before: page; }
  .pr-page--2 p { margin-top: 6pt; }
  .pr-foot { color: #52615A; }
  .pr-table .is-off { box-shadow: none; }
  .pr-table .st { height: auto; padding: 0 3pt; }
}
/* カードの dl では印を行に付ける（dd に重ねない） */
.nums__row dd.is-off { background: none !important; box-shadow: none; }
.tag-nudge, .tag-prov { flex: none; white-space: nowrap; }
.legend__nudge { align-items: flex-start; }
