/* ═══════════════════════════════════════════════════════════════════════════
   Building Board — stylesheet.

   Built for a tenant who may not read much, a watchman on a cheap Android
   phone at a gate, and an owner who wants the whole thing in one glance.
   Same shell mechanics already proven on the Renewals Board (an exact
   one-viewport shell, sheet stacking order) — carried over on purpose,
   the bugs those rules prevent were already paid for once.

   1. Two huge buttons, never a form, for the one choice that matters most
      (I live here / I manage this). Reading is optional; tapping isn't.
   2. Status is never colour alone — a stripe, an icon AND a word, always
      together, so it survives colour-blindness and bright sunlight.
   3. Escalated is the loudest state in the whole app on purpose — it is
      the entire product.
   4. Tap targets >= 48px everywhere, the primary action >= 56px.
   5. RTL via logical properties and [dir] rules — one code path for both.
   ═══════════════════════════════════════════════════════════════════════════ */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0}

:root{
  /* brand chrome — deliberately warm clay/cream, not the cool navy/green
     of the other AJUZEE products, so a client who owns more than one can
     tell them apart at a glance */
  --primary:#8B4A34;
  --primary-ink:#6B3826;
  --accent:#C9932E;
  --sidebar:#3A2A20;

  --ink:#2B211C;
  --body:#5C4C3F;
  --mute:#8A7A6C;
  --faint:#B3A392;
  --line:#E9DFD1;
  --line-2:#DED2BF;
  --bg:#FBF6EE;
  --surface:#FFFFFF;
  --sunk:#F3EBDD;

  /* status — escalated reuses the AJUZEE-wide validated critical red,
     resolved the validated good green; ack is a warm amber; open is a
     calm neutral so escalated is the only state that shouts. */
  --escalated:#B3341F; --escalated-bg:#FBEAE6; --escalated-line:#F0C4BA;
  --ack:#B4700D;       --ack-bg:#FDF3E0;       --ack-line:#EFD8AC;
  --resolved:#2E7D5B;  --resolved-bg:#E8F2EC;  --resolved-line:#C6E0D2;
  --open:#5C4C3F;      --open-bg:#F3EBDD;      --open-line:#E9DFD1;

  --ui:"Barlow",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ar:"IBM Plex Sans Arabic","Barlow",system-ui,sans-serif;
  --num:"Space Grotesk",system-ui,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
  --r:14px;
  --shadow:0 2px 10px rgba(43,33,28,.08);
  --shadow-l:0 -6px 22px rgba(43,33,28,.1);
  --safe-b:env(safe-area-inset-bottom,0px);
}

body{
  font-family:var(--ui);background:var(--bg);color:var(--ink);
  line-height:1.5;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;
}
body[dir="rtl"]{font-family:var(--ar)}
.num{font-family:var(--num);font-variant-numeric:tabular-nums}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.015em;line-height:1.2}
p{margin:0}

:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ── shell — exactly one viewport tall, only .scroll scrolls ─────────── */
#app{max-width:560px;margin:0 auto;height:100vh;height:100dvh;overflow:hidden;
  display:flex;flex-direction:column;background:var(--bg);position:relative}
@media (min-width:900px){ #app{max-width:1120px;flex-direction:row;box-shadow:0 0 60px rgba(43,33,28,.08)} }
.main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;height:100%}
.scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:calc(96px + var(--safe-b))}
@media (min-width:900px){ .scroll{padding-bottom:32px} }

/* ── top bar ──────────────────────────────────────────────────────────── */
.top{display:flex;align-items:center;gap:10px;padding:12px 14px 10px;background:var(--surface);
  border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}
.top .ic{width:46px;height:46px;border-radius:12px;border:1.5px solid var(--line-2);
  display:grid;place-items:center;flex:none;background:var(--surface);color:var(--body)}
