:root {
  --brand-green: #73b946;
  --forest: #356b25;
  --forest-dark: #183911;
  --forest-soft: #edf7e8;
  --gold: #73b946;
  --cream: #f4f7f1;
  --paper: #ffffff;
  --ink: #293227;
  --muted: #667163;
  --line: #dce5d8;
  --red: #b94f49;
  --blue: #4f718c;
  --shadow: 0 18px 50px rgba(18, 48, 42, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1280px) / 2));
  color: white;
  background: rgba(15, 43, 39, .97);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 250px; }
.brand-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 43px; border-radius: 11px; background: white; box-shadow: 0 3px 14px rgba(0,0,0,.18); }
.brand-icon img { width: 31px; height: 34px; display: block; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 14px; letter-spacing: .01em; }
.brand-copy span { margin-top: 2px; color: #aec0bb; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.mode-switcher { display: flex; margin-left: auto; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.08); }
.mode-button { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border: 0; border-radius: 7px; color: #b9cac5; background: transparent; font-size: 12px; font-weight: 700; }
.mode-button:hover { color: white; }
.mode-button.active { color: var(--forest-dark); background: white; box-shadow: 0 3px 12px rgba(0,0,0,.14); }
.private-badge { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #c7d6d2; font-size: 11px; }
.private-badge i { width: 7px; height: 7px; border-radius: 50%; background: #76c89d; }

.page { max-width: 1280px; margin: 0 auto; padding: 32px 24px 54px; }
.page-label { color: #568f37; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(34px, 5vw, 62px); line-height: 1.01; letter-spacing: -.055em; }
h2 { margin-bottom: 7px; font-size: 25px; letter-spacing: -.03em; }
h3 { margin-bottom: 5px; font-size: 15px; }
p { color: var(--muted); line-height: 1.55; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 9px; font-weight: 800; text-decoration: none; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--forest); box-shadow: 0 8px 22px rgba(23,60,54,.17); }
.btn-gold { color: var(--forest-dark); background: var(--brand-green); }
.btn-outline { color: var(--forest); border: 1px solid #ccd3d0; background: white; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 11px; }
.btn-wide { width: 100%; }

.public-hero { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 470px; overflow: hidden; border-radius: 22px; background: var(--forest); box-shadow: var(--shadow); }
.public-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 68px); color: white; }
.public-copy .page-label { color: #bce39f; }
.public-copy h1 { max-width: 560px; margin-top: 13px; }
.public-copy p { max-width: 560px; color: #c9d6d2; font-size: 16px; }
.public-actions { display: flex; gap: 10px; margin-top: 13px; }
.availability-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #b8c9c4; font-size: 12px; }
.availability-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 5px rgba(115,185,70,.13); }
.visual-stack { position: relative; min-height: 470px; overflow: hidden; background: #d7d4cb; }
.photo-main { min-width: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; padding: 0; overflow: hidden; border: 0; color: white; background: #243a36; text-align: left; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(7, 28, 24, .78)); }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.hero-photo:hover img { transform: scale(1.025); }
.photo-caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-caption > span:first-child { font-size: 13px; font-weight: 800; }
.photo-count { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(8,34,30,.55); font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }

.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.feature { display: flex; gap: 10px; padding: 18px; background: var(--paper); }
.feature svg { flex-shrink: 0; color: #5b963a; }
.feature strong { display: block; font-size: 12px; }
.feature span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 44px 0 18px; }
.section-head p { margin-bottom: 0; font-size: 13px; }
.open-access-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #c8dabe; border-radius: 99px; color: var(--forest); background: var(--forest-soft); font-size: 10px; font-weight: 800; white-space: nowrap; }
.video-section { scroll-margin-top: 92px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.video-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 36px rgba(18,48,42,.07); }
.video-frame { min-width: 0; aspect-ratio: 16 / 9; background: #0a1b18; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0a1b18; }
.video-copy { display: flex; min-height: 230px; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 36px); }
.video-tag { margin-bottom: 12px; color: #568f37; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.video-copy h3 { margin-bottom: 9px; font-size: 22px; letter-spacing: -.025em; }
.video-copy p { margin-bottom: 20px; font-size: 12px; }
.unit-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.unit-listing { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 28px rgba(19,50,44,.04); }
.empty-listing { grid-column: 1 / -1; }
.empty-listing .unit-body { padding: 24px; }
.empty-listing .unit-body p { min-height: 0; }
.unit-visual { position: relative; width: 100%; height: 145px; display: block; padding: 0; overflow: hidden; border: 0; background: #cad5d1; text-align: left; }
.unit-visual::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9, 34, 29, .62)); }
.unit-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.unit-visual:hover img { transform: scale(1.035); }
.unit-visual span { position: absolute; z-index: 2; left: 12px; bottom: 11px; padding: 6px 8px; border-radius: 6px; color: white; background: rgba(18,52,45,.76); font-size: 10px; font-weight: 750; backdrop-filter: blur(6px); }
.unit-body { padding: 16px; }
.unit-body p { min-height: 48px; margin-bottom: 0; font-size: 12px; }
.unit-body .price { margin: 12px 0 3px; font-size: 20px; font-weight: 900; }
.unit-body .price small { color: var(--muted); font-size: 10px; font-weight: 500; }
.unit-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.unit-facts span { padding: 6px 8px; border-radius: 7px; color: var(--forest); background: var(--forest-soft); font-size: 10px; font-weight: 800; }
.unit-meta { display: flex; justify-content: space-between; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e7e7e1; color: var(--muted); font-size: 10px; }
.status-full { color: #a65a45; font-weight: 800; }

.photo-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, 190px); gap: 12px; }
.gallery-photo { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 14px; color: white; background: #cad5d1; text-align: left; }
.gallery-photo:first-child { grid-row: 1 / 3; }
.gallery-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.gallery-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(7,28,24,.7)); }
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-photo span { position: absolute; z-index: 2; left: 13px; bottom: 11px; font-size: 11px; font-weight: 800; }
.location-card { display: flex; align-items: center; gap: 13px; margin-top: 13px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.location-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--forest); }
.location-card span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.location-card strong { font-size: 13px; }

.campaign-page { padding-top: 44px; }
.campaign-head { max-width: 900px; padding: clamp(30px, 5vw, 56px); border-radius: 20px; color: white; background: linear-gradient(135deg, var(--forest), var(--forest-dark)); box-shadow: var(--shadow); }
.campaign-head h1 { margin: 12px 0 15px; font-size: clamp(34px, 5vw, 56px); }
.campaign-head > p { max-width: 760px; margin-bottom: 22px; color: #d5e1d1; font-size: 16px; }
.campaign-head .page-label { color: #bce39f; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px; color: white; font-size: 13px; font-weight: 800; text-decoration: none; }
.back-link svg { transform: rotate(180deg); }
.campaign-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.campaign-highlights span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 750; }
.campaign-listing-section .section-head { margin-top: 34px; }
.application-note { max-width: 780px; margin: 8px 0 0; color: #244d1a; border-color: #bdd5ad; background: #f1f8ed; }

.portal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.portal-title h1 { margin: 7px 0 8px; font-size: clamp(31px, 4vw, 46px); }
.portal-title p { margin-bottom: 0; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--forest); font-weight: 900; }
.user-chip strong { display: block; font-size: 11px; }
.user-chip span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.management-user-actions { display: flex; align-items: center; gap: 9px; }

.management-login-page { min-height: calc(100vh - 165px); display: grid; place-items: center; }
.management-login-card { width: min(460px, 100%); padding: clamp(28px, 5vw, 46px); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 22px 70px rgba(18,48,42,.12); }
.management-lock { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; color: white; background: var(--forest); box-shadow: 0 10px 28px rgba(53,107,37,.24); }
.management-login-card h1 { margin: 8px 0 10px; font-size: clamp(30px, 5vw, 42px); }
.management-login-card > p { margin-bottom: 24px; font-size: 15px; }
.management-login-form { display: grid; gap: 14px; }
.management-login-form .field label { font-size: 12px; }
.management-login-form .field input { height: 48px; font-size: 16px; }
.management-login-form .btn { min-height: 48px; }
.login-error { padding: 11px 12px; border: 1px solid #e4b8b4; border-radius: 9px; color: #8c342f; background: #fbefee; font-size: 13px; font-weight: 700; }
.login-security-note { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--muted); font-size: 12px; }
.management-login-form button:disabled { cursor: wait; opacity: .7; }

.secure-note { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; padding: 13px 15px; border: 1px solid #ccdad5; border-radius: 11px; color: #3b655c; background: #edf4f1; font-size: 11px; }
.secure-note strong { color: #204a41; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 15px; }
.stack { display: grid; gap: 15px; }
.card { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 8px 30px rgba(20,52,46,.04); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 19px 13px; }
.card-head h2 { margin: 0; font-size: 18px; }
.card-head span { color: var(--muted); font-size: 10px; }
.card-body { padding: 0 19px 19px; }
.balance-card { overflow: hidden; color: white; background: linear-gradient(135deg, #173c36, #245b50); }
.balance-card .card-head span, .balance-card p { color: #bcd0ca; }
.balance-card .card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.balance-amount { margin: 3px 0; font-size: 38px; font-weight: 900; letter-spacing: -.04em; }
.balance-title { margin: 3px 0; font-size: 28px; font-weight: 900; letter-spacing: -.035em; }
.balance-card .btn { color: var(--forest); background: white; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-action { min-height: 95px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; text-align: left; font-size: 11px; font-weight: 800; }
.quick-action:hover { border-color: #aabdb7; background: #f5f8f6; }
.quick-action svg { color: #5b963a; }
.request-list { display: grid; gap: 9px; }
.request-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e4e4de; border-radius: 10px; background: white; }
.request-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: var(--forest); background: var(--forest-soft); }
.request-row strong { display: block; font-size: 11px; }
.request-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.status { padding: 6px 8px; border-radius: 99px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.status-new { color: #7b4b14; background: #f7e4c8; }
.status-assigned { color: #345a78; background: #dfebf3; }
.status-in-progress { color: #305e50; background: #dbece6; }
.status-completed { color: #61706c; background: #e7ebe9; }
.notice-list { display: grid; gap: 2px; }
.notice { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid #e7e7e1; }
.notice:last-child { border-bottom: 0; }
.notice-date { width: 42px; flex-shrink: 0; text-align: center; color: #568f37; font-size: 9px; font-weight: 900; }
.notice-date strong { display: block; font-size: 18px; }
.notice h3 { margin-bottom: 3px; font-size: 11px; }
.notice p { margin: 0; font-size: 10px; }
.document-list { display: grid; gap: 8px; }
.document-row { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e4e4de; border-radius: 9px; background: white; }
.document-row svg { color: #5b963a; }
.document-row div { flex: 1; }
.document-row strong { display: block; font-size: 10px; }
.document-row small { color: var(--muted); font-size: 9px; }
.portal-help { margin: 0 0 14px; font-size: 11px; line-height: 1.65; }
.avail-service-body { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.avail-service-body strong { display: block; margin-bottom: 4px; font-size: 12px; }
.avail-service-body p { margin: 0; font-size: 10px; line-height: 1.55; }

.avail-management { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding: 18px; border: 1px solid #bcd6ae; border-radius: 15px; background: linear-gradient(135deg, #f0f8eb, #f8fbf5); box-shadow: 0 8px 30px rgba(51,97,32,.06); }
.avail-logo { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--brand-green); font-size: 23px; font-weight: 900; }
.avail-management-copy { flex: 1; }
.avail-management-copy span { color: #568f37; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.avail-management-copy h2 { margin: 3px 0 4px; font-size: 18px; }
.avail-management-copy p { margin: 0; font-size: 10px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 15px; }
.metric-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 7px 25px rgba(20,52,46,.035); }
.metric-card span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.metric-card strong { display: block; margin-top: 8px; font-size: 27px; letter-spacing: -.035em; }
.metric-card small { display: block; margin-top: 4px; color: #658177; font-size: 9px; }
.management-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 15px; }
.income-chart { display: flex; align-items: flex-end; gap: 10px; height: 185px; padding: 20px 5px 0; border-bottom: 1px solid #dfe0da; }
.bar-wrap { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; }
.bar { width: min(32px, 70%); min-height: 5px; border-radius: 6px 6px 2px 2px; background: linear-gradient(#8ccd65, #4f8f32); transition: height .3s ease; }
.bar-wrap span { color: var(--muted); font-size: 8px; }
.chart-summary { display: flex; justify-content: space-between; gap: 20px; margin-top: 17px; }
.chart-summary div { display: flex; flex-direction: column; }
.chart-summary span { color: var(--muted); font-size: 9px; }
.chart-summary strong { margin-top: 3px; font-size: 14px; }
.queue-table { width: 100%; border-collapse: collapse; }
.queue-table th { padding: 9px 8px; border-bottom: 1px solid #e3e3dc; color: var(--muted); font-size: 8px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.queue-table td { padding: 11px 8px; border-bottom: 1px solid #ecece7; font-size: 10px; vertical-align: middle; }
.queue-table tr:last-child td { border-bottom: 0; }
.queue-table strong { display: block; font-size: 10px; }
.queue-table small { color: var(--muted); font-size: 8px; }
.progress-block { padding: 7px 0 15px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 10px; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e5e6e0; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--forest); }
.activity-list { display: grid; gap: 12px; }
.activity { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.activity-dot { width: 9px; height: 9px; margin-top: 4px; border: 2px solid white; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 1px #c5ccc9; }
.activity strong { display: block; font-size: 10px; }
.activity small { color: var(--muted); font-size: 9px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(9,29,25,.7); backdrop-filter: blur(5px); }
.modal { width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 24px; border-radius: 17px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal:has(.photo-viewer) { width: min(940px, 100%); padding: 0; overflow: hidden; background: #0f2723; }
.photo-viewer { color: white; }
.photo-viewer > img { width: 100%; max-height: 68vh; display: block; object-fit: contain; background: #0a1b18; }
.viewer-head, .viewer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.viewer-head div { display: flex; flex-direction: column; gap: 2px; }
.viewer-head strong { font-size: 13px; }
.viewer-head span { color: #aebfba; font-size: 11px; }
.viewer-head .close-button { color: white; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); }
.viewer-actions { justify-content: flex-end; }
.viewer-actions .btn-outline { color: white; border-color: rgba(255,255,255,.25); background: transparent; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.modal-head h2 { margin: 0 0 4px; }
.modal-head p { margin: 0; font-size: 11px; }
.close-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #53635f; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d5d7d1; border-radius: 9px; outline: none; color: var(--ink); background: white; }
.field input, .field select { height: 42px; padding: 0 11px; }
.field textarea { min-height: 100px; padding: 11px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #75978f; box-shadow: 0 0 0 3px rgba(71,117,105,.1); }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 19px; }
.success-box { padding: 22px; border: 1px solid #bdd4cb; border-radius: 13px; text-align: center; background: #edf5f1; }
.success-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: white; background: var(--forest); }
.success-box h3 { font-size: 17px; }
.success-box p { margin-bottom: 0; font-size: 11px; }

.prototype-footer { max-width: 1280px; display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 22px 24px 34px; border-top: 1px solid #d8d9d2; color: var(--muted); font-size: 10px; }
.prototype-footer strong { color: var(--forest); }

@media (max-width: 1000px) {
  .topbar { flex-wrap: wrap; }
  .brand { min-width: 0; }
  .mode-switcher { order: 3; width: 100%; margin: 0; }
  .mode-button { flex: 1; justify-content: center; }
  .private-badge { margin-left: auto; }
  .public-hero, .dashboard-grid, .management-grid, .video-grid { grid-template-columns: 1fr; }
  .visual-stack { min-height: 320px; }
  .unit-list { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px 170px; }
  .gallery-photo:first-child { grid-column: 1 / 3; grid-row: auto; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .topbar { padding: 11px 15px; }
  .brand-copy span, .private-badge span { display: none; }
  .private-badge { padding: 9px; }
  .mode-button { padding: 9px 6px; font-size: 10px; }
  .mode-button svg { display: none; }
  .page { padding: 22px 15px 40px; }
  .public-copy { padding: 34px 24px; }
  .public-actions { flex-direction: column; }
  .feature-strip, .unit-list, .metric-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; gap: 8px; }
  .feature-strip { gap: 0; }
  .portal-head, .section-head { align-items: flex-start; flex-direction: column; }
  .video-copy { min-height: 0; padding: 22px; }
  .management-user-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .user-chip { width: 100%; }
  .quick-actions { grid-template-columns: 1fr; }
  .quick-action { min-height: 70px; flex-direction: row; align-items: center; }
  .balance-card .card-body { align-items: flex-start; flex-direction: column; }
  .avail-management { align-items: stretch; flex-direction: column; }
  .avail-service-body { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .queue-table th:nth-child(3), .queue-table td:nth-child(3) { display: none; }
  .prototype-footer { flex-direction: column; }
}
