/* 緑と白のシンプルなデザイン。教習生画面=スマホの1カラム、管理画面=PCの一覧＋右パネル */
:root {
  --green: #3b8e6b;
  --green-deep: #2b6f52;
  --green-soft: #66bb99;
  --green-tint: #eaf5f0;
  --white: #ffffff;
  --ground: #f5f8f6;
  --ink: #1f2a26;
  --muted: #5e6d67;
  --line: #d7e1dc;
  --off: #e9edeb;
  --wait: #b4660f;
  --wait-tint: #fdf2e3;
  --error: #c0392b;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.6 var(--font); font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 2px; }
[hidden] { display: none !important; }
a { color: var(--green-deep); }

.topbar { background: var(--green); color: var(--white); padding: 12px max(16px, env(safe-area-inset-left)); padding-top: calc(12px + env(safe-area-inset-top)); }
.topbar h1 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.topbar a { color: var(--white); }
.sample-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border: 1px solid currentColor; border-radius: 3px; margin-left: 8px; vertical-align: 1px; }

label, .label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.req { color: var(--error); font-size: 11px; margin-left: 4px; font-weight: 700; }
.input { width: 100%; min-height: 46px; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: 16px; }
textarea.input { min-height: 88px; resize: vertical; }
.input:focus { border-color: var(--green); }
.invalid { border-color: var(--error); }
.err { color: var(--error); font-size: 12px; margin: 4px 0 0; }
.btn { min-height: 46px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-weight: 700; }
.btn:hover { border-color: var(--green); }
.btn-main { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.btn-main:hover { background: #245e45; }
.btn-text { border: 0; background: none; padding: 4px 0; color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 教習生画面（スマホ） ---------- */
.m-wrap { max-width: 480px; margin: 0 auto; background: var(--white); min-height: 100vh; padding-bottom: 96px; box-shadow: 0 0 0 1px var(--line); }
.m-sec { padding: 20px max(16px, env(safe-area-inset-left)); border-bottom: 8px solid var(--ground); display: grid; gap: 14px; }
.m-sec h2 { margin: 0; font-size: 16px; color: var(--green-deep); }
.m-sec p { margin: 0; }
.hint { color: var(--muted); font-size: 13px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.unit { display: flex; align-items: center; gap: 6px; }
.unit .input { min-width: 0; }
.unit span { flex: none; }

/* 紙のシートと同じ表。スマホ幅に13列を収めるため、画面端近くまで広げる */
.sheet-wrap { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left)) + 6px); }
.pick { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.pick th, .pick td { padding: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.pick tr > :first-child { width: 42px; border-right-color: var(--ink); }
.pick tr > :last-child { border-right-color: var(--ink); }
.pick tbody tr:last-child > * { border-bottom-color: var(--ink); }
.pick thead th { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; background: var(--green-tint); border-bottom-color: var(--ink); }
.pick .corner { font-size: 10px; font-weight: 700; }
.pick button { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.col { min-height: 46px; text-align: center; line-height: 1.1; }
.col b { display: block; font-size: 12px; margin-bottom: 2px; }
.col small { display: block; font-size: 8px; font-weight: 400; letter-spacing: -.03em; color: var(--muted); }
.col:disabled { cursor: not-allowed; color: #8b9691; }
.rowhead { height: 38px; text-align: center; line-height: 1.1; }
.rowhead b { display: block; font-size: 11px; letter-spacing: -.04em; }
.rowhead small { font-size: 10px; color: var(--muted); }
.rowhead.rest b, .rowhead.rest small { color: var(--error); }
.pick button.cell { height: 38px; }
.pick button.cell.limited { background: var(--off); }
.pick button.cell.on { background: var(--green); color: var(--white); font-size: 13px; font-weight: 700; }
.pick button.cell.on::after { content: "○"; }
.pick td.off { background: #c9d1cd; }
.notes { margin: 0; padding: 10px 12px; list-style: none; background: var(--green-tint); border-radius: 6px; font-size: 12px; color: var(--ink); }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--white); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.dock-in { max-width: 448px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.dock-count { flex: none; font-size: 12px; color: var(--muted); line-height: 1.3; }
.dock-count b { display: block; font-size: 16px; color: var(--green-deep); }
.dock .btn-main { flex: 1; min-width: 0; }

.done { padding: 40px max(16px, env(safe-area-inset-left)); display: grid; gap: 16px; }
.done h2 { margin: 0; font-size: 20px; color: var(--green-deep); }
.done p { margin: 0; }
.summary { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 14px; background: var(--green-tint); border-radius: 6px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }

/* ---------- 管理画面（PC） ---------- */
.a-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-inline: max(24px, env(safe-area-inset-left)); }
.a-top small { font-size: 13px; font-weight: 400; margin-left: 10px; }
.a-main { max-width: 1320px; margin: 0 auto; padding: 20px max(24px, env(safe-area-inset-left)) 48px; display: grid; gap: 14px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { display: flex; align-items: baseline; gap: 10px; min-width: 140px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-weight: 700; text-align: left; }
.tab b { font-size: 24px; line-height: 1.2; }
.tab.on { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.tab.alert:not(.on) b { color: var(--wait); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.filters > div { min-width: 0; }
.filters .input { min-height: 38px; padding: 4px 10px; font-size: 14px; width: 170px; }
.filters .search { width: 240px; }
.filters label { font-size: 12px; color: var(--muted); }
.filters .end { margin-left: auto; }
.tally { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.tally > span { color: var(--muted); margin-right: 4px; }
.chip { padding: 2px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 13px; }
.chip b { margin-left: 6px; color: var(--green-deep); }
.chip.on { background: var(--green-tint); border-color: var(--green); }

.table-box { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; }
.list { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 14px; }
.list th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--ground); white-space: nowrap; }
.list td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.list tr:last-child td { border-bottom: 0; }
.list tbody tr { cursor: pointer; }
.list tbody tr:hover { background: var(--green-tint); }
.list tbody tr.current { background: var(--green-tint); box-shadow: inset 3px 0 0 var(--green); }
.list .name { font-weight: 700; }
.list .new { color: var(--wait); font-size: 11px; font-weight: 700; margin-left: 6px; }
.num { text-align: right; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.pill { display: inline-block; padding: 1px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.pill.pending { background: var(--wait-tint); color: var(--wait); }
.pill.done { background: var(--green); color: var(--white); }
.by { font-weight: 700; }
.by-none { color: #8b9691; }

.shade { position: fixed; inset: 0; background: rgba(31, 42, 38, .35); z-index: 10; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 11; width: min(860px, 100%); background: var(--white); display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(31, 42, 38, .16); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 20px; }
.panel-head .sub { color: var(--muted); font-size: 13px; }
.close { width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 18px; line-height: 1; }
.panel-body { flex: 1; overflow-y: auto; padding: 16px 24px; display: grid; gap: 16px; align-content: start; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 16px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.request { padding: 10px 12px; background: var(--green-tint); border-radius: 6px; font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.grid-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.sheet { width: 100%; min-width: 0; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
.sheet th, .sheet td { border: 1px solid var(--line); text-align: center; padding: 3px 0; height: 26px; }
.sheet tr > :first-child { border-left: 0; width: 76px; }
.sheet tr > :last-child { border-right: 0; }
.sheet thead th { background: var(--ground); font-weight: 700; line-height: 1.25; position: sticky; top: 0; }
.sheet thead small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.sheet tbody th { font-weight: 700; background: var(--white); }
.sheet tbody th.rest { color: var(--error); }
.sheet td.none { background: var(--off); }
.sheet td.limited { background: var(--ground); }
.sheet td.yes { background: var(--green-soft); font-weight: 700; color: var(--ink); }
.panel-foot { border-top: 1px solid var(--line); padding: 14px 24px; background: var(--ground); display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.panel-foot .input { min-height: 42px; width: 180px; font-size: 14px; }
.panel-foot .btn { min-height: 42px; }
.panel-foot .grow { flex: 1; min-width: 200px; }
.made { font-size: 14px; }
.made b { font-size: 18px; color: var(--green-deep); margin-right: 8px; }
.toast { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 20; max-width: calc(100% - 32px); padding: 10px 18px; background: var(--ink); color: var(--white); border-radius: 6px; font-size: 14px; }

/* ---------- 見本サイトのビジュアル ---------- */
:root {
  --green-deep: #28684e;
  --green-tint: #edf6f1;
  --ground: #f3f6f3;
  --ink: #253e33;
  --muted: #6a7b71;
  --line: #dce5de;
  --off: #e9ecea;
}
body { line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea { transition: background-color .16s, border-color .16s, color .16s; }
.topbar { background: var(--white); color: var(--ink); border-top: 4px solid var(--green); border-bottom: 1px solid var(--line); }
.topbar h1 { font-weight: 600; letter-spacing: .035em; }
.topbar h1::before { content: ""; display: inline-block; width: 19px; height: 22px; margin-right: 10px; vertical-align: -5px; border: 1px solid var(--green); border-radius: 7px 7px 3px 3px; background: linear-gradient(90deg, transparent 45%, var(--green-soft) 45%, var(--green-soft) 55%, transparent 55%) center / 100% 12px no-repeat; }
.sample-tag { color: var(--green-deep); background: var(--green-tint); border: 0; padding: 2px 7px; font-size: 10px; font-weight: 500; letter-spacing: .06em; }
.input { border-radius: 5px; border-color: #cddad1; min-height: 49px; padding: 10px 12px; background-color: #fcfdfb; }
.input:hover { border-color: #91b7a2; }
.input:focus { outline: 2px solid #66bb9938; outline-offset: 1px; background: var(--white); }
.input.invalid { border-color: var(--error); }
.input::placeholder { color: #94a096; }
label, .label { margin-bottom: 7px; font-weight: 500; letter-spacing: .025em; }
.req { color: var(--green-deep); font-size: 10px; background: var(--green-tint); border-radius: 3px; padding: 2px 5px; margin-left: 7px; }
.btn { border-radius: 5px; letter-spacing: .035em; font-weight: 600; }
.btn-main { background: var(--green); border-color: var(--green); }
.btn-main:hover { background: var(--green-deep); }
.btn-text { font-size: 12px; font-weight: 500; text-decoration-color: #9bbca9; }
.m-wrap { max-width: 480px; box-shadow: none; border-inline: 1px solid var(--line); }
.m-wrap .topbar { padding: 23px 19px; padding-top: calc(23px + env(safe-area-inset-top)); }
.m-wrap .topbar h1 { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
.m-wrap .topbar h1::before { width: 16px; height: 20px; margin-right: 7px; }
.m-wrap .sample-tag { margin-left: 6px; padding-inline: 5px; }
.m-sec { padding: 29px max(20px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); gap: 21px; }
.m-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: .035em; margin-bottom: 2px; }
.section-no { color: var(--green); font-size: 11px; font-weight: 500; letter-spacing: .08em; border-bottom: 1px solid var(--green-soft); padding-bottom: 3px; }
.hint { font-size: 12px; line-height: 1.9; margin-top: 11px !important; }
.unit { gap: 9px; }
.unit > span { font-size: 13px; color: var(--muted); }
.sheet-wrap { margin-inline: calc(-1 * max(20px, env(safe-area-inset-left)) + 6px); min-width: 0; }
.pick { border-top-color: #b4c9bc; border-left-color: #b4c9bc; }
.pick tr > :first-child { width: 40px; border-right-color: #b4c9bc; }
.pick tr > :last-child { border-right-color: #b4c9bc; }
.pick tbody tr:last-child > * { border-bottom-color: #b4c9bc; }
.pick thead th { background: #eaf3ed; border-bottom-color: #b4c9bc; }
.pick thead th:has(.col:disabled) { background: #c2cbc5; }
.pick .col { min-height: 60px; }
.col b { font-size: 12px; color: var(--green-deep); margin-bottom: 5px; }
.col small { font-size: 8px; letter-spacing: -.06em; line-height: 1.4; }
.col:disabled b, .col:disabled small { color: #5d6c62; }
.rowhead { height: 40px; background: #f7faf7 !important; }
.rowhead b { font-size: 10px; font-weight: 600; }
.rowhead small { font-size: 9px; }
.pick button.cell { height: 40px; }
.pick button.cell.limited { background: #e9ecea; }
.pick td.off { background: #bcc6bf; }
.pick button.cell.on { background: var(--green); color: white; font-size: 20px; line-height: 1; }
.pick button.cell:focus-visible { position: relative; z-index: 3; outline-offset: -3px; }
.notes { padding: 15px 14px; background: #f3f7f3; border-left: 2px solid var(--green-soft); border-radius: 0 4px 4px 0; font-size: 11px; line-height: 1.9; }
.notes li + li { margin-top: 5px; }
.dock { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); background: #fffffff5; }
.dock-in { gap: 20px; }
.dock-count { min-width: 63px; }
.dock-count b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.dock-count span { font-size: 11px; }
.dock .btn-main { min-height: 49px; }
.done h2 { letter-spacing: .04em; }
/* .done は完了画面と状況バッジで共用されるため、バッジの寸法を明示する。 */
.pill.done { display: inline-block; padding: 4px 11px; background: var(--green-tint); color: var(--green-deep); }
.a-top { min-height: 86px; padding-inline: 48px; }
.a-top h1 { font-size: 17px; }
.a-top small { display: inline-block; color: var(--muted); font-size: 12px; border-left: 1px solid var(--line); padding-left: 18px; margin-left: 18px; }
.a-top a { color: var(--green-deep); font-size: 12px; text-decoration: none; border-bottom: 1px solid #a8c4b3; padding-bottom: 3px; }
.a-top a::after { content: "↗"; margin-left: 12px; }
.a-main { max-width: 1440px; padding: 38px 48px 64px; gap: 22px; }
.tabs { gap: 0; border-bottom: 1px solid #cddbd1; }
.tab { min-width: 190px; justify-content: space-between; align-items: center; padding: 14px 24px 20px; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; font-size: 14px; color: var(--muted); }
.tab b { font-size: 32px; font-weight: 500; letter-spacing: -.04em; }
.tab.on { color: var(--green-deep); background: transparent; border-color: var(--green); }
.tab.alert:not(.on) b { color: var(--wait); }
.tab:hover { background: #eaf1eb; }
.filters { padding: 21px 24px; gap: 22px; border-radius: 7px; }
.filters label { font-size: 11px; }
.filters .input { min-height: 40px; background-color: #fcfdfb; }
.tally { gap: 8px; padding-block: 1px 4px; }
.tally > span { font-size: 11px; margin-right: 10px; }
.chip { padding: 5px 12px; border-radius: 4px; font-size: 12px; color: #53695b; }
.chip b { margin-left: 12px; font-weight: 600; }
.chip.on { color: var(--green-deep); }
.table-box { border-radius: 7px; }
.list { font-size: 12px; }
.list th { padding: 15px 14px; font-size: 10px; font-weight: 500; letter-spacing: .04em; background: #f8faf7; }
.list td { padding: 19px 14px; border-bottom-color: #e9eeea; }
.list .name { font-size: 14px; font-weight: 600; }
.list td:nth-child(3) { color: var(--muted); font-size: 11px; }
.list .new { font-size: 9px; }
.pill { min-width: 67px; padding: 4px 11px; border-radius: 4px; font-size: 11px; line-height: 1.6; text-align: center; }
.pill.pending { background: #fcf0dc; color: #936214; }
.by { display: inline-block; background: #f0f4f0; border: 1px solid #e0e8e0; padding: 3px 9px; border-radius: 4px; font-size: 11px; font-weight: 500; }
.shade { background: #1c332f55; }
.panel { width: min(900px, 100%); box-shadow: -10px 0 40px #18382b12; }
.panel-head { padding: 25px 32px; border-top: 4px solid var(--green); }
.panel-head h2 { font-size: 23px; font-weight: 600; }
.panel-head .sub { font-size: 11px; margin-top: 5px; }
.close { border-radius: 50%; color: var(--muted); }
.close:hover { background: var(--green-tint); }
.panel-body { padding: 25px 32px 32px; gap: 24px; min-width: 0; }
.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; margin-bottom: 6px; }
.facts dd { font-weight: 500; font-size: 14px; }
.request { border-left: 2px solid var(--green-soft); border-radius: 0 4px 4px 0; padding: 14px 16px; font-size: 13px; }
.grid-box { min-width: 0; overflow: visible; border-radius: 0; border: 0; }
.sheet { border: 1px solid var(--line); }
.sheet th, .sheet td { height: 30px; }
.sheet tr > :first-child { width: 83px; }
.sheet thead th { background: #edf4ee; z-index: 1; padding-block: 8px; }
.sheet thead small { font-size: 9px; }
.sheet td.none { background: #bcc6bf; }
.sheet td.limited { background: #e9ecea; }
.sheet td.yes { background: #d7eddf; color: #28684e; font-size: 17px; }
.panel-foot { padding: 20px 32px; gap: 16px; background: #f6f9f5; }
.panel-foot label { font-size: 11px; }
.panel-foot .grow { min-width: 0; }
.panel-foot .btn-main { min-width: 155px; }
@media (max-width: 800px) {
  .a-top { padding: 18px 20px; }
  .a-top h1 { font-size: 13px; }
  .a-top small { margin-left: 8px; padding-left: 8px; }
  .a-main { padding: 24px 16px 40px; }
  .tab { min-width: 0; flex: 1; padding-inline: 12px; gap: 12px; }
  .tab b { font-size: 26px; }
  .filters { gap: 16px; padding: 18px; }
  .filters .end { margin-left: 0; }
  .panel-head, .panel-body, .panel-foot { padding-inline: 16px; }
  .sheet { font-size: 10px; }
  .sheet tr > :first-child { width: 65px; }
  .sheet thead small { font-size: 8px; letter-spacing: -.06em; }
}
@media (prefers-reduced-motion: reduce) {
  button, a, input, select, textarea { transition: none; }
}

/* 管理画面の業務向け可読性。教習生画面には適用しない。 */
body.admin-page { color: #253e33; font-weight: 500; }
body.admin-page .a-top small,
body.admin-page .a-top a { font-size: 13px; font-weight: 500; color: #365c49; }
body.admin-page .tabs { gap: 10px; padding-bottom: 12px; }
body.admin-page .tab {
  min-width: 0; justify-content: flex-start; gap: 10px;
  padding: 12px 20px; border: 1px solid #c4d6ca; border-radius: 7px;
  background: #fff; color: #365c49; font-size: 16px; font-weight: 700;
}
body.admin-page .tab b {
  min-width: 32px; padding: 2px 8px; border-radius: 5px;
  background: #edf6f1; color: #28684e; font-size: 22px; font-weight: 700;
  letter-spacing: 0; text-align: center;
}
body.admin-page .tab.on {
  background: #edf6f1; border-color: #3b8e6b; color: #28684e;
  box-shadow: inset 0 -3px #3b8e6b;
}
body.admin-page .tab.on b { background: #3b8e6b; color: #fff; }
body.admin-page .tab.alert b { background: #f8e6c5; color: #75480c; }
body.admin-page .tab.alert.on b { background: #855411; color: #fff; }
body.admin-page .tab:hover { border-color: #3b8e6b; }
body.admin-page .filters label,
body.admin-page .tally > span { font-size: 13px; color: #405b4c; font-weight: 600; }
body.admin-page .filters .input { font-size: 15px; font-weight: 500; min-height: 44px; }
body.admin-page .input::placeholder { color: #5e6d67; }
body.admin-page .btn-text { font-size: 13px; font-weight: 600; }
body.admin-page .chip { font-size: 14px; font-weight: 600; color: #365c49; padding: 6px 12px; }
body.admin-page .chip b { margin-left: 8px; font-weight: 700; }
body.admin-page .chip.on { background: #dcefe5; border-color: #3b8e6b; }

/* 1440pxでは内幅1342pxに全11列を配分。長い値は省略せず折り返す。 */
body.admin-page .list { table-layout: fixed; min-width: 1100px; font-size: 15px; }
body.admin-page .list th {
  padding: 13px 8px; font-size: 12px; font-weight: 700;
  color: #405b4c; letter-spacing: 0; background: #edf4ee;
}
body.admin-page .list td {
  padding: 16px 8px; color: #253e33; font-size: 15px; font-weight: 500;
  line-height: 1.6; white-space: normal; overflow-wrap: anywhere; border-bottom-color: #dce5de;
}
body.admin-page .list th:nth-child(1) { width: 8%; }
body.admin-page .list th:nth-child(2) { width: 10%; }
body.admin-page .list th:nth-child(3) { width: 6%; }
body.admin-page .list th:nth-child(4) { width: 10%; }
body.admin-page .list th:nth-child(5) { width: 10%; }
body.admin-page .list th:nth-child(6) { width: 11%; }
body.admin-page .list th:nth-child(7) { width: 9%; }
body.admin-page .list th:nth-child(8) { width: 7%; }
body.admin-page .list th:nth-child(9) { width: 6%; }
body.admin-page .list th:nth-child(10) { width: 10%; }
body.admin-page .list th:nth-child(11) { width: 13%; }
body.admin-page .list .name { font-size: 15px; font-weight: 600; }
body.admin-page .list .new { display: inline-block; font-size: 12px; margin-left: 4px; color: #75480c; }
body.admin-page .pill {
  min-width: 0; padding: 5px 9px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
body.admin-page .pill.pending { background: #fae8c9; border-color: #d9b77e; color: #75480c; }
body.admin-page .pill.done { background: #3b8e6b; border-color: #3b8e6b; color: #fff; }
body.admin-page .by {
  padding: 5px 10px; border: 1px solid #9cc7af; border-radius: 5px;
  background: #e4f2e9; color: #225b42; font-size: 16px; font-weight: 700;
}
body.admin-page .by-none { display: inline-block; padding-inline: 9px; color: #4d6257; font-size: 16px; font-weight: 700; }

body.admin-page .panel-head .sub { font-size: 13px; color: #405b4c; }
body.admin-page .facts dt { font-size: 13px; color: #405b4c; font-weight: 600; }
body.admin-page .facts dd { font-size: 15px; font-weight: 600; }
body.admin-page .request { font-size: 15px; }
/* 縦スクロールはpanel-bodyが担当し、時限の見出しをその上端に固定。 */
body.admin-page .grid-box { overflow: visible; }
body.admin-page .sheet { border-collapse: separate; border-spacing: 0; font-size: 14px; }
body.admin-page .sheet th,
body.admin-page .sheet td { height: 34px; border-width: 0 1px 1px 0; }
body.admin-page .sheet tr > :first-child { width: 100px; }
body.admin-page .sheet thead th {
  position: sticky; top: 0; z-index: 2; background: #e4efe8;
  color: #253e33; font-size: 15px; font-weight: 700;
  box-shadow: 0 1px #9fbaaa;
}
body.admin-page .sheet thead small { font-size: 12px; font-weight: 600; color: #405b4c; letter-spacing: 0; }
body.admin-page .sheet tbody th { font-size: 14px; color: #253e33; }
body.admin-page .sheet tbody th.rest { color: #a52f26; }
body.admin-page .sheet td.yes { background: #3b8e6b; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.2; }
body.admin-page .panel-foot { align-items: flex-end; gap: 12px 16px; }
body.admin-page .panel-foot > div:not(.grow) { flex: 0 1 210px; min-width: 180px; display: grid; gap: 6px; }
body.admin-page .panel-foot label { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 600; color: #405b4c; }
body.admin-page .panel-foot .input { width: 100%; min-width: 0; height: 46px; font-size: 15px; font-weight: 500; }
body.admin-page .panel-foot .btn { min-height: 46px; font-size: 15px; }
body.admin-page .panel-foot .grow { flex: 1 1 0; }
body.admin-page .panel-foot .err { font-size: 13px; }
body.admin-page .made { font-size: 15px; }

/* 通知が詳細パネルの名前に重ならないよう左に寄せる */
body.admin-page .toast { left: 24px; right: auto; transform: none; }
