/* 個人ページ (staff., UI_SPEC §14): phone first, the buttons low and large, inputs 16px (iPhone does not zoom). */
:root {
  --ink: #1b2430; --muted: #5d6878; --line: #dde3ea; --bg: #f3f5f8; --panel: #ffffff;
  --accent: #1d5fbf; --error: #b42318; --error-bg: #fdecea; --header-bg: #1e2a3a; --header-ink: #e8edf3;
  --accent-bg: #e3edfb; --warn: #a15c00; --fix: #4f46b8; --fix-bg: #ebe9fb;
  --pad: 16px; --tap: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
/* iPhone (Safari, LINE's browser) never enlarges a block's text by itself (a table's cells wider than their columns). */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  min-height: calc(100dvh - var(--environment-banner-height, 0px)); display: flex; flex-direction: column;
}
.top {
  height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  background: var(--header-bg); color: var(--header-ink); font-size: 15px; gap: 8px;
}
/* One line each (a narrow phone with the text at 150 %: the name and number coming in never fold the title). */
.top > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main { flex: 1; display: flex; flex-direction: column; padding: var(--pad); max-width: 480px; width: 100%; margin: 0 auto; }

/* 本部の「人の画面」 (UI_SPEC §14): while 本部 looks, a band under the top: 「番号 名前 を見ています(見るだけ)」 and 終わる,
   for a person with 店の管理 マイページ / 店の管理 under it. Drawn with the person's answer (nothing of the page was shown
   before it); 終わりました keeps the same size. The page is the person's own; only what saves or sends is grey. */
.view-band { padding: 6px var(--pad); background: #fdf3e3; color: #a15c00; font-size: 14px; }
.view-band[hidden] { display: none; }
.view-line { display: flex; align-items: center; gap: 8px; min-height: 40px; max-width: 448px; margin: 0 auto; }
.view-who { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view-end { flex: none; min-height: 40px; }
.view-band .gone { visibility: hidden; }
.view-switch { display: grid; grid-template-columns: 1fr 1fr; max-width: 448px; margin: 6px auto 0; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; background: var(--panel); }
.view-switch[hidden] { display: none; }
.view-to { display: flex; align-items: center; justify-content: center; min-height: 40px; color: var(--ink); text-decoration: none; font-size: 15px; }
.view-to.on { background: var(--bg); color: var(--accent); font-weight: 600; }
html[data-viewing] [data-write] { opacity: 0.5; pointer-events: none; }
section { flex: 1; display: flex; flex-direction: column; }
section[hidden] { display: none; }
/* 有休 (public/portal/leave.js, leave.css): a page of its own that fills the screen, no top band, from the first paint. */
body.leave-on { height: calc(100dvh - var(--environment-banner-height, 0px)); min-height: 0; }
body.leave-on .top { display: none; }
body.leave-on main { min-height: 0; padding: 0; overflow: hidden; }
h2 { font-size: 15px; color: var(--muted); margin: 20px 0 8px; font-weight: 600; }
.form { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.form[hidden] { display: none; }
label { font-size: 14px; color: var(--muted); }
input {
  font-size: 16px; height: var(--tap); padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  color: var(--ink); width: 100%; letter-spacing: 0.05em;
}
.actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: env(safe-area-inset-bottom); }
.actions[hidden] { display: none; }
button {
  font: inherit; min-height: var(--tap); border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  padding: 0 16px; cursor: pointer;
}
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.link { border: 0; background: none; color: var(--accent); }
button:disabled { opacity: 0.5; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 4px 12px; }
.row + .row { border-top: 1px solid var(--line); }
.row[hidden] { display: none; }
.row small { color: var(--muted); display: block; font-size: 13px; }
.row button { min-height: 40px; }
.error { background: var(--error-bg); color: var(--error); padding: 8px 12px; border-radius: 8px; margin: 0 0 12px; font-size: 14px; }
.empty { color: var(--muted); margin: 8px 0; }
.lead { margin: 0 0 12px; }
.lead[hidden] { display: none; }

/* The tabs at the bottom (UI_SPEC §14: ホーム・出勤・明細・申請・自分, LINE's menu in the same order; a 店舗責任者 has 店 before
   自分, 6 even columns): fixed, so nothing above them moves when a tab's content comes; the page keeps their height free. */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--panel); border-top: 1px solid var(--line);
}
.tabs[hidden], .tabs a[hidden] { display: none; }
.tabs a { display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); text-decoration: none; }
.tabs a.on { color: var(--accent); font-weight: 600; }
body.with-tabs main { padding-bottom: calc(56px + var(--pad) + env(safe-area-inset-bottom)); }
body.with-tabs .actions { margin-top: 24px; }

/* 電子交付の同意 */
.consent-text { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 0; white-space: pre-wrap; }
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); font-size: 16px; color: var(--ink); }
.check input { width: 22px; height: 22px; margin: 0; }
button.link.quiet { color: var(--muted); font-size: 14px; }

/* 通知書・誓約書 (papers.js): the 入社の段's list and 申請's rows that open the paper in the page; its place kept until the answer. */
.paper-rows:empty { min-height: 106px; }
.paper-rows > li + li { border-top: 1px solid var(--line); }
.paper-row { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; }
.paper-row .go { color: var(--muted); }
.paper-tick { flex: none; color: var(--accent); font-weight: 700; white-space: nowrap; }
.paper-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-bottom: env(safe-area-inset-bottom); }
.paper-foot[hidden] { display: none; }
.paper-foot button { min-height: var(--tap); }
a.row { color: inherit; text-decoration: none; }
a.row .go { color: var(--muted); }
/* 申請's 「書類」 (2026-11-05 中村さん): the 通知書・誓約書 rows joined under the 書類's (one block: one height, no gap). */
.docs:empty { display: none; }
.apply-papers[hidden] { display: none; }
.apply-papers .paper-row { min-height: 64px; }
/* A paper waiting for the 同意: its 札 just before the ›. */
.apply-papers .paper-row > span:first-child { flex: 1; min-width: 0; }
.apply-papers .paper-row .tag { flex: none; }
.docs:not(:empty):has(+ .apply-papers:not([hidden])) { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.docs:not(:empty) + .apply-papers { border-top-left-radius: 0; border-top-right-radius: 0; }

/* 明細のタブ: ‹ 月 ›, the line of what comes next, 過去の明細 / PDF, then the 明細 (payroll's slip.css draws it). */
.slip-nav { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.slip-nav b { font-size: 18px; }
.nav-btn { width: 44px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 22px; color: var(--muted); }
.slip-upcoming { margin: 0 0 4px; font-size: 14px; color: var(--muted); min-height: 21px; }
.slip-upcoming[hidden] { display: block; visibility: hidden; }
.slip-bar { display: flex; align-items: center; gap: 16px; height: 40px; }
.slip-bar button.link { min-height: 40px; padding: 0 4px; }
.slip-bar .pdf { color: var(--accent); text-decoration: none; padding: 8px 4px; margin-left: auto; }
.slip-bar .pdf[hidden] { display: inline; visibility: hidden; }
.slip-body .slip-screen { padding: 0; background: none; }
.slip-list .rows > li + li { border-top: 1px solid var(--line); }
.slip-row { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; }
.slip-row .amounts { text-align: right; }
.slip-row .amounts b { display: block; font-variant-numeric: tabular-nums; }
/* The frame drawn the same before payroll's slip.css has come (read after the sign-in): its .slip-screen's own. */
.slip-skeleton { display: flex; flex-direction: column; gap: 10px; max-width: 430px; margin: 0 auto; }
.slip-skeleton .slip-card { background: var(--panel); border-radius: 12px; padding: 12px 14px; }
.slip-skeleton i { display: block; height: 14px; margin: 8px 0; border-radius: 4px; background: var(--bg); }
.slip-skeleton i.big { height: 40px; width: 60%; }
.slip-skeleton .sk-hero { min-height: 180px; }
.slip-skeleton .sk-meta { min-height: 110px; }
.slip-skeleton .sk-lines { min-height: 200px; }
/* 報酬 (③c, portal.js rewardView): 振込額 large, then the cards of 総額・源泉・交通費, バック (日 × 現場), 特別, 交通費. */
.slip-seg { margin: 4px 0 0; }
.slip-seg[hidden] { display: none; }
.reward { display: flex; flex-direction: column; gap: 10px; max-width: 430px; margin: 0 auto; }
.reward .slip-card { background: var(--panel); border-radius: 12px; padding: 12px 14px; }
.reward-hero { display: flex; flex-direction: column; gap: 4px; }
.reward-hero small { color: var(--muted); font-size: 14px; }
.reward-net { font-size: 34px; font-variant-numeric: tabular-nums; }
.reward-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--muted); font-weight: 600; }
.reward-line { display: flex; justify-content: space-between; gap: 12px; width: 100%; min-height: 40px; align-items: center; }
.reward-line b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.reward-line span { min-width: 0; overflow-wrap: anywhere; }
.reward-open { border: 0; border-radius: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; }
.reward-day + .reward-day { border-top: 1px solid var(--line); }
.reward-items { padding: 0 0 6px 12px; font-size: 14px; color: var(--muted); }
.reward-item { min-height: 32px; }
.reward-none { margin: 4px 0; font-size: 14px; color: var(--muted); }

