/* =====================================================================
   Icon Casa Properties — GRAPHITE theme (v18)
   Loaded LAST on every page (public + staff). One look everywhere:
   warm greys and graphite, Archivo type, generously rounded "bubble"
   surfaces, and the pool photo behind the pages — only lightly faded.
   ===================================================================== */

/* ---------- tokens (one light theme everywhere) ---------- */
:root,
:root:not([data-theme="light"]),
:root[data-theme="light"],
:root[data-theme="dark"]{
  color-scheme: light;
  --ink:        #1b1f24;
  --ink-soft:   #353b43;
  --muted:      #626b75;
  --paper:      #f1f3f6;
  --surface:    #ffffff;
  --surface-2:  #eef0f3;
  --renovation-tint: #e9ecf0;
  --maintenance-tint: #e8ecf1;
  --line:       #dde2e7;
  --line-soft:  #e9ecef;

  --accent:      #2c333c;
  --accent-ink:  #2c333c;
  --accent-tint: #e8ebef;

  --success:      #2f6b57;
  --success-tint: #e4eee9;
  --warning:      #9a6a12;
  --warning-tint: #f6f0dc;
  --danger:       #a63a34;
  --danger-tint:  #f6e3e1;
  --info:         #3d4b5c;
  --info-tint:    #e8ecf1;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(27,31,36,.05), 0 6px 16px -10px rgba(27,31,36,.18);
  --shadow-md: 0 1px 2px rgba(27,31,36,.06), 0 14px 30px -16px rgba(27,31,36,.30);
  --shadow-lg: 0 26px 60px -22px rgba(27,31,36,.42);
  --cozy-shadow: var(--shadow-sm);
  --cozy-shadow-hover: var(--shadow-md);

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}
body{ font-family:var(--font-body); color:var(--ink); letter-spacing:0; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:800; letter-spacing:-.01em; }
h3,h4{ font-weight:700; }
label{ color:var(--ink-soft); font-weight:600; }
.eyebrow{ color:var(--muted); letter-spacing:.18em; }
img.logo-dark-on-dark, .brand img{ filter:none; }

/* ---------- the pool photo, only lightly faded ---------- */
body.client-photo-page,
#login-screen,
body.staff-photo{
  background-color:var(--paper);
  background-image:
    linear-gradient(180deg, rgba(241,244,247,.30) 0%, rgba(241,244,247,.46) 55%, rgba(241,244,247,.62) 100%),
    url('../assets/portal-bg.jpg');
  background-size:cover; background-position:center 30%; background-repeat:no-repeat; background-attachment:fixed;
}
:root[data-theme="light"] #login-screen,
:root:not([data-theme="light"]) #login-screen{
  background-image:
    linear-gradient(180deg, rgba(241,244,247,.30) 0%, rgba(241,244,247,.46) 55%, rgba(241,244,247,.62) 100%),
    url('../assets/portal-bg.jpg');
}
/* staff portals: photo behind the content area, content sits on a soft panel */
:root[data-theme="light"] body:not(.client-photo-page){
  background-color:var(--paper);
  background-image:
    linear-gradient(180deg, rgba(241,244,247,.34) 0%, rgba(241,244,247,.50) 55%, rgba(241,244,247,.66) 100%),
    url('../assets/portal-bg.jpg');
  background-size:cover; background-position:center 30%; background-attachment:fixed;
}
:root[data-theme="light"] .admin-main{ background:transparent; }
:root[data-theme="light"] .admin-main > section{
  background:rgba(247,248,250,.80); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.7); border-radius:28px; padding:28px 30px; max-width:1100px;
  box-shadow:0 18px 40px -26px rgba(27,31,36,.35);
}
@media (max-width:760px){ :root[data-theme="light"] .admin-main > section{ padding:18px 16px; border-radius:22px; } }

