:root {
  --ink: #173b37;
  --ink-2: #31534f;
  --green: #1f5b52;
  --green-dark: #102f2c;
  --mint: #dcece6;
  --mint-soft: #f0f6f3;
  --coral: #e77e66;
  --coral-soft: #fae7e2;
  --sand: #f6f2ea;
  --cream: #fbfaf6;
  --white: #fff;
  --line: #e4e9e5;
  --muted: #71817e;
  --danger: #c9584d;
  --amber: #c98839;
  --shadow: 0 16px 45px rgba(22, 54, 49, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
.is-hidden { display: none !important; }

.welcome {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f8f3e9;
  background: linear-gradient(125deg, #0c2b29 0%, #174a43 55%, #255e52 100%);
}
.welcome-grid {
  position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.welcome-nav { position: relative; z-index: 5; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; font: 800 24px "Manrope", sans-serif; letter-spacing: -.8px; }
.brand-light { color: white; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 7px); align-items: end; gap: 2px; width: 25px; height: 26px; }
.brand-mark i { display: block; border-radius: 6px 6px 2px 2px; background: var(--coral); }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 23px; }
.brand-mark i:nth-child(3) { height: 18px; }
.ghost-light { border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; border-radius: 999px; padding: 10px 22px; text-decoration:none; }
.welcome-copy { position: relative; z-index: 3; width: 52%; padding: 12vh 0 6vh 8vw; }
.eyebrow { color: #76948e; text-transform: uppercase; letter-spacing: 1.7px; font-size: 11px; font-weight: 800; }
.eyebrow.light { color: #a9c9bf; }
.welcome h1 { margin: 22px 0; font: 700 clamp(48px, 6.4vw, 92px)/.96 "Manrope", sans-serif; letter-spacing: -5px; }
.welcome h1 em { color: #ef947f; font-style: normal; }
.welcome-copy > p { max-width: 590px; color: #c8d9d4; font-size: 18px; line-height: 1.7; }
.welcome-actions { display: flex; gap: 12px; margin: 35px 0 55px; }
.button { border: 0; border-radius: 11px; padding: 13px 18px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.13); }
.button-coral { background: var(--coral); color: #fff; }
.button-coral span { margin-left: 12px; }
.button-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.32); }
.button-dark { background: var(--green-dark); color: #fff; }
.button-soft { background: var(--mint-soft); color: var(--green); }
.button.compact { padding: 11px 16px; }
.button.full { width: 100%; }
.trust-row { display: flex; gap: 45px; border-top: 1px solid rgba(255,255,255,.15); max-width: 600px; padding-top: 25px; }
.trust-row div { display: grid; }
.trust-row strong { color: #fff; font-size: 18px; }
.trust-row span { color: #9db9b1; font-size: 11px; margin-top: 3px; }
.welcome-glow { position: absolute; border-radius: 50%; filter: blur(1px); }
.glow-one { width: 500px; height: 500px; right: -100px; top: -100px; background: rgba(113, 178, 153, .13); }
.glow-two { width: 330px; height: 330px; left: 40%; bottom: -180px; background: rgba(231, 126, 102, .12); }
.welcome-visual { position: absolute; z-index: 2; right: 2vw; bottom: 4vh; width: 44vw; height: 75vh; }
.building { position: absolute; bottom: 40px; display: grid; padding: 35px; gap: 24px; background: linear-gradient(145deg, #dbe8df, #8caaa1); box-shadow: -30px 40px 80px rgba(0,0,0,.25); }
.building span { width: 46px; height: 48px; border-radius: 3px; background: #244c46; box-shadow: inset 0 0 0 4px rgba(255,255,255,.12); animation: windowLight 6s infinite alternate; }
.building span:nth-child(3n) { animation-delay: 1.2s; }
.building-main { right: 10%; width: 310px; height: 510px; grid-template-columns: repeat(3, 1fr); clip-path: polygon(8% 0, 100% 4%, 100% 100%, 0 100%); }
.building-back { right: 54%; width: 220px; height: 360px; grid-template-columns: repeat(2, 1fr); opacity: .66; }
.tree { position: absolute; bottom: 25px; width: 70px; height: 125px; border-radius: 60% 40% 50% 50%; background: #133d35; transform-origin: bottom; animation: sway 5s ease-in-out infinite; }
.tree::after { content: ""; position: absolute; width: 7px; height: 70px; background: #936c4d; bottom: -35px; left: 33px; }
.tree-one { right: 3%; }
.tree-two { right: 75%; width: 58px; height: 100px; animation-delay: -2s; }
.visual-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(8px); animation: float 5s ease-in-out infinite; }
.visual-card p { margin: 0; font-size: 11px; color: var(--muted); }
.visual-card strong { font-size: 13px; }
.vc-payment { top: 14%; left: 3%; display: grid; grid-template-columns: 34px 1fr; }
.vc-payment .mini-icon { grid-row: span 2; }
.vc-message { top: 38%; right: 0; animation-delay: -1s; }
.vc-status { bottom: 13%; left: 0; display: grid; grid-template-columns: 8px 1fr; }
.vc-status > span { width: 8px; height: 8px; border-radius: 50%; background: #4da77d; grid-row: span 2; }
.mini-icon { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: #4b9278; border-radius: 50%; }
.scroll-cue { position: absolute; z-index: 3; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; color: #96b5ac; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; }
.scroll-cue span { display: block; width: 15px; height: 24px; border: 1px solid #96b5ac; border-radius: 10px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
@keyframes windowLight { from { background:#244c46; } to { background:#d7b36b; } }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f7f8f5; }
.sidebar { position: sticky; z-index: 20; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 18px 18px; border-right: 1px solid var(--line); background: #fdfcf9; }
.sidebar-top { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 25px; }
.community-card { display: grid; grid-template-columns: 38px 1fr 20px; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.community-emblem { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: white; background: var(--green); font-size: 11px; font-weight: 800; }
.community-card div { display: grid; min-width: 0; }
.community-card small, .community-card span { color: var(--muted); font-size: 9px; }
.community-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.community-card button, .user-card button { border: 0; background: none; }
.main-nav { display: grid; gap: 4px; margin-top: 22px; overflow-y: auto; }
.nav-label { margin: 15px 12px 6px; color: #9aaba7; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; color: #61736f; background: transparent; text-align: left; font-size: 13px; font-weight: 600; }
.nav-item, .help-card, .quick-card, .row-action, .button { text-decoration: none; }
.nav-item:hover { background: #f1f5f2; color: var(--green); }
.nav-item.active { color: var(--green); background: #eaf2ee; }
.nav-item.active::before { content:""; position:absolute; left:-18px; width:3px; height:22px; border-radius:3px; background:var(--coral); }
.nav-icon { width: 22px; font-size: 17px; text-align: center; }
.nav-badge { margin-left: auto; padding: 2px 7px; border-radius: 10px; color: white; background: var(--coral); font-size: 9px; }
.sidebar-bottom { margin-top: auto; }
.help-card { display: grid; grid-template-columns: 30px 1fr 15px; gap: 9px; align-items: center; width: 100%; padding: 13px; border: 0; border-radius: 12px; color: white; background: var(--green-dark); text-align: left; }
.help-card .spark { display: grid; place-items: center; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); color: #ef9c87; }
.help-card strong, .help-card small { display: block; }
.help-card strong { font-size: 11px; }
.help-card small { color: #98b6af; font-size: 9px; margin-top: 2px; }
.user-card { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 9px; margin-top: 14px; padding: 12px 5px 0; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--coral); font-size: 11px; font-weight: 800; }
.avatar.small { width: 30px; height: 30px; }
.user-card div { display: grid; }
.user-card strong { font-size: 11px; }
.user-card span { color: var(--muted); font-size: 9px; }
.main { min-width: 0; }
.topbar { position: sticky; z-index: 10; top: 0; height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(253,252,249,.92); backdrop-filter: blur(12px); }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar p { margin: 0 0 5px; color: var(--muted); font-size: 10px; }
.topbar h2 { margin: 0; font: 700 19px "Manrope"; letter-spacing: -.4px; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.search-box { display: flex; align-items: center; gap: 8px; width: 220px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
kbd { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: #8a9996; background: #f8f8f5; font-size: 8px; }
.icon-button { position: relative; display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.notification-button span { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.menu-mobile, .close-mobile { display: none; }
.content { max-width: 1440px; margin: auto; padding: 30px 34px 50px; }
.page { animation: pageIn .35s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(5px); } }
.hero-panel { display: flex; align-items: center; justify-content: space-between; min-height: 215px; padding: 35px 48px; overflow: hidden; border-radius: 20px; color: white; background: var(--green-dark); box-shadow: var(--shadow); }
.hero-panel { background-image: radial-gradient(circle at 82% 20%, rgba(79,145,124,.25), transparent 28%), linear-gradient(120deg, #123531, #17483f); }
.hero-panel h3 { margin: 10px 0; font: 700 clamp(24px,3vw,36px)/1.12 "Manrope"; letter-spacing: -1.4px; }
.hero-panel p { margin: 0; color: #a8c0ba; font-size: 12px; }
.text-button, .link-button { padding: 0; border: 0; color: var(--coral); background: none; font-size: 11px; font-weight: 800; }
.hero-panel .text-button { margin-top: 24px; }
.hero-chart { position: relative; width: 150px; height: 150px; flex: 0 0 150px; }
.hero-chart svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-chart circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 7; }
.hero-chart circle.progress { stroke: var(--coral); stroke-linecap: round; stroke-dasharray: 301; stroke-dashoffset: 42; }
.hero-chart div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hero-chart strong { font: 800 32px "Manrope"; }
.hero-chart span { color: #9db7b0; font-size: 9px; text-transform: uppercase; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 30px 0 15px; }
.section-heading h3, .panel-head h3 { margin: 5px 0 0; font: 700 18px "Manrope"; letter-spacing: -.5px; }
.updated { color: var(--muted); font-size: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.metric-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 5px 18px rgba(22,54,49,.03); transition: transform .2s; }
.metric-card:hover { transform: translateY(-3px); }
.metric-top { display: flex; justify-content: space-between; align-items: center; }
.metric-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--green); background: var(--mint-soft); }
.metric-trend { padding: 3px 7px; border-radius: 9px; color: #428366; background: #eaf5ee; font-size: 9px; }
.metric-trend.down { color: var(--danger); background: var(--coral-soft); }
.metric-card strong { display: block; margin-top: 17px; font: 800 22px "Manrope"; }
.metric-card p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.metric-progress { height: 4px; margin-top: 14px; border-radius: 5px; background: #eef1ee; overflow: hidden; }
.metric-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 15px; margin-top: 15px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.panel-footer { width: 100%; padding: 14px 22px; border: 0; border-top: 1px solid var(--line); color: var(--green); background: #fcfcfa; text-align: left; font-size: 10px; font-weight: 800; }
.panel-footer span { float: right; }
.activity-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 22px; border-bottom: 1px solid #eff1ee; }
.activity-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--green); background: var(--mint-soft); }
.activity-icon.coral { color: var(--coral); background: var(--coral-soft); }
.activity-item p, .activity-item small { margin: 0; font-size: 10px; }
.activity-item p strong { font-size: 11px; }
.activity-item small { color: var(--muted); }
.activity-amount { color: var(--green); font-weight: 800; }
.agenda-list { padding: 7px 20px; }
.agenda-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eff1ee; }
.agenda-date { text-align: center; border-right: 1px solid var(--line); }
.agenda-date strong { display: block; color: var(--coral); font: 800 18px "Manrope"; }
.agenda-date span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.agenda-item p { margin: 0 0 4px; font-size: 11px; font-weight: 700; }
.agenda-item small { color: var(--muted); font-size: 9px; }
.agenda-panel .full { margin: 5px 20px 18px; width: calc(100% - 40px); }

.page-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.page-header h3 { margin: 5px 0 0; font: 800 27px "Manrope"; letter-spacing: -1px; }
.page-header p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; gap: 8px; }
.summary-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.summary-item { padding: 18px 22px; border-right: 1px solid var(--line); }
.summary-item:last-child { border: 0; }
.summary-item span { color: var(--muted); font-size: 10px; }
.summary-item strong { display: block; margin-top: 5px; font: 800 21px "Manrope"; }
.table-panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.table-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 5px; }
.tab { padding: 7px 11px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; }
.tab.active { color: var(--green); background: var(--mint-soft); }
.mini-search { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; outline: none; font-size: 10px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 11px 18px; color: #879793; background: #fafbf9; text-align: left; font-size: 9px; letter-spacing: .8px; text-transform: uppercase; }
.data-table td { padding: 14px 18px; border-top: 1px solid #eef1ee; font-size: 11px; }
.data-table tr:hover td { background: #fdfdfa; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 12px; font-size: 9px; font-weight: 800; }
.status::before { content:""; width:5px; height:5px; border-radius:50%; background: currentColor; }
.status.paid, .status.active { color: #3b8163; background: #eaf5ee; }
.status.pending { color: var(--amber); background: #fff4e5; }
.status.overdue, .status.closed { color: var(--danger); background: var(--coral-soft); }
.row-action { border: 0; background: none; color: var(--green); font-weight: 800; font-size: 10px; }
.empty-state { padding: 55px 20px; color: var(--muted); text-align: center; }

.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.feature-card-head { display:flex; justify-content:space-between; align-items:start; }
.feature-card h4 { margin: 15px 0 5px; font: 700 15px "Manrope"; }
.feature-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.feature-card-footer { display:flex; justify-content:space-between; align-items:center; margin-top:18px; padding-top:13px; border-top:1px solid var(--line); }
.vote-bar { height: 7px; margin: 16px 0 8px; overflow: hidden; border-radius: 6px; background: #eef1ee; }
.vote-bar i { display:block; height:100%; background:var(--coral); border-radius:inherit; }
.vote-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:9px; }
.calendar-layout, .messages-layout, .assistant-layout { display:grid; grid-template-columns: .8fr 1.5fr; gap:15px; }
.side-list, .detail-panel { border:1px solid var(--line); border-radius:var(--radius); background:white; overflow:hidden; }
.list-entry { display:grid; grid-template-columns:38px 1fr auto; gap:10px; align-items:center; padding:14px 16px; border:0; border-bottom:1px solid var(--line); background:white; width:100%; text-align:left; }
.list-entry:hover, .list-entry.active { background:var(--mint-soft); }
.list-entry strong { display:block; font-size:11px; }
.list-entry small { color:var(--muted); font-size:9px; }
.list-entry time { color:var(--muted); font-size:8px; }
.detail-content { padding:25px; }
.detail-content h3 { font:700 20px "Manrope"; }
.detail-content p { color:var(--ink-2); font-size:12px; line-height:1.7; }
.message-compose { display:flex; gap:8px; padding:15px; border-top:1px solid var(--line); }
.message-compose input { flex:1; padding:11px; border:1px solid var(--line); border-radius:10px; outline:none; }
.chat-window { min-height:390px; display:flex; flex-direction:column; }
.chat-messages { flex:1; padding:22px; background:#fbfcfa; }
.bubble { max-width:80%; margin-bottom:11px; padding:11px 13px; border-radius:12px 12px 12px 3px; background:white; border:1px solid var(--line); font-size:11px; line-height:1.5; }
.bubble.user { margin-left:auto; color:white; background:var(--green); border:0; border-radius:12px 12px 3px 12px; }
.assistant-intro { padding:30px; color:white; background:linear-gradient(135deg,var(--green-dark),var(--green)); }
.assistant-intro h3 { margin:8px 0; font:700 23px "Manrope"; }
.assistant-intro p { color:#b6cdc7; }
.suggested-questions { display:grid; gap:8px; padding:16px; }
.suggested-questions button { padding:12px; border:1px solid var(--line); border-radius:10px; color:var(--ink-2); background:white; text-align:left; font-size:10px; }
.suggested-questions button:hover { border-color:var(--green); }

.resident-hero { display:grid; grid-template-columns:1.35fr .65fr; gap:15px; }
.balance-card { padding:30px; border-radius:20px; color:white; background:linear-gradient(135deg,#123631,#20594f); }
.balance-card p { margin:0; color:#adc5bf; font-size:11px; }
.balance-card h3 { margin:8px 0; font:800 34px "Manrope"; }
.balance-card .due-date { display:block; margin-bottom:22px; color:#efaa99; font-size:10px; }
.alert-card { padding:25px; border:1px solid #f2d4cd; border-radius:20px; background:#fff6f3; }
.alert-card h4 { margin:12px 0 7px; font:700 16px "Manrope"; }
.alert-card p { color:#796c68; font-size:11px; line-height:1.55; }
.quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; margin-top:15px; }
.quick-card { padding:20px; border:1px solid var(--line); border-radius:15px; background:white; text-align:left; }
.quick-card span { display:grid; place-items:center; width:35px; height:35px; border-radius:10px; background:var(--mint-soft); }
.quick-card strong { display:block; margin:13px 0 3px; font-size:12px; }
.quick-card small { color:var(--muted); }

.modal-backdrop { position:fixed; z-index:50; inset:0; display:grid; place-items:center; padding:20px; background:rgba(11,35,32,.6); backdrop-filter:blur(4px); animation:fadeIn .2s; }
.modal { width:min(520px,100%); max-height:90vh; overflow:auto; border-radius:19px; background:white; box-shadow:0 30px 80px rgba(0,0,0,.25); }
.modal-head { display:flex; justify-content:space-between; align-items:start; padding:22px 24px; border-bottom:1px solid var(--line); }
.modal-head h3 { margin:3px 0 0; font:700 20px "Manrope"; }
.modal-head button { border:0; background:none; font-size:22px; }
.modal-body { padding:22px 24px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { display:grid; gap:6px; }
.field.full { grid-column:1/-1; }
.field label { font-size:10px; font-weight:800; }
.field input,.field select,.field textarea { width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:9px; outline:0; background:white; font-size:11px; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:#74a697; box-shadow:0 0 0 3px #e8f2ee; }
.modal-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:20px; }
.toast-region { position:fixed; z-index:100; right:20px; top:20px; display:grid; gap:8px; }
.toast { min-width:260px; padding:13px 16px; border-radius:11px; color:white; background:var(--green-dark); box-shadow:var(--shadow); animation:toastIn .3s; font-size:11px; }
@keyframes fadeIn { from { opacity:0; } }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } }

.auth-body { min-height:100vh; background:var(--green-dark); }
.auth-brand { position:fixed; z-index:3; top:0; left:0; padding:28px 5vw; }
.auth-brand .brand { color:white; font-size:20px; }
.auth-stage { min-height:100vh; display:grid; grid-template-columns:1.05fr .95fr; }
.auth-story { position:relative; display:flex; flex-direction:column; justify-content:center; overflow:hidden; padding:10vw; color:white; background:radial-gradient(circle at 65% 70%,rgba(231,126,102,.18),transparent 30%),linear-gradient(135deg,#0d302c,#1c584e); }
.auth-story h1 { position:relative; z-index:1; max-width:560px; margin:17px 0; font:800 clamp(42px,5vw,72px)/1 "Manrope"; letter-spacing:-4px; }
.auth-story p { position:relative; z-index:1; max-width:500px; color:#adc4be; font-size:16px; line-height:1.7; }
.auth-orbit { position:absolute; right:-90px; bottom:-90px; width:380px; height:380px; border:1px solid rgba(255,255,255,.12); border-radius:50%; }
.auth-orbit::before,.auth-orbit::after { content:""; position:absolute; inset:55px; border:1px solid rgba(255,255,255,.1); border-radius:50%; }
.auth-orbit::after { inset:115px; background:rgba(255,255,255,.04); }
.auth-orbit span { position:absolute; z-index:2; left:50%; top:50%; font-size:45px; transform:translate(-50%,-50%); }
.auth-orbit i { position:absolute; width:17px; height:17px; border-radius:50%; background:var(--coral); animation:float 4s infinite; }
.auth-orbit i:nth-of-type(1) { left:70px; top:70px; }
.auth-orbit i:nth-of-type(2) { right:40px; top:170px; animation-delay:-2s; }
.auth-card { display:flex; flex-direction:column; justify-content:center; padding:9vw; background:#fbfaf6; }
.auth-card > * { width:100%; max-width:440px; margin-left:auto; margin-right:auto; }
.auth-card h2 { margin:8px auto; font:800 30px "Manrope"; letter-spacing:-1.2px; }
.auth-lead { margin-top:0!important; margin-bottom:26px!important; color:var(--muted); font-size:12px; line-height:1.55; }
.stack-form { display:grid; gap:14px; }
.stack-form .button { margin-top:7px; }
.field small { color:var(--muted); font-size:9px; }
.security-note { margin-top:18px!important; color:var(--muted); font-size:9px; line-height:1.5; text-align:center; }
.back-link { display:block; margin-top:22px!important; color:var(--green); text-decoration:none; font-size:10px; font-weight:700; text-align:center; }
.inline-alert { margin-bottom:16px; padding:12px 15px; border-radius:10px; color:#376f58; background:#eaf5ee; font-size:11px; }
.inline-alert.error { color:#9f463e; background:var(--coral-soft); }
.platform-card { display:grid; grid-template-columns:38px 1fr; gap:10px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:12px; background:var(--green-dark); color:white; }
.platform-card div { display:grid; }
.platform-card small,.platform-card span { color:#9dbab2; font-size:9px; }
.platform-card strong { font-size:12px; }
.platform-hero .button { flex-shrink:0; }
.empty-icon { display:grid; place-items:center; width:52px; height:52px; margin:0 auto; border-radius:15px; color:var(--green); background:var(--mint-soft); font-size:23px; }
.empty-state h3 { margin:13px 0 5px; font:700 16px "Manrope"; }
.empty-state p { margin:0 0 18px; }
.narrow-page { max-width:900px; margin:0 auto; }
.form-panel { padding:25px; border:1px solid var(--line); border-radius:var(--radius); background:white; }
.compact-form { margin-bottom:18px; }
.form-section { display:flex; gap:13px; align-items:center; margin:5px 0 20px; padding-bottom:17px; border-bottom:1px solid var(--line); }
.form-section:not(:first-of-type) { margin-top:30px; }
.form-number { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:10px; color:var(--green); background:var(--mint-soft); font-weight:800; }
.form-section h4 { margin:0; font:700 14px "Manrope"; }
.form-section p { margin:3px 0 0; color:var(--muted); font-size:9px; }
.settings-row { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:17px 0; border-bottom:1px solid var(--line); }
.settings-row:last-child { border:0; }
.settings-row strong { font-size:12px; }
.settings-row p { margin:3px 0 0; color:var(--muted); font-size:10px; }
.inline-form { display:inline; }
.inline-form button { padding:0; }
.unit-chip { display:inline-block; margin:2px; padding:4px 8px; border-radius:9px; color:var(--green); background:var(--mint-soft); font-size:9px; }
.impersonation-bar { margin:-12px 0 18px; padding:10px 14px; border-radius:10px; color:#7a5724; background:#fff2da; font-size:10px; text-align:center; }
.impersonation-bar a { font-weight:800; }
.quick-card { display:block; }
.feature-card .status { white-space:nowrap; }
.marketing-sections { background:var(--cream); }
.marketing-section { max-width:1180px; margin:auto; padding:90px 30px; }
.marketing-section-head { max-width:650px; margin-bottom:35px; }
.marketing-section-head h2 { margin:10px 0; font:800 clamp(30px,4vw,48px)/1.08 "Manrope"; letter-spacing:-2px; }
.marketing-section-head p { color:var(--muted); line-height:1.7; }
.marketing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.marketing-card { min-height:180px; padding:26px; border:1px solid var(--line); border-radius:18px; background:white; }
.marketing-card h3 { margin:20px 0 7px; font:700 16px "Manrope"; }
.marketing-card p { margin:0; color:var(--muted); font-size:11px; line-height:1.65; }
.marketing-footer { display:flex; align-items:center; justify-content:space-between; padding:28px 5vw; color:#adc4be; background:var(--green-dark); }
.marketing-footer .brand { color:white; font-size:18px; }
.marketing-footer > div { display:flex; gap:22px; }
.marketing-footer a { text-decoration:none; font-size:10px; }
.welcome-nav-actions { display:flex; align-items:center; gap:22px; }
.welcome-nav-actions > a:not(.ghost-light) { color:#c1d4cf; text-decoration:none; font-size:11px; font-weight:700; }
.home-plans { max-width:1180px; margin:0 auto 90px; display:grid; grid-template-columns:1.3fr .8fr auto; gap:35px; align-items:center; padding:42px; border-radius:22px; color:white; background:radial-gradient(circle at 80% 10%,rgba(100,171,148,.25),transparent 30%),var(--green-dark); }
.home-plans h2 { margin:8px 0; font:800 31px "Manrope"; letter-spacing:-1.4px; }
.home-plans p { max-width:570px; margin:0; color:#abc2bc; font-size:11px; line-height:1.6; }
.home-plan-list { display:grid; gap:7px; }
.home-plan-list span { padding:8px 12px; border:1px solid rgba(255,255,255,.12); border-radius:9px; color:#cae0da; font-size:10px; }
.public-nav { position:sticky; z-index:20; top:0; display:flex; align-items:center; justify-content:space-between; min-height:76px; padding:0 5vw; border-bottom:1px solid var(--line); background:rgba(253,252,249,.92); backdrop-filter:blur(15px); }
.public-nav nav { display:flex; align-items:center; gap:23px; }
.public-nav nav > a { color:var(--ink-2); text-decoration:none; font-size:10px; font-weight:700; }
.public-nav nav .button { color:white; }
.public-hero { padding:95px 8vw; color:white; background:radial-gradient(circle at 80% 10%,rgba(100,171,148,.25),transparent 30%),linear-gradient(130deg,#0f302d,#1d584e); text-align:center; }
.public-hero h1 { margin:15px 0; font:800 clamp(38px,5vw,66px)/1.02 "Manrope"; letter-spacing:-3px; }
.public-hero p { max-width:730px; margin:auto; color:#adc5bf; font-size:14px; line-height:1.7; }
.plans-section { max-width:1180px; margin:auto; padding:80px 30px 100px; }
.plans-intro { max-width:620px; margin:0 auto 35px; text-align:center; }
.plans-intro h2 { margin:8px 0; font:800 36px "Manrope"; letter-spacing:-1.5px; }
.plans-intro p { color:var(--muted); }
.plans-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:17px; align-items:stretch; }
.plan-card { display:flex; flex-direction:column; padding:28px; border:1px solid var(--line); border-radius:19px; background:white; box-shadow:0 10px 30px rgba(20,52,47,.05); }
.plan-card.featured { position:relative; color:white; border-color:var(--green-dark); background:var(--green-dark); transform:translateY(-10px); box-shadow:0 20px 45px rgba(16,47,44,.2); }
.plan-tag { align-self:flex-start; padding:4px 8px; border-radius:8px; color:var(--green); background:var(--mint-soft); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.8px; }
.plan-card.featured .plan-tag { color:white; background:var(--coral); }
.plan-card h3 { margin:20px 0 8px; font:800 25px "Manrope"; }
.plan-card > p { min-height:50px; margin:0; color:var(--muted); font-size:10px; line-height:1.6; }
.plan-card.featured > p { color:#abc4bd; }
.plan-card ul { display:grid; gap:10px; margin:24px 0 28px; padding:0; list-style:none; flex:1; }
.plan-card li { position:relative; padding-left:20px; color:var(--ink-2); font-size:10px; }
.plan-card.featured li { color:#d3e1dd; }
.plan-card li::before { content:"✓"; position:absolute; left:0; color:var(--coral); font-weight:800; }
.plans-note { display:grid; grid-template-columns:40px 1fr auto; gap:15px; align-items:center; margin-top:25px; padding:22px; border:1px solid var(--line); border-radius:16px; background:var(--mint-soft); }
.plans-note > span { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; color:white; background:var(--green); }
.plans-note strong { font-size:12px; }
.plans-note p { margin:3px 0 0; color:var(--muted); font-size:9px; }
.quote-layout { min-height:calc(100vh - 76px); display:grid; grid-template-columns:.8fr 1.2fr; }
.quote-story { padding:9vw 7vw; color:white; background:radial-gradient(circle at 80% 80%,rgba(231,126,102,.2),transparent 25%),var(--green-dark); }
.quote-story h1 { margin:14px 0; font:800 clamp(40px,5vw,65px)/1 "Manrope"; letter-spacing:-3px; }
.quote-story > p { max-width:530px; color:#aec5bf; font-size:13px; line-height:1.7; }
.quote-contact { display:flex; gap:12px; align-items:center; margin:32px 0; padding:15px; border:1px solid rgba(255,255,255,.12); border-radius:13px; background:rgba(255,255,255,.04); }
.quote-contact > span { display:grid; place-items:center; width:35px; height:35px; border-radius:10px; color:#f0a18e; background:rgba(255,255,255,.08); }
.quote-contact small,.quote-contact strong { display:block; }
.quote-contact small { color:#9ab6af; font-size:8px; }
.quote-contact strong { margin-top:2px; font-size:11px; }
.quote-points { display:grid; gap:11px; color:#c8d9d5; font-size:10px; }
.quote-form-card { padding:75px 8vw; background:#fbfaf6; }
.quote-form-card > h2 { margin:8px 0 25px; font:800 29px "Manrope"; letter-spacing:-1px; }
.consent-field label { display:flex; align-items:flex-start; gap:8px; color:var(--muted); font-weight:500; line-height:1.5; }
.consent-field input { width:auto; margin-top:1px; }
.success-page { min-height:calc(100vh - 76px); display:grid; place-content:center; justify-items:center; padding:40px; text-align:center; }
.success-check { display:grid; place-items:center; width:65px; height:65px; margin-bottom:20px; border-radius:50%; color:white; background:var(--green); font-size:26px; box-shadow:0 0 0 12px var(--mint-soft); }
.success-page h1 { margin:9px 0; font:800 42px "Manrope"; letter-spacing:-2px; }
.success-page p { max-width:570px; color:var(--muted); line-height:1.6; }
.success-page > div:last-child { display:flex; gap:9px; margin-top:20px; }
.public-flash { max-width:1100px; margin:15px auto; }
.button-danger { color:white; background:var(--danger); }
.inquiry-layout { display:grid; grid-template-columns:1.15fr .85fr; gap:16px; align-items:start; }
.contact-header { display:flex; gap:12px; align-items:center; padding-bottom:18px; border-bottom:1px solid var(--line); }
.contact-header h4,.reply-panel h4 { margin:0; font:700 16px "Manrope"; }
.contact-header p { margin:3px 0 0; color:var(--muted); font-size:9px; }
.contact-data { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:20px 0; }
.contact-data div { padding:12px; border-radius:10px; background:#f7f8f5; }
.contact-data dt { color:var(--muted); font-size:8px; }
.contact-data dd { margin:4px 0 0; font-size:10px; font-weight:800; }
.inquiry-card h5 { margin:22px 0 7px; font-size:9px; text-transform:uppercase; letter-spacing:1px; }
.lead-message { color:var(--ink-2); font-size:11px; line-height:1.7; }
.sent-reply { margin-top:12px; padding:18px; border:1px solid var(--line); border-radius:14px; background:white; }
.sent-reply > div { display:flex; justify-content:space-between; gap:15px; }
.sent-reply span,.sent-reply small { color:var(--muted); font-size:8px; }
.sent-reply p { font-size:10px; line-height:1.6; }
.reply-panel { position:sticky; top:105px; display:grid; gap:13px; }
.form-help { color:var(--muted); font-size:8px; line-height:1.4; text-align:center; }
.inline-back { display:block; margin:0 0 10px!important; text-align:left; }
.management-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; }
.action-row { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.action-row strong { font-size:11px; }
.action-row p { margin:3px 0 0; color:var(--muted); font-size:9px; }
.management-form { display:flex; align-items:end; gap:9px; margin-top:12px; }
.management-form .field { flex:1; }
.support-response { max-width:760px; margin:18px auto 0; }
.support-response > h3 { font:700 18px "Manrope"; }
.support-response > p { color:var(--muted); font-size:11px; line-height:1.6; }
.support-message { margin:15px 0; padding:15px; border-radius:12px; background:var(--mint-soft); }
.support-message p { font-size:10px; }
.support-message small { color:var(--muted); font-size:8px; }
.check-line { display:flex; gap:7px; margin:12px 0; color:var(--muted); font-size:9px; }
.incident-summary { display:grid; grid-template-columns:repeat(3,1fr); margin-bottom:15px; border:1px solid var(--line); border-radius:14px; background:white; }
.incident-summary div { padding:16px 20px; border-right:1px solid var(--line); }
.incident-summary div:last-child { border:0; }
.incident-summary strong,.incident-summary span { display:block; }
.incident-summary strong { font:800 20px "Manrope"; }
.incident-summary span { color:var(--muted); font-size:9px; }
.incident-list { display:grid; gap:9px; }
.incident-card { position:relative; display:grid; grid-template-columns:42px 1fr auto; gap:13px; align-items:center; padding:17px 20px; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:white; text-decoration:none; transition:.2s; }
.incident-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--amber); }
.incident-card.priority-high::before,.incident-card.priority-urgent::before { background:var(--danger); }
.incident-card:hover { transform:translateX(4px); box-shadow:var(--shadow); }
.incident-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:11px; color:var(--coral); background:var(--coral-soft); font-weight:800; }
.incident-title-line { display:flex; gap:8px; align-items:center; }
.incident-title-line h4 { margin:0; font:700 12px "Manrope"; }
.incident-card p,.incident-card small { margin:3px 0 0; color:var(--muted); font-size:8px; }
.incident-card > div:last-child { display:grid; justify-items:end; gap:5px; }
.notice-chip { padding:3px 6px; border-radius:7px; color:#a35b28; background:#fff0dd; font-size:7px; font-weight:800; text-transform:uppercase; }
.incident-detail-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:15px; align-items:start; }
.incident-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:25px; }
.incident-meta span { padding:11px; border-radius:10px; background:#f7f8f5; }
.incident-meta small,.incident-meta strong { display:block; }
.incident-meta small { color:var(--muted); font-size:8px; }
.incident-meta strong { margin-top:3px; font-size:10px; }
.incident-photos { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:18px 0; }
.incident-photos img { width:100%; height:120px; object-fit:cover; border-radius:10px; }
.drawer-benefit { display:grid; grid-template-columns:30px 1fr; gap:11px; padding:15px; margin-top:18px; border:1px solid #cfe4da; border-radius:13px; background:var(--mint-soft); }
.drawer-benefit > span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:white; background:#4b9278; }
.drawer-benefit strong { font-size:9px; }
.drawer-benefit p { margin:3px 0 0; color:#51726b; font-size:9px; line-height:1.5; }
.polls-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.poll-card { padding:22px; border:1px solid var(--line); border-radius:16px; background:white; }
.poll-card > h3 { margin:15px 0 5px; font:700 15px "Manrope"; }
.poll-card > p { min-height:32px; margin:0 0 8px; color:var(--muted); font-size:10px; line-height:1.5; }
.poll-card > small { color:var(--muted); font-size:8px; }
.poll-options { display:grid; gap:7px; margin-top:17px; }
.poll-options label { cursor:pointer; }
.poll-options label input { position:absolute; opacity:0; }
.poll-options label span { display:block; padding:10px 12px; border:1px solid var(--line); border-radius:9px; font-size:9px; transition:.2s; }
.poll-options label input:checked + span { color:var(--green); border-color:var(--green); background:var(--mint-soft); }
.poll-results { display:grid; gap:10px; margin-top:18px; }
.poll-results > div > span { display:flex; justify-content:space-between; font-size:9px; }
.poll-results small { color:var(--muted); }
.poll-results i { display:block; height:5px; margin-top:4px; overflow:hidden; border-radius:5px; background:#edf0ed; }
.poll-results b { display:block; height:100%; border-radius:inherit; background:var(--coral); }
.pets-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.pet-card { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:white; }
.pet-photo { display:grid; place-items:center; height:160px; color:var(--green); background:var(--mint-soft); font-size:48px; }
.pet-photo img { width:100%; height:100%; object-fit:cover; }
.pet-card > div:last-child { padding:18px; }
.pet-card h3 { margin:4px 0; font:800 18px "Manrope"; }
.pet-card p,.pet-card small,.pet-card em { display:block; margin:3px 0; color:var(--muted); font-size:9px; font-style:normal; }
.pet-card em { margin-top:10px; color:var(--green); font-weight:700; }

@media (max-width: 1050px) {
  .welcome-copy { width:60%; padding-left:6vw; }
  .welcome-visual { right:-10vw; opacity:.75; }
  .metric-grid { grid-template-columns:repeat(2,1fr); }
  .cards-grid { grid-template-columns:repeat(2,1fr); }
  .auth-card { padding:7vw; }
  .plans-grid { grid-template-columns:1fr; max-width:650px; margin:auto; }
  .plan-card.featured { transform:none; }
  .pets-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 820px) {
  .welcome-copy { width:100%; padding:10vh 7vw 120px; }
  .welcome-visual { opacity:.22; right:-10%; width:80%; }
  .welcome h1 { letter-spacing:-3px; }
  .trust-row { flex-wrap:wrap; gap:25px; }
  .app-shell { display:block; }
  .sidebar { position:fixed; left:-270px; width:250px; transition:left .25s; box-shadow:var(--shadow); }
  .app-shell.menu-open .sidebar { left:0; }
  .menu-mobile,.close-mobile { display:grid; }
  .topbar { padding:0 18px; }
  .search-box { display:none; }
  .content { padding:22px 18px 40px; }
  .dashboard-grid,.calendar-layout,.messages-layout,.assistant-layout { grid-template-columns:1fr; }
  .quick-grid { grid-template-columns:repeat(2,1fr); }
  .resident-hero { grid-template-columns:1fr; }
  .auth-stage { grid-template-columns:1fr; }
  .auth-story { min-height:330px; padding:110px 8vw 55px; }
  .auth-story h1 { font-size:44px; letter-spacing:-2.5px; }
  .auth-orbit { opacity:.5; }
  .auth-card { padding:60px 8vw; }
  .marketing-grid { grid-template-columns:1fr 1fr; }
  .home-plans { margin:0 18px 60px; grid-template-columns:1fr; }
  .quote-layout { grid-template-columns:1fr; }
  .quote-story,.quote-form-card { padding:60px 8vw; }
  .inquiry-layout,.incident-detail-grid { grid-template-columns:1fr; }
  .reply-panel { position:static; }
  .management-grid { grid-template-columns:1fr; }
  .polls-grid { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .welcome-nav { height:70px; }
  .welcome-copy { padding-top:8vh; }
  .welcome h1 { font-size:49px; letter-spacing:-3px; }
  .welcome-copy > p { font-size:15px; }
  .welcome-actions { flex-direction:column; align-items:stretch; }
  .welcome-visual { display:none; }
  .trust-row { display:none; }
  .button.compact { font-size:0; }
  .button.compact span { font-size:18px; }
  .topbar h2 { font-size:16px; }
  .metric-grid,.cards-grid { grid-template-columns:1fr; }
  .hero-panel { padding:27px; }
  .hero-chart { width:110px; height:110px; flex-basis:110px; }
  .summary-strip { grid-template-columns:1fr; }
  .summary-item { border-right:0; border-bottom:1px solid var(--line); }
  .table-panel { overflow-x:auto; }
  .data-table { min-width:700px; }
  .page-header { align-items:start; gap:15px; }
  .form-grid { grid-template-columns:1fr; }
  .marketing-grid { grid-template-columns:1fr; }
  .marketing-footer { align-items:flex-start; flex-direction:column; gap:12px; }
  .marketing-footer > div { flex-direction:column; gap:8px; }
  .public-nav nav > a:not(.button) { display:none; }
  .public-hero { padding:70px 25px; }
  .plans-note { grid-template-columns:40px 1fr; }
  .plans-note .button { grid-column:1/-1; text-align:center; }
  .contact-data,.incident-meta { grid-template-columns:1fr; }
  .action-row,.management-form { align-items:stretch; flex-direction:column; }
  .incident-card { grid-template-columns:38px 1fr; }
  .incident-card > div:last-child { grid-column:2; justify-items:start; }
  .pets-grid { grid-template-columns:1fr; }
}
