/* =====================================================================
   GREAT LAKES REALTY — hi-fi institutional system
   Deep navy + ink · Archivo grotesk · hairline grids
   ===================================================================== */

:root {
  /* brand */
  --navy: #102a43;
  --navy-700: #1b3a5b;
  --navy-600: #234668;
  --ink: #16202c;
  --ink-2: #3a4a5c;
  --slate: #5b6b7c;
  --slate-2: #8696a6;
  --line: #e3e7ec;
  --line-2: #d0d6dd;
  --paper: #ffffff;
  --paper-2: #f6f8fa;
  --paper-3: #eef1f5;
  --brass: #9a7b4f;
  --brass-soft: #f2ead9;

  /* semantic */
  --avail: #1f7a4d;
  --avail-bg: #e6f3ec;
  --loi: #9a6a1c;
  --loi-bg: #f7eed9;
  --closed: #6b7785;
  --closed-bg: #eceff2;
  --danger: #a23b2e;

  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;

  --r: 3px;
  --r-lg: 5px;
  --shadow: 0 1px 2px rgba(16,42,67,0.05), 0 8px 24px -12px rgba(16,42,67,0.18);
  --shadow-lg: 0 2px 4px rgba(16,42,67,0.06), 0 24px 60px -20px rgba(16,42,67,0.30);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

.tnum { font-variant-numeric: tabular-nums; }
.serif { } /* reserved */

/* ---------- typographic scale ---------- */
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
}
.eyebrow.brass { color: var(--brass); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.display { font-size: clamp(38px, 5vw, 66px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }
.h1 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; }
.h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; }
.h3 { font-size: 19px; letter-spacing: -0.015em; }
.lede { font-size: 18px; color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--slate); }
.small { font-size: 13px; }
.xsmall { font-size: 11.5px; }
.up { text-transform: uppercase; letter-spacing: 0.08em; }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.b6 { font-weight: 600; } .b7 { font-weight: 700; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1480px; margin: 0 auto; padding: 0 32px; }
.row { display: flex; gap: 16px; }
.row.ac { align-items: center; }
.row.jb { justify-content: space-between; }
.row.je { justify-content: flex-end; }
.row.jc { justify-content: center; }
.row.wrapf { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; }
.gap4 { gap: 4px; } .gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; }
.gap12 { gap: 12px; } .gap16 { gap: 16px; } .gap20 { gap: 20px; } .gap24 { gap: 24px; }
.gap32 { gap: 32px; } .gap40 { gap: 40px; }
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mt32{margin-top:32px}.mt40{margin-top:40px}.mt56{margin-top:56px}
.section { padding: 84px 0; }
.section-sm { padding: 52px 0; }
.divider { height: 1px; background: var(--line); border: 0; }
.vrule { width: 1px; background: var(--line); align-self: stretch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px; border-radius: var(--r);
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s, transform .06s;
  background: var(--navy); color: #fff;
}
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--navy-700); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--navy); background: var(--paper-2); }
.btn.brass { background: var(--brass); }
.btn.brass:hover { background: #876b44; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--line-2); }
.btn.danger:hover { background: #fbeeec; border-color: var(--danger); }
.btn .ic { width: 16px; height: 16px; }
.linklike { color: var(--navy); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.linklike:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 9px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--paper-3); color: var(--slate); border: 1px solid transparent; white-space: nowrap;
}
.nowrap { white-space: nowrap; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.avail { background: var(--avail-bg); color: var(--avail); }
.tag.loi { background: var(--loi-bg); color: var(--loi); }
.tag.closed { background: var(--closed-bg); color: var(--closed); }
.tag.gate { background: var(--brass-soft); color: var(--brass); }
.tag.outline { background: transparent; border-color: var(--line-2); color: var(--ink-2); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--paper);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: all .14s; white-space: nowrap;
}
.chip:hover { border-color: var(--slate-2); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on .x { opacity: .8; }
.chip .x { font-size: 15px; line-height: 1; }

/* ---------- inputs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--slate); text-transform: uppercase; }
.input, .select, .textarea {
  height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--paper); font-family: inherit; font-size: 14.5px; color: var(--ink);
  width: 100%; transition: border-color .14s, box-shadow .14s;
}
.textarea { height: auto; padding: 12px 13px; resize: vertical; min-height: 96px; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--slate-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,42,67,0.10); }
.input-ic { position: relative; }
.input-ic .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--slate-2); width: 18px; height: 18px; }
.input-ic .input { padding-left: 40px; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%235b6b7c' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }

/* ---------- cards / surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.hover { transition: box-shadow .18s, transform .18s, border-color .18s; cursor: pointer; }
.card.hover:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.phbox { transition: transform .45s cubic-bezier(.2,.6,.2,1); will-change: transform; }
.card.hover:hover .phbox { transform: scale(1.045); }
.pad16 { padding: 16px; } .pad20 { padding: 20px; } .pad24 { padding: 24px; } .pad32 { padding: 32px; }
.surface { background: var(--paper-2); }
.surface-navy { background: var(--navy); color: #fff; }
.surface-navy .muted { color: #9fb2c6; }
.surface-navy .eyebrow { color: #7f97b0; }

/* hairline ledger row */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); padding: 10px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.ledger td { padding: 14px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger .num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger tbody tr { transition: background .12s; }
.ledger tbody tr.clickable { cursor: pointer; }
.ledger tbody tr.clickable:hover { background: var(--paper-2); }

/* ---------- logo / wordmark ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .seal {
  width: 40px; height: 40px; flex: none; border-radius: var(--r);
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; letter-spacing: -0.04em; font-size: 16px; position: relative;
  overflow: hidden;
}
.logo .seal img { width: 100%; height: 100%; object-fit: cover; }
.logo .wm { display: flex; flex-direction: column; line-height: 1; }
.logo .wm b { font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; }
.logo .wm span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-top: 3px; white-space: nowrap; }
.logo.lg .seal { width: 52px; height: 52px; font-size: 21px; }
.logo.lg .wm b { font-size: 21px; }
.logo.on-navy .wm b { color: #fff; }
.logo.on-navy .wm span { color: #8ba0b6; }
.logo.on-navy .seal { background: #fff; color: var(--navy); }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--r); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .14s, color .14s; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a.cur { color: var(--navy); font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #c8d6e5; padding: 64px 0 32px; }
.footer a:hover { color: #fff; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .fcol h5 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #7f97b0; margin: 0 0 14px; font-weight: 700; }
.footer .fcol a, .footer .fcol p { display: block; font-size: 14px; color: #c8d6e5; margin: 0 0 9px; }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; font-size: 12.5px; color: #7f97b0; }

/* ---------- map ---------- */
.leaflet-pane, .leaflet-tile, .leaflet-control { } /* leaflet present */
.glr-pin {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--navy); color: #fff; border: 2px solid #fff;
  border-radius: 50% 50% 50% 2px; transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(16,42,67,0.4); font-size: 0; cursor: pointer;
  transition: transform .15s, background .15s;
}
.glr-pin span { transform: rotate(-45deg); font-size: 12px; font-weight: 700; }
.glr-pin.active, .glr-pin:hover { background: var(--brass); transform: rotate(45deg) scale(1.18); z-index: 1000; }
.map-fallback { width:100%; height:100%; background:
  linear-gradient(0deg, rgba(16,42,67,0.04) 1px, transparent 1px) 0 0 / 100% 28px,
  linear-gradient(90deg, rgba(16,42,67,0.04) 1px, transparent 1px) 0 0 / 28px 100%,
  var(--paper-3); }

/* ---------- misc ---------- */
.stat .n { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13px; color: var(--slate); margin-top: 7px; }
.kv { display: flex; flex-direction: column; gap: 3px; }
.kv .k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.kv .v { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.seal-est { display: inline-flex; align-items: center; gap: 8px; color: var(--brass); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.seal-est::before, .seal-est::after { content: ""; width: 22px; height: 1px; background: var(--brass); opacity: .5; }

.gate-band { background: var(--brass-soft); border: 1px solid #e6d8b8; border-radius: var(--r-lg); }

/* fade-in on route */
.fade-in { animation: fadeIn .35s ease both; }

/* hero search grid */
.hero-search { display: grid; grid-template-columns: 1.3fr 1.3fr 0.85fr 0.85fr auto; gap: 14px; align-items: end; }
@media (max-width: 820px) { .hero-search { grid-template-columns: 1fr 1fr; } .hero-search .hs-btn { grid-column: 1 / -1; } }
.brass-rule { width: 34px; height: 2px; background: var(--brass); border: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .rise, .fade-in { animation: none !important; } }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 9999;
  animation: fadeIn .25s ease both; display: flex; align-items: center; gap: 10px;
}

/* ---------- client portal sidecar ---------- */
.sc-scrim {
  position: fixed; inset: 0; z-index: 200; background: rgba(16,42,67,0);
  transition: background .32s ease; display: flex; justify-content: flex-end;
}
.sc-scrim.on { background: rgba(16,42,67,0.42); backdrop-filter: blur(2px); }
.sc-panel {
  width: 440px; max-width: 100vw; height: 100%; background: var(--paper);
  display: flex; flex-direction: column; box-shadow: -24px 0 60px -20px rgba(16,42,67,0.4);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.22,.7,.2,1);
}
.sc-panel.on { transform: translateX(0); }
.sc-head { background: var(--navy); color: #fff; padding: 26px 28px 30px; }
.sc-close {
  width: 36px; height: 36px; border-radius: var(--r); flex: none; cursor: pointer;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #cdd9e6;
  display: grid; place-items: center; transition: background .14s;
}
.sc-close:hover { background: rgba(255,255,255,0.16); color: #fff; }
.sc-body { flex: 1; min-height: 0; padding: 26px 28px; }
.sc-foot { padding: 18px 28px 24px; border-top: 1px solid var(--line); background: var(--paper-2); }
.sc-room {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  cursor: pointer; font-family: inherit; transition: border-color .14s, background .14s;
}
.sc-room:hover { border-color: var(--navy); background: var(--paper-2); }
.linklike.xsmall { font-size: 11.5px; }
@media (max-width: 480px) { .sc-panel { width: 100vw; } .sc-head { padding: 20px 18px 24px; } .sc-body, .sc-foot { padding-left: 18px; padding-right: 18px; } }

/* ---------- document sheet (preview tables) ---------- */
.docsheet { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.docsheet th {
  text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate); padding: 9px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.docsheet td { padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.docsheet .num { text-align: right; }
.docsheet tbody tr:last-child td { border-bottom: 0; }
.docsheet tr.tot td { font-weight: 700; color: var(--navy); border-top: 1.5px solid var(--line-2); background: var(--paper-2); }

.wr-icbtn {
  width: 30px; height: 30px; border-radius: var(--r); flex: none; cursor: pointer;
  border: 1px solid transparent; background: transparent; color: var(--slate);
  display: grid; place-items: center; transition: background .14s, color .14s, border-color .14s;
}
.wr-icbtn:hover { background: var(--paper-3); color: var(--navy); border-color: var(--line-2); }

/* ---------- document preview modal ---------- */
.docmodal-scrim {
  position: fixed; inset: 0; z-index: 300; background: rgba(11,26,41,0.62); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 32px; animation: fadeIn .2s ease both;
}
.docmodal {
  width: 100%; max-width: 860px; height: 100%; max-height: 92vh; background: var(--paper-3);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.docmodal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; background: var(--navy); color: #fff; flex: none;
}
.docmodal-x { background: rgba(255,255,255,0.08) !important; border-color: rgba(255,255,255,0.18) !important; color: #cdd9e6 !important; width: 36px; padding: 0 !important; }
.docmodal-x:hover { background: rgba(255,255,255,0.18) !important; }
.docmodal-scroll { flex: 1; min-height: 0; padding: 28px; }
.docpaper {
  max-width: 720px; margin: 0 auto; background: #fff; border-radius: 3px;
  box-shadow: 0 4px 14px rgba(16,42,67,0.14), 0 1px 0 rgba(16,42,67,0.04); overflow: hidden;
}
@media (max-width: 760px) {
  .docmodal-scrim { padding: 0; }
  .docmodal { max-height: 100vh; border-radius: 0; }
  .docmodal-scroll { padding: 12px; }
}

/* ---------- LOI / form modal ---------- */
.formcard {
  width: 100%; max-width: 560px; max-height: 90vh; background: var(--paper);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: rise .28s cubic-bezier(.2,.7,.2,1) both;
}
.formcard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.formcard-body { padding: 22px 24px; overflow-y: auto; flex: 1; min-height: 0; }
.formcard-foot { padding: 14px 24px; border-top: 1px solid var(--line); background: var(--paper-2); display: flex; gap: 10px; justify-content: flex-end; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--navy); }
@media (max-width: 560px) {
  .docmodal-scrim { padding: 0; }
  .formcard { max-width: none; max-height: 100vh; height: 100%; border-radius: 0; }
  .form-grid { grid-template-columns: 1fr; }
}

/* scrollbar (portal/admin panes) */
.scroll-y { overflow-y: auto; }
.scroll-y::-webkit-scrollbar { width: 10px; }
.scroll-y::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; border: 3px solid var(--paper); }

/* ---------- mobile nav ---------- */
.nav-burger { width: 44px; padding: 0; }
.ls-toggle {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 600;
  display: flex; gap: 2px; background: var(--navy); border-radius: 999px; padding: 4px;
  box-shadow: var(--shadow-lg);
}
.ls-toggle button {
  border: none; background: transparent; color: #fff; padding: 9px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 7px;
  font-family: inherit; cursor: pointer;
}
.ls-toggle button.on { background: #fff; color: var(--navy); }
.pd-tabs { overflow-x: auto; scrollbar-width: none; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs > button { white-space: nowrap; flex: none; }
.nav-drawer {
  border-top: 1px solid var(--line); background: var(--paper);
  padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 2px;
  animation: fadeIn .18s ease both;
}
.nav-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; font-size: 17px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a.cur { color: var(--navy); }
.nav-drawer a svg { color: var(--slate-2); }

@media (max-width: 980px) {
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .wrap, .wrap-wide { padding: 0 16px; }
  .section { padding: 42px 0; }
  .section-sm { padding: 30px 0; }
  .nav-in { height: 58px; }
  .footer { padding: 40px 0 24px; }
  .footer .cols { grid-template-columns: 1fr !important; gap: 26px; }
  .footer .legal { flex-direction: column; gap: 8px; margin-top: 32px; }
  .display { font-size: 29px; letter-spacing: -0.02em; line-height: 1.04; }
  .h1 { font-size: 23px; }
  .h2 { font-size: 20px; }
  .lede { font-size: 15.5px; line-height: 1.5; }
  .pad32 { padding: 18px; } .pad24 { padding: 16px; } .pad-lg { padding: 20px; }
  .mt56 { margin-top: 34px; } .mt40 { margin-top: 26px; } .mt32 { margin-top: 22px; }
  .stat .n { font-size: 30px; }

  /* generic restack helpers (override inline grids) */
  .m-stack { grid-template-columns: 1fr !important; gap: 16px !important; }
  .m-stack2 { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .m-flat { position: static !important; top: auto !important; height: auto !important; max-height: none !important; }
  .m-hide { display: none !important; }
  .m-fullh-auto { min-height: 0 !important; height: auto !important; }
  .m-col { flex-direction: column !important; align-items: stretch !important; }
  .m-tablewrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .m-tablewrap table { min-width: 640px; }
  .ls-search { width: 100% !important; }
  .pd-thumbs { display: none !important; }
  .m-pad-sm { padding: 36px 16px !important; max-width: none !important; }
  .about-img { min-height: 240px; }
  [data-login] { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .login-navy { padding: 32px 16px !important; gap: 22px; }
  .access-summary { width: 100% !important; position: static !important; top: auto !important; }
  .wr-statusbar { flex-direction: column !important; align-items: stretch !important; gap: 12px; }
  .wr-status { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
  .portal-room { grid-template-columns: 1fr !important; }
}
