/* 予約台帳（ゼクトラボ） 色と部品は顧客台帳のツールに合わせる */
:root {
  --ink: #1d2733;
  --ink-soft: #4a5866;
  --navy: #1e3a5c;
  --navy-deep: #132a45;
  --gold: #b9893f;
  --gold-pale: #f6ecda;
  --bg: #faf8f4;
  --tint: #eef2f6;
  --line: #d9dfe6;
  --white: #ffffff;
  --red: #b23b3b;
  --red-pale: #fbe6e4;
  --green: #2f7d5b;
  --green-pale: #e7f3ec;
  --gray: #8a949e;
  --gray-pale: #eff1f3;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.75; font-size: 15px; overflow-wrap: anywhere; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy); }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.print-only { display: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 見出し */
.top { padding: 36px 0 18px; }
.kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .12em; margin: 0 0 2px; }
.top h1 { font-family: var(--serif); font-size: 26px; line-height: 1.4; margin: 0 0 12px; color: var(--navy-deep); word-break: auto-phrase; }
.h1-sub { display: block; font-size: 16px; color: var(--ink-soft); font-family: var(--font); font-weight: 700; margin-top: 4px; }
.lead { color: var(--ink-soft); max-width: 52em; }
.lead strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--gold-pale) 62%); }
.steps { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: st; }
.steps li { counter-increment: st; }
.steps a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 4px; color: var(--ink); transition: border-color .2s, transform .2s; }
.steps a::before { content: counter(st); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; }
.steps a:hover { border-color: var(--navy); transform: translateY(-1px); }

