:root{--bg:#f6f8fb;--surface:#fff;--text:#172033;--muted:#667085;--brand:#315efb;--border:#dfe4ec;--danger:#c43232;--radius:14px;--sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;font-family:var(--sans);background:var(--bg);color:var(--text)}button,input{font:inherit}
























.dashboard-action-bar{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:0 0 22px!important;padding:0!important;flex-wrap:wrap!important}
.dashboard-action-bar .btn{height:40px!important;min-height:40px!important;padding:0 18px!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;line-height:1!important;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease!important}
.dashboard-action-icon{width:18px!important;height:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 18px!important}
.dashboard-action-icon svg{width:18px!important;height:18px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.dashboard-add-property{background:#079b78!important;color:#fff!important;border:1px solid #079b78!important;box-shadow:0 3px 8px rgba(7,155,120,.14)!important}
.dashboard-add-property:hover{background:#078b6d!important;border-color:#078b6d!important;transform:translateY(-1px)!important;box-shadow:0 5px 12px rgba(7,155,120,.18)!important}
.dashboard-add-tenant{background:#fff!important;color:#079b78!important;border:1px solid #079b78!important}
.dashboard-add-tenant:hover{background:#f0fbf8!important;border-color:#078b6d!important;transform:translateY(-1px)!important}
.dashboard-quick-actions{display:none!important}

.dashboard-action-bar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;width:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;flex-wrap:nowrap!important}








@media(max-width:760px){.dashboard-action-bar{margin-bottom:20px!important}}
@media(max-width:760px){.dashboard-action-bar{gap:8px!important;margin-bottom:18px!important}.dashboard-action-bar .btn{flex:1 1 auto!important;min-width:140px!important}.dashboard-action-icon{width:17px!important;height:17px!important;flex-basis:17px!important}.dashboard-action-icon svg{width:17px!important;height:17px!important}}



.card,.table-wrap,.grid-2,.maint-shell{max-width:100%;box-sizing:border-box;min-width:0}































/* Staff / field-service visual refinement */
.staff-page .page-head,.field-staff-page .page-head{align-items:flex-end}
.maint-shell .page-head{margin-bottom:28px}
.maint-shell .page-head h1{font-size:42px;line-height:1.05;letter-spacing:-.03em;margin:6px 0 8px}
.maint-shell .page-head .muted{font-size:17px;color:#667085;max-width:700px}
.maint-shell .page-head .actions{gap:10px;display:flex;align-items:center}
.maint-shell .btn{border-radius:10px;border:1px solid var(--border);padding:10px 16px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.18s ease}
.maint-shell .btn.primary{background:var(--brand);color:#fff;border-color:var(--brand)}
.maint-shell .btn.primary:hover{filter:brightness(.96);transform:translateY(-1px)}
.maint-shell .btn.secondary{background:#fff;color:#25304a}
.maint-shell .btn.secondary:hover{border-color:#b9c3d4;background:#f8fafc}
.maint-shell .filter-grid{display:grid!important;grid-template-columns:minmax(280px,1.7fr) minmax(170px,.7fr) minmax(190px,.9fr)!important;gap:12px!important;align-items:center!important}.maint-shell .filter-grid input,.maint-shell .filter-grid select{width:100%!important;min-width:0!important;box-sizing:border-box!important}
.maint-shell .field-input.wide,.maint-shell .filter-grid select,.maint-shell .filter-grid input{height:46px;border:1px solid #d8dee8;border-radius:10px;background:#fff;padding:0 14px;outline:none}
.maint-shell .filter-grid input:focus,.maint-shell .filter-grid select:focus{border-color:#8ea8ff;box-shadow:0 0 0 3px rgba(49,94,251,.10)}
/* Maintenance Calendar refinement */
.maint-shell .filter-grid:has(input[type=date]){grid-template-columns:repeat(2,minmax(170px,1fr)) minmax(170px,.9fr) minmax(120px,.7fr) auto!important;gap:12px!important}
.maint-shell .filter-grid:has(input[type=date]) .btn{height:46px;white-space:nowrap;padding:0 18px}
.maint-shell .filter-grid:has(input[type=date]) input,.maint-shell .filter-grid:has(input[type=date]) select{height:46px;font-size:14px}
.maint-shell .filter-grid:has(input[type=date]) input[type=date]{color:#344054}
.maint-shell .page-head .btn.secondary{min-height:46px}
.maint-shell .maint-shell-empty,.maint-shell .empty{color:#667085}
.maint-shell .card>.empty{min-height:180px;display:flex;align-items:center;justify-content:center;font-size:17px}
.maint-shell .safe-note{margin-top:14px;padding:12px 14px;border:1px solid #e4e9f0;border-radius:10px;background:#f8fafc;color:#667085;font-size:13px;line-height:1.5}
@media(max-width:900px){.maint-shell .filter-grid:has(input[type=date]){grid-template-columns:1fr!important}.maint-shell .filter-grid:has(input[type=date]) .btn{width:100%}}
/* Lease rent-frequency UI */
.lease-toolbar{margin-bottom:16px!important}
.lease-frequency-wrap{grid-column:1/-1}
.field-label{display:block;font-size:13px;font-weight:700;color:var(--text,#17202a);margin-bottom:8px}
.lease-frequency-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lease-frequency-options label{position:relative;display:block;cursor:pointer}
.lease-frequency-options input{position:absolute;opacity:0;pointer-events:none}
.lease-frequency-options label>span{display:flex;flex-direction:column;gap:4px;padding:14px 15px;border:1px solid var(--border,#e4e7ec);border-radius:13px;background:var(--surface,#fff);transition:all .16s ease;min-height:72px;box-sizing:border-box}
.lease-frequency-options label:hover>span{border-color:#b8c0cc;transform:translateY(-1px);box-shadow:0 5px 16px rgba(16,24,40,.06)}
.lease-frequency-options input:checked+span{border-color:#111;background:#111;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.lease-frequency-options span b{font-size:14px}.lease-frequency-options span small{font-size:12px;opacity:.72}
.lease-frequency-options input:checked+span small{opacity:.82}
.lease-type-hint{margin-top:12px;padding:12px 14px;border-radius:12px;background:#f6f7f9;border:1px solid var(--border,#e4e7ec);display:flex;gap:8px;flex-direction:column}
.lease-type-hint strong{font-size:13px}.lease-type-hint span{font-size:12px;color:#667085}
.lease-rent-preview{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid #dfe3e8;border-radius:13px;background:#fafbfc}
.lease-rent-preview span{font-size:12px;color:#667085}.lease-rent-preview b{font-size:17px;margin-left:auto}.lease-rent-preview small{flex-basis:100%;font-size:11px;color:#667085;margin-left:0}
.lease-frequency-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#f2f4f7;color:#344054;white-space:nowrap}
.lease-frequency-badge.annual{background:#eef4ff;color:#315efb}.lease-frequency-badge.daily{background:#fff5e8;color:#b54708}
.lease-table td small{color:#667085;margin-left:4px}.lease-mobile-list{display:none}
.lease-detail-card h2{margin-top:0}
@media(max-width:760px){.lease-frequency-options{grid-template-columns:1fr}.lease-rent-preview{display:grid;grid-template-columns:1fr auto}.lease-rent-preview small{grid-column:1/-1}.lease-table{display:none}.lease-mobile-list{display:grid;gap:12px;padding:12px}.lease-mobile-card{border:1px solid var(--border,#e4e7ec);border-radius:14px;padding:15px;background:var(--surface,#fff)}.lease-mobile-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.lease-mobile-head div{display:grid;gap:3px}.lease-mobile-head small{color:#667085}.lease-mobile-meta{display:grid;gap:7px;margin:14px 0;color:#667085;font-size:12px}.lease-mobile-meta b{font-size:17px;color:var(--text,#17202a)}}

.dashboard-scroll-title{padding:0 0 10px!important}.dashboard-scroll-title .eyebrow{font-size:11px!important;line-height:1.1!important;margin-bottom:4px!important}.dashboard-scroll-title h1{font-size:31px!important;line-height:1.1!important;margin:0 0 5px!important;letter-spacing:-.03em!important}.dashboard-scroll-title p{font-size:14px!important;line-height:1.35!important;color:#667085!important;margin:0!important}
.maint-shell .section-gap{margin-top:18px}
.maint-shell .maint-list{display:grid;gap:14px}
.maint-shell .maint-card{background:#fff;border:1px solid #e3e8ef;border-radius:16px;padding:24px 26px;box-shadow:0 2px 8px rgba(16,24,40,.04);transition:.18s ease}.maint-shell .maint-card .section-head{min-height:48px}.maint-shell .maint-card .section-head h3{font-size:21px}.maint-shell .maint-card .maint-meta{margin:20px 0 18px;padding:15px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}
.maint-shell .maint-card:hover{border-color:#ccd5e2;box-shadow:0 8px 24px rgba(15,23,42,.06);transform:translateY(-1px)}
.maint-shell .maint-card .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.maint-shell .maint-card h3{font-size:20px;line-height:1.3;margin:0 0 6px;letter-spacing:-.01em}
.maint-shell .muted2{color:#667085;font-size:14px}
.maint-shell .maint-meta{display:flex;gap:22px;flex-wrap:wrap;margin:16px 0 18px;padding-top:14px;border-top:1px solid #edf0f4;color:#475467;font-size:14px}
.maint-shell .maint-meta span{position:relative}
.maint-shell .maint-meta span+span:before{content:"";position:absolute;left:-12px;top:4px;width:4px;height:4px;border-radius:50%;background:#c5ccd8}
.maint-shell .pill{font-size:12px;font-weight:800;letter-spacing:.02em;border-radius:999px;padding:6px 10px;display:inline-flex;align-items:center;text-transform:capitalize}
.maint-shell .pill.active{background:#e9f8f1;color:#12805a}
.maint-shell .pill.inactive{background:#eef2f6;color:#667085}
.maint-shell .filter-grid+.maint-list{margin-top:8px}
@media(max-width:900px){.maint-shell .page-head{align-items:flex-start;gap:16px;flex-direction:column}.maint-shell .page-head .actions{width:100%;flex-wrap:wrap}.maint-shell .filter-grid{grid-template-columns:1fr!important}.maint-shell .maint-card{padding:18px}.maint-shell .maint-card .section-head{flex-direction:column}.maint-shell .maint-meta{gap:14px}.maint-shell .maint-card .btn{width:100%}}

.share-recipient{display:grid;gap:4px;padding:12px 14px;margin-bottom:14px;border:1px solid var(--border,#e4e7ec);border-radius:12px;background:var(--surface,#fff)}.share-recipient small{color:var(--muted,#667085)}.share-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0 16px}.share-choice-grid label{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid var(--border,#e4e7ec);border-radius:10px;cursor:pointer}.share-choice-grid input{accent-color:var(--brand,#315efb)}@media(max-width:760px){.share-choice-grid{grid-template-columns:1fr}}






























/* Property detail action and unit table refinement */
.property-detail-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;white-space:nowrap!important}
.property-ai-section{margin-bottom:18px!important}
.property-units-section{margin-top:0!important}
.property-detail-actions .btn{min-height:42px!important;white-space:nowrap!important;flex:0 0 auto!important}
.property-detail-actions + *{min-width:0}
.page-head:has(.property-detail-actions){align-items:center!important}
.page-head:has(.property-detail-actions)>.actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;min-width:max-content!important;white-space:nowrap!important}
.unit-row-actions,.tenant-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important}.tenant-row-actions .icon-action{width:34px!important;height:34px!important;min-width:34px!important}
#unit-form input:disabled,#unit-form select:disabled,#unit-form textarea:disabled{opacity:1!important;color:var(--text)!important;background:var(--surface)!important;cursor:default!important}
.icon-action{width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;border:1px solid var(--border)!important;border-radius:9px!important;background:var(--surface)!important;color:var(--muted)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;cursor:pointer!important;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease!important}
.icon-action:hover{background:var(--brand-soft)!important;border-color:#c8daf8!important;color:var(--brand)!important;transform:translateY(-1px)!important}
.icon-action svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
@media(max-width:760px){.property-detail-actions{width:100%!important;justify-content:flex-start!important}.property-detail-actions .btn{flex:1 1 auto!important;text-align:center!important}.unit-row-actions{justify-content:flex-start!important}}



























































.profile-avatar{
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#101828!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  border:2px solid rgba(255,255,255,.9)!important;
  box-shadow:0 2px 8px rgba(16,24,40,.16)!important;
}
.profile-avatar.large{
  width:44px!important;
  height:44px!important;
  flex:0 0 44px!important;
  font-size:13px!important;
}










@media(max-width:900px){


  .profile-avatar{width:34px!important;height:34px!important}
}







/* Green dashboard visual refresh — colors only, preserving current layout */
:root{
  --brand:#159447;
  --brand-strong:#0f7a39;
  --brand-soft:#eaf7ef;
  --brand-pale:#f3fbf6;
  --text:#13261b;
  --muted:#66766c;
  --border:#dfe9e2;
}
body{
  color:var(--text)!important;
}
.btn.primary,
button.primary,
.btn.primary:hover{
  background:var(--brand)!important;
  border-color:var(--brand)!important;
}



.page-head .eyebrow{
  color:var(--brand-strong)!important;
}


.live-status i{
  background:var(--brand)!important;
}
.pill.active,
.pill.paid{
  background:#e9f7ee!important;
  color:var(--brand-strong)!important;
}

a{
  color:var(--brand-strong);
}
.profile-avatar{
  background:#0f3d27!important;
}


































@keyframes agentPulse{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}







































 
/* Settings personalization */
:root[data-accent="green"]{--brand:#159447;--brand-strong:#0f7a39;--brand-soft:#eaf7ef;--brand-pale:#f3fbf6}
:root[data-accent="blue"]{--brand:#315efb;--brand-strong:#2448d8;--brand-soft:#edf2ff;--brand-pale:#f6f8ff}
:root[data-accent="indigo"]{--brand:#4f46e5;--brand-strong:#3730a3;--brand-soft:#eef2ff;--brand-pale:#f7f7ff}
:root[data-accent="purple"]{--brand:#7c3aed;--brand-strong:#5b21b6;--brand-soft:#f3eefe;--brand-pale:#faf8ff}
:root[data-accent="teal"]{--brand:#0f8f87;--brand-strong:#0b6f69;--brand-soft:#e9f8f7;--brand-pale:#f3fcfb}
:root[data-accent="cyan"]{--brand:#0891b2;--brand-strong:#0e7490;--brand-soft:#e7f8fc;--brand-pale:#f3fcfe}
:root[data-accent="orange"]{--brand:#ea7b16;--brand-strong:#c85f0a;--brand-soft:#fff2e6;--brand-pale:#fffaf5}
:root[data-accent="rose"]{--brand:#e54867;--brand-strong:#be3150;--brand-soft:#fff0f3;--brand-pale:#fff8f9}
:root[data-accent="red"]{--brand:#dc3b3b;--brand-strong:#b42318;--brand-soft:#fff0f0;--brand-pale:#fff8f8}
:root[data-accent="slate"]{--brand:#475467;--brand-strong:#344054;--brand-soft:#f0f2f5;--brand-pale:#f8f9fa}
:root[data-theme="dark"]{--bg:#0d1411;--surface:#151d18;--text:#eef7f1;--muted:#9aaea2;--border:#2b3830;--brand-soft:#183224;--brand-pale:#13231a}
:root[data-theme="dark"] body{background:#0d1411;color:#eef7f1}
:root[data-theme="dark"] .card,:root[data-theme="dark"] .settings-card,:root[data-theme="dark"] .account-profile,:root[data-theme="dark"] .settings-field,:root[data-theme="dark"] .channel-option{background:#151d18!important;border-color:#2b3830!important;color:#eef7f1}

:root[data-theme="dark"] .muted,:root[data-theme="dark"] .settings-card p,:root[data-theme="dark"] .settings-field span,:root[data-theme="dark"] .channel-option small,:root[data-theme="dark"] .notification-setting-row small{color:#9aaea2!important}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:#101813!important;color:#eef7f1!important;border-color:#35443a!important}
:root[data-theme="dark"] .settings-info{background:#102219!important;color:#a8c4b1!important;border-color:#284536!important}
.settings-page{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:none;margin:0 0 40px;padding:0 12px;box-sizing:border-box}
.settings-card{padding:22px 24px!important;border:1px solid var(--border)!important;border-radius:12px!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}
.settings-card:hover{box-shadow:0 3px 10px rgba(16,24,40,.06)!important}
.settings-card:first-child{border-top:3px solid var(--brand)!important}
.settings-section-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:13px;border-bottom:1px solid var(--border)}
.settings-section-head h2{margin:0 0 5px!important;font-size:17px!important;font-weight:700!important;letter-spacing:-.01em}
.settings-section-head p{margin:0!important;color:var(--muted);font-size:12px;line-height:1.5}
.settings-section-copy{min-width:0;flex:1}
.account-section-head{align-items:center}
.settings-signout{margin-left:auto;white-space:nowrap;border-color:#f3c9cc!important;color:#d92d3a!important;background:#fff7f7!important;font-weight:700}
.settings-signout:hover{background:#fff0f1!important;border-color:#efadb3!important}
.account-profile{position:relative;overflow:hidden;background:linear-gradient(145deg,var(--brand-pale),var(--surface) 58%)}
.account-profile:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:46px;background:linear-gradient(90deg,var(--brand-pale),transparent);pointer-events:none}
.settings-avatar{position:relative;z-index:1;width:58px;height:58px;font-size:18px;box-shadow:0 0 0 6px var(--surface),0 3px 10px rgba(16,24,40,.10)}
.account-profile div:last-child{position:relative;z-index:1;display:grid;gap:5px}.account-profile strong{font-size:17px;letter-spacing:-.02em}.account-profile span{font-size:11px;color:var(--muted)}
.account-profile:after{content:"●  Account verified";position:absolute;right:14px;bottom:14px;padding:6px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:750;letter-spacing:.01em}
.account-info-field{background:linear-gradient(145deg,var(--brand-pale),var(--surface))!important}
.settings-icon{width:32px;height:32px;flex:0 0 32px;border-radius:8px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:700;font-size:13px}
.account-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.5fr);gap:12px;align-items:stretch}
.account-profile{display:flex;align-items:center;gap:12px;padding:14px 15px;border:1px solid var(--border);border-radius:10px;background:var(--surface);min-height:76px;box-sizing:border-box}
.settings-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:800;font-size:15px}
.account-profile div:last-child{display:grid;gap:4px}.account-profile strong{font-size:14px}.account-profile span{font-size:11px;color:var(--muted)}
.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.settings-field{padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:grid;gap:5px;min-height:68px;box-sizing:border-box}
.account-info-field{grid-column:1 / -1}
.settings-field span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.settings-field b{font-size:12px}
.settings-actions{display:flex;justify-content:flex-end;margin-top:16px}
.settings-subhead{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:6px 0 10px}
.appearance-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-choice{display:flex;align-items:center;gap:11px;text-align:left;border:1px solid var(--border);background:var(--surface);padding:12px 14px;border-radius:10px;cursor:pointer;color:var(--text);transition:border-color .15s,background .15s}.theme-choice:hover{background:var(--brand-pale)}.theme-choice.active{border-color:var(--brand);background:var(--brand-pale);box-shadow:inset 3px 0 0 var(--brand)}
.theme-choice span:last-child{display:grid;gap:3px}.theme-choice small{font-size:10px;color:var(--muted)}.theme-preview{width:42px;height:28px;border-radius:8px;border:1px solid var(--border)}.light-preview{background:linear-gradient(135deg,#fff 50%,#edf1f5 50%)}.dark-preview{background:linear-gradient(135deg,#17211b 50%,#0b100d 50%)}
.accent-label{margin-top:20px}.accent-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.accent-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:9px 10px;cursor:pointer;color:var(--muted);text-align:left}.accent-choice span{display:block;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:var(--accent-preview)}.accent-choice small{font-size:10px}.accent-choice.active{border-color:var(--accent-preview);background:var(--brand-pale);box-shadow:inset 3px 0 0 var(--accent-preview)}
.settings-select-field{display:grid;gap:7px;max-width:460px}.settings-select-field span{font-size:11px;font-weight:750;color:var(--muted)}.settings-select-field select{padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text)}
.settings-info{margin-top:12px;padding:10px 12px;border:1px solid #dcece2;background:#f3fbf6;border-radius:10px;color:#4b6655;font-size:10px}
.notification-settings-list{border-top:1px solid var(--border)}.notification-setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 2px;border-bottom:1px solid var(--border)}
.notification-setting-row:last-child{border-bottom:0}
.notification-setting-row>div:first-child{display:grid;gap:5px;min-width:0}
.notification-setting-row b{font-size:13px;font-weight:650}
.notification-setting-row small{font-size:11px;color:var(--muted);line-height:1.45}
.setting-switches{min-width:220px;justify-content:flex-end}
.setting-switches{display:flex;align-items:center;gap:14px}.switch-label{display:flex;align-items:center;gap:7px;cursor:pointer}.switch-label input{position:absolute;opacity:0}.switch{width:38px;height:22px;border-radius:999px;background:#cfd8d2;position:relative;transition:.18s}.switch:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:.18s}.switch-label input:checked+.switch{background:var(--brand)}.switch-label input:checked+.switch:after{transform:translateX(16px)}.switch-label em{font-style:normal;font-size:10px;color:var(--muted)}.inline-days{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.inline-days input{width:55px;padding:7px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)}
.channel-head{margin-top:20px}.channel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.channel-option{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid var(--border);border-radius:11px;background:#fbfcfd}.channel-option input{accent-color:var(--brand)}.channel-option span{display:grid;gap:3px}.channel-option b{font-size:11px}.channel-option small{font-size:9px;color:var(--muted)}.channel-option.unavailable{opacity:.55}
@media(max-width:760px){.settings-card{padding:16px!important}.settings-page{gap:12px;padding:0;margin-bottom:28px}.account-section-head{align-items:flex-start}.settings-signout{margin-left:auto}.account-grid{grid-template-columns:1fr}.account-fields{grid-template-columns:1fr}.account-info-field{grid-column:auto}.accent-grid{grid-template-columns:repeat(5,1fr)}.notification-setting-row{align-items:flex-start;flex-direction:column}.setting-switches{width:100%;justify-content:space-between}.channel-grid{grid-template-columns:1fr 1fr}.appearance-toggle{flex-direction:column}}
/* Profile reference layout — intentionally scoped to the Settings Account/Profile section. */
.profile-settings-card{padding:22px 24px 20px!important;border-top:3px solid var(--brand)!important}.profile-settings-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.profile-settings-title{display:flex;align-items:center;gap:12px}.profile-title-icon{width:36px!important;height:36px!important;border-radius:9px!important;font-size:17px!important}.profile-settings-title h2{margin:0 0 3px!important;font-size:18px!important;letter-spacing:-.01em}.profile-settings-title p{margin:0!important;font-size:12px!important;color:var(--muted)}.profile-signout{height:42px;padding:0 16px;border:1px solid #f5c8c8;border-radius:10px;background:#fff8f8;color:#d71920;font-weight:700;font-size:12px;display:inline-flex;align-items:center;gap:8px}.profile-settings-body{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.55fr);gap:16px;margin-top:16px}.profile-identity-card{border:1px solid var(--border);border-radius:12px;padding:20px 16px 16px;min-height:300px;display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(180deg,var(--brand-pale),var(--surface) 36%)}.profile-avatar-wrap{position:relative;margin:2px 0 18px}.profile-avatar{width:104px!important;height:104px!important;border-radius:50%!important;background:var(--brand)!important;color:#fff!important;font-size:34px!important;box-shadow:0 6px 16px rgba(16,24,40,.12)}
.profile-signout .logout-action-icon,#profile-signout .logout-action-icon{flex:0 0 auto}.profile-signout{justify-content:center}.profile-signout span,#profile-signout span{display:inline}
.user-icon-svg,.profile-user-svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-user-svg{width:42px;height:42px;stroke:#fff;stroke-width:1.7}.profile-title-icon .user-icon-svg{width:19px;height:19px}.profile-info-icon .user-icon-svg{width:18px;height:18px}.profile-edit-badge{position:absolute;z-index:5;right:-7px;bottom:-5px;width:38px;height:38px;border-radius:50%;border:3px solid var(--surface);background:var(--surface);box-shadow:0 3px 10px rgba(16,24,40,.12);color:var(--brand);font-size:19px;display:grid;place-items:center}.profile-identity-card>strong{font-size:18px;line-height:1.15;letter-spacing:-.02em}.profile-identity-card>span:not(.profile-verified){font-size:12px;color:var(--muted);margin-top:5px}.profile-verified{margin-top:13px;padding:7px 12px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:750}.profile-divider{width:100%;border-top:1px solid var(--border);margin:16px 0 13px}.profile-edit-button{width:100%;height:42px;border:1px solid color-mix(in srgb,var(--brand) 30%,var(--border));border-radius:9px;background:var(--brand-pale);color:var(--brand-strong);font-size:12px;font-weight:750}.profile-details-column{display:grid;gap:12px;align-content:start}.profile-detail-card{border:1px solid var(--border);border-radius:12px;padding:16px 15px 15px;background:var(--surface)}.profile-detail-head{display:flex;align-items:center;gap:10px;padding-bottom:13px}.profile-detail-head .settings-icon{width:36px!important;height:36px!important;border-radius:9px!important;font-size:16px!important}.profile-detail-head h3{margin:0 0 3px;font-size:16px;letter-spacing:-.01em}.profile-detail-head p{margin:0;color:var(--muted);font-size:11px}.profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-info-item{display:flex;align-items:center;gap:11px;min-height:72px;padding:11px;border:1px solid var(--border);border-radius:10px;background:linear-gradient(145deg,var(--brand-pale),var(--surface))}.profile-info-icon{width:38px;height:38px;flex:0 0 38px;border-radius:9px;background:var(--surface);display:grid;place-items:center;color:#52657f;font-size:17px}.profile-info-item small{display:block;color:#728096;font-size:9px;letter-spacing:.05em;margin-bottom:5px}.profile-info-item b{display:block;font-size:12px;overflow-wrap:anywhere}.profile-status-row{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #d7ecdf;border-radius:10px;background:#eefaf2}.profile-status-dot{width:14px;height:14px;flex:0 0 14px;border-radius:50%;background:#16a35a}.profile-status-row b{display:block;color:#176b3b;font-size:13px;margin-bottom:3px}.profile-status-row span:last-child{display:block;color:#74879a;font-size:11px}
@media(max-width:900px){.profile-settings-card{padding:18px 16px!important}.profile-settings-body{grid-template-columns:1fr;gap:12px}.profile-identity-card{min-height:0}.profile-info-grid{grid-template-columns:1fr}.profile-settings-head{align-items:flex-start}.profile-title-icon{width:40px!important;height:40px!important;font-size:18px!important}.profile-settings-title h2{font-size:18px!important}.profile-settings-title p{font-size:11px!important}.profile-signout{height:40px;padding:0 13px;font-size:11px}.profile-signout span{display:none}}

/* Dashboard Properties — keep the section visually separated from the sidebar and give property cards a clean tracking layout. */
.dashboard-properties{margin:28px 24px 36px!important;padding:24px!important;border:1px solid var(--border)!important;border-radius:18px!important;background:var(--surface)!important;box-shadow:0 8px 28px rgba(16,24,40,.06)!important;box-sizing:border-box!important}
.dashboard-properties .panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px!important}
.dashboard-properties .panel-head h2{margin:0 0 5px!important;font-size:22px!important;letter-spacing:-.02em}
.dashboard-properties .panel-head p{margin:0!important;color:var(--muted)!important;font-size:12px!important}
.dashboard-properties .property-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
.dashboard-properties .property-card{margin:0!important;padding:20px!important;border-radius:15px!important;min-width:0!important;height:100%;box-sizing:border-box;cursor:pointer!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.dashboard-properties .property-card:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(0,0,0,.08)!important;border-color:#cfcfcf!important}.dashboard-properties .property-card:focus-visible{outline:2px solid #111!important;outline-offset:2px!important}
.dashboard-properties .property-card h3{margin:0 0 7px!important;font-size:17px!important;text-align:left!important}
.dashboard-properties .property-card .muted{margin-bottom:15px!important;font-size:12px!important;text-align:left!important}
.dashboard-properties .property-card .property-stats{ text-align:left!important }
.dashboard-properties .property-card .metric-line{min-height:48px!important}
.dashboard-properties .property-card .btn{margin-top:4px!important;width:100%;box-sizing:border-box;text-align:center}
@media(max-width:900px){.dashboard-properties{margin:20px 18px 28px!important;padding:18px!important}.dashboard-properties .property-grid{grid-template-columns:1fr!important}.dashboard-properties .panel-head{align-items:flex-start;flex-direction:column;gap:12px}.dashboard-properties .panel-head .btn{width:100%;text-align:center}}

/* Property form sections */
.property-form .property-form-section{grid-column:1/-1!important;border:1px solid var(--border)!important;border-radius:14px!important;background:var(--surface)!important;padding:14px!important;margin:0!important;box-shadow:none!important;min-width:0!important;overflow:visible!important}
.property-form .property-form-section>legend{padding:0 6px!important;margin-left:3px!important;font-size:15px!important;font-weight:650!important;line-height:1.2!important;color:var(--text)!important;letter-spacing:-.01em!important;background:var(--surface)!important;border-radius:4px!important}
.property-form .form-optional{font-size:10px!important;font-weight:600!important;color:var(--muted)!important}
.property-form .property-form-section .field{position:relative!important;overflow:visible!important;border:1px solid var(--border)!important;border-radius:8px!important;padding:8px 10px 5px!important;background:var(--surface)!important;min-width:0!important;min-height:40px!important}
.property-form .property-form-section .field-title-border{position:absolute!important;left:8px!important;top:0!important;transform:translateY(-50%)!important;padding:0 4px!important;margin:0!important;background:var(--surface)!important;font-size:10px!important;font-weight:650!important;color:#111827!important;line-height:1.15!important;letter-spacing:0!important;white-space:nowrap!important;z-index:3!important;pointer-events:none!important}
.property-form .property-form-section .field-title-border + input,
.property-form .property-form-section .field-title-border + select,
.property-form .property-form-section .field-title-border + textarea{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:8px 0 3px!important;margin:0!important;min-height:32px!important;width:100%!important}
.property-form .property-form-section .field:focus-within{border-color:#111827!important;box-shadow:0 0 0 1px rgba(17,24,39,.08)!important}
.property-form .property-form-section .field:focus-within .field-title-border{color:#111827!important}
.property-form .property-form-section .field-title-border + textarea{min-height:58px!important}
.property-form .property-form-section .field-title-border + select{padding-right:20px!important}
.property-form .border-title-field textarea{min-height:58px!important;resize:vertical!important}
.property-form .border-title-field select{padding-right:20px!important}
.property-form .border-title-field input[type=file]{padding:3px 0 2px!important;min-height:30px!important}
.property-form .property-form-section legend{background:var(--surface)!important;padding:0 7px!important}
.property-form .property-form-section .form-grid{column-gap:12px!important;row-gap:9px!important}
.property-form .property-form-section .field>span{font-size:10px!important;margin-bottom:4px!important}
.property-form .property-form-section input,.property-form .property-form-section select,.property-form .property-form-section textarea{min-height:38px!important;height:auto!important;padding:8px 10px!important;font-size:12px!important;border-radius:8px!important}
.property-form .property-form-section textarea{min-height:72px!important}
.property-form .property-form-section input[type=file]{padding:7px 8px!important}
.property-form .property-form-section input[type=file]+*{font-size:10px!important}
.property-form .property-form-section small{display:block!important;font-size:9px!important;color:var(--muted)!important;margin:0 0 5px!important}
.property-form .property-form-section .field-full{grid-column:1/-1!important}
.property-form .provider-custom{min-height:38px!important;margin-top:6px!important}
.property-form .existing-document{padding:7px 9px!important;font-size:10px!important}
.property-form-utilities-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;grid-column:1/-1!important}
.property-form-utilities-row .property-form-section{grid-column:auto!important}
.property-card-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-top:10px!important}
.property-card-actions .icon-action{width:36px!important;height:36px!important;min-width:36px!important}
.properties-page{width:100%!important;max-width:1280px!important;margin:0 auto!important}
.properties-page .page-head{margin-bottom:12px!important}
.properties-page .page-head h1{margin-bottom:3px!important}
.properties-page .page-head p{margin-top:0!important}
.properties-page #list{padding-top:0!important}
.properties-page .toolbar{margin:0 0 18px!important;padding:0!important}
.properties-page .toolbar input{width:min(420px,100%)!important;height:44px!important;border-radius:10px!important;background:var(--surface)!important}
.properties-page .property-grid{gap:18px!important}
.properties-page .property-card{padding:20px!important;border-radius:16px!important;min-width:0!important;cursor:pointer!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.properties-page .property-card:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(0,0,0,.08)!important;border-color:#cfcfcf!important}
.properties-page .property-card:focus-visible{outline:2px solid #111!important;outline-offset:2px!important}
@media(max-width:760px){.properties-page .page-head{margin-bottom:10px!important}.properties-page .toolbar{margin-bottom:14px!important}.properties-page .toolbar input{width:100%!important}.property-card-actions .btn{min-height:38px!important}}
@media(max-width:760px){
  .property-form .property-form-section{padding:11px 12px!important;margin-bottom:8px!important}
  .property-form-utilities-row{grid-template-columns:1fr!important;gap:8px!important}
  .property-form .property-form-section .form-grid{grid-template-columns:1fr!important}
}
.property-form .property-form-section-head{display:none!important}
.property-form .property-form-section .form-grid{margin:0!important}
.property-form .property-form-section .field-full{grid-column:1/-1!important}
.property-form .provider-custom{min-height:38px!important;margin-top:6px!important}
.property-form .existing-document{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:#f8fafc!important;font-size:11px!important;color:var(--muted)!important}
.property-info-section h2{margin-bottom:12px!important}
.property-notes-copy{margin:0!important;white-space:pre-wrap!important;line-height:1.55!important;color:var(--text)!important}
@media(max-width:760px){
  .property-form .property-form-section{padding:16px!important}
  .property-form .property-form-section-head{gap:10px!important;margin-bottom:14px!important}
  .property-form .property-form-section-head h2{font-size:16px!important}
  .property-form .property-form-section-head p{font-size:11px!important}
  .property-form .existing-document{align-items:flex-start!important;flex-direction:column!important}
}
#property-form > h2:empty,#tenant-form > h2:empty,#lease-form > h2:empty,#unit-form > h2:empty{display:none!important}

/* Shared modern form system: Property, Tenant and Lease */
.property-form .border-title-field,
.tenant-form .border-title-field,
.lease-form .border-title-field{position:relative!important;display:block!important;box-sizing:border-box!important;min-width:0!important;min-height:52px!important;margin:0!important;padding:7px 12px 4px!important;border:1px solid #d9dde5!important;border-radius:8px!important;background:var(--surface)!important;overflow:visible!important;grid-column:auto!important}
.property-form .border-title-field>legend,
.tenant-form .border-title-field>legend,
.lease-form .border-title-field>legend{display:table!important;width:auto!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;margin:-1px 0 0 8px!important;padding:0 5px!important;border:0!important;background:var(--surface)!important;color:var(--text)!important;font-size:14px!important;font-weight:600!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.property-form .border-title-field>input,.property-form .border-title-field>select,.property-form .border-title-field>textarea,
.tenant-form .border-title-field>input,.tenant-form .border-title-field>select,.tenant-form .border-title-field>textarea,
.lease-form .border-title-field>input,.lease-form .border-title-field>select,.lease-form .border-title-field>textarea{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;margin:0!important;padding:5px 0 1px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;font-size:13px!important;color:var(--text)!important}
.tenant-form .border-title-field>textarea,.lease-form .border-title-field>textarea{height:auto!important;min-height:68px!important;padding-top:7px!important;resize:vertical!important}
.tenant-form .border-title-field>input[type=file],.lease-form .border-title-field>input[type=file]{padding:5px 0 2px!important;min-height:32px!important}
.tenant-form .border-title-field:focus-within,.lease-form .border-title-field:focus-within{border-color:#111827!important;box-shadow:0 0 0 1px rgba(17,24,39,.08)!important}
.tenant-form .border-title-field:focus-within>legend,.lease-form .border-title-field:focus-within>legend{color:#111827!important}
.tenant-form .border-title-field small,.lease-form .border-title-field small{display:block!important;margin:1px 0 2px!important;font-size:9px!important;color:var(--muted)!important}
.tenant-form .border-title-field.field-full,.lease-form .border-title-field.field-full{grid-column:1/-1!important}

.tenant-form>.form-grid,.lease-form>.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.tenant-form .form-section,.lease-form .form-section,.unit-form .form-section{grid-column:1/-1!important;min-width:0!important;margin:0!important;padding:14px!important;border:1px solid #d9dde5!important;border-radius:10px!important;background:var(--surface)!important;box-shadow:none!important;overflow:visible!important}.unit-form .unit-electricity-section{margin-top:8px!important}.unit-form .unit-electricity-section .form-section-copy{grid-column:1/-1!important;margin:-2px 0 2px!important}.unit-form .unit-electricity-section .form-section-copy>span{display:inline-block!important;font-size:10px!important;font-weight:650!important;color:var(--muted)!important;text-transform:uppercase!important;letter-spacing:.04em!important}.unit-form .unit-electricity-section .form-section-copy p{margin:3px 0 0!important;color:var(--muted)!important;font-size:11px!important;line-height:1.4!important}.unit-form .unit-electricity-section .field[hidden]{display:none!important}.unit-form .unit-electricity-section>legend{padding:0 6px!important;margin-left:3px!important;background:var(--surface)!important;color:var(--text)!important;font-size:15px!important;font-weight:650!important;line-height:1.2!important;border-radius:4px!important}
.tenant-form .form-section>legend,.lease-form .form-section>legend{padding:0 6px!important;margin-left:3px!important;background:var(--surface)!important;color:var(--text)!important;font-size:15px!important;font-weight:650!important;line-height:1.2!important;border-radius:4px!important}
.tenant-form .form-section>.form-grid,.lease-form .form-section>.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
.tenant-form .form-section-copy{grid-column:1/-1!important;margin:-2px 0 2px!important}
.tenant-form .form-section-copy>span{display:inline-block!important;font-size:10px!important;font-weight:650!important;color:var(--muted)!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.tenant-form .form-section-copy p{margin:3px 0 0!important;color:var(--muted)!important;font-size:11px!important;line-height:1.4!important}
.tenant-form .safe-note{grid-column:1/-1!important;margin:0!important;padding:8px 10px!important;border-radius:8px!important;background:#f8fafc!important;color:var(--muted)!important;font-size:10px!important;line-height:1.4!important}
.tenant-form .form-actions,.lease-form .form-actions{grid-column:1/-1!important}

.lease-form .lease-frequency-field{min-height:52px!important}
.lease-form .lease-frequency-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
.lease-form .lease-frequency-options label{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:7px 8px!important;border:1px solid var(--border-soft)!important;border-radius:7px!important;background:#fafbfc!important;cursor:pointer!important}
.lease-form .lease-frequency-options input{width:auto!important;min-height:auto!important;height:auto!important;margin:0!important}
.lease-form .lease-frequency-options span{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.lease-form .lease-frequency-options b{font-size:11px!important;font-weight:650!important}
.lease-form .lease-frequency-options small{font-size:9px!important;color:var(--muted)!important;line-height:1.25!important}
.lease-form .lease-type-hint{grid-column:1/-1!important;margin:-5px 0 0!important;font-size:10px!important;color:var(--muted)!important;line-height:1.35!important}
.lease-form .lease-type-hint strong{display:block!important;color:var(--text)!important;font-size:10px!important}
.lease-form .lease-rent-preview,.lease-form .lease-escalation-preview{grid-column:1/-1!important;padding:10px 12px!important;border:1px solid var(--border-soft)!important;border-radius:8px!important;background:#fafbfc!important}
.lease-form .lease-rent-preview{display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center!important;gap:8px 12px!important}
.lease-form .lease-rent-preview span,.lease-form .lease-escalation-preview>span{font-size:10px!important;color:var(--muted)!important;font-weight:650!important}
.lease-form .lease-rent-preview b{font-size:12px!important}
.lease-form .lease-rent-preview small,.lease-form .lease-escalation-preview small{font-size:9px!important;color:var(--muted)!important}
.lease-form .lease-escalation-preview{display:grid!important;gap:5px!important}
.lease-form .lease-escalation-preview>div{display:flex!important;justify-content:space-between!important;gap:12px!important;font-size:10px!important}
.lease-form .lease-escalation-preview>div span{color:var(--muted)!important}
.lease-form .lease-escalation-preview>div b{font-size:11px!important}

@media(max-width:760px){
  .tenant-form .form-section,.lease-form .form-section,.unit-form .form-section{padding:11px 12px!important}.unit-form .unit-electricity-section{margin-top:6px!important}
  .tenant-form .form-section>.form-grid,.lease-form .form-section>.form-grid{grid-template-columns:1fr!important;gap:10px!important}
  .tenant-form .form-section>legend,.lease-form .form-section>legend{font-size:14px!important}
  .lease-form .lease-frequency-options{grid-template-columns:1fr!important}
  .lease-form .lease-rent-preview{grid-template-columns:1fr!important;gap:4px!important}
}
.property-form .border-title-field{position:relative!important;display:block!important;box-sizing:border-box!important;min-width:0!important;min-height:52px!important;margin:0!important;padding:7px 12px 4px!important;border:1px solid #d9dde5!important;border-radius:8px!important;background:var(--surface)!important;overflow:visible!important;grid-column:auto!important}
.property-form .border-title-field.field-full{grid-column:1/-1!important}
.property-form .property-form-section .border-title-field>legend{display:table!important;width:auto!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;margin:-1px 0 0 8px!important;padding:0 5px!important;border:0!important;border-radius:0!important;background:var(--surface)!important;color:var(--text)!important;font-size:14px!important;font-weight:600!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.property-form .property-form-section .border-title-field>input,
.property-form .property-form-section .border-title-field>select,
.property-form .property-form-section .border-title-field>textarea{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;margin:0!important;padding:5px 0 1px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;font-size:13px!important;color:var(--text)!important}
.property-form .property-form-section .border-title-field>textarea{min-height:68px!important;padding-top:7px!important;resize:vertical!important}
.property-form .property-form-section .border-title-field>input[type=file]{padding:5px 0 2px!important;min-height:32px!important}
.property-form .property-form-section .border-title-field:focus-within{border-color:#111827!important;box-shadow:0 0 0 1px rgba(17,24,39,.08)!important}
.property-form .property-form-section .border-title-field:focus-within>legend{color:#111827!important}
.property-form .property-form-section .border-title-field small{display:block!important;margin:1px 0 2px!important;font-size:9px!important;color:var(--muted)!important}
.property-form .property-form-section .border-title-field .provider-custom{box-sizing:border-box!important;width:100%!important;margin:6px 0 0!important;padding:7px 0 3px!important;border:0!important;border-top:1px solid var(--border-soft)!important;border-radius:0!important;background:transparent!important}
.property-form .property-form-section .border-title-field .provider-custom[style*="display:none"]{display:none!important}
/* Unit form uses the same layout system as Add/Edit Property. */
.unit-form{display:block!important;width:100%!important;max-width:100%!important;margin:0!important}
.unit-form>.form-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;margin:0!important}
.unit-form .property-form-section{grid-column:1/-1!important;min-width:0!important;margin:0!important;padding:14px!important;border:1px solid #d9dde5!important;border-radius:10px!important;background:var(--surface)!important;box-shadow:none!important;overflow:visible!important}
.unit-form .property-form-section>legend{padding:0 6px!important;margin-left:3px!important;background:var(--surface)!important;color:var(--text)!important;font-size:15px!important;font-weight:650!important;line-height:1.2!important;border-radius:4px!important}
.unit-form .property-form-section>.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
.unit-form .property-form-section .border-title-field{position:relative!important;display:block!important;box-sizing:border-box!important;min-width:0!important;min-height:52px!important;margin:0!important;padding:7px 12px 4px!important;border:1px solid #d9dde5!important;border-radius:8px!important;background:var(--surface)!important;overflow:visible!important;grid-column:auto!important}
.unit-form .property-form-section .border-title-field>legend{display:table!important;width:auto!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;margin:-1px 0 0 8px!important;padding:0 5px!important;border:0!important;background:var(--surface)!important;color:var(--text)!important;font-size:14px!important;font-weight:600!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.unit-form .property-form-section .border-title-field>input,.unit-form .property-form-section .border-title-field>select,.unit-form .property-form-section .border-title-field>textarea{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;margin:0!important;padding:5px 0 1px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;font-size:13px!important;color:var(--text)!important}
.unit-form .property-form-section .border-title-field>input::placeholder{color:var(--muted)!important;opacity:1!important}
.unit-form .property-form-section .border-title-field:focus-within{border-color:#111827!important;box-shadow:0 0 0 1px rgba(17,24,39,.08)!important}
.unit-form .property-form-section .border-title-field:focus-within>legend{color:#111827!important}
.unit-form .unit-electricity-section{margin-top:0!important}
.unit-form .unit-electricity-section .provider-custom{min-height:38px!important;margin-top:6px!important}
/* Targeted provider control fix: match the existing unit-form field height without changing other fields. */
.unit-form .unit-electricity-section [name="electricity_provider"]{min-height:30px!important;height:30px!important;padding:3px 0!important;margin:0!important;font-size:13px!important;line-height:1.2!important}
@media(max-width:760px){.unit-form .property-form-section{padding:16px!important;margin-bottom:8px!important}.unit-form .property-form-section>.form-grid{grid-template-columns:1fr!important}.unit-form .property-form-section>legend{font-size:14px!important}.unit-form .property-form-section .border-title-field{min-height:52px!important;padding:7px 12px 4px!important}.unit-form .property-form-section .border-title-field>legend{font-size:14px!important}.unit-form .property-form-section .border-title-field>input,.unit-form .property-form-section .border-title-field>select{min-height:34px!important;height:34px!important;font-size:13px!important}}
.property-additional-info-section{position:relative!important;grid-column:1/-1!important;border:1px solid #d9dde5!important;border-radius:10px!important;background:var(--surface)!important;box-shadow:none!important;overflow:hidden!important}
.property-additional-info-section .property-collapsible-header{position:relative!important;width:100%!important;min-height:70px!important;height:auto!important;padding:14px 15px!important;border-radius:9px!important}
.property-additional-info-section .property-collapsible-title{align-items:flex-start!important;gap:0!important;min-width:0!important}
.property-additional-info-section .property-collapsible-title>span{display:block!important;min-width:0!important}
.property-additional-info-section .property-collapsible-title strong{font-size:14px!important;font-weight:650!important}
.property-additional-info-section .property-collapsible-title small{font-size:11px!important;line-height:1.35!important}
.property-additional-info-section .property-collapsible-inner{padding:0 15px!important}
.property-additional-info-section.is-open .property-collapsible-inner{padding-bottom:4px!important}
.property-form-optional-subsection{padding:18px 0 20px!important}
.property-form-optional-subsection + .property-form-optional-subsection{border-top:1px solid var(--border)!important}
.property-form-optional-subsection h3{margin:0 0 13px!important;font-size:13px!important;font-weight:750!important;line-height:1.3!important;color:var(--text)!important}
.property-form-optional-subsection-body{min-width:0!important}
.property-form-optional-subsection .form-grid{margin:0!important}
.property-collapsible-section{padding:0!important;overflow:hidden!important}
.property-collapsible-header{width:100%!important;min-height:62px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border:0!important;background:var(--surface)!important;color:var(--text)!important;padding:13px 15px!important;margin:0!important;text-align:left!important;cursor:pointer!important;border-radius:10px!important}
.property-collapsible-header:hover{background:#f8fafc!important}
.property-collapsible-header:focus-visible{outline:2px solid #b8cdf4!important;outline-offset:-2px!important}
.property-collapsible-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.property-collapsible-title strong{display:block!important;font-size:13px!important;font-weight:750!important;line-height:1.25!important}
.property-collapsible-title small{display:block!important;color:var(--muted)!important;font-size:10px!important;font-weight:500!important;margin-top:3px!important;line-height:1.3!important}
.property-chevron{width:38px!important;height:38px!important;min-width:38px!important;border-radius:10px!important;background:#f5f6f8!important;display:grid!important;place-items:center!important;color:#344054!important;transition:transform .22s ease,background .16s ease!important}
.property-chevron svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.property-collapsible-header:hover .property-chevron{background:#eef1f5!important}
.property-collapsible-section.is-open .property-chevron,.property-view-collapsible.is-open .property-chevron{transform:rotate(180deg)!important}
.property-collapsible-content{display:grid!important;grid-template-rows:0fr!important;transition:grid-template-rows .24s ease!important}
.property-collapsible-section.is-open .property-collapsible-content,.property-view-collapsible.is-open .property-collapsible-content{grid-template-rows:1fr!important}
.property-collapsible-inner{min-height:0!important;overflow:hidden!important;padding:0 14px!important}
.property-collapsible-section.is-open .property-collapsible-inner{padding-bottom:14px!important}
.property-view-collapsible{padding:0!important;overflow:hidden!important;margin:0!important}
.property-view-collapsible .property-collapsible-header{min-height:64px!important;border-radius:14px!important;padding:12px 14px!important}
.property-view-collapsible .property-collapsible-inner{padding:0 16px!important}
.property-view-collapsible.is-open .property-collapsible-inner{padding-bottom:16px!important}
.property-view-collapsible .property-section-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;flex:none!important}
.property-optional-list{display:grid!important;gap:10px!important}
.property-optional-list .property-optional-card{border:1px solid var(--border)!important;border-radius:14px!important;background:var(--surface)!important;box-shadow:none!important}
.property-optional-list .property-optional-card:hover{border-color:#d7dce3!important}
@media(max-width:760px){
  .property-collapsible-header{min-height:58px!important;padding:11px 12px!important}
  .property-collapsible-title strong{font-size:12px!important}
  .property-collapsible-title small{font-size:9px!important}
  .property-chevron{width:34px!important;height:34px!important;min-width:34px!important}
  .property-collapsible-inner{padding-left:12px!important;padding-right:12px!important}
  .property-view-collapsible .property-collapsible-inner{padding-left:12px!important;padding-right:12px!important}
}
/* Document upload modal — clean two-column desktop layout with responsive mobile stacking. */
.document-upload-modal{width:min(980px,calc(100vw - 40px))!important;max-height:min(820px,calc(100vh - 36px))!important;padding:28px 30px 24px!important;border-radius:22px!important}
.document-upload-modal .modal-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 24px!important;padding:0 0 16px!important;border-bottom:1px solid var(--border)!important}
.document-upload-modal .modal-head h2{margin:0!important;font-size:29px!important;line-height:1.15!important;letter-spacing:-.03em!important}
.document-upload-modal .modal-close{width:40px!important;height:40px!important;min-width:40px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text)!important;display:grid!important;place-items:center!important;font-size:25px!important;line-height:1!important;padding:0!important;cursor:pointer!important}
.document-upload-modal .modal-close:hover{background:var(--brand-soft)!important;border-color:var(--brand)!important;color:var(--brand)!important}
.document-upload-form{display:grid!important;gap:18px!important}
.document-upload-form .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 24px!important}
.document-upload-form .field{min-width:0!important}
.document-upload-form .field>span{font-size:13px!important;font-weight:750!important;margin-bottom:1px!important}
.document-upload-form .field input,.document-upload-form .field select,.document-upload-form .field textarea{min-height:48px!important;border-radius:12px!important;padding:11px 14px!important;background:#fff!important}
.document-upload-form .field textarea{min-height:108px!important;resize:vertical!important}
.document-upload-form> .field{width:100%!important}
.document-upload-form> .field input[type=file]{padding:8px 10px!important;min-height:52px!important}
.document-upload-form .grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 24px!important;margin:0!important}
.document-upload-form .safe-note{margin:0!important;padding:11px 13px!important;border:1px solid var(--border)!important;border-radius:11px!important;background:#f8fafc!important;color:var(--muted)!important;font-size:11px!important;line-height:1.45!important}
.document-upload-form .form-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin:2px 0 0!important;padding:18px 0 0!important;border-top:1px solid var(--border)!important}
.document-upload-form .form-actions .btn{min-height:44px!important;padding:10px 18px!important;border-radius:10px!important}
@media(max-width:760px){
  .document-upload-modal{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important;padding:20px 18px 16px!important;border-radius:18px!important}
  .document-upload-modal .modal-head{margin-bottom:18px!important;padding-bottom:14px!important}
  .document-upload-modal .modal-head h2{font-size:23px!important}
  .document-upload-form .form-grid,.document-upload-form .grid-2{grid-template-columns:1fr!important;gap:14px!important}
  .document-upload-form .form-actions{position:sticky!important;bottom:0!important;background:var(--surface)!important;margin-left:-18px!important;margin-right:-18px!important;padding:14px 18px!important}
  .document-upload-form .form-actions .btn{flex:1!important}
}

/* Lease Add/Edit: override the shared unit-form outer grid so Lease Information stays two-column on desktop and one-column on mobile. */
.lease-form>.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:0!important}
@media(max-width:760px){.lease-form>.form-grid{grid-template-columns:1fr!important;gap:10px!important}}

/* Edit Lease: use the same two-column field system as Property and Unit forms. Add Lease remains unchanged. */
.lease-edit-form>.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:0!important}
.lease-edit-form .form-section{grid-column:1/-1!important;min-width:0!important}
.lease-edit-form .form-section>.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
.lease-edit-form .border-title-field{position:relative!important;display:block!important;box-sizing:border-box!important;min-width:0!important;min-height:52px!important;margin:0!important;padding:7px 12px 4px!important;border:1px solid #d9dde5!important;border-radius:8px!important;background:var(--surface)!important;overflow:visible!important;grid-column:auto!important}
.lease-edit-form .border-title-field>legend{display:table!important;width:auto!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;margin:-1px 0 0 8px!important;padding:0 5px!important;border:0!important;background:var(--surface)!important;color:var(--text)!important;font-size:14px!important;font-weight:600!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.lease-edit-form .border-title-field>input,.lease-edit-form .border-title-field>select,.lease-edit-form .border-title-field>textarea{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;margin:0!important;padding:5px 0 1px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;font-size:13px!important;color:var(--text)!important}
.lease-edit-form .border-title-field:focus-within{border-color:#111827!important;box-shadow:0 0 0 1px rgba(17,24,39,.08)!important}
.lease-edit-form .border-title-field:focus-within>legend{color:#111827!important}
.lease-edit-form .lease-frequency-field{grid-column:1/-1!important}
.lease-edit-form .lease-frequency-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.lease-edit-form .lease-type-hint,.lease-edit-form .lease-rent-preview,.lease-edit-form .lease-escalation-preview{grid-column:1/-1!important}
.lease-edit-form .lease-rent-preview{display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center!important;gap:8px 12px!important}
@media(max-width:760px){
  .lease-edit-form .form-section{padding:11px 12px!important}
  .lease-edit-form .form-section>.form-grid{grid-template-columns:1fr!important;gap:10px!important}
  .lease-edit-form .lease-frequency-options{grid-template-columns:1fr!important}
  .lease-edit-form .lease-rent-preview{grid-template-columns:1fr!important;gap:4px!important}
}




/* Final Lease Edit layout override: target the actual form id with higher specificity. */
#lease-form.lease-edit-form > .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
@media(max-width:760px){#lease-form.lease-edit-form > .form-grid{grid-template-columns:1fr!important;gap:10px!important}}








