/* NUR NOCH für die Demo-Startseite (demo/public/home.php). Die Team-Seiten nutzen seit Runde 3 assets/bam-look.css (Limitless v3).
   Alt: Team-Ansichten Frühstück: Aufbau wie BAM (Leiste oben, Menü links), fürs Tablet in der Küche große Ziele.
   Farben aus dem Residenz-Look: Petrol für Menü und Aktionen, Gold nur als Akzent. */
:root {
  --t-bg: #f4f3ee;
  --t-surface: #ffffff;
  --t-line: #e3e0d4;
  --t-ink: #1f2b2c;
  --t-muted: #5d6763;
  --t-gold: #8a7517;
  --t-gold-deco: #cfb023;
  --t-petrol: #375a5e;
  --t-petrol-deep: #22393c;
  --t-petrol-soft: #e3ecec;
  --t-side: #263438;
  --t-side-ink: #d7dfdf;
  --t-warn: #9a4a12;
  --t-warn-soft: #f8e9dc;
  --t-ok: #2f6b3c;
  --t-ok-soft: #e2efe4;
  --t-display: "Caudex", Georgia, serif;
  --t-body: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-top: 56px;
  --t-side-w: 232px;
}
* { box-sizing: border-box; }
body.bft { margin: 0; background: var(--t-bg); color: var(--t-ink); font: 400 15px/1.5 var(--t-body); }
.bft-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bft a { color: var(--t-petrol); }

