:root {
  --gv-forest: #245746;
  --gv-forest-deep: #173f35;
  --gv-sage: #e2ede5;
  --gv-sage-dark: #b9d0bf;
  --gv-ivory: #f6f7f2;
  --gv-paper: #fffefa;
  --gv-ink: #1f302c;
  --gv-muted: #687670;
  --gv-line: #e4e9e2;
  --gv-sand: #f3eadb;
  --gv-clay: #c47d5d;
  --gv-blue: #e3edf2;
  --gv-shadow: 0 18px 50px rgba(31, 55, 44, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gv-ivory);
  color: var(--gv-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .brand-copy strong { font-family: "Manrope", sans-serif; letter-spacing: -.045em; }
a { color: var(--gv-forest); }
.btn { border-radius: 12px; font-weight: 700; letter-spacing: -.015em; }
.btn-lg { padding: .88rem 1.2rem; font-size: .98rem; }
.btn-sm { border-radius: 10px; }
.btn-dark-green { color: #fff; background: var(--gv-forest); border-color: var(--gv-forest); }
.btn-dark-green:hover, .btn-dark-green:focus { color: #fff; background: var(--gv-forest-deep); border-color: var(--gv-forest-deep); }
.btn-quiet { color: var(--gv-forest); background: transparent; border-color: transparent; }
.btn-quiet:hover, .btn-quiet:focus { color: var(--gv-forest-deep); background: #eaf0e9; border-color: #eaf0e9; }
.form-control { min-height: 48px; border-color: #dce4dc; border-radius: 10px; color: var(--gv-ink); background: #fff; box-shadow: none; }
.form-control:focus { border-color: var(--gv-forest); box-shadow: 0 0 0 .2rem rgba(36, 87, 70, .12); }
.form-control-lg { min-height: 54px; font-size: .98rem; }
.form-label { margin-bottom: .45rem; color: #34443e; font-size: .88rem; font-weight: 700; }

.site-header, .site-footer, .showcase-topbar {
  width: min(100% - 56px, 1240px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 92px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--gv-forest); font-size: 19px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 15px; font-weight: 800; letter-spacing: -.035em; }
.brand-copy small { margin-top: 4px; color: var(--gv-muted); font-size: 11px; letter-spacing: .015em; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-link { color: #53645d; font-size: 13px; font-weight: 700; text-decoration: none; }
.header-link:hover, .site-footer a:hover { color: var(--gv-forest); }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: #698078; font-size: 11px; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #76a487; box-shadow: 0 0 0 4px rgba(118, 164, 135, .13); }
.home-hero { min-height: 560px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 48px; padding-top: 34px; padding-bottom: 62px; }
.hero-copy { max-width: 560px; padding: 24px 0 30px 3.2%; }
.hero-copy h1, .auth-intro h1, .showcase-intro h1 { margin: 22px 0 16px; color: var(--gv-ink); font-size: clamp(44px, 5.3vw, 68px); font-weight: 700; line-height: 1.08; }
.hero-copy h1 em, .auth-intro h1 em, .showcase-intro h1 em { color: var(--gv-forest); font-style: normal; }
.hero-description { max-width: 445px; margin: 0; color: #62716a; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.hero-footnote { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #75827b; font-size: 12px; }
.hero-footnote i { color: var(--gv-forest); font-size: 15px; }
.hero-art { position: relative; height: 472px; overflow: hidden; border: 1px solid rgba(36, 87, 70, .06); border-radius: 27px; background: linear-gradient(145deg, #e8f0e6 0%, #dceadd 49%, #cedfcf 100%); box-shadow: var(--gv-shadow); }
.sun-glow { position: absolute; top: 52px; right: 62px; width: 146px; height: 146px; border-radius: 50%; background: #f3dcae; opacity: .86; }
.garden-ground { position: absolute; right: -13%; bottom: -95px; left: -13%; height: 232px; border-radius: 50% 50% 0 0; background: #9cbea2; }
.art-path { position: absolute; z-index: 2; right: 28%; bottom: -70px; width: 180px; height: 230px; transform: rotate(-9deg); border-radius: 50% 50% 0 0; background: #d9cbb1; opacity: .83; }
.house { position: absolute; z-index: 3; bottom: 112px; width: 182px; }
.house-one { left: 21%; transform: scale(.94); }
.house-two { right: 14%; bottom: 126px; transform: scale(.75); }
.house .roof { position: relative; z-index: 2; width: 205px; height: 100px; margin-left: -12px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #ad755a; }
.house-body { position: relative; height: 145px; background: #f6f1e4; box-shadow: 0 10px 18px rgba(45, 73, 55, .08); }
.house-body::after { position: absolute; top: 5px; right: 7px; bottom: 0; left: 7px; border: 1px solid rgba(128, 112, 84, .14); content: ""; }
.window { position: absolute; z-index: 1; top: 34px; width: 36px; height: 42px; border: 4px solid #fffefa; background: #b8d7d0; box-shadow: inset 0 0 0 1px rgba(36, 87, 70, .1); }
.window-left { left: 18px; }
.window-right { right: 18px; }
.door { position: absolute; z-index: 1; bottom: 0; left: 72px; width: 40px; height: 81px; border: 4px solid #fffefa; border-bottom: 0; background: #728c73; }
.door::after { position: absolute; top: 38px; right: 5px; width: 4px; height: 4px; border-radius: 50%; background: #ecd7a0; content: ""; }
.house-two .house-body { background: #eee4d2; }
.house-two .door { background: #bd7c5f; }
.tree { position: absolute; z-index: 4; bottom: 115px; width: 82px; height: 190px; }
.tree::before, .tree::after, .tree span { position: absolute; display: block; border-radius: 50%; background: #709879; content: ""; }
.tree::before { top: 5px; left: 3px; width: 77px; height: 78px; }
.tree::after { top: 41px; left: -12px; width: 65px; height: 66px; background: #81a888; }
.tree span { top: 39px; right: -7px; width: 57px; height: 63px; background: #8eaf8e; }
.tree::after { box-shadow: 16px 39px 0 -14px #806e54; }
.tree-back { z-index: 1; right: 6%; bottom: 113px; transform: scale(1.1); opacity: .76; }
.tree-front { left: 7%; bottom: 76px; transform: scale(.84); }
.art-label { position: absolute; z-index: 5; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 11px; padding: 13px 17px 13px 12px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 14px; background: rgba(255, 254, 250, .9); box-shadow: 0 12px 30px rgba(40, 69, 52, .09); backdrop-filter: blur(12px); }
.art-label-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--gv-forest); background: var(--gv-sage); font-size: 14px; }
.art-label strong, .art-label small { display: block; }
.art-label strong { color: var(--gv-ink); font-size: 12px; }
.art-label small { margin-top: 2px; color: var(--gv-muted); font-size: 10px; }
.art-sparkle { position: absolute; z-index: 2; color: rgba(255, 254, 250, .9); }
.sparkle-one { top: 100px; left: 15%; font-size: 20px; }
.sparkle-two { top: 195px; right: 16%; font-size: 13px; }
.welcome-strip { display: flex; align-items: center; gap: 17px; padding: 21px 25px; border: 1px solid var(--gv-line); border-radius: 18px; background: var(--gv-paper); }
.welcome-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #8b6840; background: var(--gv-sand); font-size: 19px; }
.welcome-strip .section-kicker { font-size: 10px; }
.welcome-strip p { margin: 2px 0 0; color: #46564f; font-size: 14px; font-weight: 600; }
.welcome-location { margin-left: auto; color: #77847d; font-size: 12px; white-space: nowrap; }
.public-highlights { padding-top: 86px; padding-bottom: 88px; }
.section-heading, .showcase-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.section-heading h2, .showcase-section-heading h2 { margin: 8px 0 0; font-size: 30px; font-weight: 700; }
.section-heading > p, .showcase-section-heading > p { max-width: 350px; margin: 0 0 3px; color: var(--gv-muted); font-size: 13px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.highlight-card { min-height: 225px; padding: 25px 25px 20px; border: 1px solid var(--gv-line); border-radius: 17px; background: var(--gv-paper); transition: transform .18s ease, box-shadow .18s ease; }
.highlight-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(31, 55, 44, .07); }
.highlight-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; font-size: 18px; }
.icon-sage { color: var(--gv-forest); background: var(--gv-sage); }
.icon-sand { color: #936d3e; background: var(--gv-sand); }
.icon-sky { color: #577783; background: var(--gv-blue); }
.highlight-card h3 { margin: 19px 0 7px; font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.highlight-card p { max-width: 290px; margin: 0; color: var(--gv-muted); font-size: 12px; line-height: 1.7; }
.highlight-label { display: inline-block; margin-top: 15px; color: #76847d; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.home-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 185px; padding: 36px 45px; border-radius: 21px; color: #fff; background: var(--gv-forest); }
.home-cta h2 { position: relative; z-index: 1; margin: 7px 0 5px; font-size: 27px; font-weight: 700; }
.home-cta p { position: relative; z-index: 1; margin: 0; color: rgba(255, 255, 255, .75); font-size: 13px; }
.home-cta > .btn { position: relative; z-index: 2; color: var(--gv-forest); white-space: nowrap; }
.cta-leaf { position: absolute; right: 14%; bottom: -75px; width: 175px; height: 230px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 100% 0 100% 0; transform: rotate(31deg); }
.cta-leaf-two { right: 8%; bottom: -105px; transform: rotate(58deg) scale(.8); }
.site-footer { min-height: 104px; color: #78847d; font-size: 11px; }
.site-footer a { color: #687770; text-decoration: none; }
.brand-lockup-small .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
.brand-lockup-small .brand-copy strong { font-size: 12px; }
.brand-lockup-small .brand-copy small { font-size: 9px; }

.auth-page { min-height: 100vh; padding: 30px 0 70px; background: radial-gradient(circle at 17% 38%, rgba(226, 237, 229, .68), transparent 31%), var(--gv-ivory); }
.auth-back { width: min(100% - 48px, 1240px); display: block; margin: 0 auto 34px; color: #64736c; font-size: 12px; font-weight: 700; text-decoration: none; }
.auth-back i { margin-right: 7px; }
.auth-layout { display: grid; grid-template-columns: 1fr 460px; align-items: center; gap: clamp(45px, 8vw, 130px); max-width: 1030px; }
.auth-intro { padding: 15px 0; }
.auth-intro h1 { margin-top: 25px; font-size: clamp(42px, 5vw, 59px); }
.auth-intro > p { max-width: 430px; color: var(--gv-muted); font-size: 15px; line-height: 1.75; }
.auth-note { display: flex; align-items: center; gap: 13px; max-width: 405px; margin-top: 38px; padding-top: 19px; border-top: 1px solid #dde5dc; color: var(--gv-forest); }
.auth-note > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--gv-sage); }
.auth-note strong, .auth-note small { display: block; }
.auth-note strong { font-size: 12px; }
.auth-note small { margin-top: 3px; color: var(--gv-muted); font-size: 10px; }
.auth-card { padding: 34px 35px 27px; border: 1px solid var(--gv-line); border-radius: 19px; background: var(--gv-paper); box-shadow: var(--gv-shadow); }
.auth-card h2 { margin: 7px 0 4px; font-size: 24px; font-weight: 800; }
.auth-card-subtitle { margin-bottom: 21px; color: var(--gv-muted); font-size: 12px; }
.account-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 23px; padding: 5px; border-radius: 12px; background: #f0f3ee; }
.account-option { min-height: 42px; border: 0; border-radius: 9px; color: #6c7972; background: transparent; font-size: 11px; font-weight: 700; }
.account-option i { margin-right: 4px; font-size: 14px; }
.account-option.is-active { color: var(--gv-forest); background: #fff; box-shadow: 0 1px 5px rgba(25, 49, 37, .1); }
.subtle-link { color: #64776c; font-size: 11px; font-weight: 700; text-decoration: none; }
.subtle-link:hover, .auth-register a:hover { color: var(--gv-forest-deep); }
.auth-register { margin: 20px 0 0; color: var(--gv-muted); text-align: center; font-size: 11px; }
.auth-register a { color: var(--gv-forest); font-weight: 700; text-decoration: none; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 19px; padding-top: 16px; border-top: 1px solid #edf0eb; color: #829087; font-size: 9px; }
.auth-security i { color: #648a70; font-size: 12px; }
.auth-placeholder { padding: 10px 12px; border: 0; border-radius: 10px; background: #eef4f7; color: #496a77; font-size: 11px; line-height: 1.55; }
.auth-layout-register { align-items: start; }
.auth-layout-register .auth-intro { position: sticky; top: 35px; }
.auth-layout-register .auth-card { padding-top: 30px; }
.scaffold-card { max-width: 850px; padding: 35px; border: 1px solid var(--gv-line); border-radius: 18px; background: var(--gv-paper); }
.scaffold-card h1 { margin: 10px 0; font-size: 30px; font-weight: 800; }
.scaffold-card p { max-width: 690px; margin: 0; color: var(--gv-muted); }

.showcase-body { background: #f7f8f4; }
.showcase-topbar { min-height: 80px; border-bottom: 1px solid var(--gv-line); }
.showcase-main { max-width: 1060px; }
.showcase-intro { padding: 66px 0 45px; }
.showcase-intro h1 { margin: 18px 0 12px; font-size: clamp(43px, 5.5vw, 62px); }
.showcase-intro p { max-width: 610px; margin: 0; color: var(--gv-muted); font-size: 15px; line-height: 1.75; }
.showcase-section { padding: 36px 0 43px; border-top: 1px solid #e4e9e2; }
.showcase-section-heading { margin-bottom: 23px; }
.showcase-section-heading h2 { font-size: 25px; }
.showcase-section-heading > p { max-width: 335px; font-size: 12px; }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.token-card { min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--gv-line); border-radius: 14px; background: var(--gv-paper); }
.swatch { width: 37px; height: 37px; flex: 0 0 auto; border: 1px solid rgba(0, 0, 0, .06); border-radius: 11px; }
.swatch-green { background: var(--gv-forest); }
.swatch-cream { background: var(--gv-ivory); }
.swatch-sage { background: var(--gv-sage); }
.swatch-terracotta { background: var(--gv-clay); }
.token-card strong, .token-card code { display: block; }
.token-card strong { font-size: 11px; }
.token-card code { margin-top: 2px; color: #77847d; font-size: 10px; }
.type-sample { margin-top: 13px; padding: 23px 25px; border: 1px solid var(--gv-line); border-radius: 14px; background: var(--gv-paper); }
.type-sample h3 { margin: 7px 0 2px; font-size: 22px; font-weight: 800; }
.type-sample p { margin: 0; color: var(--gv-muted); font-size: 12px; }
.component-board { display: grid; gap: 22px; padding: 24px; border: 1px solid var(--gv-line); border-radius: 16px; background: var(--gv-paper); }
.component-label { display: block; margin-bottom: 12px; color: #859188; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.status-pill i { font-size: 10px; }
.status-paid { color: #35654a; background: #e4f1e6; }
.status-pending { color: #856433; background: #f6efdf; }
.status-due { color: #995938; background: #f7e9df; }
.summary-card { max-width: 680px; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #e5ebe3; border-radius: 13px; background: #fff; }
.summary-card-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--gv-forest); background: var(--gv-sage); font-size: 18px; }
.summary-card-main { display: flex; flex: 1; flex-direction: column; }
.summary-card-label, .summary-card-meta { color: var(--gv-muted); font-size: 10px; }
.summary-card-main strong { margin: 1px 0; font-family: "Manrope", sans-serif; font-size: 18px; letter-spacing: -.04em; }
.showcase-caption { margin: 8px 0 0; color: #8b9690; font-size: 10px; }
.drawer-demo-board, .dialog-demo-board { grid-template-columns: repeat(2, 1fr); }
.drawer-demo-board > div, .dialog-demo-board > div { min-height: 136px; }
.drawer-demo-board p, .dialog-demo-board p { max-width: 340px; margin: -4px 0 16px; color: var(--gv-muted); font-size: 12px; }
.showcase-feedback { margin: 13px 0 0 !important; color: var(--gv-forest) !important; font-size: 11px !important; }
.workspace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.workspace-card { min-height: 220px; padding: 22px; border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.workspace-card h3 { margin: 7px 0 9px; font-size: 20px; font-weight: 800; }
.workspace-card ul { margin: 0; padding-left: 18px; color: var(--gv-muted); font-size: 11px; line-height: 2; }
.workspace-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 11px; color: var(--gv-forest); background: var(--gv-sage); font-size: 17px; }
.workspace-office .workspace-icon { color: #876d4a; background: var(--gv-sand); }
.showcase-footer { display: flex; justify-content: space-between; padding: 22px 0 38px; color: #839087; font-size: 10px; }
.drawer-panel { width: min(390px, 92vw) !important; border: 0; background: var(--gv-paper); }
.drawer-panel .offcanvas-header { min-height: 77px; padding: 19px 22px; border-bottom: 1px solid var(--gv-line); }
.drawer-panel .offcanvas-body { padding: 22px; }
.drawer-panel .offcanvas-title { margin-top: 4px; font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.045em; }
.drawer-member { margin: 3px 0 23px; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; }
.drawer-member span { display: block; margin-top: 3px; color: #73917c; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 700; }
.drawer-nav { display: grid; gap: 5px; }
.drawer-nav a, .drawer-nav button { width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 0; border-radius: 10px; color: #5e6e66; background: transparent; font-family: inherit; font-size: 12px; font-weight: 600; text-align: left; text-decoration: none; }
.drawer-nav a i, .drawer-nav button i { width: 17px; font-size: 15px; }
.drawer-nav a.active, .drawer-nav a:hover, .drawer-nav button.active, .drawer-nav button:hover { color: var(--gv-forest); background: #eaf1eb; }
.drawer-demo-note { display: flex; gap: 10px; margin-top: 25px; padding: 13px; border-radius: 11px; color: #5f7580; background: #eef4f5; font-size: 10px; line-height: 1.55; }
.drawer-demo-note i { flex: 0 0 auto; font-size: 14px; }
.invoice-total { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 18px; border-radius: 13px; background: #eff4ee; }
.invoice-total > span:first-child { color: #68776f; font-size: 11px; }
.invoice-total strong { font-family: "Manrope", sans-serif; font-size: 28px; letter-spacing: -.05em; }
.detail-list { margin: 20px 0; }
.detail-list > div, .dialog-detail-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf0eb; font-size: 11px; }
.detail-list dt, .dialog-detail-row > span { color: #77847d; font-weight: 500; }
.detail-list dd, .dialog-detail-row > strong { margin: 0; color: var(--gv-ink); font-weight: 700; text-align: right; }
.drawer-warning { border: 0; background: #f8f1e4; color: #806435; font-size: 10px; }
.ngdialog.ngdialog-theme-default .ngdialog-content { width: min(470px, 92vw); padding: 0; overflow: hidden; border-radius: 17px; background: var(--gv-paper); box-shadow: 0 28px 80px rgba(18, 38, 29, .23); font-family: "DM Sans", sans-serif; }
.ngdialog.ngdialog-theme-default .ngdialog-close { top: 12px; right: 13px; width: 29px; height: 29px; border-radius: 9px; background: #eff3ee; }
.ngdialog.ngdialog-theme-default .ngdialog-close:before { color: #64756c; font-size: 21px; }
.dialog-content { padding: 30px; }
.dialog-content h2 { margin: 7px 0 10px; font-size: 22px; font-weight: 800; }
.dialog-copy { margin: 0 0 18px; color: var(--gv-muted); font-size: 12px; line-height: 1.7; }
.dialog-content > .btn { min-width: 105px; }
.dialog-warning-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 13px; color: #a35c3b; background: #faece4; font-size: 18px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }

@media (max-width: 991.98px) {
  .home-hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-art { height: 400px; }
  .house-one { left: 14%; transform: scale(.8); transform-origin: bottom left; }
  .house-two { right: 10%; transform: scale(.63); transform-origin: bottom right; }
  .tree-front { left: 0; }
  .tree-back { right: 0; }
  .auth-layout { grid-template-columns: 1fr 420px; gap: 40px; }
  .auth-intro h1 { font-size: 46px; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .site-header, .site-footer, .showcase-topbar { width: min(100% - 36px, 1240px); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 9px; }
  .header-actions { gap: 10px; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 25px; padding-top: 23px; padding-bottom: 31px; }
  .hero-copy { padding: 8px 1px 0; }
  .hero-copy h1 { margin: 18px 0 12px; font-size: clamp(42px, 12vw, 57px); }
  .hero-description { max-width: 500px; font-size: 15px; }
  .hero-actions { gap: 4px; margin-top: 22px; }
  .hero-actions .btn { min-height: 49px; padding: .78rem .92rem; font-size: 12px; }
  .hero-footnote { align-items: flex-start; margin-top: 16px; font-size: 10px; }
  .hero-art { height: 310px; border-radius: 21px; }
  .sun-glow { top: 32px; right: 40px; width: 100px; height: 100px; }
  .garden-ground { bottom: -118px; height: 214px; }
  .art-path { right: 28%; bottom: -110px; transform: scale(.8) rotate(-9deg); }
  .house { bottom: 61px; transform-origin: bottom center; }
  .house-one { left: 23%; transform: scale(.66); }
  .house-two { right: 9%; bottom: 69px; transform: scale(.53); }
  .tree { bottom: 61px; transform: scale(.64); transform-origin: bottom center; }
  .tree-front { left: 2%; }
  .tree-back { right: -2%; bottom: 65px; transform: scale(.73); }
  .art-label { right: 12px; bottom: 12px; gap: 8px; padding: 9px 12px 9px 9px; }
  .art-label-icon { width: 31px; height: 31px; font-size: 12px; }
  .art-label strong { font-size: 10px; }
  .art-label small { font-size: 8px; }
  .welcome-strip { align-items: flex-start; gap: 12px; padding: 16px; border-radius: 15px; }
  .welcome-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
  .welcome-strip p { max-width: 270px; font-size: 12px; line-height: 1.5; }
  .welcome-location { display: none; }
  .public-highlights { padding-top: 55px; padding-bottom: 53px; }
  .section-heading, .showcase-section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2, .showcase-section-heading h2 { font-size: 25px; }
  .section-heading > p, .showcase-section-heading > p { margin-top: 9px; font-size: 12px; }
  .highlight-grid { grid-template-columns: 1fr; gap: 10px; }
  .highlight-card { min-height: auto; padding: 19px; }
  .highlight-card h3 { margin: 12px 0 4px; font-size: 16px; }
  .highlight-card p { font-size: 11px; }
  .highlight-label { margin-top: 9px; }
  .home-cta { align-items: flex-start; flex-direction: column; min-height: 0; gap: 17px; padding: 25px 22px; border-radius: 17px; }
  .home-cta h2 { max-width: 250px; font-size: 24px; }
  .home-cta .btn { min-height: 47px; font-size: 12px; }
  .site-footer { min-height: 90px; flex-wrap: wrap; gap: 4px 12px; padding-top: 20px; padding-bottom: 20px; font-size: 9px; }
  .site-footer > span { order: 3; flex-basis: 100%; }
  .brand-lockup-small .brand-mark { width: 30px; height: 30px; }
  .auth-page { padding: 20px 0 45px; }
  .auth-back { width: calc(100% - 36px); margin-bottom: 19px; font-size: 11px; }
  .auth-layout { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding-inline: 18px; }
  .auth-intro { padding: 0; }
  .auth-intro .eyebrow { margin-top: 26px !important; }
  .auth-intro h1 { margin: 15px 0 9px; font-size: 40px; }
  .auth-intro > p { max-width: 490px; font-size: 12px; }
  .auth-note { margin-top: 17px; padding-top: 13px; }
  .auth-card { padding: 24px 20px 20px; border-radius: 16px; }
  .auth-layout-register .auth-intro { position: static; }
  .auth-layout-register .auth-card { padding-top: 24px; }
  .scaffold-card { padding: 25px 21px; }
  .scaffold-card h1 { font-size: 24px; }
  .showcase-topbar { min-height: 70px; }
  .showcase-topbar .btn { font-size: 10px; }
  .showcase-main { padding-inline: 18px; }
  .showcase-intro { padding: 43px 0 31px; }
  .showcase-intro h1 { margin: 15px 0 9px; font-size: 43px; }
  .showcase-intro p { font-size: 12px; }
  .showcase-section { padding: 27px 0 31px; }
  .token-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .token-card { min-height: 72px; gap: 8px; padding: 9px; }
  .swatch { width: 29px; height: 29px; border-radius: 9px; }
  .token-card strong { font-size: 9px; }
  .token-card code { font-size: 8px; }
  .type-sample { padding: 17px; }
  .type-sample h3 { font-size: 19px; }
  .component-board { gap: 19px; padding: 17px; }
  .component-board .btn { font-size: 11px; }
  .summary-card { align-items: flex-start; gap: 9px; padding: 12px; }
  .summary-card-icon { width: 34px; height: 34px; font-size: 15px; }
  .summary-card-main strong { font-size: 15px; }
  .summary-card-label, .summary-card-meta { font-size: 8px; }
  .summary-card .status-pill { padding: 5px 7px; font-size: 8px; }
  .drawer-demo-board, .dialog-demo-board, .workspace-grid { grid-template-columns: 1fr; }
  .drawer-demo-board > div, .dialog-demo-board > div { min-height: 0; }
  .dialog-demo-board > div + div { padding-top: 18px; border-top: 1px solid var(--gv-line); }
  .workspace-card { min-height: 0; padding: 18px; }
  .showcase-footer { flex-direction: column; gap: 5px; padding-bottom: 25px; font-size: 9px; }
  .dialog-content { padding: 25px 21px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .header-actions .btn { padding-inline: 10px !important; font-size: 10px; }
  .brand-lockup { gap: 8px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .auth-card { padding-inline: 16px; }
}

/* Expanded UI catalog */
.showcase-header-actions { display: flex; align-items: center; gap: 18px; }
.showcase-version { display: inline-flex; align-items: center; gap: 7px; color: #728078; font-size: 10px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.showcase-version i { color: var(--gv-forest); font-size: 14px; }
.showcase-intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 62px 0 50px; }
.showcase-intro > div:first-child { max-width: 640px; }
.showcase-intro h1 { margin-top: 17px; font-size: clamp(45px, 5.4vw, 64px); }
.showcase-intro p { max-width: 650px; }
.showcase-intro-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.showcase-intro-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #e1e9e0; border-radius: 999px; color: #597067; background: rgba(255, 254, 250, .7); font-size: 10px; font-weight: 700; }
.showcase-intro-tags i { color: var(--gv-forest); }
.showcase-intro-card { width: 225px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--gv-line); border-radius: 17px; background: linear-gradient(145deg, #fffefa, #edf3eb); box-shadow: 0 14px 34px rgba(31, 55, 44, .06); }
.showcase-intro-mark { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; color: var(--gv-forest); background: var(--gv-sage); font-size: 20px; }
.showcase-intro-card strong { font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 800; }
.showcase-intro-card > span:last-child { margin-top: 5px; color: var(--gv-muted); font-size: 10px; line-height: 1.6; }
.token-grid-expanded { grid-template-columns: repeat(3, 1fr); }
.swatch-ink { background: var(--gv-ink); }
.swatch-blue { background: var(--gv-blue); }
.foundation-samples { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 13px; }
.foundation-samples .type-sample, .surface-sample { min-height: 145px; margin: 0; padding: 21px; border: 1px solid var(--gv-line); border-radius: 14px; background: var(--gv-paper); }
.foundation-samples .type-sample h3 { font-size: 20px; }
.foundation-samples .type-sample p, .surface-sample > p { max-width: 390px; margin: 0; color: var(--gv-muted); font-size: 11px; line-height: 1.7; }
.surface-sample > p { margin-top: 9px; }
.surface-lines { display: grid; gap: 5px; margin-top: 14px; }
.surface-lines span { height: 5px; border-radius: 4px; background: #e8eee7; }
.surface-lines span:nth-child(1) { width: 92%; }
.surface-lines span:nth-child(2) { width: 79%; }
.surface-lines span:nth-child(3) { width: 58%; }
.showcase-button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.btn-icon { position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border: 1px solid #e1e8e0; border-radius: 11px; color: #557065; background: #fff; font-size: 17px; }
.btn-icon:hover, .btn-icon:focus { color: var(--gv-forest); border-color: #c8d9cb; background: #f2f6f1; }
.icon-action-dot { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: var(--gv-clay); }
.showcase-tabs { display: flex; gap: 5px; padding: 5px; border-radius: 12px; background: #edf1eb; }
.showcase-tabs button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 9px; color: #6c7972; background: transparent; font: inherit; font-size: 11px; font-weight: 700; }
.showcase-tabs button.active { color: var(--gv-forest); background: #fff; box-shadow: 0 1px 5px rgba(25, 49, 37, .09); }
.tab-count { display: inline-grid; min-width: 17px; height: 17px; place-items: center; margin-left: 3px; padding: 0 4px; border-radius: 999px; color: #fff; background: var(--gv-forest); font-size: 9px; }
.tab-panel { margin-top: 9px; padding: 11px 13px; border: 1px solid #e8ece6; border-radius: 10px; color: #63736a; background: #fbfcf9; font-size: 10px; }
.tab-panel i { margin-right: 5px; color: var(--gv-forest); }
.breadcrumb-demo { display: flex; align-items: center; gap: 9px; color: #829087; font-size: 10px; }
.breadcrumb-demo i { font-size: 8px; }
.breadcrumb-demo strong { color: var(--gv-forest); }
.page-action-demo { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 13px; padding: 16px; border: 1px solid #e8ece6; border-radius: 12px; background: #fff; }
.page-action-demo .section-kicker { font-size: 9px; }
.page-action-demo h3 { margin: 2px 0 0; font-size: 17px; font-weight: 800; }
.form-showcase-board { padding: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-demo-card { padding: 18px; border: 1px solid #e7ece5; border-radius: 13px; background: #fff; }
.form-demo-card .component-label { margin-bottom: 15px; }
.form-demo-card .form-control, .form-demo-card .form-select { min-height: 42px; font-size: 11px; }
.form-demo-card textarea.form-control { min-height: 82px; }
.form-demo-card .form-control::placeholder { color: #a0aaa3; }
.form-demo-card .form-label { margin-bottom: 5px; font-size: 10px; }
.required-mark { color: #b45d42; }
.form-text { color: #88948d; font-size: 9px; }
.showcase-input-group .input-group-text { border-color: #dce4dc; color: #708078; background: #f8faf7; font-size: 12px; }
.showcase-input-group .btn { font-size: 10px; }
.form-demo-card .invalid-feedback { font-size: 9px; }
.showcase-choice-group { margin-top: 17px; }
.showcase-check { margin: 8px 0; }
.showcase-check .form-check-input { border-color: #cbd8cb; }
.showcase-check .form-check-input:checked { border-color: var(--gv-forest); background-color: var(--gv-forest); }
.showcase-check .form-check-label { color: #59685f; font-size: 10px; }
.settings-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #edf0eb; }
.settings-switch strong, .settings-switch small { display: block; }
.settings-switch strong { color: #34443e; font-size: 10px; }
.settings-switch small { margin-top: 3px; color: #7e8983; font-size: 9px; }
.settings-switch .form-check-input:checked { border-color: var(--gv-forest); background-color: var(--gv-forest); }
.receipt-upload { min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 14px; border: 1px dashed #b9cdbb; border-radius: 12px; background: #f8fbf7; text-align: center; }
.receipt-upload > i { color: var(--gv-forest); font-size: 26px; }
.receipt-upload strong { color: #33483e; font-size: 11px; }
.receipt-upload > span { max-width: 245px; color: #87938b; font-size: 9px; }
.receipt-upload .btn { margin-top: 3px; font-size: 9px; }
.feedback-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 13px; }
.feedback-grid > .component-board { align-content: start; }
.showcase-alert { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 8px; padding: 11px 12px; border: 0; border-radius: 10px; font-size: 10px; line-height: 1.55; }
.showcase-alert:last-child { margin-bottom: 0; }
.showcase-alert > i { margin-top: 1px; }
.showcase-alert strong { font-weight: 800; }
.status-samples { display: flex; flex-wrap: wrap; gap: 7px; }
.status-overdue { color: #99483c; background: #f7e5e2; }
.status-vacant { color: #35654a; background: #e4f1e6; }
.status-occupied { color: #526a7b; background: #e5edf2; }
.status-indefinite { color: #725a8b; background: #eee7f5; }
.progress-sample { margin-top: 22px; color: #758179; font-size: 9px; }
.progress-sample strong { color: #46584e; }
.progress-sample .progress { height: 7px; margin-top: 8px; border-radius: 99px; background: #e9eee8; }
.progress-sample .progress-bar { border-radius: 99px; background: var(--gv-forest); }
.toast-demo-board { position: relative; grid-column: 1 / -1; min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.toast-demo-board > div:first-child p { margin: -4px 0 12px; color: var(--gv-muted); font-size: 10px; }
.showcase-toast { min-width: 280px; display: none; align-items: center; gap: 9px; padding: 12px 13px; border: 1px solid #dce9dc; border-radius: 12px; color: #3f6950; background: #f3f8f1; box-shadow: 0 10px 28px rgba(31, 55, 44, .07); font-size: 10px; }
.showcase-toast.is-visible { display: flex; }
.showcase-toast > i { font-size: 15px; }
.showcase-toast span { flex: 1; }
.showcase-toast button { border: 0; color: #71847a; background: transparent; font-size: 15px; }
.member-ui-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.showcase-soa-card, .showcase-paid-invoice { min-width: 0; display: grid; align-content: start; gap: 13px; padding: 19px; border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.showcase-soa-head { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.showcase-soa-head h3 { margin: 4px 0 0; color: var(--gv-ink); font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.showcase-soa-items { display: grid; padding: 4px 13px; border: 1px solid #e8ede6; border-radius: 12px; background: #fbfcfa; }
.showcase-soa-items > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf0eb; color: #68776f; font-size: 10px; }
.showcase-soa-items > div:last-child { border-bottom: 0; }
.showcase-soa-items strong { flex: 0 0 auto; color: #34463d; font-variant-numeric: tabular-nums; }
.showcase-soa-items .showcase-soa-total { color: #314a3d; font-weight: 800; }
.showcase-soa-items .showcase-soa-total strong { color: var(--gv-forest); font-family: "Manrope", sans-serif; font-size: 17px; }
.showcase-soa-card > p { margin: 0; color: #77847d; font-size: 10px; line-height: 1.55; }
.showcase-soa-card > .btn, .showcase-paid-invoice > .btn { justify-self: start; }
.showcase-paid-number { color: var(--gv-forest); font-size: 12px; letter-spacing: .04em; }
.member-dues-card, .feed-card, .event-card, .chat-card, .forum-row-card, .expense-record-card, .rental-schedule-card, .settings-preview, .chart-card, .table-card, .empty-state-card, .loading-state-card, .interaction-card { border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.member-dues-card { padding: 18px; }
.member-dues-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.member-dues-card .summary-card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--gv-forest); background: var(--gv-sage); font-size: 16px; }
.parking-dues-card .summary-card-icon { color: #8d6840; background: var(--gv-sand); }
.member-dues-card .summary-card-label { display: block; color: #6e7c74; font-size: 10px; }
.member-amount { display: block; margin-top: 1px; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.055em; }
.member-amount small { color: #7a867f; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.member-dues-card > p { min-height: 32px; margin: 3px 0 13px; color: #76837b; font-size: 10px; line-height: 1.55; }
.member-dues-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid #edf0eb; color: #88938c; font-size: 9px; }
.member-dues-footer .btn-link { color: var(--gv-forest); font-size: 9px; font-weight: 700; text-decoration: none; }
.member-dues-footer .btn-link i { margin-left: 3px; }
.feed-card { padding: 17px; }
.feed-card-head { display: flex; align-items: center; gap: 10px; }
.feed-avatar, .table-avatar { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--gv-forest); background: var(--gv-sage); font-size: 10px; font-weight: 800; }
.feed-avatar, .table-avatar, .portal-user-avatar { overflow: hidden; }
.feed-avatar img, .table-avatar img, .portal-user-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.feed-card-head strong, .feed-card-head small { display: block; }
.feed-card-head strong { font-size: 10px; }
.feed-card-head small { margin-top: 2px; color: #89948d; font-size: 9px; }
.feed-card h3 { margin: 15px 0 5px; font-size: 16px; font-weight: 800; }
.feed-card > p { margin: 0; color: #68766f; font-size: 10px; line-height: 1.7; }
.feed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #edf0eb; color: #76837b; font-size: 9px; }
.feed-actions i { margin-right: 3px; }
.feed-free-label { margin-left: auto; color: var(--gv-forest); font-weight: 700; }
.community-policy-note { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 11px 13px; border: 1px solid #dfe9de; border-radius: 10px; color: #5e7565; background: #f0f6ef; font-size: 9px; }
.community-policy-note i { color: var(--gv-forest); font-size: 14px; }
.event-card { display: flex; align-items: flex-start; gap: 13px; padding: 17px; }
.event-date { width: 48px; height: 54px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; color: #896941; background: var(--gv-sand); }
.event-date strong { font-family: "Manrope", sans-serif; font-size: 20px; line-height: 1.1; }
.event-date span { margin-top: 2px; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.event-info h3 { margin: 3px 0 4px; font-size: 14px; font-weight: 800; }
.event-info > p { margin: 0 0 10px; color: #76837b; font-size: 9px; }
.portal-event-card .event-info { min-width: 0; flex: 1 1 auto; }
.portal-event-card .event-info h3, .portal-event-card .event-info > p { overflow-wrap: anywhere; white-space: normal; }
.event-info .section-kicker { font-size: 8px; }
.event-info .btn { font-size: 9px; }
.chat-card { overflow: hidden; padding: 0; }
.chat-card-header { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; color: #fff; background: var(--gv-forest); font-size: 10px; font-weight: 700; }
.online-dot { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); font-size: 8px; font-weight: 500; }
.online-dot::before { width: 6px; height: 6px; border-radius: 50%; background: #9dd7a7; content: ""; }
.chat-messages { display: grid; gap: 9px; padding: 14px; background: #f8faf7; }
.chat-message { width: 86%; padding: 9px 11px; border: 1px solid #e7ece5; border-radius: 11px 11px 11px 3px; background: #fff; }
.chat-message-own { justify-self: end; border-color: #dce9dd; border-radius: 11px 11px 3px 11px; background: #edf5ed; }
.chat-message-head { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.chat-profile-avatar { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--gv-sage); color: var(--gv-forest); font-size: 9px; font-weight: 800; }
.chat-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-sender { display: block; color: var(--gv-forest); font-size: 8px; font-weight: 800; }
.chat-message p { margin: 3px 0; color: #45564d; font-size: 9px; }
.chat-message small { display: block; color: #919c94; font-size: 7px; text-align: right; }
.chat-compose { display: flex; gap: 7px; padding: 10px; }
.chat-compose .form-control { min-height: 37px; font-size: 9px; }
.chat-compose .btn { width: 38px; flex: 0 0 auto; padding: 0; font-size: 12px; }
.chat-card .showcase-caption { display: block; padding: 0 11px 10px; margin: 0; }
.forum-row-card { display: flex; align-items: center; gap: 12px; padding: 15px; }
.forum-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #866746; background: var(--gv-sand); }
.forum-row-main { flex: 1; min-width: 0; }
.forum-row-main .section-kicker { font-size: 8px; }
.forum-row-main h3 { overflow: hidden; margin: 3px 0; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.forum-row-main > span:last-child { color: #829087; font-size: 8px; }
.forum-chevron { color: #8b9990; font-size: 12px; }
.parked-inline-note { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 11px 13px; border: 1px solid #e4e8df; border-radius: 10px; color: #6d786f; background: #f2f3ed; font-size: 9px; }
.parked-inline-note i { color: #957447; font-size: 14px; }
.office-metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.office-metric { position: relative; min-height: 133px; padding: 15px; border: 1px solid var(--gv-line); border-radius: 14px; background: var(--gv-paper); }
.office-metric > span:nth-of-type(2) { display: block; margin-top: 13px; color: #718078; font-size: 9px; }
.office-metric > strong { display: block; margin-top: 2px; font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.05em; }
.office-metric > small { color: #859188; font-size: 8px; }
.office-metric > small i { color: #52805d; }
.showcase-soa-generation { display: grid; gap: 16px; margin-top: 14px; padding: 20px; border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.showcase-soa-generation h3 { margin: 4px 0; color: var(--gv-ink); font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 800; }
.showcase-soa-generation p { max-width: 660px; margin: 0; color: #77847d; font-size: 10px; line-height: 1.6; }
.showcase-soa-generation-fields { max-width: 620px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.showcase-soa-generation-fields .form-control { min-height: 42px; font-size: 11px; }
.showcase-soa-generation-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: #829087; font-size: 9px; }
.office-metric-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--gv-forest); background: var(--gv-sage); font-size: 14px; }
.office-icon-clay { color: #9b654b; background: #f5e8df; }
.office-icon-blue { color: #5f7a89; background: var(--gv-blue); }
.office-icon-sand { color: #8e7048; background: var(--gv-sand); }
.office-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 12px; margin-top: 12px; }
.chart-card, .settings-preview { padding: 17px; }
.chart-card-heading, .settings-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.chart-card-heading h3, .settings-preview h3 { margin: 3px 0 0; font-size: 15px; font-weight: 800; }
.chart-card-heading .section-kicker, .settings-preview .section-kicker { font-size: 8px; }
.chart-card-heading .form-select { width: 115px; min-height: 33px; font-size: 9px; }
.chart-legend { display: flex; gap: 15px; margin-top: 17px; color: #76837b; font-size: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 8px; height: 8px; display: inline-block; border-radius: 2px; }
.legend-collection { background: var(--gv-forest); }
.legend-expense { background: #d8aa83; }
.bar-chart { height: 150px; display: flex; align-items: stretch; justify-content: space-around; gap: 14px; margin-top: 12px; padding: 0 10px; border-bottom: 1px solid #e5ebe3; background: repeating-linear-gradient(to bottom, transparent 0, transparent 36px, #eef1ec 37px, transparent 38px); }
.bar-month { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.bar-pair { width: 100%; height: calc(100% - 18px); display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.bar-pair span { width: min(18px, 28%); min-height: 4px; border-radius: 4px 4px 0 0; background: var(--gv-forest); }
.bar-pair span + span { background: #d8aa83; }
.bar-month small { height: 18px; padding-top: 4px; color: #859188; font-size: 8px; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 6px; color: #9aa39d; font-size: 7px; }
.settings-preview-head { justify-content: flex-start; margin-bottom: 14px; }
.settings-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #8d6d43; background: var(--gv-sand); font-size: 16px; }
.rate-setting { margin-bottom: 12px; }
.rate-setting label { display: block; margin-bottom: 4px; color: #405249; font-size: 9px; font-weight: 700; }
.rate-setting .input-group-text, .rate-setting .form-control { min-height: 35px; border-color: #dfe7dd; background: #fff; font-size: 9px; }
.rate-setting .input-group-text { color: #718078; background: #f8faf7; }
.rate-setting small { display: block; margin-top: 3px; color: #89948d; font-size: 8px; }
.settings-preview > .btn { margin-top: 1px; font-size: 9px; }
.settings-preview > .showcase-caption { display: block; margin-top: 7px; text-align: center; }
.table-card { overflow: hidden; margin-top: 12px; }
.table-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; }
.table-card-heading h3 { margin: 3px 0 0; font-size: 16px; font-weight: 800; }
.table-card-heading .section-kicker { font-size: 8px; }
.table-toolbar { display: flex; align-items: center; gap: 7px; }
.table-toolbar .input-group { width: 180px; }
.table-toolbar .form-control, .table-toolbar .input-group-text { min-height: 34px; border-color: #e1e7df; background: #fff; font-size: 9px; }
.table-toolbar .input-group-text { color: #738179; background: #f7f9f6; }
.table-toolbar .btn { font-size: 9px; }
.showcase-table { margin: 0; font-size: 9px; }
.showcase-table thead th { padding: 10px 13px; border-color: #edf0eb; color: #86928a; background: #f8faf7; font-size: 8px; font-weight: 700; white-space: nowrap; }
.showcase-table tbody td { padding: 11px 13px; border-color: #eff2ee; color: #54645b; white-space: nowrap; }
.showcase-table .status-pill { font-size: 8px; }
.table-member { display: flex; align-items: center; gap: 8px; }
.table-member strong, .table-member small { display: block; }
.table-member strong { color: #34443e; font-size: 9px; }
.table-member small { margin-top: 2px; color: #8b9690; font-size: 7px; }
.table-avatar { width: 29px; height: 29px; font-size: 8px; }
.table-avatar-clay { color: #916348; background: #f4e8df; }
.btn-icon-small { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
.table-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; color: #859188; font-size: 8px; }
.table-card-footer nav { display: flex; gap: 4px; }
.pagination-button { min-width: 27px; height: 27px; display: inline-grid; place-items: center; padding: 0 5px; border: 1px solid #e5ebe3; border-radius: 7px; color: #69786f; background: #fff; font: inherit; font-size: 8px; }
.pagination-button.active { border-color: var(--gv-forest); color: #fff; background: var(--gv-forest); }
.pagination-button:disabled { opacity: .45; }
.registration-review-card { margin-top: 12px; padding: 17px; border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.operations-icon-sand { color: #8e7048; background: var(--gv-sand); }
.registration-review-details { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 15px 0 9px; padding: 12px 0; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; }
.registration-review-details span { display: inline-flex; align-items: center; gap: 5px; color: #53645a; font-size: 9px; }
.registration-review-details i { color: #87958a; }
.registration-review-card > p { margin: 0; color: #7b877f; font-size: 9px; }
.registration-review-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 12px; }
.registration-review-actions .btn { font-size: 9px; }
.operations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.expense-record-card, .rental-schedule-card { padding: 17px; }
.operations-card-head { display: flex; align-items: center; gap: 10px; }
.operations-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--gv-forest); background: var(--gv-sage); font-size: 16px; }
.operations-icon-clay { color: #9b654b; background: #f5e8df; }
.operations-icon-blue { color: #5f7a89; background: var(--gv-blue); }
.operations-card-head .section-kicker { font-size: 8px; }
.operations-card-head h3 { margin: 2px 0 0; font-size: 13px; font-weight: 800; }
.expense-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 17px 0 12px; padding: 13px 0; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; }
.expense-meta-grid span, .expense-meta-grid strong { display: block; }
.expense-meta-grid span { color: #8a958e; font-size: 8px; }
.expense-meta-grid strong { margin-top: 3px; color: #3e5047; font-size: 9px; }
.receipt-file-row { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 9px; background: #f6f8f4; }
.receipt-file-row > i { color: #bd6754; font-size: 19px; }
.receipt-file-row strong, .receipt-file-row small { display: block; }
.receipt-file-row strong { color: #42534a; font-size: 9px; }
.receipt-file-row small { margin-top: 2px; color: #87928b; font-size: 7px; }
.receipt-file-row .btn { color: var(--gv-forest); font-size: 8px; text-decoration: none; }
.no-approval-note { display: flex; align-items: flex-start; gap: 6px; margin: 11px 0 0; color: #748078; font-size: 8px; line-height: 1.55; }
.no-approval-note i { color: #718b73; }
.resource-config-row { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 15px 0 9px; color: #78857d; font-size: 8px; }
.resource-config-row i { margin-right: 3px; color: var(--gv-forest); }
.resource-config-row strong { color: #53645a; font-weight: 700; }
.resource-slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #edf0eb; }
.resource-slot > div { min-width: 0; }
.resource-slot strong, .resource-slot span:not(.status-pill) { display: block; }
.resource-slot > div > strong { color: #44554c; font-size: 9px; }
.resource-slot > div > span { margin-top: 2px; color: #8a958e; font-size: 8px; overflow-wrap: anywhere; }
.resource-slot .status-pill { font-size: 8px; }
.resource-slot-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.resource-slot-actions .btn { font-size: 9px; }
.resource-slot-indefinite { border-bottom: 1px solid #edf0eb; }
.resource-booking-rule { margin: 11px 0 0; color: #78857d; font-size: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.state-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.empty-state-card { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.empty-state-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--gv-forest); background: var(--gv-sage); font-size: 20px; }
.empty-state-card h3 { margin: 13px 0 5px; font-size: 15px; font-weight: 800; }
.empty-state-card p { max-width: 250px; margin: 0 0 13px; color: #7a877f; font-size: 9px; line-height: 1.65; }
.empty-state-card .btn { font-size: 9px; }
.loading-state-card { padding: 18px; }
.skeleton-row { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.skeleton-row > span { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: #e9eee8; }
.skeleton-row > div { flex: 1; display: grid; gap: 6px; }
.skeleton-row i { height: 7px; border-radius: 5px; background: #edf1ec; }
.skeleton-row i:last-child { width: 54%; height: 5px; }
.loading-caption { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; color: #819087; font-size: 8px; }
.loading-spinner { width: 12px; height: 12px; border: 2px solid #dce7dd; border-top-color: var(--gv-forest); border-radius: 50%; animation: showcase-spin .8s linear infinite; }
@keyframes showcase-spin { to { transform: rotate(360deg); } }
.interaction-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.interaction-card { min-height: 160px; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; }
.interaction-card .component-label { min-height: 25px; margin-bottom: 8px; }
.interaction-card > p { min-height: 39px; margin: 0 0 12px; color: #78857d; font-size: 9px; line-height: 1.6; }
.interaction-card .btn { margin-top: auto; font-size: 9px; }
.interaction-card .showcase-feedback { margin-top: 9px !important; font-size: 8px !important; }
.workspace-grid { grid-template-columns: 1fr 1fr; }
.showcase-footer a { color: #64766c; font-size: 10px; font-weight: 700; text-decoration: none; }
.showcase-footer a:hover { color: var(--gv-forest); }

@media (max-width: 991.98px) {
  .showcase-intro { align-items: flex-start; }
  .showcase-intro-card { width: 195px; }
  .office-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); }
  .interaction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .showcase-header-actions { gap: 8px; }
  .showcase-version { display: none; }
  .showcase-intro { display: block; padding: 43px 0 31px; }
  .showcase-intro h1 { margin: 15px 0 9px; font-size: 43px; }
  .showcase-intro p { font-size: 12px; }
  .showcase-intro-card { width: 100%; flex-direction: row; align-items: center; gap: 11px; margin-top: 20px; padding: 12px; }
  .showcase-soa-generation-fields { grid-template-columns: minmax(0,1fr); }
  .showcase-soa-generation-footer { align-items: stretch; flex-direction: column; }
  .showcase-intro-mark { width: 35px; height: 35px; flex: 0 0 auto; margin: 0; border-radius: 11px; font-size: 16px; }
  .showcase-intro-card strong { font-size: 10px; }
  .showcase-intro-card > span:last-child { margin: 0 0 0 auto; max-width: 115px; font-size: 8px; }
  .showcase-intro-tags { gap: 5px; }
  .showcase-intro-tags span { padding: 6px 8px; font-size: 8px; }
  .token-grid-expanded { grid-template-columns: 1fr 1fr; }
  .foundation-samples, .form-grid, .feedback-grid, .member-ui-grid, .office-dashboard-grid, .operations-grid, .state-grid { grid-template-columns: 1fr; }
  .foundation-samples .type-sample, .surface-sample { min-height: auto; }
  .showcase-button-row { gap: 7px; }
  .showcase-button-row .btn { font-size: 9px; }
  .showcase-tabs { width: 100%; }
  .showcase-tabs button { flex: 1; padding-inline: 8px; font-size: 9px; }
  .page-action-demo { align-items: flex-start; flex-direction: column; }
  .form-showcase-board { padding: 11px; }
  .form-demo-card { padding: 14px; }
  .toast-demo-board { align-items: flex-start; flex-direction: column; }
  .showcase-toast { width: 100%; min-width: 0; }
  .member-dues-card > p { min-height: 0; }
  .office-metrics-grid { gap: 8px; }
  .office-metric { min-height: 116px; padding: 12px; }
  .office-dashboard-grid { gap: 9px; }
  .table-card-heading { align-items: flex-start; flex-direction: column; padding: 14px; }
  .table-toolbar { width: 100%; }
  .table-toolbar .input-group { flex: 1; width: auto; }
  .table-card-footer { align-items: flex-start; flex-direction: column; }
  .table-card-footer nav { align-self: flex-end; }
  .registration-review-details { gap: 7px 12px; }
  .expense-meta-grid { gap: 5px; }
  .expense-meta-grid strong { font-size: 8px; }
  .interaction-grid { grid-template-columns: 1fr 1fr; }
  .interaction-card { min-height: 170px; padding: 13px; }
  .interaction-card > p { font-size: 8px; }
  .showcase-footer { gap: 7px; }
}

@media (max-width: 380px) {
  .showcase-intro-card > span:last-child { display: none; }
  .token-card { min-height: 66px; }
  .interaction-grid { grid-template-columns: 1fr; }
  .interaction-card { min-height: 140px; }
}

/* Chat sample and chat layout rules */
.chat-messages { height: 244px; max-height: 244px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-color: #cbd8cc transparent; scrollbar-width: thin; }
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { border-radius: 99px; background: #cbd8cc; }
.chat-message { min-width: 0; overflow-wrap: anywhere; }
.chat-sender { overflow-wrap: anywhere; font-size: 10px; }
.chat-message p { overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-message small { margin-top: 5px; }
.post-image-gallery.chat-image-gallery { margin-top: 8px; }
.chat-upload-error { margin: 0; padding: 10px 12px; font-size: 12px; }
.chat-attachment-tray { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 0; }
.chat-attachment-preview { min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid #e2e9e1; border-radius: 10px; background: #f9fbf8; }
.chat-attachment-preview img { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; }
.chat-attachment-preview > span { min-width: 0; max-width: 150px; color: #596a60; font-size: 8px; overflow-wrap: anywhere; }
.chat-attachment-preview button { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 7px; color: #7d8a82; background: transparent; }
.chat-attachment-preview button:hover, .chat-attachment-preview button:focus-visible { color: #9b4e3f; background: #f8e9e4; }
.chat-compose { display: grid; gap: 9px; padding: 16px; }
.chat-compose-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-tool-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 11px; border: 1px solid #dce6dc; border-radius: 10px; color: var(--gv-forest); background: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }
.chat-tool-button i { font-size: 14px; }
.chat-tool-button:hover, .chat-tool-button:focus-within { border-color: #a9c3ac; background: #f2f7f1; }
.chat-composer-form { display: flex; align-items: flex-end; gap: 8px; min-width: 0; }
.chat-composer-form textarea.form-control { min-width: 0; min-height: 44px; max-height: 100px; resize: vertical; padding: 10px 12px; font-size: 11px; }
.chat-composer-form .btn { width: 44px; height: 44px; flex: 0 0 auto; padding: 0; }
.chat-demo-note { display: block; color: #89958d; font-size: 9px; line-height: 1.5; }
.chat-composer-form .btn:disabled { color: #84958a; border-color: #e4eae3; background: #e4eae3; }

@media (max-width: 767.98px) {
  .chat-messages { height: 230px; max-height: 230px; padding: 12px; }
  .chat-message { width: min(92%, 340px); }
  .chat-compose { gap: 8px; padding: 16px; }
  .chat-tool-button { flex: 1 1 auto; }
  .chat-attachment-tray { padding-inline: 12px; }
}

/* Enforce the documented spacing and prevent user text from being clipped. */
.token-card, .member-dues-card, .feed-card, .event-card, .forum-row-card,
.office-metric, .chart-card, .settings-preview, .expense-record-card,
.rental-schedule-card, .registration-review-card, .loading-state-card,
.interaction-card { padding: 20px; }
.table-card-heading { padding: 20px; }
.table-card-footer { padding: 14px 20px; }
.drawer-nav { gap: 8px; }
.table-toolbar { gap: 8px; }
.table-card-footer nav { flex-wrap: wrap; gap: 8px; }
.registration-review-actions { gap: 8px; }
.forum-row-main h3 { overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
.chat-card, .chat-message, .feed-card, .forum-row-card, .registration-review-card,
.expense-record-card, .rental-schedule-card, .member-dues-card,
.showcase-section, .component-board { min-width: 0; }
.feed-card > p, .chat-message p, .chat-sender, .forum-row-main,
.registration-review-details span, .receipt-file-row strong,
.table-member strong, .detail-list dd { overflow-wrap: anywhere; }
.detail-list dd { max-width: 58%; }

@media (max-width: 767.98px) {
  .token-card, .member-dues-card, .feed-card, .event-card, .forum-row-card,
  .office-metric, .chart-card, .settings-preview, .expense-record-card,
  .rental-schedule-card, .registration-review-card, .loading-state-card,
  .interaction-card, .table-card-heading { padding: 16px; }
  .table-card-footer { padding: 12px 16px; }
}

/* Member and System Administrator portal shells */
.portal-frame { min-height: 100vh; display: flex; background: #f5f7f3; }
.portal-rail { width: 254px; min-width: 254px; flex-direction: column; padding: 22px 16px 16px; border-right: 1px solid #e5ebe3; background: #fffefa; }
.portal-brand { padding: 0 6px 22px; }
.portal-nav-label { padding: 12px 11px 8px; color: #9aa39c; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.portal-nav { display: grid; gap: 8px; }
.portal-nav a { min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: #64736b; font-size: 11px; font-weight: 700; text-decoration: none; transition: background .15s ease, color .15s ease; }
.portal-nav a i { width: 18px; color: #789087; font-size: 15px; }
.portal-nav a:hover, .portal-nav a.active { color: var(--gv-forest); background: #edf4ed; }
.portal-nav a.active i { color: var(--gv-forest); }
.portal-rail-bottom { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf0eb; }
.portal-rail-bottom a, .portal-logout { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px; color: #67766e; background: transparent; font: inherit; font-size: 11px; font-weight: 700; text-align: left; text-decoration: none; }
.portal-rail-bottom a:hover, .portal-rail-bottom a.active, .portal-logout:hover { color: var(--gv-forest); background: #edf4ed; }
.portal-content { min-width: 0; flex: 1; }
.portal-toolbar { min-height: 86px; display: flex; align-items: center; gap: 16px; padding: 14px 30px; border-bottom: 1px solid #e5ebe3; background: rgba(255,254,250,.94); }
.portal-toolbar-title { min-width: 0; flex: 1; }
.portal-toolbar-title .section-kicker { font-size: 9px; }
.portal-toolbar-title h1 { overflow-wrap: anywhere; margin: 3px 0 0; font-size: 21px; font-weight: 800; }
.portal-user-pill { display: flex; align-items: center; gap: 9px; padding: 6px 10px 6px 6px; border: 1px solid #e8ede6; border-radius: 12px; background: #fff; }
.portal-user-avatar { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--gv-forest); background: var(--gv-sage); font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 800; }
.admin-avatar { color: #8b6942; background: var(--gv-sand); }
.portal-user-pill strong, .portal-user-pill small { display: block; }
.portal-user-pill strong { max-width: 170px; overflow: hidden; color: #35463e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.portal-user-pill small { margin-top: 2px; color: #87928b; font-size: 8px; }
.portal-main { width: min(100%, 1500px); min-width: 0; margin: 0 auto; padding: 26px 30px 40px; }
.portal-alert { margin-bottom: 14px; border: 0; border-radius: 11px; font-size: 11px; }
.portal-page { min-width: 0; display: grid; gap: 16px; }
.portal-page-heading { min-width: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 2px; }
.portal-page-heading .section-kicker { font-size: 9px; }
.portal-page-heading h2 { overflow-wrap: anywhere; margin: 5px 0 3px; font-size: clamp(22px, 2.3vw, 29px); font-weight: 800; }
.portal-page-heading p { max-width: 700px; margin: 0; color: #76837b; font-size: 11px; line-height: 1.6; }
.portal-page-heading > .btn { flex: 0 0 auto; }
.portal-card { min-width: 0; padding: 22px; border: 1px solid #e4eae2; border-radius: 16px; background: var(--gv-paper); box-shadow: 0 8px 24px rgba(32, 57, 43, .035); }
.portal-card h3 { overflow-wrap: anywhere; margin: 5px 0 9px; font-size: 17px; font-weight: 800; }
.portal-card p { color: #718078; font-size: 11px; line-height: 1.7; }
.portal-card-heading { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.portal-card-heading h3 { margin: 4px 0 0; }
.portal-card-heading .section-kicker { font-size: 9px; }
.portal-heading-icon { color: #74947c; font-size: 22px; }
.portal-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.portal-metric-card { min-width: 0; min-height: 153px; padding: 20px; border: 1px solid #e4eae2; border-radius: 15px; background: var(--gv-paper); }
.portal-metric-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--gv-forest); background: var(--gv-sage); font-size: 16px; }
.metric-sand { color: #8e7048; background: var(--gv-sand); }
.metric-clay { color: #9a644c; background: #f5e8df; }
.metric-blue { color: #5b7a88; background: var(--gv-blue); }
.portal-metric-card > span:nth-of-type(2) { display: block; margin-top: 14px; color: #738078; font-size: 9px; }
.portal-metric-card > strong { display: block; overflow-wrap: anywhere; margin-top: 2px; font-family: "Manrope", sans-serif; font-size: clamp(19px, 2vw, 25px); font-weight: 800; letter-spacing: -.045em; }
.portal-metric-card > small { color: #88948d; font-size: 8px; line-height: 1.5; }
.portal-content-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-form-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
.portal-card-feature { background: linear-gradient(145deg, #fffefa, #f0f6ef); }
.portal-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.portal-note-card { display: flex; align-items: flex-start; gap: 10px; padding: 15px 18px; color: #62736a; background: #f1f5ef; }
.portal-note-card > i { margin-top: 2px; color: var(--gv-forest); }
.portal-note-card p { margin: 0; font-size: 10px; }
.portal-action-list { display: grid; gap: 8px; margin-top: 15px; }
.portal-action-list a { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e6ece4; border-radius: 10px; color: #4e6558; font-size: 10px; font-weight: 700; text-decoration: none; }
.portal-action-list a:hover { background: #f2f7f1; }
.portal-action-list i { color: var(--gv-forest); font-size: 14px; }
.financial-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf0eb; color: #718078; font-size: 10px; }
.financial-summary-row strong { color: #394b42; font-family: "Manrope", sans-serif; font-size: 13px; }
.financial-net { border-bottom: 0; color: var(--gv-forest); font-weight: 800; }
.financial-net strong { color: var(--gv-forest); font-size: 17px; }
.portal-invoice-list, .member-feed-list, .event-list, .forum-list { display: grid; gap: 11px; }
.invoice-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.invoice-row-main { min-width: 0; }
.invoice-row-main h3 { margin: 4px 0 3px; font-size: 15px; }
.invoice-row-main p { margin: 0; font-size: 9px; }
.invoice-row-main small { display: block; margin-top: 5px; color: #8a958e; overflow-wrap: anywhere; }
.invoice-row-amount { flex: 0 0 auto; display: grid; justify-items: end; gap: 5px; }
.invoice-row-amount strong { font-family: "Manrope", sans-serif; font-size: 17px; }
.invoice-row-amount > span:not(.status-pill) { color: #829087; font-size: 8px; }
.soa-member-card { display: grid; gap: 16px; padding: 22px; }
.soa-member-heading { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.soa-member-title { min-width: 0; }
.soa-member-title h3 { margin: 5px 0 4px; font-size: 18px; overflow-wrap: anywhere; }
.soa-member-title p { margin: 0; color: #7d8982; font-size: 11px; }
.soa-line-items { display: grid; gap: 0; padding: 5px 16px; border: 1px solid #e8ede6; border-radius: 13px; background: #fbfcfa; }
.soa-line-item, .soa-line-total { min-width: 0; display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #edf0eb; font-size: 12px; }
.soa-line-item > span { min-width: 0; overflow-wrap: anywhere; color: #68776f; }
.soa-line-item > strong, .soa-line-total > strong { flex: 0 0 auto; color: #34463d; font-variant-numeric: tabular-nums; }
.soa-line-total { align-items: center; padding-top: 13px; border-bottom: 0; color: #314a3d; font-weight: 800; }
.soa-line-total > strong { color: var(--gv-forest); font-family: "Manrope", sans-serif; font-size: 20px; }
.soa-payment-state { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border-radius: 11px; color: #536a5b; background: #eff5ef; font-size: 11px; line-height: 1.5; }
.soa-payment-state i { flex: 0 0 auto; margin-top: 1px; color: var(--gv-forest); }
.soa-payment-rejected { color: #80583c; background: #faf2e8; }
.soa-payment-rejected i { color: #a2673d; }
.soa-member-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.soa-admin-card { padding: 20px; }
.soa-admin-table { min-width: 1380px; }
.billing-soa-ledger { display: grid; gap: 12px; }
.billing-ledger-heading-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.billing-soa-table { min-width: 1040px; }
.billing-proof-status { margin-top: 5px; color: #8a7653; font-size: 9px; }
.billing-ledger-loading { padding: 12px 0; color: #829087; font-size: 11px; }
.billing-ledger-filters { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(220px, 1.25fr) minmax(145px, .75fr) auto; align-items: end; gap: 10px; margin-bottom: 4px; padding: 2px 0 16px; border-bottom: 1px solid #edf0eb; }
.billing-filter-field { min-width: 0; }
.billing-filter-field .form-label { margin-bottom: 6px; color: #64736a; font-size: 10px; font-weight: 700; }
.billing-filter-field .form-control, .billing-filter-field .form-select { min-height: 42px; font-size: 11px; }
.billing-filter-actions { min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.billing-filter-help { margin: -8px 0 4px; color: #849188; font-size: 9px; }
.billing-print-heading { display: none; }
.billing-filter-empty { margin-top: 8px; }
.soa-admin-items { min-width: 130px; display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: #68776f; font-size: 10px; }
.soa-admin-items strong { flex: 0 0 auto; color: #354940; font-variant-numeric: tabular-nums; }
.soa-admin-actions { min-width: 145px; display: flex; flex-wrap: wrap; gap: 8px; }
.soa-generation-card { padding: 22px; }
.soa-generation-form { display: grid; gap: 15px; }
.soa-generation-footer { min-width: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.soa-generation-footer p { max-width: 680px; margin: 0; line-height: 1.6; }
.soa-generation-result { margin-top: 15px; padding: 12px 14px; border-radius: 10px; color: #365b45; background: #edf5ee; font-size: 11px; }
.soa-dialog-content { position: relative; padding: 30px; }
.soa-dialog-content h2 { max-width: calc(100% - 44px); margin: 7px 0 9px; color: var(--gv-ink); font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.04em; overflow-wrap: anywhere; }
.soa-dialog-content .form-label { margin-bottom: 6px; color: #52635a; font-size: 11px; font-weight: 700; }
.soa-dialog-content .form-control, .soa-dialog-content .form-select { min-height: 44px; font-size: 12px; }
.soa-dialog-content textarea.form-control { min-height: auto; }
.soa-dialog-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid #e1e9e0; border-radius: 11px; color: #50695b; background: #f6f8f4; }
.soa-dialog-close:hover { color: var(--gv-forest); background: #eaf1eb; }
.soa-dialog-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; padding: 14px 16px; border-radius: 12px; color: #627168; background: #eff4ee; font-size: 11px; }
.soa-dialog-total strong { color: var(--gv-forest); font-family: "Manrope", sans-serif; font-size: 22px; font-variant-numeric: tabular-nums; }
.soa-dialog-breakdown { margin-bottom: 18px; padding: 3px 14px; border: 1px solid #e8ede6; border-radius: 11px; }
.soa-dialog-breakdown .soa-line-item { font-size: 10px; }
.soa-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.ngdialog.gv3-soa-dialog .ngdialog-content { width: min(560px, calc(100vw - 32px)); max-width: 560px; max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border-radius: 17px; background: var(--gv-paper); }
.ngdialog.gv3-paid-invoice-dialog .ngdialog-content { width: min(640px, calc(100vw - 32px)); max-width: 640px; max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border-radius: 17px; background: var(--gv-paper); }
.paid-invoice-dialog { position: relative; padding: 28px; }
.paid-invoice-brand { display: flex; align-items: center; gap: 12px; padding: 0 44px 18px 0; border-bottom: 1px solid #e8ede6; }
.paid-invoice-brand-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--gv-forest); font-size: 18px; }
.paid-invoice-brand strong, .paid-invoice-brand span { display: block; }
.paid-invoice-brand strong { color: #24382e; font-family: "Manrope", sans-serif; font-size: 14px; }
.paid-invoice-brand div > span { margin-top: 2px; color: #7c8981; font-size: 10px; }
.paid-invoice-title { display: grid; justify-items: center; gap: 4px; padding: 22px 0 18px; text-align: center; }
.paid-invoice-title h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 800; }
.paid-invoice-title > strong { color: var(--gv-forest); font-size: 12px; letter-spacing: .04em; }
.paid-invoice-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 15px; border: 1px solid #e8ede6; border-radius: 12px; }
.paid-invoice-meta span, .paid-invoice-meta strong { display: block; overflow-wrap: anywhere; }
.paid-invoice-meta span { color: #829087; font-size: 9px; }
.paid-invoice-meta strong { margin-top: 3px; color: #34463d; font-size: 11px; }
.paid-invoice-items { margin-top: 14px; }
.paid-invoice-payment { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 14px; color: #68776f; font-size: 10px; }
.paid-invoice-payment strong { color: #34463d; }
.paid-invoice-note { margin: 16px 0 0; color: #77847d; font-size: 10px; line-height: 1.6; text-align: center; }
.paid-invoice-actions { display: flex; justify-content: center; margin-top: 20px; }
.showcase-soa-dialog-sample { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 17px 20px; border: 1px solid var(--gv-line); border-radius: 14px; background: var(--gv-paper); }
.showcase-soa-dialog-sample p { max-width: 680px; margin: 4px 0 0; color: #77847d; font-size: 10px; line-height: 1.6; }
.portal-table { min-width: 680px; margin: 0; font-size: 10px; }
.portal-table thead th { padding: 11px 12px; border-color: #edf0eb; color: #829087; background: #f8faf7; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.portal-table tbody td { padding: 12px; border-color: #edf0eb; color: #53635a; vertical-align: middle; }
.table-empty { padding: 24px !important; color: #89948d !important; text-align: center; }
.portal-form-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.portal-form-grid > div { min-width: 0; }
.portal-form-grid .form-control, .portal-form-grid .form-select { min-height: 44px; font-size: 11px; }
.composer-card { background: linear-gradient(145deg, #fffefa, #f7faf6); }
.composer-card .form-control, .composer-card .form-select { font-size: 11px; }
.registration-admin-card { padding: 22px; }
.registration-admin-heading { display: flex; align-items: center; gap: 12px; }
.registration-admin-heading > div { min-width: 0; flex: 1; }
.registration-admin-heading h3 { margin: 3px 0 0; }
.registration-review-details { min-width: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 15px 0 10px; padding: 13px 0; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; }
.registration-review-details span { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; color: #63736a; font-size: 9px; overflow-wrap: anywhere; }
.registration-review-actions { display: flex; justify-content: flex-end; gap: 8px; }
.portal-event-card { width: 100%; }
.event-poster-thumb-link { width: 88px; height: 112px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid #e5ebe3; border-radius: 10px; background: #f6f8f4; }
.event-poster-thumb { width: 100%; height: 100%; object-fit: contain; }
.event-poster-showcase { color: #64806c; background: linear-gradient(160deg, #edf3eb, #f9f4e8); }
.event-poster-showcase > span { display: grid; justify-items: center; gap: 5px; font-size: 18px; }
.event-poster-showcase small { font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.event-admin-list-card { padding: 20px; }
.event-row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.event-edit-button { flex: 0 0 auto; }
.event-title-link { color: inherit; text-decoration: none; }
.event-title-link:hover, .event-title-link:focus-visible { color: var(--gv-forest); text-decoration: underline; text-underline-offset: 3px; }
.event-detail-actions { min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.event-detail-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: stretch; gap: 22px; padding: 22px; border: 1px solid var(--gv-line); border-radius: 16px; background: var(--gv-paper); box-shadow: 0 12px 32px rgba(34, 57, 44, .045); }
.event-detail-poster-panel { min-width: 0; min-height: 360px; display: grid; place-items: center; overflow: hidden; padding: 14px; border: 1px solid #e7ece5; border-radius: 13px; background: #f7f9f5; }
.event-detail-poster-link { max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.event-detail-poster { max-width: 100%; width: auto; height: auto; max-height: min(72vh, 760px); display: block; object-fit: contain; border-radius: 8px; }
.event-detail-no-poster { display: grid; justify-items: center; gap: 8px; color: #819087; font-size: 11px; }
.event-detail-no-poster i { color: #879b8b; font-size: 32px; }
.event-detail-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 8px 4px; }
.event-detail-copy h3 { margin: -7px 0 0; color: var(--gv-ink); font-family: "Manrope", sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.035em; overflow-wrap: anywhere; }
.event-detail-meta { width: 100%; display: grid; gap: 9px; }
.event-detail-meta > div { min-width: 0; display: grid; gap: 3px; padding: 11px 13px; border: 1px solid #e8ede6; border-radius: 11px; background: #fbfcfa; }
.event-detail-meta span { color: #77857d; font-size: 9px; font-weight: 700; }
.event-detail-meta strong { color: #3f5147; font-size: 11px; overflow-wrap: anywhere; }
.event-detail-description { width: 100%; padding-top: 3px; }
.event-detail-description p, .event-detail-description-empty { margin: 5px 0 0; color: #65756b; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-line; }
.showcase-event-detail-poster { width: min(100%, 320px); min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; border: 1px solid #dce8da; border-radius: 11px; color: #4b7158; background: linear-gradient(155deg, #e8f1e6, #f7f0df); text-align: center; }
.showcase-event-detail-poster i { font-size: 30px; }
.showcase-event-detail-poster strong { font-size: 9px; letter-spacing: .12em; }
.showcase-event-detail-poster span { color: #34493b; font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; }
.showcase-event-detail-poster small { color: #728277; font-size: 9px; }
.ngdialog.gv3-event-dialog .ngdialog-content { width: min(700px, calc(100vw - 32px)); max-width: 700px; max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border-radius: 17px; background: var(--gv-paper); }
.event-dialog-content { position: relative; padding: 30px; }
.event-dialog-content h2 { max-width: calc(100% - 48px); margin: 6px 0 7px; color: var(--gv-ink); font-family: "Manrope", sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -.04em; overflow-wrap: anywhere; }
.event-dialog-intro { margin: 0 0 20px; color: #78857d; font-size: 11px; line-height: 1.55; }
.event-dialog-fields .form-control { min-height: 44px; }
.event-description-field { margin-top: 14px; }
.event-description-field .form-control { min-height: 92px; }
.event-poster-upload { display: grid; gap: 11px; margin-top: 18px; padding: 15px; border: 1px solid #e3ebe1; border-radius: 12px; background: #fafbf9; }
.event-poster-upload > div:first-child .form-label { margin-bottom: 4px; color: #52635a; font-size: 11px; font-weight: 700; }
.event-poster-upload .form-text { margin: 0; color: #829087; font-size: 9px; }
.event-poster-preview-row { min-width: 0; display: flex; align-items: flex-start; gap: 12px; }
.event-poster-preview-link { flex: 0 0 auto; }
.event-poster-preview-image { width: 104px; height: 132px; display: block; object-fit: contain; border: 1px solid #e3e9e1; border-radius: 9px; background: #fff; }
.event-poster-preview-copy { min-width: 0; display: grid; align-content: start; gap: 5px; padding-top: 4px; }
.event-poster-preview-copy strong { overflow-wrap: anywhere; color: #42554a; font-size: 10px; }
.event-poster-preview-copy small { color: #849188; font-size: 9px; }
.event-poster-preview-copy .btn { justify-self: start; margin-top: 4px; }
.event-poster-empty { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #c9d7c9; border-radius: 10px; color: #77877c; background: #fff; font-size: 10px; }
.event-poster-empty i { color: var(--gv-forest); font-size: 17px; }
.event-poster-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.event-poster-controls .btn { min-height: 40px; }
.event-dialog-error { margin: 16px 0 0; font-size: 11px; }
.event-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.portal-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 22px; text-align: center; }
.portal-empty h3 { margin: 12px 0 4px; }
.portal-empty p { max-width: 360px; margin: 0; }
.portal-empty .empty-state-icon { width: 46px; height: 46px; }
.profile-fact { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf0eb; font-size: 10px; }
.profile-fact span { color: #829087; }
.profile-fact strong { max-width: 65%; text-align: right; overflow-wrap: anywhere; }
.household-account-list { display: grid; gap: 8px; }
.household-account-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e8ede6; border-radius: 11px; }
.home-account-cell, .registration-request-name { display: inline-flex; min-width: 0; align-items: center; gap: 8px; }
.home-account-cell > span:last-child, .registration-request-name > div { min-width: 0; }
.home-account-cell strong, .home-account-cell small { display: block; white-space: nowrap; }
.home-account-cell small { color: var(--gv-muted); font-size: 9px; text-transform: capitalize; }
.household-account-row > span:nth-child(2) { min-width: 0; flex: 1; }
.household-account-row strong, .household-account-row small { display: block; overflow-wrap: anywhere; }
.household-account-row strong { font-size: 10px; }
.household-account-row small { margin-top: 2px; color: #89948d; font-size: 8px; }
.profile-account-head { display: flex; align-items: center; gap: 14px; margin: 12px 0 16px; }
.profile-account-head h3 { margin: 0; }
.profile-account-head p { margin: 4px 0 0; color: var(--gv-muted); font-size: 11px; }
.profile-picture-display { width: 78px; height: 78px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 3px solid #edf3ed; border-radius: 50%; background: var(--gv-sage); color: var(--gv-forest); font: 800 24px "Manrope",sans-serif; }
.profile-picture-display img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-upload { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 18px 0; padding: 14px; border: 1px solid var(--gv-line); border-radius: 12px; background: #fafbf8; }
.profile-photo-upload .form-label, .profile-photo-upload .form-text { margin: 0; }
.profile-photo-preview { grid-column: 2; grid-row: 1 / span 2; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--gv-sage); color: var(--gv-forest); font: 800 20px "Manrope",sans-serif; }
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-control { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; grid-column: 1; }
.showcase-profile-photo-card { display: grid; align-content: start; gap: 10px; padding: 18px; border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.showcase-profile-person { display: flex; align-items: center; gap: 12px; }
.showcase-profile-person > img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.showcase-profile-person h3 { margin: 3px 0 2px; font: 800 14px "Manrope",sans-serif; }
.showcase-profile-person p { margin: 0; color: var(--gv-muted); font-size: 10px; }
.showcase-profile-upload { margin: 0; padding: 12px; }
.rental-resource-card { display: flex; flex-direction: column; gap: 9px; }
.rental-resource-card .operations-card-head { align-items: center; }
.rental-resource-card > p { margin: 0; }
.rental-resource-card .resource-config-row { margin: 0; }
.rental-resource-card > .btn { align-self: flex-start; margin-top: auto; }
.rental-terms { padding: 10px 12px; border-radius: 10px; background: #f5f7f3; color: #586960; font-size: 10px; }
.rental-terms summary { cursor: pointer; font-weight: 700; }
.rental-terms p { margin: 8px 0 0; font-size: 9px; }
.rental-terms-text { padding: 12px; border-radius: 10px; background: #f4f6f2; }
.status-void { border-color: #d8dcd7; background: #ecefeb; color: #68736c; }
.rental-table-terms { min-width: 220px; max-width: 360px; white-space: normal; }
.rental-resource-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.rental-resource-form-card { max-width: 980px; }
.ngdialog.gv3-confirm-dialog .ngdialog-content { width: min(460px, calc(100vw - 32px)); max-width: 460px; padding: 0; border-radius: 17px; background: var(--gv-paper); }
.gv3-confirm-danger-icon { color: #9c4b38; background: #f9e9e3; }
.ngdialog.gv3-rental-dialog .ngdialog-content { width: min(760px, calc(100vw - 32px)); max-width: 760px; max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border-radius: 18px; background: var(--gv-paper); }
.rental-calendar-dialog, .rental-hourly-dialog, .rental-request-dialog { position: relative; padding: 26px; }
.rental-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rental-dialog-header h2, .rental-request-dialog h2 { margin: 3px 0 6px; font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; }
.rental-dialog-header p { max-width: 580px; margin: 0; color: var(--gv-muted); font-size: 12px; line-height: 1.6; }
.rental-calendar-toolbar { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 10px 0 14px; }
.rental-calendar-toolbar h3 { min-width: 180px; margin: 0; text-align: center; font: 800 17px "Manrope", sans-serif; }
.rental-calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; color: var(--gv-muted); font-size: 11px; }
.rental-calendar-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.rental-legend-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5eee8; }
.rental-legend-vacant { border: 1px solid #cbd8ce; background: #fff; }
.rental-legend-pending { background: #f4dfb8; }
.rental-legend-occupied { background: #245746; }
.rental-calendar-weekdays, .rental-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rental-calendar-weekdays { margin-bottom: 6px; color: #738178; text-align: center; font-size: 10px; font-weight: 800; }
.rental-calendar-day { display: flex; min-width: 0; min-height: 78px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; overflow: hidden; border: 1px solid #e1e7e0; border-radius: 10px; background: #fff; color: var(--gv-ink); text-align: left; }
.rental-day-clickable { cursor: pointer; }
.rental-day-clickable:hover, .rental-day-clickable:focus-visible { border-color: #245746; outline: 0; box-shadow: 0 0 0 2px rgba(36,87,70,.12); }
.rental-day-outside { background: #f6f7f3; color: #9aa59d; }
.rental-day-pending { border-color: #e7c989; background: #fff8e9; }
.rental-day-occupied { border-color: #b9d5c8; background: #e9f2ed; }
.rental-day-number { font-size: 12px; font-weight: 800; }
.rental-day-state, .rental-day-time, .rental-day-action { max-width: 100%; overflow: hidden; color: #5e6e64; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.rental-day-pending .rental-day-state { color: #8a5b19; font-weight: 700; }
.rental-day-occupied .rental-day-state { color: #245746; font-weight: 700; }
.rental-day-action { color: #245746; font-weight: 700; }
.rental-calendar-loading { opacity: .55; pointer-events: none; }
.rental-calendar-note { margin: 12px 0 0; color: var(--gv-muted); font-size: 11px; line-height: 1.6; }
.rental-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.rental-hourly-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: min(58vh, 580px); overflow: auto; padding: 2px; }
.rental-hour-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid #dfe6df; border-radius: 10px; background: #fff; }
.rental-hour-row > strong { min-width: 0; font-size: 11px; }
.rental-hour-busy { border-color: #b9d5c8; background: #e9f2ed; }
.rental-hour-pending { border-color: #e7c989; background: #fff8e9; }
.rental-hour-state { color: #245746; font-size: 10px; font-weight: 700; }
.rental-hour-pending .rental-hour-state { color: #8a5b19; }
.rental-hour-row .btn { flex: 0 0 auto; }
.rental-request-dialog { padding: 28px; }
.rental-request-dialog .soa-dialog-close { top: 16px; right: 16px; }
.rental-request-dialog > .section-kicker, .rental-request-dialog > h2, .rental-request-dialog > .dialog-copy { padding-right: 42px; }
.rental-request-quote, .rental-request-terms { display: grid; gap: 5px; margin-top: 14px; padding: 14px; border: 1px solid #dce5dd; border-radius: 12px; background: #f6f8f4; }
.rental-request-quote span, .rental-request-terms strong { color: #5e6e64; font-size: 11px; font-weight: 700; }
.rental-request-quote strong { color: #245746; font: 800 21px "Manrope", sans-serif; }
.rental-request-quote small, .rental-request-terms p { margin: 0; color: var(--gv-muted); font-size: 10px; line-height: 1.5; }
.rental-request-terms { margin-bottom: 16px; background: #fff; }
.reply-list { display: grid; gap: 8px; margin-bottom: 16px; }
.reply-list p { display: grid; gap: 4px; margin: 0; padding: 12px 14px; border: 1px solid #e8ede6; border-radius: 10px; }
.reply-list strong { color: var(--gv-forest); font-size: 10px; }
.reply-list span { overflow-wrap: anywhere; }
.reply-list small { color: #8b9690; font-size: 8px; }
.portal-drawer { width: min(340px, 92vw) !important; border: 0; background: #fffefa; }
.portal-drawer .offcanvas-header { padding: 18px; border-bottom: 1px solid #e9eee7; }
.portal-drawer .offcanvas-body { padding: 18px; }
.portal-mobile-menu, .portal-mobile-logout { flex: 0 0 auto; }
.portal-mobile-menu { width: 42px; height: 42px; }
.portal-mobile-logout { width: 40px; height: 40px; }
.portal-frame .chat-card { width: 100%; }
.portal-frame .chat-messages { height: min(55vh, 500px); min-height: 260px; }
.portal-frame .chat-compose { padding: 16px; }
.portal-frame .chat-message { width: min(86%, 560px); }
.portal-frame .chat-message-own { margin-left: auto; }
.portal-frame .chat-sender { font-size: 10px; }
.portal-frame .chat-message p { font-size: 12px; }
.portal-frame .chat-demo-note { font-size: 9px; }
.portal-frame .portal-chat-card { max-width: 900px; margin-inline: auto; }
.portal-frame .portal-chat-card .chat-message { padding: 11px 13px; }
.portal-frame .chat-empty { padding: 24px 8px; color: #87938b; font-size: 11px; text-align: center; }
.portal-frame .portal-chat-card .chat-messages { display: flex; flex-direction: column; gap: 10px; }
.admin-rail { width: 270px; min-width: 270px; }
.admin-frame .portal-main { max-width: 1600px; }
.admin-frame .portal-table { min-width: 780px; }
.portal-page .showcase-caption { margin: 9px 0 0; }
.import-card > p { max-width: 860px; }
.import-ledger-action { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.import-ledger-action .form-text { max-width: 420px; }
.invoice-evidence-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.invoice-evidence-links a, .invoice-proof-link { color: var(--gv-forest); font-size: 9px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.invoice-proof-link { display: inline-block; margin: 3px 6px 0 0; }
.invoice-print-header { display: none; }

@media (max-width: 1199.98px) {
  .portal-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr); }
}

@media (max-width: 991.98px) {
  .portal-toolbar { min-height: 74px; padding: 12px 20px; }
  .portal-main { padding: 20px; }
  .portal-content-grid, .admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-address-fields-grid, .registration-address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .portal-frame { display: block; }
  .portal-toolbar { position: sticky; z-index: 10; top: 0; gap: 10px; min-height: 68px; padding: 10px 16px; }
  .portal-toolbar-title .section-kicker { font-size: 8px; }
  .portal-toolbar-title h1 { font-size: 16px; }
  .portal-user-pill { gap: 7px; padding: 4px; border: 0; background: transparent; }
  .portal-user-pill .portal-user-avatar { width: 32px; height: 32px; }
  .portal-user-pill span:nth-child(2) { display: none; }
  .portal-main { padding: 16px 16px 28px; }
  .portal-page { gap: 12px; }
  .portal-page-heading { display: block; }
  .portal-page-heading h2 { font-size: 23px; }
  .portal-page-heading > .btn { margin-top: 12px; }
  .portal-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .portal-metric-card { min-height: 136px; padding: 16px; }
  .portal-metric-card > strong { font-size: 19px; }
  .portal-content-grid, .admin-form-grid, .portal-form-grid { grid-template-columns: minmax(0, 1fr); }
  .portal-card, .registration-admin-card { padding: 16px; }
  .portal-card-heading { gap: 10px; }
  .invoice-row { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px; }
  .invoice-row-amount { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-items: start; gap: 8px; }
  .invoice-row-amount strong { margin-right: auto; }
  .soa-member-card { padding: 18px; }
  .soa-generation-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .billing-ledger-heading-actions { justify-content: flex-start; }
  .billing-ledger-filters { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .billing-filter-actions { justify-content: stretch; }
  .billing-filter-actions .btn { flex: 1 1 140px; }
  .event-admin-list-card { padding: 16px; }
  .portal-event-card { flex-wrap: wrap; align-items: flex-start; }
  .portal-event-card .event-poster-thumb-link { order: 0; width: 76px; height: 96px; }
  .portal-event-card .event-date { order: 1; width: 44px; height: 50px; }
  .portal-event-card .event-row-actions { order: 2; margin-left: auto; flex-wrap: wrap; }
  .portal-event-card .event-info { order: 3; flex: 1 1 100%; }
  .event-detail-actions { justify-content: flex-start; margin-top: 12px; }
  .event-detail-actions .btn { flex: 1 1 140px; }
  .event-detail-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .event-detail-poster-panel { min-height: 220px; padding: 10px; }
  .event-detail-poster { max-height: 55vh; }
  .event-dialog-content { padding: 22px 18px; }
  .event-poster-preview-image { width: 88px; height: 112px; }
  .event-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .event-dialog-actions .btn { width: 100%; }
  .registration-admin-heading { align-items: flex-start; flex-wrap: wrap; }
  .registration-review-actions { justify-content: flex-start; flex-wrap: wrap; }
  .registration-review-actions .btn { flex: 1 1 130px; }
  .household-account-row { flex-wrap: wrap; }
  .portal-frame .chat-messages { height: 46vh; min-height: 230px; padding: 12px; }
  .portal-frame .chat-message { width: min(94%, 500px); }
  .portal-frame .chat-compose { padding: 12px; }
  .portal-frame .chat-tool-button { flex: 1 1 125px; }
  .portal-frame .chat-composer-form { gap: 8px; }
  .portal-frame .chat-composer-form textarea.form-control { min-height: 44px; }
  .portal-frame .chat-demo-note { font-size: 8px; }
  .portal-table { min-width: 680px; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .billing-ledger-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* The member conversation fills the area below the portal toolbar. */
.portal-content-chat { display: flex; flex-direction: column; min-height: 100vh; height: 100vh; height: 100dvh; overflow: hidden; }
.portal-content-chat .portal-toolbar { flex: 0 0 auto; }
.portal-main-chat { width: 100%; max-width: none; flex: 1 1 0; min-height: 0; display: flex; margin: 0; padding: 16px 24px 20px; overflow: hidden; }
.portal-main-chat > ng-include { min-width: 0; min-height: 0; display: flex; flex: 1 1 0; }
.portal-main-chat .portal-page.chat-page { width: 100%; max-width: none; min-width: 0; min-height: 0; display: flex; flex: 1 1 0; flex-direction: column; gap: 0; }
.portal-main-chat .portal-chat-card { width: 100%; max-width: none; min-height: 0; display: flex; flex: 1 1 0; flex-direction: column; margin: 0; }
.portal-main-chat .chat-card-header { min-height: 58px; flex: 0 0 auto; gap: 12px; padding: 14px 20px; }
.portal-main-chat .chat-messages { height: auto; max-height: none; min-height: 0; flex: 1 1 0; padding: 20px 24px; }
.portal-main-chat .chat-message:first-child { margin-top: auto; }
.portal-main-chat .chat-attachment-tray { max-height: 150px; flex: 0 1 auto; overflow-y: auto; padding: 12px 20px 0; }
.portal-main-chat .chat-compose { flex: 0 0 auto; gap: 10px; padding: 16px 20px; }
.portal-main-chat .chat-compose-tools { gap: 8px; }
.portal-main-chat .chat-empty { margin: auto; padding: 24px; text-align: center; }
.bulletin-wall { width: 100%; max-width: 1200px; min-width: 0; margin-inline: auto; }
.bulletin-share-trigger { width: 100%; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--gv-line); border-radius: 15px; color: var(--gv-ink); background: var(--gv-paper); text-align: left; cursor: pointer; }
.bulletin-share-trigger:hover, .bulletin-share-trigger:focus-visible { border-color: #a9c3ac; background: #fbfdf9; }
.bulletin-share-placeholder { min-width: 0; flex: 1 1 auto; color: #75837b; font-size: 13px; overflow-wrap: anywhere; }
.bulletin-share-trigger > .btn { flex: 0 0 auto; }
.bulletin-wall .member-feed-list { margin-top: 12px; }
.social-post-card { min-width: 0; padding: 18px; }
.feed-author-copy { min-width: 0; }
.feed-author-copy small { overflow-wrap: anywhere; }
.social-post-card h3 { margin: 15px 0 6px; overflow-wrap: anywhere; }
.social-post-card .social-post-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.social-post-actions { justify-content: space-between; gap: 8px 16px; }
.feed-like-button { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid transparent; border-radius: 9px; color: #64736b; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.feed-like-button:hover, .feed-like-button:focus-visible { border-color: #dfe8df; background: #f4f7f3; }
.feed-like-button.is-liked { color: #a94f5e; }
.feed-like-button:disabled { cursor: wait; opacity: .65; }
.feed-like-button .like-count { color: #87938b; font-weight: 500; }
.feed-discuss-link { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; color: var(--gv-forest); font-size: 10px; font-weight: 700; text-decoration: none; }
.feed-discuss-link:hover, .feed-discuss-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.post-image-gallery { width: 100%; max-width: none; min-width: 0; display: grid; gap: 8px; margin-top: 12px; overflow: hidden; border-radius: 12px; background: #edf2ec; }
.post-image-gallery.gallery-one { display: block; width: fit-content; max-width: 100%; }
.post-image-gallery.gallery-two { grid-template-columns: repeat(2, minmax(0, 1fr)); aspect-ratio: 2 / 1; }
.post-image-gallery.gallery-three { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1.5 / 1; }
.post-image-gallery.gallery-three .post-image-tile:first-child { grid-row: 1 / span 2; }
.post-image-gallery.gallery-many { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1.6 / 1; }
.post-image-tile { position: relative; min-width: 0; min-height: 0; display: block; overflow: hidden; padding: 0; border: 0; background: #edf2ec; cursor: zoom-in; }
.post-image-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.post-image-tile:hover img { transform: scale(1.025); }
.post-image-gallery.gallery-one .post-image-tile { width: fit-content; max-width: 100%; height: auto; border: 1px solid #e5ebe3; border-radius: 11px; }
.post-image-gallery.gallery-one .post-image-tile img { width: auto; height: auto; max-width: 100%; max-height: min(60vh, 600px); object-fit: contain; }
.post-image-overflow { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(17, 29, 22, .58); font-family: "Manrope", sans-serif; font-size: clamp(25px, 5vw, 42px); font-weight: 800; }
.showcase-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: clamp(20px, 4vw, 38px); }
.showcase-photo-color-0 { background: linear-gradient(145deg, #668b6e, #c7d6ad 54%, #dfc696); }
.showcase-photo-color-1 { background: linear-gradient(160deg, #516f88, #c1d8d5 55%, #d9bb8f); }
.showcase-photo-color-2 { background: linear-gradient(135deg, #906d59, #d4b493 52%, #6c8667); }
.showcase-photo-color-3 { background: linear-gradient(155deg, #60775d, #bdc9a9 50%, #a47a5d); }
.showcase-photo-viewer-placeholder { min-width: 0; height: min(76vh, 780px); min-height: 220px; border-radius: 12px; }
.ngdialog.gv3-photo-viewer-dialog .ngdialog-content { width: min(calc(100vw - 32px), 1280px); max-width: 1280px; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; }
.photo-viewer-dialog { min-width: 0; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: #fff; background: #14221b; box-shadow: 0 24px 70px rgba(8, 18, 12, .38); }
.photo-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-viewer-caption { min-width: 0; }
.photo-viewer-caption .section-kicker { color: #b6d1c2; }
.photo-viewer-caption h2 { margin: 3px 0; color: #fff; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.photo-viewer-caption small, .photo-viewer-footer { color: #bdc9c1; font-size: 11px; }
.photo-viewer-close { flex: 0 0 auto; color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.photo-viewer-stage { min-width: 0; min-height: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 12px; }
.photo-viewer-stage figure { min-width: 0; min-height: 0; display: grid; justify-items: center; gap: 8px; margin: 0; }
.photo-viewer-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(76vh, 780px); object-fit: contain; }
.photo-viewer-stage figcaption { max-width: 100%; color: #d2dbd4; font-size: 10px; overflow-wrap: anywhere; text-align: center; }
.photo-viewer-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: #fff; background: rgba(255,255,255,.09); font-size: 16px; }
.photo-viewer-arrow:hover:not(:disabled), .photo-viewer-arrow:focus-visible { background: rgba(255,255,255,.18); }
.photo-viewer-arrow:disabled { opacity: .35; }
.photo-viewer-footer { display: flex; justify-content: space-between; gap: 10px; }
.ngdialog.gv3-bulletin-dialog .ngdialog-content { width: min(calc(100vw - 40px), 680px); max-width: 680px; max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 18px; background: transparent; }
.bulletin-post-dialog { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--gv-line); border-radius: 18px; color: var(--gv-ink); background: var(--gv-paper); box-shadow: 0 20px 60px rgba(25, 48, 35, .18); }
.bulletin-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bulletin-dialog-header h2 { margin: 4px 0 0; font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; }
.bulletin-dialog-fields { display: grid; gap: 14px; }
.bulletin-dialog-fields .form-control { min-width: 0; }
.optional-label { margin-left: 5px; color: #8a958e; font-size: 10px; font-weight: 500; }
.bulletin-photo-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bulletin-photo-picker .form-text { min-width: 0; }
.bulletin-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.bulletin-preview-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 5px 8px; margin: 0; padding: 7px; border: 1px solid #e2e9e1; border-radius: 11px; background: #f9fbf8; }
.bulletin-preview-card img { width: 100%; aspect-ratio: 1; grid-column: 1 / -1; border-radius: 7px; object-fit: cover; background: #edf2ec; }
.bulletin-preview-card figcaption { min-width: 0; color: #596a60; font-size: 9px; overflow-wrap: anywhere; }
.bulletin-preview-card .btn { width: 34px; height: 34px; }
.bulletin-dialog-error { margin: 0; }
.bulletin-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.chat-camera-overlay { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(23, 39, 31, .72); }
.chat-camera-dialog { width: min(100%, 760px); max-height: min(94vh, 900px); display: flex; flex-direction: column; gap: 14px; overflow: auto; padding: 20px; border: 1px solid var(--gv-line); border-radius: 18px; background: var(--gv-paper); box-shadow: 0 24px 70px rgba(13, 30, 20, .28); }
.chat-camera-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat-camera-heading h2 { margin: 3px 0 0; font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 800; }
.chat-camera-preview { width: 100%; height: min(58vh, 600px); min-height: 220px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #17241d; }
.chat-camera-preview video { display: block; width: 100%; height: 100%; object-fit: contain; }
.chat-camera-status, .chat-camera-error { margin: 0; padding: 12px 14px; border-radius: 10px; color: #506258; background: #f2f5f1; font-size: 13px; line-height: 1.5; }
.chat-camera-error { color: #854b3d; background: #fbf0ec; }
.chat-camera-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chat-camera-note { margin: 0; color: #7d8981; font-size: 11px; line-height: 1.5; }

/* Open Forum patterns: list, focused thread route, and one-level comment replies. */
.forum-page-heading { align-items: flex-end; }
.forum-thread-card { min-width: 0; display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--gv-line); border-radius: 15px; color: var(--gv-ink); background: var(--gv-paper); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.forum-thread-card:hover, .forum-thread-card:focus-visible { border-color: #b8cdbb; color: var(--gv-ink); box-shadow: 0 8px 22px rgba(32, 57, 43, .07); transform: translateY(-1px); }
.forum-thread-card .forum-icon { width: 42px; height: 42px; }
.forum-thread-card .forum-row-main { min-width: 0; flex: 1 1 auto; display: grid; gap: 7px; }
.forum-thread-meta { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; color: #75837b; font-size: 11px; }
.forum-author-avatar { width: 20px; height: 20px; flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--gv-sage); color: var(--gv-forest); font-size: 8px; font-weight: 800; vertical-align: middle; }
.forum-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.forum-thread-meta time, .forum-thread-detail-meta time { color: #839087; }
.forum-source-pill { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; color: #526b58; background: #edf4eb; font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }
.forum-thread-title { display: block; color: #26372f; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.forum-thread-preview { display: block; color: #66766d; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.forum-thread-counts { min-width: 0; display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 2px; color: #7d8a82; font-size: 10px; }
.forum-thread-counts span { display: inline-flex; align-items: center; gap: 5px; }
.forum-thread-card > .forum-chevron { align-self: center; margin-left: auto; font-size: 15px; }
.forum-thread-toolbar { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.forum-back-link { min-height: 40px; padding-inline: 0; }
.forum-thread-detail { display: grid; gap: 14px; padding: 24px; }
.forum-thread-detail-meta { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; color: #718078; font-size: 11px; }
.forum-thread-detail h2 { margin: 0; color: #26372f; font-family: "Manrope", sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.forum-thread-body { margin: 0; color: #53645a; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.forum-origin-link { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 7px; color: var(--gv-forest); font-size: 12px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.forum-origin-link:hover, .forum-origin-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.thread-image-gallery { margin-top: 0; }
.forum-discussion-section { min-width: 0; display: grid; gap: 14px; }
.forum-discussion-heading { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 2px; }
.forum-discussion-heading h3, .forum-discussion-heading h4 { margin: 4px 0 0; color: #2e4036; font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 800; overflow-wrap: anywhere; }
.forum-discussion-heading h4 { font-size: 15px; }
.forum-discussion-total { flex: 0 0 auto; color: #76847c; font-size: 11px; }
.forum-comment-composer { display: grid; gap: 10px; padding: 20px; }
.forum-comment-composer .form-control, .forum-reply-form .form-control { min-width: 0; min-height: 88px; }
.forum-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.forum-comment-list { min-width: 0; display: grid; gap: 12px; }
.forum-comment-card { min-width: 0; padding: 20px; }
.forum-comment-head { min-width: 0; display: flex; align-items: center; gap: 10px; }
.forum-comment-avatar { width: 36px; height: 36px; }
.forum-comment-head > div { min-width: 0; display: grid; gap: 3px; }
.forum-comment-head strong { color: #34483d; font-size: 12px; overflow-wrap: anywhere; }
.forum-comment-head time { color: #87938b; font-size: 10px; overflow-wrap: anywhere; }
.forum-comment-body { margin: 13px 0 10px; color: #53645a; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.forum-reply-trigger { min-height: 36px; padding: 6px 9px; color: var(--gv-forest); }
.forum-nested-replies { min-width: 0; display: grid; gap: 10px; margin: 14px 0 0 22px; padding-left: 16px; border-left: 2px solid #e4ece2; }
.forum-nested-reply { min-width: 0; padding: 14px; border: 1px solid #e7ede5; border-radius: 12px; background: #f8faf7; }
.forum-nested-reply .forum-comment-body { margin-bottom: 0; }
.forum-reply-form { display: grid; gap: 9px; margin-top: 12px; padding: 14px; border: 1px solid #e4ece2; border-radius: 12px; background: #f8faf7; }
.forum-no-comments { padding: 24px 20px; }
.forum-compose-dialog { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--gv-line); border-radius: 18px; color: var(--gv-ink); background: var(--gv-paper); box-shadow: 0 20px 60px rgba(25, 48, 35, .18); }
.forum-compose-dialog form { display: grid; gap: 15px; }
.forum-compose-dialog .form-control { min-width: 0; }
.forum-compose-dialog .form-control:not([type]) { min-height: 44px; }
.forum-compose-dialog textarea.form-control { min-height: 125px; }
.forum-photo-picker { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.forum-photo-picker .btn { min-height: 42px; display: inline-flex; align-items: center; gap: 3px; }
.forum-photo-picker .form-text { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.forum-image-preview-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 125px), 1fr)); }
.forum-image-preview-grid .showcase-photo-placeholder { width: 100%; aspect-ratio: 1; grid-column: 1 / -1; border-radius: 7px; }
.forum-compose-dialog .bulletin-dialog-actions { padding-top: 3px; }
.feed-pagination { min-width: 0; display: grid; justify-items: center; gap: 10px; margin-top: 4px; padding: 12px 8px 4px; color: #7a887f; text-align: center; }
.feed-scroll-sentinel { width: 100%; height: 1px; }
.feed-pagination-status { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #718078; font-size: 12px; }
.feed-pagination .btn { min-height: 42px; padding-inline: 16px; }
.feed-pagination-end, .showcase-feed-pagination p { margin: 0; color: #7a887f; font-size: 12px; line-height: 1.5; }
.showcase-feed-pagination { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid #edf0eb; }
.showcase-forum-flow { grid-column: 1 / -1; min-width: 0; display: grid; gap: 14px; padding: 20px; border: 1px solid var(--gv-line); border-radius: 15px; background: var(--gv-paper); }
.showcase-forum-heading { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.showcase-thread-sample { width: 100%; text-align: left; cursor: pointer; }
.showcase-forum-heading h3 { margin: 4px 0 0; color: #2e4036; font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 800; }
.showcase-forum-heading p { margin: 5px 0 0; color: #78867e; font-size: 11px; line-height: 1.5; }
.showcase-thread-detail { min-width: 0; display: grid; gap: 10px; padding: 15px; border: 1px solid #e8ede6; border-radius: 13px; background: #fbfcfa; }
.forum-showcase-gallery { width: 100%; max-width: 500px; min-width: 0; display: grid; gap: 7px; }
.forum-gallery-sample { margin: 0; }
.showcase-thread-detail .forum-comment-card { padding: 15px; box-shadow: none; }
.showcase-thread-detail .forum-comment-body { font-size: 11px; }
.showcase-thread-detail .forum-comment-head strong { font-size: 10px; }
.showcase-thread-detail .forum-comment-head time { font-size: 9px; }
.showcase-thread-detail .forum-nested-replies { margin-left: 16px; padding-left: 10px; }
.showcase-thread-detail .forum-nested-reply { padding: 11px; }
.showcase-thread-detail .forum-comment-composer { gap: 8px; padding: 14px; }
.showcase-thread-detail .forum-comment-composer .form-control { min-height: 62px; }
.ngdialog.gv3-forum-dialog .ngdialog-content { width: min(calc(100vw - 40px), 680px); max-width: 680px; max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 18px; background: transparent; }

@media (max-width: 767.98px) {
  .portal-content-chat { min-height: 100vh; height: 100vh; height: 100dvh; }
  .portal-main-chat { padding: 8px 10px 10px; }
  .portal-main-chat .chat-card-header { min-height: 52px; padding: 12px 14px; }
  .portal-main-chat .chat-messages { padding: 14px 12px; }
  .portal-main-chat .chat-attachment-tray { padding: 10px 12px 0; }
  .portal-main-chat .chat-compose { gap: 8px; padding: 12px; }
  .portal-main-chat .chat-compose-tools { width: 100%; }
  .portal-main-chat .chat-demo-note { font-size: 8px; }
}

@media (max-width: 767.98px) {
  .chat-camera-overlay { padding: 10px; }
  .chat-camera-dialog { width: 100%; max-height: 96vh; gap: 12px; padding: 16px; border-radius: 14px; }
  .chat-camera-preview { height: min(52vh, 460px); min-height: 180px; }
  .chat-camera-actions { justify-content: stretch; }
  .chat-camera-actions .btn { flex: 1 1 130px; }
  .bulletin-share-trigger { gap: 9px; padding: 12px; }
  .bulletin-share-trigger > .btn { padding-inline: 10px; }
  .social-post-card { padding: 16px; }
  .bulletin-wall { max-width: 100%; }
  .post-image-gallery { width: 100%; }
  .post-image-gallery.gallery-many { aspect-ratio: 1 / 1; }
  .post-image-gallery.gallery-one .post-image-tile img { max-height: min(42vh, 360px); }
  .ngdialog.gv3-photo-viewer-dialog .ngdialog-content { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .photo-viewer-dialog { max-height: calc(100dvh - 16px); gap: 10px; padding: 10px; border-radius: 12px; }
  .photo-viewer-stage { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 5px; }
  .photo-viewer-arrow { width: 36px; height: 36px; font-size: 14px; }
  .photo-viewer-stage img { max-height: min(70dvh, 680px); }
  .showcase-photo-viewer-placeholder { height: min(70dvh, 680px); }
  .ngdialog.gv3-bulletin-dialog .ngdialog-content { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .bulletin-post-dialog { gap: 14px; padding: 16px; border-radius: 14px; }
  .bulletin-dialog-header h2 { font-size: 20px; }
  .bulletin-dialog-actions .btn { flex: 1 1 130px; }
  .forum-thread-card { gap: 10px; padding: 16px; }
  .forum-thread-card .forum-icon { width: 36px; height: 36px; }
  .forum-thread-title { font-size: 15px; }
  .forum-thread-preview { font-size: 12px; }
  .forum-thread-card > .forum-chevron { margin-top: 8px; }
  .forum-thread-detail, .forum-comment-card { padding: 16px; }
  .forum-comment-composer { padding: 16px; }
  .forum-nested-replies { margin-left: 10px; padding-left: 10px; }
  .forum-nested-reply { padding: 12px; }
  .forum-compose-dialog { gap: 14px; padding: 16px; border-radius: 14px; }
  .ngdialog.gv3-forum-dialog .ngdialog-content { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .showcase-forum-flow { padding: 16px; }
  .showcase-soa-dialog-sample { align-items: stretch; flex-direction: column; }
  .showcase-soa-dialog-sample .btn { width: 100%; }
  .soa-member-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .soa-member-actions { align-items: stretch; flex-direction: column; }
  .soa-member-actions .btn { width: 100%; }
  .soa-dialog-content, .paid-invoice-dialog { padding: 22px 18px; }
  .soa-dialog-close { top: 12px; right: 12px; }
  .soa-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .soa-dialog-actions .btn { width: 100%; }
  .paid-invoice-meta { gap: 10px; padding: 12px; }
}

@media (max-width: 767.98px) {
  .portal-page-heading:has(.portal-inline-actions) { align-items: stretch; }
  .portal-page-heading:has(.portal-inline-actions) > .portal-inline-actions { width: 100%; }
  .portal-page-heading:has(.portal-inline-actions) > .portal-inline-actions .btn { flex: 1 1 180px; }
  .rental-calendar-dialog, .rental-hourly-dialog, .rental-request-dialog { padding: 20px 16px; }
  .rental-calendar-weekdays, .rental-calendar-grid { gap: 3px; }
  .rental-calendar-day { min-height: 62px; gap: 3px; padding: 5px 4px; border-radius: 8px; }
  .rental-day-number { font-size: 11px; }
  .rental-day-state, .rental-day-time, .rental-day-action { font-size: 7px; }
  .rental-calendar-legend { gap: 6px 10px; font-size: 9px; }
  .rental-hourly-list { grid-template-columns: 1fr; max-height: 55vh; }
  .rental-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .rental-dialog-actions .btn { width: 100%; }
}

@media print {
  body { background: #fff !important; }
  .portal-rail, .portal-toolbar, .portal-mobile-menu, .portal-mobile-logout,
  .portal-page-heading > .btn, .portal-inline-actions, form, .btn, .offcanvas,
  .portal-alert { display: none !important; }
  .portal-frame, .portal-content, .portal-main { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
  .portal-card, .portal-metric-card { break-inside: avoid; border: 1px solid #ccd4ce !important; box-shadow: none !important; }
  .invoice-print-header { display: grid; gap: 4px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #245746; color: #1f302c; font-size: 11px; }
  .invoice-print-header strong { font-family: "Manrope", sans-serif; font-size: 18px; }
  body.gv3-print-paid-invoice .portal-frame, body.gv3-print-paid-invoice .portal-alert { display: none !important; }
  body.gv3-print-paid-invoice .ngdialog-overlay { display: none !important; }
  body.gv3-print-paid-invoice .ngdialog.gv3-paid-invoice-dialog { position: absolute !important; inset: 0 !important; display: block !important; overflow: visible !important; background: transparent !important; }
  body.gv3-print-paid-invoice .ngdialog.gv3-paid-invoice-dialog .ngdialog-content { width: 100% !important; max-width: none !important; max-height: none !important; overflow: visible !important; box-shadow: none !important; }
  body.gv3-print-paid-invoice .soa-dialog-close, body.gv3-print-paid-invoice .paid-invoice-actions { display: none !important; }
  body.gv3-print-paid-invoice .paid-invoice-dialog { padding: 12mm !important; }

  body.gv3-print-billing .billing-statements-page .portal-page-heading,
  body.gv3-print-billing .billing-soa-generation,
  body.gv3-print-billing .billing-ledger-filters,
  body.gv3-print-billing .billing-ledger-heading-actions,
  body.gv3-print-billing .billing-action-column,
  body.gv3-print-billing .billing-filter-empty,
  body.gv3-print-billing .billing-filter-help { display: none !important; }
  body.gv3-print-billing .billing-print-heading { display: block; margin: 0 0 14px; padding: 0 0 10px; border-bottom: 2px solid #245746; color: #1f302c; }
  body.gv3-print-billing .billing-print-heading strong { font-family: "Manrope", sans-serif; font-size: 13pt; }
  body.gv3-print-billing .billing-print-heading h2 { margin: 7px 0 4px; font-size: 16pt; }
  body.gv3-print-billing .billing-print-heading p, body.gv3-print-billing .billing-print-heading small { margin: 0; color: #59665e; font-size: 9pt; }
  body.gv3-print-billing .billing-soa-ledger { break-inside: auto !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  body.gv3-print-billing .billing-soa-ledger .table-responsive { overflow: visible !important; }
  body.gv3-print-billing .billing-soa-table { width: 100% !important; min-width: 0 !important; font-size: 8pt !important; }
  body.gv3-print-billing .billing-soa-table thead { display: table-header-group; }
  body.gv3-print-billing .billing-soa-table tr { break-inside: avoid; }
  body.gv3-print-billing .billing-soa-table th, body.gv3-print-billing .billing-soa-table td { padding: 6px 5px !important; color: #26352d !important; }
}

/* Collector field collection */
.collector-filter-card { display: grid; gap: 16px; }
.collector-filter-grid { grid-template-columns: minmax(140px, .9fr) repeat(3, minmax(120px, 1fr)) minmax(145px, .9fr); }
.collector-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; }
.collector-filter-actions .form-text { margin: 0; }
.collector-desktop-list { display: block; }
.collector-mobile-list { display: none; }
.collector-table { min-width: 1180px; }
.admin-homes-table { min-width: 1020px; }
.home-address-fields-grid, .registration-address-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.registration-address-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.registration-address-fields legend { float: none; width: auto; margin-bottom: 8px; padding: 0; }
.collector-address-detail { display: block; color: var(--gv-muted); font-size: 10px; overflow-wrap: anywhere; }
.collector-table td small { color: var(--gv-muted); }
.collector-proof-state { display: block; margin-top: 4px; color: #8a6733; font-size: 10px; line-height: 1.45; }
.collector-soa-card { display: grid; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--gv-line); border-radius: 13px; background: var(--gv-paper); }
.collector-soa-card-head, .collector-soa-meta, .collector-soa-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.collector-soa-card-head h4 { margin: 3px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.collector-soa-period { margin: 0; color: var(--gv-muted); font-size: 11px; }
.collector-soa-lines { display: grid; gap: 5px; padding: 10px 12px; border: 1px solid var(--gv-line); border-radius: 10px; background: #fafbf8; }
.collector-soa-lines .soa-line-item, .collector-soa-lines .soa-line-total { gap: 8px; }
.collector-soa-meta { color: var(--gv-muted); font-size: 10px; flex-wrap: wrap; }
.collector-invoice-label { color: var(--gv-forest); font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.collector-back-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.collector-back-heading .section-kicker { margin-left: auto; }
.collector-payment-statement { display: grid; gap: 16px; padding: 24px; }
.collector-payment-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; }
.collector-payment-heading h2 { margin: 4px 0; overflow-wrap: anywhere; }
.collector-payment-heading p { margin: 0; color: var(--gv-muted); font-size: 12px; }
.collector-payment-items { margin: 0; }
.collector-payment-blocked { display: grid; gap: 10px; }
.collector-payment-blocked p { margin: 0; color: var(--gv-muted); line-height: 1.55; }
.collector-payment-form-card { padding: 24px; }
.collector-payment-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collector-evidence-section, .collector-optional-photo { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border: 1px solid var(--gv-line); border-radius: 13px; background: #fafbf8; }
.collector-evidence-section h3, .collector-optional-photo h3 { margin: 3px 0 4px; font-size: 16px; }
.collector-evidence-section p, .collector-optional-photo p { margin: 0; color: var(--gv-muted); font-size: 11px; line-height: 1.55; }
.collector-evidence-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.collector-image-preview { display: grid; gap: 8px; max-width: 440px; margin: 0; padding: 10px; border: 1px solid var(--gv-line); border-radius: 11px; background: #fff; }
.collector-image-preview img { display: block; width: 100%; max-height: 300px; border-radius: 8px; object-fit: contain; background: #f0f3ee; }
.collector-image-preview figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; color: var(--gv-muted); font-size: 10px; }
.collector-image-preview figcaption strong { min-width: 0; overflow-wrap: anywhere; }
.collector-photo-consent { margin: 2px 0 0; }
.collector-payment-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.collector-payment-success { padding: 14px 16px; border-radius: 11px; }
.collector-payment-success-card { display: grid; justify-items: center; gap: 10px; text-align: center; }
.collector-payment-success-card p { margin: 0; color: var(--gv-muted); }
.collector-invoice-number { color: var(--gv-forest); font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.admin-collector-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
.admin-collector-form-card, .admin-collector-rule-card, .admin-collector-list-card { padding: 22px; }
.admin-collector-password { grid-column: 1 / -1; }
.admin-collector-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.admin-collector-rule-card p { color: var(--gv-muted); font-size: 11px; line-height: 1.55; }
.admin-collector-rule-card p:last-child { margin-bottom: 0; }
.paid-invoice-collector-photo { display: grid; justify-items: center; gap: 8px; margin-top: 16px; text-align: center; }
.paid-invoice-collector-photo img { display: block; width: min(100%, 440px); max-height: 360px; border: 1px solid var(--gv-line); border-radius: 10px; background: #f2f5ef; object-fit: contain; }

@media (max-width: 767.98px) {
  .collector-filter-grid, .collector-payment-fields, .admin-collector-grid { grid-template-columns: minmax(0, 1fr); }
  .home-address-fields-grid, .registration-address-grid { grid-template-columns: minmax(0, 1fr); }
  .collector-filter-actions { align-items: stretch; flex-direction: column; }
  .collector-filter-actions .portal-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .collector-filter-actions .portal-inline-actions .btn { flex: 1 1 auto; }
  .collector-desktop-list { display: none; }
  .collector-mobile-list { display: grid; gap: 12px; }
  .collector-payment-statement, .collector-payment-form-card, .admin-collector-form-card, .admin-collector-rule-card, .admin-collector-list-card { padding: 16px; }
  .collector-evidence-section, .collector-optional-photo { padding: 16px; }
  .collector-evidence-controls .btn { flex: 1 1 130px; justify-content: center; }
  .collector-payment-actions { justify-content: stretch; }
  .collector-payment-actions .btn { flex: 1 1 130px; }
  .collector-back-heading .section-kicker { width: 100%; margin-left: 0; }
}
