/* İdari Takip — eski (ChatGPT) arayüzün görsel dili: lacivert yan menü, ferah beyaz kartlar, teal vurgular.
   K-026: kullanıcı isteğiyle yalnız açık tema (eski arayüz gibi). */
:root {
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e7edf1;
  --border-strong: #d9e3eb;
  --ink: #142b3d;
  --ink-2: #4d6578;
  --ink-3: #758696;
  --accent: #106e80;
  --accent-ink: #ffffff;
  --accent-soft: #e8f7f4;
  --teal: #0f9785;
  --bar: #0da88f;
  --nav: #10283b;
  --good: #128c73;  --good-bg: #e4f5ef;
  --warn: #a8670f;  --warn-bg: #fff2df;
  --bad: #c6524a;   --bad-bg: #ffeeeb;
  --info: #3e72ac;  --info-bg: #eaf2ff;
  --muted-bg: #edf3f7;
  --focus: #2fa897;
  --shadow: 0 5px 24px rgb(30 57 79 / 4%);
  --radius: 16px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 15px; margin: 0; }
h3 { font-size: 14px; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.loading { padding: 64px 16px; text-align: center; color: var(--ink-3); }

/* ---------- iskelet: lacivert yan menü + beyaz üst çubuk (eski arayüz) ---------- */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: 256px; background: var(--nav); color: #c8d9e3;
  padding: 26px 17px 20px; display: flex; flex-direction: column; overflow-y: auto; }