/* ---------- sidebar & top line ---------- */
:root[data-theme="light"] .admin-nav{ background:linear-gradient(180deg,#2e3138 0%,#24272d 100%); }
.admin-nav a{ border-radius:999px; border-left:none; }
:root[data-theme="light"] .admin-nav a.active{ background:rgba(255,255,255,.14); color:#fff; border-left:none; }
:root[data-theme="light"] .admin-nav a.active .nav-ico{ color:#fff; }
.admin-topline::after{ background:var(--accent); }
.welcome{ border-radius:28px; background:linear-gradient(135deg,#ffffff 0%, #eef0f3 100%); }
.welcome::before{ background:var(--accent); width:0; }
body.theme-laperla .welcome{ background:linear-gradient(135deg,#ffffff 0%, #eceff3 100%); }
body.theme-laperla .welcome::before{ background:#0d1b2a; }
.welcome-date, .acct-group-title, .occ-stat-num{ color:var(--accent); }
.welcome-sub{ font-style:normal; }

/* ---------- surfaces: cards, tiles, rows, tables ---------- */
.card, .report-charts, .notice-form, .tm-form, .notice-card, .mv-up-row, .acct-row, .tm-scroll, .req-type-tile{
  border-radius:24px; border:1px solid var(--line); border-top:1px solid var(--line); background:var(--surface); box-shadow:var(--shadow-sm);
}
.occ-stat{ border-radius:22px; border:1px solid var(--line); border-top:1px solid var(--line); background:var(--surface); box-shadow:var(--shadow-sm); }
.booking-row, .dash-urgent-row, .report-picker-row, .quote-history-row{
  border-radius:20px !important; border:1px solid var(--line); border-left:1px solid var(--line); background:var(--surface);
}
.booking-row:hover{ background:#f7f8fa; border-color:#c8cfd6; }
.notice-card, .mv-up-row{ border-left:1px solid var(--line); }
.mv-up-row.soon{ border-left:4px solid var(--danger); }
.dash-urgent{ border-radius:22px; border:1px solid var(--danger); border-left:4px solid var(--danger); }
.units-table-wrap{ border-radius:24px; border:1px solid var(--line); overflow:hidden; background:var(--surface); box-shadow:var(--shadow-sm); }
.cal-grid{ border-radius:22px; overflow:hidden; }
.quote-box, .quote-hero, .quote-approval-banner, .quote-table, .quote-locked-field{ border-radius:20px !important; }
.report-picker-list{ border-radius:20px !important; }
.dash-qa-btn{ border-radius:999px; }
.dash-qa-btn:hover{ border-color:var(--accent); color:var(--accent); }
.modal{ border-radius:28px !important; border-top:0 !important; box-shadow:var(--shadow-lg); }
.toast{ border-radius:18px; background:var(--accent); border-left:0; }

/* ---------- buttons, chips, tabs, inputs ---------- */
.btn{ border-radius:999px; letter-spacing:.02em; font-weight:700; text-transform:none; }
.btn-primary, .btn-accent{ background:var(--accent); border-color:var(--accent); color:#fff; }
.btn-primary:hover, .btn-accent:hover{ background:#1f242b; border-color:#1f242b; }
.btn-outline{ border-color:#c1c8d0; color:var(--accent); background:#fff; }
.btn-outline:hover{ background:var(--accent); border-color:var(--accent); color:#fff; }
.chip, .date-chip, .slot, .pill, .report-booked-chip{ border-radius:999px; letter-spacing:.02em; font-weight:600; }
.date-chip, .slot{ border-radius:16px; }
.chip:hover, .slot:hover, .date-chip:hover{ border-color:var(--accent); color:var(--accent); }
.chip.active, .slot.selected, .date-chip.selected{ background:var(--accent); border-color:var(--accent); color:#fff; }
.tabs{ border-radius:999px; background:var(--surface-2); padding:5px; gap:4px; border-bottom:none; width:fit-content; }
.tabs button{ border-radius:999px; text-transform:none; letter-spacing:.02em; font-weight:700; }
.tabs button.active{ background:#fff; color:var(--accent); box-shadow:var(--shadow-sm); border-bottom:none; }
input, select, textarea{ border-radius:14px; border:1px solid #cdd3da; background:#fff; }
input:focus, select:focus, textarea:focus{ border-color:var(--accent); outline:3px solid rgba(44,51,60,.14); }
.steps .seg{ border-radius:999px; }
.steps .seg.done{ background:var(--accent); }
.bar-chart-track, .bar-chart-fill, .report-bar-mini, .report-bar-mini span{ border-radius:999px; }
.bar-chart-fill, .report-bar-mini span{ background:var(--accent); }
.units-table select.unit-status-select{ border-radius:999px; }
.units-table input.unit-price-input{ border-radius:12px; }
.icon-back-btn, .notif-bell-btn{ border-radius:999px; }
.notif-bell-btn.active{ background:var(--accent-tint); color:var(--accent); }
.notif-row.unread{ background:var(--accent-tint); }
.spinner{ border-top-color:var(--accent); }

/* ---------- staff PIN login card ---------- */
#login-screen .card{ border-radius:28px; border:1px solid rgba(255,255,255,.8); border-top:1px solid rgba(255,255,255,.8); background:rgba(255,255,255,.94); box-shadow:var(--shadow-lg); padding:36px 34px !important; }
#login-screen .card img{ filter:none; }
#login-screen .card h2{ font-size:22px; font-weight:800; text-transform:none; letter-spacing:-.01em; }
:root[data-theme="light"] .login-foot{ border-top:1px solid var(--line); letter-spacing:.12em; }

/* ---------- client pages ---------- */
.client-photo-page .topbar{ background:rgba(255,255,255,.80); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid rgba(224,220,213,.8); }
.client-photo-page .hero{ max-width:720px; margin:34px auto 26px; padding:28px 34px 26px; background:rgba(255,255,255,.80); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,.85); border-radius:32px; text-align:center; box-shadow:var(--shadow-md); }
.client-photo-page .hero h1{ margin-top:6px; }
.client-photo-page .hero p{ color:var(--ink-soft); }
.client-photo-page .options .card{ background:rgba(255,255,255,.94); }
@media (max-width:640px){ .client-photo-page .hero{ margin:18px 14px 18px; padding:22px 20px; border-radius:26px; } }

/* ---------- quotation form: numbered section cards ---------- */
.quote-layout .fsec{ background:var(--surface); border:1px solid var(--line); border-radius:24px; padding:18px 20px 8px; margin-bottom:14px; box-shadow:var(--shadow-sm); }

/* inputs & buttons use the site font everywhere (staff pages default to serif) */
input, select, textarea, button{ font-family:var(--font-body); }
:root[data-theme="light"] input:not([type=checkbox]):not([type=radio]):not([type=range]),
:root[data-theme="light"] select,
:root[data-theme="light"] textarea{ border:1px solid #cdd3da; border-bottom:1px solid #cdd3da; border-radius:14px; background:#fff; padding-left:14px; }
:root[data-theme="light"] .hint, :root[data-theme="light"] #login-screen .card .hint{ font-style:normal; }
:root[data-theme="light"] .btn{ font-family:var(--font-body); }

/* ---------- type: Archivo everywhere (the staff stylesheet forced Georgia) ---------- */
body, input, select, textarea, button, table, .btn, .btn-sm, .pill, .tabs button, .admin-nav a, .chip, .dash-qa-btn,
b.num, .occ-stat-num, .req-elapsed-num, .report-stat-num, .lp-wordmark, .lp-wordmark-sub, .welcome-hi, .admin-topline h2{
  font-family:'Archivo','Helvetica Neue',Arial,sans-serif !important;
}
body{ font-size:14.5px; line-height:1.55; }
h1,h2,h3,h4{ font-weight:800; line-height:1.2; }
h3,h4{ font-weight:700; }
.occ-stat-num{ font-weight:800; font-size:38px; font-variant-numeric:tabular-nums; }
.admin-topline h2{ font-weight:800; }
.welcome-hi{ font-weight:800; }
.admin-nav a{ font-weight:600; letter-spacing:.02em; font-size:13.5px; }
.btn, .btn-sm{ letter-spacing:.02em; font-weight:700; }
.btn{ padding:12px 24px; }
.btn-sm{ padding:8px 16px; }
.chip, .tabs button{ font-weight:600; letter-spacing:.01em; }
label, .eyebrow, .req-col-label, .req-kv span, .req-notes span, .req-log-title, .cal-dow,
.occ-stat-label, .acct-group-title{ letter-spacing:.08em; font-weight:700; }

/* ---------- tables: soft grey header instead of brown ---------- */
.units-table th, .mv-table th, .units-table th:last-child, .mv-table th:last-child{
  background:#e8ebef !important; color:var(--ink-soft); font-weight:700; letter-spacing:.04em; border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 var(--line) !important; text-transform:none;
}
.units-table tbody tr:nth-child(even){ background:#f7f8fa; }
.units-table td, .mv-table td{ border-bottom:1px solid var(--line-soft); }

/* ---------- sidebar buttons on the dark panel ---------- */
.admin-nav .btn-outline{ background:transparent; border-color:rgba(255,255,255,.38); color:#fff; }
.admin-nav .btn-outline:hover{ background:#fff; color:var(--accent); border-color:#fff; }
.admin-nav .btn-ghost{ color:#e4e7ea; }
.nav-home-btn{ border-radius:999px; border:1px solid rgba(255,255,255,.3); background:transparent; color:#fff; }
.nav-home-btn:hover{ background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.5); }
.admin-nav .brand img{ filter:brightness(0) invert(1); }
.admin-nav .brand-name{ color:#fff; }

/* ---------- page heading bar ---------- */
:root[data-theme="light"] .admin-topline{
  background:rgba(247,248,250,.82); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.7); border-radius:24px; padding:16px 26px; margin-bottom:20px;
}
.admin-topline::after{ display:none; }
.admin-topline h2{ font-size:clamp(22px,2.6vw,28px); }

/* ---------- warm brown leftovers -> graphite ---------- */
.notice-card, .mv-up-row{ border-left-color:var(--line); }
.req-fees{ background:var(--accent-tint); border-color:var(--line); }
.modal{ border-top:0 !important; }
.chip-count{ border-radius:999px; }
.dash-urgent{ border-radius:22px; }
.nav-home-btn{ border-radius:999px !important; }

/* quotation preview: tiles & tables fit their figures */
.quote-layout .occ-stat-num{ font-size:19px; white-space:nowrap; letter-spacing:-.01em; }
.quote-layout .occ-stat{ padding:14px 12px; }
.quote-table .quote-amt, .quote-table-amt{ white-space:nowrap; }
.report-table th{ background:var(--accent); color:#fff; border-bottom:none; }
.report-table th:first-child{ border-top-left-radius:12px; }
.report-table th:last-child{ border-top-right-radius:12px; }

/* =====================================================================
   v18.1 fixes
   ===================================================================== */

/* page heading bar: no blank space left by the hidden calendar filters */
.admin-topline-actions > [style*="visibility:hidden"], .admin-topline-actions > [style*="visibility: hidden"]{ display:none !important; }
:root[data-theme="light"] .admin-topline{ align-items:center; min-height:0; }
.admin-topline h2{ margin:0; }

/* calendar */
.cal-dow{ background:#2c333c !important; color:#fff; border-right:1px solid #3a434d !important; font-weight:700; letter-spacing:.1em; }
.cal-cell:hover{ background:#f1f3f5; }
.cal-cell.today{ background:#e8ebef !important; box-shadow:inset 0 0 0 2px #2c333c !important; }
.cal-cell.out{ background:#f3f5f7 !important; }
.cal-cell.sel{ border-color:var(--accent); }
.cal-cell-line{ border-left-color:var(--accent); }
.cal-cell .dnum{ font-weight:700; font-size:16px; }

/* notifications panel: rounded floating card, solid so nothing shows through */
:root[data-theme="light"] .notif-rail{
  background:#fff; border:1px solid var(--line); border-left:1px solid var(--line); border-radius:28px;
  margin:16px 16px 16px 0; top:16px; min-height:0; height:calc(100vh - 32px); overflow:hidden;
  box-shadow:0 18px 40px -26px rgba(27,31,36,.4);
}
.notif-rail-head{ border-bottom:1px solid var(--line); padding:18px 18px 12px; }
.notif-rail-head strong{ font-size:14px; text-transform:none; letter-spacing:0; font-weight:800; }
.notif-list{ padding:10px 10px 14px; }
.notif-row{
  border:1px solid var(--line); border-left:1px solid var(--line); border-radius:18px; margin:0 0 8px; padding:11px 13px;
  background:#fff; overflow:hidden;
}
.notif-row.nr-booked{ box-shadow:inset 4px 0 0 var(--success); }
.notif-row.nr-amended{ box-shadow:inset 4px 0 0 var(--warning); }
.notif-row.nr-cancelled{ box-shadow:inset 4px 0 0 var(--danger); }
.notif-row.unread{ background:#f1f3f5; }
.notif-row .nr-msg, .notif-row .nr-label{ overflow-wrap:anywhere; word-break:break-word; }
.notif-row .nr-label{ letter-spacing:.06em; }

/* units table: building + unit stay put while scrolling */
.units-table td:first-child, .units-table th:first-child{ position:sticky; left:0; }
.units-table td.unit-no-cell, .units-table td:first-child{ background:var(--surface); }
.units-table tbody tr.status-vacant td.unit-no-cell{ background:var(--success-tint); }
.units-table tbody tr.status-renovation td.unit-no-cell{ background:var(--renovation-tint); }
.units-table tbody tr.status-maintenance td.unit-no-cell{ background:var(--maintenance-tint); }
.units-table tbody tr.status-hold td.unit-no-cell{ background:var(--warning-tint); }
.units-table tbody tr.status-booked td.unit-no-cell{ background:var(--danger-tint); }
.units-table.has-building th:first-child, .units-table.has-building td:first-child{ width:124px; min-width:124px; max-width:112px; overflow:hidden; text-overflow:ellipsis; }
.units-table.has-building th.th-unit, .units-table.has-building td.unit-no-cell{ position:sticky; left:112px; z-index:2; box-shadow:2px 0 0 var(--line); }
.units-table.has-building th.th-unit{ z-index:4; }
.units-table td.unit-no-cell{ font-weight:700; }
.units-table:not(.has-building) td:first-child{ box-shadow:2px 0 0 var(--line); }

/* quotation preview figures fit their tiles */
.quote-layout .occ-stats{ grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; }
.quote-layout .occ-stat{ padding:12px 14px; overflow:hidden; }
.quote-layout .occ-stat-num{ font-size:17px; }
.quote-layout .occ-stat-label{ letter-spacing:.04em; font-size:11px; }

/* =====================================================================
   PHONE — smaller type, tighter spacing, nothing wider than the screen
   ===================================================================== */
@media (max-width:760px){
  body{ font-size:13px; line-height:1.5; }
  :root[data-theme="light"] .admin-main{ padding:10px 8px 40px; }
  :root[data-theme="light"] .admin-main > section{ padding:12px 10px; border-radius:20px; }
  :root[data-theme="light"] .admin-topline{ padding:10px 14px; border-radius:18px; margin-bottom:10px; }
  .admin-topline h2{ font-size:18px; }
  .welcome{ padding:14px 16px; border-radius:20px; margin-bottom:14px; }
  .welcome-hi{ font-size:19px; }
  .welcome-sub{ font-size:12.5px; }
  .welcome-date{ font-size:10.5px; }
  .occ-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:14px; }
  .occ-stat{ padding:12px 12px 10px; border-radius:16px; }
  .occ-stat-num{ font-size:24px; }
  .occ-stat-label{ font-size:10.5px; letter-spacing:.05em; }
  .card, .report-charts, .notice-form, .tm-form{ border-radius:20px; padding:14px; }
  .booking-row, .dash-urgent-row, .report-picker-row{ border-radius:16px !important; padding:10px 12px; }
  .btn{ padding:9px 16px; font-size:13px; }
  .btn-sm{ padding:6px 12px; font-size:12px; }
  .chip{ padding:6px 12px; font-size:12px; }
  .chip-row{ gap:6px; }
  .tabs{ max-width:100%; overflow-x:auto; }
  .tabs button{ padding:7px 12px; font-size:12px; white-space:nowrap; }
  input, select, textarea{ font-size:16px; padding:9px 12px; } /* 16px stops iPhones zooming on focus */
  .units-table, .mv-table, .report-table{ font-size:12px; }
  .units-table td, .mv-table td{ padding:7px 9px; }
  .units-table th, .mv-table th{ padding:8px 9px; font-size:11px; }
  .units-table-wrap{ border-radius:18px; max-height:68vh !important; }
  .units-table.has-building th:first-child, .units-table.has-building td:first-child{ width:78px; min-width:78px; max-width:78px; }
  .units-table.has-building th.th-unit, .units-table.has-building td.unit-no-cell{ left:78px; }
  .cal-cell{ border-radius:0; }
  .cal-dow{ padding:7px 0; }
  .modal{ border-radius:22px !important; max-width:calc(100vw - 16px); padding:18px 16px; }
  .quote-layout .fsec{ border-radius:20px; padding:14px 14px 4px; }
  .quote-layout .occ-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  :root[data-theme="light"] .notif-rail{ margin:0 8px 12px; top:auto; height:auto; max-height:340px; border-radius:22px; }
  .admin-nav a{ font-size:9.5px; }
  :root[data-theme="light"] .admin-nav{ background:linear-gradient(180deg,#2e3138 0%,#24272d 100%); }
  .admin-nav a.active{ border-radius:14px; }
  /* staff chooser + client pages */
  .client-photo-page .hero h1{ font-size:24px; }
  #login-screen .card{ padding:24px 20px !important; border-radius:24px; }
}
@media (max-width:400px){
  body{ font-size:12.5px; }
  .admin-nav a{ font-size:9px; }
  .occ-stat-num{ font-size:21px; }
  :root[data-theme="light"] .admin-main > section{ padding:10px 8px; }
}

/* v19 touch-ups: notification dot, status tints (no beige), phone rail */
.notif-row{ padding:12px 14px 12px 28px; }
.notif-row .nr-dot{ left:13px; top:17px; }
.notif-row .nr-label{ font-size:10px; }
.notif-row .nr-msg{ font-size:13px; font-weight:600; }
.units-table tbody tr.status-hold td, .units-table tbody tr.status-renovation td, .units-table tbody tr.status-maintenance td{ background-color:#eceff3; }
.units-table tbody tr.status-hold td.unit-no-cell, .units-table tbody tr.status-renovation td.unit-no-cell, .units-table tbody tr.status-maintenance td.unit-no-cell{ background-color:#e3e7ec; }
@media (max-width:760px){
  .admin-shell{ grid-template-columns:70px 1fr; }
  .admin-nav{ padding:calc(env(safe-area-inset-top,0px) + 10px) 5px 12px; gap:3px; }
  .admin-nav .brand-name{ display:none; }
  .admin-nav .brand img{ width:34px; height:auto; }
  .admin-nav a{ font-size:9px; padding:8px 2px; }
  .admin-nav .nav-ico{ width:18px; height:18px; }
  .admin-nav .nav-home-btn, .admin-nav #share-link-btn, .admin-nav #push-toggle-btn, .admin-nav #logout-btn{
    border-radius:14px !important; font-size:8.5px; padding:6px 2px; border-width:1px;
  }
  .admin-nav a.active{ border-radius:14px; }
  .notif-row{ padding:10px 12px 10px 26px; }
}
.units-table tbody tr.status-hold td, .units-table tbody tr.status-renovation td, .units-table tbody tr.status-maintenance td,
.units-table tbody tr.status-hold td:first-child, .units-table tbody tr.status-renovation td:first-child, .units-table tbody tr.status-maintenance td:first-child{ background-color:#eceff3 !important; }
.units-table tbody tr.status-hold td.unit-no-cell, .units-table tbody tr.status-renovation td.unit-no-cell, .units-table tbody tr.status-maintenance td.unit-no-cell{ background-color:#e3e7ec !important; }
@media (max-width:760px){
  .admin-nav .nav-home-btn, .admin-nav #share-link-btn, .admin-nav #push-toggle-btn, .admin-nav #logout-btn{ font-size:8.5px !important; padding:6px 2px !important; line-height:1.2 !important; }
  .admin-nav a{ font-size:9px !important; }
}

/* =====================================================================
   v20 — occupancy + reports in the quotation style
   (graphite letterhead, boxed sections with dark title bands)
   ===================================================================== */
:root,:root[data-theme="light"],:root[data-theme="dark"]{
  --renovation:#2f7f86; --maintenance:#8a4a68;
}

/* --- boxed sections with a dark title band (on screen) --- */
.card.occ-box{ padding:0; overflow:hidden; border-radius:22px; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.occ-box > h3, .occ-box > .dash-section-head{
  margin:0; padding:12px 22px; background:var(--accent); color:#fff;
  font-size:11.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
}
.occ-box > .dash-section-head{ display:flex; align-items:center; justify-content:space-between; }
.occ-box > .dash-section-head h3{ margin:0; font-size:11.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:#fff; }
.occ-box .dash-card-link{ color:#fff; font-size:11.5px; font-weight:700; text-decoration:none; letter-spacing:.06em; background:rgba(255,255,255,.14); padding:5px 12px; border-radius:999px; }
.occ-box .dash-card-link:hover{ background:rgba(255,255,255,.26); }
.occ-box > :not(h3):not(.dash-section-head){ margin-left:22px; margin-right:22px; }
.occ-box > :nth-child(2){ margin-top:20px; }
.occ-box > :last-child{ margin-bottom:22px; }
.occ-box .bar-chart, .occ-box .donut-row{ margin-bottom:22px; }
.occ-box > :last-child{ margin-bottom:22px !important; }

/* --- stat tiles: centred, equal, clean --- */
.occ-stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(104px,1fr)); gap:12px; margin-bottom:0; align-items:stretch; }
.occ-stat{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:6px;
  padding:20px 10px 16px; min-height:112px; border-radius:20px; }
.occ-stat-num{ font-size:34px; line-height:1; margin:0; }
.occ-stat-label{ font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); line-height:1.25; margin:0; text-align:center; }
.occ-box .occ-stat{ background:#f3f5f7; box-shadow:none; border:1px solid var(--line); }

/* --- printed / previewed reports --- */
body.report-print-body{ font-family:'Archivo','Helvetica Neue',Arial,sans-serif !important; color:var(--ink); max-width:800px; margin:0 auto; padding:26px; background:#fff; }
.report-letterhead{
  display:flex; align-items:center; gap:16px; margin:0 0 18px; padding:18px 22px;
  background:linear-gradient(180deg,#2e3138,#24272d); color:#fff; border:0; border-radius:22px;
  -webkit-print-color-adjust:exact; print-color-adjust:exact;
}
.report-letterhead::after{ display:none; }
.report-logo{ height:46px; width:auto; filter:brightness(0) invert(1); }
.report-company{ color:#fff; font-size:15px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.report-letterhead .report-eyebrow{ color:#aeb3b9; font-size:10px; font-weight:800; letter-spacing:.26em; margin:6px 0 0; }
.report-doc-conf{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.45); border-radius:999px; padding:5px 14px; font-size:9px; letter-spacing:.24em; font-weight:800; text-transform:uppercase; }
.report-head{ text-align:left; margin:0 4px 14px; }
.report-head h1{ font-size:26px; font-weight:800; letter-spacing:-.01em; margin:0; }
.report-head h1.report-title-long{ font-size:19px; }
.report-meta{ font-size:10.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-top:6px; }
.report-narrative{ background:#f3f5f7; border:1px solid var(--line); border-radius:18px; padding:14px 18px; margin:0 0 18px; font-size:13px; line-height:1.55; color:var(--ink-soft); font-style:normal; text-align:left; max-width:none; }

.report-section-title{
  margin:0; padding:10px 20px; background:var(--accent); color:#fff; border:0; border-radius:14px 14px 0 0;
  font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  -webkit-print-color-adjust:exact; print-color-adjust:exact;
}
.report-section-title + .report-table, .report-section-title + .report-charts{
  border:1px solid var(--line); border-top:0; border-radius:0 0 18px 18px; margin-bottom:20px; overflow:hidden;
}
.report-charts{ background:#fff; padding:18px 20px; align-items:center; }
.report-table{ border-collapse:separate; border-spacing:0; width:100%; font-size:12.5px; background:#fff; }
.report-table th{ background:#e8ebef !important; color:var(--ink-soft); font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:9px 12px; border-bottom:1px solid var(--line); text-align:left; }
.report-table td{ padding:10px 12px; border-bottom:1px solid var(--line-soft); }
.report-table tbody tr:nth-child(even):not(.report-table-totals){ background:#f7f8fa; }
.report-table tbody tr:last-child td{ border-bottom:0; }
.report-table-totals td{ font-weight:800; background:#e8ebef !important; border-top:1px solid var(--line); }
.report-table td:not(:first-child), .report-table th:not(:first-child){ text-align:center; }
.report-occ-cell{ justify-content:center; }
.report-bar-mini{ background:#e1e5e9; }
.report-bar-mini span{ background:var(--accent); }

.report-stats{ gap:10px; margin-bottom:20px; }
.report-stat{ background:#f3f5f7; border:1px solid var(--line); border-top:1px solid var(--line); border-radius:18px; padding:16px 6px 14px; box-shadow:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.report-stat-num{ font-size:24px; font-weight:800; line-height:1.1; }
.report-stat-label{ font-size:9.5px; letter-spacing:.08em; margin-top:5px; text-align:center; }

.report-building-page{ border-top:0; padding-top:0; margin-top:0; }
.report-building-head{
  text-align:left; margin:0 0 16px; padding:16px 22px; border-radius:22px; color:#fff;
  background:linear-gradient(180deg,#2e3138,#24272d); -webkit-print-color-adjust:exact; print-color-adjust:exact;
}
.report-building-eyebrow{ color:#aeb3b9; font-size:10px; letter-spacing:.22em; margin:0 0 6px; }
.report-building-title{ display:block; color:#fff; font-size:22px; font-weight:800; padding:0; text-align:left; }
.report-building-title::after{ display:none; }
.report-building-page .report-section-title + .report-table{ margin-bottom:0; }
.report-summary-mini, .report-booked-list{ max-width:none; }
.report-booked-list{ border:1px solid var(--line); border-radius:18px; padding:16px 18px; background:#fff; }
.report-booked-group-label{ color:var(--ink-soft); letter-spacing:.1em; }
.report-booked-chip{ background:#e8ebef; border:1px solid var(--line); border-radius:999px; }
.report-footer{ text-align:center; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); border-top:1px solid var(--line); margin-top:22px; padding-top:14px; }

@media (max-width:760px){
  .occ-box > h3, .occ-box > .dash-section-head{ padding:11px 16px; }
  .occ-box > :not(h3):not(.dash-section-head){ margin-left:14px; margin-right:14px; }
  .occ-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .occ-stat{ min-height:92px; padding:14px 8px 12px; }
  .occ-stat-num{ font-size:28px; }
  .occ-stat-label{ font-size:10px; }
  .occ-stats > .occ-stat:last-child:nth-child(odd){ grid-column:1 / -1; }
}

/* v20 report fixes */
.report-stats{ border:0 !important; gap:10px !important; }
.report-footer::before{ display:none !important; }
.report-table th{ padding:9px 8px; letter-spacing:.06em; font-size:9.5px; }
.report-table td{ padding:10px 8px; }
.report-table td:first-child, .report-table th:first-child{ white-space:nowrap; padding-left:14px; }
.report-occ-cell{ gap:6px; }
.report-bar-mini{ width:44px; }
.report-booked-group{ padding:10px 0; border-bottom:1px solid var(--line-soft); margin:0; }
.report-booked-group:last-child{ border-bottom:0; }

/* 7-tile occupancy overview: occupancy-rate bar across the top, six counts in a tidy 3x2 grid */
.occ-box .occ-stats:has(> .occ-stat:nth-child(7)){ grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.occ-box .occ-stats > .occ-stat-rate{ grid-column:1 / -1; order:-1; min-height:0; padding:18px 24px 20px; background:#fff; border:1px solid var(--line); gap:4px; }
.occ-box .occ-stats > .occ-stat-rate .occ-stat-num{ font-size:40px; color:var(--accent); }
.occ-box .occ-stats > .occ-stat-rate::after{
  content:""; display:block; width:100%; max-width:520px; height:8px; margin-top:10px; border-radius:999px;
  background:linear-gradient(90deg,var(--accent) var(--rate,0%), #e3e7ec var(--rate,0%));
}

@media (max-width:760px){
  .occ-box .occ-stats:has(> .occ-stat:nth-child(7)){ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .occ-box .occ-stats > .occ-stat-rate{ padding:14px 16px 16px; }
  .occ-box .occ-stats > .occ-stat-rate .occ-stat-num{ font-size:34px; }
}

/* printed report overview (replaces the old duplicate "status breakdown") */
.report-overview{ border:1px solid var(--line); border-top:0; border-radius:0 0 14px 14px; padding:16px; margin-bottom:20px; background:#fff; }
.report-rate{ border:1px solid var(--line); border-radius:16px; text-align:center; padding:12px 10px 14px; margin-bottom:10px; }
.report-rate-num{ font-size:32px; font-weight:800; line-height:1; color:var(--accent); }
.report-rate-label{ font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-top:6px; }
.report-rate-bar{ height:8px; border-radius:999px; max-width:380px; margin:10px auto 0; background:linear-gradient(90deg,var(--accent) var(--rate,0%), #e3e7ec var(--rate,0%)); -webkit-print-color-adjust:exact; print-color-adjust:exact; }
.report-overview .report-stats{ margin-bottom:0; }
.report-stat-booked{ border-top-color:var(--line) !important; }
.report-stat-booked .report-stat-num{ color:var(--danger); }
.report-stat-vacant .report-stat-num{ color:var(--success); }

@media print{
  .report-page[data-page-key="general"] .report-overview{ padding:10px 12px; margin-bottom:10px; }
  .report-page[data-page-key="general"] .report-rate{ padding:6px 10px 8px; margin-bottom:8px; }
  .report-page[data-page-key="general"] .report-rate-num{ font-size:26px; }
  .report-page[data-page-key="general"] .report-rate-bar{ margin-top:6px; }
  .report-page[data-page-key="general"] .report-stat{ padding:8px 4px 7px; }
  .report-page[data-page-key="general"] .report-stat-num{ font-size:20px; }
  .report-page[data-page-key="general"] .report-section-title + .report-table{ margin-bottom:10px; }
  .report-page[data-page-key="general"] .report-booked-list{ padding:8px 14px; }
  .report-page[data-page-key="general"] .report-booked-group{ padding:6px 0; }
  .report-page[data-page-key="general"] .report-letterhead{ padding:12px 18px; margin-bottom:10px; }
  .report-page[data-page-key="general"] .report-logo{ height:34px; }
}

/* "Today" — booked today is the headline of the report */
.report-today{ display:grid; grid-template-columns:1.5fr 1fr; gap:12px; border:1px solid var(--line); border-top:0; border-radius:0 0 14px 14px; padding:14px; margin-bottom:18px; background:#fff; }
.report-today-main{ background:#fbeceb; border:1px solid #efc6c2; border-radius:16px; padding:14px 18px 12px; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
.report-today-side{ background:#f3f5f7; border:1px solid var(--line); border-radius:16px; padding:14px 18px 12px; }
.report-today-head{ display:flex; align-items:baseline; gap:12px; margin-bottom:10px; }
.report-today-num{ font-size:46px; font-weight:800; line-height:1; color:var(--danger); font-variant-numeric:tabular-nums; }
.report-today-num-vacant{ color:var(--success); }
.report-today-side .report-today-num{ font-size:32px; }
.report-today-label{ font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.report-today-main .report-booked-chip{ background:#fff; border:1px solid #e3b4af; font-size:13px; font-weight:700; padding:6px 13px; }
.report-week{ display:grid; grid-template-columns:1fr 1fr; gap:12px; border:1px solid var(--line); border-top:0; border-radius:0 0 14px 14px; padding:14px; margin-bottom:18px; background:#fff; }
.report-week-col{ background:#f3f5f7; border:1px solid var(--line); border-radius:16px; padding:12px 16px 10px; }
.report-week-num{ font-size:26px; font-weight:800; line-height:1; color:var(--danger); }
.report-week-num.report-today-num-vacant{ color:var(--success); }
@media print{
  .report-page[data-page-key="general"] .report-today, .report-page[data-page-key="general"] .report-week{ padding:10px; margin-bottom:10px; }
  .report-page[data-page-key="general"] .report-today-main{ padding:10px 14px 8px; }
  .report-page[data-page-key="general"] .report-today-num{ font-size:38px; }
  .report-page[data-page-key="general"] .report-today-side{ padding:10px 14px 8px; }
  .report-page[data-page-key="general"] .report-week-col{ padding:8px 12px 6px; }
}
@media print{
  .report-page[data-page-key="general"] .report-narrative{ padding:7px 14px; margin:0 0 10px; }
  .report-page[data-page-key="general"] .report-head{ margin-bottom:8px; }
  .report-page[data-page-key="general"] .report-today-num{ font-size:34px; }
  .report-page[data-page-key="general"] .report-today-head{ margin-bottom:6px; }
  .report-footer{ margin-top:10px; padding-top:8px; }
}

/* =====================================================================
   v25 — Executive portal: to-do list + today/week boxes
   ===================================================================== */
.xt-form-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0 14px; }
.xt-form-grid .field{ margin-bottom:14px; }
.xt-f-title{ grid-column:1 / 3; }
.xt-f-notes{ grid-column:1 / -1; }
.xt-form-grid input, .xt-form-grid select, .xt-form-grid textarea{ width:100%; }
.xt-add{ margin-bottom:18px; }
.xt-add-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 22px 18px; }
.xt-filters{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.xt-chip{ display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:#fff; color:var(--ink-soft); border-radius:999px; padding:7px 14px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.xt-chip b{ font-weight:800; color:var(--ink); }
.xt-chip.active{ background:#2c333c; border-color:#2c333c; color:#fff; }
.xt-chip.active b{ color:#fff; }
.xt-chip-alert:not(.active) b{ color:var(--danger); }
.xt-done-count{ margin-left:auto; font-size:12px; color:var(--ink-soft); font-weight:600; }
.xt-list{ display:flex; flex-direction:column; gap:8px; }
.xt-row{ display:flex; align-items:flex-start; gap:14px; background:var(--xt-bg); border:1px solid rgba(44,51,60,.08); border-left:5px solid var(--xt-bar); border-radius:14px; padding:12px 14px; }
.xt-check{ flex:none; width:24px; height:24px; margin-top:1px; border-radius:50%; border:2px solid var(--xt-bar); background:#fff; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.xt-check svg{ width:14px; height:14px; }
.xt-main{ flex:1; min-width:0; cursor:pointer; }
.xt-title{ font-weight:700; font-size:15px; color:var(--ink); line-height:1.3; }
.xt-flag{ display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--danger); margin-right:8px; vertical-align:middle; }
.xt-notes{ font-size:13px; color:var(--ink-soft); margin-top:3px; white-space:pre-wrap; }
.xt-meta{ display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; margin-top:7px; font-size:12px; font-weight:600; color:var(--ink-soft); }
.xt-cat{ background:rgba(255,255,255,.75); border:1px solid rgba(44,51,60,.1); border-radius:999px; padding:2px 10px; letter-spacing:.02em; }
.xt-due.xt-overdue{ color:var(--danger); font-weight:800; }
.xt-due.xt-today{ color:#2c333c; font-weight:800; }
.xt-bell{ display:inline-flex; align-items:center; gap:5px; }
.xt-bell svg{ width:13px; height:13px; }
.xt-bell-sent{ opacity:.55; }
.xt-del{ flex:none; border:0; background:transparent; font-size:22px; line-height:1; color:var(--ink-soft); cursor:pointer; padding:0 4px; opacity:.55; }
.xt-del:hover{ opacity:1; color:var(--danger); }
.xt-row.xt-done{ background:#f3f5f7; border-left-color:#c9d0d8; }
.xt-row.xt-done .xt-title{ text-decoration:line-through; color:var(--ink-soft); font-weight:500; }
.xt-row.xt-done .xt-notes, .xt-row.xt-done .xt-meta{ opacity:.6; }
.xt-row.xt-done .xt-check{ background:#8b97a5; border-color:#8b97a5; }
.xt-empty{ text-align:center; color:var(--ink-soft); padding:26px 10px; font-size:14px; background:#f3f5f7; border-radius:14px; }
.xt-quick input{ width:100%; margin-bottom:10px; }
.xt-card-alert{ display:inline-block; background:#fbeceb; color:var(--danger); border:1px solid #efc6c2; font-size:12px; font-weight:800; border-radius:999px; padding:3px 11px; margin-bottom:10px; }
.xt-list-compact .xt-row{ padding:9px 12px; }
.xt-list-compact .xt-title{ font-size:14px; }

/* Executive dashboard — today / this week boxes */
.exec-box .report-today, .exec-box .report-week{ border:0; padding:0; margin:0; background:transparent; }
.exec-box .report-today{ margin-bottom:4px; }
.exec-box .report-today-main .report-today-num{ font-size:54px; }
.exec-box .report-week{ margin-bottom:4px; }

@media (max-width:760px){
  .xt-form-grid{ grid-template-columns:1fr 1fr; }
  .xt-f-title{ grid-column:1 / -1; }
  .xt-form-grid input[type=date], .xt-form-grid input[type=time]{ font-size:13px; padding-left:12px; padding-right:8px; min-width:0; }
  .xt-add-foot{ margin:2px 14px 14px; flex-direction:column; align-items:stretch; }
  .exec-box .report-today, .exec-box .report-week{ grid-template-columns:1fr; }
  .exec-box .report-today-main .report-today-num{ font-size:44px; }
}

/* =====================================================================
   v26 — Operations Tracker
   ===================================================================== */
.ot-chips{ margin-bottom:14px; }
.ot-box{ margin-bottom:16px; }
.ot-stats{ grid-template-columns:repeat(6,1fr) !important; margin-bottom:14px; }
.ot-tile{ background:var(--ot-bg) !important; border-color:rgba(44,51,60,.08) !important; border-bottom:4px solid var(--ot-bar) !important; }
.ot-table-wrap{ overflow-x:auto; margin-bottom:6px; }
.ot-table td:first-child, .ot-table th:first-child{ text-align:left; }
.ot-table td, .ot-table th{ text-align:center; padding:8px 10px; }
.ot-toolbar{ display:flex; justify-content:flex-end; margin-bottom:12px; }
.ot-list{ display:flex; flex-direction:column; gap:10px; }
.ot-row{ display:flex; gap:14px; align-items:flex-start; background:var(--ot-bg); border:1px solid rgba(44,51,60,.08); border-left:5px solid var(--ot-bar); border-radius:14px; padding:13px 16px; }
.ot-main{ flex:1; min-width:0; cursor:pointer; }
.ot-top{ display:flex; flex-wrap:wrap; gap:6px 8px; align-items:center; margin-bottom:6px; }
.ot-pri{ font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#fff; background:var(--ot-bar); border-radius:999px; padding:3px 10px; }
.ot-bld{ font-size:12px; font-weight:700; background:#2c333c; color:#fff; border-radius:999px; padding:2px 10px; }
.ot-loc{ font-size:12px; font-weight:700; background:rgba(255,255,255,.8); border:1px solid rgba(44,51,60,.1); border-radius:999px; padding:2px 10px; }
.ot-status{ font-size:11.5px; font-weight:700; color:var(--ink-soft); margin-left:auto; }
.ot-st-in_progress{ color:#3d4b5c; }
.ot-desc{ font-weight:700; font-size:15px; line-height:1.35; color:var(--ink); }
.ot-note{ font-size:13px; color:var(--ink-soft); margin-top:5px; white-space:pre-wrap; }
.ot-note b{ color:var(--ink); font-weight:700; }
.ot-meta{ display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:8px; font-size:12px; color:var(--ink-soft); font-weight:600; }
.ot-meta b{ color:var(--ink); }
.ot-overdue{ color:var(--danger); font-weight:800; }
.ot-added{ margin-left:auto; opacity:.7; }
.ot-actions{ flex:none; }
.ot-resolved-head{ margin:16px 0 10px; }
.ot-row.ot-done{ background:#f3f5f7; border-left-color:#c9d0d8; }
.ot-row.ot-done .ot-pri{ background:#8b97a5; }
.ot-row.ot-done .ot-desc{ text-decoration:line-through; color:var(--ink-soft); font-weight:500; }
.ot-form-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(138px,1fr)); gap:0 12px; }
.ot-form select, .ot-form input, .ot-form textarea{ width:100%; }
@media (max-width:760px){
  .ot-stats{ grid-template-columns:repeat(3,1fr) !important; }
  .ot-row{ flex-direction:column; }
  .ot-actions{ align-self:flex-end; }
  .ot-form-row{ grid-template-columns:1fr 1fr; }
  .ot-added{ margin-left:0; }
}

/* v27 — due-date colour states + accounts */
.xt-row, .ot-row{ border-left-color:var(--xt-bar, var(--ot-bar)); }
.xt-row.xt-st-soon, .ot-row.ot-st-soon{ border-color:rgba(224,183,43,.35); }
.xt-row.xt-st-due, .xt-row.xt-st-overdue, .ot-row.ot-st-due, .ot-row.ot-st-overdue{ border-color:rgba(200,96,91,.35); }
.xt-row.xt-done, .ot-row.ot-done{ background:var(--xt-bg, var(--ot-bg)); border-left-color:var(--xt-bar, var(--ot-bar)); }
.xt-row.xt-done .xt-check{ background:#4aa876; border-color:#4aa876; }
.xt-row.xt-st-done .xt-title, .ot-row.ot-st-done .ot-desc{ text-decoration:line-through; color:var(--ink-soft); }
.ot-pri{ background:var(--ot-pri, var(--ot-bar)); }
.ot-row.ot-done .ot-pri{ background:var(--ot-pri, #8b97a5); }
.xt-check{ border-color:var(--xt-bar); }
.acc-table td{ text-align:left !important; }
.acc-actions{ white-space:nowrap; text-align:right !important; }
.occ-box .ot-table-wrap{ margin-left:22px; margin-right:22px; }

.xt-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12px; font-weight:600; color:var(--ink-soft); margin:0 0 10px; }
.xt-legend i{ display:inline-block; width:12px; height:12px; border-radius:4px; border:1.5px solid; margin-right:6px; vertical-align:-2px; }

.acc-list{ display:flex; flex-direction:column; gap:10px; }
.acc-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; background:#f3f5f7; border:1px solid var(--line); border-radius:14px; padding:12px 16px; }
.acc-name{ font-weight:800; font-size:14px; }
.acc-email{ font-size:13px; color:var(--ink-soft); }
.acc-last{ font-size:12px; color:var(--ink-soft); opacity:.8; margin-top:2px; }
.acc-actions{ display:flex; gap:8px; align-items:center; text-align:left !important; }

/* ---- v28: Tenant Jobs, Google Reviews, Program Costs ---- */
.ot-toolbar{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.pj-flags{ display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:8px; font-size:12.5px; font-weight:700; color:#8a5a00; }
.pj-stars{ letter-spacing:2px; font-size:14px; }
.pj-act{ display:flex; flex-direction:column; gap:6px; align-items:stretch; }
.pj-check{ display:flex; gap:10px; align-items:center; font-size:14px; margin:6px 0; }
.pj-check input{ width:18px; height:18px; }
.pc-select{ border:1px solid var(--line); border-radius:999px; padding:9px 16px; font:inherit; background:#fff; }
.pc-rates{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; padding:4px 22px 18px; }
.pc-rate{ display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:var(--ink-soft); }
.pc-rate input{ border:1px solid var(--line); border-radius:12px; padding:9px 12px; font:inherit; }
.pi-parties{ display:flex; justify-content:space-between; gap:16px; margin:0 4px 6px; font-size:13px; }
.pi-table .num, .pi-table th.num{ text-align:right; }
.pi-table td{ vertical-align:top; }
.pi-sub td{ font-weight:800; background:#f3f5f7; }
.pi-total{ display:flex; justify-content:space-between; align-items:center; margin:18px 4px; padding:16px 22px; border-radius:18px; background:#2e3138; color:#fff; font-size:15px; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
.pi-total b{ font-size:22px; }
@media (max-width:760px){ .pj-act{ flex-direction:row; } .pi-parties{ flex-direction:column; } }

.pc-select{ width:auto !important; min-width:200px; }
.ot-fc{ opacity:.65; font-weight:700; margin-left:4px; }
.ot-status.ot-st-rejected{ color:#b4443f; }

/* v35: vacancy list floor picker */
.vl-row{ justify-content:space-between; cursor:default; }
.vl-name{ display:flex; align-items:center; gap:10px; flex:1; min-width:0; cursor:pointer; }
.vl-row{ flex-wrap:wrap; align-items:flex-start; }
.vl-floors{ flex:1 1 100%; display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 2px 28px; }
.vl-chip{ display:inline-flex; align-items:center; gap:7px; padding:6px 11px; border:1px solid var(--line); border-radius:999px; background:#fff; font:inherit; font-size:12.5px; font-weight:700; color:var(--ink); cursor:pointer; }
.vl-chip em{ font-style:normal; font-weight:700; font-size:11px; color:var(--muted,#6b7683); background:#eef1f5; border-radius:999px; padding:1px 7px; }
.vl-chip.on{ background:#2a313b; color:#fff; border-color:#2a313b; }
.vl-chip.on em{ background:rgba(255,255,255,.22); color:#fff; }

/* v38: unread badge on the Notifications tab */
.nav-badge{ display:inline-block; min-width:18px; padding:1px 6px; margin-left:6px; border-radius:999px; background:#b4443f; color:#fff; font-size:11px; font-weight:800; line-height:16px; text-align:center; }
.nav-badge[hidden]{ display:none; }

/* v38: FM / Team calendar */
.fc-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; flex-wrap:wrap; }
.fc-nav{ display:flex; align-items:center; gap:10px; }
.fc-nav strong{ min-width:150px; text-align:center; font-size:15px; }
.fc-dow{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:6px; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#6b7685; text-align:center; }
.fc-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.fc-cell{ min-height:96px; padding:6px; border-radius:14px; background:rgba(255,255,255,.78); border:1px solid #e1e6ec; display:flex; flex-direction:column; gap:4px; cursor:pointer; overflow:hidden; }
.fc-cell.empty{ background:transparent; border-color:transparent; cursor:default; }
.fc-cell.today{ border-color:#6f93d6; box-shadow:0 0 0 2px #dbe6f8; }
.fc-num{ font-size:12px; font-weight:800; color:#3c4654; }
.fc-chip{ display:block; width:100%; text-align:left; padding:3px 7px; border:0; border-radius:8px; background:#e4f2f8; color:#1f3d4d; font:inherit; font-size:11.5px; font-weight:700; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fc-chip.all{ background:#ece7f8; color:#3d2f6b; }
.fc-more{ font-size:11px; color:#6b7685; font-weight:700; }
.fc-up{ display:flex; flex-direction:column; gap:8px; margin:8px 22px 14px; }
.fc-up-row{ display:flex; gap:14px; align-items:flex-start; padding:10px 12px; border-radius:14px; background:#eef2f7; border-left:4px solid #8b97a5; cursor:pointer; }
.fc-up-row.today{ background:#e4f2f8; border-left-color:#5ab0d0; }
.fc-up-date{ display:flex; flex-direction:column; min-width:96px; font-size:12px; color:#556070; }
.fc-up-date b{ color:#1f2a37; font-size:13px; }
.fc-up-title{ font-weight:800; }
.fc-up-aud, .fc-up-notes{ font-size:12.5px; color:#5a6676; margin-top:2px; }
.fc-up-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.fc-up-head h3{ margin:0; }
.fc-aud{ display:flex; flex-direction:column; gap:4px; max-height:230px; overflow:auto; padding:6px; border:1px solid #e1e6ec; border-radius:14px; }
.fc-aud-row{ display:flex; align-items:center; gap:10px; padding:6px 8px; border-radius:10px; font-size:13.5px; cursor:pointer; }
.fc-aud-row.all{ background:#ece7f8; }
.fc-aud-row input{ width:16px; height:16px; }
@media (max-width:700px){ .fc-cell{ min-height:70px; padding:4px; } .fc-chip{ font-size:10.5px; padding:2px 4px; } }

/* =====================================================================
   Phone layout (v41): top bar + slide-out menu + notifications behind a
   bell. Desktop is untouched.
   ===================================================================== */
.m-topbar, .m-backdrop{ display:none; }
@media (max-width:760px){
  body.m-nav-open, body.m-notif-open{ overflow:hidden; }
  .admin-shell{ display:block !important; overflow-x:clip; }
  .admin-shell[hidden]{ display:none !important; }
  .m-topbar{
    display:flex; position:fixed; top:0; left:0; right:0; z-index:60; align-items:center; gap:10px;
    height:calc(56px + env(safe-area-inset-top,0px)); padding:env(safe-area-inset-top,0px) 12px 0;
    background:#24272d; color:#fff; box-shadow:0 8px 20px -12px rgba(0,0,0,.55);
  }
  .m-menu, .m-bell{
    width:42px; height:42px; border-radius:14px; border:0; background:rgba(255,255,255,.1); color:#fff;
    display:grid; place-items:center; position:relative; flex:none; padding:0; cursor:pointer;
  }
  .m-menu svg, .m-bell svg{ width:22px; height:22px; }
  .m-bell[hidden], .m-dot[hidden]{ display:none; }
  .m-title{ flex:1; min-width:0; font-weight:800; font-size:17px; letter-spacing:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .m-dot{ position:absolute; top:8px; right:9px; width:10px; height:10px; border-radius:50%; background:#e0554f; border:2px solid #24272d; }
  .m-backdrop{ position:fixed; inset:0; z-index:70; background:rgba(15,18,22,.5); }
  body.m-nav-open .m-backdrop, body.m-notif-open .m-backdrop{ display:block; }

  .admin-nav{
    position:fixed !important; top:0; left:0; bottom:0; height:100% !important; width:min(84vw,330px); z-index:80;
    transform:translateX(-105%); transition:transform .22s ease; overflow-y:auto; align-self:auto;
    padding:calc(env(safe-area-inset-top,0px) + 18px) 12px 28px !important; gap:4px !important;
    border-radius:0 24px 24px 0; border-right:0 !important;
  }
  body.m-nav-open .admin-nav{ transform:none; box-shadow:0 0 70px rgba(0,0,0,.5); }
  .admin-nav .brand{ flex-direction:row !important; justify-content:flex-start; gap:12px !important; margin:0 0 14px !important; text-align:left; }
  .admin-nav .brand img{ width:34px !important; height:auto; }
  .admin-nav .brand-name{ display:inline !important; font-size:16px !important; }
  .admin-nav a{
    display:flex !important; flex-direction:row !important; align-items:center; gap:14px !important; text-align:left !important;
    font-size:16px !important; letter-spacing:0 !important; padding:13px 14px !important; border-radius:14px !important; white-space:normal;
  }
  .admin-nav a .nav-txt{ flex:1; min-width:0; display:flex; align-items:center; gap:8px; }
  .admin-nav a .nav-ico{ width:21px !important; height:21px !important; flex:none; }
  .admin-nav .btn, .admin-nav button{
    display:flex !important; align-items:center; justify-content:flex-start !important; text-align:left !important;
    font-size:15px !important; letter-spacing:0 !important; padding:12px 14px !important; border-radius:14px !important; width:100%;
  }
  .admin-nav #dept-badge{ font-size:13px; }
  .admin-nav .nav-home-btn{ font-size:15px !important; }

  .admin-main{ padding:calc(56px + env(safe-area-inset-top,0px) + 12px) 10px 48px !important; width:100%; max-width:100%; }
  .admin-topline{ border:0 !important; padding:0 !important; margin:0 0 6px !important; min-height:0; }
  .admin-topline::after{ display:none !important; }
  .admin-topline h2{ display:none; }
  .admin-topline-actions{ flex-wrap:wrap; gap:8px; }

  .notif-rail{
    position:fixed !important; left:0; right:0; bottom:0; top:calc(56px + env(safe-area-inset-top,0px)) !important; z-index:75;
    margin:0 !important; height:calc(100vh - 56px - env(safe-area-inset-top,0px)) !important; height:calc(100dvh - 56px - env(safe-area-inset-top,0px)) !important; min-height:0 !important; max-height:none !important; border-radius:22px 22px 0 0 !important;
    transform:translateY(105%); transition:transform .22s ease; overflow-y:auto !important; visibility:hidden;
  }
  body.m-notif-open .notif-rail{ transform:none; visibility:visible; }
}

/* Phone polish (v41) */
@media (max-width:760px){
  .type-filter{ display:flex !important; align-items:center; gap:10px; flex-wrap:nowrap; }
  .type-filter-label{ margin:0 !important; white-space:nowrap; flex:none; }
  .type-filter select{ flex:1; min-width:0; }
  .ot-table th, .ot-table td{ padding:9px 6px !important; font-size:12px !important; letter-spacing:0 !important; }
  .ot-table th{ font-size:10px !important; }
  .fc-cell{ min-height:54px !important; display:flex; flex-wrap:wrap; align-content:flex-start; gap:3px; }
  .fc-cell .fc-num{ width:100%; }
  .fc-chip{ width:9px !important; height:9px !important; padding:0 !important; border-radius:50% !important; font-size:0 !important; background:#6f93d6 !important; }
  .fc-chip.all{ background:#8a73d1 !important; }
  .fc-more{ font-size:10px; }
}

/* Google review: the name shown on Google is highlighted (v42) */
.pj-gname{ display:inline-flex; align-items:center; flex-wrap:wrap; gap:4px 10px; margin:2px 0 8px; padding:6px 14px; border-radius:12px; background:#fff0a3; border:1px solid #e8cf5c; color:#1f2630; max-width:100%; }
.pj-gname-l{ font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#6b5a10; }
.pj-gname b{ font-size:16px; font-weight:800; letter-spacing:0; overflow-wrap:anywhere; }
.pj-gname.none{ background:transparent; border:1px dashed var(--line); color:var(--muted,#6b7683); font-size:12px; font-weight:600; padding:4px 10px; }

/* Right-hand panel (Tuleen + Osama): notifications on top, reminders / to-do list under it; each scrolls (v43) */
.notif-rail.has-todo{ display:flex; flex-direction:column; overflow:hidden; }
.notif-rail.has-todo .notif-rail-head{ flex:0 0 auto; }
.notif-rail.has-todo .notif-list{ flex:1 1 52%; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-bottom:22px; }
.notif-rail.has-todo .rail-todo{ flex:1 1 48%; min-height:0; overflow-y:auto; overscroll-behavior:contain; margin:0 10px 10px; border:1px solid var(--line); border-radius:20px; background:#f7f8fa; padding:0 12px 14px; box-shadow:0 -12px 16px -10px rgba(27,31,36,.28); position:relative; z-index:3; }
.rail-todo .dash-section-head{ position:sticky; top:0; z-index:2; margin:0 -12px 10px; padding:14px 16px 10px; background:#f7f8fa; border-bottom:1px solid var(--line); border-radius:20px 20px 0 0; }
.rail-todo .dash-section-head h3{ font-size:14px; font-weight:800; letter-spacing:0; text-transform:none; color:var(--ink); }
.rail-todo .dash-card-link{ font-size:12px; font-weight:700; white-space:nowrap; }
.rail-todo .xt-card-alert{ margin-bottom:8px; }
.rail-todo .xt-quick{ margin-bottom:10px; }
.rail-todo .xt-quick input{ width:100%; }
.rail-todo .xt-row{ margin-bottom:8px; }
@media (max-width:760px){
  .notif-rail.has-todo{ overflow:hidden !important; }
}

/* Notifications rail: the bell is now a labelled History button (v43) */
.notif-rail .notif-bell-btn{ width:auto; height:auto; padding:7px 12px 7px 10px; gap:6px; border-radius:999px; border:1px solid var(--line); background:#fff; }
.notif-rail .notif-bell-btn svg{ width:16px; height:16px; }
.notif-rail .notif-bell-btn::after{ content:"History"; font-size:12px; font-weight:700; color:var(--ink); }
.notif-rail .notif-bell-btn.active::after{ content:"Back"; color:inherit; }
.notif-rail .notif-bell-btn .notif-bell-dot{ top:4px; left:18px; right:auto; }
.notif-rail-head{ flex-wrap:wrap; row-gap:8px; }

/* Resolved issues show the date they were resolved (v43) */
.ot-resolved-on{ display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:999px; background:#dff3e6; color:#1d6b43 !important; font-weight:800; border:1px solid #b6e0c6; }

/* ---- To-do history (Completed filter + rail link) ---- */
.xt-card-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.xt-hist-link{background:#eef1f6;border-radius:999px;padding:3px 10px;font-weight:600}
.xt-day{margin:16px 2px 6px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b7686}
.xt-day:first-child{margin-top:4px}
.xt-done-hint{font-size:12.5px;color:#6b7686;margin:2px 2px 4px}
.xt-chip[data-f="done"].active{background:#dff3e6;border-color:#8fcfa4;color:#1f6b3a}
.xt-chip[data-f="done"].active b{color:#1f6b3a}
.pc-from{font-size:12.5px;color:#4a5566}

/* ---- Right-hand to-do: full add form ---- */
.rail-todo .xt-quick-open{width:100%;justify-content:center}
.rail-todo .xt-quick-form{background:#f6f8fb;border:1px solid #dde3ec;border-radius:14px;padding:12px 12px 4px;margin-bottom:12px}
.rail-todo .xt-form-grid{grid-template-columns:1fr 1fr;gap:0 10px}
.rail-todo .xt-f-title,.rail-todo .xt-f-notes{grid-column:1 / -1}
.rail-todo .xt-form-grid input[type=date],.rail-todo .xt-form-grid input[type=time]{font-size:13px;min-width:0;padding-left:10px;padding-right:6px}
.rail-todo .xt-quick-btns{display:flex;gap:8px;justify-content:flex-end;margin:0 0 10px}
.rail-todo{overflow-x:hidden !important}
.rail-todo .xt-quick-form,.rail-todo .xt-form,.rail-todo .xt-form-grid,.rail-todo .xt-form-grid .field{min-width:0;max-width:100%;box-sizing:border-box}
.rail-todo .xt-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important}
.rail-todo .xt-form-grid input,.rail-todo .xt-form-grid select,.rail-todo .xt-form-grid textarea{box-sizing:border-box;min-width:0;max-width:100%}
.rail-todo .xt-form-grid{grid-template-columns:minmax(0,1fr) !important}
.rail-todo .xt-form-grid .field{margin-bottom:10px}
.rail-todo .xt-form-grid .xt-f-title,.rail-todo .xt-form-grid .xt-f-notes{grid-column:auto}

/* ---- Google review bonus statement: one A4 page ---- */
@page{ size:A4 portrait; margin:10mm; }
.gr-onepage .gr-wrap{ width:190mm; margin:0 auto; }
.gr-onepage{ font-size:11px; }
.gr-onepage .report-letterhead{ padding-bottom:10px; margin-bottom:10px; }
.gr-onepage .report-logo{ height:38px; }
.gr-onepage .report-head{ margin:0 0 6px; }
.gr-onepage .report-head h1{ font-size:20px; margin:0 0 2px; }
.gr-onepage .pi-parties{ margin:6px 0; font-size:11px; }
.gr-onepage .report-section-title{ font-size:13px; margin:8px 0 6px; }
.gr-onepage .report-table th, .gr-onepage .report-table td{ padding:5px 7px; font-size:10.5px; }
.gr-onepage .report-narrative{ font-size:10px; margin:8px 0; }
.gr-onepage .report-footer{ margin-top:8px; font-size:9.5px; }
.gr-onepage .pi-table tr{ page-break-inside:avoid; }

/* ---- Right-hand panel v45: two clearly separate cards, nothing overlapping ---- */
:root[data-theme="light"] .notif-rail.has-todo{
  background:transparent; border:0; box-shadow:none; border-radius:0; overflow:hidden;
  display:flex; flex-direction:column; gap:0; padding:0 0 0 0;
}
/* Card 1: Notifications (header + list) */
.notif-rail.has-todo .notif-rail-head{
  flex:0 0 auto; background:#fff; border:1px solid var(--line); border-bottom:1px solid #e9edf2;
  border-radius:22px 22px 0 0; padding:16px 18px 12px; margin:0;
}
.notif-rail.has-todo .notif-list{
  flex:1 1 50%; min-height:0; overflow-y:auto; overscroll-behavior:contain;
  background:#fff; border:1px solid var(--line); border-top:0; border-radius:0 0 22px 22px;
  padding:10px 10px 12px; margin:0 0 14px; box-shadow:0 14px 24px -22px rgba(27,31,36,.45);
}
/* Card 2: My to-do (its own header + list) */
.notif-rail.has-todo .rail-todo{
  flex:1 1 50%; min-height:0; overflow-y:auto; overscroll-behavior:contain;
  background:#fff; border:1px solid var(--line); border-radius:22px; margin:0;
  padding:0 12px 14px; box-shadow:0 14px 24px -22px rgba(27,31,36,.45); position:static; z-index:auto;
}
.notif-rail.has-todo .rail-todo:has(.xt-quick-form){ flex-basis:75%; }
.rail-todo .dash-section-head{
  position:sticky; top:0; z-index:2; margin:0 -12px 12px; padding:16px 18px 12px;
  background:#fff; border-bottom:1px solid #e9edf2; border-radius:22px 22px 0 0;
}
.rail-todo .dash-section-head h3{ font-size:14px; font-weight:800; }
.rail-todo .xt-row{ margin-bottom:8px; }
.rail-todo .xt-card-alert{ margin:0 0 10px; }
.notif-rail.has-todo .notif-rail-head{ flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:8px; }
.notif-rail.has-todo .notif-rail-actions{ margin-left:auto; gap:6px; flex-wrap:nowrap; }
.notif-rail.has-todo .notif-rail-actions .btn{ padding:6px 8px !important; font-size:12.5px !important; white-space:nowrap; }
.notif-rail.has-todo .notif-bell-btn{ white-space:nowrap; }
.notif-rail.has-todo .notif-rail-head{ padding:16px 14px 12px 18px; gap:6px; }
.notif-rail.has-todo .notif-rail-head strong{ font-size:14px; white-space:nowrap; }
.notif-rail.has-todo .notif-rail-actions .btn{ padding:6px 4px !important; font-size:12px !important; letter-spacing:0 !important; }
.notif-rail.has-todo .notif-rail-actions .notif-bell-btn{ padding:6px 10px 6px 8px; }
.notif-rail.has-todo .notif-rail-head{ padding:16px 12px 12px 16px; gap:4px; }
.notif-rail.has-todo .notif-rail-head strong{ font-size:13px; letter-spacing:0 !important; }
.notif-rail.has-todo .notif-rail-actions{ gap:2px; }
.notif-rail.has-todo .notif-rail-actions .btn{ font-size:11.5px !important; padding:6px 6px !important; }
.notif-rail.has-todo .notif-rail-actions .notif-bell-btn{ padding:6px 9px 6px 7px; gap:4px; }
.notif-rail.has-todo .notif-bell-btn::after{ font-size:11.5px; }

/* ---- "Get alerts on this device" bar in the notifications panel ---- */
.push-banner{ display:flex; align-items:center; gap:10px; padding:10px 14px; margin:0; background:#eef3fb; border-bottom:1px solid #dbe4f3; }
.push-banner .pb-text{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.push-banner .pb-text b{ font-size:12.5px; font-weight:800; color:var(--ink); }
.push-banner .pb-text span{ font-size:11.5px; line-height:1.35; color:#5b6470; }
.push-banner .btn{ flex:0 0 auto; padding:7px 14px; font-size:12px; }
.notif-rail.has-todo .push-banner{ flex:0 0 auto; border:1px solid var(--line); border-top:0; border-bottom:1px solid #dbe4f3; }

/* v49: searchable free-jobs picker in the Log a job form */
.pj-cat-wrap { position: relative; }
.pj-cat-list { display: none; margin-top: 6px; max-height: 210px; overflow-y: auto; border: 1px solid rgba(60,66,78,.16); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(30,36,48,.14); padding: 6px; }
.pj-cat-list.open { display: block; }
.pj-cat-opt { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; text-align: left; border: 0; background: transparent; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; color: #2b303a; cursor: pointer; }
.pj-cat-opt:hover, .pj-cat-opt:focus { background: #eef1f5; outline: none; }
.pj-cat-opt b { font-weight: 600; white-space: nowrap; color: #5a6270; font-size: 13px; }
.pj-cat-none { padding: 10px 12px; font-size: 13.5px; color: #6b7280; }

/* v52: back arrow on the staff sign-in cards */
.login-back { position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #eef1f5; color: #353b43; text-decoration: none; transition: background .16s ease, color .16s ease; }
.login-back:hover, .login-back:focus-visible { background: #353b43; color: #fff; outline: none; }
#login-screen > .card { position: relative; }

/* v54: alerts strip at the top of the page on tablets and phones */
.push-banner-main{ margin:0 0 14px; border:1px solid #dbe4f3; border-radius:18px; }
.push-banner-hint{ background:#f3f4f7; border-color:#e1e4ea; }

/* Move-In Request Form */
.mif-line{ margin-top:6px; font-size:13.5px; color:#2b303a; }
.mif-line.mif-sub, .mif-sub{ color:#6b7280; font-size:12.5px; }
.mif-line.mif-wait{ font-weight:700; color:#8a5a00; }
.mif-mail{ font-weight:500; color:#6b7280; font-size:13px; }
.mif-box{ margin:8px 0; padding:12px 14px; border-radius:14px; background:#eef1f5; border:1px solid rgba(60,66,78,.10); }
.mif-item{ display:block; width:100%; }
.mif-h{ font-size:13px; letter-spacing:.12em; text-transform:uppercase; font-weight:800; color:#2b303a; margin:20px 0 8px; padding-bottom:6px; border-bottom:2px solid #2b303a; }
.mif-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px 14px; }
.mif-kv{ border:1px solid #d9dee5; border-radius:10px; padding:8px 12px; background:#fafbfc; }
.mif-k{ font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:#6b7280; }
.mif-v{ font-size:14.5px; font-weight:600; color:#1f2630; margin-top:3px; overflow-wrap:anywhere; }
.mif-note{ margin:12px 0; padding:12px 14px; border-radius:12px; background:#eef1f5; font-size:13.5px; color:#2b303a; }
.mif-sign{ margin:14px 0; padding:12px 14px; border:1px solid #c9d0d8; border-radius:12px; }
.mif-sign .mif-grid{ margin-top:8px; }
.mif-items{ margin:4px 0 8px 18px; padding:0; font-size:14.5px; line-height:1.9; }
.mif-by{ margin-top:16px; font-size:12.5px; color:#6b7280; }
@media (max-width:640px){ .mif-grid{ grid-template-columns:1fr; } }
@media print{ .mif-kv, .mif-sign, .mif-note{ break-inside:avoid; } }
.vl-annual-switch{ display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px; }
.nav-greet{ font-size:12.5px; font-weight:700; color:#dfe5ec; letter-spacing:.01em; margin:-4px 6px 12px; line-height:1.3; }

/* ---- v64: Move-In tabs, banners, history ---- */
.mif-tabs{ display:flex; gap:6px; margin:12px 0 8px; flex-wrap:wrap; }
.mif-tab{ border:1px solid #cfd5dd; background:#f4f6f9; color:#2b303a; border-radius:999px; padding:6px 14px; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.mif-tab.active{ background:#2f3744; color:#fff; border-color:#2f3744; }
.mif-tab-s{ font-size:11px; font-weight:700; margin-left:6px; padding:1px 7px; border-radius:999px; background:#e3e7ed; color:#4a5260; text-transform:capitalize; }
.mif-tab.active .mif-tab-s{ background:rgba(255,255,255,.22); color:#fff; }
.mif-s-to-submit, .mif-s-waiting{ background:#fff0b8; color:#7a5200; }
.mif-s-approved{ background:#d6efdf; color:#256b45; }
.mif-s-declined{ background:#f6d6d4; color:#9b3b36; }
.mif-pane{ margin-top:2px; }
.mif-link{ border:0; background:none; padding:0 0 0 10px; font:inherit; font-size:13px; font-weight:700; color:#4a6a96; cursor:pointer; text-decoration:underline; }
.mif-banner{ margin:10px 0 4px; padding:10px 14px; border-radius:12px; font-size:14px; line-height:1.45; }
.mif-b-info{ background:#e6edf6; border:1px solid #c5d3e6; color:#243247; }
.mif-b-notice{ background:#fff4c2; border:1px solid #e6cf6a; color:#5e4500; }
.mif-b-wait{ background:#fff4c2; border:1px solid #e6cf6a; color:#5e4500; }
.mif-hist{ list-style:none; margin:4px 0 0; padding:0; font-size:13.5px; color:#2b303a; }
.mif-hist li{ padding:6px 0 6px 14px; border-left:2px solid #c9d0d8; margin-left:4px; line-height:1.45; }
.mif-hist-t{ display:block; font-size:11.5px; color:#6b7280; }
.mif-b-cancel{ background:#eceff3; border:1px solid #c4ccd6; color:#3a4452; }
.mif-viewer{ font-size:11px; font-weight:700; padding:2px 9px; border-radius:999px; background:#e3e7ed; color:#4a5260; }

/* ---- v66 Short Term: units, settings, rental quotation ---- */
.st-page{ display:flex; flex-direction:column; gap:16px; }
.st-bar{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:0; }
.st-bar select{ min-width:170px; }
.st-tile{ cursor:pointer; transition:transform .12s, box-shadow .12s; }
.st-tile.st-on{ outline:2px solid #2b303a; }
.st-list{ display:flex; flex-direction:column; gap:8px; }
.st-head, .st-row{ display:grid; grid-template-columns:minmax(120px,1.3fr) 84px 136px minmax(110px,1fr) minmax(110px,1fr) 58px; gap:10px; align-items:center; }
.st-head > *, .st-row > *{ min-width:0; }
.st-head{ padding:0 16px; font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted,#6b7280); }
.st-row{ background:#fff; border:1px solid #dfe3e9; border-radius:18px; padding:10px 16px; }
.st-unit{ font-size:14px; display:flex; flex-direction:column; }
.st-sub{ font-size:11.5px; color:var(--muted,#6b7280); }
.st-type{ font-size:13px; }
.st-rate{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted,#6b7280); }
.st-rate input{ width:100%; min-width:0; text-align:right; font-weight:700; padding:7px 10px; font-size:13.5px; height:auto; }
.st-status{ width:100%; font-weight:700; font-size:13px; border-radius:999px; padding:6px 6px 6px 10px; border:1px solid #d9dee5; background:#fff; }
.st-s-vacant{ background:#dff3e6; border-color:#b9dfc8; }
.st-s-booked{ background:#f9dcdc; border-color:#ecbcbc; }
.st-s-hold{ background:#fff4c2; border-color:#ecd98c; }
.st-s-maintenance{ background:#e3e7ed; border-color:#cdd3dc; }
.st-act{ text-align:right; }
.st-two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.st-three{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.st-setgrid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.st-set h4{ margin:0 0 10px; }
.st-setrow{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:6px 0; border-bottom:1px solid #eef0f3; font-size:13.5px; }
.st-setrow .st-rate{ width:130px; }
.sq-card h4{ margin:0 0 12px; }
.sq-mode{ display:flex; gap:10px; }
.sq-pill{ border:1px solid #cfd5dc; background:#fff; border-radius:999px; padding:10px 22px; font-weight:700; cursor:pointer; font-family:inherit; font-size:14px; }
.sq-pill.on{ background:#2b303a; color:#fff; border-color:#2b303a; }
.sq-bed{ display:flex; gap:18px; align-items:center; flex-wrap:wrap; margin-top:4px; }
.sq-sum{ display:flex; flex-direction:column; gap:2px; max-width:560px; }
.sq-line > span:first-child{ flex:1; white-space:nowrap; }
.sq-line{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:8px 12px; border-radius:10px; font-size:14px; }
.sq-line:nth-child(odd){ background:#f6f8fa; }
.sq-line.sq-tot{ background:#2b303a; color:#fff; }
.sq-line.sq-grand{ background:#eef1f5; font-size:15px; }
.sq-line .sq-cell, .sq-tbl .sq-cell{ flex:none; height:auto; min-height:0; line-height:1.2; }
.sq-cell{ width:130px; text-align:right; font-weight:700; border:1px solid transparent; background:transparent; border-radius:8px; padding:4px 8px; font-family:inherit; font-size:14px; }
.sq-cell:hover, .sq-cell:focus{ border-color:#cfd5dc; background:#fff; }
.sq-cell.sq-ov{ border-color:#7592b8; background:#e6edf6; }
.sq-wrap{ overflow-x:auto; }
.sq-tbl{ width:100%; border-collapse:collapse; font-size:12.5px; }
.sq-tbl th{ text-align:right; font-size:9.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#6b7280; padding:8px 4px; background:#eef1f5; }
.sq-tbl th:first-child, .sq-tbl th:nth-child(2){ text-align:left; }
.sq-tbl td{ padding:5px 4px; text-align:right; border-bottom:1px solid #eef0f3; white-space:nowrap; }
.sq-tbl td:first-child, .sq-tbl td:nth-child(2){ text-align:left; }
.sq-tbl .sq-cell{ width:84px; padding:3px 6px; font-size:12.5px; }
.sq-trow td{ font-weight:800; background:#f6f8fa; }
.sq-grand-r td{ font-weight:800; background:#2b303a; color:#fff; }
@media (max-width:820px){
  .st-head{ display:none; }
  .st-row{ grid-template-columns:1fr 1fr; }
  .st-three, .st-two, .st-setgrid{ grid-template-columns:1fr; }
}

.sc-reset{ border:0; background:none; color:#5b6b82; font-size:11px; cursor:pointer; padding:0 0 0 6px; text-decoration:underline; }
.sc-reset[hidden]{ display:none; }

/* v69 — Short Term Units laid out like Leasing, compact so the table fits */
.units-toolbar select{ width:auto; min-width:140px; padding:8px 14px; }
.units-table.st-ut td, .units-table.st-ut th{ padding-left:8px; padding-right:8px; }
.units-table.st-ut .unit-price-input{ width:72px; padding:6px 9px; font-size:13px; }
.units-table.st-ut .unit-price-input.st-remarks{ width:104px; }
.units-table.st-ut select.unit-status-select{ width:112px; min-width:112px; padding:6px 22px 6px 10px; font-size:12.5px; }
.units-table.st-ut td.unit-building-cell, .units-table.st-ut th.th-building{ width:98px; min-width:98px; max-width:98px; }
.units-table.st-ut.has-building th.th-unit, .units-table.st-ut.has-building td.unit-no-cell{ left:98px; }
.units-table.st-ut .btn-sm{ padding:4px 10px; }
.units-table-wrap:has(.st-ut){ overflow-x:auto; }
.units-table.st-ut td.st-act{ white-space:nowrap; }
.units-table.st-ut .st-del{ color:var(--danger); }
