:root{color:#172033;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:10px 14px;font-weight:700}button:disabled{cursor:not-allowed;opacity:.6}input,select,textarea{color:#172033;background:#fff;border:1px solid #d8dfeb;border-radius:10px;width:100%;padding:10px 12px}textarea{resize:vertical;min-height:88px}h1,h2{margin:0}h1{font-size:clamp(2rem,5vw,3.5rem)}h2{font-size:1.2rem}h3,h4{margin:0}table{border-collapse:collapse;min-width:100%}td{vertical-align:top;border-bottom:1px solid #eef2f7;padding:12px}td:first-child{font-weight:700}.auth-shell,.app-shell{min-height:100vh;padding:32px}.auth-shell{justify-content:center;align-items:center;display:flex}.auth-card,.card{background:#ffffffe6;border:1px solid #d8dfebe6;border-radius:24px;box-shadow:0 24px 70px #1f2c471f}.auth-card{width:100%;max-width:520px;padding:36px}.admin-password-card{max-width:520px;margin-bottom:20px}.admin-filters{flex-wrap:wrap;gap:12px;margin-top:12px;display:flex}.admin-filters label{gap:4px;font-size:.8rem;display:grid}.admin-filters label:first-child{flex:240px}.admin-session-note{font-size:.8rem}.invite-card{margin-bottom:20px}.invite-card .admin-filters{align-items:end;margin-bottom:12px}.invite-link{border:1px solid #dbe3f0;border-radius:8px;margin-bottom:12px;padding:12px}.invite-link p{margin:0 0 8px}.invite-link-row{flex-wrap:wrap;gap:8px;display:flex}.invite-link-row input{flex:280px;min-width:0}.app-shell{max-width:1440px;margin:0 auto;padding-top:20px}.topbar,.card-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.topbar{margin-bottom:16px;position:relative}.header-greeting{min-width:0}.topbar h1{overflow-wrap:anywhere;font-size:clamp(1.35rem,2.3vw,1.75rem);line-height:1.3}.topbar .header-greeting .eyebrow{margin-bottom:3px;font-size:.65rem}.topbar .header-greeting .muted{margin:3px 0 0;font-size:.78rem}.profile-menu{flex:none;position:relative}.profile-trigger{color:#1c2b48;background:#fff;border:1px solid #d8dfeb;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:inline-flex}.profile-trigger:hover,.profile-trigger[aria-expanded=true]{background:#e9eef8;border-color:#3563e9}.profile-trigger:focus-visible{outline-offset:3px;outline:2px solid #3563e9}.profile-icon{color:#fff;background:#3563e9;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-weight:800;display:inline-flex}.profile-icon.large{flex:none;width:48px;height:48px;font-size:1.2rem}.profile-panel{z-index:20;gap:16px;width:min(420px,100vw - 64px);padding:20px;display:grid;position:absolute;top:calc(100% + 12px);right:0}.profile-panel-header{align-items:center;gap:12px;display:flex}.profile-panel-header p{margin:4px 0 0}.compact-form{gap:12px}.form-section{background:#f7f9fd;border:1px solid #e4eaf4;border-radius:16px;gap:12px;padding:16px;display:grid}.form-section p{margin:0}.logout-button{width:100%}.eyebrow{color:#3563e9;letter-spacing:.14em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:800}.muted{color:#66728a}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.filter-bar{background:#f8fbff;border:1px solid #dbe3f0;border-radius:16px;flex-wrap:wrap;align-items:end;gap:12px;margin-top:16px;padding:14px;display:flex}.filter-bar label{color:#344059;gap:6px;min-width:180px;font-size:.85rem;font-weight:700;display:grid}.property-bills-section .property-bills-header{flex-flow:wrap;align-items:center;gap:8px}.property-bills-heading{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.bill-result-count{color:#66728a;font-variant-numeric:tabular-nums;font-size:.78rem}.property-bills-toolbar{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.property-bills-toolbar button,.property-bills-header button{white-space:nowrap;border-radius:6px;min-height:32px;padding:6px 10px;font-size:.8rem}.bill-filter-trigger{align-items:center;gap:6px;display:inline-flex}.bill-filter-summary{text-overflow:ellipsis;white-space:nowrap;color:#66728a;flex:180px;min-width:0;font-size:.78rem;overflow:hidden}.property-bills-section>.table-wrap{margin-top:8px}.inline-checkbox{color:#334155;cursor:pointer;align-items:center;gap:8px;font-size:.9rem;font-weight:700;display:inline-flex}.inline-checkbox input{width:auto}.tenant-terms{border:1px solid #dbe3f0;border-radius:14px;gap:10px;padding:12px;display:grid}.tenant-terms h3{margin:0;font-size:.95rem}.tenant-term-row{grid-template-columns:minmax(140px,1fr) minmax(120px,180px);align-items:center;gap:10px;display:grid}.bill-tenant-option{background:#fff;border:1px solid #e6edf7;border-radius:12px;padding:10px 12px}.help-text{color:#66728a;font-size:.8rem;font-weight:500}.dropdown{position:relative}.dropdown-trigger{color:#172033;background:#fff;border:1px solid #d8dfeb;justify-content:space-between;align-items:center;width:100%;display:flex}.dropdown-menu{z-index:20;background:#fff;border:1px solid #d8dfeb;border-radius:14px;gap:4px;max-height:240px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 48px #1f2c4729}.dropdown-option{cursor:pointer;border-radius:10px;flex-direction:row;align-items:center;padding:9px 10px;gap:10px!important;display:flex!important}.dropdown-option:hover{background:#f4f7fb}.dropdown-option input{width:auto}.dropdown-empty{color:#66728a;margin:0;padding:10px}.selected-chips{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.selected-chips button{color:#174ea6;background:#e6f0ff;padding:6px 10px;font-size:.82rem}.toggle,.tabs{background:#e3e9f3;border-radius:14px;gap:6px;margin:24px 0;padding:6px;display:flex}.toggle button,.tabs button{color:#526078;text-transform:capitalize;background:0 0;flex:1}.toggle button.active,.tabs button.active{color:#172033;background:#fff;box-shadow:0 8px 20px #1f2c4714}.form{gap:14px;display:grid}.form label{color:#344059;gap:6px;font-size:.9rem;font-weight:700;display:grid}.primary{color:#fff;background:#3563e9}.secondary{color:#3563e9;background:#fff}.grid{grid-template-columns:minmax(320px,420px) 1fr;gap:24px;display:grid}.property-unit-page{gap:24px;display:grid}.property-unit-page>.card{min-width:0}.property-unit-page th{color:#526078;text-align:left;padding:10px 12px}.property-row.expandable{cursor:pointer}.property-row.expandable:hover,.property-row.expanded{background:#f4f7fc}.property-expand-trigger{color:inherit;text-align:left;background:0 0;align-items:center;gap:10px;padding:0;display:inline-flex}.property-expand-trigger:focus-visible{outline-offset:5px;outline:2px solid #3563e9}.property-chevron{border-bottom:2px solid #66728a;border-right:2px solid #66728a;flex:0 0 7px;width:7px;height:7px;transform:rotate(-45deg)}.property-expand-trigger[aria-expanded=true] .property-chevron{transform:rotate(45deg)}.property-unit-count{color:#66728a;white-space:nowrap;font-size:.75rem;font-weight:500}.property-units-row>td{padding:0 12px 20px 28px;font-weight:400}.property-units{background:#f8fbff;border-left:3px solid #dbe3f0;border-radius:8px;padding:12px 16px}.property-units h3{font-size:.9rem}.property-units .table-wrap{margin-top:8px}.card{padding:24px}.detail-grid{gap:14px;display:grid}.detail-grid div{background:#f7f9fd;border:1px solid #e4eaf4;border-radius:14px;gap:4px;padding:14px;display:grid}.detail-grid span{color:#6c7890;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.detail-grid strong{color:#1c2b48}.table-wrap{margin-top:16px;overflow-x:auto}.pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;display:flex}.pagination-summary{color:#526078;font-size:.8rem}.pagination-buttons{flex-wrap:wrap;gap:4px;display:flex}.pagination-buttons button{color:#1c2b48;background:#e9eef8;border-radius:6px;min-width:32px;min-height:32px;padding:6px 10px;font-size:.8rem}.pagination-buttons button:hover:not(:disabled){background:#dbe5f5}.pagination-buttons button[aria-current=page]{color:#fff;background:#315fbb}.pagination-buttons button:focus-visible{outline-offset:2px;outline:2px solid #315fbb}.compact-table{width:100%;font-size:.85rem}.compact-table th,.compact-table td{text-align:left;vertical-align:middle;white-space:nowrap;padding:8px 10px}.compact-table th{color:#526078;background:#f4f7fb;border-bottom:1px solid #d8dfeb;font-size:.75rem}.compact-table tbody tr:hover{background:#f8fbff}.rental-table .numeric,.property-bill-table .numeric,.property-bill-table th:nth-child(4),.rental-table th:nth-child(5),.rental-table th:nth-child(6),.rental-table th:nth-child(7){text-align:right;font-variant-numeric:tabular-nums}.compact-table .bill-description,.property-bill-table .property-name,.property-bill-table .bill-notes{text-overflow:ellipsis;max-width:240px;overflow:hidden}.property-bill-table .property-name,.property-bill-table .bill-notes{max-width:160px}.rental-row-actions,.compact-row-actions{flex-wrap:nowrap;gap:6px;display:flex}.rental-row-actions button,.compact-row-actions button{color:#1c2b48;background:#e9eef8;padding:6px 10px;font-size:.8rem}.property-bill-table .compact-row-actions,.lease-table .compact-row-actions{gap:4px}.property-bill-table .bill-icon-button,.lease-table .bill-icon-button{border-radius:6px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.property-bill-table .bill-icon-button:hover:not(:disabled),.lease-table .bill-icon-button:hover:not(:disabled){background:#dbe5f5}.property-bill-table .bill-icon-button:focus-visible,.lease-table .bill-icon-button:focus-visible{outline-offset:2px;outline:2px solid #315fbb}.property-bill-table .bill-icon-delete,.lease-table .bill-icon-delete{color:#b42318}.property-bill-table .bill-icon-delete:hover:not(:disabled),.lease-table .bill-icon-delete:hover:not(:disabled){background:#fee4e2}.payment-dialog,.property-dialog,.tenant-dialog{color:#172033;background:#fff;width:min(520px,100vw - 32px);max-height:90vh;overflow-y:auto}.payment-dialog::backdrop,.property-dialog::backdrop,.tenant-dialog::backdrop{background:#0f172a80}.extension-dialog{width:min(900px,100vw - 32px)}.leases-section .leases-header{flex-flow:wrap;align-items:center;gap:8px}.leases-heading{align-items:baseline;gap:10px;display:flex}.leases-heading .muted{font-size:.78rem}.leases-header>button{border-radius:6px;min-height:32px;padding:6px 10px;font-size:.8rem}.leases-section>.table-wrap{margin-top:10px}.lease-table .lease-text{text-overflow:ellipsis;max-width:180px;overflow:hidden}.lease-table .numeric,.lease-table th:nth-child(6),.lease-tenant-table .numeric,.lease-tenant-table th:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}.lease-details-dialog{width:min(720px,100vw - 32px)}.lease-details-dialog .detail-grid strong{overflow-wrap:anywhere}.lease-detail-notes{white-space:pre-wrap;overflow-wrap:anywhere}.actions,.payment-form{flex-wrap:wrap;gap:8px;display:flex}.actions button,.payment-form button{color:#1c2b48;background:#e9eef8}.payment-form{min-width:520px}.payment-form input{max-width:150px}.guide-list{gap:12px;margin-top:16px;display:grid}.bill-card-list{gap:16px;margin-top:16px;display:grid}.status.tenant-charge{color:#3730a3;background:#e0e7ff}.bill-card{background:#f8fbff;border:1px solid #dbe3f0;border-radius:18px;gap:14px;padding:18px;display:grid}.lease-list{gap:16px;margin-top:16px;display:grid}.lease-card{cursor:pointer;background:#f8fbff;border:1px solid #dbe3f0;border-radius:18px;gap:16px;padding:18px;display:grid}.lease-card.expanded{background:#fff;border-color:#b9c9ef}.lease-card-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.lease-card-header .eyebrow{margin-bottom:6px}.lease-card-header .muted{margin:6px 0 0}.lease-actions{flex-shrink:0}.lease-summary{grid-template-columns:minmax(220px,1.4fr) minmax(140px,.7fr) minmax(100px,.5fr) auto;align-items:center;gap:12px;display:grid}.lease-summary div{gap:4px;display:grid}.lease-summary span{color:#66728a;text-transform:uppercase;font-size:.78rem;font-weight:800}.lease-summary strong{color:#172033}.lease-expanded{border-top:1px solid #e6edf7;gap:16px;padding-top:16px;display:grid}.lease-details{grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;display:grid}.detail-item,.tenant-summary{background:#fff;border:1px solid #e6edf7;border-radius:14px;gap:5px;padding:12px;display:grid}.detail-item span,.tenant-summary span{color:#66728a;font-size:.82rem;font-weight:700}.detail-item strong,.tenant-summary strong{color:#172033}.lease-tenants{gap:10px;display:grid}.tenant-summary-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.link-button{color:#3563e9;text-align:left;background:0 0;padding:0}.link-button:hover{text-decoration:underline}.payment-history{background:#f8fbff;border:1px solid #dbe3f0;border-radius:18px;margin-top:16px;padding:16px}.payment-history h3{margin:0}.modal-backdrop{z-index:100;background:#0f172a80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{width:min(100%,720px);max-width:720px;max-height:min(90vh,900px);overflow-y:auto}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.status{border-radius:999px;padding:5px 10px;font-size:.8rem;font-weight:800;display:inline-block}.status.open{color:#8a5a00;background:#fff4d8}.status.partial{color:#174ea6;background:#e6f0ff}.status.paid{color:#166534;background:#dcfce7}.alert{border-radius:14px;margin:16px 0;padding:12px 14px;font-weight:700}.alert.error{color:#a6192e;background:#ffe5e5}.alert.success{color:#17693a;background:#e4f8eb}.two-columns{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=980px){.grid,.two-columns,.lease-card-header,.lease-details,.lease-summary,.tenant-term-row{grid-template-columns:1fr}.lease-card-header,.card-header{flex-direction:column;align-items:stretch}.header-actions{justify-content:flex-start;align-items:stretch}}
