/* Airport Hill Motel · staff app (phones first, works on a computer too) · Revision 1.0 · 2026-11-20 */
:root {
  --brand: #01295f; --brand-2: #1d4f9c; --gold: #fcb207; --ink: #1d2433; --muted: #667085; --line: #e4e7ec; --bg: #f4f2ed; --card: #fff;
  --ok: #1f7a4d; --ok-bg: #e7f4ec; --warn: #b54708; --warn-bg: #fef0c7; --bad: #b42318; --bad-bg: #fdecea; --info: #175cd3; --info-bg: #e8f0fd;
  --nav-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font: 16px/1.45 "Segoe UI", Roboto, system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-2); }
.hidden { display: none !important; }

/* ---------- top bar & bottom bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); box-shadow: inset 0 -3px 0 var(--gold); }
.bar img { height: 38px; width: auto; max-width: 120px; border-radius: 8px; background: #fff; object-fit: contain; padding: 3px 6px; }
.bar .t { font-weight: 700; font-size: 18px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .t small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.bar .ib { background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 10px; min-width: 42px; height: 42px; font-size: 20px; cursor: pointer; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); display: flex; padding-bottom: var(--safe-b); box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.nav button { flex: 1; border: 0; background: none; height: var(--nav-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; position: relative; }
.nav button svg { width: 26px; height: 26px; }
.nav button.on { color: var(--brand); }
.nav button.on::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
.nav .dot { position: absolute; top: 8px; left: 56%; background: var(--bad); color: #fff; border-radius: 99px; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; }
main { padding: 12px 12px calc(var(--nav-h) + var(--safe-b) + 90px); max-width: 1100px; margin: 0 auto; }

/* ---------- building blocks ---------- */
h1 { font-size: 22px; margin: 6px 0 10px; } h2 { font-size: 18px; margin: 18px 0 8px; } h3 { font-size: 16px; margin: 0 0 4px; }
.sub { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card.tap { cursor: pointer; } .card.tap:active { transform: scale(.995); background: #fafafa; }
.row { display: flex; align-items: center; gap: 10px; } .row > .grow { flex: 1; min-width: 0; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .b { font-weight: 700; } .r { text-align: right; } .nowrap { white-space: nowrap; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g2 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .g2.stack { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; text-align: left; display: block; width: 100%; min-height: 104px; }
.tile .n { font-size: 30px; font-weight: 800; line-height: 1.1; } .tile .l { font-size: 14px; color: var(--muted); font-weight: 600; }
.tile.hl { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.quick { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 700px) { .quick { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.qa { border: 0; background: var(--brand); color: #fff; border-radius: 14px; padding: 14px 10px; font-weight: 700; display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 60px; text-align: left; }
.qa svg { width: 26px; height: 26px; flex: none; } .qa.gold { background: var(--gold); color: #1d2433; } .qa.light { background: #fff; color: var(--brand); border: 1px solid var(--line); }

.seg { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; } .seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 9px 14px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.seg button .c { display: inline-block; margin-left: 6px; background: rgba(0,0,0,.08); border-radius: 99px; padding: 0 7px; font-size: 12px; }
.seg button.on .c { background: rgba(255,255,255,.25); }

.btn { border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; padding: 13px 16px; cursor: pointer; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.block { width: 100%; }
.btn svg, .ib svg { width: 20px; height: 20px; flex: none; } .btn.gold { background: var(--gold); color: #1d2433; } .btn.ok { background: var(--ok); } .btn.bad { background: var(--bad); }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid #cbd3df; } .btn.sm { min-height: 38px; padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btns { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 10px; } .btns .full { grid-column: 1 / -1; }
.fab { position: fixed; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 35; border: 0; border-radius: 99px; background: var(--gold); color: #1d2433; font-weight: 800; padding: 0 20px; height: 56px; box-shadow: 0 6px 18px rgba(0,0,0,.2); display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; }
.fab svg { width: 24px; height: 24px; }

label.f { display: block; font-size: 14px; font-weight: 600; margin: 10px 0 4px; }
.in, select.in, textarea.in { width: 100%; padding: 11px 12px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; min-height: 48px; font-size: 16px; }
textarea.in { min-height: 80px; }
.in:focus { outline: 3px solid rgba(44,82,130,.22); border-color: var(--brand-2); }
.chk { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 600; } .chk input { width: 24px; height: 24px; accent-color: var(--brand); }

.pill { display: inline-block; border-radius: 99px; padding: 2px 9px; font-size: 12px; font-weight: 700; background: #eef0f3; color: #475467; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.info { background: var(--info-bg); color: var(--info); } .pill.gold { background: #f6eed9; color: #7a5c12; }
.money { font-weight: 800; white-space: nowrap; } .owe { color: var(--bad); } .paid { color: var(--ok); }
.list .it { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #f0f1f3; cursor: pointer; } .list .it:last-child { border-bottom: 0; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; }
.msg { border-radius: 12px; padding: 12px 14px; margin: 10px 0; font-weight: 600; } .msg.err { background: var(--bad-bg); color: var(--bad); } .msg.ok { background: var(--ok-bg); color: var(--ok); } .msg.info { background: var(--info-bg); color: var(--info); } .msg.warn { background: var(--warn-bg); color: var(--warn); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; } table.t td, table.t th { padding: 8px 6px; border-bottom: 1px solid #f0f1f3; text-align: left; } table.t th { color: var(--muted); font-weight: 600; font-size: 13px; } table.t .r { text-align: right; }

/* ---------- rooms board ---------- */
.rooms { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); }
.rm { border-radius: 14px; padding: 10px; min-height: 96px; cursor: pointer; border: 2px solid transparent; background: #fff; display: flex; flex-direction: column; gap: 2px; position: relative; text-align: left; }
.rm .no { font-size: 22px; font-weight: 800; line-height: 1.1; } .rm .ty { font-size: 11px; color: var(--muted); font-weight: 600; } .rm .who { font-size: 12px; font-weight: 600; margin-top: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm.free { background: #eef8f2; border-color: #b7e0c7; } .rm.occ { background: #e9f0fb; border-color: #b8cdee; } .rm.dirty { background: #fff6e0; border-color: #f3d48a; } .rm.out { background: #fdecea; border-color: #f2b8b5; }
.rm .flag { position: absolute; top: 6px; right: 6px; font-size: 10px; font-weight: 800; border-radius: 6px; padding: 1px 5px; background: var(--gold); color: #1d2433; }
.rm .flag.lv { background: var(--brand); color: #fff; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 8px 0; } .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }

/* ---------- sheets (full screen on phones, a panel on computers) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(16,24,40,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--bg); width: 100%; max-width: 640px; max-height: 94vh; height: 94vh; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; animation: up .18s ease-out; }
@media (min-width: 760px) { .sheet-bg { align-items: center; } .sheet { height: auto; max-height: 90vh; border-radius: 18px; } }
@keyframes up { from { transform: translateY(30px); opacity: .6; } }
.sheet .hd { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-radius: 18px 18px 0 0; border-bottom: 1px solid var(--line); }
.sheet .hd .t { font-weight: 800; font-size: 18px; flex: 1; min-width: 0; } .sheet .hd .x { border: 0; background: #eef0f3; border-radius: 10px; width: 42px; height: 42px; font-size: 22px; cursor: pointer; }
.sheet .bd { overflow-y: auto; padding: 4px 14px calc(24px + var(--safe-b)); -webkit-overflow-scrolling: touch; flex: 1; }
.dlg-bg { position: fixed; inset: 0; z-index: 80; background: rgba(16,24,40,.5); display: flex; align-items: center; justify-content: center; padding: 18px; }
.dlg { background: #fff; border-radius: 16px; padding: 18px; width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.dlg h3 { font-size: 18px; margin-bottom: 8px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b) + 84px); z-index: 90; background: #1d2433; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.bad { background: var(--bad); }

/* ---------- bill ---------- */
.bill { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; } .bill .tot { font-weight: 800; border-top: 1px solid var(--line); padding-top: 6px; } .bill .r { text-align: right; white-space: nowrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 15px; } .kv span { color: var(--muted); }

/* ---------- restaurant ---------- */
.menu-cat { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 14px 0 6px; }
.mi { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 6px 0; }
.mi .nm { flex: 1; min-width: 0; font-weight: 600; } .mi .pr { color: var(--muted); font-size: 14px; white-space: nowrap; }
.mi.so { opacity: .5; }
.qty { display: flex; align-items: center; gap: 6px; } .qty button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #cbd3df; background: #fff; font-size: 22px; font-weight: 700; cursor: pointer; } .qty b { min-width: 22px; text-align: center; }
.order { border-left: 5px solid var(--line); } .order.new { border-left-color: var(--bad); } .order.preparing { border-left-color: var(--warn); } .order.ready { border-left-color: var(--ok); }
.basket { position: sticky; bottom: calc(var(--nav-h) + var(--safe-b) + 8px); z-index: 20; background: var(--brand); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.2); margin-top: 12px; }

/* ---------- reports ---------- */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; } .kpi .l { color: var(--muted); font-size: 13px; font-weight: 600; } .kpi .v { font-size: 22px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kpi .s { font-size: 12px; color: var(--muted); }
.kpi.pos .v { color: var(--ok); } .kpi.neg .v { color: var(--bad); }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 8px; align-items: center; font-size: 14px; margin: 6px 0; } .hbar .tr { height: 12px; background: #eef0f3; border-radius: 99px; overflow: hidden; } .hbar .tr i { display: block; height: 100%; background: var(--brand-2); border-radius: 99px; }
.hbar.out .tr i { background: var(--gold); }
.chart svg { width: 100%; height: 170px; display: block; }

/* ---------- sign in ---------- */
.login { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(170deg, var(--brand) 0%, var(--brand) 42%, var(--bg) 42%); }
.login .box { background: #fff; border-radius: 20px; padding: 22px; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0,0,0,.18); text-align: center; }
.login .box img.lg { height: 84px; max-width: 220px; object-fit: contain; margin: 4px auto 6px; display: block; }
.login .box .fields { text-align: left; }
.pin-dots { display: flex; gap: 12px; justify-content: center; margin: 14px 0; } .pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--brand); } .pin-dots i.f { background: var(--brand); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 300px; margin: 0 auto; } .keys button { height: 62px; border-radius: 16px; border: 1px solid var(--line); background: #f8f9fb; font-size: 26px; font-weight: 700; cursor: pointer; } .keys button:active { background: #e9edf3; } .keys .fn { font-size: 15px; background: #fff; }
.powered { margin-top: 16px; font-size: 11px; color: var(--muted); } .powered img { height: 16px; vertical-align: middle; }

/* ---------- install the app ---------- */
.inst { position: fixed; left: 10px; right: 10px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 70; background: #fff; border-radius: 16px; padding: 10px 10px 10px 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); border: 1px solid var(--line); }
.inst img { width: 46px; height: 46px; border-radius: 12px; } .inst .grow { flex: 1; min-width: 0; } .inst .x { border: 0; background: #eef0f3; border-radius: 10px; width: 36px; height: 36px; font-size: 20px; cursor: pointer; }
body.has-inst .login { padding-top: 120px; }
.inst.low { top: auto; bottom: calc(var(--nav-h) + var(--safe-b) + 10px); z-index: 38; }   /* inside the app it sits above the bottom bar */
body.has-inst .fab { bottom: calc(var(--nav-h) + var(--safe-b) + 96px); }
.steps-i { padding-left: 22px; line-height: 1.6; } .steps-i li { margin: 6px 0; } .kbd { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; background: #f6f7f9; }

/* ---------- computers: wider layout ---------- */
@media (min-width: 1000px) {
  .nav { top: 0; bottom: 0; right: auto; width: 92px; flex-direction: column; justify-content: flex-start; padding-top: 72px; border-top: 0; border-right: 1px solid var(--line); }
  .nav button { flex: none; height: 76px; }
  .nav button.on::before { top: 18%; bottom: 18%; left: 0; right: auto; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
  .bar { padding-left: 106px; } main { padding: 18px 24px 40px 116px; } .fab { bottom: 24px; } .toast { bottom: 30px; }
  .basket { bottom: 12px; }
}
@media print {
  .bar, .nav, .fab, .no-print { display: none !important; } main { padding: 0; } body { background: #fff; }
}

/* ======================= 1.1 · new look: sign-in, header, footer, home, highlights ======================= */
:root { --sky: #1d4f9c; --sky-2: #6a8fd0; --green: #2e8b1e; --foot-h: 22px; }
/* sign in: the logo sits above the box, on the sky */
.login { background: linear-gradient(180deg, var(--sky) 0%, #0f58b8 30%, var(--brand) 70%, #071c45 100%); flex-direction: column; justify-content: flex-start; padding: 28px 18px 120px; gap: 0; }
.login .lg-top { display: flex; flex-direction: column; align-items: center; margin: max(10px, 4vh) 0 18px; }
.login .lg-top img { width: 128px; height: 128px; border-radius: 30px; background: #fff; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.18); }
.login .lg-top h1 { color: #fff; margin: 14px 0 0; font-size: 24px; letter-spacing: .3px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.login .lg-top p { color: rgba(255,255,255,.85); margin: 2px 0 0; font-size: 14px; }
.login .box { border-radius: 22px; padding: 22px 20px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.login .box h2 { margin: 0 0 4px; font-size: 20px; } .login .box .sub { margin-bottom: 8px; }
body.has-inst .login { padding-top: 110px; }
/* fixed footer: the solution provider, support, version, licence, copyright */
.pfoot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(4,18,46,.92); color: rgba(255,255,255,.9); font-size: 12px; line-height: 1.45; text-align: center; padding: 8px 12px calc(8px + var(--safe-b)); backdrop-filter: blur(6px); }
.pfoot a { color: #fff; } .pfoot .pv { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pfoot .pv img { height: 18px; background: #fff; border-radius: 4px; padding: 2px 5px; }
.pfoot .mute { opacity: .7; }
/* inside the app: a thin strip under the bottom bar on phones, a full line on computers */
.afoot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; height: calc(var(--foot-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: #f0f2f6; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; overflow: hidden; }
.afoot img { height: 13px; } .afoot b { color: var(--brand); }
.nav { bottom: calc(var(--foot-h) + var(--safe-b)); padding-bottom: 0; }
main { padding-bottom: calc(var(--nav-h) + var(--foot-h) + var(--safe-b) + 96px); }
.fab { bottom: calc(var(--nav-h) + var(--foot-h) + var(--safe-b) + 14px); }
body.has-inst .fab { bottom: calc(var(--nav-h) + var(--foot-h) + var(--safe-b) + 100px); }
.inst.low { bottom: calc(var(--nav-h) + var(--foot-h) + var(--safe-b) + 10px); }
.toast { bottom: calc(var(--nav-h) + var(--foot-h) + var(--safe-b) + 84px); }
.basket { bottom: calc(var(--nav-h) + var(--foot-h) + var(--safe-b) + 8px); }
/* header: who is signed in, and the door out */
.bar { background: linear-gradient(100deg, var(--brand) 0%, #0e3c8c 70%, var(--sky) 130%); box-shadow: inset 0 -3px 0 var(--gold); }
.bar .who { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; min-width: 0; cursor: pointer; background: rgba(255,255,255,.1); border-radius: 99px; padding: 4px 10px 4px 4px; border: 0; }
.bar .who .av { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #1d2433; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.bar .who .nm { font-size: 13px; line-height: 1.15; text-align: left; max-width: 34vw; overflow: hidden; } .bar .who .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bar .who .nm span { opacity: .8; font-size: 11px; white-space: nowrap; }
.bar .door { background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bar .door svg { width: 24px; height: 24px; } .bar .door:hover { background: rgba(255,255,255,.26); }
.bar .t { font-size: 16px; } .bar .t small { display: none; }
@media (max-width: 420px) { .bar .t { font-size: 15px; } .bar #rf { display: none; } }
/* cards: lift on hover, press on tap, and light up as they pass the middle of the screen */
.card.tap, .tile, .rm, .list .it, .mi.tap, .qa, .hcard { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s; }
@media (hover: hover) {
  .card.tap:hover, .tile:hover, .rm:hover, .hcard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,46,111,.16); border-color: var(--sky-2); }
  .list .it:hover { background: #f3f7fd; } .qa:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
}
.card.tap:active, .tile:active, .rm:active, .hcard:active, .qa:active { transform: scale(.98); }
.hl-scroll { box-shadow: 0 0 0 2px var(--sky-2), 0 10px 22px rgba(11,46,111,.14) !important; border-color: var(--sky-2) !important; }
.reveal { opacity: 0; transform: translateY(10px); } .reveal.in { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
/* home */
.hero { background: linear-gradient(135deg, var(--sky) 0%, #0f58b8 45%, var(--brand) 100%); color: #fff; border-radius: 20px; padding: 18px; position: relative; overflow: hidden; box-shadow: 0 12px 28px rgba(11,46,111,.25); }
.hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(46,139,30,.55), transparent); }
.hero h1 { margin: 0; font-size: 22px; } .hero .d { opacity: .85; font-size: 14px; } .hero .rp { display: inline-block; margin-top: 8px; background: rgba(255,255,255,.18); border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.hero .sum { margin-top: 10px; font-size: 15px; font-weight: 600; position: relative; z-index: 1; }
.sect { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; } .sect h2 { margin: 0; font-size: 17px; } .sect .ln { flex: 1; height: 1px; background: var(--line); }
.hgrid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 700px) { .hgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; text-align: left; position: relative; overflow: hidden; display: block; width: 100%; font: inherit; color: inherit; min-height: 98px; }
.hcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ac, var(--sky)); }
.hcard .ic { width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--ac, var(--sky)) 14%, #fff); color: var(--ac, var(--sky)); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; } .hcard .ic svg { width: 20px; height: 20px; }
.hcard .n { font-size: 26px; font-weight: 800; line-height: 1.1; } .hcard .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.hcard.alert { --ac: var(--bad); } .hcard.warn { --ac: #d48806; } .hcard.ok { --ac: var(--green); } .hcard.gold { --ac: #c98a00; }
.qa { border-radius: 16px; min-height: 64px; } .qa.sky { background: var(--sky); } .qa.green { background: var(--green); }
.mini { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 6px 0; cursor: pointer; }
/* photos */
.ph-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); } .ph-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; display: block; }
.ph-add { aspect-ratio: 1; border: 2px dashed #b9c4d6; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--brand-2); font-weight: 700; font-size: 13px; cursor: pointer; background: #f7f9fc; gap: 4px; } .ph-add svg { width: 26px; height: 26px; }
.viewer { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; color: #fff; }
.viewer img { max-width: 100%; max-height: 78vh; border-radius: 8px; } .viewer .vb { display: flex; gap: 10px; margin-top: 12px; }
/* messages */
.msg-it { border-left: 5px solid var(--line); } .msg-it.new { border-left-color: var(--sky); background: #f5f9ff; }
.bubble { border-radius: 14px; padding: 10px 12px; margin: 8px 0; white-space: pre-line; } .bubble.them { background: #fff; border: 1px solid var(--line); margin-right: 14%; } .bubble.us { background: #e6f0fc; margin-left: 14%; } .bubble.note { background: #fff8e1; border: 1px dashed #e6c35c; margin-left: 14%; }
.bubble .m { font-size: 11px; color: var(--muted); margin-top: 4px; }
@media (min-width: 1000px) {
  .nav { bottom: 0; } .afoot { left: 92px; height: 30px; font-size: 12px; } main { padding-bottom: 60px; } .fab { bottom: 44px; } .toast { bottom: 50px; } .basket { bottom: 40px; }
  .bar .who .nm { max-width: 260px; }
}

/* 1.1 · phones: compact footer, smaller logo on short screens */
.pfoot .narrow { display: none; }
@media (max-width: 760px) { .pfoot .wide, .afoot .wide { display: none; } .pfoot .narrow { display: inline; } .login { padding-bottom: 90px; } }
@media (max-height: 720px) { .login .lg-top { margin: 4px 0 12px; } .login .lg-top img { width: 92px; height: 92px; border-radius: 22px; } .login .lg-top h1 { font-size: 20px; margin-top: 8px; } .login .box { padding: 16px 16px 12px; } }

/* ======================= 1.2 · corporate sign-in (phone and computer) ======================= */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; background: #fff; }
.auth-brand { display: none; }
.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100dvh; background: #fff; }
.auth-top { width: 100%; height: 6px; background: linear-gradient(90deg, var(--brand) 0 70%, var(--gold) 70% 100%); }
.auth-card { width: 100%; max-width: 400px; padding: 28px 24px 12px; }
.auth-logo { display: block; width: 220px; max-width: 70%; margin: 4px auto 22px; }
.auth-card h2 { font-size: 24px; font-weight: 800; color: var(--brand); margin: 0 0 4px; letter-spacing: -.2px; }
.auth-card .sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.auth-card label.f { font-size: 13px; font-weight: 700; color: #344054; margin: 14px 0 6px; }
.auth-card .in { border-radius: 8px; border-color: #d0d5dd; min-height: 50px; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.auth-card .in:focus { outline: 4px solid rgba(1,41,95,.12); border-color: var(--brand); }
.auth-card .btn { border-radius: 8px; min-height: 52px; font-size: 16px; letter-spacing: .2px; }
.auth-card .help { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.auth-sec { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid #eaecf0; }
.auth-sec svg { width: 14px; height: 14px; }
.auth-card .pin-dots i { width: 14px; height: 14px; border-color: var(--brand); } .auth-card .pin-dots i.f { background: var(--brand); }
.auth-card .keys button { border-radius: 12px; background: #f9fafb; border: 1px solid #eaecf0; font-size: 24px; color: var(--brand); } .auth-card .keys .fn { font-size: 14px; color: var(--muted); }
.auth-card .msg { border-radius: 8px; font-size: 14px; }
.auth-foot { width: 100%; margin-top: auto; background: #f8f9fb; border-top: 1px solid #eaecf0; padding: 14px 18px calc(14px + var(--safe-b)); text-align: center; font-size: 12px; color: #667085; line-height: 1.6; }
.auth-foot .pv { display: flex; align-items: center; justify-content: center; gap: 8px; color: #344054; font-weight: 600; margin-bottom: 4px; } .auth-foot .pv img { height: 24px; }
.auth-foot a { color: #344054; } .auth-foot .lic { color: #98a2b3; }
body.has-inst .auth-main { padding-top: 96px; }
/* computers: brand panel on the left, sign-in on the right */
@media (min-width: 900px) {
  .auth-brand { display: flex; flex-direction: column; width: 52%; max-width: 760px; background: radial-gradient(120% 80% at 0% 0%, #0b3a80 0%, var(--brand) 55%, #00193d 100%); color: #fff; padding: 44px 56px 36px; position: relative; overflow: hidden; }
  .auth-brand::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 36px solid rgba(252,178,7,.10); }
  .auth-brand .w { width: 230px; position: relative; z-index: 1; }
  .auth-brand .copy { margin-top: auto; position: relative; z-index: 1; }
  .auth-brand h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.5px; } .auth-brand h1 em { font-style: normal; color: var(--gold); }
  .auth-brand p { font-size: 17px; opacity: .85; max-width: 480px; margin: 0 0 24px; }
  .auth-brand ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
  .auth-brand li { display: flex; align-items: center; gap: 12px; font-size: 15px; } .auth-brand li span { width: 30px; height: 30px; border-radius: 8px; background: rgba(252,178,7,.16); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; } .auth-brand li svg { width: 18px; height: 18px; }
  .auth-brand .prov { margin-top: 36px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; position: relative; z-index: 1; }
  .auth-brand .prov a { color: #fff; } .auth-brand .prov img { height: 34px; background: #fff; border-radius: 6px; padding: 4px 8px; } .auth-brand .prov div { font-size: 13px; line-height: 1.5; opacity: .9; } .auth-brand .prov b { display: block; font-size: 14px; opacity: 1; }
  .auth-main { justify-content: center; } .auth-card { padding-top: 0; margin-top: auto; } .auth-logo { display: none; }
  .auth-card .icon-sm { display: block; width: 56px; height: 56px; margin-bottom: 18px; }
  .auth-foot { background: #fff; border-top: 0; }
  body.has-inst .auth-main { padding-top: 0; }
}
@media (max-width: 899px) { .auth-card { padding-top: 22px; } .auth-card .icon-sm { display: none; } }

/* 1.2 · app frame and home in the brand colours */
.bar { background: var(--brand); box-shadow: inset 0 -3px 0 var(--gold); }
.bar img { width: 40px; height: 40px; background: none; padding: 0; border-radius: 10px; max-width: none; }
.hero { background: linear-gradient(120deg, var(--brand) 0%, #0b3a80 100%); box-shadow: 0 10px 24px rgba(1,41,95,.22); }
.hero::after { background: none; border: 26px solid rgba(252,178,7,.14); width: 220px; height: 220px; right: -70px; bottom: auto; top: -90px; }
.qa.sky { background: #1d4f9c; } .qa.green { background: #2b7a3d; }

/* ======================= 1.3 · sign-in: motel on the left (with terms), DBPlugIn under the form on the right ======================= */
.m-only { display: block; }
.m-contact { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; line-height: 1.6; } .m-contact a { color: var(--brand-2); }
.auth-prov { width: 100%; margin-top: auto; background: #f8f9fb; border-top: 1px solid #eaecf0; padding: 18px 18px calc(18px + var(--safe-b)); text-align: center; font-size: 12.5px; color: #667085; line-height: 1.6; }
.auth-prov .dbp { height: 78px; display: block; margin: 0 auto 4px; }
.auth-prov .pt { font-weight: 700; color: #344054; font-size: 14px; margin-bottom: 8px; }
.auth-prov .pc { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; }
.auth-prov .pc a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; text-decoration: none; font-size: 13.5px; } .auth-prov .pc svg { width: 16px; height: 16px; color: var(--brand-2); }
.auth-prov .pl { color: #98a2b3; }
.auth-foot { display: none; }
@media (min-width: 900px) {
  .m-only { display: none; }
  .auth-brand { width: 56%; max-width: none; padding: 48px 64px 32px; }
  .auth-brand .w { width: 360px; max-width: 70%; }
  .auth-brand .copy { margin-top: 34px; }
  .auth-brand .kicker { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; color: var(--gold); margin-bottom: 10px; }
  .auth-brand h1 { font-size: 42px; } .auth-brand p { font-size: 16.5px; line-height: 1.65; max-width: 620px; }
  .auth-brand .feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; max-width: 680px; margin-top: 6px; }
  .auth-brand .ft { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.8); }
  .auth-brand .ft b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 1px; }
  .auth-brand .ft span { width: 36px; height: 36px; border-radius: 10px; background: rgba(252,178,7,.16); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; } .auth-brand .ft svg { width: 20px; height: 20px; }
  .auth-brand .motel { margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); position: relative; z-index: 1; }
  .auth-brand .mt { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
  .auth-brand .mc { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; } .auth-brand .mc a, .auth-brand .mc span { color: rgba(255,255,255,.9); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; } .auth-brand .mc svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
  .auth-brand .terms { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.65); position: relative; z-index: 1; } .auth-brand .terms a { color: var(--gold); font-weight: 700; }
  .auth-brand .prov { display: none; }
  .auth-main { justify-content: flex-start; } .auth-card { margin-top: auto; padding-top: 40px; }
  .auth-prov { margin-top: auto; background: #fff; border-top: 1px solid #eaecf0; padding: 22px 28px 20px; }
  .auth-prov .dbp { height: 96px; }
}

/* ======================= 1.3 · coloured navigation, cleaner app ======================= */
:root { --bg: #f3f5f9; }
.nav .t-home { --c: #01295f; } .nav .t-desk { --c: #1d6fd1; } .nav .t-food { --c: #e8710a; } .nav .t-tasks { --c: #2b8a3e; } .nav .t-msgs { --c: #7b4bc9; } .nav .t-more { --c: #5b6577; }
.nav button { gap: 3px; color: #475467; }
.nav button .ni { width: 46px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); transition: background .15s, color .15s, transform .15s; }
.nav button .ni svg { width: 22px; height: 22px; stroke-width: 2.2; }
.nav button .nl { font-size: 11.5px; font-weight: 700; }
.nav button.on { color: var(--c); } .nav button.on .ni { background: var(--c); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--c) 35%, transparent); }
.nav button.on::before { display: none; }
.nav button:active .ni { transform: scale(.92); }
.nav .dot { top: 4px; left: calc(50% + 10px); border: 2px solid #fff; }
.bar { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px; }
.bar img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.bar .t { font-weight: 800; letter-spacing: .2px; }
.card, .hcard, .tile, .mini, .rm { box-shadow: 0 1px 3px rgba(16,24,40,.06); }
.sect h2 { color: var(--brand); }
.qa.gold { background: var(--gold); color: #1d2433; } .qa { box-shadow: 0 2px 6px rgba(16,24,40,.08); }
@media (min-width: 1000px) {
  .nav { width: 104px; padding-top: 80px; gap: 6px; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .nav button { height: 78px; } .nav button .ni { width: 52px; height: 44px; border-radius: 14px; } .nav button .ni svg { width: 26px; height: 26px; }
  .nav button .nl { font-size: 12.5px; }
  .nav button:hover .ni { background: color-mix(in srgb, var(--c) 22%, #fff); } .nav button.on:hover .ni { background: var(--c); }
  .bar { padding-left: 118px; } main { padding-left: 128px; } .afoot { left: 104px; }
}
/* 1.3 · fit the left panel on a normal screen; a clear, large DBPlugIn logo */
.auth-prov .dbp { height: 52px; margin: 0 auto 8px; }
@media (min-width: 900px) {
  .auth-brand { padding: 36px 60px 26px; }
  .auth-brand .w { width: 300px; }
  .auth-brand .copy { margin-top: 26px; }
  .auth-brand h1 { font-size: 38px; margin-bottom: 10px; } .auth-brand p { font-size: 15.5px; margin-bottom: 18px; }
  .auth-brand .feats { gap: 12px 22px; }
  .auth-brand .motel { padding-top: 20px; }
  .auth-prov .dbp { height: 64px; }
}
@media (min-width: 900px) and (max-height: 820px) { .auth-brand .w { width: 240px; } .auth-brand h1 { font-size: 32px; } .auth-brand p { display: none; } }
.bar img { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 2px 6px rgba(0,0,0,.25); }

/* ---- 1.4: client header on the sign-in card (name from DBPlugIn), DBPlugIn block lifted ---- */
.auth-card .icon-sm { display: none !important; }
.client { margin: 0 0 18px; }
.client-bar { background: var(--brand); color: #fff; border-radius: 8px; min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 16px; font-size: 18px; font-weight: 800; letter-spacing: .3px; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.client-lines { margin-top: 10px; text-align: center; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.client-lines > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; }
.client-lines a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-2); font-weight: 600; text-decoration: none; }
.client-lines svg { width: 15px; height: 15px; color: var(--brand-2); }
.m-contact { margin-top: 12px; }
.auth-prov { padding-top: 12px; }
.auth-prov .dbp { margin-top: -4px; margin-bottom: 6px; }
.auth-brand .wcard { display: inline-block; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.auth-brand .wcard img { display: block; max-height: 120px; max-width: 320px; }
@media (min-width: 900px) {
  .auth-card { margin-top: auto; padding-top: 24px; }
  .auth-prov { margin-top: 18px; padding-top: 14px; padding-bottom: 28px; }
  .auth-main { padding-bottom: 0; }
}
.note-db { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; background: #eef4ff; border-color: #c7d7fe; } .note-db svg { width: 20px; height: 20px; flex: none; color: var(--brand-2); }
@media (max-width: 520px) { .client-lines { font-size: 12.5px; } .client-lines > div { gap: 2px 10px; } .client-lines svg { width: 13px; height: 13px; } .client-bar { font-size: 17px; min-height: 48px; } }
.client-lines > div { flex-wrap: nowrap; white-space: nowrap; gap: 0 8px; align-items: center; }
.client-lines i { font-style: normal; color: #c0c6d0; }
.client-lines a { gap: 5px; }
@media (max-width: 520px) { .client-lines { font-size: 12px; } .client-lines > div:first-child svg { display: none; } }
@media (max-width: 340px) { .client-lines > div:first-child { flex-wrap: wrap; white-space: normal; } .client-lines i { display: none; } }
.auth-brand .wcard { align-self: flex-start; width: fit-content; }
.client-lines > div:first-child svg { display: none; } @media (min-width: 900px) { .client-lines { font-size: 13px; } }
.in:disabled { background: #f2f4f7; color: #475467; cursor: not-allowed; }
.list .it > .grow, .it > .grow { flex: 1; min-width: 0; }

/* ---- 1.5: activity log, billing ---- */
.al-f { display: grid; gap: 10px; }
.al-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .al-g { grid-template-columns: 1.2fr 1.2fr 1fr 1fr; } }
.al-it { cursor: default; align-items: flex-start; }
.al-t { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); font-size: 13px; width: 44px; flex: none; padding-top: 1px; }
.al-d { font-size: 14px; color: var(--ink); word-break: break-word; margin-top: 2px; }
.pay-cur { margin-bottom: 12px; } .pay-cur svg { width: 16px; height: 16px; vertical-align: -3px; }
.fx-eq { color: var(--brand-2); font-weight: 600; }
.fx-box { margin-top: 10px; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.fx-box .small { color: var(--muted); margin-top: 4px; }

.bl-cur { margin: 0; } .bl-cur button { min-width: 64px; }
.bl-rate .row { align-items: center; gap: 12px; flex-wrap: wrap; }
.bl-ri { width: 44px; height: 44px; border-radius: 12px; background: #eef4ff; color: var(--brand-2); display: flex; align-items: center; justify-content: center; flex: none; }
.bl-ri svg { width: 22px; height: 22px; }
.bl-rv { font-size: 20px; font-weight: 800; color: var(--brand); }
.bl-rb { display: flex; gap: 8px; flex-wrap: wrap; }
.bl-k { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
@media (min-width: 900px) { .bl-k { grid-template-columns: repeat(4, 1fr); } }
.bl-k .kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.bl-k .kl { font-size: 12.5px; color: var(--muted); } .bl-k .kv { font-size: 20px; font-weight: 800; margin-top: 2px; } .bl-k .kv.owe { color: var(--bad); }
.bl-f { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .bl-f .in { flex: 1; min-width: 200px; } .bl-f .seg { margin: 0; }
.bl-h { display: flex; gap: 12px; align-items: flex-start; }
.bl-bal { text-align: right; flex: none; } .bl-bal b { font-size: 18px; display: block; }
.bl-bal.owe b { color: var(--bad); } .bl-bal.cr b { color: var(--brand-2); } .bl-bal.paid b { color: var(--ok); }
.bl-n { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.bl-n .btn { margin-left: auto; }
.bl-h > .grow { flex: 1; }

/* ---- 1.6: extend stay, bills ---- */
.bl-act { margin-left: auto; display: flex; gap: 8px; } .bl-n .bl-act .btn { margin-left: 0; } .bl-act svg { width: 15px; height: 15px; vertical-align: -2px; }
.xt-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.xt-sum > div { display: flex; flex-direction: column; gap: 2px; } .xt-sum b { font-size: 18px; } .xt-sum b.owe { color: var(--bad); }
.list label.it.chk { cursor: pointer; align-items: flex-start; gap: 12px; } .list label.it.chk input[type=radio] { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.list label.it.chk > .grow { flex: 1; min-width: 0; } .list label.it.chk .in { display: block; width: 100%; }
@media (max-width: 520px) { .xt-sum { gap: 6px; } .xt-sum b { font-size: 15px; white-space: nowrap; } .xt-sum .small { font-size: 12px; } }
.nav .t-billing { --c: #0e8a7d; }
.nav .t-billing { --c: #0e8a7d; }
/* phones: up to 7 menu items share the bar evenly */
@media (max-width: 999px) {
  .nav button { flex: 1 1 0; min-width: 0; padding: 0 1px; }
  .nav button .ni { width: min(46px, 100%); }
  .nav button .nl { font-size: 11px; letter-spacing: -.1px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav.n7 button .ni { width: min(40px, 100%); height: 28px; }
  .nav.n7 button .nl { font-size: 10.5px; letter-spacing: -.2px; }
}
.nav .nl-s { display: none; }
@media (max-width: 379px) { .nav.n7 .nl-l { display: none; } .nav.n7 .nl-s { display: inline; } }

/* ======================= 1.8: header across the top, professional menu, Support Desk ======================= */
:root { --bar-h: 64px; --side-w: 128px; }
.bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 14px 0 !important;
  background: linear-gradient(100deg, #01245a 0%, var(--brand) 55%, #0b3a85 100%); box-shadow: inset 0 -3px 0 var(--gold), 0 2px 10px rgba(1, 41, 95, .18); }
.bar .brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.bar .brand img { width: 46px; height: 46px; border-radius: 12px; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 2px 8px rgba(0,0,0,.3); }
.bar .t { font-size: 19px; font-weight: 800; letter-spacing: .2px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .acts { display: flex; align-items: center; gap: 8px; flex: none; }
.bar .ib, .bar .door { width: 44px; min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .15s; }
.bar .ib svg, .bar .door svg { width: 21px; height: 21px; stroke-width: 1.9; }
.bar .ib:hover, .bar .door:hover { background: rgba(255,255,255,.22); }
.bar .ib.on { background: var(--gold); color: #1d2433; border-color: var(--gold); }
.bar .who { height: 44px; border: 1px solid rgba(255,255,255,.16); padding: 4px 12px 4px 5px; }
.bar .who .av { width: 34px; height: 34px; font-size: 13px; }

/* the menu: neutral line icons, the open screen in the brand colour */
.nav { background: #fff; }
.nav button { color: #475467; }
.nav button .ni { background: none !important; color: #475467 !important; box-shadow: none !important; width: 48px; height: 32px; border-radius: 10px; }
.nav button .ni svg { width: 23px; height: 23px; stroke-width: 1.8; }
.nav button .nl { font-weight: 600; color: #475467; }
.nav button.on .ni { background: color-mix(in srgb, var(--brand) 10%, #fff) !important; color: var(--brand) !important; }
.nav button.on .nl { color: var(--brand); font-weight: 800; }
.nav .nav-sp, .nav .nav-x { display: none; }
.bar .hs { display: none; }

@media (max-width: 999px) {
  .bar .who .nm { display: none; } .bar .who { padding: 4px; border-radius: 99px; }
  .nav button .ni { width: min(48px, 100%); height: 30px; }
  .nav.n7 button .ni { width: min(42px, 100%); height: 28px; }
}
@media (max-width: 420px) { .bar { gap: 8px; padding: env(safe-area-inset-top, 0px) 10px 0 !important; } .bar .brand { gap: 9px; } .bar .brand img { width: 40px; height: 40px; }
  .bar .t { font-size: 17px; } .bar .acts { gap: 6px; } .bar .ib, .bar .door { width: 40px; min-width: 40px; height: 40px; } .bar .who { height: 40px; } .bar .who .av { width: 30px; height: 30px; } }
.bar .acts #rf { display: flex; }
@media (max-width: 359px) { .bar .acts #rf { display: none; } }

@media (min-width: 1000px) {
  :root { --bar-h: 78px; }
  .bar { padding: 0 26px 0 24px !important; }
  .bar .brand { gap: 16px; } .bar .brand img { width: 56px; height: 56px; border-radius: 14px; }
  .bar .t { font-size: 24px; }
  .bar .acts { gap: 10px; } .bar .ib, .bar .door { width: 48px; min-width: 48px; height: 48px; } .bar .who { height: 48px; } .bar .who .av { width: 38px; height: 38px; }
  .bar .who .nm { font-size: 14px; } .bar .who .nm span { font-size: 12px; }
  /* the side menu starts under the header */
  .nav { top: var(--bar-h); bottom: 30px; left: 0; width: var(--side-w); padding: 14px 10px 12px; gap: 4px; box-shadow: 1px 0 0 var(--line); border-right: 0; overflow-y: auto; }
  .nav button { flex: none; width: 100%; height: clamp(50px, calc((100vh - var(--bar-h) - 30px - 60px) / 9), 72px); border-radius: 14px; gap: 4px; }
  .nav button .ni { width: 44px; height: 36px; border-radius: 11px; }
  .nav button .ni svg { width: 25px; height: 25px; }
  .nav button .nl { font-size: 13px; }
  .nav button:hover { background: #f2f4f7; }
  .nav button.on { background: var(--brand); box-shadow: 0 6px 16px rgba(1, 41, 95, .22); }
  .nav button.on .ni { background: rgba(255,255,255,.14) !important; color: #fff !important; }
  .nav button.on .nl { color: #fff; }
  .nav button.on::before { display: block; content: ""; position: absolute; left: -10px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
  .nav .dot { top: 8px; left: calc(50% + 12px); }
  .nav .nav-sp { display: block; flex: 1 1 auto; min-height: 12px; }
  .nav .nav-x { display: flex; height: clamp(48px, calc((100vh - var(--bar-h) - 30px - 60px) / 9.5), 62px); }
  .nav .nav-x.t-support { border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; padding-top: 4px; }
  .nav .nav-x.t-support.on { border-radius: 14px; border-top-color: transparent; }
  .nav .t-out .ni, .nav .t-out .nl { color: #b42318 !important; }
  .nav .t-out:hover { background: #fdecea; }
  .afoot { left: var(--side-w); }
  main { max-width: none; padding-left: calc(var(--side-w) + max(26px, (100vw - var(--side-w) - 1100px) / 2)); padding-right: max(26px, (100vw - var(--side-w) - 1100px) / 2); }
}
@media (min-width: 1000px) and (max-height: 760px) { .nav button .ni { height: 30px; } .nav button .nl { font-size: 12.5px; } .nav button.on::before { top: 10px; bottom: 10px; } }

/* Support Desk */
.sd-sla { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0 16px; }
@media (min-width: 760px) { .sd-sla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sd-sla > div { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 12px; padding: 12px 14px; }
.sd-sla .u { --c: #c0392b; } .sd-sla .n { --c: #1d4f9c; } .sd-sla .w { --c: #c77d0a; }
.sd-sla b { display: flex; align-items: center; gap: 8px; color: var(--c); font-size: 14.5px; } .sd-sla b svg { width: 18px; height: 18px; flex: none; }
.sd-sla span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.sd-cols { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 1100px) { .sd-cols { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.sd-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 4px; }
.sd-kinds label { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; position: relative; }
.sd-kinds label.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.sd-kinds input { position: absolute; opacity: 0; } .sd-kinds b { display: block; font-size: 14px; } .sd-kinds small { color: var(--muted); font-size: 12px; }
.sd-lv { margin: 0; }
.sd-agree { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #f1d9a6; background: #fff8e8; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-top: 12px; cursor: pointer; }
.sd-agree input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.sd-ok { text-align: center; padding: 8px 4px; } .sd-ok .tick { width: 68px; height: 68px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 36px; display: grid; place-items: center; margin: 4px auto 10px; }
.sd-ok .ref { display: inline-block; background: var(--brand); color: #fff; border-radius: 99px; padding: 4px 14px; font-weight: 700; margin: 4px 0 10px; }
.sd-wa { background: #25d366 !important; color: #fff !important; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.sd-con { margin-top: 14px; } .sd-ci { width: 36px; height: 36px; border-radius: 10px; background: #eef2f7; color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; } .sd-ci svg { width: 18px; height: 18px; }
.sd-tk { padding: 12px 14px; margin-bottom: 8px; }
.sd-tk summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.sd-tk summary::-webkit-details-marker { display: none; }
.sd-tk .no { font-weight: 800; color: var(--muted); font-size: 12px; }
.sd-tk .tt b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sd-tk .tt small { color: var(--muted); font-size: 12px; }
.sd-tk .body { margin-top: 10px; font-size: 13.5px; color: #344054; white-space: pre-line; border-top: 1px dashed var(--line); padding-top: 10px; }
.sd-tk .reply { margin-top: 8px; background: #eef4ff; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; white-space: pre-line; }
.sd-ans { margin-top: 10px; } .sd-ans .row { display: flex; gap: 8px; margin-top: 8px; } .sd-ans select { flex: 1; }
.tag { display: inline-block; border-radius: 99px; padding: 1px 8px; font-size: 11px; font-weight: 700; margin-right: 5px; }
.tag.Urgent { background: #fdecea; color: #9b1c1c; } .tag.Normal { background: #e8f0fd; color: #1f4f8a; } .tag.work { background: #fef0c7; color: #7a5200; }
.tag.s-Open { background: #e7f4ec; color: #1f7a4d; } .tag.s-Answered { background: #e8f0fd; color: #1f4f8a; } .tag.s-Closed { background: #eceff3; color: #5f6b7a; }
.due { font-size: 12px; font-weight: 700; white-space: nowrap; } .due.bad { color: #b42318; } .due.warn { color: #b54708; } .due.ok { color: #1f7a4d; }
@media (max-width: 520px) { .sd-kinds { grid-template-columns: 1fr; } .sd-tk summary { grid-template-columns: minmax(0, 1fr) auto; } .sd-tk .no { display: none; } }
.afoot b { display: inline-flex; align-items: center; gap: 4px; } .afoot b svg { width: 13px; height: 13px; stroke-width: 2.2; }
.sd-cols > div { min-width: 0; } #sd-f select.in { max-width: 100%; width: 100%; }

/* 1.9 · 2026-11-23 · Expenses on the main menu; paid / not paid yet */
.nav .t-money { --c: #b54708; }
@media (max-width: 999px) {
  .nav.n8 button .ni { width: min(36px, 100%); height: 26px; border-radius: 9px; }
  .nav.n8 button .ni svg { width: 20px; height: 20px; }
  .nav.n8 button .nl { font-size: 10px; letter-spacing: -.25px; }
}
@media (max-width: 430px) { .nav.n8 .nl-l { display: none; } .nav.n8 .nl-s { display: inline; } }
.paybtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.paybtns .pb { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; color: #475467; font-size: 15px; }
.paybtns .pb svg { width: 22px; height: 22px; }
.paybtns .pb span { font-size: 12px; color: var(--muted); }
.paybtns .pb.on[data-p="1"] { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.paybtns .pb.on[data-p="0"] { border-color: #d48806; background: var(--warn-bg); color: var(--warn); }
.exp-owed { border-left: 5px solid #d48806; background: #fffaf0; }
.exp-owed.od { border-left-color: var(--bad); background: #fff6f5; }
.money.owe { color: var(--bad); }

/* 1.10 · Prices & settings → Main menu order */
.navord .it { gap: 10px; }
.navord .nno { width: 22px; text-align: center; color: var(--muted); font-weight: 700; }
.navord .ni { width: 38px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 11%, #fff); flex: none; }
.navord .ni svg { width: 20px; height: 20px; }
.navord .t-home { --c: #01295f; } .navord .t-desk { --c: #1d6fd1; } .navord .t-food { --c: #e8710a; } .navord .t-tasks { --c: #2b8a3e; } .navord .t-msgs { --c: #7b4bc9; } .navord .t-more { --c: #5b6577; } .navord .t-billing { --c: #0e8a7d; } .navord .t-money { --c: #b54708; }
.navord .btn.sm { min-width: 44px; padding: 7px 0; }

/* ======================= 1.11 ======================= */
/* phones: the support / version strip stays visible on every screen, also under forms and questions */
@media (max-width: 999px) {
  .afoot { z-index: 95; }
  .sheet-bg, .dlg-bg { bottom: calc(var(--foot-h) + var(--safe-b)); }
  .sheet { max-height: calc(100% - 6px); height: calc(100% - 4vh); }
  .sheet .bd { padding-bottom: 24px; }
}
/* nothing wider than a small phone (date boxes pushed pages sideways, so forms opened cut off) */
.g2 > *, .al-g > * { min-width: 0; }
input.in[type=date], input.in[type=month], select.in { min-width: 0; max-width: 100%; }

/* 1.11 reports: build your own */
.rp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 14px; }
.rp-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; color: #475467; cursor: pointer; padding: 6px 10px; text-align: center; }
.rp-tabs button svg { width: 19px; height: 19px; flex: none; }
.rp-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.rp-f { padding: 12px 14px; }
.rp-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.rp-row:last-of-type { border-bottom: 0; }
.rp-l { font-weight: 700; font-size: 13px; color: var(--muted); padding-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; color: #344054; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.chip svg { width: 15px; height: 15px; }
.chip.on { background: color-mix(in srgb, var(--brand) 10%, #fff); border-color: var(--brand); color: var(--brand); }
.chip.x { background: var(--brand); color: #fff; }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.rp-q { flex: 1 1 220px; min-width: 0; height: 38px; padding: 6px 12px; font-size: 14px; }
.linkbtn { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; padding: 8px 0 0; text-decoration: underline; }
.rp-what { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; margin: 14px 2px 8px; }
.rp-what b { font-size: 16px; } .rp-what span { color: var(--muted); font-size: 13px; }
.rp-k { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.t tr.tot td { font-weight: 800; border-top: 2px solid var(--line); }
.t tr.tap { cursor: pointer; } .t tr.tap:hover td { background: #f6f8fb; }
.money.pos { color: var(--ok); } .money.neg { color: var(--bad); }
.rp-lines .t td { vertical-align: top; }
.show-s { display: none; }
@media (max-width: 640px) { .hide-s { display: none; } .show-s { display: inline; } .rp-row { grid-template-columns: 1fr; gap: 4px; } .rp-l { padding-top: 0; } .rp-tabs button { font-size: 13px; } }
@media print { .rp-f, .rp-tabs, .rp-top, .afoot, .btn { display: none !important; } }
#rp-body .card { overflow-x: auto; } @media (max-width: 400px) { .rp-k { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } .rp-lines .t td, .rp-lines .t th { padding-left: 4px; padding-right: 4px; } .rp-lines .money { white-space: nowrap; font-size: 13px; } }
.money.owe, .small.owe { color: #b54708; }

/* 1.13: long text (an expense description, a supplier, a web address) wraps or is cut with … instead of making the screen
   wider than the phone, which stretched the bottom menu off the side so only Home, Tasks and Inbox showed */
.it > .grow, .it > div, .between > div { min-width: 0; }
.ell { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it .small, .card .small, .kv > *, td:not(.r):not(.money):not(.nowrap) { overflow-wrap: anywhere; }
html, body { max-width: 100%; overflow-x: clip; }

/* ======================= 1.14: pop-ups for jobs, the kitchen screen ======================= */
.apop { position: fixed; inset: 0; z-index: 120; background: rgba(16,24,40,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.apop-in { background: #fff; border-radius: 18px; width: 100%; max-width: 460px; max-height: calc(100% - 20px); overflow-y: auto; padding: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 8px solid var(--gold); }
.apop.flash .apop-in { animation: apflash .9s ease-out 3; }
@keyframes apflash { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,183,3,.9); } 40% { transform: scale(1.03); box-shadow: 0 0 0 14px rgba(255,183,3,.0); } 100% { transform: scale(1); } }
.apop-a { border: 1px solid var(--line); border-left: 6px solid var(--warn); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.apop-a.back, .apop-a.cancel { border-left-color: var(--bad); } .apop-a.collect { border-left-color: var(--ok); } .apop-a.change { border-left-color: #1d4f9c; }
.apop-a b { display: block; font-size: 19px; margin: 2px 0 4px; }
.apop-k { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.apop-b { white-space: pre-line; font-size: 15px; margin-bottom: 8px; overflow-wrap: anywhere; }
.apop .btns { margin-top: 0; }
.kit-top { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; align-items: baseline; margin: 6px 2px 10px; font-weight: 700; }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.kcard { background: #fff; border: 2px solid var(--line); border-top: 8px solid var(--warn); border-radius: 14px; padding: 12px 14px; cursor: pointer; min-width: 0; }
.kcard.ready { border-top-color: var(--ok); background: #f3fbf5; }
.kcard .kw { font-size: 20px; } .kcard .kt { font-weight: 800; color: var(--bad); white-space: nowrap; }
.kcard .ki { font-size: 18px; line-height: 1.45; margin: 8px 0 4px; } .kcard .kn { background: #fff6e0; border-radius: 8px; padding: 6px 8px; font-weight: 700; color: #7a5200; }
.kcard.fresh { animation: kfresh 1s ease-in-out 6; }
@keyframes kfresh { 50% { background: #fff3cd; border-color: var(--gold); } }
.cl-give { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.cl-give > span { flex: 1 1 140px; } .cl-give select { flex: 1 1 160px; height: 40px; padding: 6px 10px; }
.dlg .chips { margin: 6px 0 2px; }
/* 1.15 staff: work areas, None / Read / Full */
.ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 14px; margin-top: 4px; }
.ar-grid .chk { padding: 5px 0; margin: 0; }
.pm-lv { margin: 0; flex: none; } .pm-lv button { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.pm-lv button:disabled { opacity: .6; }
/* 1.19 · More › Documents */
.dc-ic { flex: none; width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; }
.dc-t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dc-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } @media (max-width: 420px) { .dc-2 { grid-template-columns: 1fr; } }
.dc-img { display: block; width: 100%; max-height: 52vh; object-fit: contain; background: #f2f4f7; border-radius: 12px; }
.dc-big { height: 120px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; letter-spacing: 1px; }
.card .kv + .kv { margin-top: 6px; } .card .kv b { min-width: 0; text-align: right; }
.btn.bad-t { color: var(--bad); }
.btns a.btn { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }
/* 1.20 · Billing: the cards are filters */
.bl-k .bl-kc { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s; position: relative; }
.bl-k .bl-kc:hover { border-color: #b9c3d3; }
.bl-k .bl-kc.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; background: #f3f6fb; }
.bl-k .bl-kc.on::after { content: '✓'; position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bl-k .bl-kc .kv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #eef2f7; border-radius: 12px; padding: 8px 8px 8px 14px; margin: 0 0 10px; font-size: 14px; }
.bl-k .bl-kc.on { padding-right: 36px; }
/* 1.21 · Support: three cards */
.sd-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0 18px; }
@media (min-width: 760px) { .sd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sd-card { font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: 14px; padding: 14px 16px 12px; min-width: 0; transition: box-shadow .15s, transform .15s; }
.sd-card:hover { box-shadow: 0 6px 18px rgba(16,24,40,.08); transform: translateY(-1px); }
.sd-card.c1 { --c: #b42318; } .sd-card.c2 { --c: #c77d0a; } .sd-card.c3 { --c: var(--brand); }
.sd-card .ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); padding: 7px; }
.sd-card > b { font-size: 16px; color: var(--c); }
.sd-card small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.sd-card i { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--c); margin-top: auto; padding-top: 4px; }
.sd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sd-pair > span { border-radius: 10px; padding: 6px 10px; font-size: 12.5px; font-weight: 700; }
.sd-pair .u { background: #fdecec; color: #b42318; } .sd-pair .n { background: #e9f0fb; color: #1d4f9c; }
.sd-pair em, .sd-rate em { display: block; font-style: normal; font-size: 18px; font-weight: 800; line-height: 1.2; }
.sd-rate { font-size: 26px; font-weight: 800; color: #7a4b00; line-height: 1.1; } .sd-rate em { font-size: 13px; font-weight: 600; color: var(--muted); }
.sd-flow { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; color: var(--muted); font-weight: 700; }
.sd-flow span { background: #eef2f7; color: var(--brand); border-radius: 8px; padding: 4px 8px; font-size: 12.5px; }
.sd-x { border-left: 5px solid var(--c); background: #fff; border-radius: 12px; border: 1px solid var(--line); border-left-width: 5px; padding: 12px 16px; margin-bottom: 12px; }
.sd-x.u { --c: #b42318; } .sd-x.n { --c: #1d4f9c; } .sd-x.w { --c: #c77d0a; }
.sd-x > b { color: var(--c); font-size: 16px; } .sd-x p { margin: 6px 0; } .sd-x ul, .sd-x ol { margin: 4px 0 8px; padding-left: 20px; } .sd-x li { margin: 3px 0; }
/* 1.22 · Rooms screen: big cards; guest in blue, free green, needs cleaning flashing orange, out of order red */
.rooms.big { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.rooms.big .rm { min-height: 176px; padding: 14px 16px; border-width: 2px; border-left-width: 8px; gap: 6px; border-radius: 16px; }
.rooms.big .rm-h { display: flex; align-items: baseline; gap: 10px; padding-right: 74px; }
.rooms.big .rm .no { font-size: 32px; }
.rooms.big .rm .ty { font-size: 13px; }
.rooms.big .rm .who { font-size: 16px; font-weight: 700; margin-top: 2px; white-space: normal; }
.rooms.big .rm .who small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.rooms.big .rm .flag { top: 12px; right: 12px; font-size: 11px; padding: 2px 7px; }
.rooms.big .rm.free { background: #ecf8f1; border-color: #9fd8b6; border-left-color: #2f9e5b; }
.rooms.big .rm.occ { background: #eaf1fd; border-color: #a9c4f0; border-left-color: #2563c9; }
.rooms.big .rm.occ .no { color: #1d4fa3; } .rooms.big .rm.free .no { color: #1f7a4d; }
.rooms.big .rm.out { background: #fdecea; border-color: #f2b8b5; border-left-color: #d64545; }
.rooms.big .rm.dirty { background: #fff3e2; border-color: #f6c27e; border-left-color: #f08a10; animation: rmFlash 1.2s ease-in-out infinite; }
.rooms.big .rm.dirty.busy { animation: none; }
.rooms.big .rm.dirty .no { color: #b45309; }
@keyframes rmFlash { 0%, 100% { background: #fff3e2; box-shadow: 0 0 0 0 rgba(240,138,16,.0); } 50% { background: #ffd9a3; box-shadow: 0 0 0 4px rgba(240,138,16,.35); } }
@media (prefers-reduced-motion: reduce) { .rooms.big .rm.dirty { animation-duration: 2.4s; } }
.rm-cl { font-size: 13px; font-weight: 700; color: #9a4b00; background: rgba(255,255,255,.7); border-radius: 8px; padding: 3px 8px; align-self: flex-start; }
.rm-m { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px dashed rgba(0,0,0,.12); padding-top: 7px; width: 100%; }
.rm-m b { font-size: 16px; } .rm-m b.owe { color: var(--bad); } .rm-m b.paid { color: var(--ok); }
.rm-p, .rm-lp { font-size: 12.5px; color: #475467; font-weight: 600; } .rm-lp { color: var(--muted); font-weight: 500; }
.rm-i { font-size: 12.5px; color: #475467; font-weight: 600; }
@media (max-width: 520px) { .rooms.big { grid-template-columns: 1fr 1fr; gap: 10px; } .rooms.big .rm { min-height: 160px; padding: 12px; border-left-width: 6px; } .rooms.big .rm .no { font-size: 26px; } .rooms.big .rm-h { flex-direction: column; gap: 0; padding-right: 0; } .rooms.big .rm .flag { font-size: 9.5px; } .rooms.big .rm .who { font-size: 14.5px; } .rm-m b { font-size: 14.5px; } }
.legend { font-size: 13.5px; gap: 16px; margin: 10px 0 12px; } .legend i { width: 14px; height: 14px; }
.ow .chk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f1f3; cursor: pointer; }
.ow .chk input { width: 20px; height: 20px; flex: none; } .ow .r { margin-left: auto; font-weight: 700; white-space: nowrap; }
.ow .ow-all { border-bottom: 2px solid var(--line); } .ow-g { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 10px 0 0; }
.ow-cl { align-items: center; gap: 10px; }
/* the scroll highlight on phones keeps each room's own colour */
.rooms.big .rm.hl-scroll { box-shadow: 0 6px 16px rgba(11,46,111,.14) !important; }
.rooms.big .rm.free.hl-scroll { border-color: #9fd8b6 !important; border-left-color: #2f9e5b !important; }
.rooms.big .rm.occ.hl-scroll { border-color: #a9c4f0 !important; border-left-color: #2563c9 !important; }
.rooms.big .rm.dirty.hl-scroll { border-color: #f6c27e !important; border-left-color: #f08a10 !important; }
.rooms.big .rm.out.hl-scroll { border-color: #f2b8b5 !important; border-left-color: #d64545 !important; }
@media (hover: hover) { .rooms.big .rm:hover { border-color: rgba(11,46,111,.35); } .rooms.big .rm.free:hover { border-left-color: #2f9e5b; } .rooms.big .rm.occ:hover { border-left-color: #2563c9; } .rooms.big .rm.dirty:hover { border-left-color: #f08a10; } .rooms.big .rm.out:hover { border-left-color: #d64545; } }
/* 1.23 · customer fill-in, tables, hiding main-menu buttons */
.ac-box { position: relative; z-index: 5; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 24px rgba(16,24,40,.14); overflow: hidden; }
.ac-it { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 9px 12px; cursor: pointer; font: inherit; border-bottom: 1px solid #f0f1f3; }
.ac-it:last-child { border-bottom: 0; } .ac-it:hover, .ac-it.on { background: #eef4ff; }
.ac-it b { display: block; font-size: 15px; } .ac-it span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-no { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #eef2f7; color: var(--brand); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.navord .nv-tg { min-width: 84px; } .navord .nv-tg.on { background: var(--ok-bg); color: var(--ok); border-color: #9fd3b6; }
.navord .nv-off { opacity: .7; } .navord .nv-off .ni { filter: grayscale(1); } .navord .nv-fix { min-width: 84px; text-align: center; }
.navord .nv-tg { min-width: 92px; padding: 6px 14px; white-space: nowrap; } .navord .it { gap: 8px; }
/* 1.24 · expenses by channel & category, stock & recipes, reports by channel */
.ex-mode { margin: 6px 0 10px; }
.ex-ch { margin-bottom: 14px; } .ex-chh { padding: 4px 4px 6px; border-left: 5px solid var(--c, #475467); padding-left: 10px; margin-bottom: 4px; }
.ex-chh b { font-size: 17px; color: var(--c); }
.cc-kitchen { --c: #c0392b; } .cc-bar { --c: #0e7490; } .cc-rooms { --c: #2563c9; } .cc-shared { --c: #475467; }
.ex-cat { cursor: pointer; } .ex-cat.on { background: #f3f6fb; } .ex-arr { width: 14px; text-align: center; margin-left: 4px; }
.ex-drill { background: #f8fafc; border-left: 3px solid var(--c); margin: 0 0 4px 12px; border-radius: 0 0 10px 10px; } .ex-drill .it { padding-left: 12px; }
.ex-chs { flex-wrap: wrap; }
.st-line { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
@media (max-width: 480px) { .st-line { grid-template-columns: minmax(0, 1fr) 90px auto; } .st-line [data-su], .st-line [data-ru] { display: none; } }
.sk-lv { font-weight: 800; font-size: 17px; white-space: nowrap; } .sk-lv small { font-weight: 600; color: var(--muted); font-size: 12px; } .sk-lv.low { color: var(--bad); }
.sk-top b.sk-big { display: block; font-size: 30px; line-height: 1.2; } .sk-top b.sk-big.low { color: var(--bad); } .sk-top { display: flex; flex-direction: column; gap: 6px; }
.sk-mv { font-weight: 800; white-space: nowrap; } .sk-mv.ok { color: var(--ok); } .sk-mv.bad { color: var(--bad); } .sk-mv.info { color: var(--info, #1d4f9c); }
.sk-ci input { width: 110px; flex: none; text-align: right; font-weight: 700; } .sk-u { width: 48px; flex: none; }
.sk-res { padding: 6px 12px; } .sk-rh, .sk-rr { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1.2fr 1fr; gap: 8px; padding: 7px 0; font-size: 14px; align-items: center; }
.sk-rh { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; border-bottom: 2px solid var(--line); } .sk-rr { border-bottom: 1px solid #f0f1f3; }
.sk-rr span:not(:first-child), .sk-rh span:not(:first-child) { text-align: right; } .sk-rr.d { background: #fff6f5; } .sk-rr small { color: var(--muted); }
.sk-ch { margin-bottom: 8px; }
.ch-row { padding: 8px 0; border-bottom: 1px solid #f0f1f3; } .ch-row:last-child { border-bottom: 0; }
.chb { height: 10px; border-radius: 99px; background: #eef0f3; margin: 6px 0 4px; overflow: hidden; } .chb i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.chb .cc-rooms { --c: #2563c9; } .chb .cc-bar { --c: #0e7490; } .chb .cc-k_rooms { --c: #c0392b; } .chb .cc-k_take { --c: #e07a1f; } .chb .cc-k_tables { --c: #2f9e5b; }
/* 1.30: My account, Support, About in a menu under your name */
.bar .who-w { position: relative; display: flex; }
.bar .who .car { font-size: 11px; opacity: .8; margin-left: 2px; }
.umenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; width: 290px; max-width: calc(100vw - 20px); background: #fff; color: var(--ink, #1d2433); border-radius: 14px; box-shadow: 0 14px 40px rgba(10,25,55,.28); border: 1px solid var(--line); padding: 6px; }
.umenu .um-h { padding: 10px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .umenu .um-h b { display: block; font-size: 14px; } .umenu .um-h span { font-size: 12px; color: var(--muted); }
.umenu button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: inherit; font: inherit; }
.umenu button:hover, .umenu button:focus-visible { background: #eef2f7; }
.umenu button svg { width: 22px; height: 22px; flex: none; color: var(--brand); }
.umenu button b { display: block; font-size: 14px; } .umenu button small { display: block; font-size: 12px; color: var(--muted); }
.umenu .um-out { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; } .umenu .um-out, .umenu .um-out svg { color: #c0392b; }
@media (max-width: 600px) { .bar .who .car { display: none; } }
/* 1.30: rooms' food accounts (orders marked R4, R5 …) in Food › Not paid */
.fd-acc-h { display: flex; flex-direction: column; gap: 2px; margin: 14px 2px 8px; } .fd-acc-h b { font-size: 15px; }
.card.order.acct { border-left: 5px solid #2563c9; }
.acl { max-height: 360px; overflow: auto; border-top: 1px solid var(--line); }
.acl-r { display: grid; grid-template-columns: 78px 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: start; }
.acl-r .d { color: var(--muted); font-weight: 600; } .acl-r .w small { display: block; color: var(--muted); font-size: 11.5px; } .acl-r .r { font-weight: 700; white-space: nowrap; }
.rm .rm-ft { display: block; font-size: 12.5px; font-weight: 700; color: #b45309; margin-top: 4px; }
/* 1.31: turn on notifications */
.pushc { display: flex; align-items: center; gap: 14px; border-left: 5px solid var(--gold); }
.pushc .pi { width: 44px; height: 44px; border-radius: 12px; background: #fff4d6; color: #9a6b00; display: flex; align-items: center; justify-content: center; flex: none; padding: 9px; }
.pushc .pb { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) { .pushc { flex-wrap: wrap; } .pushc .pb { width: 100%; } .pushc .pb .btn { flex: 1; } }
.pushc .grow { flex: 1 1 180px; min-width: 0; }
#nt [data-np] { white-space: nowrap; flex: none; margin-left: 10px; }
/* 1.32: fingerprint / face sign-in */
.fpb { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; min-height: 54px; font-size: 16px; }
.fpb svg { width: 26px; height: 26px; }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0 2px; } .or-line::before, .or-line::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.fp-big { width: 84px; height: 84px; margin: 4px auto 10px; border-radius: 24px; background: #fff4d6; color: #9a6b00; display: flex; align-items: center; justify-content: center; padding: 16px; }
#fpc [data-fk] { white-space: nowrap; flex: none; margin-left: 10px; }
/* 1.33: special offers (weekend, week, month) */
.ofb { margin: 14px 0 4px; padding: 12px; border-radius: 12px; background: #f6f8fc; border: 1px solid var(--line); }
.ofb .g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0 10px; }
.offers .ofr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.offers .ofr span { font-weight: 700; font-size: 14px; } .offers .ofr span.none { color: var(--muted); font-weight: 400; }
.offers .ofr small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 480px) { .offers .ofr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rtp .pp, .bill .pp { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.bill .tot { font-weight: 800; border-top: 1px solid var(--line); padding-top: 6px; } .bill .owe { color: #b42318; }
/* 1.34: how a stay is billed */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 6px; }
.plan { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.plan b { display: block; font-size: 15px; } .plan small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan.on { border-color: var(--brand); background: #eef3fb; box-shadow: 0 0 0 2px rgba(20,60,130,.12); }
/* 1.34: how a stay is billed */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 6px; }
.plan { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.plan b { display: block; font-size: 15px; } .plan small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan.on { border-color: var(--brand); background: #eef3fb; box-shadow: 0 0 0 2px rgba(20,60,130,.12); }
/* 1.41: ⚙ Settings on a module's screen; Settings & Options */
.seg-row { display: flex; align-items: flex-start; gap: 10px; }
.seg-row > .seg { flex: 1; min-width: 0; }
.h1-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .h1-row h1 { margin-right: auto; }
.ms-w { position: relative; flex: none; }
.ms-b { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--brand); font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.ms-b svg { width: 18px; height: 18px; } .ms-b:hover { background: #eef2f7; }
.ms-m { right: 0; top: calc(100% + 6px); width: 240px; }
@media (max-width: 600px) { .ms-b span { display: none; } .ms-b { padding: 8px 10px; } }
.crumb { display: inline-block; margin: 2px 0 2px; font-weight: 700; color: var(--brand); text-decoration: none; font-size: 14px; }
.set-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; align-items: start; }
.set-g { padding: 6px 6px 4px; } .set-g .it { padding: 10px; border-radius: 10px; } .set-g .it:hover { background: #f3f6fb; }
.set-gh { display: flex; align-items: center; gap: 10px; padding: 8px 10px 6px; font-size: 16px; }
.sgi { width: 34px; height: 34px; border-radius: 10px; background: #eef2f7; color: var(--brand); display: flex; align-items: center; justify-content: center; padding: 7px; }
.set-g .it { display: flex; align-items: center; gap: 10px; cursor: pointer; } .set-g .it + .it { border-top: 1px solid var(--line); }
/* 1.45 stock sizes / kinds */
.sk-grp { background: var(--soft, #f4f6fb); } .sk-grp b { font-size: 15px; }
.card.list .it.sk-var { padding-left: 34px; position: relative; } .card.list .it.sk-var::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; border-left: 2px solid var(--line, #e3e7ef); }
.st-line.st-line3 { grid-template-columns: minmax(0, 1fr) 90px auto 120px auto; }
@media (max-width: 560px) { .st-line.st-line3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .st-line.st-line3 [data-si] { grid-column: 1 / -1; } .st-line.st-line3 [data-su] { display: none; } }
/* 1.45 kitchen / bar screen (screen.php) */
body.scr { background: #0b1730; color: #fff; min-height: 100vh; margin: 0; }
.scr-pair { max-width: 420px; margin: 8vh auto; padding: 28px; background: #fff; color: var(--ink, #10203d); border-radius: 18px; text-align: center; }
.scr-pair h1 { margin: 10px 0 6px; } .scr-logo { width: 150px; }
.scr-code { font-size: 40px; text-align: center; letter-spacing: 12px; font-weight: 800; margin: 14px 0; }
.scr-top { display: flex; align-items: center; gap: 18px; padding: 12px 20px; background: #10224a; position: sticky; top: 0; z-index: 2; }
.scr-top > div:first-child { display: flex; flex-direction: column; } .scr-top > div:first-child b { font-size: 22px; } .scr-top > div:first-child span { font-size: 13px; opacity: .7; }
.scr-sum { flex: 1; display: flex; gap: 22px; justify-content: center; font-size: 18px; } .scr-sum b { font-size: 26px; color: #ffcc4d; } .scr-sum .ok b { color: #5fe39a; }
.scr-r { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; }
.scr-fs { background: transparent; border: 1px solid #ffffff55; color: #fff; border-radius: 10px; font-size: 20px; padding: 4px 10px; cursor: pointer; }
.scr-off { background: #c0392b; text-align: center; padding: 8px; font-weight: 700; }
.scr-snd { display: block; width: calc(100% - 40px); margin: 12px 20px 0; padding: 12px; border-radius: 12px; border: 2px dashed #ffcc4d; background: transparent; color: #ffcc4d; font-size: 18px; font-weight: 700; cursor: pointer; }
.scr-empty { text-align: center; font-size: 28px; margin-top: 18vh; } .scr-empty div { font-size: 70px; } .scr-empty span { font-size: 18px; opacity: .7; }
.scr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 18px 20px 40px; }
.scr-card { background: #fff; color: #10203d; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; border-top: 8px solid #3c7bf0; }
.scr-card.slow { border-top-color: #f0a500; } .scr-card.late { border-top-color: #e04545; } .scr-card.ready { border-top-color: #22a861; background: #e9f9ef; }
.scr-card.fresh { animation: scrIn 1.2s ease-out 2; }
@keyframes scrIn { 0% { box-shadow: 0 0 0 0 #ffcc4d; } 70% { box-shadow: 0 0 0 14px transparent; } }
.scr-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .scr-h b { font-size: 24px; } .scr-h span { font-weight: 800; font-size: 16px; color: #5a6782; white-space: nowrap; }
.scr-card.late .scr-h span { color: #e04545; }
.scr-m { font-size: 13px; color: #5a6782; margin-bottom: 8px; }
.scr-i { list-style: none; margin: 0 0 8px; padding: 0; font-size: 20px; line-height: 1.45; flex: 1; } .scr-i b { color: #b26b00; }
.scr-n { background: #fff4d6; border-radius: 10px; padding: 8px 10px; font-weight: 700; margin-bottom: 8px; }
.scr-x { font-size: 13px; color: #5a6782; margin-bottom: 8px; }
.scr-bell { border: 0; border-radius: 14px; background: #22a861; color: #fff; font-size: 24px; font-weight: 800; padding: 16px; cursor: pointer; }
.scr-bell:active { transform: scale(.98); } .scr-bell:disabled { opacity: .6; }
.scr-done { text-align: center; font-weight: 800; color: #1b7f4b; font-size: 18px; padding: 12px; }
.scr-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #10224a; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 18px; font-weight: 700; box-shadow: 0 6px 24px #0008; z-index: 9; }
.scr-codebox { text-align: center; border: 2px solid var(--gold, #f4b400); }
.scr-url { font-weight: 800; font-size: 17px; word-break: break-all; margin: 4px 0 8px; }
.scr-big { font-size: 46px; font-weight: 900; letter-spacing: 6px; color: var(--brand); }
.scr-qr { width: 150px; margin: 10px auto 2px; } .scr-qr svg { width: 100%; height: auto; }
/* 1.45 an invoice full screen */
.docfull { position: fixed; inset: 0; z-index: 200; background: #f3f1ec; display: flex; flex-direction: column; }
.docbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line, #e3e7ef); } .docbar .grow { flex: 1; }
.docfull iframe { flex: 1; border: 0; width: 100%; background: #f3f1ec; }
/* 1.45 "My jobs" on a staff phone (my.php) */
body.my { background: var(--bg, #f3f5fa); min-height: 100vh; }
.my-wait { max-width: 420px; margin: 12vh auto; padding: 24px; text-align: center; }
.my-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--brand); color: #fff; }
.my-top img { height: 36px; background: #fff; border-radius: 8px; padding: 3px; } .my-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.my-top b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .my-top span { font-size: 12px; opacity: .8; }
.my-ref, .my-back { background: #ffffff22; border: 0; color: #fff; font-size: 22px; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; } .my-back { font-size: 30px; line-height: 1; }
.my-main { max-width: 640px; margin: 0 auto; padding: 12px 12px 30px; } .my-main h2 { font-size: 15px; margin: 16px 4px 8px; }
.my-push { border: 2px solid var(--gold, #f4b400); } .my-push p { margin: 4px 0 10px; }
.my-chat { padding-bottom: 100px; } .my-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; } .my-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.my-msg { display: flex; margin: 8px 0; } .my-msg.me { justify-content: flex-end; }
.my-b { max-width: 82%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 8px 12px; box-shadow: 0 1px 2px #0001; font-size: 15px; }
.my-msg.me .my-b { background: #dff3e6; border-radius: 14px 14px 4px 14px; }
.my-b b { display: block; font-size: 12px; color: var(--brand); margin-bottom: 2px; } .my-b span { display: block; font-size: 11px; color: #8a93a6; text-align: right; margin-top: 2px; }
.my-b img { display: block; max-width: 100%; border-radius: 10px; margin: 4px 0; }
.my-say { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line, #e3e7ef); }
.my-say textarea { flex: 1; resize: none; border: 1px solid var(--line, #d9dee8); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; max-height: 120px; }
.my-cam { font-size: 26px; padding: 6px; cursor: pointer; }
.my-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: #10224a; color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 20; max-width: 90vw; } .my-toast.bad { background: #c0392b; }
/* the chat on a job inside the app */
.tchat { max-height: 50vh; overflow: auto; } .tchat .my-msg .my-b { box-shadow: none; background: var(--soft, #f1f4f9); } .tchat .my-msg.me .my-b { background: #dff3e6; }
.tsay { display: flex; gap: 8px; align-items: center; margin-top: 8px; } .tsay .in { flex: 1; }
/* 1.53 billing: period, Rooms | Kitchen & Bar, bad debts */
.bl-f .in.bl-per { flex: 0 1 220px; min-width: 170px; }
.bl-dates { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .bl-f .bl-dates .in { flex: 0 1 150px; min-width: 130px; }
.bl-area button { white-space: nowrap; }
@media (min-width: 900px) { .bl-k:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); } }
.bd-note { margin: 8px 0 4px; padding: 8px 10px; background: var(--soft, #f4f6fb); border-radius: 10px; font-size: 14px; }
.bd-undone { opacity: .6; }
.bl-f .chk { padding: 0; font-weight: 500; }
