/* Tenants app — design direction b, adapted for production
   Navy app chrome, cool-grey canvas, white section cards, one gold primary per view.
   Fonts: Libre Franklin (headings) + Roboto (interface). Spacing on 4/8. Radii: 12 / 8 / pill. */

:root {
  --navy-900: #0B2240;
  --navy: #0F2D4F;
  --navy-700: #1B3F68;
  --navy-100: #D5DFEC;
  --navy-50: #E8EEF6;
  --gold: #E3B04B;
  --gold-600: #D49B2E;
  --ink: #14233A;
  --ink-2: #4B5A6E;
  --ink-3: #6A7889;
  --line: #D8DEE6;
  --line-2: #E4E9EF;
  --canvas: #EEF1F5;
  --surface: #FFFFFF;
  --surface-2: #F6F8FB;
  --link: #1A56A8;
  --on-navy: #C9D4E3;

  --green: #1E7A4C;   --green-50: #E2F3EA;
  --red: #B3261E;     --red-50: #FCEBEA;
  --amber: #8A4B00;   --amber-50: #FCEFD9;
  --blue: #1A56A8;    --blue-50: #E5EEFB;
  --teal: #0B6458;    --teal-50: #E0F2EF;
  --violet: #5A35A6;  --violet-50: #EFE9FA;
  --orange: #9A3F06;  --orange-50: #FDEBDD;

  /* module icon colours (one per module, icons only) */
  --m-notice: #C8372D;
  --m-request: #C25A0C;
  --m-booking: #0E7C6B;
  --m-doc: #6A44B8;
  --m-news: #1F65C1;
  --m-pay: #0F2D4F;

  --r-lg: 12px;
  --r: 8px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(15, 45, 79, .06);
  --shadow-up: 0 -2px 8px rgba(15, 45, 79, .08);
  --focus: #2F6FD6;

  --f-head: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  --f-ui: "Roboto", "Segoe UI", system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--canvas);
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: var(--link); }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -64px; background: #fff; color: var(--navy); padding: 8px 16px; border-radius: var(--r); z-index: 50; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: #fff; }
.num, .money { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.i { width: 20px; height: 20px; flex: none; }
.i-sm { width: 16px; height: 16px; flex: none; }
.i-lg { width: 24px; height: 24px; flex: none; }

/* ---------- monogram ---------- */
.mono {
  width: 36px; height: 36px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: var(--r);
  background: #fff; color: var(--navy);
  font: 700 14px/1 var(--f-head);
  letter-spacing: 0;
}
.mono.dark { background: var(--navy); color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-height: 44px; }
.brand b { display: block; font: 700 15px/20px var(--f-head); }
.brand small { display: block; font: 400 13px/16px var(--f-ui); color: var(--on-navy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: var(--r); border: 1px solid transparent;
  font: 500 16px/24px var(--f-ui);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: transparent; color: var(--navy);
}
.btn-primary { background: var(--gold); color: var(--navy-900); font-weight: 700; }
.btn-primary:hover, .btn-primary.is-hover { background: var(--gold-600); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover, .btn-secondary.is-hover { background: var(--navy-50); }
.btn-tertiary { color: var(--link); padding: 0 12px; }
.btn-tertiary:hover, .btn-tertiary.is-hover { background: var(--navy-50); }
.btn-danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn-danger:hover, .btn-danger.is-hover { background: var(--red-50); }
.btn.is-focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--line-2); color: #5E6B7C; border-color: transparent; cursor: not-allowed; }
.btn.is-loading { background: var(--gold); color: var(--navy-900); opacity: .75; cursor: progress; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; line-height: 20px; }
.btn-block { width: 100%; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; flex: none; }
.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border: 0; border-radius: var(--r); background: transparent; color: inherit;
  position: relative; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.badge {
  min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--red); color: #fff;
  font: 700 12px/20px var(--f-ui); text-align: center;
}
.icon-btn .badge { position: absolute; top: 4px; right: 2px; box-shadow: 0 0 0 2px var(--navy-900); }
kbd {
  display: inline-block; min-width: 20px; padding: 0 4px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2);
  font: 500 12px/18px var(--f-ui); color: var(--ink-2); text-align: center;
}

