:root {
  --paper: #f6f2e8;
  --paper-deep: #eee8da;
  --white: #fffefa;
  --green: #123f32;
  --green-mid: #215944;
  --green-soft: #e8eee4;
  --gold: #ba9b59;
  --gold-pale: #f4ecd8;
  --ink: #243a31;
  --muted: #6c756b;
  --line: #e5e4d9;
  --warm: #a35e43;
  --warm-pale: #faeee5;
  --shadow: 0 6px 24px rgba(62, 58, 37, .035);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--green); font-size: 15px; font-weight: 600; line-height: 1.45; text-align: center; text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
button:hover, .button:hover { background: #e8ecdf; }
button:active, .button:active { transform: translateY(1px); }
button:disabled, .button[aria-disabled='true'] { opacity: .45; cursor: not-allowed; transform: none; }
button:focus-visible, .button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--green); line-height: 1.4; }
h1 { letter-spacing: -.035em; }
h2 { font-size: 23px; font-weight: 650; letter-spacing: -.025em; }
h3 { font-size: 18px; font-weight: 650; }
strong { font-weight: 650; }
.primary { border-color: var(--green); background: var(--green); color: #fffdf5; font-weight: 700; box-shadow: 0 3px 8px #123f320a; }
.primary:hover { border-color: #26634b; background: #26634b; }
.secondary { border-color: #d4d9cb; background: var(--white); color: var(--green); }
.secondary:hover { border-color: #a9b59f; background: #f1f3e9; }
.ghost { color: #536c57; }
.danger { border-color: #e7cfc0; background: #fff9f4; color: #9b563d; }
.danger:hover { border-color: #d2a188; background: #f8e8dc; }
.small { min-height: 44px; padding: 9px 13px; font-size: 14px; border-radius: 8px; }
.icon-button { width: 44px; height: 44px; min-width: 44px; padding: 11px; }
.text-button { min-height: 44px; justify-content: flex-start; padding: 5px 0; border: 0; border-radius: 3px; background: transparent; text-align: left; }
.text-button:hover { background: transparent; color: #387453; text-decoration: underline; text-underline-offset: 4px; }
.muted { color: var(--muted); }
.money { color: var(--green); font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.warm-text { color: var(--warm) !important; }
.pending-text { color: #68735e; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.eyebrow, .section-kicker { color: #68735e; font-size: 12px; font-weight: 650; line-height: 1.5; letter-spacing: 1.8px; }
.eyebrow { margin-bottom: 11px; }
.section-kicker { margin-bottom: 7px; font-size: 11px; }
.tag { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid #e2dcc5; border-radius: 5px; background: #f6f1e3; color: #68735e; font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 5px; background: #eef0e8; color: #62705d; font-size: 14px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.status::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.status.overdue { background: #f8e9df; color: #9f5d43; }
.status.soon { background: #f5edda; color: #8a6d2e; }
.status.upcoming { background: #edf0e7; color: #687153; }
.status.paid, .status.arranged { background: #e7efe5; color: #41694c; }
.status.pending { background: #f5edda; color: #8b6d30; }
.status.neutral { background: #f0efe9; color: #68735e; }
.count-badge { display: inline-grid; width: 25px; height: 25px; margin-left: 10px; place-items: center; border-radius: 7px; background: #edf0e6; color: #68735e; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px; font-weight: 600; vertical-align: 3px; }

/* A calm, permanent navigation frame. */
.app-shell { min-height: 100dvh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 230px; flex-direction: column; padding: 30px 18px 23px; border-right: 1px solid #e5e4d6; background: #fbfaf3; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 11px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; width: 43px; height: 43px; flex-shrink: 0; place-items: center; border: 1px solid #25553b; border-radius: 10px; background: var(--green); color: #e9d7a2; }
.brand-mark svg { width: 26px; height: 26px; stroke-width: 1.4; }
.brand-name { color: var(--green); font-size: 25px; font-weight: 750; letter-spacing: 1px; line-height: 1.3; }
.brand-subtitle { margin-top: 4px; color: #68735e; font-size: 9px; font-weight: 600; letter-spacing: 1.35px; }
.nav { display: flex; flex-direction: column; gap: 8px; margin-top: 43px; }
.nav-button { position: relative; width: 100%; justify-content: flex-start; gap: 13px; min-height: 49px; padding: 12px 15px; border-radius: 8px; color: #68735e; font-size: 15px; font-weight: 500; text-align: left; }
.nav-button svg { width: 20px; height: 20px; color: #8a957e; }
.nav-button:hover { background: #f0f1e6; color: var(--green); }
.nav-button.active { background: #e7eddf; color: var(--green); font-weight: 700; }
.nav-button.active svg { color: #426a42; }
.nav-button.active::after { position: absolute; top: 16px; right: 12px; content: ''; width: 4px; height: 16px; border-radius: 3px; background: var(--gold); }
.sidebar-footer { margin-top: auto; padding-top: 24px; }
.sidebar-footer > .nav-button { margin-bottom: 21px; }
.workspace-label { margin: 0 12px 13px; padding-top: 20px; border-top: 1px solid var(--line); color: #68735e; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.member { display: flex; align-items: center; gap: 10px; padding: 0 9px; }
.member strong { display: block; color: #42553e; font-size: 14px; font-weight: 600; }
.member small { display: block; margin-top: 4px; color: #68735e; font-size: 14px; line-height: 1.5; }
.avatar { display: inline-grid; width: 36px; height: 36px; flex-shrink: 0; place-items: center; border: 1px solid #e2d5af; border-radius: 50%; background: #eee6cf; color: #68735e; font-size: 14px; font-weight: 600; }
.avatar.purple, .avatar.mint { border-color: #cdd8bf; background: #e4ebd9; color: #587043; }
.main { width: calc(100% - 230px); max-width: 1740px; margin-left: 230px; padding: 0 36px 30px; }
.topbar { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e4e1d4; }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #68735e; font-size: 14px; }
.breadcrumb > span:not(.mobile-brand) { color: #68735e; }
.breadcrumb strong { color: #4b6047; font-size: 14px; font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.top-actions .ghost { color: #68735e; font-size: 14px; }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #ddd4b8; border-radius: 5px; background: #f2eddd; color: #68735e; font-size: 11px; font-weight: 600; white-space: nowrap; }
.demo-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #b29b60; }
.mobile-brand { display: none; }
.mobile-nav { display: none; }
.page-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #e3e1d3; color: #68735e; font-size: 14px; line-height: 1.7; }
.page-footer span { display: inline-flex; align-items: flex-start; gap: 7px; }
.page-footer svg { width: 14px; height: 14px; margin-top: 4px; color: #9c9d7c; }
.page-footer span:last-child { flex-shrink: 0; }

/* The home page starts with a real day, not a wall of financial numbers. */
.dashboard-hero { position: relative; display: flex; min-height: 196px; justify-content: space-between; gap: 28px; margin-top: 22px; padding: 20px 32px; overflow: hidden; border: 1px solid #315b3f; border-radius: 20px; background: linear-gradient(112deg, #123f32 0%, #1c523c 67%, #2b6246 100%); box-shadow: 0 9px 25px #123f320a; }
.dashboard-hero::after { position: absolute; top: -200px; right: -140px; content: ''; width: 490px; height: 490px; border: 1px solid #bba76b22; border-radius: 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 720px; }
.hero-copy .eyebrow { margin-bottom: 6px; color: #c8b880; font-size: 11px; letter-spacing: 1.8px; }
.hero-copy h1 { margin-bottom: 7px; color: #fffdf0; font-size: clamp(30px, 2.7vw, 36px); font-weight: 650; line-height: 1.3; letter-spacing: -.03em; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; overflow: hidden; color: #d3ddcc; font-size: 14px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-copy .hero-actions { margin-top: 15px; }
.dashboard-hero .primary { border-color: #d8c17d; background: #dfcc97; color: #233e2e; font-weight: 750; box-shadow: 0 3px 8px #0c2c2410; }
.dashboard-hero .primary:hover { border-color: #e5d4a4; background: #ead8a9; }
.dashboard-hero .secondary { border-color: #80947c66; background: #ffffff06; color: #e8eddf; }
.dashboard-hero .secondary:hover { background: #ffffff14; }
.hero-calendar { position: relative; z-index: 2; width: 150px; flex-shrink: 0; align-self: center; padding-left: 28px; border-left: 1px solid #c4b4774d; color: #e7e3c9; text-align: center; }
.calendar-month { color: #c6cdb3; font-size: 13px; letter-spacing: .5px; }
.calendar-number { margin: -2px 0 -4px; color: #e8d5a1; font-family: Georgia, 'Times New Roman', serif; font-size: 65px; font-weight: 400; line-height: 1.2; letter-spacing: -3px; }
.calendar-weekday { color: #f2eedc; font-size: 14px; letter-spacing: 1px; }
.calendar-line { width: 22px; height: 1px; margin: 10px auto 8px; background: #bda46799; }
.hero-calendar > span { color: #c5c9ab; font-size: 11px; }
.hero-city { position: absolute; right: 208px; bottom: 0; display: flex; align-items: flex-end; gap: 8px; width: 160px; height: 170px; opacity: .11; pointer-events: none; }
.hero-city i { position: relative; width: 44px; height: 105px; border: 1px solid #c9d4b7; background: repeating-linear-gradient(0deg, transparent 0 20px, #c6d5ad70 20px 21px), repeating-linear-gradient(90deg, transparent 0 14px, #c6d5ad50 14px 15px); }
.hero-city i:nth-child(2) { height: 155px; width: 50px; }
.hero-city i:nth-child(3) { height: 80px; }
.hero-city i::before { position: absolute; bottom: 100%; left: 8px; content: ''; width: 17px; height: 9px; border: 1px solid #c9d4b7; border-bottom: 0; }
.day-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 15px 0; }
.day-stat { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 12px 17px; border: 1px solid #e5e4d8; border-radius: 13px; background: #fffefa; box-shadow: var(--shadow); }
.day-stat-icon { display: grid; width: 35px; height: 35px; flex-shrink: 0; place-items: center; border-radius: 9px; background: #edf1e5; color: #7b8f63; }
.day-stat-icon svg { width: 18px; height: 18px; }
.day-stat.warm .day-stat-icon { background: #f8ede2; color: #b78561; }
.day-stat.gold .day-stat-icon { background: #f5edda; color: #ac9352; }
.day-stat p { color: #68745f; font-size: 13px; font-weight: 500; line-height: 1.4; }
.day-stat-number { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; color: #284a32; font-size: 28px; font-weight: 650; line-height: 1.2; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.day-stat-number small { color: #68735e; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.day-stat > div:last-child > span { display: block; margin-top: 2px; color: #68735e; font-size: 12px; line-height: 1.4; }
.overdue-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 8px 17px; border: 1px solid #e6d6bf; border-radius: 12px; background: #f6ecdd; }
.overdue-banner-icon { display: grid; width: 35px; height: 35px; flex-shrink: 0; place-items: center; border-radius: 50%; background: #eadbc5; color: #68735e; }
.overdue-banner-icon svg { width: 18px; height: 18px; }
.overdue-banner > div { min-width: 0; }
.overdue-banner strong { display: block; color: #845f3f; font-size: 14px; font-weight: 650; line-height: 1.5; }
.overdue-banner p { margin-top: 1px; color: #876e54; font-size: 13px; line-height: 1.4; }
.overdue-banner .link-button { margin-left: auto; color: #68735e; font-size: 14px; white-space: nowrap; }
.dashboard-work { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr); align-items: start; gap: 24px; }
.dashboard-main { display: flex; min-width: 0; flex-direction: column; gap: 30px; }
.dashboard-side { display: flex; min-width: 0; flex-direction: column; gap: 20px; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 25px 25px 19px; }
.panel-head h2 { font-size: 21px; }
.panel-head > svg { color: #a5a984; }
.panel-title { display: flex; align-items: center; gap: 9px; font-size: 21px; }
.panel-subtitle { margin-top: 6px; color: var(--muted); font-size: 14px; }
.panel-body { padding: 0 25px 25px; }
.panel-bottom-note { padding: 15px 25px; border-top: 1px solid #ebe9dc; color: #68735e; font-size: 14px; line-height: 1.7; }
.link-button { flex-shrink: 0; min-height: 44px; padding: 8px 0 8px 8px; color: #68735e; font-size: 14px; font-weight: 600; }
.link-button:hover { background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.link-button svg { width: 16px; height: 16px; }
.week-wrap { padding: 0 25px 21px; border-bottom: 1px solid #e8e7dc; }
.week-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.week-caption > span { color: #5c7051; font-size: 15px; font-weight: 600; }
.week-caption > div { display: flex; align-items: center; gap: 3px; }
.week-caption .small { font-size: 14px; }
.week-arrow { color: #68735e; font-size: 22px; font-weight: 400; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.week-day { display: flex; min-height: 81px; flex-direction: column; gap: 1px; padding: 9px 2px; border: 1px solid transparent; border-radius: 9px; }
.week-day > span { color: #68735e; font-size: 14px; font-weight: 400; }
.week-day > strong { color: #617355; font-size: 22px; font-weight: 500; line-height: 1.5; }
.day-dot { width: 4px; height: 4px; margin-top: 3px; border-radius: 50%; background: transparent; }
.day-dot.has-items { background: #ba9b59; }
.week-day.is-today { border-color: #dce3ce; }
.week-day.selected { border-color: #19462f; background: #19462f; box-shadow: 0 3px 7px #123f320b; }
.week-day.selected > span { color: #d0dac2; }
.week-day.selected > strong { color: #fffbec; }
.week-day.selected .day-dot.has-items { background: #d4bc7c; }
.week-wrap.compact { padding-bottom: 10px; }
.week-wrap.compact .week-caption { display: none; }
.today-panel .panel-head { padding: 14px 25px 10px; }
.today-panel .panel-head .section-kicker { display: none; }
.week-wrap.compact .week-day { min-height: 56px; padding: 5px 2px; }
.week-wrap.compact .week-day > span { font-size: 11px; line-height: 1.3; }
.week-wrap.compact .week-day > strong { font-size: 20px; line-height: 1.3; }
.work-list { padding: 0 25px; }
.work-item { display: grid; grid-template-columns: 78px 36px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 7px; padding: 22px 0; border-bottom: 1px solid #eae9df; }
.work-item:last-child { border-bottom: 0; }
.work-time { padding-top: 5px; }
.work-time strong { display: block; white-space: nowrap; color: #5d6c54; font-size: 14px; font-weight: 600; line-height: 1.7; }
.work-time span { display: block; margin-top: 3px; color: #68735e; font-size: 14px; line-height: 1.6; }
.overdue-item .work-time strong { color: #68735e; }
.work-symbol { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #e1e6d6; border-radius: 9px; background: #f1f3e9; color: #8d9c71; }
.work-symbol svg { width: 17px; height: 17px; }
.work-symbol.water { border-color: #dfe6de; background: #eef3eb; color: #88a18a; }
.work-symbol.electricity { border-color: #e8e0c9; background: #f7f1df; color: #b39d62; }
.work-symbol.repair { border-color: #e9ddd0; background: #f8efe3; color: #ac8c62; }
.work-content { min-width: 0; }
.work-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 35px; }
.task-title { min-height: 44px; padding: 2px 0; color: #2f4c34; font-size: 16px; font-weight: 600; line-height: 1.65; }
.work-money { margin-left: auto; color: #3d5839; font-size: 16px; white-space: nowrap; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; color: #68735e; font-size: 14px; line-height: 1.75; }
.work-meta > span:nth-child(2) { color: #65775b; }
.work-meta .status { font-size: 14px; }
.inline-assignee { display: inline-flex; align-items: center; gap: 5px; }
.inline-assignee svg { width: 13px; height: 13px; color: #97a083; }
.work-actions { display: flex; flex-wrap: wrap; grid-column: 3; gap: 7px; margin-top: 3px; }
.work-actions .small { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.work-actions .small svg { width: 15px; height: 15px; }
.complete-button { border-color: #e2e6d6; color: #68735e; }
.complete-button:hover { border-color: #bbc9a4; background: #f0f4e8; color: #527349; }
.queue-explainer { margin: -7px 25px 17px; color: #68735e; font-size: 14px; line-height: 1.8; }
.payment-review-list { display: flex; flex-direction: column; gap: 13px; padding: 0 19px 20px; }
.payment-review-card { min-width: 0; padding: 17px; border: 1px solid #e6dfca; border-radius: 11px; background: #fcf9ef; }
.review-card-top { display: flex; align-items: flex-start; gap: 10px; }
.review-mark { display: grid; width: 31px; height: 34px; flex-shrink: 0; place-items: center; border: 1px solid #e5dcc3; border-radius: 6px; background: #f4ecd8; color: #b29758; }
.review-mark svg { width: 18px; height: 18px; }
.review-card-top > div { min-width: 0; }
.review-card-top h3 { color: #596447; font-size: 15px; font-weight: 650; }
.review-card-top p { margin-top: 3px; color: #68735e; font-size: 14px; line-height: 1.6; }
.review-card-top > .tag { margin-left: auto; padding: 2px 5px; font-size: 10px; }
.reported-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 18px; }
.reported-amount > span { color: #68735e; font-size: 14px; }
.reported-amount > strong { color: #466040; font-size: 23px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.review-status { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: #68735e; font-size: 14px; }
.review-status svg { width: 13px; height: 13px; }
.amount-mismatch { margin-top: 10px; color: #68735e; font-size: 14px; }
.review-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e9e2cf; }
.review-card-bottom > span { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #68735e; font-size: 14px; line-height: 1.7; }
.review-card-bottom i { display: inline-flex; }
.review-card-bottom i svg { width: 12px; height: 12px; }
.review-card-bottom .primary { min-height: 44px; flex-shrink: 0; padding: 8px 12px; font-size: 14px; }
.review-card-bottom .primary svg { width: 14px; height: 14px; }
.payment-queue .empty-state { padding: 23px 24px 30px; }
.payment-queue .empty-state h3 { font-size: 17px; }
.payment-queue .empty-state p { font-size: 14px; }
.quick-panel { padding: 21px; border: 1px solid #e5e2d3; border-radius: 14px; background: #eeeddf; }
.quick-panel h3 { color: #274d34; font-size: 14px; font-weight: 500; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.quick-action { min-height: 58px; flex-direction: column; gap: 7px; padding: 12px 8px; border: 1px solid #dfdfca; border-radius: 8px; background: #f7f6ea; color: #68735e; font-size: 14px; }
.quick-action svg { width: 19px; height: 19px; color: #97a172; }
.quick-action:hover { border-color: #c9cda8; background: #fcfbed; }
.portfolio-bottom { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(265px, 1fr); align-items: start; gap: 24px; margin-top: 35px; }
.property-overview { min-width: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.section-heading h2 { font-size: 24px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.property-preview { min-width: 0; padding: 19px; border: 1px solid #e1e3d1; border-radius: 14px; background: #fffefa; box-shadow: var(--shadow); }
.property-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.building-mark { display: grid; width: 39px; height: 39px; flex-shrink: 0; place-items: center; border: 1px solid #dce2c9; border-radius: 9px; background: #eff2e4; color: #89976a; }
.building-mark svg { width: 23px; height: 23px; stroke-width: 1.4; }
.property-preview-top > span { color: #68735e; font-size: 14px; }
.property-location { color: #68735e; font-size: 14px; }
.property-preview h3 { margin-top: 1px; }
.property-preview h3 .text-button { width: 100%; justify-content: space-between; gap: 10px; min-height: 44px; color: #526843; font-size: 18px; font-weight: 650; }
.property-preview h3 svg { width: 14px; height: 14px; color: #b3b794; }
.unit-facade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 20px; padding: 12px 0; border-top: 1px solid #ecebdd; border-bottom: 1px solid #ecebdd; }
.unit-tile { display: flex; min-height: 47px; flex-direction: column; gap: 2px; padding: 5px 3px; border: 1px solid #e2e5d0; border-radius: 5px; background: #f2f4e9; color: #68735e; font-size: 14px; font-weight: 600; }
.unit-tile i { width: 3px; height: 3px; border-radius: 50%; background: #abb88a; }
.unit-tile.overdue { border-color: #ead9c3; background: #f7eee0; color: #68735e; }
.unit-tile.overdue i { background: #c5a06a; }
.unit-tile.pending { border-color: #dfd3ad; background: #f3ecd7; color: #68735e; }
.unit-tile.pending i { background: #b69b54; }
.unit-tile.clear { border-color: #d9e3cb; background: #edf3e5; color: #68735e; }
.unit-more { display: grid; min-height: 47px; place-items: center; color: #68735e; font-size: 14px; }
.property-amount > span { display: block; color: #68735e; font-size: 14px; }
.property-amount > strong { display: block; margin-top: 4px; color: #536a45; font-size: 20px; font-weight: 650; white-space: nowrap; }
.progress { height: 5px; overflow: hidden; border-radius: 3px; background: #eaeddd; }
.progress-bar { height: 100%; border-radius: 3px; background: #91a06d; transition: width .2s ease; }
.collection-progress { margin-top: 13px; }
.collection-progress > div:last-child { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 7px; color: #68735e; font-size: 14px; }
.collection-progress strong { color: #68735e; font-size: 14px; font-weight: 500; }
.property-pending { display: flex; align-items: center; gap: 5px; margin-top: 12px; color: #68735e; font-size: 14px; }
.property-pending svg { width: 12px; height: 12px; }
.activity-panel { margin-top: 0; }
.activity-list { padding: 0 25px 23px; }
.activity-item { position: relative; display: flex; gap: 12px; padding: 14px 0; }
.activity-dot { position: relative; z-index: 1; width: 7px; height: 7px; flex-shrink: 0; margin-top: 8px; border: 2px solid #fffefa; border-radius: 50%; background: #b6bd91; box-sizing: content-box; }
.activity-item:not(:last-child)::after { position: absolute; top: 30px; bottom: -15px; left: 5px; content: ''; width: 1px; background: #e6e8d7; }
.activity-item p { color: #68735e; font-size: 14px; line-height: 1.85; }
.activity-item time { display: block; margin-top: 5px; color: #68735e; font-size: 14px; }
.route-note { margin-top: 17px; color: #68735e; font-size: 14px; line-height: 1.85; }

/* Every secondary page has a practical title and a purposeful working surface. */
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 35px 0 30px; }
.page-heading > div:first-child { min-width: 0; }
.page-heading h1 { color: #214b33; font-size: 35px; font-weight: 650; }
.page-heading > div > p:last-child:not(.eyebrow) { max-width: 780px; margin-top: 11px; color: #68735e; font-size: 16px; line-height: 1.85; }
.page-heading .hero-actions { flex-shrink: 0; justify-content: flex-end; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; }
.filter-toolbar { margin-bottom: 25px; padding: 17px 20px; border: 1px solid #e3e1d3; border-radius: 12px; background: #fbfaf3; }
.search-field { position: relative; width: min(380px, 100%); }
.search-field > svg { position: absolute; top: 14px; left: 14px; width: 18px; height: 18px; color: #919a79; }
.search-input { width: 100%; min-height: 46px; padding-left: 43px; }
.property-filter { width: min(270px, 100%); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.filter-button { min-height: 44px; padding: 10px 14px; border: 1px solid transparent; border-radius: 8px; color: #68735e; font-size: 14px; font-weight: 500; white-space: nowrap; }
.filter-button.active { border-color: #dce2c9; background: #ecf0df; color: #537040; font-weight: 650; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.results-count { color: #68735e; font-size: 14px; text-align: right; }
.empty-state { padding: 43px 27px; text-align: center; }
.empty-icon { display: inline-grid; width: 59px; height: 59px; margin-bottom: 19px; place-items: center; border: 1px solid #e0e6ce; border-radius: 16px; background: #f0f4e5; color: #a0ad7b; }
.empty-icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
.empty-state h3 { color: #5e7650; font-size: 21px; font-weight: 600; }
.empty-state p { max-width: 510px; margin: 10px auto 0; color: #68735e; font-size: 15px; line-height: 1.9; }
.empty-state button { margin-top: 23px; }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 24px; }
.schedule-board .week-wrap { padding-top: 20px; }
.schedule-board .week-day { min-height: 100px; gap: 4px; }
.schedule-board .week-day > strong { font-size: 29px; }
.schedule-controls { display: flex; flex-direction: column; gap: 17px; padding: 21px 25px; border-bottom: 1px solid #e8e7da; }
.schedule-controls .inline-actions > label { flex: 1 1 145px; }
.schedule-controls .property-filter { width: auto; max-width: none; flex-basis: 220px; }
.schedule-search { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 25px; }
.schedule-search .search-field { max-width: 350px; }
.schedule-search > span { color: #68735e; font-size: 14px; }
.agenda-day-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 25px; border-top: 1px solid #e9eadb; border-bottom: 1px solid #e9eadb; background: #f8f9ee; }
.agenda-day-head h2 { color: #637952; font-size: 18px; }
.agenda-day-head small { margin-left: 13px; color: #68735e; font-size: 14px; font-weight: 400; }
.schedule-note { position: sticky; top: 25px; padding: 25px; border: 1px solid #dfdfc8; border-radius: 15px; background: #ebeeda; }
.note-icon { display: grid; width: 43px; height: 43px; margin-bottom: 24px; place-items: center; border: 1px solid #d7ddbb; border-radius: 11px; background: #f1f4e1; color: #9caa75; }
.note-icon svg { width: 23px; height: 23px; }
.schedule-note .section-kicker { color: #68735e; }
.schedule-note h3 { margin: 10px 0 14px; color: #274d34; font-size: 23px; line-height: 1.5; }
.schedule-note > p:not(.section-kicker):not(.form-note) { color: #68735e; font-size: 14px; line-height: 1.9; }
.schedule-overdue { display: flex; align-items: baseline; gap: 10px; margin-top: 25px; padding-top: 21px; border-top: 1px solid #d8dfbf; }
.schedule-overdue > strong { color: #274d34; font-size: 37px; font-weight: 500; line-height: 1.3; }
.schedule-overdue > span { color: #68735e; font-size: 14px; }
.schedule-note > .secondary { width: 100%; justify-content: space-between; margin-top: 17px; border-color: #d1dcb5; background: #f5f7e8; color: #68735e; font-size: 14px; }
.schedule-note .form-note { margin-top: 20px; color: #68735e; font-size: 14px; }
.property-group + .property-group { margin-top: 34px; padding-top: 30px; border-top: 1px solid #dddcca; }
.property-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.property-title { display: flex; align-items: center; gap: 13px; }
.property-title .building-mark { width: 49px; height: 49px; border-color: #d7dfbe; background: #ecf0dc; }
.property-title .building-mark svg { width: 28px; height: 28px; }
.property-title p { margin-bottom: 2px; color: #68735e; font-size: 14px; }
.property-title h2 { color: #5a7347; font-size: 24px; }
.property-title h2 > span { margin-left: 15px; color: #274d34; font-size: 14px; font-weight: 400; }
.property-group-totals { display: flex; align-items: center; gap: 20px; }
.property-group-totals > span:first-child { color: #68735e; font-size: 14px; text-align: right; }
.property-group-totals strong { display: block; margin-top: 3px; color: #68735e; font-size: 18px; font-weight: 600; }
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.room-card { min-width: 0; overflow: hidden; border: 1px solid #e0e5d1; border-radius: 15px; background: #fffefa; box-shadow: var(--shadow); }
.room-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 22px 23px 13px; }
.room-number { color: #4a6b3c; font-size: 39px; font-weight: 550; letter-spacing: -1.5px; line-height: 1.2; }
.room-card-heading .status { font-size: 14px; }
.room-tenant { display: flex; align-items: center; gap: 7px; padding: 0 23px; }
.room-tenant > svg { width: 16px; height: 16px; color: #afba94; }
.room-tenant > strong { color: #274d34; font-size: 16px; font-weight: 500; }
.room-tenant .tag { margin-left: auto; font-size: 10px; }
.room-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 15px; padding: 24px 23px; }
.room-facts dt { margin-bottom: 4px; color: #68735e; font-size: 14px; }
.room-facts dd { color: #274d34; font-size: 15px; font-weight: 600; line-height: 1.6; }
.room-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 23px 8px; border-top: 1px solid #e9ecdf; background: #fafcf3; }
.room-card-foot button { color: #68735e; font-size: 14px; }
.room-card-foot .secondary { border-color: #dce5cc; background: #f6faec; }
.room-contact-note { padding: 0 23px 15px; background: #fafcf3; color: #68735e; font-size: 14px; }
.finance-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(160px, .7fr); align-items: center; gap: 25px; margin-bottom: 25px; padding: 22px 26px; border: 1px solid #e0e4ce; border-radius: 15px; background: #fdfef7; }
.finance-strip > div { padding-right: 25px; border-right: 1px solid #e6e9d7; }
.finance-strip > div > span { color: #68735e; font-size: 14px; }
.finance-strip strong { display: block; margin-top: 5px; color: #274d34; font-size: 25px; font-weight: 600; letter-spacing: -.5px; }
.finance-strip p { color: #68735e; font-size: 14px; line-height: 1.9; }
.payment-queue:has(.horizontal) { margin-bottom: 25px; }
.payment-review-list.horizontal { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; padding: 0 25px 25px; }
.horizontal .reported-amount > strong { font-size: 25px; }
.bills-panel .panel-head { padding-bottom: 17px; }
.bill-filters { padding: 0 25px 20px; }
.table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #d5dfba transparent; }
table { width: 100%; min-width: 860px; border-collapse: collapse; text-align: left; font-size: 14px; }
th { padding: 13px 18px; border-top: 1px solid #e8edda; border-bottom: 1px solid #e8edda; background: #f8fbf0; color: #68735e; font-size: 14px; font-weight: 500; white-space: nowrap; }
td { padding: 21px 18px; border-bottom: 1px solid #e9efdf; color: #68735e; font-size: 14px; line-height: 1.7; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 25px; }
th:last-child, td:last-child { padding-right: 25px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfef6; }
.room-cell { display: flex; align-items: center; gap: 11px; }
.table-unit { display: inline-grid; min-width: 42px; height: 42px; flex-shrink: 0; place-items: center; padding: 4px; border: 1px solid #dce7cb; border-radius: 8px; background: #f1f8e6; color: #274d34; font-size: 15px; font-weight: 650; }
.room-cell strong { display: block; color: #274d34; font-size: 14px; font-weight: 550; }
.room-cell small { display: block; margin-top: 5px; color: #68735e; font-size: 14px; }
.table-text-button { color: #68735e; font-size: 14px; font-weight: 550; }
.cell-note { margin-top: 5px; color: #68735e; font-size: 14px; }
.table-date { color: #68735e; font-size: 14px; font-weight: 500; }
td .money, td.money { color: #274d34; font-size: 15px; }
.row-actions { display: flex; align-items: center; gap: 5px; }
.row-actions button { font-size: 14px; padding: 9px 11px; }
.row-actions svg { width: 14px; height: 14px; }
.bill-cards { display: none; }
.document-intro { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; padding: 27px; border: 1px solid #dce5c7; border-radius: 16px; background: #eaf1dc; }
.document-intro-symbol { position: relative; display: grid; width: 85px; height: 85px; flex-shrink: 0; place-items: center; border: 1px solid #d3dfb6; border-radius: 20px; background: #f1f7e5; color: #a5ba7e; transform: rotate(-5deg); }
.document-intro-symbol > svg { width: 43px; height: 43px; stroke-width: 1.3; }
.document-intro-symbol > i { position: absolute; right: -6px; bottom: -5px; display: grid; width: 32px; height: 35px; place-items: center; border: 1px solid #cfddb0; border-radius: 5px; background: #f9fdef; color: #a3b879; transform: rotate(15deg); }
.document-intro-symbol i svg { width: 20px; height: 20px; }
.document-intro > div:nth-child(2) { min-width: 0; flex: 1; }
.document-intro h2 { color: #274d34; font-size: 22px; }
.document-intro p { max-width: 710px; margin-top: 9px; color: #68735e; font-size: 15px; line-height: 1.9; }
.storage-meter { width: 155px; flex-shrink: 0; padding-left: 26px; border-left: 1px solid #d5e1ba; }
.storage-meter > strong { display: block; color: #274d34; font-size: 25px; font-weight: 500; line-height: 1.4; }
.storage-meter small { color: #68735e; font-size: 14px; font-weight: 400; }
.storage-meter > span { display: block; margin: 5px 0 14px; color: #68735e; font-size: 14px; }
.documents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.document-card { overflow: hidden; border: 1px solid #dfebce; border-radius: 15px; background: #fffefa; box-shadow: var(--shadow); }
.document-preview { display: grid; width: 100%; height: 195px; place-items: center; overflow: hidden; border: 0; border-radius: 0; background: #eef5df; color: #68735e; }
.document-preview:hover { background: #e7f0d5; }
.document-preview.has-image { padding: 15px; }
.document-preview img { width: 100%; height: 100%; object-fit: contain; }
.pdf-sheet { display: flex; width: 76px; height: 99px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid #d8e6c0; border-radius: 6px; background: #fcfff3; color: #68735e; transform: rotate(-5deg); box-shadow: 5px 7px 0 #e4efce; }
.pdf-sheet svg { width: 31px; height: 31px; stroke-width: 1.2; }
.pdf-sheet strong { font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.document-info { padding: 22px 22px 15px; }
.document-info h3 { margin-top: 11px; color: #274d34; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.document-info p { margin-top: 5px; color: #68735e; font-size: 14px; }
.document-info > span:last-child { display: block; margin-top: 7px; color: #68735e; font-size: 14px; }
.document-actions { display: flex; justify-content: space-between; gap: 10px; padding: 0 22px 21px; }
.document-actions button { color: #68735e; font-size: 14px; }
.document-empty .empty-state { padding-top: 58px; padding-bottom: 58px; }
.collaboration-banner { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; padding: 25px 28px; border: 1px solid #dbe6c3; border-radius: 14px; background: #edf4dc; }
.collaboration-banner > span { display: grid; width: 54px; height: 54px; flex-shrink: 0; place-items: center; border: 1px solid #d3e2b6; border-radius: 13px; background: #f5fbe9; color: #68735e; }
.collaboration-banner > span svg { width: 27px; height: 27px; }
.collaboration-banner h2 { color: #274d34; font-size: 20px; }
.collaboration-banner p { margin-top: 8px; color: #68735e; font-size: 15px; line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.team-card { overflow: hidden; padding: 27px; border: 1px solid #dde8ca; border-radius: 16px; background: #fffefa; box-shadow: var(--shadow); }
.role-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.role-number { color: #ba9b59; font-family: Georgia, serif; font-size: 47px; line-height: 1; }
.role-symbol { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid #dfebca; border-radius: 10px; background: #f1f8e4; color: #c1d5a1; }
.role-symbol svg { width: 23px; height: 23px; stroke-width: 1.3; }
.team-card > h2 { color: #274d34; font-size: 25px; }
.role-description { min-height: 56px; margin-top: 12px; color: #68735e; font-size: 15px; line-height: 1.8; }
.check-list { display: flex; flex-direction: column; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; color: #68735e; font-size: 14px; line-height: 1.8; }
.check-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 5px; color: #c1d3a4; }
.role-member { display: flex; align-items: center; gap: 10px; margin: 27px -27px -27px; padding: 19px 27px; border-top: 1px solid #e3edd5; background: #f8fcef; }
.role-member .avatar { border-color: #e5e6cb; background: #f3efd9; color: #68735e; }
.role-member strong { display: block; color: #274d34; font-size: 14px; font-weight: 500; }
.role-member small { display: block; margin-top: 3px; color: #68735e; font-size: 14px; }
.role-member .status { margin-left: auto; font-size: 14px; }
.team-next { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 32px; padding: 31px; border: 1px solid #dfe8cc; border-radius: 16px; background: #edf3e0; }
.team-next > div:first-child { max-width: 660px; }
.team-next h2 { color: #274d34; font-size: 24px; }
.team-next p:last-child { margin-top: 12px; color: #68735e; font-size: 15px; line-height: 1.9; }
.team-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.team-flow > span { padding: 10px 14px; border: 1px solid #e1eaca; border-radius: 8px; background: #f5f9e9; color: #68735e; font-size: 14px; white-space: nowrap; }
.team-flow svg { width: 16px; height: 16px; color: #d0dbba; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.settings-card { min-width: 0; padding: 31px; border: 1px solid #e0e8cf; border-radius: 17px; background: #fffefa; box-shadow: var(--shadow); }
.settings-card h2 { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; color: #274d34; font-size: 25px; line-height: 1.5; }
.settings-card h2 svg { width: 23px; height: 23px; margin-top: 7px; color: #ccdcba; }
.settings-card > p:not(.section-kicker):not(.form-note) { color: #68735e; font-size: 15px; line-height: 1.9; }
.settings-card .inline-actions { margin-top: 25px; }
.storage-card { border-color: #35613e; background: linear-gradient(125deg, #1a4935, #2c5b3e); }
.storage-card .section-kicker { color: #c6bf89; }
.storage-card h2 { color: #f7f3df; }
.storage-card h2 svg { color: #c9c18a; }
.storage-card > p:not(.section-kicker):not(.form-note) { color: #d1d8bb; }
.storage-card .form-note { margin-top: 22px; color: #becba5; }
.storage-card .primary { border-color: #c3bc84; background: #d2c691; color: #2d4a33; }
.storage-card .secondary { border-color: #758b6277; background: #ffffff08; color: #e1e7cb; }
.data-counts { display: flex; gap: 40px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #86996c55; }
.data-counts > span { color: #68735e; font-size: 14px; }
.data-counts strong { display: block; margin-bottom: 3px; color: #68735e; font-size: 28px; font-weight: 500; line-height: 1.3; }
.settings-symbol { display: grid; width: 46px; height: 46px; margin-bottom: 20px; place-items: center; border: 1px solid #e0e8c9; border-radius: 12px; background: #f4f8e6; color: #c6d8a7; }
.install-steps { display: flex; flex-direction: column; gap: 17px; margin: 25px 0; padding-left: 19px; color: #68735e; font-size: 14px; line-height: 1.8; }
.install-steps li { padding-left: 7px; }
.install-steps li::marker { color: #68735e; }
.install-steps strong { display: block; color: #68735e; font-size: 14px; font-weight: 600; }
.install-steps span { display: block; margin-top: 4px; color: #68735e; font-size: 14px; }
.install-card .secondary { border-color: #e2ebce; color: #68735e; background: #f8fced; }
.install-card .form-note { margin-top: 16px; color: #68735e; }
.roadmap-panel { margin-top: 32px; padding: 31px; border: 1px solid #e1e7cf; border-radius: 17px; background: #fcfef6; }
.roadmap-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.roadmap-heading h2 { color: #274d34; font-size: 25px; }
.roadmap-heading > span { padding-top: 5px; color: #68735e; font-size: 14px; white-space: nowrap; }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.roadmap-grid article { padding-top: 20px; border-top: 1px solid #e2e9d2; }
.roadmap-grid article > span { display: inline-block; color: #68735e; font-family: Georgia, serif; font-size: 27px; line-height: 1.3; }
.roadmap-grid h3 { margin-top: 12px; color: #274d34; font-size: 17px; }
.roadmap-grid p { margin-top: 10px; color: #68735e; font-size: 14px; line-height: 1.9; }
.reset-panel { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; padding: 25px 30px; border: 1px solid #e9e2cc; border-radius: 14px; background: #f8f5e8; }
.reset-panel h3 { color: #274d34; font-size: 17px; }
.reset-panel p { margin-top: 7px; color: #68735e; font-size: 14px; }
.reset-panel button { flex-shrink: 0; }

/* Forms, previews and dialogs share the same legibility as the workspace. */
dialog { width: min(680px, calc(100vw - 32px)); max-width: 680px; max-height: 90dvh; margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #dce1cc; border-radius: 19px; background: #fffefa; color: #385035; box-shadow: 0 30px 90px #13372033; }
dialog::backdrop { background: #142c2380; backdrop-filter: blur(4px); }
.dialog-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 27px; border-bottom: 1px solid #e3e7d7; background: #fffefa; }
.dialog-header h2 { color: #55754a; font-size: 23px; line-height: 1.5; }
.dialog-header .icon-button { color: #68735e; }
.dialog-body { padding: 26px 27px; }
.dialog-body > h2 { margin-bottom: 15px; color: #274d34; font-size: 25px; }
.dialog-body > h3 { color: #274d34; }
.dialog-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 19px 27px 23px; border-top: 1px solid #e5e9da; background: #fffefa; }
.dialog-footer button { font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 17px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.full { grid-column: 1 / -1; }
label { color: #68735e; font-size: 14px; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #dce6cc; border-radius: 8px; background: #fffffb; color: #68735e; font-size: 16px; line-height: 1.5; transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: #68735e; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #bdcfaa; }
input:focus, select:focus, textarea:focus { border-color: #a2ba87; outline: 2px solid #d9e8c5; outline-offset: 1px; }
textarea { min-height: 112px; resize: vertical; line-height: 1.85; }
input[type='checkbox'], input[type='radio'] { display: inline-block; width: 19px; min-width: 19px; height: 19px; min-height: 19px; margin: 4px 0 0; padding: 0; accent-color: #719951; }
label.full:has(input[type='checkbox']), .confirmation-check { display: flex; align-items: flex-start; gap: 10px; color: #68735e; font-size: 14px; line-height: 1.85; }
input[type='file'] { padding: 9px; color: #68735e; font-size: 14px; }
input[type='file']::file-selector-button { min-height: 36px; margin-right: 11px; padding: 7px 12px; border: 1px solid #d7e3c5; border-radius: 5px; background: #edf6df; color: #68735e; font: inherit; cursor: pointer; }
.form-note { margin-top: 12px; color: #68735e; font-size: 14px; line-height: 1.85; }
#form-error:not(:empty) { padding: 12px 14px; border: 1px solid #e7c6ad; border-radius: 8px; background: #fcf1e6; color: #68735e; }
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 15px 17px; border: 1px solid #dce7ca; border-radius: 10px; background: #f1f7e5; color: #68735e; font-size: 14px; line-height: 1.85; }
.notice > svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; }
.notice.warning { border-color: #e6d4b6; background: #fbf3e3; color: #68735e; }
.form-grid > .notice { margin: 0; }
.form-grid > p { color: #68735e; font-size: 15px; line-height: 1.8; }
.stat-value { margin: 18px 0 23px; color: #274d34; font-size: 37px; font-weight: 600; line-height: 1.35; font-variant-numeric: tabular-nums; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 20px 0; }
.detail-item { min-width: 0; padding: 17px; border: 1px solid #e1ebd0; border-radius: 9px; background: #f9fcf0; }
.detail-item small { display: block; color: #68735e; font-size: 14px; }
.detail-item strong { display: block; margin-top: 7px; color: #274d34; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.reminder-preview { padding: 17px; border-color: #dde8ca; background: #f9fdef; color: #68735e; font-size: 16px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.receipt { position: relative; overflow: hidden; margin: 0; padding: 26px; border: 1px solid #dfe9cd; border-radius: 10px; background: #fbfef3; color: #68735e; line-height: 1.95; }
.receipt-head { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e2ebd1; text-align: center; }
.receipt-head h3 { color: #274d34; font-size: 27px; letter-spacing: 3px; }
.receipt-head p { margin-top: 6px; color: #68735e; font-size: 14px; }
.receipt-row, .receipt-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 10px 0; color: #274d34; font-size: 15px; }
.receipt-row strong { color: #68735e; text-align: right; }
.receipt-total { margin-top: 14px; padding-top: 20px; border-top: 1px solid #e1ead0; color: #274d34; }
.receipt-total strong { font-size: 28px; }
.sample-watermark { position: absolute; top: 45%; left: 0; width: 100%; color: #e7efda; font-size: 47px; font-weight: 700; letter-spacing: 4px; text-align: center; transform: rotate(-25deg); user-select: none; pointer-events: none; }
.review-heading h3 { color: #274d34; font-size: 23px; }
.proof-preview { display: flex; align-items: center; gap: 17px; margin: 22px 0; padding: 17px; border: 1px solid #dfe8ce; border-radius: 10px; background: #f8fcef; }
.proof-preview > img { width: 100px; height: 110px; flex-shrink: 0; object-fit: contain; border: 1px solid #dbe6c8; border-radius: 6px; background: #fffff8; }
.proof-preview > svg { width: 42px; height: 50px; margin: 15px; color: #bdcfa8; }
.proof-preview > div { min-width: 0; }
.proof-preview strong { display: block; margin-bottom: 12px; color: #68735e; font-size: 14px; overflow-wrap: anywhere; }
.proof-preview button { font-size: 14px; }
.review-note { margin: 20px 0; padding: 16px; border-left: 3px solid #cfddba; background: #f4f9e9; }
.review-note small { color: #68735e; font-size: 14px; }
.review-note p { margin-top: 6px; color: #68735e; font-size: 15px; line-height: 1.85; white-space: pre-wrap; }
.file-label { display: flex; min-height: 140px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px; border: 1px dashed #c9dab3; border-radius: 10px; background: #f7fcec; color: #68735e; text-align: center; cursor: pointer; }
.file-label svg { width: 28px; height: 28px; }
.toast { position: fixed; right: 26px; bottom: 26px; z-index: 100; max-width: min(500px, calc(100vw - 36px)); padding: 16px 21px; border: 1px solid #cadfb1; border-radius: 11px; background: #fcfff4; color: #68735e; box-shadow: 0 10px 35px #42692418; font-size: 14px; line-height: 1.8; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
.loading { display: flex; min-height: 120px; align-items: center; justify-content: center; color: #68735e; font-size: 16px; }

@media (min-width: 1100px) {
  .today-panel .work-item { grid-template-columns: 78px 34px minmax(0, 1fr) auto; column-gap: 10px; padding-top: 17px; padding-bottom: 17px; }
  .today-panel .work-actions { grid-column: 4; grid-row: 1 / 3; align-self: center; flex-direction: column; margin-top: 0; }
  .today-panel .work-actions .small { padding-right: 10px; padding-left: 10px; font-size: 12px; }
  .today-panel .work-money { margin-left: 0; }
}
@media (min-width: 1600px) {
  .main { padding-right: 48px; padding-left: 48px; }
  .dashboard-hero { min-height: 200px; padding: 22px 40px; }
  .hero-copy h1 { font-size: 38px; }
  .dashboard-work { grid-template-columns: minmax(0, 2.05fr) minmax(320px, 1fr); gap: 28px; }
  .work-item { grid-template-columns: 78px 40px minmax(0, 1fr) auto; align-items: center; padding-top: 26px; padding-bottom: 26px; }
  .work-actions { grid-column: auto; flex-direction: column; margin-top: 0; }
  .property-preview { padding: 23px; }
}
@media (max-width: 1250px) {
  .sidebar { width: 216px; padding-right: 15px; padding-left: 15px; }
  .main { width: calc(100% - 216px); margin-left: 216px; padding-right: 27px; padding-left: 27px; }
  .brand { padding-right: 8px; padding-left: 8px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 1px; }
  .nav-button { padding-right: 12px; padding-left: 12px; font-size: 14px; }
  .dashboard-hero { gap: 25px; padding-right: 29px; padding-left: 29px; }
  .hero-calendar { width: 135px; padding-left: 20px; }
  .calendar-number { font-size: 74px; }
  .hero-calendar > span { font-size: 10px; }
  .hero-city { right: 170px; }
  .day-stats { gap: 11px; }
  .day-stat { gap: 9px; padding: 12px 14px; }
  .day-stat-icon { width: 29px; height: 29px; border-radius: 7px; }
  .day-stat-icon svg { width: 16px; height: 16px; }
  .day-stat p { font-size: 13px; }
  .day-stat > div:last-child > span { font-size: 12px; }
  .dashboard-work { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; }
  .portfolio-bottom { grid-template-columns: minmax(0, 1fr); }
  .portfolio-bottom .activity-panel { margin-top: 4px; }
  .portfolio-bottom .activity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .portfolio-bottom .activity-item::after { display: none; }
  .property-grid { gap: 18px; }
  .property-preview { padding: 23px; }
  .property-amount > strong { font-size: 23px; }
  .collection-progress > div:last-child { font-size: 14px; }
  .property-pending { font-size: 14px; }
  .page-heading { align-items: flex-start; }
  .page-heading .hero-actions { max-width: 220px; }
  .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-layout { grid-template-columns: minmax(0, 1fr); }
  .schedule-note { position: static; }
  .schedule-note { display: none; }
  .finance-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .finance-strip p { grid-column: 1 / -1; }
  .finance-strip > div:nth-child(3) { padding-right: 0; border-right: 0; }
  .finance-strip strong { font-size: 24px; }
  .documents-grid { gap: 18px; }
  .document-intro { gap: 20px; padding: 24px; }
  .document-intro-symbol { width: 65px; height: 65px; border-radius: 15px; }
  .document-intro-symbol > svg { width: 36px; height: 36px; }
  .storage-meter { width: 120px; padding-left: 20px; }
  .team-grid { gap: 17px; }
  .team-card { padding: 23px; }
  .role-member { margin-right: -23px; margin-bottom: -23px; margin-left: -23px; padding-right: 23px; padding-left: 23px; }
  .team-next { align-items: flex-start; flex-direction: column; gap: 25px; }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
}
@media (max-width: 1000px) {
  .sidebar { width: 190px; padding-right: 12px; padding-left: 12px; }
  .main { width: calc(100% - 190px); margin-left: 190px; padding-right: 22px; padding-left: 22px; }
  .brand { gap: 9px; padding: 0 5px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 23px; }
  .brand-subtitle { font-size: 7px; letter-spacing: .6px; }
  .nav-button { gap: 10px; font-size: 14px; }
  .sidebar .member { gap: 8px; padding: 0 4px; }
  .sidebar .member small { font-size: 14px; }
  .dashboard-hero { min-height: 195px; gap: 15px; padding: 20px 25px; }
  .hero-copy h1 { font-size: 31px; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .hero-calendar { width: 118px; padding-left: 17px; }
  .calendar-month { font-size: 11px; }
  .calendar-number { font-size: 64px; }
  .calendar-weekday { font-size: 12px; }
  .hero-calendar > span { display: none; }
  .hero-city { right: 146px; opacity: .08; }
  .day-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .day-stat { padding: 16px 19px; }
  .day-stat-icon { width: 34px; height: 34px; }
  .day-stat p { font-size: 13px; }
  .day-stat > div:last-child > span { font-size: 12px; }
  .day-stat > div:last-child { display: grid; width: 100%; grid-template-columns: 1fr auto; column-gap: 10px; }
  .day-stat-number { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .day-stat-number small { display: none; }
  .day-stat > div:last-child > span { margin-top: 2px; }
  .dashboard-work { grid-template-columns: minmax(0, 1fr); grid-template-areas: "today" "payments" "properties" "quick" "activity"; }
  .dashboard-main, .dashboard-side { display: contents; }
  .dashboard-work .today-panel { grid-area: today; }
  .dashboard-work .payment-queue { grid-area: payments; }
  .dashboard-work .property-overview { grid-area: properties; }
  .dashboard-work .quick-panel { grid-area: quick; }
  .dashboard-work .activity-panel { grid-area: activity; }
  .dashboard-side .payment-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-panel { padding: 20px 23px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-action { min-height: 48px; flex-direction: row; }
  .property-preview { padding: 19px; }
  .property-amount > strong { font-size: 20px; }
  .collection-progress > div:last-child { font-size: 14px; }
  .property-pending { font-size: 14px; }
  .property-grid { gap: 13px; }
  .page-heading { gap: 20px; }
  .page-heading h1 { font-size: 31px; }
  .page-heading > div > p:last-child:not(.eyebrow) { font-size: 15px; }
  .page-heading .hero-actions { max-width: 175px; }
  .page-heading .hero-actions button { font-size: 14px; }
  .finance-strip strong { font-size: 22px; }
  .bills-desktop { display: none; }
  .bill-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 0 23px 24px; }
  .bill-card { padding: 20px; border: 1px solid #dfe9cd; border-radius: 11px; background: #fdfff7; }
  .bill-card > header { display: flex; align-items: center; gap: 10px; }
  .bill-card header h3 { color: #274d34; font-size: 16px; }
  .bill-card header p { margin-top: 4px; color: #68735e; font-size: 14px; }
  .bill-card-amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 19px; }
  .bill-card-amount > strong { color: #274d34; font-size: 25px; font-weight: 600; }
  .bill-card-amount .status { font-size: 14px; }
  .bill-card-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; color: #68735e; font-size: 14px; }
  .bill-card > .pending-text { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: #68735e; font-size: 14px; }
  .bill-card > .pending-text svg { width: 13px; height: 13px; }
  .bill-card > footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e2ecd4; }
  .bill-card footer button { font-size: 14px; }
  .document-intro { align-items: flex-start; flex-wrap: wrap; }
  .document-intro > div:nth-child(2) { flex-basis: calc(100% - 95px); }
  .storage-meter { width: 100%; padding: 17px 0 0; border-top: 1px solid #d5e2ba; border-left: 0; }
  .storage-meter > strong { display: inline; margin-right: 15px; }
  .storage-meter > span { display: inline; }
  .storage-meter .progress { margin-top: 14px; }
  .documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: 1fr; }
  .role-description { min-height: 0; }
  .team-card .check-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .role-heading { margin-bottom: 12px; }
  .role-member { margin-top: 23px; }
  .settings-grid { grid-template-columns: 1fr; gap: 23px; }
  .roadmap-heading { flex-direction: column; gap: 14px; }
  .reset-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) {
  .sidebar { display: none; }
  .main { width: 100%; margin-left: 0; padding: 0 22px calc(110px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 76px; }
  .breadcrumb { display: flex; font-size: 0; }
  .breadcrumb > strong, .breadcrumb > span:not(.mobile-brand) { display: none; }
  .mobile-brand { display: block; color: #254d34; font-size: 25px; font-weight: 750; letter-spacing: 1px; }
  .top-actions { gap: 5px; }
  .top-actions .avatar { display: none; }
  .top-actions .ghost { padding-right: 8px; padding-left: 8px; font-size: 14px; }
  .top-actions .demo-badge { padding: 4px 7px; font-size: 10px; }
  .dashboard-hero { margin-top: 20px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-calendar { width: 135px; padding-left: 25px; }
  .calendar-number { font-size: 72px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-copy .hero-actions { margin-top: 20px; }
  .hero-copy .eyebrow { font-size: 11px; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 8px 9px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #dce4c9; background: #fcfff4f5; box-shadow: 0 -4px 20px #4a622209; backdrop-filter: blur(15px); }
  .mobile-nav .nav-button { min-height: 58px; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 2px; border-radius: 8px; color: #68735e; font-size: 11px; font-weight: 500; line-height: 1.4; text-align: center; }
  .mobile-nav .nav-button svg { width: 20px; height: 20px; color: #b4c59c; }
  .mobile-nav .nav-button.active { background: #eef6df; color: #68735e; font-weight: 650; }
  .mobile-nav .nav-button.active svg { color: #9fbb7e; }
  .mobile-nav .nav-button.active::after { display: none; }
  .page-footer { margin-top: 29px; font-size: 14px; }
  .toast { right: 15px; bottom: calc(95px + env(safe-area-inset-bottom)); left: 15px; max-width: none; padding: 14px 17px; font-size: 14px; }
  .page-heading { padding: 29px 0 25px; }
  .page-heading .hero-actions { max-width: none; }
  .page-heading > div:first-child { flex: 1; }
}
@media (max-width: 520px) {
  .main { padding-right: 17px; padding-left: 17px; }
  .topbar { min-height: 71px; }
  .mobile-brand { font-size: 24px; }
  .top-actions .demo-badge { font-size: 9px; }
  .top-actions .ghost { font-size: 14px; }
  .dashboard-hero { min-height: 158px; margin-top: 17px; padding: 20px 22px; border-radius: 15px; }
  .hero-copy .eyebrow { max-width: none; margin-bottom: 7px; color: #c8c18c; font-size: 10px; letter-spacing: 1.25px; }
  .hero-copy h1 { max-width: none; margin-right: 0; margin-bottom: 0; color: #f5f1da; font-size: 26px; font-weight: 650; line-height: 1.4; }
  .hero-copy > p:not(.eyebrow) { display: none; }
  .hero-copy .hero-actions { gap: 8px; margin-top: 17px; }
  .hero-copy .hero-actions button { min-height: 44px; padding: 10px 13px; font-size: 14px; }
  .hero-copy .hero-actions svg { width: 17px; height: 17px; }
  .hero-calendar { display: none; }
  .calendar-month { font-size: 9px; line-height: 1.7; }
  .calendar-number { margin-top: 2px; color: #e3d19a; font-size: 48px; letter-spacing: -2px; }
  .calendar-weekday { margin-top: 5px; color: #cdd4b7; font-size: 10px; letter-spacing: 0; }
  .calendar-line, .hero-calendar > span { display: none; }
  .hero-city { right: 85px; width: 110px; opacity: .07; }
  .hero-city i { width: 35px; }
  .day-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 12px 0; }
  .day-stat { min-height: 85px; padding: 10px 9px; border-radius: 9px; }
  .day-stat-icon { display: none; }
  .day-stat-icon svg { width: 14px; height: 14px; }
  .day-stat p { min-height: 34px; font-size: 12px; line-height: 1.4; }
  .day-stat-number { display: block; margin-top: 1px; font-size: 27px; line-height: 1.2; }
  .day-stat > div:last-child { display: block; width: 100%; }
  .day-stat > div:last-child > span { display: none; }
  .overdue-banner { flex-wrap: nowrap; column-gap: 10px; margin-bottom: 16px; padding: 10px 12px; border-radius: 10px; }
  .overdue-banner-icon { width: 28px; height: 28px; }
  .overdue-banner-icon svg { width: 15px; height: 15px; }
  .overdue-banner > div { flex: 1; }
  .overdue-banner strong { font-size: 14px; line-height: 1.8; }
  .overdue-banner p { display: none; }
  .overdue-banner .link-button { min-height: 44px; margin: 0; padding-left: 0; font-size: 12px; }
  .dashboard-work { gap: 18px; }
  .dashboard-side { gap: 18px; }
  .panel { border-radius: 14px; }
  .panel-head { align-items: center; gap: 8px; padding: 22px 19px 16px; }
  .panel-head h2 { font-size: 21px; }
  .section-kicker { margin-bottom: 6px; font-size: 10px; letter-spacing: 1.5px; }
  .link-button { font-size: 14px; }
  .count-badge { width: 22px; height: 22px; margin-left: 8px; font-size: 14px; vertical-align: 2px; }
  .week-wrap, .week-wrap.compact { padding: 0 18px 17px; }
  .week-caption { gap: 7px; margin-bottom: 9px; }
  .week-caption > span { font-size: 14px; }
  .week-caption .small { padding-right: 8px; padding-left: 8px; font-size: 14px; }
  .week-arrow { width: 44px; min-width: 44px; min-height: 44px; padding: 6px; font-size: 23px; }
  .week-strip { grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 1px; overflow-x: auto; }
  .week-day { min-height: 74px; padding: 9px 1px; border-radius: 7px; }
  .week-wrap.compact .week-day { min-height: 56px; padding: 5px 1px; border-radius: 6px; }
  .week-day > span { font-size: 14px; }
  .week-day > strong { font-size: 21px; }
  .work-list { padding: 0 18px; }
  .work-item { grid-template-columns: 34px minmax(0, 1fr); column-gap: 11px; row-gap: 8px; padding: 21px 0; }
  .work-time { display: flex; grid-column: 2; align-items: baseline; gap: 9px; padding: 0; }
  .work-time strong { font-size: 14px; }
  .work-time span { margin-top: 0; font-size: 14px; }
  .work-symbol { width: 33px; height: 33px; grid-column: 1; grid-row: 1 / 3; margin-top: 4px; border-radius: 8px; }
  .work-content { grid-column: 2; }
  .work-title-line { gap: 5px 10px; }
  .task-title { min-height: 44px; color: #3e623f; font-size: 16px; line-height: 1.7; }
  .work-money { margin-left: 0; color: #68735e; font-size: 17px; }
  .work-meta { gap: 4px 10px; margin-top: 4px; font-size: 14px; line-height: 1.8; }
  .work-meta > span:first-child { flex-basis: 100%; }
  .work-meta .status { font-size: 14px; }
  .work-actions { grid-column: 2; gap: 7px; margin-top: 5px; }
  .work-actions .small { font-size: 14px; }
  .panel-bottom-note { padding: 14px 18px; font-size: 14px; }
  .queue-explainer { margin: -3px 19px 17px; font-size: 14px; }
  .dashboard-side .payment-review-list { grid-template-columns: 1fr; }
  .payment-review-list { gap: 13px; padding: 0 18px 19px; }
  .payment-review-card { padding: 18px; }
  .review-card-top h3 { font-size: 16px; }
  .review-card-top p { font-size: 14px; }
  .review-mark { width: 33px; height: 37px; }
  .reported-amount > span { font-size: 14px; }
  .reported-amount > strong { font-size: 26px; }
  .review-status { margin-top: 9px; font-size: 14px; }
  .review-card-bottom > span { font-size: 14px; }
  .review-card-bottom .primary { min-height: 44px; font-size: 14px; }
  .quick-panel { padding: 21px; }
  .quick-panel h3 { font-size: 14px; }
  .quick-action { min-height: 48px; font-size: 14px; }
  .portfolio-bottom { gap: 19px; margin-top: 30px; }
  .section-heading { align-items: center; gap: 12px; margin-bottom: 17px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading .link-button { font-size: 14px; }
  .property-grid { grid-template-columns: 1fr; gap: 15px; }
  .property-preview { padding: 24px; }
  .property-preview-top { margin-bottom: 15px; }
  .property-preview-top > span, .property-location { font-size: 14px; }
  .property-preview h3 .text-button { font-size: 23px; }
  .unit-facade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 20px; }
  .unit-tile { min-height: 57px; gap: 5px; font-size: 16px; }
  .property-amount > span { font-size: 14px; }
  .property-amount > strong { margin-top: 5px; font-size: 27px; }
  .collection-progress { margin-top: 16px; }
  .collection-progress > div:last-child { margin-top: 9px; font-size: 14px; }
  .collection-progress strong { font-size: 14px; }
  .property-pending { font-size: 14px; }
  .portfolio-bottom .activity-list { display: block; padding: 0 21px 22px; }
  .activity-item p { font-size: 15px; }
  .activity-item time { font-size: 14px; }
  .route-note { font-size: 14px; }
  .page-heading { align-items: stretch; flex-direction: column; gap: 21px; padding: 27px 0 24px; }
  .page-heading h1 { font-size: 32px; }
  .page-heading .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .page-heading > div > p:last-child:not(.eyebrow) { margin-top: 10px; font-size: 16px; }
  .page-heading .hero-actions { width: 100%; justify-content: flex-start; gap: 9px; }
  .page-heading .hero-actions button { font-size: 14px; }
  .filter-toolbar { gap: 11px; margin-bottom: 23px; padding: 14px; border-radius: 10px; }
  .filter-toolbar > label { width: 100%; }
  .search-field { width: 100%; }
  .filter-button { min-height: 44px; padding-right: 11px; padding-left: 11px; font-size: 14px; }
  .schedule-board .week-wrap { padding: 16px 17px 19px; }
  .schedule-board .week-day { min-height: 82px; }
  .schedule-board .week-day > strong { font-size: 24px; }
  .schedule-controls { gap: 16px; padding: 19px 17px; }
  .schedule-controls .filters { gap: 5px; }
  .schedule-controls .inline-actions { gap: 10px; }
  .schedule-controls .inline-actions > label { flex-basis: calc(50% - 5px); }
  .schedule-controls .inline-actions .property-filter { flex-basis: 100%; }
  .schedule-controls select, .schedule-controls input { font-size: 14px; }
  .schedule-search { gap: 11px; padding: 18px 17px; }
  .schedule-search .search-field { max-width: none; }
  .schedule-search > span { font-size: 14px; }
  .agenda-day-head { gap: 10px; padding: 16px 18px; }
  .agenda-day-head h2 { font-size: 18px; }
  .agenda-day-head small { margin-left: 9px; font-size: 14px; }
  .property-group + .property-group { margin-top: 29px; padding-top: 26px; }
  .property-group-head { gap: 19px; margin-bottom: 18px; }
  .property-title { gap: 11px; }
  .property-title p { font-size: 14px; }
  .property-title h2 { font-size: 25px; }
  .property-title h2 > span { margin-left: 12px; font-size: 14px; }
  .property-group-totals { width: 100%; justify-content: space-between; }
  .property-group-totals > span:first-child { text-align: left; }
  .property-group-totals strong { font-size: 20px; }
  .rooms-grid { grid-template-columns: 1fr; gap: 17px; }
  .room-card { border-radius: 13px; }
  .room-card-heading { padding: 24px 24px 16px; }
  .room-number { font-size: 43px; }
  .room-card-heading .status { font-size: 14px; }
  .room-tenant { padding: 0 24px; }
  .room-tenant > strong { font-size: 17px; }
  .room-tenant .tag { font-size: 11px; }
  .room-facts { gap: 23px 17px; padding: 26px 24px; }
  .room-facts dt { font-size: 14px; }
  .room-facts dd { margin-top: 6px; font-size: 17px; }
  .room-card-foot { gap: 10px; padding: 17px 24px 10px; }
  .room-card-foot button { min-height: 44px; font-size: 14px; }
  .room-contact-note { padding: 0 24px 18px; font-size: 14px; }
  .finance-strip { gap: 13px 15px; padding: 19px; border-radius: 12px; }
  .finance-strip > div { padding-right: 12px; }
  .finance-strip > div > span { font-size: 14px; }
  .finance-strip strong { margin-top: 7px; font-size: 17px; letter-spacing: -.6px; }
  .finance-strip p { padding-top: 12px; border-top: 1px solid #e3ead3; font-size: 14px; }
  .payment-review-list.horizontal { grid-template-columns: 1fr; padding: 0 18px 20px; }
  .payment-queue:has(.horizontal) { margin-bottom: 23px; }
  .bills-panel .panel-head { flex-wrap: wrap; gap: 14px; padding-bottom: 18px; }
  .results-count { font-size: 14px; }
  .bill-filters { gap: 4px; padding: 0 18px 20px; }
  .bill-filters .filter-button { padding-right: 10px; padding-left: 10px; font-size: 14px; }
  .bill-cards { grid-template-columns: 1fr; gap: 15px; padding: 0 17px 19px; }
  .bill-card { padding: 21px; }
  .bill-card header h3 { font-size: 17px; }
  .bill-card header p { font-size: 14px; }
  .bill-card-amount > strong { font-size: 28px; }
  .bill-card-amount .status { font-size: 14px; }
  .bill-card-meta { margin-top: 13px; font-size: 14px; }
  .bill-card > .pending-text { font-size: 14px; }
  .bill-card footer button { min-height: 44px; font-size: 14px; }
  .document-intro { align-items: flex-start; gap: 17px; padding: 22px; border-radius: 14px; }
  .document-intro-symbol { width: 53px; height: 58px; margin-top: 3px; border-radius: 12px; }
  .document-intro-symbol > svg { width: 30px; height: 30px; }
  .document-intro-symbol > i { width: 25px; height: 28px; }
  .document-intro-symbol i svg { width: 16px; height: 16px; }
  .document-intro > div:nth-child(2) { flex-basis: calc(100% - 75px); }
  .document-intro h2 { font-size: 20px; line-height: 1.6; }
  .document-intro p { margin-top: 9px; font-size: 14px; }
  .storage-meter { padding-top: 16px; }
  .storage-meter > strong { font-size: 24px; }
  .storage-meter small, .storage-meter > span { font-size: 14px; }
  .documents-grid { grid-template-columns: 1fr; gap: 18px; }
  .document-preview { height: 210px; }
  .document-info { padding: 23px 23px 17px; }
  .document-info h3 { font-size: 18px; }
  .document-info p { font-size: 14px; }
  .document-info > span:last-child { font-size: 14px; }
  .document-actions { padding: 0 23px 23px; }
  .document-actions button { font-size: 14px; }
  .document-empty .empty-state { padding: 38px 24px; }
  .empty-state h3 { font-size: 21px; }
  .empty-state p { font-size: 15px; }
  .collaboration-banner { align-items: flex-start; gap: 13px; padding: 22px; }
  .collaboration-banner > span { width: 38px; height: 38px; border-radius: 10px; }
  .collaboration-banner > span svg { width: 21px; height: 21px; }
  .collaboration-banner h2 { font-size: 19px; line-height: 1.6; }
  .collaboration-banner p { font-size: 14px; }
  .team-card { padding: 26px; }
  .team-card > h2 { font-size: 27px; }
  .role-description { font-size: 16px; }
  .team-card .check-list { display: flex; gap: 14px; }
  .check-list li { font-size: 15px; }
  .role-member { margin: 25px -26px -26px; padding: 21px 26px; }
  .role-member strong { font-size: 14px; }
  .role-member small { font-size: 14px; }
  .role-member .status { font-size: 14px; }
  .team-next { gap: 24px; margin-top: 25px; padding: 25px; }
  .team-next h2 { font-size: 24px; }
  .team-next p:last-child { font-size: 15px; }
  .team-flow { gap: 7px; }
  .team-flow > span { padding: 9px 10px; font-size: 14px; }
  .team-flow svg { width: 13px; height: 13px; }
  .settings-card { padding: 26px; border-radius: 14px; }
  .settings-card h2 { font-size: 25px; }
  .settings-card > p:not(.section-kicker):not(.form-note) { font-size: 16px; }
  .settings-card .inline-actions { gap: 10px; }
  .settings-card .inline-actions button { font-size: 14px; }
  .data-counts { gap: 32px; }
  .data-counts > span { font-size: 14px; }
  .data-counts strong { font-size: 30px; }
  .install-steps { gap: 19px; }
  .install-steps strong, .install-steps span { font-size: 14px; }
  .roadmap-panel { margin-top: 25px; padding: 26px; border-radius: 14px; }
  .roadmap-heading h2 { font-size: 24px; }
  .roadmap-heading > span { font-size: 14px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 27px; }
  .roadmap-grid article { padding-top: 22px; }
  .roadmap-grid article > span { font-size: 31px; }
  .roadmap-grid h3 { font-size: 20px; }
  .roadmap-grid p { font-size: 16px; }
  .reset-panel { gap: 20px; margin-top: 25px; padding: 25px; }
  .reset-panel h3 { font-size: 19px; }
  .reset-panel p { font-size: 15px; }
  .reset-panel button { font-size: 14px; }
  .page-footer { flex-direction: column; gap: 10px; font-size: 14px; }
  dialog { width: calc(100vw - 22px); max-height: 92dvh; border-radius: 15px; }
  .dialog-header { padding: 18px 21px; }
  .dialog-header h2 { font-size: 21px; }
  .dialog-body { padding: 23px 21px; }
  .dialog-footer { gap: 9px; padding: 17px 21px 22px; }
  .dialog-footer button { font-size: 14px; }
  .form-grid { gap: 18px 13px; }
  label { font-size: 14px; }
  input, select, textarea { min-height: 46px; font-size: 16px; }
  input[type='checkbox'], input[type='radio'] { min-height: 19px; }
  .form-note { font-size: 14px; }
  .notice { padding: 14px 15px; font-size: 14px; }
  .detail-grid { gap: 12px; }
  .detail-item { padding: 15px; }
  .detail-item strong { font-size: 17px; }
  .receipt { padding: 21px; font-size: 15px; }
  .proof-preview { align-items: flex-start; gap: 13px; padding: 14px; }
  .proof-preview > img { width: 75px; height: 95px; }
  .proof-preview strong { font-size: 14px; }
  .proof-preview button { font-size: 14px; }
}
@media (max-width: 370px) {
  .main { padding-right: 13px; padding-left: 13px; }
  .top-actions { gap: 1px; }
  .top-actions .demo-badge { font-size: 8px; }
  .hero-copy h1 { max-width: none; font-size: 24px; }
  .hero-copy .eyebrow { font-size: 8px; }
  .hero-calendar { right: 16px; width: 65px; padding-left: 10px; }
  .calendar-number { font-size: 43px; }
  .day-stat { gap: 7px; padding-right: 10px; padding-left: 10px; }
  .day-stat p { font-size: 11px; }
  .day-stat-icon { width: 23px; height: 23px; }
  .day-stat-number { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .finance-strip { padding-right: 14px; padding-left: 14px; gap: 10px; }
  .finance-strip strong { font-size: 15px; }
  .team-flow { gap: 5px; }
  .team-flow > span { padding-right: 8px; padding-left: 8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  body { background: #fff; }
  .app-shell, .toast, .dialog-header, .dialog-footer { display: none !important; }
  dialog[open] { position: static; display: block; width: 100%; max-width: none; max-height: none; overflow: visible; margin: 0; border: 0; box-shadow: none; }
  dialog::backdrop { display: none; }
  .dialog-body { padding: 0; }
  .receipt { border: 0; background: #fff; color: #222; }
}