/* Add-friend links (the friends step, やること's 飲ミュニケーションズ) look like buttons. */
a.button {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--accent); text-decoration: none; white-space: nowrap;
}
a.button[hidden] { display: none; }
/* The friends step's Nomyu One を追加: as big as the step's other buttons. */
a.button.primary {
  min-height: var(--tap); justify-content: center; background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600;
}

/* The sign-in (2026-10-19): LINE で入る the biggest, first. */
button.big { min-height: 56px; font-size: 18px; }

/* ホーム (UI_SPEC §14 最初の版): やること in a box of a fixed height (3 rows; more scroll inside it, so nothing below moves
   when an item comes or goes), 今月の勤務, お知らせ. The boxes the answer does not have are not drawn at all. */
h2 .count { color: var(--accent); }
.todo { height: 160px; overflow-y: auto; overscroll-behavior: contain; }
.todo .row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo .row button { flex: none; }
.month { display: flex; align-items: baseline; gap: 6px; padding: 10px 12px; min-height: 52px; }
.month b { font-size: 26px; font-variant-numeric: tabular-nums; }
.month span { color: var(--muted); font-size: 14px; margin-right: 12px; }
.notices > li + li { border-top: 1px solid var(--line); }
.notice-row { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; justify-content: flex-start; gap: 10px; }
.notice-row small { flex: none; min-width: 3.2em; font-variant-numeric: tabular-nums; }
.notice-row .title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-row .unread { flex: none; color: var(--accent); font-size: 12px; }
.notices .none { color: var(--muted); }
a.more { display: flex; align-items: center; justify-content: flex-end; min-height: var(--tap); color: var(--accent); text-decoration: none; }
a.more[hidden] { display: none; }

/* The bottom sheet (a お知らせ's whole text, the passkey offer): over the page, so nothing under it moves; the buttons at
   the bottom, where the thumb is. */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(27, 36, 48, 0.45); }
.sheet-panel {
  position: relative; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--panel);
  border-radius: 16px 16px 0 0; padding: 16px var(--pad) calc(var(--pad) + env(safe-area-inset-bottom));
  width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; outline: none;
}
.sheet-panel small { color: var(--muted); font-size: 13px; }
.sheet-panel h3 { margin: 0; font-size: 18px; }
.sheet-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sheet-panel [hidden] { display: none; }
.sheet-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* The page's own question (戻る / する; never the browser's confirm()): in the middle, over everything, its size set by
   its text. The panel fills the dialog, so a tap on the dialog itself is a tap on the shade around it. */
dialog.ask {
  padding: 0; border: 0; border-radius: 12px; width: min(340px, calc(100vw - 2 * var(--pad))); background: var(--panel);
  color: var(--ink); box-shadow: 0 8px 24px rgba(27, 36, 48, 0.25);
}
dialog.ask::backdrop { background: rgba(27, 36, 48, 0.45); }
.ask-panel { padding: 20px var(--pad) var(--pad); }
.ask-panel p { margin: 0 0 16px; white-space: pre-line; overflow-wrap: anywhere; }
/* Lines (日払いの直し's 確認): close together, the part that grew red. */
.ask-panel .ask-words p:not(:last-child) { margin-bottom: 6px; }
.ask-red { color: var(--error); font-weight: 600; }
.ask-foot { display: flex; gap: 8px; }
.ask-foot button { flex: 1; }

/* 登録情報 (自分, src/portal/profile.ts): one row per box, its values on one line (the rows keep their height whether or
   not the values have come); the 暗証番号 its last row, as high as the others (2026-11-05 中村さん). */
.profile-boxes > li + li { border-top: 1px solid var(--line); }
.profile-row { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; min-height: 56px; }
.profile-row > span:first-child { flex: 1; min-width: 0; }
.profile-row small { height: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-row .go { flex: none; color: var(--accent); font-size: 14px; }

/* The in-place window (UI_SPEC §11.4): a fixed height over the page, so neither the page nor the window moves when a
   step, a refusal or the choices come; the fields scroll inside it, the buttons stay at the foot. */
.edit-panel { height: 88dvh; overflow: hidden; }
.edit-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; }
.edit-body[aria-busy="true"] { background: var(--bg); border-radius: 8px; }
.field { position: relative; display: flex; flex-direction: column; gap: 4px; }
.field textarea, .field select {
  font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 72px; padding: 8px 12px; resize: vertical; }
.field select { height: var(--tap); padding: 0 8px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; min-height: 19px; }
.req-mark { margin-left: 6px; color: var(--error); font-size: 12px; }
/* 生年月日's age under 15 or over 80 (public/shared/field-aids.js): its line's room kept, so nothing moves when it shows. */
/* ログアウト at the foot of the LINE step (quiet, as the page's own). */
.line-out { display: flex; justify-content: center; margin-top: 8px; }
.field > .age-note { color: var(--error); font-size: 13px; line-height: 19px; min-height: 19px; }
.edit-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.edit-error { color: var(--error); font-size: 14px; min-height: 42px; margin: 4px 0 0; }
.holder { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; }
.holder small { display: block; color: var(--muted); font-size: 13px; }
.holder button { min-height: 40px; }
/* 銀行名・支店名 choices: over what is below them (nothing moves). */
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% - 19px); z-index: 5; margin: 0; padding: 0; list-style: none;
  max-height: 220px; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 6px 16px rgba(27, 36, 48, 0.16);
}
.suggest[hidden] { display: none; }
.suggest li + li { border-top: 1px solid var(--line); }
.suggest button { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; min-height: 44px; }
/* 銀行名・支店名 with their code in grey after the name chosen (「みずほ銀行 0001」, public/portal/fields.js): the name's
   letters unseen then the code, over the field in its own letters and line, never pressed (the field keeps its size). */