.sb-brand { padding: 0 8px 24px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #284153; margin-bottom: 8px; }
.sb-mark { width: 42px; min-width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border-radius: 13px;
  color: #fff; font-weight: 900; font-size: 13px; letter-spacing: 0.02em; }
.sb-title { font-weight: 800; font-size: 13px; line-height: 1.28; color: #fff; }
.sb-sub { font-size: 11px; color: #9cb5c4; margin-top: 3px; }
.sb-close { display: none; margin-left: auto; border: 0; background: transparent; color: #c8d9e3; padding: 6px; border-radius: 8px; cursor: pointer; }
.navlabel { font-size: 10px; letter-spacing: 0.15em; color: #7592a6; font-weight: 800; margin: 18px 13px 8px; }
.navitem { display: flex; align-items: center; gap: 11px; color: #adc4d3; border-radius: 9px; padding: 10px 12px; margin: 2px 0;
  font-size: 13px; font-weight: 570; text-decoration: none; }
.navitem:hover { background: #1a374b; color: #fff; text-decoration: none; }
.navitem.active { background: #24485c; color: #fff; box-shadow: inset 3px 0 #22c8af; }
.navitem .ico { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.navcount { margin-left: auto; border-radius: 12px; background: #d78b29; color: #fff; padding: 2px 7px; font-size: 10px; font-weight: 700; }
.sidebottom { background: #1b394c; border-radius: 12px; padding: 14px; font-size: 11px; color: #bdd0db; line-height: 1.6; }
.sidebottom strong { color: #fff; display: block; margin-bottom: 4px; font-size: 12px; }
.sidebottom { margin-top: 24px; }
.sidenav { flex: 1; }
.sidebar-shade { position: fixed; inset: 0; background: rgb(10 25 35 / 45%); z-index: 55; }
.main-col { margin-left: 256px; min-width: 0; }
.ico { width: 16px; height: 16px; flex-shrink: 0; }

.demo-banner { background: var(--warn-bg); color: var(--warn); padding: 8px 34px; font-size: 12.5px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #f3e1c2; }
.demo-banner label { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.demo-banner select { padding: 2px 6px; min-height: 30px; width: auto; }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px; padding: 0 34px; min-height: 72px; }
.nav-toggle { display: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); border-radius: 10px;
  width: 40px; height: 40px; place-items: center; cursor: pointer; }
.nav-toggle .ico { width: 20px; height: 20px; }
.toplabel { display: flex; align-items: center; gap: 9px; color: #53677a; font-size: 12.5px; min-width: 0; }
.toplabel strong { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toplabel .ico { width: 17px; height: 17px; }
.toplabel-group { white-space: nowrap; }
.topright { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.todaypill { padding: 9px 13px; border: 1px solid var(--border); border-radius: 11px; color: #587185; background: #fff; white-space: nowrap; }
.user-email { color: var(--ink-2); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; color: var(--ink); }
.brand-mark { background: #1fbaa9; color: #fff; font-size: 12px; font-weight: 900; padding: 8px 9px; border-radius: 11px; letter-spacing: 0.02em; }
.brand-lg { font-size: 17px; justify-content: center; margin-bottom: 18px; }
.role-chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #e5f3f2; color: #126a62; }

main { max-width: 1520px; margin: 0 auto; padding: 28px 34px 72px; display: flex; flex-direction: column; gap: 18px; }
main:focus { outline: none; }
.eyebrow { text-transform: uppercase; color: #549083; font-size: 10px; font-weight: 850; letter-spacing: 0.16em; margin-bottom: 7px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.page-head h1, main > h1 { font-size: 25px; line-height: 1.25; font-weight: 800; letter-spacing: -0.6px; }
.page-head .muted { margin-top: 6px; font-size: 12.7px; line-height: 1.6; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.section-title { font-size: 13px; font-weight: 650; color: var(--ink-2); margin: 4px 0 8px; text-transform: none; }

/* ---------- paneller ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 21px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.panel h2 { font-size: 15.5px; letter-spacing: -0.2px; font-weight: 750; }
.panel-head h2 .count { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; }
.center-card { max-width: 420px; margin: 10vh auto; }
.center-card h1 { font-size: 19px; margin-bottom: 8px; }
.center-card p { margin-bottom: 12px; color: var(--ink-2); }
.login-card { padding: 28px; }
.error-panel { border-color: var(--bad); }

/* ---------- filtre çubuğu ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 11px 14px; align-items: flex-end; padding: 18px 21px; }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; align-self: flex-end; }
.seg-btn { border: 0; background: var(--surface); color: var(--ink-2); padding: 7px 12px; font: inherit; cursor: pointer;
  border-right: 1px solid var(--border); min-height: 39px; font-size: 12.5px; font-weight: 650; }
.seg-btn:last-child { border-right: 0; }
.seg-btn:hover { background: var(--surface-2); color: var(--ink); }
.seg-btn.active { background: var(--nav); color: #fff; font-weight: 700; }

/* ---------- form alanları ---------- */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 11px; color: #607688; font-weight: 700; }
.field-inline { min-width: 150px; }
.field-grow { flex: 1 1 240px; }
input, select, textarea { font: inherit; font-size: 12.5px; color: #233e50; background: var(--surface); border: 1px solid #dbe5eb;
  border-radius: 9px; padding: 9px 11px; min-height: 39px; width: 100%; }
textarea { resize: vertical; }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-2); color: var(--ink-2); }
input:focus, select:focus, textarea:focus { border-color: #2fa897; outline: 0; box-shadow: 0 0 0 3px rgb(40 171 151 / 11%); }
.input-sm { min-height: 30px; padding: 4px 8px; }
.check { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.check input { width: 16px; height: 16px; min-height: 0; accent-color: var(--accent); }
.check-lg { font-weight: 550; margin-bottom: 6px; }
.hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.span-2 { grid-column: 1 / -1; }
.subsection { border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin: 4px 0 0; }
.subsection legend { font-weight: 650; font-size: 13px; padding: 0 4px; }
section.subsection { margin-top: 16px; }
.ident-line { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.stay-form { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr auto auto; gap: 8px 10px; align-items: end; margin-top: 12px;
  padding-top: 12px; border-top: 1px dashed var(--border); }
.stay-btns { display: flex; gap: 6px; }

/* ---------- düğmeler ---------- */
.btn { font: inherit; font-size: 12.5px; font-weight: 700; border: 1px solid var(--border-strong); background: var(--surface); color: #355168;
  border-radius: 10px; padding: 9px 15px; cursor: pointer; min-height: 39px; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; white-space: nowrap; text-decoration: none; }
.btn:hover { background: #f4f7f9; text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #075c6a; }
.btn-danger { background: #d35154; border-color: #d35154; color: #fff; }
.btn-danger-ghost { color: #bd4043; background: #fff1f2; border-color: #f4d4d8; }
.btn-danger-ghost:hover { background: var(--bad-bg); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-link { border: 0; background: none; color: var(--accent); padding: 4px; min-height: 0; font-weight: 500; }
.btn-sm { padding: 6px 11px; min-height: 32px; font-size: 11.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.icon-btn { border: 0; background: transparent; color: var(--ink-2); font-size: 16px; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }

/* ---------- KPI kartları ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; }
.kpi-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kpi-grid-5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kpi { text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 19px 21px 17px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); min-height: 112px; }
button.kpi { cursor: pointer; transition: border-color 0.12s; }
button.kpi:hover { border-color: #91c8c4; background: #f2fbf9; transform: translateY(-1px); }
.kpi-selected { border-color: var(--teal); background: #f2fbf9; box-shadow: inset 0 0 0 1px var(--teal); }
.kpi-label { font-size: 12px; color: #6c8192; font-weight: 600; }
.kpi-value { font-size: 27px; font-weight: 800; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi-money .kpi-value { font-size: 22px; padding: 3px 0; }
.kpi-sub { font-size: 11px; color: #92a2ae; margin-top: 4px; }
.warn-text { color: var(--warn); }
.check-line { font-size: 12.5px; margin-top: 8px; color: var(--ink-3); }
.check-line.ok::first-letter { color: var(--good); }
.check-line.bad { color: var(--bad); }
.masked { font-family: ui-monospace, monospace; color: var(--ink-3); }

/* ---------- tablolar ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e9eff3; border-radius: 11px; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: 0.02em; color: #698090; background: #f8fafc;
  padding: 12px 13px; border-bottom: 1px solid #e9eff3; position: sticky; top: 0; white-space: nowrap; }
.table td { padding: 11px 13px; border-bottom: 1px solid #eef2f6; vertical-align: top; color: #3d5669; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfdfd; }
.table tfoot th { border-top: 1px solid var(--border-strong); border-bottom: 0; }
.table-compact td, .table-compact th { padding: 8px 10px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-click tbody tr { cursor: pointer; }
.table-click tbody tr:hover, .table-click tbody tr:focus { background: #f2fbf9; outline: none; }
.row-invalid td { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bad) 50%, transparent); }
.row-invalid td.chips { text-decoration: none; }
.row-muted td { color: var(--ink-3); }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .btn + .btn { margin-left: 4px; }
.table-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.empty { padding: 34px 15px; color: #8a9ba6; text-align: center; font-size: 13px; }
.table-toggle { margin-top: 10px; }
.table-toggle summary { cursor: pointer; color: var(--accent); font-size: 13px; }
.table-toggle .table-wrap { max-height: 320px; overflow-y: auto; margin-top: 8px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 12px; }

/* ---------- etiketler ---------- */
.chip { display: inline-block; font-size: 10.5px; font-weight: 750; padding: 4px 9px; border-radius: 99px; white-space: nowrap; line-height: 1.3; }
.chip-good { background: var(--good-bg); color: var(--good); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); }
.chip-info { background: var(--info-bg); color: var(--info); }
.chip-muted { background: var(--muted-bg); color: var(--ink-3); }
.chips { white-space: normal; }
.chips .chip { margin: 1px 0; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.65; background: #e8f3f8; color: #306176; }
.alert-bad { background: var(--bad-bg); color: var(--bad); }

/* ---------- grafik (tek seri, tek eksen) ---------- */
.bars { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 180px auto; column-gap: 8px; }
.bars-grid { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--ink-3);
  text-align: right; font-variant-numeric: tabular-nums; }
.bars-plot { display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--border-strong);
  background: linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 50%; position: relative; }
.bar-col { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; min-width: 0; }
.bar { width: 100%; background: linear-gradient(0deg, #0da88f, #72d6c9); border-radius: 5px 5px 0 0; min-height: 0; }
.bar-col:hover .bar { background: linear-gradient(0deg, #0779a6, #48aedd); }
.bar-col:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--surface); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 5; pointer-events: none; }
.bars-x { grid-column: 2; display: flex; gap: 2px; font-size: 10.5px; color: var(--ink-3); padding-top: 4px; }
.bars-x span { flex: 1; min-width: 0; overflow: visible; white-space: nowrap; }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgb(10 25 35 / 50%); z-index: 50; display: flex;
  align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 18px; width: 100%; max-width: 520px; box-shadow: 0 10px 40px rgb(0 0 0 / 25%);
  display: flex; flex-direction: column; max-height: 90vh; }
.modal-wide { max-width: 860px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 17px; font-weight: 800; }
.modal-body { padding: 18px 22px; overflow-y: auto; flex: 1; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--border);
  background: var(--surface); border-radius: 0 0 18px 18px; flex-wrap: wrap; }
.foot-left { margin-right: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- bildirim ---------- */
#toasts { position: fixed; bottom: 16px; right: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: #142b3d; color: #fff; padding: 13px 18px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 4px 16px rgb(0 0 0 / 20%); }
.toast-success { background: var(--good); color: #fff; }
.toast-error { background: var(--bad); color: #fff; }

/* ---------- dar ekran ---------- */
@media (max-width: 720px) {
  main { padding: 16px 16px 48px; }
  .topbar { gap: 10px; padding: 0 16px; min-height: 60px; }
  .topright .user-email, .toplabel-group, .toplabel > .ico { display: none; }
  .todaypill { padding: 7px 9px; font-size: 11.5px; }
  .demo-banner { padding: 8px 16px; }
  .page-head h1 { font-size: 21px; }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stay-form { grid-template-columns: 1fr 1fr; }
  .stay-form .check, .stay-btns { grid-column: span 1; }
  .field-inline { flex: 1 1 140px; min-width: 0; }
  .seg { width: 100%; overflow-x: auto; }
  .seg-btn { flex: 1; padding: 7px 8px; white-space: nowrap; }
  .kpi-grid, .kpi-grid-4, .kpi-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-value { font-size: 22px; }
  /* Mobil modal: tam ekran, kaydet/iptal altta sabit ve her zaman erişilebilir */
  .modal-backdrop { padding: 0; }
  .modal, .modal-wide { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .modal-foot { position: sticky; bottom: 0; border-radius: 0; }
  .foot-left { flex-basis: 100%; }
  .demo-banner label { margin-left: 0; }
}

/* ---------- Excel aktarımı ---------- */
.dropzone { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; border: 2px dashed var(--border-strong);
  border-radius: var(--radius); padding: 18px; background: var(--surface-2); cursor: pointer; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--accent); }
.dropzone input[type=file] { width: auto; border: 0; background: none; padding: 0; min-height: 0; margin-bottom: 4px; }
.alert-warn { background: var(--warn-bg); color: var(--warn); margin-top: 10px; }
.alert { margin-top: 10px; }
.static { margin: 0; padding: 7px 0; color: var(--ink-2); }
.mapping { margin: 14px 0; }
.mapping summary { cursor: pointer; color: var(--accent); font-weight: 550; }
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 14px; margin-top: 12px; }
fieldset.subsection { margin: 12px 0; }
.seg-wrap { flex-wrap: wrap; margin: 14px 0 10px; width: auto; }
.table-scroll { max-height: 560px; overflow-y: auto; }
.detail-cell { font-size: 12.5px; line-height: 1.5; min-width: 260px; }
.bad-text { color: var(--bad); }
.confirm-bar { justify-content: flex-end; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.result-panel { border-color: var(--good); }
.result-panel h2 { color: var(--good); margin-bottom: 6px; }
.result-panel .actions { margin-top: 12px; }
.plain-list { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
a.kpi-link { color: inherit; text-decoration: none; }
a.kpi-link:hover { border-color: var(--accent); text-decoration: none; }
a.kpi-link .kpi-label { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.alert-info { background: var(--info-bg); color: var(--info); line-height: 1.55; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; margin-left: 2px; }
a.seg-btn { text-decoration: none; display: inline-flex; align-items: center; }
.page-head + .seg { margin-bottom: -4px; }

/* ---------- Yemek siparişi ---------- */
.order-wrap { max-height: 70vh; overflow: auto; }
.order-table { font-size: 13px; }
.order-table thead th { position: sticky; top: 0; z-index: 2; }
.order-table thead tr:nth-child(2) th { top: 33px; }
.order-table .sticky-col { position: sticky; left: 0; z-index: 1; background: var(--surface); min-width: 180px; }
.order-table thead .sticky-col { z-index: 3; background: var(--surface-2); }
.order-table .meal-head { text-align: center; border-left: 1px solid var(--border-strong); }
.order-table .area-head { text-align: center; font-size: 11px; font-weight: 600; }
.order-table .area-head.area-SITE, .order-table td.area-SITE { border-left: 1px solid var(--border-strong); }
.order-table .area-CAMP { background: color-mix(in srgb, var(--info-bg) 45%, transparent); }
.order-table td.qty-cell { padding: 4px; }
.order-table td.qty-cell.changed { background: var(--warn-bg); }
.qty { width: 62px; min-height: 32px; padding: 4px 6px; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty::placeholder { color: var(--ink-3); }
.firm-cell { font-weight: 600; white-space: normal; }
.total-row th, .total-row td { background: var(--surface-2); font-weight: 650; }
.total-TOTAL th, .total-TOTAL td { border-top: 2px solid var(--border-strong); }
.save-bar { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 12px 0 0;
  margin-top: 10px; border-top: 1px solid var(--border); background: var(--surface); }
.save-bar #dirty-info { margin-right: auto; color: var(--warn); font-weight: 550; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; white-space: pre-wrap; }
.wa-table td.changed { background: var(--warn-bg); font-weight: 650; }
.control-table th[scope=row] { font-weight: 600; }
.print-only { display: none; }
@media print {
  body.printing-kitchen > *:not(.modal-backdrop) { display: none !important; }
  body.printing-kitchen .modal-backdrop { position: static; background: none; padding: 0; }
  body.printing-kitchen .modal { box-shadow: none; max-height: none; }
  body.printing-kitchen .modal-head, body.printing-kitchen .modal-foot, body.printing-kitchen .modal-body > :not(#kitchen-print) { display: none !important; }
  body.printing-kitchen .print-only { display: block; }
  body.printing-kitchen pre { font-size: 14pt; white-space: pre-wrap; }
}
.save-bar[hidden] { display: none; }
.order-table .total-row td.num { text-align: center; }

/* ---- 3. aşama: mutabakat, kart cezaları ---- */
.inline-form { display: inline-flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field-inline { min-width: 120px; }
.sub-h { font-size: 14.5px; font-weight: 650; margin: 18px 0 8px; }
.sub-h .chip { margin-left: 6px; vertical-align: 1px; }
.rec-table tbody tr { cursor: pointer; }
.rec-table tbody tr:hover, .row-selected { background: var(--accent-soft); }
.row-warn { background: var(--warn-bg); }
.receipt-table .qty { width: 64px; }
.note-input { width: 100%; min-width: 120px; font: inherit; padding: 4px 6px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); color: var(--ink); }
.row-end { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.totals-table tfoot th, .totals-table tfoot td { font-size: 14px; }
#firm-detail h2 .chip { margin-left: 6px; vertical-align: 2px; }
@media print {
  body.printing-report .sidebar, body.printing-report .main-col { margin-left: 0; }
  body.printing-report .topbar, body.printing-report .demo-banner, body.printing-report .filterbar,
  body.printing-report .panel-head .actions, body.printing-report .row-actions, body.printing-report #toasts,
  body.printing-report #rec-body > :not(#firm-detail):not(#sup-panel), body.printing-report .row-end,
  body.printing-report details > summary { display: none !important; }
  body.printing-report .panel { box-shadow: none; border: 0; padding: 0; }
  body.printing-report .table { font-size: 10pt; }
  body.printing-report input { border: 0; background: none; }
}

/* ---- 4. aşama: raporlar ---- */
.report-doc { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; margin-top: 14px; }
.doc-head { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 16px; }
.doc-brand { font-weight: 650; color: var(--ink-2); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.doc-title { font-size: 21px; margin: 6px 0 4px; }
.doc-meta { font-size: 12.5px; color: var(--ink-2); margin: 0; line-height: 1.6; }
.doc-sec { margin: 18px 0; }
.doc-sec h3 { font-size: 14.5px; margin: 0 0 8px; }
.doc-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 10px; }
.doc-kpi { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.doc-kpi span { font-size: 12px; color: var(--ink-2); font-weight: 550; }
.doc-kpi strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.doc-kpi small { font-size: 11.5px; color: var(--ink-3); }
.doc-table { margin-bottom: 4px; }
.doc-note { font-size: 11.5px; color: var(--ink-3); margin: 6px 0; }
.doc-warn { font-size: 12.5px; color: var(--warn); background: var(--warn-bg); padding: 6px 10px; border-radius: 6px; }
.doc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.doc-sign div { border-top: 1px solid var(--ink-2); padding-top: 6px; display: flex; flex-direction: column; font-size: 12.5px; }
.doc-sign span:last-child { color: var(--ink-3); font-size: 11.5px; margin-top: 2px; }
.page-break { margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--border-strong); }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  .report-doc { padding: 16px; }
  .doc-two { grid-template-columns: 1fr; }
}
@media print {
  body.printing-report .report-controls, body.printing-report .page-head .actions { display: none !important; }
  body.printing-report .report-doc { border: 0; padding: 0; margin: 0; }
  body.printing-report .page-break { break-before: page; border: 0; margin: 0; padding: 0; }
  body.printing-report .doc-sec, body.printing-report .doc-sign { break-inside: avoid-page; }
  body.printing-report .doc-kpi { break-inside: avoid; }
  @page { size: A4; margin: 14mm; }
}
.input-row { display: flex; gap: 6px; align-items: center; }
.input-row input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.sel-col { width: 34px; text-align: center; }
.sel-col input { width: 18px; height: 18px; cursor: pointer; }
.radio-row { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.radio-row legend { font-size: 12.5px; color: var(--ink-2); font-weight: 550; margin-bottom: 4px; }
.field[hidden] { display: none; }
.stay-form .stay-same { grid-column: 1 / -1; }

/* ---------- yan menü: dar ekranlarda çekmece ---------- */
@media (max-width: 1100px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.18s ease; box-shadow: 0 0 40px rgb(0 0 0 / 25%); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open { overflow: hidden; }
  .sb-close { display: inline-grid; }
  .main-col { margin-left: 0; }
  .nav-toggle { display: inline-grid; }
}
@media print {
  .sidebar, .sidebar-shade, .nav-toggle { display: none !important; }
  .main-col { margin-left: 0 !important; }
}

/* giriş kartı (eski arayüz) */
.login-card { max-width: 520px; border-radius: 18px; padding: 30px; border-color: #d9e5ea; box-shadow: 0 12px 48px rgb(15 41 57 / 8%); }
.login-card .brand-name { font-size: 14px; letter-spacing: 0.01em; }
.fix-box ul { margin: 6px 0 8px; padding-left: 18px; }
.fix-box .small { margin-left: 6px; }
.danger-check { margin-top: 10px; color: var(--bad); }
.del-summary { margin: 12px 0; }
.del-summary .kpi { min-height: 0; padding: 12px 14px; }
.del-summary .kpi-value { font-size: 20px; }

/* ---------- tarih alanı: her tarayıcıda GG.AA.YYYY (K-030) ---------- */
.tr-date { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; }
.tr-date-text { width: 100%; padding-right: 38px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.tr-date-text.tr-date-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px rgb(198 82 74 / 14%); }
.tr-date-text[readonly] { background: var(--surface-2); color: var(--ink-2); }
.tr-date-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 7px;
  background: transparent; color: #587185; display: grid; place-items: center; cursor: pointer; padding: 0; }
.tr-date-btn:hover { background: var(--muted-bg); color: var(--ink); }
.tr-date-btn svg { width: 17px; height: 17px; }
.tr-date-btn[hidden] { display: none; }
/* Asıl kutu görünmez ama takvimin konumu ve form verisi için yerinde kalır */
.tr-date-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: -1;
  min-height: 0; padding: 0; border: 0; }
/* .field > span (etiket metni) stili tarih kutusunu sarmalayan span'a uygulanmasın */
.field > span.tr-date { font-size: inherit; font-weight: 400; color: inherit; }
.tr-date-text { font-weight: 400; }

/* K-034: izin */
.chip-leave { background: #ece6f8; color: #553a8f; }
.leave-list { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.card-no { font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.leave-alerts .two-col { margin-top: 4px; }

/* Gösterge paneli karşılaması */
.greeting { margin: 0 0 4px; font-size: 1.35rem; font-weight: 600; color: var(--accent, inherit); }

/* Uygulama simgesi (nötr, kurum logosu yok) */
.sb-mark img { width: 42px; height: 42px; display: block; border-radius: 13px; }
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.login-logo { width: 72px; height: 72px; display: block; border-radius: 18px; }
.login-app { font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2, #53677a); }
.doc-logo { width: 34px; height: 34px; display: block; border-radius: 8px; }

/* K-038: kart uyarısı işaretleri */
.btn-xs { padding: 3px 9px; min-height: 26px; font-size: 11.5px; border-radius: 8px; margin-left: 6px; vertical-align: middle; }
.card-mark { background: #fff; border: 1px solid currentColor; color: var(--ink); }
.card-mark:hover { background: var(--good-bg); color: var(--good); border-color: var(--good); }
.alert-ok { background: var(--good-bg); color: var(--good); margin: 4px 0 0; }
.card-done { margin-top: 12px; font-size: 13px; }
.card-done summary { cursor: pointer; color: var(--ink-2, #53677a); font-weight: 600; }
.card-done .chip { margin-left: 6px; }

/* ================= K-040: Kamp Amiri — Kamp Paneli, Odalar ================= */
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 34px 21px; }
.empty-state h2 { font-size: 17px; margin-bottom: 6px; }
.empty-state p { color: var(--ink-2); margin-bottom: 14px; }
.good-text { color: var(--good); }
.bad-text { color: var(--bad); }
.sub-h4 { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin: 12px 0 6px; }
.row-muted td { color: var(--ink-3); }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.field-xs { min-width: 70px !important; max-width: 90px; }
a.kpi-link { text-decoration: none; display: flex; flex-direction: column; transition: border-color 0.12s; }
a.kpi-link:hover { border-color: #91c8c4; background: #f2fbf9; }
.kpi-good .kpi-value { color: var(--good); }
.kpi-warn { border-color: #f1d3a6; } .kpi-warn .kpi-value { color: var(--warn); }
.kpi-bad { border-color: #f2c2bd; } .kpi-bad .kpi-value { color: var(--bad); }
.kpi-second { margin-top: 12px; }
.occ-bar { display: block; height: 6px; background: var(--muted-bg); border-radius: 99px; overflow: hidden; margin: 6px 0 2px; }
.occ-bar span { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 99px; }
.alert-panel.warn { border-left: 4px solid var(--warn); }
.alert-panel.bad { border-left: 4px solid var(--bad); }
.camp-list { list-style: none; margin: 8px 0 0; padding: 0; }
.camp-list li { padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.camp-list li:last-child { border-bottom: 0; }
.camp-list .btn-xs { margin-left: auto; }
.chip-co { background: #eef1f6; color: #4b5d70; font-weight: 650; }
.chip-camp { background: #efe9fb; color: #6a4bb0; }
.legend { font-size: 11.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lg { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-left: 6px; }
.lg-EMPTY, .room-tile.st-EMPTY { background: var(--good-bg); border-color: #b5e2d4; }
.lg-PARTIAL, .room-tile.st-PARTIAL { background: var(--info-bg); border-color: #c3d6f1; }
.lg-FULL, .room-tile.st-FULL { background: #e3e9ef; border-color: #c9d4de; }
.lg-NOBEDS, .room-tile.st-NOBEDS { background: var(--warn-bg); border-color: #f1d3a6; }
.room-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; margin-top: 10px; }
.room-tile { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border: 1px solid; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.room-tile strong { font-size: 14px; }
.room-tile:hover { outline: 2px solid var(--teal); }
.dot-bad { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.room-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
  cursor: pointer; border-top: 4px solid var(--border-strong); }
.room-card:hover, .room-card:focus-visible { border-color: #91c8c4; outline: none; }
.room-card.st-EMPTY { border-top-color: var(--good); } .room-card.st-PARTIAL { border-top-color: var(--info); }
.room-card.st-FULL { border-top-color: #8fa1b2; } .room-card.st-NOBEDS { border-top-color: var(--warn); }
.room-card header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.room-card header .occ { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.room-card .beds { list-style: none; margin: 0; padding: 0; }
.room-card .beds li { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px dashed var(--border); font-size: 12.5px; }
.room-card .beds li:last-child { border-bottom: 0; }
.bed-label { min-width: 46px; font-weight: 700; color: var(--ink-2); }
.bed-who { font-weight: 650; }
.bed-off .bed-label { text-decoration: line-through; color: var(--ink-3); }
.bed-picker { display: grid; gap: 10px; max-height: 50vh; overflow-y: auto; margin: 10px 0; }
.bp-room { border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.bp-beds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pp-wrap { max-height: 50vh; overflow-y: auto; margin-top: 10px; }
.camp-notes { list-style: none; margin: 0; padding: 0; }
.camp-notes li { padding: 8px 10px; border: 1px solid #e3daf6; background: #faf8ff; border-radius: 10px; margin-bottom: 6px; }
.camp-notes li div { margin-top: 4px; white-space: pre-wrap; }
@media (max-width: 640px) {
  .room-grid { grid-template-columns: 1fr; }
  .room-map { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}
.doc-h4 { font-size: 12.5px; font-weight: 700; margin: 10px 0 4px; }
.chip-passive { background: #eef0f3; color: #5a6675; }
/* K-043: iş makinesi puantajı */
.eq-total { padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.eq-total strong { font-size: 16px; }
.report-doc .doc-sign + .doc-sign { margin-top: 28px; }

/* K-045: hakediş önizlemesinde KDV oranı (yazdırılmaz) */
.doc-vat-form { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.doc-vat-form .field-inline { min-width: 0; flex: 0 0 auto; }
.doc-vat-form input { width: 6.5em; }
.doc-vat-form .hint { margin: 0; }
input.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px rgb(198 82 74 / 14%); }

/* ---- K-046..K-049: kamp kaydı olmadan yerleşim, otopark, son değişiklikler, oda planı çıktısı ---- */
.alert-panel.info { border-left: 4px solid var(--info); }
.pp-others { margin-top: 14px; }
.pp-others > summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.plate { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
fieldset.field { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
fieldset.field legend { font-size: 11px; color: #607688; font-weight: 700; margin-bottom: 4px; width: 100%; }

.history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.history-item { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.history-item.is-undone { opacity: .62; }
.history-item .hi-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.history-item .hi-lines { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.history-item .hi-lines li { margin: 2px 0; }
.history-item p { margin: 6px 0 0; }

.room-plan-doc .plan-block { margin-top: 18px; }
.room-plan-doc .plan-block h3 { font-size: 16px; margin: 0 0 8px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.room-plan-doc .plan-block h3 span, .room-plan-doc .plan-block h4 span { font-size: 12px; font-weight: 500; color: var(--ink-2); margin-left: 8px; }
.room-plan-doc .plan-block h4 { font-size: 13.5px; margin: 12px 0 6px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.plan-room { border: 1px solid #b9c7d1; border-radius: 6px; padding: 6px 8px; break-inside: avoid; page-break-inside: avoid; background: var(--surface); }
.plan-room header { display: flex; gap: 8px; align-items: baseline; border-bottom: 1px solid #d6e0e6; padding-bottom: 3px; margin-bottom: 3px; }
.plan-room header strong { font-size: 14px; }
.plan-room header span { font-size: 11px; color: var(--ink-2); }
.plan-room .plan-count { margin-left: auto; white-space: nowrap; }
.plan-room table { width: 100%; border-collapse: collapse; font-size: 11px; table-layout: fixed; }
.plan-room col.c-b { width: 3.4em; } .plan-room col.c-n { width: 36%; } .plan-room col.c-c { width: 34%; }
.plan-room td { padding: 1.5px 3px; vertical-align: top; border-bottom: 1px dotted #e1e8ed; }
.plan-room tr:last-child td { border-bottom: 0; }
.plan-room td.pb { color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.plan-room td { overflow-wrap: anywhere; }
.plan-room td.pn { font-weight: 600; }
.plan-room td.pc, .plan-room td.pj { color: var(--ink-2); }
.plan-room tr.pr-empty td.muted { font-style: italic; }
.plan-room td, .plan-room td.muted { font-size: inherit; text-align: left; padding: 1.5px 3px; }
.plan-room footer { font-size: 10.5px; color: var(--ink-2); margin-top: 3px; }
.plan-room.st-FULL { border-color: #8aa0ad; }
.plan-room.st-EMPTY { border-style: dashed; }
@media print {
  body.printing-report .print-only { display: block; }
  body.printing-report .report-controls { display: none !important; }
  body.printing-report .page-break-before { break-before: page; }
  body.printing-report .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  body.printing-report .plan-room { padding: 4px 5px; border-color: #777; }
  body.printing-report .plan-room table { font-size: 7.6pt; }
  body.printing-report .plan-room header strong { font-size: 10pt; }
  body.printing-report .plan-room header span { font-size: 7.6pt; }
  body.printing-report .parking-doc table { font-size: 9pt; }
}


/* K-050: harici konaklama */
.chip-guest { background: #e6eef7; color: #2f5d8a; }
.kpi-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; }
@media (max-width: 760px) { .kpi-grid-3 { grid-template-columns: 1fr; } }

/* K-057: Güncel Personel Durum Tablosu */
.btn-attention { background: #f6c343; border-color: #e0a800; color: #3d2c00; font-weight: 700; box-shadow: 0 2px 6px rgba(224, 168, 0, .35); }
.btn-attention:hover { background: #f2b91f; border-color: #c99600; color: #2b1f00; }
.status-legend { display: flex; flex-wrap: wrap; gap: 10px; }
.status-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; min-width: 170px;
  background: var(--surface, #fff); border: 1px solid var(--line, #e3e7ec); border-radius: 10px; cursor: pointer; text-align: left; font: inherit; }
.status-tile strong { font-size: 22px; }
.status-tile.active { outline: 2px solid var(--primary, #106e80); }
.status-table .group-row th { background: #eef4f6; text-align: left; font-size: 13.5px; padding-top: 10px; }
.status-table .group-row .muted { font-weight: 400; margin-left: 8px; }
.status-table td.mono { white-space: nowrap; }
.status-table tr.row-passive td { color: #5a6675; }
.gate { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.gate-on { background: #def5e8; color: #17663e; }
.gate-off { background: #fde4e1; color: #9a2b1d; }
@media print {
  .status-table .group-row th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .status-table { font-size: 9pt; }
  body.printing-report .status-doc > p.small { font-size: 8pt; }
  body.printing-report .status-table th, body.printing-report .status-table td { padding: 2px 5px; line-height: 1.25; }
  body.printing-report .status-table td:not(:last-child) { white-space: nowrap; }
  body.printing-report .status-table .chip, body.printing-report .status-table .gate { padding: 0 4px; font-size: 8pt; }
  body.printing-report .status-table td:nth-child(3), body.printing-report .status-table th:nth-child(3) { display: none; }
  body.printing-report .status-table tr { break-inside: avoid; }
  body.printing-report .status-table .group-row { break-after: avoid; }
}