.top .ic.sm{width:38px;height:38px;border-radius:10px}
.top .ic:active{background:var(--bg)}
@media (max-width:420px){ .top{gap:7px;padding-inline:12px} .top .ic{width:42px;height:42px;border-radius:11px} }
.top .mid{flex:1;min-width:0}
.top .eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--mute)}
.top h1{font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[dir="rtl"] .top .ic svg{transform:scaleX(-1)}
.langtog{display:flex;border:1.5px solid var(--line-2);border-radius:10px;overflow:hidden;flex:none;min-height:46px;align-items:stretch}
.langtog b,.langtog i{padding:0 12px;font-size:13.5px;font-weight:700;font-style:normal;display:grid;place-items:center}
.langtog b{background:var(--primary);color:#fff}
.langtog i{color:var(--mute);font-weight:600}

/* ── mode picker — the very first screen, two huge unmissable buttons ─── */
.modepick{padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:10px;min-height:100%;justify-content:center}
.modepick .mk{width:72px;height:72px;border-radius:20px;background:var(--primary);color:#fff;
  display:grid;place-items:center;margin-bottom:14px}
.modepick h1{font-size:24px;text-align:center;margin-bottom:6px}
.modepick p{font-size:15px;color:var(--mute);text-align:center;margin-bottom:26px;max-width:34ch}
.bigpick{width:100%;max-width:380px;display:flex;flex-direction:column;gap:12px}
.bigpick button{display:flex;align-items:center;gap:16px;width:100%;min-height:88px;
  padding:0 20px;border-radius:18px;background:var(--surface);border:2px solid var(--line-2);
  text-align:start;transition:transform .14s var(--ease)}
.bigpick button:active{transform:scale(.98)}
.bigpick .ic2{width:52px;height:52px;border-radius:14px;flex:none;display:grid;place-items:center;
  background:var(--sunk);color:var(--primary)}
.bigpick b{display:block;font-size:18px}
.bigpick span{display:block;font-size:13.5px;color:var(--mute);margin-top:2px}

/* ── headline strip ───────────────────────────────────────────────────── */
.head{padding:16px 14px 4px}
.burn{background:var(--escalated-bg);border:1.5px solid var(--escalated-line);border-radius:var(--r);
  padding:16px 18px;display:flex;align-items:center;gap:14px}
.burn .ico{width:44px;height:44px;border-radius:12px;flex:none;display:grid;place-items:center;background:var(--escalated);color:#fff}
.burn .txt{flex:1;min-width:0}
/* .lbl/.val/.sub are <span>s (the row's stripe/icon markup needs inline
   children elsewhere), so display:block here is load-bearing, not
   cosmetic — without it the label, the big number and the subtext all run
   together on one line instead of stacking. */
.burn .lbl{display:block;font-size:13px;font-weight:700;color:var(--escalated);letter-spacing:.04em;text-transform:uppercase}
.burn .val{display:block;font-family:var(--num);font-size:26px;font-weight:700;letter-spacing:-.02em;color:var(--escalated);line-height:1.1;margin-top:1px}
.burn .sub{display:block;font-size:13.5px;color:var(--body);margin-top:2px}

.warnhead{background:var(--ack-bg);border:1.5px solid var(--ack-line);border-radius:var(--r);
  padding:16px 18px;display:flex;align-items:center;gap:14px}
.warnhead .ico{width:44px;height:44px;border-radius:12px;flex:none;display:grid;place-items:center;background:var(--ack);color:#fff}
.warnhead .lbl{display:block;font-size:17px;font-weight:700;color:var(--ack);line-height:1.25}
.warnhead .sub{display:block;font-size:13.5px;color:var(--body);margin-top:3px}

.calm{background:var(--resolved-bg);border:1.5px solid var(--resolved-line);border-radius:var(--r);
  padding:16px 18px;display:flex;align-items:center;gap:14px}
.calm .ico{width:44px;height:44px;border-radius:12px;flex:none;display:grid;place-items:center;background:var(--resolved);color:#fff}
.calm b{display:block;font-size:16.5px;color:var(--resolved)}
.calm span{font-size:13.5px;color:var(--body)}

/* ── tenant's big CTA card ────────────────────────────────────────────── */
.reportcta{margin:14px;background:var(--primary);border-radius:20px;padding:26px 22px;
  color:#fff;text-align:center;box-shadow:0 10px 26px rgba(139,74,52,.28)}
.reportcta .ic3{width:64px;height:64px;border-radius:18px;background:rgba(255,255,255,.16);
  display:grid;place-items:center;margin:0 auto 14px}
.reportcta b{display:block;font-size:20px;margin-bottom:4px}
.reportcta span{display:block;font-size:14px;opacity:.85;margin-bottom:18px}
.reportcta button{width:100%;min-height:58px;border-radius:14px;background:#fff;color:var(--primary);
  font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px}
.roomtag{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1.5px solid var(--line-2);
  border-radius:99px;padding:8px 16px 8px 10px;font-size:14.5px;font-weight:700;margin:14px 14px 0}
.roomtag .mk{width:30px;height:30px;border-radius:9px;background:var(--sunk);color:var(--primary);display:grid;place-items:center;flex:none}
.roomtag button{margin-inline-start:6px;color:var(--mute);font-size:13px;font-weight:600;text-decoration:underline}

/* ── filter chips ─────────────────────────────────────────────────────── */
.chips{display:flex;gap:8px;padding:14px 14px 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chip{display:flex;align-items:center;gap:8px;min-height:46px;padding:0 15px;border-radius:99px;
  font-size:15px;font-weight:600;white-space:nowrap;background:var(--surface);color:var(--body);
  border:1.5px solid var(--line-2);flex:none}
.chip .n{font-family:var(--num);font-weight:700;font-size:14px;min-width:22px;height:22px;padding:0 6px;
  border-radius:99px;display:grid;place-items:center;background:var(--sunk);color:var(--body)}
.chip.on{background:var(--primary);color:#fff;border-color:var(--primary)}
.chip.on .n{background:rgba(255,255,255,.22);color:#fff}
.chip.esc{border-color:var(--escalated-line);color:var(--escalated)}
.chip.esc .n{background:var(--escalated);color:#fff}
.chip.esc.on{background:var(--escalated);color:#fff;border-color:var(--escalated)}
.chip.esc.on .n{background:rgba(255,255,255,.25)}

/* ── search ───────────────────────────────────────────────────────────── */
.searchbar{padding:0 14px 12px;position:relative}
.searchbar input{width:100%;min-height:50px;padding:12px 44px;border-radius:12px;border:1.5px solid var(--line-2);
  background:var(--surface);font-size:16px}
.searchbar .si{position:absolute;inset-inline-start:26px;top:13px;color:var(--faint);pointer-events:none}
.searchbar input:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(139,74,52,.14)}

/* ═══ THE REQUEST ROW ══════════════════════════════════════════════════ */
.rows{padding:0 14px}
.row{display:flex;align-items:stretch;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);margin-bottom:10px;overflow:hidden;width:100%;text-align:start;
  transition:transform .12s var(--ease)}
.row:active{transform:scale(.99)}
.row .stripe{width:6px;flex:none;background:var(--faint)}
.row.s-open .stripe{background:var(--faint)}
.row.s-ack .stripe{background:var(--ack)}
.row.s-resolved .stripe{background:var(--resolved)}
.row.s-escalated .stripe{background:var(--escalated)}
.row .ico{width:44px;flex:none;display:grid;place-items:center;color:var(--mute)}
.row.s-escalated .ico{color:var(--escalated)}
.row.s-ack .ico{color:var(--ack)}
.row .body{flex:1;min-width:0;padding:14px 6px 13px 0;display:flex;flex-direction:column;justify-content:center}
[dir="rtl"] .row .body{padding:14px 0 13px 6px}
.row .t{display:block;font-size:16px;font-weight:700;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}
.row .s{display:block;font-size:13.5px;color:var(--mute);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .tags{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.row .right{flex:none;padding:12px 12px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:70px}
[dir="rtl"] .row .right{align-items:flex-start}
.row .dt{font-size:12.5px;color:var(--faint);font-family:var(--num)}

.tag{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:3px 8px;border-radius:7px;line-height:1.35}
.tag.escalated{background:var(--escalated-bg);color:var(--escalated)}
.tag.ack{background:var(--ack-bg);color:var(--ack)}
.tag.resolved{background:var(--resolved-bg);color:var(--resolved)}

.sect{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--mute);
  margin:20px 4px 10px;display:flex;align-items:center;gap:9px}
.sect::after{content:"";flex:1;height:1px;background:var(--line)}

/* ── generic bits ─────────────────────────────────────────────────────── */
.pad{padding:16px 14px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px;margin-bottom:10px}
.muted{color:var(--mute);font-size:14px}
.empty{text-align:center;color:var(--mute);padding:52px 28px;font-size:15.5px;line-height:1.6}
.empty .big{font-size:19px;font-weight:700;color:var(--ink);margin-bottom:8px}
.empty svg{color:var(--faint);margin-bottom:14px}

.btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:56px;
  border-radius:var(--r);font-size:17px;font-weight:700;letter-spacing:-.01em;background:var(--primary);
  color:#fff;transition:transform .14s var(--ease),opacity .2s}
.btn:active{transform:scale(.985)}
.btn[disabled]{opacity:.45;pointer-events:none}
.btn.ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--line-2)}
.btn.good{background:var(--resolved);color:#fff}
.btn.danger{background:var(--escalated-bg);color:var(--escalated);border:1.5px solid var(--escalated-line)}
.btn.sm{min-height:46px;font-size:15px;border-radius:11px;width:auto;padding:0 16px}
.btnrow{display:flex;gap:8px}
.btnrow .btn{flex:1}

.fab{position:fixed;inset-inline-end:max(16px,calc(50vw - 264px));bottom:calc(78px + var(--safe-b));z-index:40;
  min-height:58px;padding:0 22px;border-radius:99px;background:var(--primary);color:#fff;font-size:17px;
  font-weight:700;display:flex;align-items:center;gap:9px;box-shadow:0 6px 20px rgba(43,33,28,.26)}
.fab:active{transform:scale(.97)}
@media (min-width:900px){ .fab{bottom:28px;inset-inline-end:32px} }

/* ── bottom nav / sidebar ─────────────────────────────────────────────── */
.nav{flex:none;z-index:35;display:flex;background:var(--surface);border-top:1px solid var(--line);padding-bottom:var(--safe-b)}
.nav button{flex:1;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;color:var(--mute);font-size:11.5px;font-weight:700}
.nav button.on{color:var(--primary)}
.nav button.on svg{stroke-width:2.2}
@media (min-width:900px){ .nav{display:none} }

.side{display:none}
@media (min-width:900px){
  .side{display:flex;flex-direction:column;width:264px;flex:none;background:var(--sidebar);color:#fff;
    padding:20px 14px;height:100%;overflow-y:auto}
  .side .brand{display:flex;gap:11px;align-items:center;padding:4px 8px 20px}
  .side .mk{width:44px;height:44px;border-radius:12px;flex:none;display:grid;place-items:center;
    background:rgba(255,255,255,.12);font-weight:800;font-size:15px;overflow:hidden}
  .side .mk img{width:100%;height:100%;object-fit:contain}
  .side .brand b{display:block;font-size:15px;line-height:1.25}
  .side .brand span{font-size:12.5px;color:rgba(255,255,255,.62)}
  .side nav{display:flex;flex-direction:column;gap:3px;flex:1}
  .side nav button{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border-radius:11px;
    color:rgba(255,255,255,.74);font-size:15px;font-weight:600;text-align:start}
  .side nav button:hover{background:rgba(255,255,255,.08);color:#fff}
  .side nav button.on{background:rgba(255,255,255,.15);color:#fff;font-weight:700}
  .side nav button .badge{margin-inline-start:auto;font-family:var(--num);font-size:12px;font-weight:700;
    min-width:22px;height:22px;padding:0 6px;border-radius:99px;display:grid;place-items:center;
    background:var(--escalated);color:#fff}
  .side .foot{font-size:12.5px;color:rgba(255,255,255,.52);padding:12px 12px 0;border-top:1px solid rgba(255,255,255,.14)}
}

/* ── fields ───────────────────────────────────────────────────────────── */
.f{margin-bottom:15px}
.f label{display:block;font-size:14.5px;font-weight:700;color:var(--body);margin-bottom:7px}
.f label span{font-weight:400;color:var(--faint)}
.f input,.f select,.f textarea{width:100%;min-height:54px;padding:14px;border-radius:12px;
  border:1.5px solid var(--line-2);background:var(--surface);color:var(--ink);font-size:16px}
.f textarea{min-height:92px;resize:vertical;line-height:1.5}
.f input:focus,.f select:focus,.f textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(139,74,52,.14)}
.f input.bad,.f select.bad{border-color:var(--escalated);box-shadow:0 0 0 3px rgba(179,52,31,.12)}
.f .hint{font-size:13px;color:var(--mute);margin-top:6px}
.f .err{font-size:13.5px;color:var(--escalated);font-weight:600;margin-top:6px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.sw{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
.sw:last-child{border-bottom:0}
.sw .lbl{font-size:15.5px;font-weight:700}
.sw .sub{font-size:13px;color:var(--mute);font-weight:400;margin-top:3px}

/* pick-one grids: category, room, floor */
.picks{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.pick{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border-radius:12px;
  border:1.5px solid var(--line-2);background:var(--surface);text-align:start;font-size:15px;font-weight:600;line-height:1.25}
.pick svg{flex:none;color:var(--mute)}
.pick.on{border-color:var(--primary);background:#FBF1EA;color:var(--primary)}
.pick.on svg{color:var(--primary)}
.pick .sub{display:block;font-size:12.5px;color:var(--mute);font-weight:400;margin-top:2px}

.roomgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
.roompick{min-height:64px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--surface);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:700;font-size:16px}
.roompick.vacant{background:var(--sunk);color:var(--mute);font-weight:600}
.roompick.on{border-color:var(--primary);background:var(--primary);color:#fff}
.roompick .sub2{font-size:10.5px;font-weight:600;opacity:.75}

/* ── detail hero ──────────────────────────────────────────────────────── */
.hero{background:var(--surface);border-bottom:1px solid var(--line);padding:20px 16px 18px}
.hero .badge{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;
  letter-spacing:.06em;text-transform:uppercase;padding:5px 11px;border-radius:8px;margin-bottom:12px}
.hero.s-open .badge{background:var(--open-bg);color:var(--open)}
.hero.s-ack .badge{background:var(--ack-bg);color:var(--ack)}
.hero.s-resolved .badge{background:var(--resolved-bg);color:var(--resolved)}
.hero.s-escalated .badge{background:var(--escalated-bg);color:var(--escalated)}
.hero h2{font-size:23px;letter-spacing:-.02em;line-height:1.2}
.hero .kind{font-size:15px;color:var(--mute);margin-top:4px}

.facts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:var(--r);overflow:hidden;margin-bottom:10px}
.fact{background:var(--surface);padding:13px 14px;min-width:0}
.fact .k{font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.fact .v{font-size:15.5px;font-weight:600;margin-top:3px;word-break:break-word}

.hist{display:flex;flex-direction:column;gap:0}
.hist .h{display:flex;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid var(--line);font-size:14.5px}
.hist .h:last-child{border-bottom:0}
.hist .dot{width:9px;height:9px;border-radius:50%;background:var(--line-2);flex:none}
.hist .dot.esc{background:var(--escalated)}
.hist .h .r{margin-inline-start:auto;font-family:var(--num);color:var(--mute);font-size:13px}
.hist .note{display:block;font-size:13px;color:var(--mute);margin-top:2px}

/* ── notice card ──────────────────────────────────────────────────────── */
.notice .ntop{display:flex;align-items:center;justify-content:space-between;gap:10px}
.notice b{font-size:16px}
.notice p{font-size:14px;color:var(--body);margin-top:6px;line-height:1.55}
.notice .ndate{display:block;font-size:12.5px;color:var(--mute);margin-top:8px}

/* ── summary tiles ────────────────────────────────────────────────────── */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
@media (min-width:700px){ .tiles{grid-template-columns:repeat(4,1fr)} }
.tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 15px}
.tile .k{font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute);line-height:1.3}
.tile .v{font-family:var(--num);font-size:26px;font-weight:700;letter-spacing:-.02em;margin-top:5px;line-height:1}
.tile .s{font-size:12.5px;color:var(--mute);margin-top:4px}
.tile.esc{background:var(--escalated-bg);border-color:var(--escalated-line)}
.tile.esc .k,.tile.esc .v{color:var(--escalated)}

/* ── rooms register ───────────────────────────────────────────────────── */
.floorhead{display:flex;align-items:center;justify-content:space-between;padding:14px 4px 8px}
.floorhead b{font-size:15px}
.floorhead span{font-size:12.5px;color:var(--mute)}
.roomrow{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);
  border-radius:12px;padding:12px 14px;margin-bottom:8px;width:100%;text-align:start}
.roomrow .mk{width:38px;height:38px;border-radius:10px;background:var(--sunk);color:var(--primary);
  display:grid;place-items:center;flex:none;font-weight:700;font-size:13px}
.roomrow .info{flex:1;min-width:0}
.roomrow .info b{display:block;font-size:15px}
.roomrow .info span{display:block;font-size:12.5px;color:var(--mute);margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roomrow.vacant .info span{font-style:italic}

/* ── toast, veil, bottom sheet ────────────────────────────────────────── */
.toast{position:fixed;left:50%;transform:translate(-50%,20px);bottom:calc(96px + var(--safe-b));
  background:var(--ink);color:#fff;padding:13px 20px;border-radius:12px;font-size:15px;font-weight:600;
  z-index:90;opacity:0;pointer-events:none;transition:all .25s var(--ease);max-width:min(90vw,420px);
  text-align:center;box-shadow:0 8px 26px rgba(0,0,0,.28)}
.toast.show{opacity:1;transform:translate(-50%,0)}

.veil{position:fixed;inset:0;background:rgba(43,33,28,.5);z-index:60;opacity:0;pointer-events:none;transition:opacity .25s}
.veil.show{opacity:1;pointer-events:auto}

/* ORDER MATTERS: phone rule first, desktop override last — equal
   specificity means the later rule wins, and the phone one must not win
   on a laptop. See renewals-board/app.css for the bug this prevents. */
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--surface);border-radius:20px 20px 0 0;
  padding:8px 16px calc(20px + var(--safe-b));transform:translateY(101%);transition:transform .3s var(--ease),opacity .25s;
  max-height:92dvh;overflow-y:auto;box-shadow:var(--shadow-l);max-width:560px;margin:0 auto}
.sheet.show{transform:translateY(0)}
@media (min-width:900px){
  .sheet{max-width:520px;border-radius:20px;bottom:auto;top:50%;left:50%;right:auto;
    transform:translate(-50%,-50%) scale(.96);opacity:0;max-height:86dvh;box-shadow:0 24px 60px rgba(43,33,28,.3)}
  .sheet.show{transform:translate(-50%,-50%) scale(1);opacity:1}
}
.sheet .grip{width:42px;height:5px;border-radius:99px;background:var(--line-2);margin:6px auto 12px}
@media (min-width:900px){ .sheet .grip{display:none} }
.sheet h3{font-size:20px;margin-bottom:14px;padding-inline-end:8px}
.sheet .foot{display:flex;gap:8px;margin-top:6px;position:sticky;bottom:0;background:var(--surface);padding-top:10px}
.sheet .foot .btn{flex:1}

.note{background:#EEF4F1;border:1px solid #CFE2D8;border-radius:12px;padding:13px 15px;font-size:14.5px;
  line-height:1.6;color:var(--body);margin-bottom:12px}
.note b{color:var(--resolved)}
.fineprint{font-size:12.5px;color:var(--mute);line-height:1.6;padding:14px 4px 4px}

@media print{
  .top,.nav,.fab,.chips,.searchbar,.side,.sheet,.veil,.toast,.noprint{display:none!important}
  body{background:#fff}
  #app{max-width:none;box-shadow:none;display:block;height:auto;overflow:visible}
  .scroll{overflow:visible;padding:0}
  .row{break-inside:avoid;border:1px solid #ccc;box-shadow:none}
}