.code-in { position: relative; display: block; }
.code-mark {
  position: absolute; inset: 0; padding: 0 13px; overflow: hidden; white-space: pre; pointer-events: none;
  font-size: 16px; line-height: var(--tap); letter-spacing: 0.05em; color: transparent;
}
.code-mark[hidden] { display: none; }
.code-mark-name { visibility: hidden; }
.code-mark-code { color: #9aa4b2; }
/* 入社 (entry.js): the link's store has its place before its name comes (nothing moves), the form's boxes. */
.entry-store { min-height: 1.5em; margin: 0 0 4px; }
.entry-where { min-height: 1.5em; color: var(--muted); }
.entry-form h3 { margin: 16px 0 4px; font-size: 15px; }
.entry-form .field { margin-bottom: 4px; }

/* 申請 > 交通費 (commute.js, UI_SPEC §17): the list's rows keep their two lines whether or not a value is there (店・1 日 /
   自宅の駅 → 降りる駅・片道, 「12/15 から」 at its end); the form's fields keep their place and size whatever is chosen (the
   stations' boxes two rows high, the 理由 always there, grey until needed; 同じ額にする as high as it opened), so nothing
   moves once it is open. 済 green, 予定 (from a later day) blue. */
.apply-kind { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; }
.apply-kind .go { color: var(--muted); }
.commute-list > li + li { border-top: 1px solid var(--line); }
.commute-list[aria-busy="true"] { min-height: 64px; }
.commute-list .none { color: var(--muted); }
.commute-row {
  width: 100%; border: 0; border-radius: 0; background: none; text-align: left; display: flex; flex-direction: column;
  align-items: stretch; gap: 2px; padding: 10px 12px;
}
.commute-row .r1, .commute-row .r2 { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.commute-row .r1 { gap: 12px; }
.commute-row .r1 b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.commute-row .r1 .d { flex: none; font-variant-numeric: tabular-nums; }
.commute-row .r2 { height: 1.5em; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.commute-row .route { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.commute-row .fare { flex: none; white-space: pre; }
.commute-row .plan { flex: none; margin-left: auto; padding-left: 12px; color: var(--accent); font-weight: 600; }
.commute-st { flex: none; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.commute-st.ok { background: #e4f3ec; color: #1d7a4f; }
.commute-st.plan { background: #e3edfb; color: var(--accent); }
.commute-st.off { visibility: hidden; }
.commute-form[aria-busy="true"] { min-height: 420px; background: var(--bg); border-radius: 8px; }
.commute-rules { margin: 0; padding: 8px 12px 8px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--muted); }
.commute-label { font-size: 14px; color: var(--muted); margin: 6px 0 -2px; }
.commute-choices { position: relative; display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.commute-choices.stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.commute-choices.two-rows { min-height: calc(var(--tap) * 2 + 8px); align-content: start; }
.commute-choice {
  min-height: var(--tap); padding: 2px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.25; font-size: 15px; overflow-wrap: anywhere; text-align: center;
}
.commute-choices.stores .commute-choice { min-height: 52px; }
.commute-choice small { font-size: 11px; color: var(--muted); min-height: 14px; }
/* No tag: the name alone in the middle, level with the search field beside it (2026-11-05 中村さん). */
.commute-choice small:empty { display: none; }
.commute-choice.on { border-color: var(--accent); background: #e3edfb; color: var(--accent); font-weight: 600; }
.commute-choice:disabled { opacity: 1; background: var(--bg); color: #9aa4b2; cursor: default; }
.commute-choice:disabled small { color: #9aa4b2; }
.commute-choice.other { color: var(--accent); }
.commute-choice.fixed { border: 1px solid var(--accent); border-radius: 8px; background: #e3edfb; color: var(--accent); font-weight: 600; grid-column: span 2; }
.commute-choice.none { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: #9aa4b2; }
.commute-find-cell.wide { grid-column: span 2; }
/* The search field as high as the buttons of its row, whatever their names' length. */
.commute-find-cell { display: flex; }
.commute-find-cell input { height: auto; min-height: 52px; }
.commute-cands { margin: 0; padding: 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow-y: auto; overscroll-behavior: contain; }
.commute-cands li + li { border-top: 1px solid var(--line); }
.commute-cands li.none { color: var(--muted); padding: 10px 12px; }
.commute-cands button {
  width: 100%; border: 0; border-radius: 0; background: none; text-align: left; min-height: 44px; display: flex;
  align-items: center; justify-content: space-between; gap: 8px;
}
.commute-cands button small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.commute-cands button:disabled { opacity: 1; color: #9aa4b2; background: var(--bg); }
.commute-cands.drop { position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 5; max-height: 264px; box-shadow: 0 6px 16px rgba(27, 36, 48, 0.16); }
.commute-cands.drop[hidden] { display: none; }
.commute-find .commute-cands { height: 300px; }
.commute-reason:disabled { background: var(--bg); color: #9aa4b2; }
.commute-reason.need { border-color: var(--error); }
.commute-yen { display: flex; align-items: center; gap: 8px; }
.commute-fare { flex: 1; height: var(--tap); text-align: left; font-size: 17px; font-variant-numeric: tabular-nums; }
.commute-fare:disabled { background: var(--bg); color: #9aa4b2; cursor: default; }
/* The keypad's sheet (the common keypad, /pos/parts.css .num-keys): one size whatever is typed. */
.commute-keys .sheet-panel { align-items: center; }
.commute-keys h3 { align-self: stretch; }
.commute-keys-show { display: flex; align-items: baseline; justify-content: space-between; align-self: stretch; min-height: 48px; font-variant-numeric: tabular-nums; }
.commute-keys-show b { font-size: 28px; }
.commute-pad { width: 268px; height: 312px; }
.commute-yen span { color: var(--muted); }
.commute-est {
  display: flex; flex-direction: column; gap: 2px; min-height: 42px; padding: 8px 12px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px; font-variant-numeric: tabular-nums;
}
.commute-est b { font-size: 20px; }
.commute-est .est-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.commute-est span > small { color: var(--muted); font-size: 13px; margin-left: 8px; }
/* 同じ額にする: one row a store (checked first; grey when its amount does not change), the box's height set by commute.js
   when the window opens (the rows it can have then), more scroll inside it. */
.commute-cks {
  --ck: 48px; margin: 0; padding: 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  overflow-y: auto; overscroll-behavior: contain; flex: none;
}
.commute-cks li + li .commute-ck { border-top: 1px solid var(--line); }
.commute-ck { display: flex; align-items: center; gap: 10px; height: var(--ck); padding: 0 12px; cursor: pointer; color: var(--ink); font-size: 16px; }
.commute-ck input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
.commute-ck .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.commute-ck .nm > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.commute-ck .why { font-size: 11px; color: var(--muted); }
.commute-ck.locked { cursor: default; }
.commute-ck .amt { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); font-size: 14px; }
.commute-ck .amt b { color: var(--ink); font-weight: 600; }
.commute-ck.off, .commute-ck.none { color: #9aa4b2; cursor: default; }
.commute-ck.off .amt { color: #9aa4b2; }
.commute-self { color: var(--muted); font-variant-numeric: tabular-nums; }
.commute-self b { color: var(--ink); }
.commute-step { color: var(--muted); margin: 0; font-size: 14px; }
.commute-step[hidden] { display: none; }
.todo .row button.x { flex: none; min-width: 40px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 18px; }
button.danger { color: var(--error); }

/* ホーム's メニュー (見本 v6): tiles of 4 a row, only what is there (勤務, 交通費 and 名簿 hidden until they are). */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; }
.tile-box { display: contents; }
.tile-box[hidden], .tile[hidden] { display: none; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; padding: 6px 0; min-height: 0;
  border: 0; border-radius: 0; background: none; color: var(--ink); text-decoration: none; font-family: inherit; line-height: 1.5;
  min-width: 0; text-align: center; overflow-wrap: anywhere; }
.tile .ic { width: min(56px, 100%); aspect-ratio: 1; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.tile svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile.c1 .ic { background: #e3edfb; color: #1d5fbf; }
.tile.c2 .ic { background: #e4f4ea; color: #1f7a4d; }
.tile.c3 .ic { background: #fdf3e3; color: #a15c00; }
.tile.c4 .ic { background: #ebe9fb; color: #4f46b8; }

/* ホーム's numbers (public/portal/home-stats.js, 見本 v6): every card a fixed height, so a number coming or changing moves
   nothing. お客様 (purple, its medals), 段階バック (gold), ドリンク, ボトル and その他 (a big number, a thin bar, one line). */
.hs-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; overflow: hidden; }
.hs-cust { height: 192px; border: 2px solid #c9c3f2; background: #f8f7ff; }
.hs-bonus { height: 92px; border: 2px solid #e7c48f; background: #fffaf2; }
.hs-block { height: 168px; }
.hs-head { display: flex; justify-content: flex-end; height: 26px; margin-bottom: 2px; }
.hs-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.hs-tag.ok { background: #e4f4ea; color: #1f7a4d; }
.hs-tag.go { background: #fdf3e3; color: #a15c00; }
.hs-tag.new { background: #1f7a4d; color: #fff; }
.hs-goal { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; height: 52px; font-variant-numeric: tabular-nums; }
.hs-goal .a, .hs-goal .t { font-size: 18px; font-weight: 700; }
.hs-goal .n { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; color: var(--accent); }
.hs-goal .n small { font-size: 20px; margin-left: 1px; }
.hs-goal.yen .n { font-size: 34px; }
.hs-goal.ok .n { color: #1f7a4d; }
.hs-cust .hs-goal { height: 50px; }
.hs-cust .hs-goal .n { color: #4f46b8; }
.hs-cmp { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; height: 36px; font-variant-numeric: tabular-nums; }
.hs-cmp .a, .hs-cmp .t { font-size: 18px; font-weight: 700; }
.hs-cmp .n { font-size: 30px; font-weight: 800; line-height: 1; color: #a15c00; }
.hs-cmp.ok .n { color: #1f7a4d; }
.hs-cmp .n small { font-size: 17px; margin-left: 1px; }
.hs-cmp.new .t { color: #1f7a4d; font-size: 20px; }
.hs-medals { display: flex; gap: 8px; height: 40px; margin-top: 8px; }
.hs-md { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; font-size: 16px; font-weight: 800; white-space: nowrap; }
.hs-md svg { width: 20px; height: 24px; flex: none; fill: currentColor; }
.hs-md.on { background: #fff; border: 1px solid #e3dcc8; }
.hs-md.b { color: #a8692e; } .hs-md.s { color: #6f7c8b; } .hs-md.g { color: #b8860b; }
.hs-md.off { color: #9aa4b2; border: 1px dashed #c3cad4; }
.hs-uncounted { margin: 6px 2px 0; height: 20px; font-size: 13px; color: var(--muted); }
.hs-xp { position: relative; height: 18px; background: #e6eaef; border-radius: 9px; margin: 6px 26px 8px 0; }
.hs-xp i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: var(--accent); }
.hs-xp.ok i { background: #1f7a4d; }
.hs-xp.none { visibility: hidden; }
.hs-xp svg { position: absolute; right: -26px; top: -4px; width: 22px; height: 26px; color: #a15c00; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-line { font-size: 17px; font-weight: 700; height: 28px; white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 6px; }
.hs-line em { font-style: normal; color: var(--accent); }
.hs-line.ok em { color: #1f7a4d; }
.hs-big { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; height: 44px; font-variant-numeric: tabular-nums; }
.hs-big .a { font-size: 18px; font-weight: 800; }
.hs-big .n { font-size: 30px; font-weight: 800; color: #a15c00; line-height: 1; }
.hs-sub { font-size: 13px; color: var(--muted); height: 18px; white-space: nowrap; overflow: hidden; }
/* A card's heading with 「記録 ›」 at its right (the same line as before: nothing moves); the card and it open the window. */
.hs-h { display: flex; align-items: baseline; justify-content: space-between; cursor: pointer; }
.hs-more { color: var(--accent); font-size: 14px; font-weight: 600; }
[data-rec][role="button"] { cursor: pointer; }
.hs-items { color: var(--muted); }

/* 各カードの「記録」 (home-stats.js, 2026-11-09 中村さん): a window from below, 700px (a short screen 88dvh), never another
   height after it opens. Top: the handle, 「◯の記録」 ？ ×; 表彰台 178px; 「あと ◯ で 自己ベスト」 56px; the months' tiles fill
   the rest and only they scroll (the page behind never moves). */
html.hr-on, html.hr-on body { overflow: hidden; overscroll-behavior: none; }
/* Every touch stays in the window (home-stats.js 払う): nothing scrolls but the tiles, inside themselves. */
.hr { position: fixed; inset: 0; z-index: 21; display: flex; flex-direction: column; justify-content: flex-end; touch-action: none; overscroll-behavior: none; }
.hr[hidden] { display: none; }
.hr-back { position: absolute; inset: 0; background: rgba(27, 36, 48, 0.45); }
.hr-panel {
  position: relative; height: min(700px, 88dvh); width: 100%; max-width: 480px; margin: 0 auto; background: var(--panel);
  border-radius: 18px 18px 0 0; padding: 8px var(--pad) 0; display: flex; flex-direction: column; outline: none;
}
.hr-grab { flex: none; width: 40px; height: 5px; border-radius: 3px; background: #cfd5dd; margin: 0 auto 4px; }
.hr-top { flex: none; display: flex; align-items: center; gap: 8px; height: 48px; }
.hr-top h3 { flex: 1; margin: 0; font-size: 18px; }
.hr-q, .hr-x { flex: none; display: flex; align-items: center; justify-content: center; padding: 0; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.hr-q { width: 32px; height: 32px; border-radius: 16px; font-size: 15px; }
.hr-x { width: 40px; height: 40px; border-radius: 20px; font-size: 20px; }
.hr-help { position: absolute; top: 62px; left: var(--pad); right: var(--pad); z-index: 2; margin: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 14px rgba(27, 36, 48, 0.15); font-size: 14px; }
.hr-help[hidden] { display: none; }
.hr-crown { width: 22px; height: 16px; fill: #b8860b; flex: none; vertical-align: -2px; }
.hr-podium { flex: none; display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 6px; height: 178px; font-variant-numeric: tabular-nums; }
.hr-pd { display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; min-width: 0; }
.hr-pv { font-size: 20px; font-weight: 800; line-height: 1.2; }
.hr-pv small, .hr-tv small, .hr-rest .n small { font-size: 0.6em; margin-left: 1px; }
.hr-pd.p1 .hr-pv { font-size: 26px; }
.hr-pm { font-size: 12px; color: var(--muted); height: 18px; }
.hr-pd.now .hr-pm { color: var(--accent); font-weight: 800; }
.hr-pi { font-size: 11px; color: var(--muted); height: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hr-blk { width: 100%; margin-top: 4px; border-radius: 10px 10px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.hr-pd.p1 .hr-blk { height: 92px; background: #b8860b; }
.hr-pd.p2 .hr-blk { height: 66px; background: #8e9aab; }
.hr-pd.p3 .hr-blk { height: 48px; background: #b07a45; }
.hr-pd.p1 .hr-crown { fill: #fff; width: 28px; height: 20px; }
.hr-pd.empty .hr-blk { background: #e6eaef; color: #9aa4b2; }
.hr-pd.empty .hr-pv { color: #9aa4b2; }
.hr-rest { flex: none; display: flex; align-items: baseline; justify-content: center; gap: 6px; height: 56px; padding-top: 8px; border-top: 1px solid var(--line); white-space: nowrap; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hr-rest .n { font-size: 34px; font-weight: 800; line-height: 1; color: #a15c00; }
.hr-rest.new { align-items: center; color: #1f7a4d; font-size: 24px; }
.hr-rest.new .hr-crown { fill: #1f7a4d; }
.hr-grid {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 62px; gap: 6px; align-content: start; padding: 4px 0 calc(16px + env(safe-area-inset-bottom)); font-variant-numeric: tabular-nums;
}
.hr-grid.o { grid-auto-rows: 76px; }
.hr-tl { border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; white-space: nowrap; min-width: 0; overflow: hidden; }
.hr-tl[data-lv="1"] { background: #e3edfb; color: #1d5fbf; }
.hr-tl[data-lv="2"] { background: #b9cff0; color: #16488f; }
.hr-tl[data-lv="3"] { background: #6f9ad9; color: #fff; }
.hr-tl[data-lv="4"] { background: #1d5fbf; color: #fff; }
.hr-tl.none { background: #eef1f4; color: #9aa4b2; }
.hr-tl.now { background: #fff; color: var(--accent); outline: 2px dashed var(--accent); outline-offset: -2px; }
.hr-tl.b { background: #b8860b; color: #fff; outline: 3px solid #ecd18a; outline-offset: -3px; }
.hr-tl.b.now { outline: 2px dashed #fff; }
.hr-tl.b .hr-crown { fill: #fff; width: 14px; height: 10px; }
.hr-tm { font-size: 12px; display: flex; align-items: center; gap: 2px; }
.hr-tv { font-size: 16px; font-weight: 800; }
.hr-ti { font-size: 11px; opacity: 0.9; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }

/* A narrow screen (a small phone with the text enlarged): the big numbers smaller, so a card's one line still fits. */
@media (max-width: 340px) {
  .hs-goal .n { font-size: 32px; } .hs-goal.yen .n { font-size: 26px; } .hs-goal .a, .hs-goal .t, .hs-cmp .a, .hs-cmp .t { font-size: 15px; }
  .hs-cmp .n, .hs-big .n { font-size: 24px; } .hs-big .a, .hs-line { font-size: 14px; } .hs-md { font-size: 13px; }
}

/* 出勤のタブ (attendance.js, UI_SPEC §14; the mock core/docs/design/attendance-v2/): ‹ 月 ›, the 合計 (four numbers, one
   size whatever they hold), 勤務 | 日払い, and the month's table in a box of its own height (its header stays on top, 日・店
   on the left; the page itself does not scroll). The table is the shared table's look (shell.css sheet: thin lines, 28px
   rows, numbers right, tabular). */
.work-box { display: flex; flex-direction: column; gap: 8px; height: calc(100dvh - var(--environment-banner-height, 0px) - 48px - 56px - env(safe-area-inset-bottom) - 2 * var(--pad)); min-height: 0; }
.work-box[hidden] { display: none; }
/* スマホの打刻 (public/portal/punch.js): one size in every state (head | buttons | one line); the 勤務 table under it
   shorter by the box's height. */
.punch-box { flex: none; display: flex; flex-direction: column; gap: 6px; height: 132px; margin-bottom: 8px; padding: 8px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.punch-box[hidden] { display: none; }
.punch-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; height: 24px; white-space: nowrap; overflow: hidden; }
.punch-head b { flex: none; font-size: 16px; }
.punch-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; color: var(--muted); }
.punch-buttons { display: grid; grid-template-columns: 1fr; gap: 8px; height: var(--tap); }
.punch-buttons[data-count="2"] { grid-template-columns: 1fr 1fr; }
.punch-buttons button { min-height: var(--tap); height: var(--tap); }
.punch-buttons button[aria-disabled="true"] { opacity: 0.5; }
.punch-line { margin: 0; height: 20px; font-size: 13px; line-height: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.punch-line.warn { color: var(--warn); font-weight: 600; }
.punch-line.error { color: var(--error); }
.punch-box:not([hidden]) + .work-box { height: calc(100dvh - var(--environment-banner-height, 0px) - 48px - 56px - env(safe-area-inset-bottom) - 2 * var(--pad) - 140px); }
.work-sum { flex: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 4px 12px; padding: 6px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.work-sum div { display: flex; flex-direction: column; min-width: 0; }
.work-sum small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.work-sum b { font-size: 20px; line-height: 1.3; min-height: 1.3em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 329px) { .work-sum { grid-template-columns: repeat(2, auto); } }
.seg { flex: none; display: grid; grid-template-columns: 1fr 1fr; background: #e3e8ee; border-radius: 10px; padding: 3px; }
.seg button { min-height: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 15px; }
.seg button[aria-selected="true"] { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.work-wrap { flex: 0 1 auto; min-height: 0; width: fit-content; max-width: 100%; overflow: auto; overscroll-behavior: contain; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.att-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; font-variant-numeric: tabular-nums; }
.att-table th, .att-table td {
  height: 28px; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left;
  border-bottom: 1px solid var(--line); box-shadow: inset -1px 0 0 #e8ecf1;
}
.att-table thead th { position: sticky; top: 0; z-index: 2; background: #e9eef4; color: var(--muted); font-weight: 600; cursor: pointer; user-select: none; }
.att-table .fix { position: sticky; z-index: 1; background: var(--panel); }
.att-table thead th.fix { z-index: 3; background: #e9eef4; }
.att-table .fix-last { box-shadow: inset -1px 0 0 #b9c3cf; }
.att-table .num { text-align: right; }
.att-table td.l2 { color: var(--muted); }
.att-table tbody tr { cursor: pointer; }
.att-table tbody tr:hover td { background: #eef2f7; }
.att-table tbody tr:focus { outline: none; }
.att-table tbody tr:focus-visible td { box-shadow: inset 0 2px 0 #1a73e8, inset 0 -2px 0 #1a73e8; }
.att-table tbody tr:last-child td { border-bottom: 0; }
.att-table .none-row td { color: var(--muted); cursor: default; }
.att-table .sort-mark { font-size: 10px; margin-left: 2px; }
.att-table .th-in { display: flex; align-items: center; min-width: 0; }
.att-table th.num .th-in { justify-content: flex-end; }
.att-table.stacked tbody td { height: max(28px, calc(2 * 1.3em + 6px)); }
.att-table .stack { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; min-width: 0; }
.att-table .stack > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1.3em; }
.att-table .stack .l2 { color: var(--muted); }
.att-table th .stack > span.on { color: var(--ink); }
/* 後日修正 = 藍の下線 (office.'s 勤怠 too), 未取得 = 琥珀のセル, 依頼中 = 青の札; a 日払い moved to someone else: grey, struck. */
.fixd { color: #4f46b8; text-decoration: underline; text-decoration-color: #4f46b8; text-underline-offset: 3px; }
.att-table td.miss, .att-table tbody tr:hover td.miss { background: #fdf3e3; color: #a15c00; font-weight: 600; }
.tag { display: inline-block; padding: 0 6px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 600; }
.tag.wait { background: #e3edfb; color: var(--accent); }
.state { color: var(--muted); }
.moved { color: #9aa4b2; text-decoration: line-through; }

/* The 1 日 window and the 修正依頼 window (the page's .sheet / .edit-panel: over the page, nothing under them moves). */
.att-sheet .day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.att-sheet .day-head h3 { margin: 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.att-sheet .day-head span { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-day { gap: 6px; }
.att-day .kv { display: grid; grid-template-columns: 3.5em 1fr; row-gap: 2px; margin: 4px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.att-day .kv dt { color: var(--muted); }
.att-day .kv dd { margin: 0; }
.att-day .kv dd.miss { color: #a15c00; font-weight: 600; }
.att-day h4 { margin: 10px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.att-day .hist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.att-day .hist li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.att-day .hist .ln { display: flex; justify-content: space-between; gap: 8px; }
.att-day .hist small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.att-day .sheet-actions { gap: 6px; margin-top: 10px; }
.att-day .sheet-actions button:disabled { opacity: 1; background: var(--bg); color: #9aa4b2; cursor: default; }
.att-day .why { color: var(--muted); font-size: 13px; text-align: center; min-height: 19px; margin: 0; }
.att-req { gap: 6px; }
.att-req .req-grid { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.att-req .lab { color: var(--muted); font-size: 14px; }
.att-req .now { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-req .now::after { content: " →"; }
.att-req .after { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
@media (max-width: 359px) { .att-req .req-grid { grid-template-columns: 3.2em minmax(0, 1fr); } .att-req .after { grid-column: 1 / -1; margin-top: -4px; } }
.att-req .rule { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-top: -2px; }
.att-req .rule.short span { color: var(--error); font-weight: 600; }
.att-req .fbox {
  position: relative; display: inline-flex; align-items: center; justify-content: flex-end; width: calc(5ch + 1.6em + 14px); min-height: 40px; height: 40px;
  padding: 0 calc(1.4em + 4px) 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 16px; font-variant-numeric: tabular-nums;
}
.att-req .fbox.money { width: calc(7ch + 1.6em + 14px); }
.att-req .fbox.on { outline: 2px solid var(--accent); outline-offset: -1px; }
.att-req .fbox.changed { background: #e3edfb; }
.att-req .fbox.bad { border-color: var(--error); color: var(--error); }
.att-req .fbox:disabled { opacity: 1; background: var(--bg); color: #9aa4b2; cursor: default; }
.att-req .fbox .x { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 1.4em; height: 1.4em; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; visibility: hidden; }
.att-req .fbox.on .x { visibility: visible; }
.att-req .toggle { flex: none; white-space: nowrap; min-height: 36px; padding: 0 12px; font-size: 14px; }
.att-req .toggle[aria-pressed="true"] { border-color: #a15c00; background: #fdf3e3; color: #a15c00; font-weight: 600; }
.att-req .why-in { grid-column: 2 / -1; height: 40px; padding: 0 10px; letter-spacing: 0; }
.att-req .yen { color: var(--muted); font-size: 14px; }
.att-req .edit-error { min-height: 19px; font-size: 13px; }
/* The common keypad (/pos/parts.css) at its own size; on a screen too narrow or too short for it (字 150 % on a phone)
   its keys narrow and lower inside the same grid, so the window never runs off the screen. */
.att-pad { flex: none; display: flex; justify-content: center; height: 312px; }
.att-pad .num-keys { grid-template-columns: repeat(3, minmax(0, 84px)); width: 100%; justify-content: center; }
@media (max-height: 620px) {
  .att-pad { height: 252px; }
  .att-pad .num-keys { grid-auto-rows: 44px; }
  .att-pad .num-keys .key { height: 44px; min-height: 44px; font-size: 20px; }
}

/* 申請 > 書類 (documents.js, UI_SPEC §14「書類」 2026-10-26 ①〜④): one row a paper, every row the same height (a grey one of a
   paper to come too) and every button the same width (its place a grey box when there is none); the line under the name
   kept whether or not it has words. 期限 amber, 直した欄 indigo (前回 から), 足りない欄 red. */
.tabs a .tab-count { min-width: 18px; height: 18px; margin-left: 3px; padding: 0 5px; border-radius: 9px; background: var(--accent);
  color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }
.tabs a .tab-count:empty { display: none; }
.docs > li + li { border-top: 1px solid var(--line); }
.doc-row { min-height: 64px; padding: 0 12px 0 0; }
.doc-row .doc-name { flex: 1; min-width: 0; min-height: 0; align-self: stretch; border: 0; border-radius: 0; background: none;
  text-align: left; padding: 6px 12px; display: flex; flex-direction: column; justify-content: center; }
.doc-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-name small { color: var(--muted); font-size: 13px; min-height: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-name small.due { color: var(--warn); }
.doc-row .doc-btn { flex: none; width: 6.6em; min-height: 40px; padding: 0 6px; line-height: 1.2; overflow-wrap: anywhere; }
.doc-row .doc-btn.ghost { display: block; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.doc-row.planned .doc-name { color: #9aa4b2; cursor: default; }
.doc-records > li + li { border-top: 1px solid var(--line); }
.doc-record { min-height: 52px; }
.doc-record > span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 15px; }
.doc-pdf-open { flex: none; width: 4.5em; min-height: 40px; padding: 0; }
.doc-pdf-gap { flex: none; width: 4.5em; }
.sheet-body .doc-records { white-space: normal; }

/* The paper's form: fields one under another, their places kept whatever is chosen (what does not apply is grey). */
.error.over { position: fixed; top: calc(64px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(440px, calc(100% - 32px)); z-index: 45; max-height: 5.5em; overflow: auto; margin: 0; box-shadow: 0 4px 16px #0002; }
.day-wage { margin: 0; height: 24px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-panel.rates-panel { max-width: 1050px; height: 85dvh; overflow: hidden; }
.rates-panel #sheet-body { display: flex; flex: 1; min-height: 0; flex-direction: column; white-space: normal; gap: 8px; }
.rates-find { position: relative; min-height: var(--tap); }
.rates-find input { width: 100%; }
.rates-wrap { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.rates-table { table-layout: fixed; width: 960px; }
.rates-table th, .rates-table td { width: 120px; text-align: right; }
.rates-table th { position: sticky; top: 0; background: var(--panel); z-index: 2; }
.rates-table th:first-child, .rates-table td:first-child { position: sticky; left: 0; width: 220px; text-align: left; overflow: hidden; text-overflow: ellipsis; z-index: 1; }
.rates-table td:first-child { background: var(--panel); }
.rates-table th:first-child { z-index: 3; color: var(--muted); }
.rates-table tr.on td { background: #e3edfb; }
.rates-table tr.selected td { box-shadow: inset 0 -2px var(--accent); }
.rates-table .rate-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Nothing in the rows is pressed (2026-11-09 中村さん): no hand over them (出勤's rows are pressed, this table's are not). */
.rates-table tbody tr { cursor: default; }
.rates-table th { white-space: normal; }
@media (max-width: 767px) {
  .rates-table { width: calc(720px + min(110px, 29vw)); }
  .rates-table th:first-child, .rates-table td:first-child { width: min(110px, 29vw); }
}
.doc-form[aria-busy="true"] { min-height: 420px; background: var(--bg); border-radius: 8px; }
.doc-form > h2:first-child, .doc-form > button:first-child + h2 { margin-top: 4px; }
.doc-field { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.doc-label { font-size: 14px; color: var(--muted); }
.doc-label.off { color: #9aa4b2; }
.doc-field input:disabled { background: var(--bg); color: #9aa4b2; }
.doc-field input::placeholder { color: #9aa4b2; }
.doc-field input:disabled::placeholder { color: #c4c9d0; }
.doc-choices { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; }
.doc-choices.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc-choices.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.doc-choice { min-height: var(--tap); padding: 2px 6px; line-height: 1.25; font-size: 15px; text-align: center; overflow-wrap: anywhere; }
.doc-choice.on { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); font-weight: 600; }
.doc-choice:disabled { opacity: 1; background: var(--bg); color: #9aa4b2; cursor: default; }
.doc-choice.on:disabled { border-color: var(--line); color: #9aa4b2; }
.doc-form .chg, .doc-choice.on.chg, .doc-money.chg, .doc-form input.chg { border-color: var(--fix); background: var(--fix-bg); color: var(--fix); }
.doc-form h2.chg { color: var(--fix); background: none; }
.doc-form .bad, .doc-member-sheet .bad { border-color: var(--error) !important; }
.grp-bad .doc-choice:not(:disabled) { border-color: var(--error); }
.doc-yen { display: flex; align-items: center; gap: 8px; }
.doc-yen span { color: var(--muted); }
.doc-money { flex: 1; height: var(--tap); text-align: left; font-size: 17px; font-variant-numeric: tabular-nums; }
.doc-money:disabled { background: var(--bg); color: #9aa4b2; cursor: default; opacity: 1; }
.doc-ro .row { min-height: 44px; justify-content: flex-start; }
.doc-ro .k { flex: none; width: 5em; color: var(--muted); font-size: 14px; }
.doc-ro .v { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.doc-family > li + li { border-top: 1px solid var(--line); }
.doc-member { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; }
.doc-member > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-member .go { flex: none; color: var(--muted); }
.doc-member.chg { background: var(--fix-bg); color: var(--fix); }
.doc-member.bad { box-shadow: inset 0 0 0 1px var(--error); }
.doc-add { margin-top: 8px; }
.doc-form .err { color: var(--error); font-size: 14px; min-height: 21px; margin: 12px 0 0; }
.doc-member-sheet .err { color: var(--error); font-size: 14px; min-height: 21px; margin: 8px 0 0; }

/* The PDF as made (pdf.js draws its pages): each page's place kept from the 版's size before it comes; a landscape 様式
   keeps its width and scrolls sideways inside its box. */
.pdf-box { background: #cfd6de; border-radius: 8px; padding: 8px; overflow: auto; overscroll-behavior: contain; display: flex;
  flex-direction: column; gap: 8px; }
.pdf-page { position: relative; width: 100%; background: #fff; flex: none; }
.pdf-page.land { min-width: 720px; }
.pdf-page canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#doc-pdf-title, #paper-title, #doc-form-title { margin-top: 4px; }
/* A finger on the paper scrolls the page to 同意する under it (a box with nothing to scroll must not hold the page). */
#paper-box { overscroll-behavior: auto; }

/* The keypad's window (the common keypad, /pos/parts.css .num-keys, 000 on: yen): one size whatever is typed; × clears. */
.doc-keys { z-index: 30; }
.doc-keys .sheet-panel { align-items: center; }
.doc-keys h3 { align-self: stretch; }
.doc-keys-show { display: flex; align-items: center; justify-content: space-between; align-self: stretch; min-height: 48px; padding: 0 4px 0 12px;
  border: 1px solid var(--accent); border-radius: 8px; font-variant-numeric: tabular-nums; }
.doc-keys-show b { font-size: 26px; }
.doc-keys-show .x { min-height: 40px; width: 40px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 20px; }
.doc-pad { width: 268px; height: 312px; }
.doc-member-sheet .edit-body { gap: 2px; }

/* 自分 › スタッフ (directory.js, DESIGN_2026-10-30 12): the line on top (‹ back, the title, how many) of a fixed height, the
   search field and its candidates over the list (nothing below moves), the stores' rows; a store's people in a table of
   fixed columns (番号・名前・X・Instagram), only the icons are links, an empty cell keeps its width. */
/* The top line stays on the screen (a person's row opened far down keeps the store's name in sight), the table's head under it. */
.dir-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; box-sizing: border-box; height: 52px; margin: 0; padding-bottom: 8px; background: var(--bg); }
.dir-back { flex: none; min-height: 44px; min-width: 64px; padding: 0 4px; border: 0; background: none; color: var(--accent); text-align: left; }
/* The same line on the pages under a tab (お知らせ・交通費・書類, portal.js 戻る): the ‹ alone, a long word cut with 「…」. */
.under-back { flex: none; }
.under-back .dir-back { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-title { flex: 1; min-width: 0; margin: 0; cursor: default; font-size: 16px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-count { flex: none; min-width: 3em; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.dir-find { position: relative; height: var(--tap); margin: 0 0 8px; }
.dir-find input { width: 100%; }
.dir-hit { display: flex; flex: 1 1 auto; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.dir-hit > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dir-kind { flex: none; width: 1.5em; color: var(--muted); font-size: 12px; }
.dir-stores .row { min-height: 48px; }
.dir-stores > li + li { border-top: 1px solid var(--line); }
.dir-stores .dir-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-stores .dir-n { flex: none; width: 3em; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.dir-stores .row.on { background: var(--accent-bg); }
.dir-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--panel); font-size: 14px; }
.dir-table th, .dir-table td { height: 48px; padding: 0 8px; border-bottom: 1px solid var(--line); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-table thead th { position: sticky; top: 52px; z-index: 1; height: 36px; background: #e9eef4; color: var(--muted); font-weight: 600; font-size: 13px; }
/* 番号 whole on an iPhone too (2026-11-08: cut in Safari and LINE's browser, whole on a Pixel): the width never below what 6
   digits take in any font the phone falls back to (ch is the first font's 0), and never cut with 「…」. */
.dir-table col.c-no { width: max(calc(6ch + 16px), calc(4.2em + 16px)); }
.dir-table col.c-sns { width: 68px; }
.dir-table .short { display: none; }
.dir-table .c-no { font-variant-numeric: tabular-nums; text-overflow: clip; padding-right: 4px; }
.dir-table .c-no a { color: inherit; text-decoration: none; }
.dir-table th:nth-child(n + 3), .dir-table td.c-sns { padding: 0; text-align: center; }
.dir-table tr.mark td { background: var(--accent-bg); }
.dir-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }
.dir-icon svg { width: 20px; height: 20px; }
/* Narrow (a small phone, or the text at 150 %): the icons' columns as narrow as a tap, Instagram's head 「IG」 (the 名簿's word). */
@media (max-width: 339px) {
  .dir-table col.c-sns { width: 44px; }
  .dir-icon { width: 40px; }
  .dir-table .full { display: none; }
  .dir-table .short { display: inline; }
}

/* 店のタブ (public/portal/store.js, 見本 core/docs/design/store-tab/): the rows are one block each (やること, 機能); a planned
   function grey in its place (staging). The pages under it: the crumb, ‹ 店 ▾ ›, the まとめての操作 buttons (grey until people are
   chosen, the same place), the people (番号 / 名前 in one column). Windows from the bottom over the page. */
.store h2:first-child { margin-top: 4px; }
.store-row { width: 100%; border: 0; border-radius: 0; background: none; text-align: left; color: inherit; }
.store .rows > li + li { border-top: 1px solid var(--line); }
.store-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-right { flex: none; display: flex; align-items: center; gap: 8px; }
.store-row .go { color: var(--muted); }
.store-row.off { color: #9aa4b2; cursor: default; }
.store .count { min-width: 28px; height: 24px; padding: 0 8px; border-radius: 12px; background: #fdf3e3; color: var(--warn); font-weight: 700;
  font-size: 13px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.crumb { margin: 0 0 8px; color: var(--muted); font-size: 14px; display: flex; align-items: center; }
.crumb button.link { min-height: 40px; padding: 0 4px 0 0; }
.picker { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.pick-step { min-height: 42px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 20px; }
.pick { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; min-width: 0; color: var(--ink); font-size: 15px; }
.pick b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.store-ops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.store-ops.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store-ops button, .store-two button { min-height: 44px; padding: 0 4px; font-size: 14px; }
button.dim { color: #9aa4b2; background: #f6f7f9; }
.store-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.store-table th { position: sticky; top: 0; z-index: 1; height: 40px; padding: 0 8px; text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; background: #fafbfc; border-bottom: 1px solid var(--line); line-height: 1.2; }
.store-table td { height: 52px; padding: 0 8px; border-top: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-table th.c, .store-table td.c { width: 44px; padding: 0; text-align: center; }
.store-table th:nth-child(2) { width: 38%; }
.store-table input[type="checkbox"] { width: 20px; height: 20px; margin: 0; }
.store-table td.who { cursor: pointer; font-variant-numeric: tabular-nums; }
.store-table td small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.store-table tr.lit td { background: var(--accent-bg); }
.store .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; }
.store-n { margin: 6px 0 0; height: 20px; color: var(--muted); font-size: 13px; }
.store-qr { display: flex; justify-content: center; align-items: center; height: 200px; margin: 8px 0; }
/* 班 (migration 0098): each link's name over its QR when the store has more than one. */
.store-entry-name { margin: 16px 0 0; font-size: 15px; text-align: center; }
.store-qr svg { width: 184px; height: 184px; background: #fff; }
.store-link { min-height: 20px; margin: 0 0 8px; color: var(--muted); font-size: 13px; text-align: center; word-break: break-all; }
.store-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store-panel .store-field { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 8px; }
.store-panel .store-field label { font-size: 14px; color: var(--muted); }
.store-panel select.input, .store-panel .store-day { height: var(--tap); width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  color: var(--ink); font: inherit; font-size: 16px; text-align: left; }
.store-panel .store-day.req { color: #9aa4b2; }
.store-panel .rule { margin: 0; color: var(--muted); font-size: 13px; }
.who-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; max-height: 40dvh; overflow-y: auto; }
.who-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 12px; }
.who-list li + li { border-top: 1px solid var(--line); }
.who-list label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }
.who-list input { width: 20px; height: 20px; margin: 0; }
.who-list li.off label { color: #9aa4b2; }
.who-list small { color: var(--muted); font-size: 12px; text-align: right; }
.store-error { min-height: 20px; margin: 0; color: var(--error); font-size: 14px; }
.store-code b { font-size: 24px; letter-spacing: 0.1em; }

/* 現場の交通費 (③b, public/portal/site-commute.js; the mock core/docs/design/commute/staff.html S5): the month, its 合計・日数・
   未入力・締め, one row a day (日 | 現場 and the route | 額 or 未入力). Rows of one height whatever they hold. */
.site { display: flex; flex-direction: column; gap: 8px; }
.site-sum b.warn { color: var(--warn); }
.site-note { margin: 0; height: 20px; font-size: 13px; line-height: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-days { padding: 0; }
.site-days li { list-style: none; }
.site-day { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; min-height: 56px; padding: 6px 12px; border-radius: 0;
  border: 0; border-top: 1px solid var(--line); background: var(--panel); text-align: left; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
.site-days li:first-child .site-day { border-top: 0; }
.site-days li:first-child .site-day { border-radius: 8px 8px 0 0; }
.site-days li:last-child .site-day { border-radius: 0 0 8px 8px; }
.site-days li:only-child .site-day { border-radius: 8px; }
.site-day .w { display: flex; flex-direction: column; min-width: 0; }
.site-day .w .l, .site-day .w small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-day .w small { min-height: 1.3em; color: var(--muted); font-size: 12px; line-height: 1.3; }
.site-day .a { font-weight: 600; text-align: right; }
.site-day .a.no { color: var(--warn); }
.site-day .pay { margin-right: 6px; padding: 0 6px; border-radius: 6px; background: var(--accent-bg); color: var(--accent); font-size: 11px; font-style: normal; }
.dow-0 { color: #b42318; } .dow-6 { color: var(--accent); }
.site-left:not(:empty) { margin-right: 6px; padding: 0 8px; border-radius: 10px; background: #fdf3e3; color: var(--warn); font-size: 12px; }
.site-left:not(:empty)::before { content: "未入力 "; }
/* The day's window: both legs keep their place (the one not used grey); the 候補 one row that scrolls sideways. */
.site-modes { grid-template-columns: repeat(3, 1fr); }
.site-chips { display: flex; gap: 6px; height: 36px; flex: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.site-chips .chip { flex: none; height: 34px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--ink); font-size: 13px; white-space: nowrap; }
.site-leg { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) 1em minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 6px; }
.site-leg .lab { color: var(--muted); font-size: 13px; }
.site-leg .st { min-height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-leg .st.empty, .site-leg .fare.empty { color: var(--muted); }
.site-leg .to { text-align: center; color: var(--muted); }
.site-leg .fare { grid-column: 2 / 5; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-size: 16px; text-align: right; padding: 0 12px; font-variant-numeric: tabular-nums; }
.site-leg.off { opacity: 0.4; }
.site-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.site-total b { font-size: 22px; font-variant-numeric: tabular-nums; }
.site-error { min-height: 20px; margin: 0; color: var(--error); font-size: 14px; }
/* 交通費's station search and keypad over the day's window. */
.commute-find, .commute-keys { z-index: 25; }
#commute-site-box { margin-top: 16px; }
/* 2 つの顔 (自分): the login's numbers. */
.faces .row { display: flex; justify-content: space-between; }
.faces .row small { color: var(--muted); }
