:root {
  --forest: #183e35;
  --forest-soft: #28574a;
  --ink: #253b34;
  --muted: #67776f;
  --faint: #859189;
  --canvas: #f5f6f2;
  --surface: #fff;
  --line: #e3e8e0;
  --mint: #edf4ed;
  --amber: #976b2d;
  --amber-bg: #faf2e2;
  --danger: #a54939;
  --radius: 12px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans Bengali', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #82b596; outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { min-width: 0; }
[hidden] { display: none !important; }
.icon { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 100; padding: 10px 20px; background: white; border: 2px solid var(--forest); border-radius: 7px; }
.skip-link:focus { top: 10px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; padding: 29px 18px 18px; display: flex; flex-direction: column; background: var(--forest); color: #e5eee7; z-index: 40; overflow-y: auto; }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 7px; color: white; font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.brand:hover { text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 40px; background: #dce9cc; color: var(--forest); border-radius: 10px; }
.brand-icon .icon { width: 25px; height: 25px; }
.brand small { display: block; margin-top: 1px; color: #a6bcb0; font-size: 10px; font-weight: 400; letter-spacing: .2px; }
.workspace-name { display: flex; align-items: center; gap: 10px; padding: 15px 10px; margin: 29px 0 23px; border: 1px solid #ffffff20; border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; }
.workspace-name small { display: block; color: #9eb6a9; font-size: 10px; }
.workspace-avatar { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; background: #ffffff14; border: 1px solid #ffffff18; border-radius: 7px; font-size: 12px; }
.nav-label { margin: 0 12px 9px; color: #91ad9e; font-size: 9px; letter-spacing: 1.6px; font-weight: 600; }
.sidebar nav { display: grid; gap: 3px; }
.sidebar nav .nav-label { margin-top: 23px; }
.nav-item { padding: 10px 12px; display: flex; gap: 12px; align-items: center; color: #c1d1c7; border-radius: 7px; font-size: 12px; min-height: 41px; }
.nav-item .icon { width: 18px; height: 18px; opacity: .85; }
.nav-item:hover { background: #ffffff0d; text-decoration: none; color: white; }
.nav-item.selected { color: #fff; background: #ffffff15; box-shadow: inset 3px 0 #bed4a4; font-weight: 600; }
.nav-item.selected .icon { color: #d2e5b7; opacity: 1; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 25px 9px 0; border-top: 1px solid #ffffff18; font-size: 12px; }
.sidebar nav { padding-bottom: 24px; }
.sidebar-footer small { display: block; color: #9eb6a9; font-size: 10px; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; background: #e3e8d5; color: var(--forest); border-radius: 50%; font-size: 12px; font-weight: 600; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8ec18a; }
.sidebar-footer>.status-dot { margin-left: auto; }
main { margin-left: 238px; }
.topbar { height: 73px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 0 38px; background: #fafbf7; gap: 12px; }
.topbar-left, .header-actions { display: flex; align-items: center; gap: 19px; }
.breadcrumb { display: flex; align-items: center; gap: 13px; color: var(--faint); font-size: 11px; }
.breadcrumb>span { color: #c1c9be; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.language { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; background: white; }
.language a { padding: 4px 10px; color: var(--muted); border-radius: 4px; }
.language a.active { background: var(--mint); color: var(--forest); font-weight: 600; }
.language a:hover { text-decoration: none; background: #f0f4eb; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; border: 0; width: 37px; height: 37px; padding: 7px; border-radius: 6px; color: var(--muted); background: transparent; }
.icon-button:hover { background: #eaf0e7; }
.mobile-menu, .mobile-scrim { display: none; }
.content { max-width: 1530px; padding: 34px 38px; margin: auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
h1 { font-size: 29px; line-height: 1.3; letter-spacing: -.85px; margin: 0 0 7px; font-weight: 650; }
h2 { font-size: 16px; line-height: 1.5; letter-spacing: -.25px; margin: 0; font-weight: 650; }
h3 { font-size: 14px; line-height: 1.6; margin: 0 0 6px; font-weight: 600; }
p { margin: 0 0 15px; }
.page-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.eyebrow { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.7px; color: var(--muted); }
.date-pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 10px; color: var(--muted); border: 1px solid var(--line); background: #fff; padding: 7px 11px; border-radius: 7px; }
.date-pill .icon { width: 14px; height: 14px; }
.primary, .secondary, .light-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; line-height: 1.5; font-weight: 550; padding: 11px 16px; border-radius: 7px; min-height: 41px; border: 1px solid transparent; white-space: nowrap; }
.primary { background: var(--forest); color: #fff; }
.primary:hover { background: var(--forest-soft); text-decoration: none; }
.secondary, .light-button { background: #fff; border-color: var(--line); color: var(--forest); }
.secondary:hover, .light-button:hover { text-decoration: none; background: #f3f6ef; border-color: #cbd7c8; }
.primary .icon, .secondary .icon { width: 16px; height: 16px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--forest); border: 0; padding: 3px 0; font-size: 11px; white-space: nowrap; }
.text-button .icon { width: 15px; height: 15px; }
.text-button:hover { text-decoration: underline; }
.danger { color: var(--danger); }
.compact { padding: 7px 11px; min-height: 34px; }
.full-width { width: 100%; }
.full { grid-column: 1/-1; }
.dashboard-intro { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 23px 27px; border: 1px solid #dce5d3; border-radius: var(--radius); background: #eaf0df; margin-bottom: 22px; }
.dashboard-intro h2 { font-family: Georgia, 'Noto Serif Bengali', serif; font-size: 25px; font-weight: 400; margin: 7px 0 6px; letter-spacing: -.6px; }
.dashboard-intro p { font-size: 11px; margin: 0; color: #68795b; }
.dashboard-intro .eyebrow { color: #6e835e; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 23px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 19px 19px 17px; min-width: 0; }
.stat-label { display: flex; justify-content: space-between; gap: 5px; align-items: center; font-size: 11px; color: var(--muted); }
.stat-icon { display: inline-flex; justify-content: center; align-items: center; border-radius: 7px; width: 29px; height: 29px; background: #f0f3ed; color: #7b907f; }
.stat-icon .icon { width: 16px; height: 16px; }
.stat-icon.paid { color: #4e8762; background: #edf4ec; }
.stat-icon.due { color: #a67f3a; background: #fcf4e6; }
.stat>strong { font-size: clamp(21px,2vw,28px); letter-spacing: -.8px; display: block; font-weight: 600; margin: 12px 0 8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat>strong small { color: #8b9a87; font-size: 18px; font-weight: 400; }
.stat-note { font-size: 9px; color: var(--faint); }
.card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 22px; min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 18px; }
.section-heading h2 { display: flex; align-items: center; gap: 9px; }
.section-heading p { color: var(--muted); font-size: 10px; margin: 3px 0 0; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(240px,1fr); gap: 22px; }
.chart-legend { display: flex; align-items: center; gap: 18px; font-size: 10px; color: var(--muted); margin-top: 23px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; }
.legend-billed { background: #c4d3b2; }
.legend-paid { background: var(--forest-soft); }
.chart-legend small { margin-left: auto; font-size: 9px; }
.trend-chart { width: 100%; height: auto; display: block; margin-top: 13px; }
.chart-grid { stroke: #e9eee4; stroke-dasharray: 3 4; fill: none; }
.bar-billed { fill: #c4d3b2; }
.bar-paid { fill: var(--forest-soft); }
.trend-chart text { fill: #788774; font: 10px sans-serif; }
.chart-data { margin-top: 6px; font-size: 10px; color: var(--muted); }
.chart-data summary { cursor: pointer; }
.property-summary { display: flex; flex-direction: column; }
.property-summary .section-heading>.icon { color: #97a68e; }
.occupancy-value { font-size: 47px; letter-spacing: -2px; font-weight: 550; margin-top: 8px; line-height: 1.3; }
.occupancy-value small { color: #a2ae9c; font-size: 25px; font-weight: 400; }
.property-summary>.muted { font-size: 10px; margin: 2px 0 14px; }
progress { width: 100%; height: 7px; border: 0; border-radius: 10px; overflow: hidden; appearance: none; background: #eef1e8; }
progress::-webkit-progress-bar { background: #eef1e8; }
progress::-webkit-progress-value { background: #819f6a; border-radius: 10px; }
progress::-moz-progress-bar { background: #819f6a; }
.occupancy-labels { display: flex; justify-content: space-between; font-size: 10px; margin: 10px 0 18px; color: var(--muted); }
.occupancy-labels .status-dot { margin-right: 5px; background: #819f6a; }
.portfolio-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 16px; gap: 10px; margin-bottom: 18px; }
.portfolio-stats>div { display: flex; gap: 9px; align-items: center; }
.portfolio-stats strong { font-size: 19px; font-weight: 550; }
.portfolio-stats span { font-size: 10px; color: var(--muted); }
.property-summary>.secondary { margin-top: auto; }
.cashflow-strip { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); align-items: center; padding: 21px 25px; border: 1px solid #e0e5d7; background: #eef1e6; border-radius: 10px; gap: 15px; margin-bottom: 22px; }
.cashflow-strip>div>span:not(.eyebrow) { color: var(--muted); font-size: 10px; }
.cashflow-strip strong { display: block; font-size: 18px; font-weight: 550; margin-top: 3px; }
.cashflow-strip>div:first-child strong { font-size: 14px; }
.negative { color: var(--danger); }
.table-wrap { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 11px; text-align: left; }
th { padding: 12px 13px; background: #f8faf5; font-size: 9px; font-weight: 550; color: #73816b; white-space: nowrap; border-top: 1px solid #edf0e8; border-bottom: 1px solid #e8ede3; }
td { padding: 16px 13px; border-bottom: 1px solid #edf0e9; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
td strong { font-weight: 550; }
td small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
tbody tr:hover { background: #fbfcf8; }
tfoot th { background: #f0f4e9; font-weight: 600; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; font-size: 9px; font-weight: 500; white-space: nowrap; background: #f1f3ed; color: #6e7d68; }
.badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.badge.green { background: #edf5ea; color: #4f7851; }
.badge.amber { background: var(--amber-bg); color: var(--amber); }
.badge.neutral { background: #f0f2ef; color: #7c8578; }
.person-name { display: inline-flex; align-items: center; gap: 9px; font-weight: 550; }
.person-avatar { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: #eaf0e1; color: #6e855f; font-size: 11px; flex-shrink: 0; }
.person-avatar.large { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; }
.table-action { display: inline-grid; place-items: center; color: #8c9a82; padding: 5px; border-radius: 5px; }
.table-action:hover { background: var(--mint); }
.table-action .icon { width: 16px; height: 16px; }
.empty { text-align: center; padding: 45px 20px; max-width: 470px; margin: auto; }
.empty-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border: 1px solid #e0e7d9; border-radius: 15px; color: #94a585; background: #f5f8ee; margin-bottom: 16px; }
.empty-icon .icon { width: 24px; height: 24px; }
.empty h3 { font-size: 15px; margin-bottom: 7px; }
.empty p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.empty .secondary { margin-top: 5px; }
.setup-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 25px; background: #fcfdf8; }
.setup-card h2 { font-size: 20px; margin: 8px 0; }
.setup-card p { font-size: 11px; color: var(--muted); }
.setup-steps { display: grid; gap: 8px; }
.setup-steps a { display: flex; align-items: center; gap: 10px; font-size: 11px; background: white; border: 1px solid var(--line); border-radius: 7px; padding: 9px 12px; }
.setup-steps a>.icon { margin-left: auto; width: 15px; }
.step-number { display: grid; place-items: center; width: 25px; height: 25px; color: #849475; background: #f0f4e8; border-radius: 50%; font-size: 10px; flex-shrink: 0; }
.step-number .icon { width: 13px; height: 13px; }
.step-number.complete { color: #50764d; background: #e5eedb; }
.recent-payments { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 25px; }
.recent-payments>a { display: flex; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.recent-payments>a>strong { margin-left: auto; font-size: 12px; font-weight: 550; }
.recent-payments small { display: block; color: var(--muted); font-size: 9px; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: #5e705f; font-weight: 500; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #dce4d6; border-radius: 6px; color: var(--ink); background: #fff; font-size: 12px; min-height: 41px; }
input::placeholder { color: #98a28f; font-size: 10px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #9ebc8b; outline-offset: 1px; border-color: #95af85; }
textarea { resize: vertical; line-height: 1.8; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 23px; }
.form-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.form-grid>.primary { align-self: end; justify-self: start; }
.form-grid>.primary.full { justify-self: stretch; }
.inline-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-top: 22px; }
.inline-form>label { flex: 1; min-width: 170px; }
.inline-form>.primary { min-width: 150px; }
.form-hint { color: var(--muted); font-size: 10px; line-height: 1.9; margin: 16px 0 0; }
.panel-hint { margin: 20px 0 0; }
.panel-hint a+a { margin-left: 20px; }
.form-panel { padding: 0; overflow: hidden; }
.form-panel>summary { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 18px 22px; font-size: 12px; font-weight: 600; list-style: none; }
.form-panel>summary::-webkit-details-marker { display: none; }
.form-panel>summary>.icon { color: #749561; width: 17px; height: 17px; }
.form-panel>summary>span { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: auto; }
.form-panel[open]>summary { border-bottom: 1px solid var(--line); background: #fcfdf9; }
.form-panel>form { margin: 23px; }
.form-panel>.form-hint, .form-panel>.panel-hint { margin: 0 23px 22px; }
.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 19px; }
.filters>label { flex: 0 1 150px; }
.filters>.search-field { flex: 1 1 190px; position: relative; }
.search-field>.icon { position: absolute; left: 11px; top: 12px; width: 16px; height: 16px; color: #8a9b7f; }
.search-field input { padding-left: 34px; }
.filters select, .filters input { font-size: 10px; background: #fcfdf9; }
.filters .secondary { min-height: 41px; }
.two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-bottom: 22px; }
.property-tile { margin: 0; padding: 22px; }
.property-tile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.property-symbol { display: grid; place-items: center; width: 43px; height: 43px; background: #eef3e7; color: #6f8d5c; border-radius: 11px; }
.property-symbol .icon { width: 24px; height: 24px; }
.property-tile h2 { font-size: 18px; }
.property-tile>p { color: var(--muted); font-size: 11px; margin: 5px 0 20px; min-height: 18px; overflow-wrap: anywhere; }
.property-tile-stats { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding: 15px 0; }
.unit-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.unit-tags>a { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 5px; padding: 4px 8px; font-size: 10px; color: #849078; }
.unit-tags>a.occupied { background: #f0f5e9; border-color: #dee7d3; color: #6a8456; }
.unit-status-dot { width: 4px; height: 4px; background: #bcc6b4; border-radius: 50%; }
.occupied .unit-status-dot { background: #8dab70; }
.count-badge { display: inline-block; padding: 2px 7px; border-radius: 5px; background: #f1f4ec; color: #829075; font-size: 10px; font-weight: 400; }
.account-card { max-width: 650px; }
.account-form { grid-template-columns: 1fr; }
.account-form>.button-row { margin-top: 8px; }
.button-row { display: flex; align-items: center; gap: 9px; }
.account-form .button-row { justify-content: space-between; }
.checkbox-label { flex-direction: row; align-items: start; gap: 10px; line-height: 1.8; }
.checkbox-label input { flex-shrink: 0; width: 17px; min-height: 17px; margin: 2px 0 0; accent-color: var(--forest); }
.confirm-amount { font-size: 28px; font-weight: 600; margin: 15px 0; }
.notice { display: flex; align-items: start; gap: 10px; background: #edf3e5; border: 1px solid #dbe7cf; color: #60744f; border-radius: 8px; padding: 13px 16px; margin-bottom: 21px; font-size: 11px; line-height: 1.8; }
.notice>.icon { width: 17px; height: 17px; margin-top: 1px; }
.notice.error { background: #fcf0eb; border-color: #eed8cd; color: #a45f45; }
.muted { font-size: 12px; color: var(--muted); }
.tenant-heading { display: flex; gap: 15px; align-items: center; }
.tenant-heading h1 { margin-bottom: 5px; }
.back-link { font-size: 11px; margin-bottom: 19px; display: block; }
.inline-divider { color: #c0c9b9; padding: 0 10px; }
.lease-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 23px; }
.lease-tabs>a { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 11px; white-space: nowrap; }
.lease-tabs>a.active { border-color: #b2c79c; background: #f0f5e8; }
.lease-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lease-summary>div>span { color: var(--muted); font-size: 10px; display: block; }
.lease-summary strong { font-size: 12px; display: block; font-weight: 550; margin-top: 5px; }
.lease-summary small { display: block; color: var(--muted); font-size: 9px; }
.voided-row td { color: #91988a; }
.voided-row td:nth-child(4) { text-decoration: line-through; }
.bill-breakdown summary { cursor: pointer; color: var(--muted); font-size: 10px; white-space: nowrap; }
.bill-breakdown dl { min-width: 150px; margin: 10px 0 0; padding: 9px; background: #f6f8f2; border-radius: 6px; }
.bill-breakdown dl>div { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; }
.bill-breakdown dd { margin: 0; }
.span-two { grid-column: span 2; }
.summary-amount { font-size: 10px; color: var(--muted); }
.summary-amount strong { color: var(--ink); margin-left: 8px; font-size: 12px; font-weight: 550; }
.report-toolbar .inline-form { margin: 0; }
.report-toolbar .inline-form>label { max-width: 240px; }
.report-notes { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 15px; }
.report-notes h3 { font-size: 11px; }
.report-notes p { font-size: 10px; color: var(--muted); margin-bottom: 8px; max-width: 850px; }
.reminder-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.reminder-grid>.full-width { grid-column: 1/-1; }
.reminder { margin: 0; }
.reminder textarea { font-size: 14px; background: #fbfcf7; }
.reminder-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 11px; }
.receipt-sheet { max-width: 820px; padding: 42px; border: 1px solid var(--line); border-radius: 12px; margin: 0 auto; background: #fff; }
.receipt-header { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 27px; border-bottom: 2px solid var(--forest); }
.receipt-header>div:last-child { text-align: right; }
.receipt-header h2 { font-size: 24px; margin-top: 9px; }
.receipt-header p { font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.receipt-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 28px 0; }
.receipt-parties h3 { margin: 8px 0 2px; }
.receipt-parties p { color: var(--muted); font-size: 11px; margin: 0; }
.receipt-amount { display: flex; justify-content: space-between; align-items: center; padding: 23px; background: #edf3e5; border-radius: 8px; margin-bottom: 25px; gap: 20px; }
.receipt-amount>span { font-size: 12px; }
.receipt-amount>strong { font-size: 30px; letter-spacing: -.8px; font-weight: 600; }
.receipt-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 0 0 25px; margin: 0 0 25px; border-bottom: 1px solid var(--line); }
.receipt-details dt { font-size: 10px; color: var(--muted); }
.receipt-details dd { margin: 5px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.receipt-footnote { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 25px; font-size: 10px; color: var(--muted); }
.void-banner { margin: 20px 0 0; padding: 15px; border: 1px dashed #d09b83; color: var(--danger); background: #fff7f2; text-align: center; font-weight: 600; }
.auth-sidebar-copy { margin: auto 10px; padding-bottom: 60px; }
.auth-sidebar-copy .eyebrow { color: #a6be9b; }
.auth-sidebar-copy h2 { font-family: Georgia,serif; font-size: 30px; line-height: 1.4; font-weight: 400; letter-spacing: -.4px; margin: 20px 0; color: #e4ebd9; }
.auth-sidebar-copy p { color: #a3bbac; font-size: 12px; }
.auth-intro { margin: 25px auto 26px; max-width: 500px; }
.auth-intro h1 { font-size: 32px; line-height: 1.55; letter-spacing: -.6px; margin: 10px 0; }
.auth-intro h1 span { color: #829a67; }
.auth-intro p { color: var(--muted); font-size: 12px; }
.auth-card { max-width: 500px; margin: 0 auto; padding: 30px; }
.auth-card h2 { font-size: 21px; margin-bottom: 7px; }
.auth-card .form-grid { grid-template-columns: 1fr; gap: 17px; }
.auth-card .form-hint { margin: 0; }
.auth-switch { font-size: 11px; color: var(--muted); margin: 24px 0 0; text-align: center; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: 90vw; background: var(--forest); color: white; box-shadow: 0 8px 28px #183e352b; border-radius: 8px; padding: 12px 20px; z-index: 100; font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 30px 0 5px; color: #89947f; font-size: 9px; }
.footer-separator { color: #bec8b4; padding: 0 7px; }
@media (min-width:1500px) { .content { padding: 40px 45px; }.stat { padding: 24px; }.trend-chart { max-height: 260px; }.dashboard-grid { grid-template-columns: 2fr 1fr; } }
@media (max-width:1180px) { .sidebar { width: 215px; }main { margin-left: 215px; }.content { padding: 28px; }.topbar { padding: 0 28px; }.stat { padding: 15px; }.stat>strong { font-size: 22px; }.dashboard-grid { grid-template-columns: minmax(0,1.6fr) minmax(220px,1fr); gap: 17px; }.property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.card { padding: 20px; }.form-panel { padding: 0; }.form-panel>summary>span { display: none; }.stats { gap: 11px; }.form-grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); }.lease-summary { flex-wrap: wrap; }.sidebar { padding-top: 24px; }.workspace-name { margin-top: 24px; } }
@media (max-width:960px) { .dashboard-grid { grid-template-columns: 1fr; }.property-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }.property-summary .section-heading { grid-column: 1/-1; }.property-summary progress, .property-summary .occupancy-labels { grid-column: 1; }.property-summary .portfolio-stats { grid-column: 2; grid-row: 2/5; align-self: center; border: 0; }.property-summary>.secondary { grid-column: 2; grid-row: 5; }.property-summary>.muted { grid-column: 1; }.stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.stat>strong { font-size: 27px; }.two-columns, .reminder-grid { grid-template-columns: 1fr; gap: 0; }.two-columns>.card { margin-bottom: 15px; }.reminder { margin-bottom: 18px; }.recent-payments { grid-template-columns: 1fr; }.setup-card { grid-template-columns: 1fr; gap: 10px; }.cashflow-strip { grid-template-columns: 1fr 1fr; gap: 20px; }.property-grid { gap: 15px; }.sidebar { width: 200px; }.brand { font-size: 17px; padding: 0 2px; }.brand-icon { width: 32px; height: 35px; }.brand small { font-size: 9px; }.sidebar .nav-item { font-size: 11px; }main { margin-left: 200px; }.content { padding: 24px; }.topbar { padding: 0 24px; }.receipt-sheet { padding: 28px; } }
@media (max-width:720px) { .sidebar { transform: translateX(-100%); width: 260px; transition: transform .18s ease; padding: 25px 20px; }.sidebar .nav-item { font-size: 13px; padding: 11px 12px; }.nav-open .sidebar { transform: translateX(0); }.nav-open .mobile-scrim { display: block; position: fixed; inset: 0; background: #102a2666; z-index: 35; }.nav-open { overflow: hidden; }.mobile-menu { display: inline-flex; }main { margin-left: 0; }.topbar { height: 64px; padding: 0 16px; }.topbar-left { gap: 8px; }.breadcrumb { font-size: 10px; gap: 8px; }.breadcrumb>span, .breadcrumb>strong { display: none; }.header-actions { gap: 9px; }.language a { padding: 4px 8px; }.content { padding: 25px 17px; }.page-heading { gap: 15px; margin-bottom: 22px; }h1 { font-size: 25px; }.page-heading p { font-size: 11px; }.page-heading>.date-pill { display: none; }.page-heading>.primary { font-size: 10px; padding: 10px 12px; }.page-heading>.primary .icon { display: none; }.dashboard-intro { padding: 22px; flex-wrap: wrap; }.dashboard-intro h2 { font-size: 24px; }.dashboard-intro .primary { margin-top: 3px; }.stats { gap: 11px; }.stat { padding: 15px; }.stat>strong { font-size: 24px; }.stat-label { font-size: 10px; }.stat-icon { width: 25px; height: 25px; }.stat-note { font-size: 8px; }.card { padding: 18px; margin-bottom: 18px; }.form-panel { padding: 0; }.form-panel>summary { padding: 17px 18px; }.form-panel>form { margin: 20px 18px; }.form-panel>.form-hint, .form-panel>.panel-hint { margin: 0 18px 18px; }.form-grid, .form-grid.three { grid-template-columns: 1fr; }.span-two { grid-column: auto; }.form-grid>.primary { justify-self: stretch; }.inline-form { gap: 14px; }.inline-form>label { min-width: 100%; }.inline-form>.primary, .inline-form>.secondary { flex: 1; }.filters { gap: 8px; }.filters>.search-field { flex: 1 1 100%; }.filters>label { flex: 1 1 120px; }.filters>.secondary { flex: 1; }.property-grid { grid-template-columns: 1fr; }.property-tile { margin-bottom: 0; }.property-grid { margin-bottom: 18px; }.property-summary { gap: 0 15px; }.occupancy-value { font-size: 38px; }.portfolio-stats { display: flex; flex-direction: column; align-items: start; gap: 14px; }.property-summary>.secondary { padding: 8px; font-size: 10px; }.property-summary>.secondary .icon { display: none; }.cashflow-strip { padding: 20px; }.cashflow-strip strong { font-size: 17px; }th, td { padding: 12px 10px; }.section-heading { align-items: start; gap: 10px; }.section-heading h2 { font-size: 15px; }.section-heading .button-row { gap: 5px; }.section-heading .button-row .secondary { font-size: 9px; padding: 6px; }.person-avatar { width: 25px; height: 25px; font-size: 10px; }.person-name { gap: 6px; }.tenant-heading .large { width: 43px; height: 43px; font-size: 18px; }.tenant-heading { gap: 11px; }.tenant-heading h1 { font-size: 23px; }.tenant-heading p { font-size: 10px; }.page-heading>.secondary { font-size: 10px; padding: 9px; }.page-heading>.secondary .icon { display: none; }.lease-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }.lease-summary>.primary { align-self: end; font-size: 10px; padding: 10px; }.summary-amount { text-align: right; }.summary-amount strong { display: block; margin: 2px 0 0; }.receipt-sheet { padding: 23px 20px; border-radius: 8px; }.receipt-header { gap: 15px; }.receipt-header h2 { font-size: 19px; }.receipt-header h3 { font-size: 12px; }.receipt-header p { font-size: 10px; }.receipt-header .eyebrow { font-size: 8px; }.receipt-parties { gap: 15px; }.receipt-parties .eyebrow { font-size: 8px; }.receipt-parties h3 { font-size: 12px; }.receipt-amount { padding: 18px; gap: 15px; }.receipt-amount>strong { font-size: 24px; white-space: nowrap; }.receipt-amount>span { font-size: 10px; }.receipt-details { gap: 12px; }.receipt-details dd { font-size: 11px; }.auth-intro { margin-top: 12px; }.auth-intro h1 { font-size: 29px; }.auth-card { padding: 24px; }.auth-sidebar-copy { margin: 50px 10px auto; }.auth-sidebar-copy h2 { font-size: 26px; }.back-link { margin-bottom: 15px; }footer { padding-top: 25px; flex-wrap: wrap; font-size: 8px; gap: 4px; }.toast { font-size: 11px; width: max-content; bottom: 18px; }.icon-button { width: 40px; height: 40px; }.text-button { min-height: 32px; }.table-action { min-height: 32px; min-width: 32px; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { @page { margin: 16mm; }body { background: #fff; color: #111; font-size: 11px; }.sidebar, .topbar, footer, .no-print, .page-heading>.button-row, .section-heading .button-row, .lease-tabs, .lease-summary>.primary, .back-link, .toast, .mobile-scrim, .skip-link, .form-panel, .filters { display: none !important; }main { margin: 0; }.content { padding: 0; max-width: none; }.card, .receipt-sheet { border: 0; padding: 10px 0; box-shadow: none; border-radius: 0; }.receipt-sheet { max-width: none; }.receipt-amount { border: 1px solid #b8c6a8; }.table-wrap { overflow: visible; }table { font-size: 10px; }tr { break-inside: avoid; }thead { display: table-header-group; }a { color: inherit; text-decoration: none; }.stat { padding: 10px; }.stat>strong { font-size: 19px; }.stats { gap: 10px; }.page-heading { margin-bottom: 20px; }.receipt-header { padding-bottom: 20px; }.void-banner { border: 2px solid #b36b4c; } }

/* Keep operational text readable on small screens, including Bangla glyphs. */
@media screen { table{font-size:12px} th{font-size:10px} .section-heading p{font-size:11px} .nav-item{font-size:13px} }
@media screen and (max-width:720px) { .page-heading p,.dashboard-intro p,.section-heading p,.muted,.form-hint{font-size:12px} label{font-size:12px} input,select,textarea{font-size:16px} input::placeholder{font-size:12px} .filters input,.filters select{font-size:12px} .stat-label{font-size:12px} .stat-note{font-size:10px} th{font-size:11px} td small{font-size:11px} .badge{font-size:11px} .portfolio-stats span,.occupancy-labels,.property-summary>.muted,.cashflow-strip>div>span:not(.eyebrow){font-size:11px} .summary-amount,.report-notes p,.report-notes h3{font-size:11px} .receipt-details dt,.receipt-header p,.receipt-parties p{font-size:11px} .recent-payments small{font-size:11px} .form-panel>summary{font-size:13px} .text-button{font-size:12px} .filters>.search-field input{font-size:16px} .card h2{font-size:16px} }
@media(max-width:720px) { .drawer-close{position:absolute;right:6px;top:6px;color:#c1d1c7;width:30px;height:30px}.drawer-close:hover{background:#ffffff18}.sidebar .brand{margin-top:12px} }
/* Financial values and dates stay intact; narrow tables scroll within their card. */
.numeric,.table-wrap td:first-child{white-space:nowrap}
.table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.receipt-header>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:360px){.page-heading.no-print{flex-wrap:wrap}.receipt-sheet{padding:20px 16px}.receipt-header{flex-direction:column;gap:18px}.receipt-header>div:last-child{text-align:left}.receipt-parties{grid-template-columns:1fr;gap:20px}.receipt-amount{flex-direction:column;align-items:flex-start;gap:8px}.receipt-details{grid-template-columns:1fr 1fr}}
.recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.recovery-codes code,.setup-key{padding:12px;background:#f0f4ea;border:1px solid var(--line);border-radius:6px;font-size:14px;overflow-wrap:anywhere}.setup-key{display:block;margin:18px 0;letter-spacing:1px}@media(max-width:400px){.recovery-codes{grid-template-columns:1fr}}
.account-card>.button-row{flex-wrap:wrap}

/* Plan actions wrap naturally on a phone instead of widening the admin workspace. */
.plan-links { flex-wrap: wrap; }
@media print { .demo-banner form,.demo-banner details { display: none !important; } }