/* 見本の帯・個人情報・保存の注意 */
.sample-bar { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 14px 16px; margin: 0 0 12px; }
.sample-bar.is-sample { border-left-color: var(--gold); background: #fffaf1; }
.sample-bar p { margin: 0; font-size: 14px; }
.sample-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.priv { display: flex; flex-direction: column; gap: 8px; background: var(--tint); border: 1px solid #cfd8e2; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; }
.priv p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.priv p b { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-deep); margin-right: 8px; font-size: 14px; }
.priv p b::before { content: ""; width: 12px; height: 14px; border: 2px solid var(--navy); border-radius: 3px 3px 2px 2px; background: linear-gradient(var(--navy), var(--navy)) center 8px / 2px 3px no-repeat; flex: none; }
.priv .btn { align-self: flex-start; }
.cap-warn { background: var(--red-pale); color: var(--red); border: 1px solid #efc9c5; border-radius: 10px; padding: 10px 14px; margin: 0 0 18px; font-size: 14px; font-weight: 700; }

/* 今の状況 */
.status { margin: 0 0 18px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
a.tile:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(19, 42, 69, .08); }
.tile span { font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.tile b { font-size: 20px; color: var(--navy-deep); line-height: 1.3; font-variant-numeric: tabular-nums; }
.tile b.bump { animation: bump .45s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); color: var(--gold); } 100% { transform: scale(1); } }
.tile-alert.has { background: var(--red-pale); border-color: #e7b3ad; }
.tile-alert.has b { color: var(--red); }
.tiles-in .tile { background: var(--tint); border-color: transparent; }

/* カード */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; margin: 0 0 18px; min-width: 0; scroll-margin-top: 12px; }
.card h2 { font-size: 19px; color: var(--navy-deep); display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.card h2 .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; flex: none; }
.card.editing { box-shadow: 0 0 0 3px rgba(185, 137, 63, .35); }
.h3 { font-size: 16px; color: var(--navy-deep); margin: 22px 0 6px; }
.sub-h { font-size: 12px; color: var(--ink-soft); font-weight: 700; margin: 0 0 4px; }
.lead-s { color: var(--ink-soft); font-size: 14px; }
.note { color: var(--ink-soft); font-size: 13px; margin: 6px 0 8px; }

/* 入力欄 */
.form-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-bottom: 12px; align-items: flex-end; }
.fld { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fld > span { font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.fld-full { flex: 1 1 100%; }
.fld-mid2 { flex: 1 1 220px; }
.fld-date { width: 160px; }
.fld-time { width: 130px; }
.fld-sel { width: 160px; }
.f-end { margin: 0; padding: 0 0 8px; font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
input[type="text"], input[type="number"], input[type="date"], input[type="time"], input[type="month"], input[type="search"], input[type="tel"], select {
  width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #c6ced8; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #c6ced8; border-radius: 8px; background: #fff; font-size: 14px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 92, .18); }
input.bad, textarea.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(178, 59, 59, .15); }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; min-height: 40px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.check-s { font-size: 13px; min-height: 30px; margin-left: auto; }
.form-warn { background: var(--gold-pale); color: #7a5212; border-radius: 8px; padding: 6px 10px; font-size: 13px; margin: -2px 0 10px; animation: rowIn .3s ease; }
.form-warn.red { background: var(--red-pale); color: var(--red); }

/* 選ぶ部品（刻み・状態・表示の切り替え） */
.kinds2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; max-width: 320px; }
.kind2, .kind4, .seg-b { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 6px; border: 2px solid #c6ced8; border-radius: 12px; cursor: pointer; background: #fff; text-align: center; line-height: 1.3; font-size: 14px; transition: background .15s, border-color .15s, color .15s, transform .15s; user-select: none; }
.kind2 input, .kind4 input, .seg-b input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind2:active, .kind4:active, .seg-b:active { transform: scale(.97); }
.kind2:has(input:focus-visible), .kind4:has(input:focus-visible), .seg-b:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(30, 58, 92, .25); }
.kind2.on, .seg-b.on { border-color: var(--navy); background: var(--tint); color: var(--navy); font-weight: 700; }
.kinds4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; max-width: 640px; }
.kind4.on { font-weight: 700; }
.kind4.on[data-s="予約"] { border-color: var(--navy); background: var(--tint); color: var(--navy); }
.kind4.on[data-s="来店"] { border-color: var(--green); background: var(--green-pale); color: var(--green); }
.kind4.on[data-s="キャンセル"] { border-color: var(--gray); background: var(--gray-pale); color: #4e5862; }
.kind4.on[data-s="無断キャンセル"] { border-color: var(--red); background: var(--red-pale); color: var(--red); }
.days { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.day-c { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; border: 2px solid #c6ced8; border-radius: 10px; cursor: pointer; font-weight: 700; position: relative; transition: background .15s, border-color .15s, color .15s; user-select: none; }
.day-c input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day-c:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(30, 58, 92, .25); }
.day-c.on { background: var(--gray-pale); border-color: var(--gray); color: #4e5862; text-decoration: line-through; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; cursor: pointer; border: 2px solid var(--navy); transition: background .2s, color .2s, transform .15s, box-shadow .2s; text-align: center; line-height: 1.3; }
.btn:active { transform: scale(.97); }
.btn-main { background: var(--navy); color: #fff; }
.btn-main:hover { background: var(--navy-deep); }
.btn-sub { background: #fff; color: var(--navy); }
.btn-sub:hover { background: var(--tint); }
.btn-del { background: #fff; color: var(--red); border-color: var(--red); min-height: 38px; font-size: 14px; }
.btn-del:hover { background: var(--red-pale); }
.btn-s { min-height: 36px; font-size: 13px; padding: 0 12px; }
.item-btns, .out-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.filter { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-bottom: 10px; }

/* 予約表の操作 */
.nav { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 220px; }
.seg-b { min-height: 38px; font-size: 13px; }
.nav-day { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nav-day .fld-date { width: 150px; }
.nav-day input[type="date"] { height: 36px; }
.day-title { font-family: var(--serif); font-size: 20px; color: var(--navy-deep); font-weight: 700; margin: 4px 0 4px; }
.day-title small { font-family: var(--font); font-size: 13px; color: var(--ink-soft); font-weight: 400; margin-left: 8px; }
.day-off { background: var(--gray-pale); color: #4e5862; border-radius: 8px; padding: 6px 10px; font-size: 13px; margin: 0 0 6px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; color: var(--ink-soft); }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; border: 1px solid; }
.lg-yoyaku::before { background: #e3ebf4; border-color: var(--navy); }
.lg-raiten::before { background: var(--green-pale); border-color: var(--green); }
.lg-cancel::before { background: var(--gray-pale); border-color: var(--gray); border-style: dashed; }
.lg-over::before { background: var(--red-pale); border-color: var(--red); border-width: 2px; }

/* 日の表（縦に時刻・横に担当） */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; background: #fff; }
.dg { display: grid; min-width: 100%; width: max-content; }
.dg-head { display: flex; position: sticky; top: 0; z-index: 4; background: var(--tint); border-bottom: 1px solid var(--line); }
.dg-corner, .dg-times { width: 52px; flex: none; position: sticky; left: 0; z-index: 3; background: var(--tint); }
.dg-corner { border-right: 1px solid var(--line); }
.dg-ch { flex: 1 0 128px; width: 128px; padding: 6px 8px; font-size: 13px; font-weight: 700; color: var(--navy-deep); text-align: center; border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dg-ch.extra { color: var(--ink-soft); font-weight: 400; }
.dg-ch:last-child { border-right: none; }
.dg-body { display: flex; position: relative; }
.dg-times { border-right: 1px solid var(--line); background: #fafbfc; z-index: 5; }
.dg-t { font-size: 11px; color: var(--ink-soft); text-align: right; padding: 0 6px 0 0; line-height: 1; transform: translateY(-5px); font-variant-numeric: tabular-nums; }
.dg-t:first-child { transform: none; padding-top: 2px; }
.dg-col { flex: 1 0 128px; width: 128px; position: relative; border-right: 1px solid var(--line); cursor: copy;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--rh) - 1px), #e8ecf0 calc(var(--rh) - 1px), #e8ecf0 var(--rh)); }
.dg-col:last-child { border-right: none; }
.dg-col:hover { background-color: #fbfcfd; }
.dg-off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, rgba(138, 148, 158, .08) 0 6px, rgba(138, 148, 158, .16) 6px 12px); pointer-events: none; }
.dg-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--gold); z-index: 2; pointer-events: none; }
.dg-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.bd { position: absolute; z-index: 1; padding: 3px 6px; border-radius: 7px; border: 1px solid var(--navy); border-left-width: 4px; background: #e3ebf4; color: var(--navy-deep); font-size: 12px; line-height: 1.35; text-align: left; overflow: hidden; cursor: pointer; box-shadow: 0 1px 3px rgba(19, 42, 69, .12); transition: transform .15s, box-shadow .15s, opacity .3s; }
.bd:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(19, 42, 69, .18); z-index: 3; }
.bd b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd small { display: block; font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd .bd-t { font-variant-numeric: tabular-nums; font-weight: 700; margin-right: 4px; }
.bd.s-来店 { border-color: var(--green); background: var(--green-pale); color: #1f5a40; }
.bd.s-キャンセル, .bd.s-無断キャンセル { border-color: var(--gray); border-style: dashed; background: var(--gray-pale); color: #5b6670; opacity: .85; }
.bd.s-キャンセル b, .bd.s-無断キャンセル b { text-decoration: line-through; }
.bd .st { display: inline-block; font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 4px; background: var(--gray); color: #fff; margin-right: 3px; }
.bd.s-無断キャンセル .st { background: var(--red); }
.bd.over { border-color: var(--red); border-width: 2px; border-left-width: 4px; background: var(--red-pale); color: var(--red); }
.bd.over small { color: #8f3a3a; }
.bd.blink { animation: overBlink .9s ease 1; }
@keyframes overBlink { 0%, 100% { box-shadow: 0 1px 3px rgba(19, 42, 69, .12); } 35% { box-shadow: 0 0 0 4px rgba(178, 59, 59, .55); background: #f6c9c4; } }
.bd.new { animation: bandIn .45s ease both; }
.bd.new.blink { animation: bandIn .45s ease both, overBlink .9s ease .4s 1; }
@keyframes bandIn { from { opacity: 0; transform: scale(.92) translateY(6px); } to { opacity: 1; transform: none; } }
.bd.gone, .wk-item.gone { animation: bandOut .35s ease forwards; pointer-events: none; }
@keyframes bandOut { to { opacity: 0; transform: scale(.94); } }
.bd.sel { box-shadow: 0 0 0 3px rgba(185, 137, 63, .6); z-index: 3; }

/* 週の一覧 */
.wk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 8px 0; }
.wk-day { border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; overflow: hidden; }
.wk-day.today { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(185, 137, 63, .25); }
.wk-day.closed { background: var(--gray-pale); }
.wk-h { display: flex; justify-content: space-between; align-items: baseline; width: 100%; border: none; background: var(--tint); padding: 6px 10px; font-weight: 700; color: var(--navy-deep); cursor: pointer; text-align: left; }
.wk-h small { font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.wk-h .sun { color: var(--red); }
.wk-h .sat { color: #2d5f9a; }
.wk-day ul { list-style: none; margin: 0; padding: 4px; }
.wk-item { display: block; width: 100%; text-align: left; border: 1px solid transparent; border-left: 4px solid var(--navy); background: #f4f7fa; border-radius: 6px; padding: 3px 8px; margin: 3px 0; font-size: 12.5px; line-height: 1.4; cursor: pointer; animation: rowIn .3s ease both; }
.wk-item .t { font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 4px; }
.wk-item small { display: block; color: var(--ink-soft); font-size: 11px; }
.wk-item.s-来店 { border-left-color: var(--green); background: var(--green-pale); }
.wk-item.s-キャンセル, .wk-item.s-無断キャンセル { border-left-color: var(--gray); background: var(--gray-pale); color: #5b6670; text-decoration: line-through; }
.wk-item.over { border-color: var(--red); border-left-color: var(--red); background: var(--red-pale); color: var(--red); }
.wk-none { font-size: 12px; color: var(--ink-soft); padding: 6px 8px; margin: 0; }

/* 表 */
.tbl { border-collapse: separate; border-spacing: 0; font-size: 13px; width: 100%; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: none; }
.tbl thead th { background: var(--tint); font-weight: 700; color: var(--navy-deep); font-size: 12px; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody tr { animation: rowIn .3s ease both; }
.bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--navy); opacity: .7; vertical-align: middle; transition: width .4s ease; }
.empty { padding: 22px 12px; text-align: center; color: var(--ink-soft); background: var(--tint); white-space: normal !important; }

/* 無断キャンセルの多いお客様 */
.nlist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfb; font-size: 13px; animation: rowIn .3s ease both; }
.nlist li .n-main { flex: 1 1 180px; min-width: 0; font-weight: 700; font-size: 14px; }
.nlist li .n-sub { color: var(--ink-soft); }
.nlist li .n-big { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.n-ok { background: var(--green-pale); color: var(--green); font-weight: 700; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 8px 0 0; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 使い方・よくある質問 */
.howto ol { margin: 0; padding-left: 1.4em; font-size: 14px; color: var(--ink-soft); }
.howto li { margin: 4px 0; }
.faq dl { margin: 0; }
.faq dt { font-weight: 700; margin-top: 12px; color: var(--navy-deep); }
.faq dt::before { content: "Q. "; color: var(--gold); }
.faq dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; }

/* 下の導線（控えめ） */
.foot { padding: 18px 0 28px; font-size: 12px; color: var(--ink-soft); text-align: center; }
.foot p { margin: 0; }

/* 確認・通知 */
.dlg { border: none; border-radius: 14px; padding: 22px 20px 18px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 20px 50px rgba(19, 42, 69, .3); color: var(--ink); }
.dlg::backdrop { background: rgba(19, 42, 69, .45); }
.dlg[open] { animation: dlgIn .2s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); max-width: calc(100vw - 32px); background: var(--navy-deep); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) {
  .wrap { padding: 0 24px; }
  .top { padding: 52px 0 24px; }
  .top h1 { font-size: 34px; }
  .h1-sub { display: inline; font-size: 20px; margin-left: 6px; }
  .card { padding: 24px; }
  .sample-bar, .priv { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
  .sample-btns, .priv .btn { flex: none; align-self: center; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile { padding: 12px 18px; }
  .tile b { font-size: 26px; }
  .kinds4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dg-ch, .dg-col { flex-basis: 150px; width: 150px; }
}
@media (min-width: 960px) {
  .wk { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .wk-day { min-height: 140px; }
}
@media (max-width: 420px) {
  .tile b { font-size: 18px; }
  .fld-date, .fld-time, .fld-sel { width: calc(50% - 7px); }
  .nav-day .fld-date { width: 100%; }
  .seg { width: 100%; }
  .check-s { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-delay: 0s !important; }
}

/* 印刷: その日の予約表を A4 縦 */
@page { size: A4 portrait; margin: 10mm; }
@media print {
  html, body { background: #fff; font-size: 9pt; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print, .toast, .dlg, main, .foot, .top { display: none !important; }
  .print-only { display: block; }
  .print-area h1 { font-family: var(--serif); font-size: 14pt; margin: 0 0 1mm; }
  .print-area .p-meta { font-size: 8.5pt; color: #444; margin: 0 0 3mm; }
  .print-area table { width: 100%; border-collapse: collapse; font-size: 9pt; }
  .print-area th, .print-area td { border: 1px solid #999; padding: 1.6mm 1.8mm; text-align: left; vertical-align: top; }
  .print-area thead th { background: #e9edf1; }
  .print-area thead { display: table-header-group; }
  .print-area .t { white-space: nowrap; font-variant-numeric: tabular-nums; }
  .print-area .x td { color: #777; text-decoration: line-through; }
  .print-area .ov td { background: #fbe6e4; }
  .print-area small { display: block; font-size: 7.5pt; color: #555; }
  .print-area h2 { font-size: 11pt; margin: 5mm 0 2mm; }
  tr { break-inside: avoid; }
}
