/* Mesa Verde Living — demo by Phoenix Valley Tech */
:root {
  color-scheme: light;
  --bg: #FBF7F0;
  --surface: #FFFFFF;
  --surface-2: #F5EEE2;
  --sand: #E9DCC6;
  --sand-2: #DCC8A8;
  --sage: #5E7558;
  --sage-2: #7A9172;
  --sage-soft: #E5ECE1;
  --slate: #1F2A33;
  --slate-2: #33434F;
  --text: #1F2A33;
  --muted: #5A6670;
  --border: #E6DCCB;
  --border-2: #D6C8B1;
  --accent: #A44E2B;
  --accent-2: #8C4022;
  --accent-soft: #F6E3D8;
  --gold: #B57B1A;
  --gold-soft: #F8EBD2;
  --red: #B23A31;
  --red-soft: #F8E1DE;
  --blue: #2F6278;
  --blue-soft: #E1EDF2;
  --ok: #3E7A4A;
  --ok-soft: #E2F0E3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31,42,51,.06), 0 6px 20px rgba(31,42,51,.06);
  --shadow-lg: 0 10px 40px rgba(31,42,51,.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --tab-h: 64px;
  --pill-space: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-2); }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid #2F6278; outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--slate); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; color: var(--sage); margin-bottom: 10px; }