/* ---------- pills (status chips) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 24px; padding: 0 10px;
  border-radius: var(--r-pill);
  font: 500 13px/16px var(--f-ui);
  white-space: nowrap; background: var(--line-2); color: var(--ink-2);
}
.p-received { background: var(--navy-50); color: var(--navy-700); }
.p-scheduled { background: var(--teal-50); color: var(--teal); }
.p-progress { background: var(--blue-50); color: var(--blue); }
.p-hold { background: var(--amber-50); color: var(--amber); }
.p-done, .p-paid, .p-signed { background: var(--green); color: #fff; }
.p-closed, .p-cancelled, .p-refunded { background: var(--line-2); color: var(--ink-2); }
.p-urgent { background: var(--red); color: #fff; font-weight: 700; }
.p-tosign { background: var(--violet-50); color: var(--violet); }
.p-processing { background: var(--blue-50); color: var(--blue); }
.p-failed, .p-returned { background: var(--red-50); color: var(--red); }
.p-unassigned { background: var(--orange-50); color: var(--orange); }
.p-event { background: var(--blue-50); color: var(--blue); }

/* ---------- cards & section headers ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  min-width: 0;
}
.sec-head { display: flex; align-items: center; gap: 8px; min-height: 24px; margin-bottom: 12px; }
.sec-head h2, .sec-head h3 { font: 700 17px/24px var(--f-head); flex: 1; min-width: 0; }
.sec-head > .i { color: var(--c, var(--navy)); }
.sec-link {
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; margin: -10px -8px; padding: 0 8px;
  font: 500 14px/20px var(--f-ui); color: var(--link); text-decoration: none; white-space: nowrap;
}
.sec-link:hover { text-decoration: underline; }
.c-notice { --c: var(--m-notice); }
.c-request { --c: var(--m-request); }
.c-booking { --c: var(--m-booking); }
.c-doc { --c: var(--m-doc); }
.c-news { --c: var(--m-news); }
.c-pay { --c: var(--m-pay); }

/* compact item rows inside a section card */
.items { display: grid; gap: 8px; }
.item {
  display: block; padding: 12px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  color: inherit; text-decoration: none; min-width: 0;
}
a.item:hover { background: var(--surface-2); border-color: var(--line); }
.item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.item-title { font-weight: 500; min-width: 0; }
.item-title .no { color: var(--ink-2); font-weight: 400; margin-right: 4px; }
.item-meta { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.item-meta .i-sm { margin-top: 2px; }

/* ---------- banners & toast ---------- */
.banner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; border-radius: var(--r);
  font-size: 14px; line-height: 20px;
}
.banner .i { margin-top: 0; }
.banner-info { background: var(--navy-50); color: var(--navy); }
.banner-urgent { background: var(--red-50); color: #7A1711; }
.banner-success { background: var(--green-50); color: #145534; }
.banner-error { background: var(--red-50); color: #7A1711; }
.banner b { font-weight: 700; }
.toast {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: 440px; padding: 12px 16px;
  background: var(--navy-900); color: #fff; border-radius: var(--r);
  box-shadow: 0 4px 16px rgba(11, 34, 64, .24);
  font-size: 14px; line-height: 20px;
}
.toast a { color: #fff; font-weight: 700; }

/* ---------- fields ---------- */
.field { display: grid; gap: 4px; min-width: 0; }
.field > .label, .label { font: 500 14px/20px var(--f-ui); color: var(--ink); }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid #A9B4C2; border-radius: var(--r); background: #fff;
  font: 400 16px/22px var(--f-ui); color: var(--ink);
}
.input::placeholder, .textarea::placeholder { color: #5E6B7C; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5A6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; text-overflow: ellipsis; }
.textarea { min-height: 96px; resize: vertical; }
.help { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.err-text { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--red); font-weight: 500; }
.err-text .i-sm { margin-top: 2px; }
.is-error .input, .input.is-error, .radio-row.is-error { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.money-input { position: relative; }
.money-input .input { padding-left: 28px; font-variant-numeric: tabular-nums; }
.money-input::before { content: "$"; position: absolute; left: 12px; top: 10px; color: var(--ink-2); line-height: 22px; }
.counter-row { display: flex; justify-content: space-between; gap: 8px; }
.date-input { position: relative; }
.date-input .input { padding-right: 40px; }
.date-input .i { position: absolute; right: 12px; top: 12px; color: var(--ink-2); pointer-events: none; }

.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 15px; line-height: 22px; }
.check input, .radio-row input[type="radio"] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }

.radio-list { display: grid; gap: 8px; }
.radio-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  cursor: pointer; min-width: 0;
}
.radio-row:has(input:checked), .radio-row.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--navy-50); }
.radio-row .rr-main { flex: 1; min-width: 0; display: grid; }
.radio-row .rr-title { font-weight: 500; }
.radio-row .rr-sub { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.radio-row .rr-end { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-badge {
  flex: none; width: 44px; height: 30px;
  display: inline-grid; place-items: center;
  border-radius: var(--r); background: var(--navy); color: #fff;
  font: 700 12px/1 var(--f-head);
}
.brand-badge.bank { background: #fff; color: var(--navy); border: 1px solid var(--line); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; background: var(--canvas); border-radius: var(--r); }
.seg label, .seg button, .seg a { display: grid; place-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r); border: 0; background: transparent; font: 500 15px/20px var(--f-ui); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked), .seg .is-on, .seg a[aria-current] { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 1px 2px rgba(15, 45, 79, .16); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 0; }

/* ---------- skeleton, empty, misc ---------- */
.skel { height: 16px; border-radius: var(--r); background: linear-gradient(90deg, var(--line-2), var(--surface-2), var(--line-2)); }
.empty { display: grid; justify-items: start; gap: 8px; }
.empty .ico-wrap, .ico-wrap {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--navy-50); color: var(--navy);
}
.photo-ph {
  width: 136px; height: 96px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r); background: #DDE3EA; color: var(--ink-2);
}
.photo-ph .i-lg { width: 28px; height: 28px; }

/* ---------- footer ---------- */
.site-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 16px 0 0; margin-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 20px; color: var(--ink-2);
}
.site-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); }
.site-foot a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }

/* =========================================================
   Tenant app (index.html, pay.html)
   ========================================================= */
