/* Rental-only finishing layer: readable surfaces, comfortable targets and a
   consistent navigation frame. It does not change authorization or workflows. */
body:not([data-urban]){--rental-muted-accessible:#59636f;--rental-link-accessible:#075da9}
body:not([data-urban]) :is(.report-hero,.family-hero,.participants-hero,.admissions-hero,.hero):not(.rental-hero) :is(h1,h2,h3){color:inherit}
body:not([data-urban]) .report-hero :is(h1,h2,h3){color:#fff;-webkit-text-fill-color:#fff}
body:is([data-rental-screen="family"],[data-rental-screen="participants"],[data-rental-screen="admissions"],[data-rental-screen="apply"]) .hero h1{color:#fff;-webkit-text-fill-color:#fff}
body:not([data-urban]) :is(.foot,footer,.side-label,.hint,.unit-meta,.unit-rent,.report-summary span,.report-tool p,.report-kicker,.wf-note,.wf-records p,.wf-selection p,.wf-selection small){font-size:13px;line-height:1.65}
body:not([data-urban]) :is(p,li,.note,.empty) a:not(.button):not(.space-primary):not(.btn){text-decoration:underline;text-underline-offset:3px}
body:not([data-urban]) :is(.sidebar-foot a,.check){min-height:44px;display:inline-flex;align-items:center;gap:10px}
body:not([data-urban]) input:is([type=checkbox],[type=radio]){width:22px;height:22px;min-width:22px;accent-color:#146b60;vertical-align:middle}
body:not([data-urban]) label:has(>input:is([type=checkbox],[type=radio])){min-height:44px;align-items:center;line-height:1.6}
body:not([data-urban]) :is(.tabs button,.workspace-task-nav button,.nav-button,.wf-modes button,.wf-kind-nav button){min-height:44px}
body:not([data-urban]) summary{min-height:44px;cursor:pointer;padding-block:10px;font-size:15px;font-weight:600}
.rental-page-tools{position:sticky;top:0;z-index:70;display:flex;align-items:center;gap:12px;padding:10px max(20px,env(safe-area-inset-left));background:#fbfcfef5;backdrop-filter:blur(16px);border-bottom:1px solid #dce2e8;color:#253240}
.rental-page-tools a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:10px;text-decoration:none;color:#32465a;font-size:14px;white-space:nowrap}
.rental-page-tools a:hover{background:#e9eef4}.rental-page-tools a:focus-visible{outline:3px solid #2267b5;outline-offset:2px}
.rental-page-tools .rental-page-brand{margin-right:auto;font-weight:750;font-size:18px;padding-left:0;color:#1d2938}
body[data-unified-tools]>:is(.unified-nav,.unified-header){display:none}
body[data-unified-tools]>header .brand{display:none}
body[data-unified-tools] :is(main,.wrap,.workspace){scroll-margin-top:90px}
.settings-fold{margin:16px 0;border:1px solid #dce2e8;border-radius:12px;padding:4px 18px;background:#fff}
.settings-fold>summary{color:#263c50}.settings-fold[open]>summary{border-bottom:1px solid #e0e5ec;margin-bottom:16px}
.settings-fold>form{padding-bottom:16px}.settings-fold p{color:#4c5968}
@media(max-width:760px){
 body:not([data-urban]) :is(button,.button,.link,.iconbtn,.space-switch,.unified-nav a,.landlord-nav a,.bottomnav a,#menu-toggle,#account-link){min-height:44px!important}
 body:not([data-urban]) :is(.iconbtn,#menu-toggle){min-width:44px!important;width:44px;flex-shrink:0}
 body:not([data-urban]) :is(.wf-note,.wf-records p,.wf-selection p,.unit-meta,.unit-rent,.report-summary span,.pay-eyebrow,.pay-setup p,.ai-subtitle,.row-main p,.task small){font-size:13px!important;line-height:1.65}
 body:not([data-urban]) :is(.tabs button,.workspace-task-nav button){padding-inline:12px}
 .rental-page-tools{gap:4px;padding:8px max(12px,env(safe-area-inset-left));flex-wrap:wrap}
 .rental-page-tools .rental-page-brand{font-size:17px;flex-basis:calc(100% - 100px)}
 .rental-page-tools .rental-back{order:0}.rental-page-tools>a:nth-last-child(-n+2){flex:1;background:#eef2f6}
 body[data-unified-tools] main{padding-top:22px}
 .settings-fold{padding-inline:14px}
}

/* Compact labels stay readable without enlarging primary heading text. */
body:not([data-urban]) :is(.space-role,.spaces-tabs button>span,.space-photo-credit,.focus-label,.filter-count,.pay-status,.room-end,.room-rent>span,.ai-composer-caption,.ai-help,.label-tag,.board-kicker,.board-scope-note,.board-footnote,.unit-status,.connection-status,.eyebrow,.landlord-ai-note,.record-type,#work-result-count,#scope-detail,#ai-status,#account-link){font-size:12px!important}
body:not([data-urban]) :is(.work-quick em,.board-stat>span,.property-card-copy strong,.property-board-head>p,.building-group-head span,.contract-card dt,.landlord-ai>span,.landlord-ledger span,.collection-page .breakdown span,.collection-page .breakdown b){font-size:12px!important}
body[data-rental-screen="manage"] .small.muted{color:#596672!important}
body[data-rental-screen] .rental-page-tools a{color:#32465a!important;font-size:14px!important}

/* Native WebKit selects otherwise collapse to a 23px menu despite min-height. */
body:not([data-urban]) select{appearance:none;-webkit-appearance:none;min-height:44px!important;height:auto;padding:11px 36px 11px 12px!important;border:1px solid #d6dde5;border-radius:10px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23495969' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;max-width:100%;font-size:16px!important;color:#263645}
body:not([data-urban]) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),button){min-height:44px;min-width:44px}
body.collection-page[data-unified-tools]>.app-header{display:none}
body[data-unified-tools] .rental-page-tools .rental-page-brand{font-size:17px!important}
body[data-rental-screen="manage"] :is(.property-board-head p,.board-stat>span,.unit-group-title span,.report-steps p,.contract-summary dt){font-size:12px!important}
body[data-rental-screen] :is(.collection-flow span,.collection-breakdown span,.collection-breakdown b,.mandate-steps span,.mandate-summary small,.resident-bill small,.resident-home-card em,.landlord-ai-head span){font-size:12px!important}

body[data-rental-screen] .consent :is(p,a){color:#536357!important}

body[data-rental-screen] .availability-notice>p{color:#536357!important;font-size:13px!important}
body[data-rental-screen] footer>a{display:inline-flex;align-items:center;min-height:44px;margin-inline-end:8px}
/* A newly inactive tab must stay readable after switching away from the default. */
body[data-rental-screen="manage"] :is(.board-filters,.wf-modes) button[aria-pressed=false]{color:#59636f!important}

/* Form rhythm: related controls stay together; separate decisions have breathing room. */
body:not([data-urban]){--rental-gap-control:12px;--rental-gap-section:24px}
body:not([data-urban]) :is(.panel,.card,.sheet-body)>.actions{display:flex;gap:var(--rental-gap-control);flex-wrap:wrap;margin-block:20px 0}
body:not([data-urban]) :is(.panel,.card,.sheet-body)>.actions+.actions{margin-top:16px}
body:not([data-urban]) :is(.panel,.card,.sheet-body)>.check+button{margin-top:20px}
body:not([data-urban]) .sheet-body form>label+label{margin-top:16px}
body:not([data-urban]) :is(.card,.panel) form>.check{margin-block:18px}
body:not([data-urban]) :is(.card,.panel) form>.actions{gap:12px;margin-top:24px}
body:not([data-urban]) .rental-consent{width:min(100%,640px);padding:32px;border-radius:20px;background:#fff;border:1px solid #dce3e8;margin:24px 0}
.rental-consent .consent-copy{display:grid;gap:12px}.rental-consent .consent-copy>*{margin:0}
.rental-consent .consent-copy h1{font-size:clamp(25px,4vw,32px);line-height:1.4;letter-spacing:-.7px}
.rental-consent .consent-copy p{font-size:15px;line-height:1.8;color:#52616f}
.rental-consent .consent-copy .eyebrow{font-size:12px;letter-spacing:0;color:#476f65}
.rental-consent .consent-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}
.rental-consent .consent-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px;border:1px solid #dce3e8;border-radius:11px;color:#344b5c;font-size:14px;line-height:1.6;background:#fafbfc}
body:not([data-urban]) .rental-consent .consent-check{display:flex;align-items:flex-start;width:100%;gap:12px;padding:18px;background:#f4f7f6;border:1px solid #d7e3dd;border-radius:12px;font-size:14px;line-height:1.8;margin:28px 0 0;cursor:pointer}
.rental-consent .consent-check input{flex:none;margin:2px 0 0}
.rental-consent .consent-check:has(input:checked){background:#eaf5ef;border-color:#86b09a}
.rental-consent .consent-error{font-size:14px;color:#a32c37;line-height:1.6;margin:12px 0}.rental-consent .consent-error:empty{display:none}
.rental-consent .consent-primary{margin-top:24px}.rental-consent .consent-primary button{width:100%;min-height:48px;margin:0;background:#166b62;border-color:#166b62;color:white;font-size:15px;border-radius:12px}
.rental-consent .consent-secondary{display:flex;gap:12px;margin:20px 0 0;padding-top:20px;border-top:1px solid #e2e8eb}
.rental-consent .consent-secondary>*{flex:1;min-width:0;min-height:44px;margin:0;text-align:center;background:#fff;border:1px solid #dce3e8;border-radius:10px;color:#475968;font-size:14px;padding:12px}
.rental-consent .consent-form{display:grid;gap:20px}.rental-consent .consent-form>*{margin:0}
@media(max-width:520px){body:not([data-urban]) .rental-consent{padding:24px 20px;margin:20px 0}.rental-consent .consent-links{grid-template-columns:1fr;gap:12px}.rental-consent .consent-check{padding:16px!important}.rental-consent .consent-secondary{gap:12px}}
.rental-consent :is(.consent-copy p,.consent-check span,.consent-links a){word-break:keep-all;overflow-wrap:anywhere}
/* Account identity stays visible without a second page header. */
.rental-page-tools>.rental-account{margin-left:auto}.rental-account{position:relative;min-width:0;font:14px -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif}.account-menu>summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none;padding:8px 14px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#293b51;box-sizing:border-box}.account-menu>summary::-webkit-details-marker{display:none}.account-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:90;width:min(280px,calc(100vw - 36px));box-sizing:border-box;padding:20px;background:#fff;border:1px solid #dce3ec;border-radius:16px;box-shadow:0 10px 35px #26374b24;color:#293b51}.account-popover>strong{font-size:12px;color:#657286}.account-popover>p{overflow-wrap:anywhere;font-size:14px;margin:8px 0 18px}.account-popover .account-actions{display:grid;gap:8px}.account-popover button,.rental-account>button{min-height:44px;padding:10px 14px;border:1px solid #dce3ec;border-radius:9px;background:#f5f7fa;color:#293b51;cursor:pointer;font:inherit}.rental-account .account-login{display:inline-flex;min-height:44px;padding:10px 16px;background:#006be5;color:#fff!important;border-radius:10px;box-sizing:border-box;text-decoration:none;align-items:center}.rental-account>span{font-size:12px}.rental-account>span+.account-login{margin-left:12px}.unified-nav>.rental-account{margin-left:auto}.unified-nav{flex-wrap:wrap}.rental-account button:focus-visible,.account-menu>summary:focus-visible{outline:3px solid #2267b5;outline-offset:3px}#navigation-status{color:#ad2828;white-space:normal}
@media(max-width:640px){body.spaces-page .rental-page-tools{flex-wrap:nowrap;gap:12px}body.spaces-page .rental-page-tools .rental-page-brand{flex-basis:auto;flex:1}body.spaces-page .rental-page-tools>.rental-account{flex:0 1 auto}.rental-page-tools>.rental-account{max-width:100%}.rental-page-tools .account-menu>summary{font-size:13px;padding:8px 12px}.rental-page-tools>a:nth-last-child(-n+2){flex:initial}.unified-nav>.rental-account{margin-left:auto}.unified-nav .account-menu>summary{font-size:13px}}