.eyebrow-light { color: #C9D8C3; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--slate-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: #4D6348; }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-light { background: #FBF7F0; color: var(--slate); }
.btn-quiet { background: transparent; color: var(--slate-2); padding-left: 10px; padding-right: 10px; }
.btn-quiet:hover { background: var(--sand); }
.btn-danger { background: var(--red); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.muted-on-dark { font-weight: 500; opacity: .85; }
.link-btn { background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--accent-2); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Demo pill */
.demo-pill { position: fixed; z-index: 80; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 0; height: 44px; padding: 0 0 0 16px; background: var(--slate); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; }
.demo-pill a { color: #fff; text-decoration: none; display: flex; align-items: center; height: 44px; }
.demo-pill a:hover { text-decoration: underline; }
.demo-pill-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; opacity: .8; }
.demo-pill-x:hover { opacity: 1; }
.demo-pill-x .ic { width: 16px; height: 16px; }
html.pill-off .demo-pill { display: none; }

/* Logo / brand */
.logo { display: inline-grid; width: 36px; height: 36px; flex: none; }
.logo svg { width: 100%; height: 100%; }
.logo-bg { fill: var(--slate); }
.logo-m { fill: #D9C3A0; }
.logo-s { fill: #8FA886; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-height: 44px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.brand-name em { font-style: italic; color: var(--sage); font-weight: 500; }

/* ===== Landing ===== */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(251,247,240,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: 10px; }
.site-nav a:hover { background: var(--sand); }
.hero { padding: 64px 0 72px; background: radial-gradient(1000px 500px at 85% 0%, #F3E2C7 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); }
.lede { font-size: 18px; color: var(--slate-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 28px; }
.hero-stats span { color: var(--muted); font-size: 14px; }
.hero-art { position: relative; }
.hero-svg { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 13px; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card .ic { color: var(--sage); }
.fc-1 { left: 6%; bottom: 8%; }
.fc-2 { right: 0; top: 4%; animation-delay: -3s; }
.fc-3 { right: 18%; top: 46%; animation-delay: -1.5s; }
.hero-photo { position: relative; overflow: hidden; color: #fff; background: #1F2A33; padding: 120px 0 112px; min-height: min(780px, 92vh); display: flex; align-items: center; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,27,33,.9) 0%, rgba(20,27,33,.72) 38%, rgba(20,27,33,.2) 72%, rgba(20,27,33,.08) 100%), linear-gradient(0deg, rgba(20,27,33,.55) 0%, transparent 38%); }
.hero-photo .hero-grid { position: relative; z-index: 1; width: 100%; }
.hero-photo h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-photo .lede { color: #E9E4DA; }
.hero-photo .hero-stats strong { color: #fff; }
.hero-photo .hero-stats span { color: #CBD2D6; }
.hero-photo .hero-art { position: relative; min-height: 420px; }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.float-card { color: var(--text); }
.photo-card { position: relative; margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(0deg, rgba(20,27,33,.75), transparent); }
.feature-media { display: grid; }
.feature-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.feature-media .phone-mock { width: 230px; margin: -300px 28px 0 auto; position: relative; z-index: 1; }
.home-banner { position: relative; display: flex; align-items: flex-end; min-height: 190px; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; background: #1F2A33; box-shadow: var(--shadow); }
.home-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.home-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,27,33,.82) 0%, rgba(20,27,33,.45) 55%, rgba(20,27,33,.1) 100%); }
.hb-text { position: relative; z-index: 1; padding: 22px 24px; color: #fff; }
.hb-text h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin: 0 0 4px; }
.hb-text p { margin: 0; color: #E9E4DA; font-size: 15px; }
.hb-text .hb-kicker { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: #CFE0C8; font-weight: 600; margin-bottom: 4px; }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.section { padding: 80px 0; }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 20em; }
.section-alt { background: var(--surface-2); }
section[id] { scroll-margin-top: 84px; }
.section-dark { background: var(--slate); color: #EFE7DA; }
.section-dark h2 { color: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.svc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.svc h3 { font-size: 18px; }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }
.svc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); margin-bottom: 16px; }
.comm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.map-card { position: relative; border-radius: 22px; box-shadow: var(--shadow); }
.map-svg { display: block; width: 100%; height: auto; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -100%); width: 44px; height: 52px; border: 0; padding: 0; background: none; cursor: pointer; }
.pin svg { width: 44px; height: 52px; filter: drop-shadow(0 4px 6px rgba(31,42,51,.25)); transition: transform .2s; }
.pin .pin-body { fill: var(--slate); }
.pin[aria-pressed="true"] .pin-body { fill: var(--accent); }
.pin[aria-pressed="true"] svg { transform: translateY(-4px) scale(1.08); }
.pin .pin-dot { fill: #fff; }
.comm-detail { margin-top: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; min-height: 150px; }
.comm-detail h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.comm-detail .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.feature-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { color: #fff; background: var(--sage); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; stroke-width: 2.6; }
.phone-mock { justify-self: center; width: 280px; aspect-ratio: 9 / 18.5; background: var(--slate); border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg); }
.pm-screen { height: 100%; border-radius: 30px; background: var(--bg); padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.pm-top { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-top: 10px; }
.pm-card { border-radius: 16px; padding: 14px; }
.pm-bal { background: var(--slate); color: #fff; display: grid; gap: 2px; }
.pm-bal small { opacity: .75; }
.pm-bal b { font-family: var(--serif); font-size: 28px; }
.pm-bal span { justify-self: start; background: var(--accent); padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; margin-top: 6px; }
.pm-row { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; font-size: 13px; display: flex; gap: 8px; align-items: center; }
.pm-dot { width: 9px; height: 9px; border-radius: 50%; }
.pm-dot.ok { background: var(--ok); } .pm-dot.warn { background: var(--gold); } .pm-dot.info { background: var(--blue); }
.pm-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: var(--surface); border-top: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; }
.pm-tabs i { width: 22px; height: 22px; border-radius: 7px; background: var(--sand); }
.pm-tabs i:first-child { background: var(--accent); }
.prop-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.contact-lines li { display: flex; gap: 10px; align-items: center; }
.contact-lines .ic { color: #C9D8C3; }
.form-card { background: var(--surface); color: var(--text); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.site-foot { padding: 32px 0 96px; border-top: 1px solid var(--border); }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.demo-note { max-width: 420px; color: var(--muted); }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 14px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=number], input[type=date], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: #fff; font-size: 16px;
}
textarea { resize: vertical; min-height: 92px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,98,120,.22); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
.form-err { color: var(--red); font-size: 14px; font-weight: 500; min-height: 0; margin: 0 0 10px; }
.form-err:empty { display: none; }
.fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--sage); flex: none; }
.chip-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choice { position: relative; }
.chip-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }
.chip-choice input:checked + span { background: var(--slate); border-color: var(--slate); color: #fff; }
.chip-choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.photo-pick { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.photo-pick input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-pick label.btn { cursor: pointer; }
.photo-pick input[type=file]:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.photo-prev { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); }

/* ===== Portal ===== */
.portal { display: flex; min-height: 100vh; min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; width: 268px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 20px 14px; background: var(--surface-2); border-right: 1px solid var(--border); overflow-y: auto; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 8px; }
.who { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.who b { display: block; font-size: 15px; }
.who small { color: var(--muted); font-size: 12.5px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.avatar.sm { width: 34px; height: 34px; font-size: 12.5px; }
.side-nav { display: grid; gap: 2px; margin-top: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 12px; color: var(--slate-2); text-decoration: none; font-weight: 500; border: 0; background: none; width: 100%; cursor: pointer; text-align: left; font-size: 15px; }
.nav-item:hover { background: var(--sand); }
.nav-item[aria-current="page"] { background: var(--slate); color: #fff; }
.nav-item .badge { margin-left: auto; }
.mgr-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px dashed var(--border-2); background: var(--surface); cursor: pointer; font-weight: 600; color: var(--slate-2); }
.mgr-toggle .switch { margin-left: auto; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #C9BCA6; transition: background .2s; flex: none; display: inline-block; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
[aria-pressed="true"] .switch, [aria-checked="true"] .switch, .switch.on { background: var(--sage); }
[aria-pressed="true"] .switch::after, [aria-checked="true"] .switch::after, .switch.on::after { transform: translateX(18px); }
.side-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.side-cta { display: block; padding: 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; font-size: 14px; text-decoration: none; text-align: center; }
.side-cta:hover { background: #F0D3C2; }
.side-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.app-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 32px; background: rgba(251,247,240,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.tb-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tb-logo { display: none; width: 32px; height: 32px; }
.tb-left > div { min-width: 0; }
.tb-kicker { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-title { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-right { display: flex; align-items: center; gap: 6px; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--slate-2); }
.tb-btn[aria-pressed="true"] { background: var(--slate); color: #fff; border-color: var(--slate); }
.tb-acct { padding: 0 4px; border-radius: 50%; border: 0; background: none; }
.tb-mgr, .tb-acct { display: none; }
.app-main { padding: 28px 32px 40px; flex: 1; outline: none; width: 100%; max-width: 1240px; }
.app-foot { padding: 0 32px 28px; }

.grid { display: grid; gap: 18px; }
.g-home { grid-template-columns: 1.15fr 1fr; align-items: start; }
.g-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.g-main-side { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.g-req { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h h2, .card-h h3 { margin: 0; font-family: var(--font); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.card-h .link-btn { font-size: 14px; }
.hello { margin-bottom: 22px; }
.hello h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 4px; }
.hello p { color: var(--muted); margin: 0; }

.bal-card { background: linear-gradient(140deg, #1F2A33 0%, #2C3B46 70%, #3B4A43 100%); color: #fff; border: 0; position: relative; overflow: hidden; }
.bal-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(217,195,160,.28), transparent 70%); pointer-events: none; }
.bal-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bal-label { font-size: 14px; color: #D5DCE0; margin: 0; }
.bal-amt { font-family: var(--serif); font-size: clamp(38px, 5vw, 50px); font-weight: 600; margin: 2px 0 6px; line-height: 1.05; }
.bal-meta { color: #D5DCE0; font-size: 14px; margin: 0; }
.bal-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; position: relative; z-index: 1; }
.autopay { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; font-weight: 600; font-size: 14px; }
.autopay .switch { background: rgba(255,255,255,.3); }
.autopay[aria-checked="true"] .switch { background: #8FA886; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sp-ok { background: var(--ok-soft); color: #2E5E37; }
.sp-warn { background: var(--gold-soft); color: #7A5210; }
.sp-info { background: var(--blue-soft); color: #23495A; }
.sp-red { background: var(--red-soft); color: #8E2B24; }
.sp-neutral { background: var(--surface-2); color: var(--slate-2); }
.sp-dark { background: rgba(255,255,255,.14); color: #fff; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }

.list { list-style: none; margin: 0; padding: 0; display: grid; }
.li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); min-width: 0; }
.li:first-child { border-top: 0; padding-top: 0; }
.li:last-child { padding-bottom: 0; }
.li-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); flex: none; }
.li-ic.warm { background: var(--accent-soft); color: var(--accent); }
.li-ic.blue { background: var(--blue-soft); color: var(--blue); }
.li-ic.gold { background: var(--gold-soft); color: var(--gold); }
.li-body { flex: 1; min-width: 0; }
.li-body b { display: block; font-size: 15px; font-weight: 600; }
.li-body small { color: var(--muted); font-size: 13.5px; display: block; }
.li-btn { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 12px 6px; margin: 0 -6px; width: calc(100% + 12px); border-radius: 10px; }
.li-btn:hover { background: var(--surface-2); }
.li-end { flex: none; text-align: right; }
.empty { color: var(--muted); font-size: 14px; padding: 8px 0; margin: 0; }
.ann { padding: 14px 0; border-top: 1px solid var(--border); }
.ann:first-child { border-top: 0; padding-top: 0; }
.ann h3 { font-size: 15.5px; margin: 0 0 4px; font-family: var(--font); }
.ann p { margin: 0; color: var(--slate-2); font-size: 14.5px; }
.ann .meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* Ledger */
.ledger { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ledger th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 0 8px 10px; border-bottom: 1px solid var(--border); }
.ledger td { padding: 12px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ledger td.num, .ledger th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger .pay { color: var(--ok); font-weight: 600; }
.ledger tr.new td { animation: flash 1.6s ease; }
@keyframes flash { from { background: var(--ok-soft); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; font-weight: 500; font-size: 14px; color: var(--slate-2); }
.chip:hover { background: var(--surface-2); }
.chip .ic { width: 18px; height: 18px; color: var(--accent); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }

/* Requests */
.req-list { display: grid; gap: 12px; }
.req { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 16px; cursor: pointer; text-align: left; width: 100%; display: grid; gap: 8px; box-shadow: var(--shadow); }
.req:hover { border-color: var(--border-2); }
.req[aria-current="true"] { border-color: var(--slate); box-shadow: 0 0 0 2px var(--slate); }
.req-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.req-top b { font-size: 15.5px; }
.req small { color: var(--muted); }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mini-steps i { height: 5px; border-radius: 3px; background: var(--sand); }
.mini-steps i.on { background: var(--sage); }
.timeline { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--sand); }
.tl:last-child::before { display: none; }
.tl.done::before { background: var(--sage-2); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface); display: grid; place-items: center; }
.tl.done .tl-dot { background: var(--sage); border-color: var(--sage); color: #fff; }
.tl.cur .tl-dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-dot .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.tl b { display: block; font-size: 14.5px; }
.tl small { color: var(--muted); font-size: 13px; }
.tech { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); margin: 14px 0; }
.tech .avatar { background: var(--slate-2); }
.tech b { display: block; }
.chat { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px 2px; margin-bottom: 10px; }
.bubble { max-width: 85%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.bubble small { display: block; font-size: 11.5px; opacity: .75; margin-top: 3px; }
.bubble.them { background: var(--surface-2); border-bottom-left-radius: 4px; justify-self: start; }
.bubble.me { background: var(--slate); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.typing { font-size: 13px; color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--slate); color: #fff; cursor: pointer; flex: none; }
.icon-btn.plain { background: transparent; color: var(--slate-2); }
.icon-btn.plain:hover { background: var(--surface-2); }
.stars { display: flex; gap: 4px; }
.star { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: #C9BCA6; display: grid; place-items: center; padding: 0; }
.star .ic { width: 30px; height: 30px; }
.star.on { color: var(--gold); }
.star.on .ic { fill: currentColor; }
.rated { display: flex; gap: 2px; color: var(--gold); }
.rated .ic { width: 18px; height: 18px; fill: currentColor; }
.seg { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 12px; gap: 4px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 14px; border-radius: 9px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--slate-2); }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow); color: var(--text); }
.detail-back { display: none; }

/* Amenities */
.amen-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.amen-tab { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; min-height: 64px; }
.amen-photo { position: relative; display: block; height: 118px; background: var(--sand); }
.amen-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amen-photo .amen-art { position: absolute; left: 12px; bottom: -18px; box-shadow: 0 0 0 3px var(--surface); }
.amen-meta { display: block; padding: 24px 14px 14px; }
.amen-tab b { display: block; font-size: 15px; }
.amen-tab small { color: var(--muted); font-size: 12.5px; }
.amen-tab[aria-pressed="true"] { border-color: var(--slate); box-shadow: 0 0 0 2px var(--slate); }
.amen-art { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.day { flex: none; width: 62px; min-height: 70px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; align-content: center; gap: 0; scroll-snap-align: start; padding: 6px 0; }
.day small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.day b { font-size: 20px; font-family: var(--serif); }
.day[aria-pressed="true"] { background: var(--slate); color: #fff; border-color: var(--slate); }
.day[aria-pressed="true"] small { color: #D5DCE0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 8px; }
.slot { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 14px; cursor: pointer; text-align: left; display: grid; gap: 6px; min-height: 84px; }
.slot b { font-size: 15px; }
.slot small { color: var(--muted); font-size: 13px; }
.slot[aria-pressed="true"] { border-color: var(--sage); box-shadow: 0 0 0 2px var(--sage); background: #F7FAF5; }
.slot[disabled] { opacity: .5; cursor: not-allowed; background: var(--surface-2); }
.slot.mine { border-color: var(--accent); background: var(--accent-soft); }
.cap { height: 6px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.cap i { display: block; height: 100%; background: var(--sage-2); border-radius: 3px; }
.cap.full i { background: var(--red); }
.rules { margin: 0 0 6px; padding-left: 18px; font-size: 14px; color: var(--slate-2); }
.rules li { margin-bottom: 4px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: 12px; overflow: hidden; }
.stepper button { width: 46px; height: 46px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 20px; font-weight: 600; }
.stepper output { min-width: 52px; text-align: center; font-weight: 700; }

/* Community */
.doc-list .li-ic { background: var(--accent-soft); color: var(--accent); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch span { display: grid; gap: 6px; justify-items: center; font-size: 12px; width: 76px; text-align: center; color: var(--slate-2); }
.swatch span::before { content: ""; width: 48px; height: 48px; border-radius: 12px; background: var(--c); border: 2px solid rgba(0,0,0,.08); }
.swatch input:checked + span::before { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--slate); }
.swatch input:focus-visible + span::before { outline: 3px solid var(--blue); outline-offset: 4px; }
.notice { border: 1px solid #EBC9BC; background: #FDF5F1; border-radius: var(--radius); padding: 20px; }
.notice h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.notice h3 .ic { color: var(--accent); }
.notice p { font-size: 14.5px; color: var(--slate-2); }

/* Manager */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.kpi small { color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi b { display: block; font-family: var(--serif); font-size: 32px; margin: 4px 0 2px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi .up { color: var(--ok); font-weight: 600; }
.kpi .down { color: var(--red); font-weight: 600; }
.meter { height: 8px; background: var(--sand); border-radius: 4px; overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; background: var(--sage); }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 88px 1fr 28px; gap: 10px; align-items: center; font-size: 14px; }
.bar-track { height: 14px; background: var(--surface-2); border-radius: 7px; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 7px; transition: width .4s ease; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.mgr-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--blue-soft); color: #23495A; font-size: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.mgr-banner .ic { flex: none; }
.queue { display: grid; gap: 10px; }
.q-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.q-item.me { border-color: var(--sage-2); background: #FAFCF8; }
.q-main b { font-size: 15px; }
.q-main small { display: block; color: var(--muted); font-size: 13px; }
.q-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.q-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.q-actions select { width: auto; min-width: 150px; }
.deliq-list { display: grid; gap: 8px; font-size: 14px; }
.deliq-list div { display: flex; justify-content: space-between; gap: 10px; }

/* Modal */
.modal-root { position: relative; z-index: 90; }
.modal-back { position: fixed; inset: 0; background: rgba(23,31,38,.5); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .18s ease; }
.modal { background: var(--bg); border-radius: 22px; width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: var(--shadow-lg); animation: rise .22s ease; overscroll-behavior: contain; }
.modal.wide { max-width: 640px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 6px; position: sticky; top: 0; background: var(--bg); z-index: 1; }
.modal-h h2 { margin: 0; font-size: 22px; }
.modal-b { padding: 10px 22px 22px; }
.modal-f { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.modal-f .btn { flex: 1 1 auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.pay-opts { display: grid; gap: 10px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border-2); border-radius: 14px; background: #fff; cursor: pointer; min-height: 56px; }
.radio-card input { width: 20px; height: 20px; accent-color: var(--slate); margin: 0; flex: none; }
.radio-card:has(input:checked) { border-color: var(--slate); box-shadow: 0 0 0 1px var(--slate); }
.radio-card .rc-body { flex: 1; min-width: 0; }
.radio-card b { display: block; font-size: 15px; }
.radio-card small { color: var(--muted); font-size: 13px; }
.radio-card .amt-in { width: 130px; flex: none; }
.receipt { text-align: center; }
.receipt-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 12px; }
.receipt-ic .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.receipt .kv { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin: 16px 0; }
.demo-flag { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: #7A5210; background: var(--gold-soft); padding: 6px 10px; border-radius: 8px; font-weight: 500; }

/* Toasts */
.toasts { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { background: var(--slate); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; animation: rise .2s ease; }
.toast .ic { color: #9FC096; margin-top: 1px; }
.toast small { display: block; color: #C9D2D8; font-size: 12.5px; }
.toast.out { opacity: 0; transition: opacity .3s; }

/* Login sheet */
.login-art { height: 120px; border-radius: 16px; background: linear-gradient(160deg, #F3E2C7, #E9D3B2); margin-bottom: 16px; position: relative; overflow: hidden; }
.login-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .g-home, .g-main-side { grid-template-columns: 1fr; }
  .sidebar { width: 236px; }
}
@media (max-width: 900px) {
  .hero-grid, .comm-grid, .feature-split, .prop-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 40px; }
  .hero-photo { padding: 64px 0 48px; min-height: 0; }
  .hero-photo .hero-art { display: none; }
  .hero-media img { object-position: 54% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,27,33,.42) 0%, rgba(20,27,33,.62) 45%, rgba(20,27,33,.86) 100%); }
  .feature-media .phone-mock { width: 210px; margin: -170px auto 0; }
  .site-nav { display: none; }
  .head-row { justify-content: space-between; }
  .g-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --pill-space: 52px; }
  .demo-pill { top: 6px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); font-size: 12.5px; box-shadow: 0 4px 14px rgba(31,42,51,.25); white-space: nowrap; }
  html.pill-off { --pill-space: 0px; }
  .site-head { padding-top: var(--pill-space); }
  .g-req { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar { padding: calc(var(--pill-space) + 10px) 16px 10px; }
  .tb-logo { display: inline-grid; }
  .tb-title { font-size: 20px; }
  .tb-mgr, .tb-acct { display: inline-flex; }
  .app-main { padding: 18px 16px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }
  .app-foot { display: block; padding: 0 16px calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); margin-top: calc(-1 * (var(--tab-h) + 8px)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 4px 4px env(safe-area-inset-bottom); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); }
  .tab { display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; background: none; color: var(--muted); font-size: 11.5px; font-weight: 600; cursor: pointer; min-height: 56px; border-radius: 12px; position: relative; padding: 0; }
  .tab .ic { width: 22px; height: 22px; }
  .tab[aria-current="page"] { color: var(--slate); }
  .tab[aria-current="page"]::before { content: ""; position: absolute; top: 2px; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
  .tab .badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }
  body.in-portal .toasts { bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); }
  .detail-back { display: inline-flex; }
  .req-split.has-detail .req-col { display: none; }
  .req-split:not(.has-detail) .req-detail { display: none; }
}
@media (min-width: 861px) { .tabbar { display: none; } }
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 16.5px; }
  .hero-cta .btn { width: 100%; }
  .home-banner { min-height: 150px; }
  .hb-text { padding: 18px; }
  .hero-stats { gap: 20px; }
  .hero-stats strong { font-size: 24px; }
  .float-card { display: none; }
  .section { padding: 56px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 20px; }
  .brand-name { font-size: 18px; }
  .site-head .btn { padding: 8px 12px; }
  .card { padding: 18px; }
  .kpis { gap: 10px; }
  .kpi { padding: 14px; }
  .kpi b { font-size: 26px; }
  .amen-tabs { grid-template-columns: 1fr; gap: 8px; }
  .amen-tab { flex-direction: row; min-height: 72px; overflow: visible; }
  .amen-photo { width: 92px; height: auto; flex: none; border-radius: 13px 0 0 13px; }
  .amen-photo img { border-radius: 13px 0 0 13px; }
  .amen-photo .amen-art { left: auto; right: -14px; bottom: 50%; transform: translateY(50%); width: 32px; height: 32px; border-radius: 10px; }
  .amen-photo .amen-art .ic { width: 16px; height: 16px; }
  .amen-meta { padding: 12px 14px 12px 28px; align-self: center; }
  .slots { grid-template-columns: 1fr 1fr; }
  .q-item { grid-template-columns: 1fr; }
  .q-actions { justify-content: flex-start; }
  .q-actions select { flex: 1; min-width: 0; }
  .ledger .hide-sm { display: none; }
  .modal-back { align-items: flex-end; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .modal-h { padding: 18px 16px 6px; }
  .modal-b { padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); }
  .radio-card { flex-wrap: wrap; }
  .radio-card .amt-in { width: 100%; }
  .bar-row { grid-template-columns: 76px 1fr 24px; }
}
@media (max-width: 380px) {
  .slots { grid-template-columns: 1fr; }
  .tb-mgr span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