/* Rahmen */
.bft-app.is-standalone { min-height: 100vh; display: grid; grid-template-columns: 1fr; grid-template-rows: var(--t-top) auto 1fr; }
.bft-top { position: sticky; top: 0; z-index: 20; height: var(--t-top); background: var(--t-petrol-deep); color: #fff; display: flex; align-items: center; gap: 16px;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.bft-brand { font: 700 18px var(--t-display); color: #fff !important; text-decoration: none; }
.bft-top-house { font-size: 13px; opacity: .7; flex: 1; }
.bft-lang { display: flex; gap: 2px; }
.bft-lang a { color: rgba(255,255,255,.75) !important; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.bft-lang a.is-active { background: rgba(255,255,255,.14); color: #fff !important; }

.bft-side { background: var(--t-side); color: var(--t-side-ink); padding: 10px 12px; display: flex; gap: 6px; overflow-x: auto; align-items: center; }
.bft-side ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.bft-side a { display: block; color: var(--t-side-ink) !important; text-decoration: none; padding: 9px 12px; border-radius: 6px; white-space: nowrap; font-size: 14px; }
.bft-side a:hover { background: rgba(255,255,255,.07); }
.bft-side a.is-active { background: var(--t-petrol); color: #fff !important; font-weight: 500; }
.bft-side-group { display: none; }
.bft-search input { width: 150px; font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 6px; border: 0; background: rgba(255,255,255,.1); color: #fff; }
.bft-search input::placeholder { color: rgba(255,255,255,.55); }

.bft-main { min-width: 0; width: 100%; max-width: 1240px; padding: 20px max(16px, env(safe-area-inset-right)) 64px max(16px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) {
  .bft-app.is-standalone { grid-template-columns: var(--t-side-w) 1fr; grid-template-rows: var(--t-top) 1fr; }
  .bft-top { grid-column: 1 / -1; }
  .bft-side { position: sticky; top: var(--t-top); height: calc(100vh - var(--t-top)); flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 12px; overflow-y: auto; }
  .bft-side ul { flex-direction: column; gap: 2px; }
  .bft-side-group { display: block; margin: 16px 12px 4px; font-size: 12px; color: rgba(215,223,223,.6); }
  .bft-search input { width: 100%; }
  .bft-main { padding: 28px 32px 80px; }
}

.bft-flash { margin: 0; background: var(--t-ok-soft); color: var(--t-ok); padding: 12px 16px; border-radius: 8px; font-weight: 500; }
.bft-flash[hidden] { display: none; }

/* Kopf, Kennzahlen */
.bft-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; }
.bft-head h1 { margin: 0; font: 400 30px/1.15 var(--t-display); }
.bft-head p { margin: 4px 0 0; }
.bft-daynav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bft-daynav form { margin: 0; }
.bft-daynav input[type=date], .bft-toolbar input[type=date] { font: inherit; padding: 9px 10px; border: 1px solid var(--t-line); border-radius: 6px; background: #fff; min-height: 44px; }
.bft-kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.bft-kpi { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 8px; padding: 10px 16px; min-width: 104px; display: flex; flex-direction: column; text-decoration: none; color: var(--t-ink) !important; }
a.bft-kpi:hover { border-color: var(--t-petrol); }
.bft-kpi.is-active { border-color: var(--t-petrol); box-shadow: inset 0 0 0 1px var(--t-petrol); }
.bft-kpi b { font: 400 28px/1.1 var(--t-display); font-variant-numeric: tabular-nums; }
.bft-kpi span { font-size: 13px; color: var(--t-muted); }
.bft-kpi.bft-st-booked b { color: var(--t-ok); }
.bft-kpi.bft-st-prebooked b { color: var(--t-petrol); }
.bft-kpi.bft-st-potential b { color: var(--t-muted); }

/* Karten, Raster, Knöpfe */
.bft-card { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bft-card h2, .bft-section-head h2 { margin: 0; font: 400 22px/1.2 var(--t-display); }
.bft-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.bft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.bft-toolbar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.bft-row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bft-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--t-petrol); color: #fff !important; border: 1px solid var(--t-petrol); padding: 0 16px;
  font: 500 14px var(--t-body); text-decoration: none; cursor: pointer; border-radius: 6px; min-height: 44px; transition: background .15s; }
.bft-btn:hover { background: var(--t-petrol-deep); }
.bft-btn.is-ghost { background: transparent; color: var(--t-petrol) !important; }
.bft-btn.is-ghost:hover { background: var(--t-petrol-soft); }
.bft-btn.is-danger { color: var(--t-warn) !important; border-color: var(--t-warn); }
.bft-btn.is-small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.bft-btn.is-large { min-height: 52px; padding: 0 22px; font-size: 16px; }
.bft-btn:disabled { opacity: .5; cursor: default; }
.bft-btn:focus-visible, .bft-side a:focus-visible, .bft-chip:focus-visible, .bft-kpi:focus-visible { outline: 3px solid var(--t-gold-deco); outline-offset: 2px; }
.bft-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bft-chip { display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--t-petrol); color: var(--t-petrol) !important; text-decoration: none; border-radius: 999px; font-size: 14px; min-height: 40px; }
.bft-chip.is-active { background: var(--t-petrol); color: #fff !important; }

/* Tabellen */
.bft-scroll { overflow-x: auto; }
.bft-table { width: 100%; border-collapse: collapse; background: var(--t-surface); border-radius: 10px; }
.bft-table th, .bft-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--t-line); vertical-align: top; }
.bft-table thead th { font-size: 13px; color: var(--t-muted); font-weight: 500; white-space: nowrap; }
.bft-table .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bft-table.is-compact td { padding: 7px 10px; }
.bft-group-row th { background: var(--t-bg); font: 400 17px var(--t-display); }
.bft-overview td { padding: 8px 12px; }
.bft-overview tr.is-potential td { color: var(--t-muted); }
.bft-overview tr.is-potential .bft-apt { color: var(--t-muted); }
.bft-apt { font: 700 18px var(--t-display); white-space: nowrap; color: var(--t-ink); }
.bft-slot { font: 700 17px var(--t-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bft-sub { display: block; font-size: 13px; color: var(--t-muted); }
.bft-muted { color: var(--t-muted); font-size: 14px; }
.bft-warn { color: var(--t-warn); font-weight: 500; }
.bft-actions { white-space: nowrap; text-align: right; }
.bft-state { display: inline-block; font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--t-petrol-soft); color: var(--t-petrol); white-space: nowrap; }
.bft-state.bft-st-booked { background: var(--t-ok-soft); color: var(--t-ok); }
.bft-state.bft-st-potential { background: var(--t-bg); color: var(--t-muted); }
.bft-flag { display: inline-block; font-size: 12px; background: var(--t-petrol-soft); color: var(--t-petrol); padding: 1px 8px; border-radius: 4px; margin: 3px 4px 0 0; }
.bft-flag.is-warn { background: var(--t-warn-soft); color: var(--t-warn); }
.bft-note { font-size: 13px; color: var(--t-warn); }
.bft-empty { background: var(--t-surface); border: 1px dashed var(--t-line); border-radius: 10px; padding: 28px; text-align: center; color: var(--t-muted); margin: 0; }
.bft-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.bft-results a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; background: var(--t-bg); }
.bft-results a:hover { background: var(--t-petrol-soft); }

/* Kacheln */
.bft-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bft-tile a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 10px; text-decoration: none; color: var(--t-ink) !important; border-top: 4px solid var(--t-line); }
.bft-tile.is-booked a { border-top-color: var(--t-ok); }
.bft-tile.is-prebooked a { border-top-color: var(--t-petrol); }
.bft-tile a:hover { border-color: var(--t-petrol); }
.bft-tile-top { display: flex; justify-content: space-between; align-items: baseline; }
.bft-tile-guest { font-size: 14px; color: var(--t-muted); }
.bft-tile-what { font-size: 15px; }
.bft-tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; margin-top: auto; }
.bft-tile.is-potential .bft-tile-what { color: var(--t-muted); }

/* Buchung verwalten */
.bft-booking-info p { margin: 0; }
.bft-days { display: flex; flex-direction: column; gap: 12px; }
.bft-dayform.is-past { opacity: .6; }
.bft-dayform.is-booked { border-left: 4px solid var(--t-ok); }
.bft-dayform-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.bft-dayform-head h2 { margin-right: auto; }
.bft-dayform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 22px; }
.bft-dayform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bft-dayform legend { font-size: 13px; font-weight: 500; color: var(--t-muted); padding: 0; margin-bottom: 6px; }
.bft-wide { grid-column: 1 / -1; }
.bft-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.bft-seg label { position: relative; }
.bft-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bft-seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--t-bg); border: 1px solid var(--t-line); font-size: 14px; }
.bft-seg input:checked + span { background: var(--t-petrol); border-color: var(--t-petrol); color: #fff; }
.bft-seg input:focus-visible + span { outline: 3px solid var(--t-gold-deco); outline-offset: 2px; }
.bft-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.bft-counts label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.bft-price-row { display: flex; gap: 8px; }
.bft-price-row select, .bft-reason input { font: inherit; padding: 9px 10px; border: 1px solid var(--t-line); border-radius: 6px; background: #fff; min-height: 42px; }
.bft-reason { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--t-muted); font-weight: 500; }
.bft-reason input { color: var(--t-ink); font-weight: 400; }
.bft-check-inline { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.bft-form-errors { margin: 0; color: var(--t-warn); font-weight: 500; }
.bft-form-errors[hidden] { display: none; }

/* Abhaken: Ablauf, Packliste, Vorbereitung */
.bft-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bft-check label { display: grid; grid-template-columns: 32px auto 1fr auto; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--t-line); cursor: pointer; }
.bft-check:last-child label { border-bottom: 0; }
.bft-check input { width: 26px; height: 26px; accent-color: var(--t-ok); margin: 0; }
.bft-check b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bft-check small { color: var(--t-muted); font-size: 12px; }
.bft-check.is-checked span, .bft-check.is-checked b { color: var(--t-muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.3); }
.bft-checklist.is-large .bft-check label { padding: 14px 4px; font-size: 18px; }
.bft-checklist.is-large .bft-check input { width: 30px; height: 30px; }
.bft-time { font: 700 20px var(--t-display); color: var(--t-petrol); min-width: 64px; }
.bft-packgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-bottom: 14px; }
.bft-packbox { gap: 6px; border-top: 5px solid var(--t-petrol); }
.bft-packbox.bft-v-vegetarian { border-top-color: #6c8a3a; }
.bft-packbox.bft-v-vegan { border-top-color: var(--t-ok); }
.bft-packbox.bft-v-kids { border-top-color: var(--t-gold-deco); }
.bft-packbox header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.bft-packbox header span:last-child { flex-basis: 100%; font-size: 14px; color: var(--t-muted); }
.bft-packbox .bft-check label { grid-template-columns: 28px 64px 1fr; padding: 7px 2px; }
.bft-packbox.is-done { background: var(--t-ok-soft); }
.bft-boxdone { display: flex; align-items: center; gap: 12px; padding: 12px; margin-top: 6px; border-radius: 8px; background: var(--t-bg); font-weight: 600; font-size: 16px; cursor: pointer; }
.bft-boxdone input { width: 28px; height: 28px; accent-color: var(--t-ok); margin: 0; }
.bft-boxdone:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.bft-slot-head { margin: 8px 0 0; font: 700 20px var(--t-display); color: var(--t-petrol); }
.bft-deliverlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bft-deliverlist li { display: grid; grid-template-columns: 70px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--t-line); }
.bft-deliverlist li.is-returned { opacity: .55; }
@media (max-width: 560px) { .bft-deliverlist li { grid-template-columns: 60px 1fr; } }

