/* ============================================================
   Karl-Bappo – eigene Oberfläche (auf dem Verbund-Framework main.css).
   Mobile first: große Tippflächen (≥ 44 px), Gesamtpreis unten fest, Seitenleiste wird auf dem Handy zur Leiste oben.
   Barrierearm: Kontrast ≥ 4,5:1, sichtbarer Fokus, Statusfarben nie allein bedeutungstragend. Kein Inline-CSS (CSP).
   ============================================================ */
:root {
  --primary: #0f6b5c; --primary-2: #0b5248; --accent: #0f6b5c;
  --muted: #4b5866; --text: #15202b; --border: #c9d3de;
  --km-ok: #146c3c; --km-warn: #7a5200; --km-crit: #b42318;
  --km-ok-bg: #e3f4ea; --km-warn-bg: #fbf1da; --km-crit-bg: #fbe6e6;
  --focus: #ffbf47;
}
/* ---------- Grundlagen Barrierearmut ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #000; color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px #000;
}
main:focus { outline: none; }
.km [hidden] { display: none !important; }

/* ---------- Komponenten ---------- */
.km .page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.km .page-head h1 { margin: 0; font-size: 22px; }
.km .page-head .sub { margin: 4px 0 0; color: var(--muted); }
.km .page-head .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.km h2 { font-size: 18px; margin: 0 0 10px; }
.km h3 { font-size: 16px; margin: 12px 0 6px; }
.km .badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 700; background: #e8edf3; color: #2b3846; border: 1px solid transparent; vertical-align: 1px; }
.km .b-ok { background: var(--km-ok-bg); color: var(--km-ok); border-color: #a9d8bd; }
.km .b-warn { background: var(--km-warn-bg); color: var(--km-warn); border-color: #e5c97e; }
.km .b-crit { background: var(--km-crit-bg); color: var(--km-crit); border-color: #efb4ae; }
.km .b-info { background: #e2ecf8; color: #0b4f9c; border-color: #b2c9e6; }
.km .tbl th { color: #2b3846; }
.km .tbl tr.dim td { color: var(--muted); }
.km .tbl tfoot th, .km .tbl tfoot td { border-top: 2px solid var(--border); }
.km .dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: 15px; margin: 0; } .km .dl dt { color: var(--muted); font-weight: 600; } .km .dl dd { margin: 0; }
@media (max-width: 640px) { .km .dl { grid-template-columns: 1fr; gap: 2px; } .km .dl dd { margin-bottom: 8px; } }
.km .grid2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; } @media (max-width: 900px) { .km .grid2 { grid-template-columns: 1fr; } }
.km textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--text); font: inherit; min-height: 60px; }
.km .chk { display: flex; gap: 8px; align-items: center; color: var(--text); font-size: 15px; margin: 8px 0; }
.km .chk input { width: 20px; height: 20px; }
.km .formrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; } .km .formrow > div { flex: 1 1 160px; }
.km .bp-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.km .bp-span2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .km .bp-formgrid { grid-template-columns: 1fr; } }
.km .tbl-wrap { overflow-x: auto; }
.km details > summary { cursor: pointer; }
.km .btn-danger { background: #fff; color: var(--km-crit); border: 1px solid #efb4ae; }
.km .btn-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.km .small { font-size: 13px; } .km .wrap { word-break: break-word; }
.km .pager { display: flex; gap: 4px; flex-wrap: wrap; margin: 10px 0 0; }
.km .pager a, .km .pager span { padding: 6px 11px; border: 1px solid var(--border); border-radius: 7px; text-decoration: none; color: inherit; }
.km .pager .on { background: var(--primary); color: #fff; border-color: var(--primary); }
.km .pager .gap { border: 0; }
.km .hint { background: #f4f7fb; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; padding: 9px 12px; font-size: 13.5px; color: #2b3846; margin: 8px 0 12px; }
.km .secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; background: #fff8e1; border: 1px dashed #c9a227; padding: 8px 10px; border-radius: 8px; margin: 6px 0; }
.km .inline { display: inline; }
.km .nowrap { white-space: nowrap; }
.km .r { text-align: right; }
.km .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.km .bp-pre { white-space: pre-wrap; word-break: break-all; background: var(--surface-2); padding: 10px; border-radius: 8px; }

/* ---------- Buchungsmaske ---------- */
.km .bp-head-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.km .bp-head-main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
@media (max-width: 760px) { .km .bp-head-main { grid-template-columns: 1fr 1fr; } .km .bp-head-main .bp-cell-room { grid-column: 1 / -1; } }
@media (max-width: 520px) { .km .bp-head-extra { grid-template-columns: 1fr; } }
.km .bp-head label { display: block; margin: 0 0 4px; font-weight: 700; color: #2b3846; }
.km .bp-head input:focus { outline: 3px solid var(--focus); outline-offset: 1px; box-shadow: none; }
.km #room_no::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }
.km .bp-head .bp-big { height: 46px; min-height: 46px; box-sizing: border-box; font-size: 17px; }
.km .bp-head .bp-big[type=date] { font-size: 16px; padding: 0 12px; line-height: 46px; }
.km .bp-head input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.km .bp-head-grid > div { min-width: 0; }
.km .bp-head input { min-width: 0; max-width: 100%; }
.km .bp-item > * { min-width: 0; }
@media (max-width: 640px) {
  .km .bp-head .bp-big[type=date] { font-size: 16px; padding: 8px 8px; }
  .km .bp-head .bp-big[type=date]::-webkit-calendar-picker-indicator { margin-left: 2px; padding: 0; }
  .km .bp-step { width: 42px; height: 42px; }
  .km .bp-qty input { width: 46px; }
}
html, body.app { overflow-x: hidden; }
.km .grid2 > * { min-width: 0; }
.km .bp-name { overflow-wrap: anywhere; hyphens: auto; }

.km .bp-head label { font-weight: 600; }
.km .bp-big { font-size: 20px; padding: 10px 14px; min-height: 52px; font-weight: 700; }
.km .bp-more { margin-top: 12px; }
.km .bp-more > summary { font-weight: 600; color: var(--primary); padding: 6px 0; }
.km .bp-cat { padding: 0; overflow: hidden; }
.km .bp-cat > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 18px; font-weight: 700; list-style: none; background: var(--surface-2); }
.km .bp-cat > summary::-webkit-details-marker { display: none; }
.km .bp-cat > summary::after { content: '▾'; margin-left: 6px; color: var(--muted); }
.km .bp-cat:not([open]) > summary::after { content: '▸'; }
.km .bp-cat-ic { font-size: 22px; }
.km .bp-cat-name { flex: 1; }
.km .bp-cat-sum { color: var(--primary); font-variant-numeric: tabular-nums; }
.km .bp-items { list-style: none; margin: 0; padding: 0; }
.km .bp-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--border); }
.km .bp-item.on { background: #e8f5f1; box-shadow: inset 4px 0 0 var(--primary); }
.km .bp-item:hover { background: #f4f8f7; } .km .bp-item.on:hover { background: #e1f1ec; }
.km .bp-chk { display: flex; flex-direction: row; gap: 14px; align-items: center; justify-content: flex-start; text-align: left; cursor: pointer; min-height: 48px; margin: 0; color: var(--text); font-size: inherit; }
.km .bp-chk input { width: 30px; height: 30px; flex: 0 0 30px; accent-color: var(--primary); margin: 0; }
.km .bp-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.km .bp-name { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.25; }
.km .bp-meta { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.km .bp-desc { color: var(--muted); font-size: 13px; }
.km .bp-qty { display: flex; align-items: center; gap: 4px; }
.km .bp-qty input { width: 54px; text-align: center; font-size: 17px; font-weight: 700; padding: 8px 4px; min-height: 44px; -moz-appearance: textfield; }
.km .bp-qty input::-webkit-outer-spin-button, .km .bp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.km .bp-step { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: 22px; font-weight: 700; color: var(--primary); cursor: pointer; line-height: 1; }
.km .bp-step:active { background: var(--surface-2); }
.km .bp-line { grid-column: 1 / -1; font-size: 13.5px; color: var(--primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.km .bp-line:empty { display: none; }
.km .bp-summary h2 { margin-bottom: 6px; }
.km .bp-sumtbl td { padding: 4px 0; }
.km .bp-draft { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--km-warn-bg); color: var(--km-warn); border: 1px solid #e5c97e; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-weight: 600; }
/* Gesamtpreis unten fest */
body.has-totalbar .content { padding-bottom: 96px; }
.bp-totalbar { position: fixed; left: 78px; right: 0; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--primary); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
.bp-total { display: flex; align-items: baseline; gap: 8px; }
.bp-total .lbl { font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.bp-total output { font-size: 26px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.bp-total .cnt { color: var(--muted); font-size: 13px; }
.bp-actions { display: flex; gap: 8px; }
.bp-actions .btn { min-height: 46px; padding: 10px 16px; font-size: 16px; }
/* ---------- Übersicht / Detail / Auswertung ---------- */
.km .bp-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.km .bp-sumline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 0 0 10px; font-size: 15px; }
.km .bp-room { font-size: 22px; }
.km .bp-receipt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.km .bp-receipt-actions .btn { min-height: 44px; }
.km .bp-kpis { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.km .bp-kpis .panel { display: flex; flex-direction: column; gap: 4px; }
.km .bp-kpis b { font-size: 24px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .km .bp-kpis { grid-template-columns: 1fr; gap: 0; } }
.km .bp-barcell { width: 35%; }
.km .bp-bar { width: 100%; height: 10px; }
.km .bp-cathead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.km .bp-cathead h2 { margin: 0; }
.km .bp-inactive { opacity: .75; }

/* ---------- Termine (0.3.0) ---------- */
.km .bp-slottag { display: inline-block; margin-top: 3px; font-size: 13px; font-weight: 700; color: var(--primary); }
.km .bp-slot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 0 2px 44px; }
.km .bp-slot label { margin: 0; font-weight: 700; font-size: 13px; color: #2b3846; display: inline; }
.km .bp-slot select { width: auto; max-width: 100%; flex: 1 1 220px; min-height: 40px; font-size: 15px; }
.km .bp-slot-msg { font-size: 13px; color: var(--muted); }
.km .bp-slot-msg.err { color: #fff; background: var(--km-crit); padding: 5px 10px; border-radius: 8px; font-weight: 700; }
.km .bp-item.bp-noslot { box-shadow: inset 4px 0 0 var(--km-crit); background: #fdf1f0; }
.km .bp-load { display: flex; align-items: center; gap: 10px; }
.km .bp-load meter { flex: 1; height: 14px; }
.km .bp-term { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; background: var(--surface); }
.km .bp-term.cancelled { opacity: .75; border-style: dashed; }
.km .bp-term-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.km .bp-term-h h3 { margin: 0; font-size: 18px; }
.km .bp-term-time { font-size: 22px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; margin-right: 8px; }
.km .bp-term ul { margin: 8px 0 0; padding: 0; list-style: none; }
.km .bp-term li { display: flex; gap: 10px; padding: 5px 0; border-top: 1px solid var(--border); font-size: 14px; }
.km .bp-term li .rm { font-weight: 800; min-width: 44px; }
.km .bp-week td.c { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.km .bp-week td.c.ok { background: var(--km-ok-bg); } .km .bp-week td.c.warn { background: var(--km-warn-bg); } .km .bp-week td.c.crit { background: var(--km-crit-bg); }
.km .bp-week td.c.x { color: var(--muted); text-decoration: line-through; }
.km .bp-daynav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.km .bp-fs { border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.km .bp-wd { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 6px 24px; }
.km .bp-num { width: 70px !important; display: inline-block; }
@media (max-width: 640px) { .km .bp-slot { padding-left: 0; } }

/* ---------- Filter + Datumsfelder (0.2.1) ---------- */
.km .bp-filter-more > summary { font-weight: 600; color: var(--primary); padding: 6px 0; }
.km .bp-filter-more[open] > summary { margin-bottom: 8px; }
.km input[type=date] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; min-height: 44px; line-height: 1.3; }
.km input[type=date]::-webkit-date-and-time-value { text-align: left; }
.km .formrow > div { min-width: 0; }
@media (max-width: 640px) { .km .bp-filter .formrow > div { flex: 1 1 100%; } .km .bp-filter .formrow > div:has(input[type=date]) { flex: 1 1 calc(50% - 4px); } }

/* ---------- PC: Leistungen links, „Ausgewählt“ rechts fest im Blick (seit 0.2.0) ---------- */
@media (min-width: 1100px) {
  .km .bp-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 18px; align-items: start; }
  .km .bp-form > * { grid-column: 1; }
  .km .bp-form > .bp-summary { grid-column: 2; grid-row: 1 / span 60; position: sticky; top: 16px; max-height: calc(100vh - 140px); overflow: auto; }
  .km .bp-form > input[type=hidden] { display: none; }
  .km .bp-more .bp-head-grid { grid-template-columns: 2fr 1fr 1fr; }
  .km .bp-more .bp-span2 { grid-column: 1 / -1; }
}
@media (min-width: 1400px) {
  .km .bp-items { display: grid; grid-template-columns: 1fr 1fr; }
  .km .bp-items .bp-item:nth-child(2) { border-top: 1px solid var(--border); }
  .km .bp-items .bp-item:nth-child(odd) { border-right: 1px solid var(--border); }
}
.km .bp-form { max-width: 1500px; }

/* ---------- Handy: Seitenleiste wird zur Leiste oben ---------- */
@media (max-width: 640px) {
  body.app { display: block; }
  .sidebar { position: sticky; top: 0; z-index: 15; flex-direction: row; width: 100%; padding: 0; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .side-brand, .side-ver { display: none; }
  .side-nav { flex-direction: row; gap: 0; }
  .side-link { flex: 0 0 auto; min-width: 70px; padding: 8px 6px; border-left: 0; border-bottom: 3px solid transparent; font-size: 11px; }
  .side-link.on { border-bottom-color: var(--accent); }
  .topbar { padding: 6px 12px; min-height: 48px; }
  .content { padding: 0; }
  .km.page-pad { padding: 12px; }
  .bp-totalbar { left: 0; }
  .bp-actions { width: 100%; }
  .bp-actions .btn { flex: 1; }
  .km .bp-item { padding: 10px 12px; }
  .km .page-head h1 { font-size: 20px; }
}
@media (min-width: 641px) and (max-width: 720px) { .bp-totalbar { left: 64px; } }

/* ---------- Druck ---------- */
@media print {
  .sidebar, .topbar, .app-footer, .noprint, .bp-totalbar { display: none !important; }
  .content { margin: 0 !important; padding: 0 !important; } body { background: #fff !important; }
}

/* ---------- Anmeldung ---------- */
.login-body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #eef2f6; color: #15202b; display: flex; min-height: 100vh; align-items: center; justify-content: center; }
.login-box { background: #fff; border: 1px solid #c9d3de; border-radius: 16px; padding: 26px 28px; width: 360px; max-width: calc(100% - 32px); }
.login-box h1 { margin: 0; font-size: 22px; } .login-box .sub { color: #4b5866; margin: 2px 0 18px; }
.login-box label { display: block; font-size: 14px; color: #3d4a58; margin: 10px 0 4px; }
.login-box input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #8a97a6; border-radius: 9px; font-size: 15px; }
.login-box .btn { display: inline-block; padding: 11px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; text-align: center; border: 1px solid #0f6b5c; background: #fff; color: #0f6b5c; cursor: pointer; margin-top: 12px; }
.login-box .btn-primary { background: #0f6b5c; color: #fff; } .login-box .block { display: block; width: 100%; box-sizing: border-box; }
.login-box details { margin-top: 18px; color: #4b5866; } .login-box .flash.err { background: #fbe6e6; color: #b42318; padding: 9px 12px; border-radius: 9px; }

/* ---------- Handy-Feinschliff (0.2.2) – bewusst am Dateiende, damit es die allgemeinen Regeln übersteuert ---------- */
@media (max-width: 640px) {
  /* Gesamtleiste kompakt in einer Zeile */
  .bp-totalbar { flex-wrap: nowrap; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .bp-total { flex-direction: column; gap: 0; align-items: flex-start; }
  .bp-total output { font-size: 22px; } .bp-total .cnt { display: none; }
  .bp-actions { width: auto; flex: 1; justify-content: flex-end; }
  .bp-actions .btn { flex: 0 1 auto; padding: 10px 12px; font-size: 15px; }
  .bp-hide-m { display: none; }
  body.has-totalbar .content { padding-bottom: 80px; }
  /* Buchungsliste als Karten */
  .km .bp-list thead { display: none; }
  .km .bp-list, .km .bp-list tbody { display: block; }
  .km .bp-list tr { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "room no sum" "room date status" "room guest guest";
    gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
  .km .bp-list td { display: block; padding: 0; border: 0; }
  .km .bp-list td:nth-child(1) { grid-area: date; color: var(--muted); font-size: 13px; }
  .km .bp-list td:nth-child(2) { grid-area: room; font-size: 22px; min-width: 52px; text-align: center; background: var(--surface-2); border-radius: 10px; padding: 8px 6px; align-self: stretch; display: flex; align-items: center; justify-content: center; }
  .km .bp-list td:nth-child(3) { grid-area: no; font-weight: 700; }
  .km .bp-list td:nth-child(4) { grid-area: guest; font-size: 13px; color: var(--muted); }
  .km .bp-list td:nth-child(5) { display: none; }
  .km .bp-list td:nth-child(6) { grid-area: sum; font-weight: 700; }
  .km .bp-list td:nth-child(7) { grid-area: status; justify-self: end; }
  /* Detail: Positionen ohne Einzelpreis, Aktionen als Raster */
  .km .bp-pos th:nth-child(3), .km .bp-pos td:nth-child(3) { display: none; }
  .km .bp-pos tfoot th { text-align: right; }
  .km .bp-receipt-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .km .bp-receipt-actions .btn { text-align: center; justify-content: center; }
  .km .page-head .actions { width: 100%; }
  /* Katalog als Karten */
  .km .bp-cattbl thead { display: none; }
  .km .bp-cattbl, .km .bp-cattbl tbody { display: block; }
  .km .bp-cattbl tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "status edit"; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
  .km .bp-cattbl td { display: block; padding: 0; border: 0; }
  .km .bp-cattbl td:nth-child(1) { grid-area: name; font-weight: 700; }
  .km .bp-cattbl td:nth-child(2) { grid-area: price; font-weight: 700; }
  .km .bp-cattbl td:nth-child(3), .km .bp-cattbl td:nth-child(4) { display: none; }
  .km .bp-cattbl td:nth-child(5) { grid-area: status; }
  .km .bp-cattbl td:nth-child(6) { grid-area: edit; }
  .km .bp-cathead { flex-direction: column; align-items: flex-start; }
  /* Kennzahlen kompakt */
  .km .bp-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .km .bp-kpis .panel { padding: 10px; margin-bottom: 12px; }
  .km .bp-kpis .muted { font-size: 12px; } .km .bp-kpis b { font-size: 17px; }
  /* Kopf kompakt: Zimmer · von · bis in einer Zeile (0.2.3) */
  .km .bp-head { padding: 12px; }
  .km .bp-head-main { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  .km .bp-head-main .bp-cell-room { grid-column: auto; }
  .km .bp-head label { font-size: 12.5px; margin-bottom: 3px; }
  .km .bp-head .bp-big, .km .bp-head .bp-big[type=date] { height: 44px; min-height: 44px; font-size: 16px; padding: 0 6px; line-height: 44px; }
  .km .bp-head #room_no { font-size: 18px; text-align: center; }
  .km .bp-head .bp-big[type=date]::-webkit-calendar-picker-indicator { display: none; }
  .km .bp-more { margin-top: 8px; } .km .bp-more > summary { font-size: 14px; padding: 4px 0; }
}