.t-side { display: none; }
.t-appbar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 12px 20px 16px;
  background: var(--navy-900); color: #fff;
}
.t-appbar .where { flex: 1; min-width: 0; }
.t-appbar .bname { font: 700 24px/32px var(--f-head); color: #fff; }
.t-appbar .unit { font: 400 15px/20px var(--f-ui); color: var(--on-navy); }
.t-appbar .who { display: none; }
.t-content { padding: 20px 16px 24px; }
.greet { font: 700 22px/28px var(--f-head); color: var(--navy); margin-bottom: 16px; }
.home-grid, .home-col { display: grid; gap: 16px; min-width: 0; align-content: start; }

/* balance card */
.bal-amount { font: 700 32px/40px var(--f-head); color: var(--navy); font-variant-numeric: tabular-nums; }
.bal-for { color: var(--ink-2); margin-bottom: 16px; }
.bal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.bal-foot .auto { display: flex; align-items: center; gap: 8px; }
.bal-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* urgent notice */
.notice-box { padding: 12px; border-radius: var(--r); background: var(--red-50); }
.notice-box .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; line-height: 20px; color: #7A1711; }
.notice-box h3 { font: 700 17px/24px var(--f-head); color: var(--ink); }
.notice-box p { margin-top: 4px; color: var(--ink); }
.notice-box .read { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: -8px; font-weight: 500; color: #8E1C15; }

/* to sign */
.sign-row { display: flex; align-items: center; gap: 12px; }
.sign-row .txt { flex: 1; min-width: 0; }
.sign-row .txt b { display: block; font-weight: 500; }
.sign-row .txt span { font-size: 14px; line-height: 20px; color: var(--ink-2); }

/* booking date tile */
.book-row { display: flex; align-items: center; gap: 12px; }
.date-tile {
  width: 48px; flex: none; text-align: center;
  border-radius: var(--r); overflow: hidden; border: 1px solid #BFE0DA;
}
.date-tile .mo { display: block; background: var(--m-booking); color: #fff; font: 700 12px/20px var(--f-ui); }
.date-tile .d { display: block; font: 700 18px/28px var(--f-head); color: var(--ink); }
.book-row .txt { flex: 1; min-width: 0; }
.book-row .txt b { display: block; font-weight: 500; }
.book-row .txt span { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.book-row > .i { color: var(--ink-3); }

/* news */
.news-row { display: flex; align-items: flex-start; gap: 12px; }
.news-row .dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--m-news); flex: none; }
.news-row .dot.read { background: transparent; }
.news-row .txt { flex: 1; min-width: 0; }
.news-row .txt b { display: block; font-weight: 500; }
.news-row .txt span { font-size: 14px; line-height: 20px; color: var(--ink-2); }

/* quick actions */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick a {
  display: grid; justify-items: center; align-content: start; gap: 8px;
  min-height: 96px; padding: 12px 8px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  font: 500 14px/18px var(--f-ui); color: var(--ink); text-decoration: none; text-align: center;
}
.quick a:hover { background: var(--surface-2); }
.quick .qi { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.qi.c-request { background: var(--orange-50); color: var(--m-request); }
.qi.c-booking { background: var(--teal-50); color: var(--m-booking); }
.qi.c-pay { background: var(--navy-50); color: var(--navy); }

/* phone tab bar */
.tabbar {
  position: sticky; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 4px 4px 8px; background: #fff;
  border-top: 1px solid var(--line); box-shadow: var(--shadow-up);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 56px; font: 500 12px/16px var(--f-ui); color: var(--ink-2); text-decoration: none;
}
.tabbar a .i { width: 24px; height: 24px; }
.tabbar a[aria-current="page"], .tabbar a.on { color: var(--navy); font-weight: 700; }
.tabbar .fab-ring {
  width: 52px; height: 52px; margin-top: -24px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: #fff; border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(11, 34, 64, .24);
}
.tabbar .fab { color: var(--navy); }
.tabbar.static { position: static; box-shadow: none; border: 1px solid var(--line); border-radius: var(--r-lg); padding-top: 16px; max-width: 390px; }

/* side nav (tenant desktop + reused in components) */
.side-nav { display: grid; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: var(--r);
  color: var(--on-navy); text-decoration: none; font: 500 15px/20px var(--f-ui);
}
.side-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.side-nav a[aria-current="page"], .side-nav a.on { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 #fff; }
.side-nav .count { margin-left: auto; min-width: 24px; height: 20px; padding: 0 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .16); color: #fff; font: 700 12px/20px var(--f-ui); text-align: center; }

@media (min-width: 1024px) {
  .t-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
  .t-side { display: block; background: var(--navy-900); color: #fff; }
  .t-side-in { position: sticky; top: 0; padding: 20px 16px; display: grid; gap: 24px; }
  .tabbar:not(.static) { display: none; }
  .t-appbar { padding: 12px 32px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
  .t-appbar .where { display: flex; align-items: baseline; gap: 12px; }
  .t-appbar .bname { font-size: 18px; line-height: 24px; color: var(--navy); }
  .t-appbar .unit { color: var(--ink-2); }
  .t-appbar .icon-btn:hover { background: var(--navy-50); }
  .t-appbar .icon-btn .badge { box-shadow: 0 0 0 2px #fff; }
  .t-appbar .who { display: flex; align-items: center; gap: 8px; font-weight: 500; }
  .t-content { padding: 32px; max-width: 1264px; }
  .greet { font-size: 28px; line-height: 36px; margin-bottom: 24px; }
  .home-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
  .home-col { gap: 24px; }
  .card { padding: 20px; }
  .bal-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .bal-body .bal-for { margin-bottom: 0; }
}
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font: 700 14px/1 var(--f-head); flex: none; }

/* ---------- pay ---------- */
.p-appbar { background: var(--navy-900); color: #fff; }
.p-appbar-in { display: flex; align-items: center; gap: 8px; padding: 12px 16px 16px 8px; max-width: 1024px; margin: 0 auto; }
.p-appbar h1 { color: #fff; font: 700 22px/28px var(--f-head); }
.p-appbar .sub { font-size: 14px; line-height: 20px; color: var(--on-navy); }
.pay-main { max-width: 1024px; margin: 0 auto; padding: 16px 16px 0; }
.pay-screen { display: grid; gap: 12px; }
.pay-form { display: grid; gap: 12px; min-width: 0; }
.pay-card h2 { font: 700 17px/24px var(--f-head); margin-bottom: 12px; }
.add-method { margin-top: 8px; margin-left: -12px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.sum-row + .sum-row { margin-top: 8px; }
.sum-row.total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 18px; line-height: 24px; }
.paybar {
  position: sticky; bottom: 0; z-index: 10;
  margin: 0 -16px; padding: 12px 16px;
  border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow-up);
}
.paybar .sum-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.paybar .sum-row { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.paybar .sum-row.total { margin-top: 4px; padding-top: 0; border-top: 0; font-size: 17px; line-height: 24px; color: var(--ink); }
.pay-btn { margin-top: 8px; }
.consent { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.test-strip { background: var(--navy-50); color: var(--navy); font-size: 13px; line-height: 18px; }
.test-strip-in { display: flex; align-items: flex-start; gap: 8px; max-width: 1024px; margin: 0 auto; padding: 8px 16px; }
.test-strip-in .i-sm { margin-top: 1px; }
.when-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.when-card h2 { margin-bottom: 0; }
.when-card .seg { width: 220px; }
.pay-form .radio-row { min-height: 52px; padding: 8px 12px; }
.pay-form .rr-title { line-height: 22px; }
.add-method { margin-top: 4px; }
/* amount due, charge by charge: in the Amount card on a phone, in the Summary on a wide screen */
.sum-lines { margin-bottom: 8px; }
.sum-lines.in-card { margin: 12px 0 0; padding: 12px; border-radius: var(--r); background: var(--surface-2); }
.sum-lines .sum-row { font-size: 14px; line-height: 20px; color: var(--ink); }
.sum-lines .sum-row.over > span:last-child, .sum-lines .sum-row.over .sum-sub { color: var(--red); }
.sum-sub { display: block; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.sum-lines[hidden] { display: none; }
@media (max-width: 1023px) { .p-appbar .sub { display: none; } .p-appbar-in { padding: 6px 16px 6px 4px; } }
@media (max-width: 1023px) { .sum-lines.in-bar { display: none; } }
@media (min-width: 1024px) { .sum-lines.in-card { display: none; } }

@media (min-width: 1024px) {
  .p-appbar-in { padding: 16px 32px; }
  .p-appbar h1 { font-size: 26px; line-height: 32px; }
  .pay-main { padding: 24px 32px 0; }
  .pay-screen { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
  .paybar { grid-column: 2; grid-row: 1; position: sticky; top: 24px; bottom: auto; margin: 0; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
  .paybar .sum-title { position: static; width: auto; height: auto; clip: auto; margin-bottom: 12px; }
  .paybar .sum-row { font-size: 16px; line-height: 24px; color: var(--ink); }
  .paybar .sum-row.total { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 18px; }
  .pay-btn { margin-top: 16px; }
  .consent { font-size: 13px; line-height: 18px; }
  .test-strip-in { padding: 8px 32px; }
}

/* =========================================================
   Console (requests.html)
   ========================================================= */
.demo-banner {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: var(--navy-50); color: var(--navy);
  font-size: 13px; line-height: 20px;
}
.c-top {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 8px 16px; background: var(--navy-900); color: #fff;
}
.c-top .brand b { font-size: 15px; }
.switcher {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .28);
  background: var(--navy-700); color: #fff; font: 700 15px/20px var(--f-ui); cursor: pointer;
}
.c-search { position: relative; flex: 1; min-width: 0; max-width: 420px; }
.c-search .i { position: absolute; left: 12px; top: 10px; color: var(--ink-2); }
.c-search .input { min-height: 40px; padding: 8px 12px 8px 40px; border: 0; font-size: 15px; }
.c-top-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.usermenu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--r); background: transparent; color: #fff; font: 500 15px/20px var(--f-ui); cursor: pointer; }
.usermenu:hover { background: rgba(255, 255, 255, .1); }
.usermenu .avatar { width: 32px; height: 32px; font-size: 13px; background: #fff; }
.c-menu { display: none; }
.c-top-row2 { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.rail-menu { display: none; }
.tt { text-decoration: none; }
.tt:hover { text-decoration: underline; }
.tbl td.asg { white-space: nowrap; text-overflow: ellipsis; }

.c-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.c-side { background: var(--navy); padding: 16px 12px; }
.c-side .side-nav a { font-size: 14px; min-height: 40px; }
.c-work { display: grid; min-width: 0; background: #fff; }
.c-work > * { grid-area: 1 / 1; }
.c-list { padding: 20px 24px 24px; min-width: 0; }
.c-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.c-head h1 { font: 700 24px/32px var(--f-head); color: var(--navy); }

.views { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
.views a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px; white-space: nowrap;
  color: var(--ink-2); text-decoration: none; font: 500 14px/20px var(--f-ui);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.views a:hover { color: var(--navy); }
.views a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.views .n { min-width: 24px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--line-2); color: var(--ink-2); font: 700 12px/20px var(--f-ui); text-align: center; }
.views a[aria-current="page"] .n { background: var(--navy); color: #fff; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.fbtn {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 32px; padding: 0 8px 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font: 400 14px/20px var(--f-ui); color: var(--ink); cursor: pointer; white-space: nowrap;
}
.fbtn b { font-weight: 700; }
.fbtn:hover { border-color: #A9B4C2; background: var(--surface-2); }
.fbtn.set { border-color: var(--navy); background: var(--navy-50); }
.fbtn .i-sm { color: var(--ink-2); }
.clear { min-height: 32px; padding: 0 8px; border: 0; background: none; color: var(--link); font: 500 14px/20px var(--f-ui); cursor: pointer; }

.bulk {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 8px 12px; margin-bottom: 12px;
  border-radius: var(--r); background: var(--navy); color: #fff; font-size: 14px; line-height: 20px;
}
.bulk .fbtn { border-color: rgba(255, 255, 255, .32); background: var(--navy-700); color: #fff; }
.bulk .fbtn .i-sm { color: #fff; }

.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 18px; }
.tbl th {
  height: 36px; padding: 0 8px; text-align: left;
  background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 700 13px/16px var(--f-ui); color: var(--ink-2); white-space: nowrap;
}
.tbl th .sort { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.tbl th[aria-sort] .sort { color: var(--navy); }
.tbl td { padding: 4px 8px; height: 42px; border-bottom: 1px solid var(--line-2); vertical-align: middle; overflow: hidden; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl .r { text-align: right; }
.tbl .cb { width: 40px; padding-left: 12px; }
.tbl .cb input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); display: block; }
.tbl .no { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tt { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; color: var(--ink); }
.tt .pill { min-height: 20px; padding: 0 8px; font-size: 12px; margin-left: 4px; vertical-align: 1px; }
.tt .extra { font-weight: 400; color: var(--ink-2); }
.tw { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.tbl .pill { min-height: 22px; font-size: 12px; padding: 0 8px; }
.tbl tr.un td.cb { box-shadow: inset 3px 0 0 var(--m-request); }
.tbl tr.un td { background: #FFFAF5; }
.tbl tr.sel td, .tbl tr.sel:hover td { background: var(--navy-50); }
.tbl tr.sel td.cb { box-shadow: inset 3px 0 0 var(--navy); }
.age-flag { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--red); }
.tfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.pager { display: flex; align-items: center; gap: 4px; }
.pager button { min-width: 32px; min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 14px/20px var(--f-ui); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.pager button[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button[disabled] { color: #5E6B7C; background: var(--surface-2); cursor: not-allowed; }

.c-dim { background: rgba(11, 34, 64, .45); }
.c-drawer {
  justify-self: end; width: 440px; max-width: 100%;
  background: #fff; box-shadow: -8px 0 24px rgba(11, 34, 64, .18);
  padding: 0 24px 24px; display: grid; gap: 16px; align-content: start; min-width: 0;
}
.dr-bar {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  margin: 0 -24px; padding: 8px 16px 8px 24px; border-bottom: 1px solid var(--line-2);
  font-size: 14px; line-height: 20px; color: var(--ink-2);
}
.dr-bar .pos { flex: 1; min-width: 0; }
.dr-bar .btn-sm { padding: 0 8px; gap: 4px; color: var(--ink); }
.c-drawer h2 { font: 700 22px/28px var(--f-head); color: var(--ink); }
.dr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; line-height: 20px; color: var(--ink-2); margin-top: -4px; }
.dr-meta a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 500; }
.info-box { display: grid; gap: 8px; padding: 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); font-size: 14px; line-height: 20px; }
.info-box .ln { display: flex; align-items: flex-start; gap: 8px; }
.info-box .ln .i-sm { margin-top: 2px; color: var(--ink-2); }
.info-box b { font-weight: 700; }
.desc { font-size: 15px; line-height: 22px; }
.photo-row { display: flex; align-items: center; gap: 12px; }
.photo-row .cap { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.dr-sec { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.dr-sec h3 { font: 700 16px/24px var(--f-head); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.c-drawer .input, .c-drawer .select, .c-drawer .textarea { font-size: 15px; }
.timeline { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; gap: 12px; font-size: 14px; line-height: 20px; }
.timeline .tdot { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.timeline b { display: block; font-weight: 500; color: var(--ink); }
.timeline span { color: var(--ink-2); }
.tabs-mini { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs-mini button { min-height: 40px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; font: 500 14px/20px var(--f-ui); color: var(--ink-2); cursor: pointer; }
.tabs-mini button[aria-selected="true"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.c-foot { padding: 0 24px 24px; background: #fff; }
.c-foot .site-foot { margin-top: 0; }

/* console nav: icon rail from 1024 to 1599, full nav from 1600 (as in the wireframe) */
@media (min-width: 1024px) and (max-width: 1599px) {
  .c-shell { grid-template-columns: 80px minmax(0, 1fr); }
  .c-side { padding: 8px 4px; }
  .rail-menu {
    display: grid; justify-items: center; gap: 4px; width: 100%;
    min-height: 56px; padding: 8px 2px; margin-bottom: 8px;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); border-radius: 0;
    background: transparent; color: #fff; font: 500 12px/16px var(--f-ui); cursor: pointer;
  }
  .c-side .side-nav { gap: 2px; }
  .c-side .side-nav a {
    position: relative; flex-direction: column; justify-content: center; gap: 4px;
    min-height: 56px; padding: 8px 2px; font-size: 12px; line-height: 16px; text-align: center;
  }
  .c-side .side-nav a[aria-current="page"] { font-weight: 700; }
  .c-side .side-nav .count { position: absolute; top: 4px; left: calc(50% + 6px); margin: 0; min-width: 20px; height: 18px; padding: 0 4px; font-size: 12px; line-height: 18px; background: #fff; color: var(--navy); }
}
@media (max-width: 1023px) {
  body.console { font-size: 15px; }
  .c-top { padding: 8px 12px; gap: 8px; }
  .c-top .brand-name { display: none; }
  .c-menu { display: block; }
  .c-menu summary {
    list-style: none; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 12px; border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .32); color: #fff; font: 700 15px/20px var(--f-ui); cursor: pointer;
  }
  .c-menu summary::-webkit-details-marker { display: none; }
  .c-menu[open] .side-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--navy); padding: 12px; }
  .c-top { position: relative; }
  .c-top .usermenu .uname { display: none; }
  .c-top-row2 { order: 5; flex-basis: 100%; display: flex; gap: 8px; }
  .c-search { max-width: none; }
  .switcher { min-height: 44px; }
  .c-search .input { min-height: 44px; }
  .c-search .i { top: 12px; }
  .c-shell { display: block; }
  .c-side { display: none; }
  .c-work { display: block; background: var(--canvas); }
  .c-dim { display: none; }
  .c-list { padding: 16px; }
  .c-head h1 { font-size: 22px; line-height: 28px; }
  .views { margin: 0 -16px 12px; padding: 0 16px; }
  .views a { min-height: 44px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; }
  .fbtn, .clear { min-height: 44px; }
  .bulk .fbtn { min-height: 44px; }
  .tbl, .tbl tbody { display: block; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl colgroup { display: none; }
  .tbl tr {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
    position: relative; padding: 12px 12px 12px 52px; margin-bottom: 8px;
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  }
  .tbl td { display: block; height: auto; padding: 0; border: 0; overflow: visible; background: transparent !important; }
  .tbl tr.un { border-color: #F3C9A6; box-shadow: inset 4px 0 0 var(--m-request); }
  .tbl tr.sel { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--navy); background: var(--navy-50); }
  .tbl tr.un td.cb, .tbl tr.sel td.cb { box-shadow: none; }
  .tbl td.cb { position: absolute; left: 4px; top: 4px; width: 44px; padding: 0; }
  .tbl td.cb label { display: grid; place-items: center; width: 44px; height: 44px; }
  .tbl td.cb input { width: 20px; height: 20px; }
  .tbl td.c-no { order: 0; }
  .tbl td.c-age { order: 1; margin-left: auto; font-size: 14px; color: var(--ink-2); }
  .tbl td.c-title { order: 2; flex-basis: 100%; min-width: 0; }
  .tbl td.c-cat { order: 3; flex-basis: 100%; font-size: 14px; color: var(--ink-2); }
  .tbl td.c-status { order: 4; }
  .tbl td.c-asg { order: 5; min-width: 0; }
  .tt, .tw { white-space: normal; }
  .tt { font-size: 16px; line-height: 22px; }
  .tw { font-size: 14px; line-height: 20px; margin-top: 2px; }
  .tbl .pill { font-size: 13px; min-height: 24px; }
  .pager button { min-width: 44px; min-height: 44px; }
  .c-drawer { width: auto; margin: 8px 16px 0; padding: 0 16px 16px; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line-2); }
  .dr-bar { margin: 0 -16px; padding: 8px 8px 8px 16px; }
  .dr-bar .btn-sm { min-height: 44px; }
  .c-drawer h2 { font-size: 20px; line-height: 28px; }
  .photo-row { flex-wrap: wrap; }
  .c-foot { padding: 0 16px 24px; background: var(--canvas); }
  .tabs-mini button, .dr-meta a, .c-drawer .btn-sm { min-height: 44px; }
}
@media (max-width: 420px) {
  .grid2.stack-sm { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- dialog ---------- */
.dialog {
  max-width: 440px; background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(11, 34, 64, .24); padding: 24px; display: grid; gap: 16px;
}
.dialog h3 { font: 700 20px/28px var(--f-head); }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }

/* balance button: full width on phone, auto on desktop */
.bal-btn { width: 100%; }
@media (min-width: 1024px) { .bal-btn { width: auto; flex: none; } }
.sum-row.total.flat { margin-top: 0; padding-top: 0; border-top: 0; }

.bal-line { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 22px; color: var(--ink); }
.bal-line .i-sm { margin-top: 3px; color: var(--green); }
.bal-line + .bal-line { margin-top: 8px; }
.bal-amount.over { color: var(--red); }
.bal-head { font: 700 17px/24px var(--f-head); color: var(--ink); margin-bottom: 4px; }
.bal-split { display: grid; gap: 4px; margin: 0 0 16px; padding: 12px; border-radius: var(--r); background: var(--surface-2); font-size: 15px; line-height: 22px; }
.bal-split > div { display: flex; justify-content: space-between; gap: 16px; }
.bal-split dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bal-split .over { color: var(--red); }
.list-row .lr-note { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--ink-2); text-align: right; }
.bal-for .pill { margin-right: 4px; }
.bal-tert { margin: 8px 0 0 -12px; }
.banner:has(.retry) { flex-wrap: wrap; align-items: center; }
.banner:has(.retry) > span { flex: 1 1 120px; min-width: 0; }
.banner .retry { margin-left: auto; }
.counter-row .num { flex: none; white-space: nowrap; }
@media (max-width: 1023px) { .btn-sm { min-height: 44px; } }

/* phone: saved views and filters wrap as chips — nothing runs past the screen edge */
@media (max-width: 1023px) {
  .views { flex-wrap: wrap; overflow: visible; gap: 8px; border-bottom: 0; }
  .views a { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); margin: 0; background: #fff; }
  .views a[aria-current="page"] { border-color: var(--navy); background: var(--navy-50); }
  .filters { flex-wrap: wrap; overflow: visible; margin: 0 0 12px; padding: 0; }
}

/* =========================================================
   Production layer — art-director fixes and the screens the design did not draw
   ========================================================= */
:root { --tabbar-h: 69px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.stack { display: grid; gap: 16px; min-width: 0; align-content: start; }
.stack-8 { display: grid; gap: 8px; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.lead { font-size: 15px; line-height: 22px; color: var(--ink-2); }
.small { font-size: 14px; line-height: 20px; }
.strong { font-weight: 700; }
.red { color: var(--red); }

/* fix 5: inline links in a sentence are underlined; action links in a card header are not */
a { text-decoration: underline; text-underline-offset: 2px; }
.sec-link, .btn, .brand, .side-nav a, .tabbar a, .views a, .site-foot a, .tt, .item, .list-row, .quick a, .icon-btn, .skip { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

/* fix 3: rows inside a card are plain rows with a 1 px line-2 divider — no boxes inside cards */
.items { gap: 0; }
.item { padding: 12px 0; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
.item:first-child { border-top: 0; padding-top: 4px; }
.item:last-child { padding-bottom: 0; }
a.item:hover { background: transparent; border-color: var(--line-2); }
a.item:hover .item-title { text-decoration: underline; }
/* the urgent notice is the card itself */
.card.notice-urgent { border-left: 4px solid var(--red); }
.card.notice-urgent .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; line-height: 20px; color: #7A1711; }

/* a list of rows that is the card (More, Building, Receipt details) */
.list { margin: 0; padding: 0; list-style: none; }
.list-row {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0;
  border-top: 1px solid var(--line-2); color: var(--ink);
}
.list > li:first-child > .list-row, .list > .list-row:first-child { border-top: 0; }
a.list-row:hover .lr-title { text-decoration: underline; }
.list-row .lr-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy-50); color: var(--navy); }
.list-row .lr-main { flex: 1; min-width: 0; display: grid; }
.list-row .lr-title { font-weight: 500; }
.list-row .lr-sub { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.list-row > .i-sm { color: var(--ink-3); }
.list-row .lr-end { flex: none; font-weight: 500; }
button.list-row { width: 100%; border-left: 0; border-right: 0; border-bottom: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.card > .list:first-child > li:first-child > .list-row { padding-top: 0; min-height: 48px; }

/* key–value rows (receipt, drawer) */
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.kv > div:first-child { border-top: 0; padding-top: 0; }
.kv dt { color: var(--ink-2); font-size: 15px; line-height: 22px; flex: none; }
.kv dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; font-variant-numeric: tabular-nums; }
.kv dd .sub { display: block; font-weight: 400; font-size: 14px; line-height: 20px; color: var(--ink-2); }

/* fix 4: phone quick actions are a 2-column row */
.quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quick a { min-height: 88px; }
.qi.c-phone { background: var(--green-50); color: var(--green); }

/* fix 6 + the 3-tab bar: fixed to the bottom, the page scrolls fully clear of it */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px 4px calc(8px + env(safe-area-inset-bottom));
}
body.has-tabbar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
body.has-paybar { padding-bottom: env(safe-area-inset-bottom); }
.paybar { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  body.has-tabbar { padding-bottom: 0; }
  .tabbar { display: none; }
  .paybar { padding-bottom: 20px; }
}

/* tenant shell details */
.t-appbar .who { text-decoration: none; color: inherit; }
.t-side .brand small { max-width: 168px; }
.t-content > .site-foot { margin-top: 32px; }
.t-content.narrow { max-width: 760px; }
.page-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.page-head h1 { font: 700 22px/28px var(--f-head); color: var(--navy); flex: 1; min-width: 0; }
@media (min-width: 1024px) { .page-head h1 { font-size: 28px; line-height: 36px; } .page-head { margin-bottom: 24px; } }
.t-appbar .back { margin-left: -8px; }
.t-appbar .ttl { font: 700 20px/28px var(--f-head); color: #fff; }
@media (min-width: 1024px) { .t-appbar .ttl { color: var(--navy); } }
.bal-paid { display: flex; align-items: center; gap: 12px; }
.bal-paid .ico-wrap { background: var(--green-50); color: var(--green); }
.bal-paid b { display: block; font: 700 20px/28px var(--f-head); color: var(--ink); }
.bal-foot .auto .i-sm { color: var(--ink-3); }
.contact-btns { display: grid; gap: 8px; }
@media (min-width: 600px) { .contact-btns { grid-template-columns: 1fr 1fr; } }
.emergency { border-left: 4px solid var(--red); }
.emergency .sec-head > .i { color: var(--red); }

/* T2 activity */
.act-head { display: grid; gap: 12px; }
@media (min-width: 1024px) { .act-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.act-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 12px; }
.act-tools .seg { min-width: 280px; }
.act-tools .select { width: auto; min-width: 120px; }
.month-h { font: 700 15px/20px var(--f-head); color: var(--ink-2); margin: 16px 0 4px; }
.month-h:first-child { margin-top: 0; }
.line { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.month-h + .line { border-top: 0; }
.line .l-main { flex: 1; min-width: 0; }
.line .l-title { font-weight: 500; display: block; }
.line .l-sub { font-size: 14px; line-height: 20px; color: var(--ink-2); display: block; }
.line .l-end { text-align: right; flex: none; }
.line .l-amt { font-weight: 700; font-variant-numeric: tabular-nums; display: block; }
.line .l-amt.minus { color: var(--green); }
.line s.l-amt { text-decoration: line-through; color: var(--ink-2); font-weight: 500; }
.line .l-bal { font-size: 13px; line-height: 18px; color: var(--ink-2); font-variant-numeric: tabular-nums; display: block; }
.line a.l-title { color: var(--ink); text-decoration: none; }
.line a.l-title:hover { text-decoration: underline; }
.line .l-reason { font-size: 14px; line-height: 20px; color: var(--red); display: block; margin-top: 2px; }
.line .pill { min-height: 20px; padding: 0 8px; font-size: 12px; margin-left: 6px; vertical-align: 1px; }
.tbl.act td { height: 48px; }
.tbl.act .pill { margin-left: 0; }
.act-desk { display: none; }
@media (min-width: 1024px) { .act-desk { display: block; } .act-phone { display: none; } }

/* T3 pay: new card / bank panels open from the method choice */
.method-panel { display: none; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.pay-form:has(input[name="method"][value="new_card"]:checked) .method-panel.p-card,
.pay-form:has(input[name="method"][value="new_bank"]:checked) .method-panel.p-bank { display: grid; }
.pay-form:has(input[name="amount_choice"][value="other"]:checked) .other-field,
.pay-form:has(input[name="when"][value="schedule"]:checked) .date-field { display: grid; }
.other-field, .date-field { display: none; margin-top: 12px; }
.no-js .other-field, .no-js .date-field { display: grid; }
.grid-card { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid-card .full { grid-column: 1 / -1; }
.seg.method-seg { grid-auto-columns: minmax(0, 1fr); }
.seg.method-seg label { white-space: normal; text-align: center; line-height: 18px; padding: 4px 8px; }
.pay-none { color: var(--ink-2); margin-bottom: 8px; }
.pay-blocked { display: grid; gap: 12px; }
.when-card .field { flex-basis: 100%; }
.when-card { flex-wrap: wrap; }
.when-card .date-field { width: 100%; margin-top: 0; }
@media (max-width: 420px) { .when-card .seg { width: 100%; } }
.btn.is-loading .spinner { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading .spinner { animation-duration: 2.4s; } }
.pay-wait { display: none; }
.pay-screen.is-paying .pay-wait { display: block; }
.pay-screen.is-paying .consent { display: none; }

/* T4 receipt */
.rc-main { max-width: 640px; margin: 0 auto; padding: 16px 16px 0; }
.rc-hero { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 24px 16px; }
.rc-hero .ico-wrap { width: 56px; height: 56px; background: var(--green-50); color: var(--green); }
.rc-hero .ico-wrap .i-lg { width: 28px; height: 28px; }
.rc-hero.is-processing .ico-wrap { background: var(--blue-50); color: var(--blue); }
.rc-hero.is-scheduled .ico-wrap { background: var(--teal-50); color: var(--teal); }
.rc-hero.is-failed .ico-wrap, .rc-hero.is-returned .ico-wrap { background: var(--red-50); color: var(--red); }
.rc-hero.is-cancelled .ico-wrap { background: var(--line-2); color: var(--ink-2); }
.rc-hero h1 { font: 700 24px/32px var(--f-head); color: var(--navy); }
.rc-amount { font: 700 36px/44px var(--f-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.rc-actions { display: grid; gap: 8px; }
@media (min-width: 1024px) { .rc-main { padding-top: 32px; } .rc-actions { grid-template-columns: 1fr 1fr; } }

/* auth screens (P1–P5, invitation) */
body.auth { background: var(--navy-900); min-height: 100vh; }
.auth-wrap { min-height: 100vh; display: grid; align-content: start; justify-items: center; gap: 16px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
.auth-wrap > .brand { justify-self: center; }
.auth-card { width: 100%; max-width: 440px; display: grid; gap: 16px; padding: 24px 20px; }
.auth-card h1 { font: 700 24px/32px var(--f-head); color: var(--navy); }
.auth-card .lead { margin-top: -8px; }
.auth-card form { display: grid; gap: 16px; }
.auth-card .demo { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.auth-card .demo h2 { font: 700 15px/20px var(--f-head); color: var(--ink); }
.demo-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.demo-list form { display: block; }
.demo-btn { width: 100%; justify-content: flex-start; text-align: left; white-space: normal; padding: 8px 12px; min-height: 52px; gap: 12px; border-color: var(--line); }
.demo-btn .avatar { width: 32px; height: 32px; font-size: 13px; }
.demo-btn span.t { display: grid; font-weight: 500; line-height: 20px; }
.demo-btn small { font: 400 14px/20px var(--f-ui); color: var(--ink-2); }
.auth-foot { width: 100%; max-width: 440px; }
.auth-foot .site-foot { border-top-color: rgba(255, 255, 255, .2); color: var(--on-navy); margin-top: 0; }
.auth-foot .site-foot a { color: #fff; }
.auth-alt { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.code-input { font: 500 24px/32px var(--f-ui); letter-spacing: 6px; text-align: center; font-variant-numeric: tabular-nums; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 76px; }
.pw-wrap .pw-toggle { position: absolute; right: 2px; top: 0; min-height: 44px; }
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.steps > li::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 14px/1 var(--f-head); }
.steps h2 { font: 700 16px/24px var(--f-head); }
.qr { width: 184px; height: 184px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-top: 8px; }
.qr svg { width: 100%; height: 100%; }
.keybox { font: 500 15px/22px var(--f-ui); letter-spacing: 1px; word-break: break-all; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px 12px; font-variant-numeric: tabular-nums; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 0; padding: 12px; list-style: none; background: var(--surface-2); border-radius: var(--r); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: 1px; }
.invite-home { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.invite-home b { font: 700 17px/24px var(--f-head); }
@media (min-width: 600px) { .auth-wrap { padding-top: 64px; } .auth-card { padding: 32px; } }

/* simple pages (404, feedback, privacy, offline) */
.plain-top { background: var(--navy-900); color: #fff; }
.plain-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1024px; margin: 0 auto; padding: 8px 16px; }
.plain-top-in .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.plain-top-in .btn-secondary:hover { background: rgba(255, 255, 255, .1); }
.plain-main { max-width: 720px; margin: 0 auto; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
.plain-main h1 { font: 700 26px/32px var(--f-head); color: var(--navy); }
.plain-main .card { margin-top: 16px; }
.prose { display: grid; gap: 12px; }
.prose h2 { font: 700 18px/24px var(--f-head); margin-top: 8px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.err-page { display: grid; gap: 12px; justify-items: start; }
.err-page .ico-wrap { width: 48px; height: 48px; }
@media (min-width: 1024px) { .plain-main { padding-top: 48px; } .plain-top-in { padding: 8px 32px; } }

/* console: desktop top bar shows only the avatar; the name stays in the greeting */
.usermenu .uname { display: none; }
.c-user { position: relative; }
.c-user summary { list-style: none; }
.c-user summary::-webkit-details-marker { display: none; }
.c-user .menu-pop {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; width: 260px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 24px rgba(11, 34, 64, .18); padding: 8px;
}
.c-user .menu-pop p { padding: 8px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.c-user .menu-pop p b { display: block; color: var(--ink); font-size: 15px; }
.c-user .menu-pop button { width: 100%; justify-content: flex-start; }
.switcher-form { display: flex; align-items: center; gap: 8px; }
.switcher-form .select { min-height: 40px; background-color: var(--navy-700); color: #fff; border-color: rgba(255, 255, 255, .28); font-weight: 700; font-size: 15px; width: auto; max-width: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E"); }
.switcher-form .select option { color: var(--ink); background: #fff; }
.c-greet { font-size: 15px; line-height: 22px; color: var(--ink-2); margin: -8px 0 16px; }
.c-list .banner { margin-bottom: 12px; }
.c-sub { font-size: 15px; line-height: 22px; color: var(--ink-2); }

/* C1 overview */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; display: grid; gap: 4px; align-content: start; }
.stat .s-label { font: 500 14px/20px var(--f-ui); color: var(--ink-2); }
.stat .s-value { font: 700 26px/32px var(--f-head); color: var(--navy); font-variant-numeric: tabular-nums; }
.stat .s-sub { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.stat .s-sub a { font-weight: 500; }
.meter { height: 6px; border-radius: var(--r-pill); background: var(--line-2); overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--green); }
.c-sec { margin-bottom: 24px; }
.c-sec > h2 { font: 700 18px/24px var(--f-head); margin-bottom: 12px; }
.attn { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.attn li + li { border-top: 1px solid var(--line-2); }
.attn a, .attn .ok { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; color: var(--ink); text-decoration: none; }
.attn a:hover b { text-decoration: underline; }
.attn .ico-wrap { width: 32px; height: 32px; background: var(--red-50); color: var(--red); }
.attn .ok .ico-wrap { background: var(--green-50); color: var(--green); }
.attn .ico-wrap { flex: none; }
.attn a > span:not(.ico-wrap) { flex: 1; min-width: 0; }
.tbl tfoot td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--line); background: var(--surface-2); }
.tbl.ov td, .tbl.ov th { white-space: nowrap; }
.w-24 { width: 24%; } .w-12 { width: 12%; } .w-10 { width: 10%; } .w-14 { width: 14%; } .w-16 { width: 16%; } .w-18 { width: 18%; } .w-20 { width: 20%; } .w-8 { width: 8%; }
.w-96 { width: 96px; } .w-112 { width: 112px; } .w-120 { width: 120px; } .w-136 { width: 136px; } .w-80 { width: 80px; } .w-64 { width: 64px; }

/* C5 payments */
.filters .select { width: auto; min-height: 32px; padding: 4px 36px 4px 12px; font-size: 14px; line-height: 20px; border-color: var(--line); background-position: right 8px center; }
.filters .select.set { border-color: var(--navy); background-color: var(--navy-50); }
.filters .chip { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 8px 4px 12px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy-50); color: var(--ink); font: 500 14px/20px var(--f-ui); text-decoration: none; white-space: nowrap; }
.filters .chip:hover { background: var(--line); }
.filters .c-search { flex: 1 1 220px; max-width: 320px; }
.filters .c-search .input { min-height: 32px; border: 1px solid var(--line); padding: 4px 12px 4px 36px; font-size: 14px; }
.filters .c-search .i { top: 6px; left: 10px; }
.tbl tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--navy); }
.tbl .tt.mono-num { font-variant-numeric: tabular-nums; }
.c-amt { font-weight: 700; }
.c-amt.struck { text-decoration: line-through; color: var(--ink-2); font-weight: 400; }
.tbl .row-link { color: var(--ink); text-decoration: none; font-weight: 500; }
.tbl .row-link:hover { text-decoration: underline; }
.tbl tbody tr { cursor: pointer; }
.pager a { min-width: 32px; min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 14px/20px var(--f-ui); display: inline-flex; align-items: center; justify-content: center; gap: 4px; text-decoration: none; }
.pager span.dis { min-height: 32px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: var(--r); color: #5E6B7C; background: var(--surface-2); }
.dr-amount { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dr-amount b { font: 700 28px/36px var(--f-head); font-variant-numeric: tabular-nums; }
.tbl.alloc { table-layout: auto; }
.tbl.alloc td { height: 40px; }
.tbl.alloc tbody tr { cursor: default; }
.tbl.alloc tbody tr:hover td { background: transparent; }
.c-drawer .kv dd { font-weight: 500; }
.c-empty { padding: 32px 0; }
.c-empty h2 { font: 700 18px/24px var(--f-head); }

/* fix 1: from 1280 the drawer is a side pane that narrows the table — no scrim, nothing dimmed */
.c-work .c-dim { display: none; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .c-work.has-drawer .c-dim { display: block; position: relative; z-index: 1; }
  .c-work.has-drawer .c-drawer { position: relative; z-index: 2; }
}
@media (min-width: 1280px) {
  .c-work.has-drawer { grid-template-columns: minmax(0, 1fr) 440px; }
  .c-work.has-drawer > * { grid-area: auto; }
  .c-work.has-drawer .c-drawer {
    grid-column: 2; grid-row: 1; justify-self: stretch; width: auto; align-self: start;
    position: sticky; top: 0; max-height: 100vh; overflow-y: auto;
    box-shadow: none; border-left: 1px solid var(--line);
  }
  .c-work.has-drawer .col-opt { display: none; }
}
.c-work:not(.has-drawer) .tw.when-drawer, .c-work .tw.when-drawer { display: none; }
@media (min-width: 1280px) { .c-work.has-drawer .tw.when-drawer { display: block; } }
@media (max-width: 1023px) {
  .c-work.has-drawer .c-list { display: none; }
  .c-drawer { margin: 16px; }
  .tbl.pays tr { padding: 12px; }
  .tbl.pays td.c-rc { order: 0; font-weight: 700; }
  .tbl.pays td.c-amtc { order: 1; margin-left: auto; }
  .tbl.pays td.c-who { order: 2; flex-basis: 100%; min-width: 0; }
  .tbl.pays td.c-date { order: 3; font-size: 14px; color: var(--ink-2); }
  .tbl.pays td.c-meth { order: 4; font-size: 14px; color: var(--ink-2); }
  .tbl.pays td.c-st { order: 5; margin-left: auto; }
  .tbl.pays td.c-fee, .tbl.pays td.c-unit { display: none; }
  .tbl.ov, .tbl.ov tbody, .tbl.ov tfoot { display: block; }
  .tbl.ov tr { padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; }
  .tbl.ov td { padding: 0; text-align: left; }
  .tbl.ov td.b-name { font-weight: 700; grid-column: 1 / -1; }
  .tbl.ov td[data-l]::before { content: attr(data-l) " "; color: var(--ink-2); }
  .tbl.ov tfoot tr { background: var(--surface-2); }
  .tbl.ov tfoot td { border: 0; background: transparent; }
  .c-foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* skeleton widths (loading states drawn by the pages) */
.skel.w-40 { width: 40%; } .skel.w-60 { width: 60%; } .skel.w-80p { width: 80%; } .skel.h-32 { height: 32px; } .skel.h-44 { height: 44px; }

/* offline notice (P9) */
.offline-bar { display: none; }
body.is-offline .offline-bar { display: flex; }
.offline-bar { align-items: center; gap: 8px; padding: 8px 16px; background: var(--amber-50); color: var(--amber); font-size: 14px; line-height: 20px; }
body.is-offline .needs-online { opacity: .6; pointer-events: none; }

/* print the receipt cleanly */
@media print {
  .t-side, .tabbar, .t-appbar, .site-foot, .rc-actions, .test-strip, .skip { display: none !important; }
  body { background: #fff; padding: 0 !important; }
}

/* small tables that stay tables on phones (drawer «Applied to», receipt lines) */
@media (max-width: 1023px) {
  .tbl.alloc { display: table; width: 100%; }
  .tbl.alloc tbody { display: table-row-group; }
  .tbl.alloc tr { display: table-row; padding: 0; border: 0; box-shadow: none; background: none; }
  .tbl.alloc td { display: table-cell; padding: 12px 8px; border-bottom: 1px solid var(--line-2); }
  .tbl.alloc td.r { text-align: right; }
  .c-drawer .kbd { display: none; }
}

/* helpers used by the pages */
.block { display: block; }
.mb-12 { margin-bottom: 12px; }
.sec-title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.views-seg { flex: none; }
.pay-foot { padding: 0 16px; }
.install-row[hidden] { display: none; }
.back-light { color: inherit; }
.t-main { min-width: 0; }
.meter .w-pct-0 { width: 0%; } .meter .w-pct-5 { width: 5%; } .meter .w-pct-10 { width: 10%; } .meter .w-pct-15 { width: 15%; } .meter .w-pct-20 { width: 20%; } .meter .w-pct-25 { width: 25%; } .meter .w-pct-30 { width: 30%; } .meter .w-pct-35 { width: 35%; } .meter .w-pct-40 { width: 40%; } .meter .w-pct-45 { width: 45%; } .meter .w-pct-50 { width: 50%; } .meter .w-pct-55 { width: 55%; } .meter .w-pct-60 { width: 60%; } .meter .w-pct-65 { width: 65%; } .meter .w-pct-70 { width: 70%; } .meter .w-pct-75 { width: 75%; } .meter .w-pct-80 { width: 80%; } .meter .w-pct-85 { width: 85%; } .meter .w-pct-90 { width: 90%; } .meter .w-pct-95 { width: 95%; } .meter .w-pct-100 { width: 100%; }
.seg a { text-decoration: none; } .seg a:hover { color: var(--navy); }