.bft-stock { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; border-left: 5px solid var(--t-warn); }
.bft-stock.is-ok { border-left-color: var(--t-ok); background: var(--t-ok-soft); }
.bft-stock.is-open { background: var(--t-warn-soft); }

/* Regelwerk */
.bft-rules { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; }
.bft-rules div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--t-line); }
.bft-rules dt { color: var(--t-muted); }
.bft-rules dd { margin: 0; font-weight: 500; text-align: right; }
.bft-mono-list { margin: 0; padding-left: 1.2em; }

/* Zeitraum, Inventur, Einkauf (bestehende Seiten) */
.bft-periods { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.bft-range { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--t-muted); }
.bft-range input, .bft-num, .bft-free input { font: inherit; padding: 8px; border: 1px solid var(--t-line); border-radius: 6px; background: #fff; color: var(--t-ink); min-height: 40px; }
.bft-num { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.bft-num.is-small { width: 72px; }
.bft-stack { display: flex; flex-direction: column; gap: 14px; }
.bft-free { display: flex; flex-direction: column; gap: 8px; }
.bft-free-row { display: grid; grid-template-columns: 1fr 140px; gap: 8px; }
.bft-box { display: block; font-size: 14px; }
@media (max-width: 640px) {
  .bft-top-house { visibility: hidden; }
  .bft-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
  .bft-kpi { min-width: 0; padding: 8px 10px; }
  .bft-kpi b { font-size: 22px; }
  .bft-kpi span { font-size: 12px; line-height: 1.25; }
}
@media (max-width: 640px) { .bft-head h1 { font-size: 24px; } .bft-table th, .bft-table td { padding: 8px; } .bft-free-row { grid-template-columns: 1fr 90px; } }
@media (prefers-reduced-motion: reduce) { .bft-btn { transition: none; } }

/* Formulare (Regelwerk, Produkte, Inventur), Runde 2 C */
.bft-h2 { margin: 0 0 10px; font: 400 22px/1.2 var(--t-display); }
.bft-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 20px; }
.bft-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--t-muted); min-width: 0; }
.bft-field input, .bft-field select, .bft-field textarea, .bft-texts input, .bft-texts textarea {
  font: 400 15px var(--t-body); color: var(--t-ink); padding: 9px 10px; border: 1px solid var(--t-line); border-radius: 6px; background: #fff; min-height: 42px; width: 100%; }
.bft-field textarea { font-size: 14px; min-height: 0; }
.bft-field small { font-weight: 400; font-size: 12px; }
.bft-field.is-error input, .bft-field.is-error select, .bft-field.is-error textarea, .is-error .bft-field input, [data-field].is-error { border-color: var(--t-warn); }
[data-field].is-error > span, .bft-card[data-field].is-error h2 { color: var(--t-warn); }
.bft-savebar { position: sticky; bottom: 0; padding: 12px 0; background: var(--t-bg); display: flex; justify-content: flex-end; }
.bft-texts td { min-width: 180px; }
.bft-texts textarea { min-height: 72px; font-size: 14px; }
.bft-allergen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.bft-allergen-grid input { width: 20px; height: 20px; }
.bft-variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bft-variant { display: flex; flex-direction: column; gap: 8px; }
.bft-variant img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--t-bg); }
.bft-variant h3 { margin: 0; font: 400 18px var(--t-display); }
.bft-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.bft-upload input[type=file] { max-width: 100%; font-size: 13px; }
.bft-table tr.is-inactive td { color: var(--t-muted); }
.bft-wide-card { grid-column: 1 / -1; }
.bft-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bft-history summary { cursor: pointer; padding: 10px 12px; border-radius: 6px; background: var(--t-bg); }
.bft-history details[open] summary { background: var(--t-petrol-soft); }
.bft-history table { margin-top: 6px; }
.bft-orders { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.bft-order { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 8px; background: var(--t-bg); }
.bft-order h3 { margin: 0; font: 400 18px var(--t-display); }
.bft-order-text { margin: 0; white-space: pre-wrap; font: 400 13px/1.5 var(--t-body); background: #fff; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--t-line); }

/* Runde 3: Auslastung je Fenster und Konflikte (Phase 3 stellt auf den BAM-Look um) */
.bft-capacity { display: flex; flex-direction: column; gap: 10px; }
.bft-slotload { display: flex; flex-wrap: wrap; gap: 8px; }
.bft-conflicts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bft-conflicts li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bft-stay-card .bf-period { margin-bottom: 4px; }
.bft-stayform { background: transparent; padding: 0; }

/* Runde 3, Phase 2: Klartext oben, Aufgaben, Bestellungen, Inventur (Phase 3 stellt auf den BAM-Look um) */
.bft-lead { font-size: 17px; margin: 4px 0 2px; max-width: 60em; }
.bft-tasklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bft-tasklist li { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 8px 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.bft-tasklist li.is-overdue .bft-task-when { color: var(--t-danger, #a3392d); font-weight: 600; }
.bft-task-when { font-size: 13px; color: var(--t-muted, #666); white-space: nowrap; }
.bft-task-actions { display: flex; gap: 6px; }
@media (max-width: 640px) { .bft-tasklist li { grid-template-columns: 1fr; } }
.bft-ordertable tr.is-changed td { background: #fff8e1; }
.bft-ordertable input[type=text] { width: 100%; min-width: 9em; }
.bft-table tr.is-late td { background: #fbe9e7; }
.bft-table tr.is-short td { background: #fbe9e7; }
.bft-table tr.is-flag td { background: #fbe9e7; }
.bft-sheet { font-size: 18px; line-height: 1.6; padding-left: 1.4em; }
.bft-mail { width: 100%; font: 14px/1.5 ui-monospace, Menlo, monospace; padding: 10px; border: 1px solid #d9d9d9; }
.bft-log { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--t-muted, #555); }
.bft-list { margin: 6px 0; padding-left: 1.2em; }
.bft-quota-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bft-quota-row input { width: 6em; }
.bft-prov { font-size: 12px; margin-top: 2px; }
.bft-forecast { margin-bottom: 8px; }
.bft-sparlist b { min-width: 9em; display: inline-block; }
.bft-inventory .bft-diff { font-variant-numeric: tabular-nums; white-space: nowrap; }
