:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#1d1d1f;background:#f5f5f7;font-synthesis:none;--blue:#0071e3;--muted:#6e6e73;--line:#e6e6eb;--green:#1c7555}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.5;letter-spacing:-.3px}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #68b2ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:38px;letter-spacing:-1.7px;line-height:1.17}h2{font-size:21px;letter-spacing:-.7px}h3{font-size:16px;letter-spacing:-.4px}small,.muted{color:var(--muted)}small{font-size:12px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:1.3px;font-weight:650;color:var(--muted)}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brandmark{width:37px;height:37px;display:inline-grid;place-items:center;background:#1d1d1f;color:white;border-radius:12px;font-size:26px;font-weight:700;line-height:1}.brand{display:flex;gap:10px;align-items:center;font-weight:700;font-size:17px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{padding:30px 20px 24px;border-right:1px solid var(--line);background:#fafafa;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.side-label{margin:38px 14px 10px;color:var(--muted);font-size:11px}.menu{display:grid;gap:5px}.menu a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;color:#55555b;font-size:14px}.menu a:hover{background:#eeeef1}.menu a.active{background:#e8f1fc;color:#0066cf;font-weight:650}.sidebar-bottom{margin-top:auto;padding:18px 14px 0;color:var(--muted);font-size:12px}.avatar{width:34px;height:34px;border-radius:50%;background:#e5ecf5;color:#44709d;display:inline-grid;place-items:center;font-size:12px;font-weight:700}.account{display:flex;align-items:center;gap:10px;margin-bottom:14px}.account b{display:block;color:#36363b;font-size:13px}.main{width:100%;max-width:1350px;margin:0 auto;padding:0 48px 50px;align-self:start}.topbar{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);margin-bottom:30px;font-size:13px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:10px}.topbar select{max-width:240px;padding:9px 32px 9px 12px;background:white;border:1px solid var(--line);border-radius:10px;color:#333}.iconbtn{border:1px solid var(--line);background:white;border-radius:10px;display:inline-grid;place-items:center;width:39px;height:39px;color:#666}.demo-bar{margin-bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;border-radius:12px;background:#eaf3ff;color:#235889;font-size:12px}.demo-bar strong{font-weight:650}.demo-bar button{color:#0066cf;background:#fff;border:0;border-radius:8px;white-space:nowrap;padding:8px 11px;font-size:12px}.heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.heading .muted{margin-top:10px;font-size:14px}.heading .eyebrow{margin-bottom:9px}.button{display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:11px;background:#fff;padding:11px 16px;font-size:13px;font-weight:600;line-height:1.4;min-height:42px}.button.primary{background:var(--blue);color:white;border-color:var(--blue)}.button.subtle{background:#f5f5f7;border-color:transparent}.button.small{padding:8px 12px;font-size:12px;min-height:36px}.link{color:var(--blue);background:none;border:0;padding:8px 0;font-size:13px;text-align:left}.hero{display:grid;grid-template-columns:1.08fr 1fr;min-height:240px;background:white;border-radius:22px;overflow:hidden;border:1px solid #e9e9ee;margin-bottom:22px}.hero-copy{padding:30px 34px}.hero h2{font-size:28px;line-height:1.3;margin:12px 0;letter-spacing:-1.2px}.hero .muted{font-size:13px;margin-bottom:20px}.hero img{width:100%;height:100%;min-height:240px;object-fit:cover}.hero .tag{background:#f0f3f8;color:#64748b}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.stat{border:1px solid #e9e9ee;border-radius:18px;background:white;padding:21px;text-align:left;display:block}.stat .stat-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;gap:8px}.stat svg{width:17px;height:17px}.stat strong{display:block;font-size:26px;letter-spacing:-1px;font-weight:650;margin:11px 0 5px;white-space:nowrap}.stat strong em{font-size:13px;font-style:normal;font-weight:400;margin-left:4px}.stat small{display:block;font-size:11px}.two-cols{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.panel{background:white;border:1px solid #e9e9ee;border-radius:20px;padding:25px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-head h2{font-size:18px}.panel-head small{font-size:11px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #f0f0f3}.row:first-child{border-top:0}.row-main{min-width:0;flex:1}.row-main h3,.row-main p{overflow-wrap:anywhere}.row-main p{font-size:12px;color:var(--muted);margin-top:5px}.row-side{flex-shrink:0;text-align:right;max-width:45%}.row-side strong{display:block}.tag{display:inline-block;border-radius:7px;padding:4px 8px;background:#f0f1f4;color:#63636a;font-size:11px;font-weight:600;white-space:nowrap}.tag.blue{background:#eaf3ff;color:#0066ca}.tag.green{background:#eaf6f0;color:#1c7555}.tag.orange{background:#fff2df;color:#9a640c}.task{display:flex;align-items:center;gap:12px;width:100%;padding:15px 0;text-align:left;background:none;border:0;border-top:1px solid #f0f0f3}.task:first-child{border-top:0}.task .task-icon{display:grid;place-items:center;background:#f3f6fa;color:#4a6e94;width:39px;height:39px;border-radius:12px;flex-shrink:0}.task span:nth-child(2){flex:1}.task b{display:block;font-size:13px;font-weight:600}.task small{display:block;font-size:11px;margin-top:3px}.empty{padding:40px 15px;text-align:center;color:var(--muted);font-size:13px}.empty svg{display:block;margin:0 auto 12px;width:32px;height:32px;color:#a6a6ad}.actions{display:flex;flex-wrap:wrap;gap:8px}.stack{display:grid;gap:18px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.room-card .room-no{font-size:28px;font-weight:650;letter-spacing:-1px}.room-card .row{font-size:12px}.room-card .row b{font-size:13px}.room-card .button{width:100%;margin-top:15px}.subhead{margin:28px 0 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.subhead h2{font-size:19px}.note{background:#f0f3f8;border-radius:12px;color:#5c6777;padding:14px 16px;line-height:1.7;font-size:12px;margin-bottom:20px}.note a{color:var(--blue)}.invoice-total{font-size:36px;font-weight:650;letter-spacing:-1.3px;margin:10px 0 18px}.money-detail{display:flex;gap:24px;color:var(--muted);font-size:12px}.money-detail b{display:block;font-size:14px;color:#333;margin-top:4px}.tabs{display:flex;gap:5px;padding:4px;background:#eaeaf0;border-radius:11px;max-width:max-content;margin-bottom:22px}.tabs button{background:none;border:0;border-radius:8px;padding:9px 14px;font-size:12px;color:#666}.tabs button.active{background:white;color:#222;box-shadow:0 2px 4px #00000008}.prose{font-size:13px;color:#54545a;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.notice-card .prose{margin-top:14px}.notice-card .actions{margin-top:17px}.facility-image{width:100%;height:145px;object-fit:cover;border-radius:12px;margin-bottom:18px}.status-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.status-item{font-size:12px;padding:14px;border-radius:12px;background:#f5f5f7}.status-item b{display:block;margin-bottom:5px;font-weight:600}.status-item span{color:var(--muted);line-height:1.65}.foot{font-size:11px;color:#8a8a90;line-height:1.8;padding-top:30px}.mobile-brand,.bottomnav{display:none}.loading{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:18px}.loading h1{font-size:28px}.loading p{color:var(--muted);font-size:14px}.skip{position:absolute;left:15px;top:-100px;z-index:50;padding:12px;background:white}.skip:focus{top:10px}dialog{border:1px solid #e4e4e9;border-radius:24px;padding:0;max-width:550px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);box-shadow:0 25px 100px #0002;color:#1d1d1f}dialog::backdrop{background:#1d1d1f60;backdrop-filter:blur(7px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 26px 16px;position:sticky;top:0;background:white;z-index:2}.sheet-head h2{font-size:22px}.sheet-body{padding:0 26px 26px}.sheet-body>p{margin:2px 0 20px;font-size:13px;color:var(--muted)}label{display:block;font-size:12px;font-weight:550;margin:16px 0 0}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #dedee4;border-radius:10px;background:#fff;color:#202024;margin-top:7px;min-height:44px}textarea{min-height:105px;resize:vertical}input[type=checkbox],input[type=radio]{width:18px;min-height:18px;accent-color:var(--blue);margin:0;flex-shrink:0}.check{display:flex;align-items:start;gap:10px;padding:13px;background:#f5f5f7;border-radius:10px;line-height:1.6;font-size:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sheet-body>.actions{margin-top:24px}.sheet-body form>.button{width:100%;margin-top:24px}.form-error{color:#b13131;font-size:12px;margin-top:15px}.event{padding:12px 0;border-bottom:1px solid var(--line)}.event small{display:block;margin-bottom:7px}.event p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.vote-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px;margin:10px 0}.vote-option span{flex:1}.vote-option b{color:var(--blue);font-size:13px}#toast{display:none;position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#26262c;color:#fff;box-shadow:0 8px 24px #0002;padding:13px 20px;border-radius:13px;font-size:13px;max-width:calc(100% - 30px);width:max-content}#toast.show{display:block}.inline-error{padding:18px;border:1px solid #f1d6d6;background:#fff6f6;border-radius:12px;color:#9a3333;font-size:13px}.photo-caption{font-size:10px;color:#a0a0a6;margin-top:7px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.detail-grid div{background:#f5f5f7;border-radius:12px;padding:15px}.detail-grid small{display:block;margin-bottom:7px}.detail-grid b{font-size:14px}.receipt-record{padding:12px;background:#f5f5f7;border-radius:10px;font-size:12px;margin-top:12px}
@media(min-width:1450px){.main{padding-left:64px;padding-right:64px}}
@media(max-width:1100px){.layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:25px 14px}.main{padding:0 28px 40px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:23px}.hero-copy{padding:26px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.two-cols{gap:15px}.panel{padding:20px}}
@media(max-width:760px){.layout{display:block}.sidebar{display:none}.main{padding:0 20px 108px;max-width:620px}.topbar{min-height:77px;margin-bottom:20px;gap:8px}.desktop-crumb{display:none}.mobile-brand{display:flex;font-size:17px;gap:8px}.mobile-brand .brandmark{width:30px;height:30px;border-radius:10px;font-size:22px}.topbar select{max-width:140px;font-size:11px;padding:8px}.topbar-right{gap:7px}.iconbtn{width:36px;height:36px}.demo-bar{font-size:11px;align-items:flex-start;margin-bottom:24px;padding:11px 12px}.demo-bar .desktop-extra{display:none}.demo-bar button{font-size:11px;padding:8px}.heading{margin-bottom:22px;align-items:flex-start}.heading h1{font-size:31px;letter-spacing:-1.3px}.heading .muted{font-size:12px;line-height:1.7}.heading .button{padding:9px 12px;font-size:12px;white-space:nowrap}.hero{grid-template-columns:1fr .8fr;min-height:205px;border-radius:19px}.hero-copy{padding:23px 20px}.hero h2{font-size:22px;letter-spacing:-.8px;margin:10px 0}.hero .muted{font-size:11px;margin-bottom:14px}.hero img{min-height:205px}.hero .button{font-size:11px;padding:9px 11px;min-height:36px}.hero .tag{font-size:10px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:23px}.stat{padding:17px 18px;border-radius:16px}.stat strong{font-size:25px;margin:9px 0 4px}.stat small{font-size:10px}.two-cols{grid-template-columns:1fr}.panel{border-radius:18px;padding:20px}.panel-head h2{font-size:17px}.cards{grid-template-columns:1fr}.room-cards{grid-template-columns:1fr 1fr;gap:12px}.room-card{padding:18px}.room-card .row{display:block;padding:12px 0}.room-card .row b{display:block;margin-top:4px}.row{gap:10px;padding:15px 0}.row h3{font-size:14px}.row-side strong{font-size:14px}.row-side .button{font-size:11px;padding:8px}.bottomnav{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(20px);border-top:1px solid #e5e5ea;display:flex;justify-content:space-around;padding:10px 8px max(10px,env(safe-area-inset-bottom));z-index:10}.bottomnav a{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:#898990;min-width:50px}.bottomnav svg{width:23px;height:23px}.bottomnav a.active{color:var(--blue)}#toast{bottom:92px}.status-list{grid-template-columns:1fr}.foot{padding-top:24px}.invoice-total{font-size:32px}.field-row{gap:10px}.sheet-head{padding:21px 22px 14px}.sheet-body{padding:0 22px 22px}.tabs{max-width:100%;overflow:auto}.tabs button{white-space:nowrap;padding:9px 12px}.demo-bar>span{flex:1}.hero .eyebrow{font-size:9px}.photo-caption{font-size:9px}}
@media(max-width:360px){.main{padding-left:14px;padding-right:14px}.topbar select{max-width:112px}.brand{font-size:15px}.hero{grid-template-columns:1fr}.hero img{display:none}.hero-copy{padding:23px}.heading h1{font-size:28px}.heading .button{font-size:11px;padding:8px}.stat{padding:15px}.stat strong{font-size:23px}.room-cards{grid-template-columns:1fr}.panel{padding:17px}.money-detail{gap:15px}.demo-bar{gap:7px}.field-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.space-switch{display:inline-flex;align-items:center;white-space:nowrap;min-height:40px;padding:8px 12px;border-radius:10px;background:#eef3fb;color:#24558d;font-size:13px;text-decoration:none}.space-switch:focus-visible{outline:3px solid #69a5ff;outline-offset:3px}@media(max-width:640px){.topbar-right{flex-wrap:wrap}.space-switch{font-size:12px;padding:6px 8px}.topbar-right #scope-select{max-width:145px}}

.ai-retrieval{display:flex;gap:14px;margin:20px 0;padding:20px;background:#f0f5fb;color:#172c48;border:1px solid #d7e2f0;border-radius:16px;line-height:1.6;overflow-wrap:anywhere}.ai-retrieval-mark{flex:0 0 28px;font-size:22px;text-align:center}.ai-retrieval strong{font-size:15px}.ai-retrieval p{margin:6px 0;color:#425974;font-size:14px}.ai-retrieval ul{padding-left:18px;margin:10px 0 0;font-size:13px}.ai-retrieval-sources{margin:20px 0}.ai-retrieval-sources summary{padding:14px 0;min-height:44px;cursor:pointer;font-weight:650}.ai-retrieval-sources article{border-top:1px solid #dde3ec;padding:18px 0;overflow-wrap:anywhere}.ai-retrieval-sources h4{margin:8px 0;font-size:15px}.ai-retrieval-sources p{line-height:1.75;white-space:pre-wrap;margin:8px 0}.ai-retrieval-sources small{color:#52637b}.landlord-ai-context{padding:14px 16px;margin:16px 0;border-radius:12px;background:#f3f5f8;color:#3f526c;font-size:14px;line-height:1.65}.landlord-ask-error{margin:16px 0;padding:16px;border-radius:12px;background:#fff1ed;color:#862c13;line-height:1.7}.ai-retry{min-height:44px;margin:0 0 14px;padding:10px 18px;border:1px solid #c9d4e4;border-radius:12px;background:#fff;color:#154679;cursor:pointer}.landlord-assistant .answer{overflow-wrap:anywhere}.landlord-assistant .answer>p{white-space:pre-wrap;line-height:1.8;margin:20px 0}.landlord-assistant .ask{gap:16px}.landlord-assistant .ask button{min-height:48px;margin-top:8px}@media(max-width:540px){.ai-retrieval{padding:16px;gap:10px}.ai-retrieval-sources article{padding:16px 0}.landlord-assistant .ask button{width:100%}}

.ai-source-state{display:inline-flex;align-items:center;margin-left:4px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.6;white-space:nowrap;vertical-align:middle}.ai-source-state.is-confirmed{background:#e4f4ec;color:#0b6247}.ai-source-state.is-review{background:#fff4dd;color:#8a5200}.ai-source-state.is-missing{background:#edf1f6;color:#455365}

.assistant{max-width:900px;margin:28px auto;padding:36px!important}.ai-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.ai-top h1{font-size:38px;line-height:1.25;letter-spacing:-1.8px;margin:18px 0 14px}.ai-top p{font-size:15px;color:#757580;line-height:1.7;margin:0}.ai-mark{display:grid;place-items:center;background:#edf2ff;color:#3273da;border:1px solid #e1e9fb;border-radius:17px;width:48px;height:48px;font-size:34px}.ai-top>.button{white-space:nowrap}.ai-scope{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:12px;margin:26px 0 14px}.ai-scope>span{background:#f0f5fc;color:#32609c;padding:7px 10px;border-radius:8px}.ai-scope small{color:#73737e}.ai-prompts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 25px}.ai-prompts button{font:inherit;font-size:13px;text-align:left;border:1px solid #e7e7ed;border-radius:12px;color:#454550;background:#fafafb;padding:15px;display:flex;justify-content:space-between;gap:8px;cursor:pointer}.ai-prompts button:hover{background:#f0f4fd;border-color:#cdddf4}.ai-prompts span{color:#3974c7}.ai-composer{border:1px solid #d7dfeb;border-radius:18px;background:white;box-shadow:0 5px 22px #264c7e09;padding:14px;margin:22px 0 0}.ai-composer:focus-within{border-color:#4484de;box-shadow:0 0 0 3px #3779dd15}.ai-composer textarea{border:0!important;outline:none;box-shadow:none!important;width:100%;font:inherit;font-size:15px;line-height:1.65;padding:2px;background:none;resize:vertical;min-height:66px;max-height:240px}.ai-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.ai-composer-foot label{font-size:12px;color:#62626d;display:flex;align-items:center;gap:5px}.ai-send{width:38px;height:38px;border:0;border-radius:50%;background:#2470d7;color:white;font-size:26px;cursor:pointer}.ai-error{color:#ae3434;font-size:13px}.ai-help{font-size:12px;color:#777782;line-height:1.7;text-align:center}.ai-privacy{font-size:12px;color:#777782;margin-top:16px;line-height:1.7}.ai-privacy summary{cursor:pointer}.ai-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px;font-size:12px}.ai-turn{margin-top:28px;scroll-margin-top:20px}.ai-question{background:#eff4fc;border-radius:18px 18px 4px 18px;max-width:85%;width:fit-content;margin:0 0 18px auto;padding:13px 17px;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.ai-answer{border-left:2px solid #e5ecf6;padding-left:20px}.ai-answer-label{font-size:11px;letter-spacing:.3px;color:#3c6baf;font-weight:600}.ai-reply{font-size:15px;line-height:1.8;white-space:pre-wrap;margin:10px 0}.ai-asof{font-size:11px;color:#8a8a94}.ai-facts{background:#f7f9fc;border-radius:15px;border:1px solid #e9edf3;padding:22px;margin:18px 0}.ai-fact-main>small{display:block;color:#7b7b87;font-size:12px}.ai-fact-main>strong{display:block;font-size:32px;letter-spacing:-1px;margin:7px 0 20px}.ai-fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ai-fact-grid>span{font-size:12px;color:#74747f}.ai-fact-grid b{display:block;font-size:17px;color:#33333b;margin-top:5px}.ai-fact-grid b.ai-overdue{color:#b74c3a}.ai-facts details{font-size:12px;margin-top:20px;border-top:1px solid #e2e7f0;padding-top:14px}.ai-detail-row{display:flex;justify-content:space-between;gap:12px;margin-top:15px}.ai-detail-row>span:last-child{text-align:right}.ai-detail-row small{display:block;color:#84848f;margin-top:5px}.ai-contract{padding:19px;background:#f7f9fc;border-radius:13px;margin:16px 0}.ai-contract>strong{display:block;font-size:20px;margin:14px 0}.ai-contract strong>span{color:#a3a8b3}.ai-contract dl{font-size:12px;margin:0}.ai-contract dl>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0}.ai-contract dt{color:#7f7f8b}.ai-contract dd{margin:0;text-align:right}.ai-sources,.ai-notes{font-size:12px;color:#60606c;margin:18px 0}.ai-sources summary,.ai-notes summary,.ai-facts summary{cursor:pointer;font-weight:500}.ai-source{padding:15px 0;border-bottom:1px solid #ececf1}.ai-source-type{display:block;font-size:10px;color:#6f83a4;margin-bottom:7px}.ai-source b{color:#454551;font-size:13px}.ai-source p,.ai-notes p{line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.ai-source small{display:block;color:#8b8b97;margin-top:7px}.ai-source a{font-size:11px}.ai-followup{font-size:13px;line-height:1.6}.ai-working{font-size:13px;color:#6a82ab;padding:18px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ai-banner{display:flex;align-items:center;gap:16px;background:#f0f4fc;border:1px solid #e1e9f7;border-radius:18px;padding:20px 24px;margin:20px 0;text-decoration:none;color:#29394d}.ai-banner>span:nth-child(2){flex:1}.ai-banner b{display:block;font-size:16px;margin-bottom:5px}.ai-banner small{color:#778498;font-size:12px}.ai-banner>span:last-child{color:#3f70b6}
@media(max-width:760px){.assistant{padding:23px 18px!important;margin:18px 0}.ai-top h1{font-size:30px;letter-spacing:-1.4px}.ai-top>.button{font-size:12px;padding:9px 11px}.ai-top p{font-size:13px}.ai-prompts button{padding:12px;font-size:12px;line-height:1.6}.ai-answer{padding-left:12px}.ai-facts{padding:17px}.ai-fact-main>strong{font-size:28px}.ai-fact-grid b{font-size:15px}.ai-contract>strong{font-size:16px}.ai-composer textarea{font-size:16px}.ai-scope{gap:8px}.ai-banner{padding:16px;gap:12px}.ai-banner b{font-size:15px}.ai-banner small{font-size:11px}.bottomnav a{min-width:0}.ai-actions{gap:15px}}
@media(prefers-reduced-motion:reduce){.assistant *{scroll-behavior:auto!important}}

/* One resident conversation, from question to confirmed office intake. */
.resident-concierge{display:flex;align-items:center;gap:18px;padding:28px 24px;margin:20px 0 17px;border:1px solid #dce6f4;background:linear-gradient(120deg,#fff,#edf4ff);border-radius:24px;color:#2d435f;text-decoration:none}.concierge-symbol{width:58px;height:58px;flex-shrink:0;display:grid;place-items:center;border:1px solid #d7e6fb;border-radius:19px;background:#e9f2ff;color:#3673c4}.concierge-symbol svg{width:30px;height:30px}.resident-concierge>span:nth-child(2){flex:1;min-width:0}.resident-concierge small{display:block;color:#607b9f;font-size:11px;margin-bottom:8px}.resident-concierge b{display:block;font-size:25px;letter-spacing:-.8px;font-weight:650}.resident-concierge em{display:block;font-size:12px;line-height:1.7;font-style:normal;color:#617693;margin-top:9px}.concierge-arrow{color:#6889b3}.concierge-arrow svg{width:22px;height:22px}.ai-intake,.ai-intake-receipt{border:1px solid #dbe6f5;background:#f7faff;border-radius:17px;padding:19px;margin:18px 0}.ai-intake summary{font-size:14px;font-weight:600;cursor:pointer;color:#3c5e8d;line-height:1.6}.ai-intake-note{font-size:12px;color:#63758d;line-height:1.7}.ai-intake form label{display:block;font-size:12px;color:#5b6f8b;margin-top:13px}.ai-intake input,.ai-intake select,.ai-intake textarea{display:block;width:100%;font:inherit;font-size:14px;line-height:1.65;border:1px solid #d7e2f0;border-radius:11px;background:white;padding:11px 12px;margin-top:6px;color:#304762;min-height:44px;box-sizing:border-box}.ai-intake textarea{resize:vertical}.ai-intake-fields{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.ai-intake .button{width:100%;margin-top:7px}.ai-intake-receipt{background:#f3f8f7;border-color:#dceae5}.ai-intake-receipt h3{font-size:16px;line-height:1.6;margin:9px 0;color:#3b5c53;overflow-wrap:anywhere}.ai-intake-receipt>p{font-size:12px;line-height:1.7;color:#617e75}.ai-receipt-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;margin-top:15px}.ai-receipt-events{margin-top:16px;border-top:1px solid #dce8e3}.ai-receipt-events article{padding-top:15px}.ai-receipt-events small{font-size:11px;color:#6a837a}.ai-receipt-events p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.assistant-resident .ai-top h1{font-size:32px}.ai-actions .link{font:inherit}
@media(max-width:760px){.resident-concierge{padding:23px 18px;gap:13px;border-radius:21px}.concierge-symbol{width:45px;height:45px;border-radius:15px}.concierge-symbol svg{width:25px;height:25px}.resident-concierge b{font-size:22px}.resident-concierge small{font-size:10px}.resident-concierge em{font-size:11px}.concierge-arrow svg{width:19px;height:19px}.assistant-resident{padding:23px 16px!important}.assistant-resident .ai-top{gap:10px}.assistant-resident .ai-top h1{font-size:25px!important;letter-spacing:-.8px}.assistant-resident .ai-top p{font-size:12px}.assistant-resident .ai-top>.button{padding:8px 10px}.assistant-resident .ai-scope{margin-top:20px}.ai-intake,.ai-intake-receipt{padding:15px}.ai-intake-fields{grid-template-columns:1fr}.ai-intake input,.ai-intake select,.ai-intake textarea{font-size:16px}.assistant-resident .ai-answer{padding-left:10px}.assistant-resident .ai-question{max-width:94%;font-size:14px}.assistant-resident .ai-reply{font-size:14px}}

.ai-receipt-reply{margin-top:17px;padding-top:15px;border-top:1px solid #dce8e3}.ai-receipt-reply label{display:block;font-size:12px;color:#61796e;line-height:1.7}.ai-receipt-reply textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #d5e2dc;border-radius:11px;padding:12px;font:inherit;font-size:16px;line-height:1.7;margin:8px 0 12px;background:#fff;color:#344f45;resize:vertical}.ai-receipt-reply .button{width:100%}

.ai-history{margin-top:22px;border-top:1px solid #e4eaf3;padding-top:16px}.ai-history>summary{font-size:12px;color:#577496;line-height:1.7;cursor:pointer;padding:10px 0}.ai-history .ai-turn{margin-top:22px}.ai-history[open]{padding-bottom:18px}

/* Two clear roles, one conversation-to-service flow. */
.ai-identity{display:flex;align-items:center;gap:13px;margin:0 0 15px}.ai-identity img{width:44px;height:44px;border-radius:14px;flex:none}.ai-identity h1{margin:0!important;font-size:32px!important;letter-spacing:-1px}.concierge-symbol img{display:block;width:100%;height:100%;border-radius:16px}.ai-service-guide{margin:18px 0;padding:17px;border:1px solid #dfebe7;border-radius:16px;background:#f6fbf9;color:#4a6d65}.ai-service-facts{display:flex;flex-wrap:wrap;gap:10px 18px;margin:14px 0;font-size:11px;color:#7b8f88}.ai-service-facts b{display:block;color:#3f695d;margin-top:5px;font-size:13px}.ai-service-questions{margin-top:14px;font-size:12px;line-height:1.8}.ai-service-questions b{font-weight:600}.ai-service-questions p{margin:6px 0}.ai-service-questions .button{margin-top:10px;font-size:12px;background:white;color:#487568;border-color:#d8e7df}.ai-service-guide.is-urgent{background:#fff6f3;border-color:#eed7ce;color:#8e4c37;font-size:13px;line-height:1.8}.is-urgent .button{background:#a94d39;color:white}.ai-emergency-source{display:block;font-size:11px;margin-top:12px}.assistant-resident .ai-send{background:#278a78}.assistant-resident .ai-top>.button{color:#5f7e75}.assistant-resident .ai-scope>span{background:#eef7f3;color:#467c6e}.assistant-resident .ai-question{background:#eef6f3}.assistant-resident .ai-answer-label{color:#458071}.assistant-resident .ai-answer{border-left-color:#dfebe6}.assistant-resident .ai-intake{border-color:#dce9e2;background:#f8fbf9}.assistant-resident .ai-intake summary{color:#487563}.assistant-resident .ai-intake .primary{background:#278a78;border-color:#278a78}
@media(max-width:760px){.ai-identity{gap:11px;margin-bottom:12px}.ai-identity img{width:38px;height:38px;border-radius:12px}.assistant-resident .ai-identity h1,.ai-identity h1{font-size:25px!important}.ai-service-guide{padding:13px}.ai-top>.button{white-space:nowrap}}

.jt-photo-guide{margin:15px 0;padding:16px;border:1px solid #e1e9e5;border-radius:14px;background:#fff;font-size:12px;line-height:1.7}.jt-photo-guide>b{font-size:13px;color:#3f6255}.jt-photo-guide ol{padding-left:19px;margin:11px 0}.jt-photo-guide li{padding:4px 0}.jt-photo-guide li strong{display:block;color:#476b5d}.jt-photo-guide li span{color:#76837d}.jt-photo-guide>p,.jt-photo-note{font-size:11px;color:#7b8680;line-height:1.75}.jt-photo-picker{margin:19px 0;border-top:1px solid #dce8e1;padding-top:17px}.jt-photo-picker-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.jt-photo-picker-top>b,.jt-saved-photos>b{font-size:13px;color:#48665a}.jt-photo-picker-top small{font-weight:400;color:#839188}.jt-photo-select{position:relative;overflow:hidden;font-size:11px!important;white-space:nowrap;display:block!important;margin:0!important;width:auto!important}.jt-photo-select input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0!important;padding:0!important}.jt-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.jt-photo-grid figure{margin:0;min-width:0;padding:9px;background:white;border:1px solid #e1e7e3;border-radius:12px}.jt-photo-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px;background:#f4f6f5}.jt-photo-grid figcaption{font-size:11px;line-height:1.7;overflow-wrap:anywhere;margin:9px 0}.jt-photo-grid figure>div{display:flex;justify-content:space-between;gap:8px;font-size:11px}.jt-photo-grid label{font-size:11px!important;margin-top:8px!important}.jt-photo-grid input{font-size:12px!important;padding:8px!important;min-height:38px!important;width:100%;box-sizing:border-box}.jt-photo-grid .link{font-size:11px;margin-top:9px}.jt-saved-photos{margin:17px 0}.jt-as-note{background:#f6f8fb;border:1px solid #e3e8ef;padding:16px;border-radius:14px;margin-top:16px;font-size:12px;line-height:1.7}.jt-as-note .button{font-size:12px}.jt-photo-upload{width:100%;margin-top:10px}.jt-photo-error{font-size:12px;line-height:1.7;color:#a34d32}@media(max-width:380px){.jt-photo-grid{gap:7px}.jt-photo-grid figure{padding:6px}.jt-photo-picker-top{align-items:flex-start;gap:7px}.jt-photo-select{padding:8px!important;font-size:10px!important}.jt-photo-grid input{font-size:16px!important}.jt-photo-guide{padding:12px}}

/* Keep a visible new-topic action next to on-demand history on every screen. */
.ai-chat-toolbar{position:sticky;top:0;z-index:8;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;background:var(--surface,#fff);border-bottom:1px solid #e5e7eb;margin-bottom:16px}.ai-chat-toolbar .button{min-height:46px;padding:10px 18px;font-size:15px;white-space:nowrap;border-radius:12px}.ai-chat-toolbar #ai-new{background:#006ee6;color:#fff;border-color:#006ee6;font-weight:650}.ai-chat-toolbar #ai-new:focus-visible,.ai-history-entry:focus-visible{outline:3px solid #006ee6;outline-offset:3px}.ai-chat-status{font-size:12px;color:#536174}.ai-history-list{padding:16px;background:#f6f8fb;border:1px solid #dce3ec;border-radius:14px;margin-bottom:20px;max-height:380px;overflow:auto}.ai-history-list[hidden]{display:none}.ai-history-list>p{font-size:13px;color:#536174}.ai-history-entry{display:block;text-align:left;width:100%;min-height:56px;padding:12px;background:white;border:1px solid #dce3ec;border-radius:10px;margin-top:8px;color:#202b3c;font:inherit;overflow-wrap:anywhere}.ai-history-entry small{display:block;font-size:12px;color:#536174;margin-top:6px}.ai-turn{scroll-margin-top:100px}@media(max-width:760px){.ai-chat-toolbar{top:env(safe-area-inset-top,0px);gap:8px}.ai-chat-status{width:100%}.ai-chat-toolbar .button{flex:1}.ai-composer textarea{font-size:16px}}

/* Keep Korean phrases together; long identifiers may still wrap safely. */
.ai-reply,.ai-question,.ai-table-note,.ai-no-rows,.ai-repair-card{word-break:keep-all;overflow-wrap:anywhere}

.jt-documents{border:1px solid #e4e8ef;border-radius:18px;margin:18px 0;background:#fafbfd}.jt-documents>summary{display:flex;align-items:center;gap:13px;list-style:none;cursor:pointer;padding:17px 18px}.jt-documents>summary::-webkit-details-marker{display:none}.jt-documents>summary>span:nth-child(2){flex:1;min-width:0}.jt-documents b{font-size:14px;font-weight:600}.jt-documents small{display:block;color:#7b8390;font-size:11px;line-height:1.6;margin-top:3px}.jt-folder-mark{font-size:25px;color:#6485b2}.jt-documents>summary>span:last-child{color:#8190a5}.jt-documents-body{border-top:1px solid #e5eaf2;padding:18px}.jt-note{font-size:12px;color:#727d8b;line-height:1.8}.jt-documents form[data-doc-upload]{display:grid;gap:10px;margin-top:16px}.jt-file-pick{font-size:12px;color:#4f6581}.jt-file-pick input{display:block;max-width:100%;font-size:13px;margin-top:8px}.jt-documents .button{font-size:12px}.jt-file-list{display:grid;gap:7px;margin-top:17px}.jt-file-list>button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e0e6ef;border-radius:12px;background:#fff;padding:14px;color:#405773;font:inherit;cursor:pointer;min-width:0}.jt-file-list>button>span:nth-child(2){flex:1;min-width:0}.jt-file-list b{display:block;font-size:12px;overflow-wrap:anywhere}.jt-error{font-size:12px;color:#a44337;line-height:1.8}.jt-notice{font-size:12px;color:#356e61;line-height:1.8}.jt-contract-detail{margin-top:22px;padding-top:20px;border-top:1px solid #dfe6ef;scroll-margin-top:16px}.jt-document-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.jt-document-heading h3{font-size:15px;line-height:1.6;margin:4px 0 14px;overflow-wrap:anywhere}.jt-file-actions{display:flex;gap:8px;flex-wrap:wrap}.jt-preview{margin-top:15px;max-height:550px;overflow:auto;background:#edf0f5;padding:5px;border-radius:8px;line-height:1.8;font-size:12px}.jt-preview img,.jt-preview canvas{display:block;width:100%;height:auto}.jt-page-actions{display:flex;justify-content:center;align-items:center;gap:13px;font-size:12px;margin-top:8px}.jt-page-actions[hidden],.jt-preview[hidden]{display:none}.jt-summary,.jt-warning{font-size:13px;line-height:1.8;white-space:pre-wrap}.jt-warning{color:#916333}.jt-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px}.jt-review-grid label,.jt-notes-label{display:block;font-size:12px;color:#52677f}.jt-review-grid input,.jt-notes-label textarea{display:block;box-sizing:border-box;width:100%;min-width:0;border:1px solid #dce3ed;border-radius:10px;background:white;padding:11px;font:inherit;font-size:16px;line-height:1.6;margin-top:6px;color:#334861}.jt-review-grid small{font-size:10px;overflow-wrap:anywhere}.jt-review-grid .jt-different{color:#ac6a22}.jt-notes-label{margin-top:15px}.jt-confirm{display:flex;align-items:flex-start;gap:8px;margin:18px 0;font-size:12px;line-height:1.6;color:#536a85}.jt-confirm input{flex:none;margin-top:3px}.jt-contract-detail h4{font-size:14px;margin:24px 0 8px}.jt-contract-detail form>.primary{width:100%}.ai-composer-caption{font-size:11px;color:#7c899b}.ai-connection-note{padding:10px 13px;border-radius:10px;background:#f5f7fb;color:#718199;font-size:11px;line-height:1.7;margin:10px 0}.ai-answer-label{font-size:12px}
@media(max-width:420px){.jt-documents-body{padding:14px}.jt-review-grid{grid-template-columns:1fr}.jt-documents>summary{padding:15px}.jt-file-actions .button{padding:10px}.jt-file-pick input{font-size:12px}.jt-contract-detail{scroll-margin-top:8px}}

.jt-preview.is-zoomed canvas,.jt-preview.is-zoomed img{width:200%;max-width:none}.jt-file-actions [hidden]{display:none}

.ai-attach{border:0;border-radius:9px;background:#f3f6fa;color:#526e92;font:inherit;font-size:12px;padding:10px 12px;cursor:pointer}.jt-documents{scroll-margin-top:125px}

/* Keep the private document task readable on the resident's narrow screen. */
.jt-documents .jt-note,.jt-documents small{font-size:13px;color:#536572;line-height:1.75}
.jt-documents label{font-size:14px;line-height:1.6;color:#344b5c}
.jt-documents .jt-file-pick{display:grid;gap:8px;border:1px dashed #b9c8d0;border-radius:12px;background:#f5f8fa;padding:16px}
.jt-documents input[type=file]{width:100%;min-height:44px;font-size:14px}
.jt-documents .jt-selected-file{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:0;color:#315c51}
.jt-documents .jt-selected-file:empty,.jt-documents .jt-error:empty,.jt-documents .jt-notice:empty{display:none}
.jt-documents .jt-notice{background:#f0f7f2;border:1px solid #c9ddd1;border-radius:10px;padding:12px 14px;font-size:13px;color:#2a5b47}
.jt-documents .jt-error{background:#fff2f2;border:1px solid #edc8ce;border-radius:10px;padding:12px 14px;font-size:13px;color:#a32c37}
.jt-documents [data-doc-upload] button[type=submit]{min-height:46px;background:#166b62;color:white;border:1px solid #166b62;font-size:14px;border-radius:10px}
.jt-documents button:disabled{opacity:.5;cursor:default}.jt-documents button[aria-pressed=true][data-doc-id]{border-color:#166b62;background:#f0f7f2}
.jt-documents .jt-file-list b{font-size:14px;line-height:1.6}.jt-documents .jt-contract-detail{scroll-margin-top:150px}
.jt-documents .jt-document-heading{gap:12px;flex-wrap:nowrap}.jt-documents .jt-document-heading>h3,.jt-documents .jt-document-heading>div{flex:1;min-width:0}.jt-documents .jt-document-heading>button{flex:none}.jt-documents .jt-document-heading h3{font-size:17px;margin-top:4px}
.jt-documents .jt-file-actions .button{font-size:13px;min-height:44px}.jt-documents .jt-file-actions button:focus-visible,.jt-documents .jt-document-heading button:focus-visible{outline:3px solid #387f9d;outline-offset:3px}
.jt-documents .jt-confirm{font-size:14px}
@media(max-width:420px){.jt-documents .jt-file-actions{display:grid;grid-template-columns:1fr 1fr}.jt-documents .jt-file-actions [data-preview]{grid-column:1/-1}.jt-documents .jt-file-actions:has([data-zoom][hidden])>a{grid-column:1/-1}.jt-documents .jt-preview{max-height:58dvh}.jt-documents .jt-documents-body{padding:16px}}

.work-search-trigger{display:flex;align-items:center;gap:8px;padding:10px 12px;min-height:40px;border:1px solid #e1e3e8;background:white;border-radius:11px;font-size:12px;color:#566171;white-space:nowrap}.work-search-trigger svg{width:17px}.work-search-trigger kbd,.work-search-big kbd{font-family:inherit;font-size:10px;background:#f3f4f6;color:#8b909a;border:1px solid #e7e9ed;padding:3px 5px;border-radius:5px}.work-start{margin:0 0 26px;border:1px solid #e5e8ee;background:#fff;border-radius:22px;padding:23px}.work-search-big{display:flex;align-items:center;gap:14px;width:100%;padding:18px 20px;border:1px solid #e0e5ee;border-radius:14px;background:#f8f9fb;text-align:left;color:#4b617e}.work-search-big>svg{width:24px;height:24px}.work-search-big span{flex:1}.work-search-big b{display:block;color:#2f3540;font-size:17px;font-weight:600}.work-search-big small{display:block;margin-top:6px;color:#8690a0;font-size:12px}.work-quick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:20px}.work-quick button{border:0;background:white;border-radius:12px;position:relative;padding:12px 4px;min-height:90px;display:flex;align-items:center;flex-direction:column;gap:10px;color:#424955}.work-quick button:hover{background:#f3f6fb}.work-quick button>span{border-radius:13px;background:#f1f5fc;display:grid;place-items:center;width:42px;height:42px;color:#5076ad}.work-quick b{font-size:12px;font-weight:550}.work-quick em{position:absolute;top:5px;right:calc(50% - 28px);font-size:10px;font-style:normal;color:#fff;background:#4d78b9;border-radius:10px;min-width:19px;padding:3px 4px}.work-all{display:flex;justify-content:flex-end;align-items:center;gap:7px;font-size:12px;color:#6c7f99;margin-top:12px}.work-all svg{width:16px}.admin-scene{min-height:170px}.admin-scene .hero-copy{padding:23px 30px}.admin-scene img{min-height:170px;max-height:210px}.admin-scene h2{font-size:25px}.work-search-field{display:flex;align-items:center;gap:10px;border:1px solid #dce2eb;background:white;padding:0 14px;border-radius:13px;margin:0}.work-search-field:focus-within{border-color:#4386dd;box-shadow:0 0 0 3px #4386dd12}.work-search-field svg{color:#8592a7;width:20px;flex-shrink:0}.work-search-field input{border:0;outline:none;background:transparent;margin:0;min-height:52px;padding:13px 0;font-size:15px;box-shadow:none}.work-result-count,.work-search-hint{font-size:11px;color:#87909c;margin:13px 0;line-height:1.7}.work-group{margin:27px 0}.work-group h2{font-size:15px;color:#657287;margin:0 0 12px}.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.work-card{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e6e9ee;background:#fff;padding:19px;border-radius:15px;min-height:89px}.work-card:hover{border-color:#bdcee7;background:#f8faff}.work-card>.task-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#f3f6fa;flex-shrink:0;color:#5b789e}.work-card>span:nth-child(2){flex:1;min-width:0}.work-card b{display:block;font-size:14px;font-weight:600;color:#333c49}.work-card small{display:block;font-size:11px;color:#85909e;line-height:1.6;margin-top:5px}.work-card>svg{width:16px;flex-shrink:0;color:#9aa7b7}.work-search-results{display:grid;gap:8px;max-height:49dvh;overflow:auto;overscroll-behavior:contain;padding:2px}.work-search-results .work-card{min-height:77px;padding:14px;border-radius:12px}.resident-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:25px 0 18px}.resident-service{border:1px solid #e5e8ed;border-radius:23px;background:white;padding:30px 16px;display:flex;align-items:center;flex-direction:column;gap:11px;min-height:170px;box-shadow:0 5px 20px #20334b03}.resident-service>span{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:#edf4ff;color:#3376c4}.resident-service.inquiry>span{color:#4f847b;background:#eef7f4}.resident-service.report>span{color:#ba7a50;background:#fcf4ed}.resident-service svg{width:27px;height:27px}.resident-service b{font-size:22px;color:#303740;font-weight:650;letter-spacing:-.8px}.resident-service small{font-size:12px;color:#89909a}.resident-service:hover{border-color:#bfcede;box-shadow:0 5px 20px #20334b09}.intake-tracker{display:flex;align-items:center;gap:13px;border-radius:16px;padding:20px 24px;background:#eaf1fb;color:#475e82;margin:0 0 25px}.intake-tracker>.task-icon{display:grid;place-items:center;background:#fff9;border-radius:12px;width:38px;height:38px}.intake-tracker>span:nth-child(2){flex:1}.intake-tracker b{display:block;font-size:14px}.intake-tracker small{display:block;color:#7a8da7;font-size:12px;margin-top:5px}.resident-home-card{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #e5e8ed;border-radius:22px;overflow:hidden;margin-bottom:20px}.resident-home-card>div{padding:27px}.resident-home-card h2{font-size:25px;letter-spacing:-1px;margin:15px 0 9px}.resident-home-card p{font-size:13px;color:#87909b}.resident-bill{background:#fafbfc}.resident-bill>small{font-size:12px;color:#8c95a2}.resident-bill strong{display:block;font-size:31px;letter-spacing:-1px;margin:13px 0 15px;color:#333d4c}.resident-bill a{display:flex;align-items:center;gap:8px;font-size:12px;color:#427bbb}.resident-bill svg{width:16px}.resident-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 26px}.resident-shortcuts a{display:flex;align-items:center;justify-content:center;gap:9px;padding:18px 8px;background:#eeeff2;border-radius:13px;color:#6f7c8e}.resident-shortcuts b{font-size:12px;color:#5d6878;font-weight:500}.resident-shortcuts svg{width:18px;height:18px}.intake-options{display:grid;gap:12px;margin-top:20px}.intake-options button{justify-content:flex-start;gap:15px;min-height:64px;font-size:15px}.request-tabs{max-width:100%;overflow-x:auto;white-space:nowrap}.request-tabs button{flex-shrink:0}#sheet .resident-actions{gap:8px}#sheet .resident-service{padding:20px 8px;min-height:138px;border-radius:16px}#sheet .resident-service b{font-size:19px}#sheet .resident-service small{font-size:10px}#sheet .resident-service>span{width:40px;height:40px}.work-card:focus-visible,.resident-service:focus-visible,.work-search-big:focus-visible{outline:3px solid #4188df;outline-offset:3px}
@media(max-width:1100px){.topbar-right{gap:7px}.work-search-trigger kbd{display:none}.work-quick{grid-template-columns:repeat(3,minmax(0,1fr))}.work-grid{grid-template-columns:1fr}.work-search-big b{font-size:16px}}
@media(max-width:760px){.work-search-trigger{padding:8px;width:35px;min-height:35px;justify-content:center}.work-search-trigger span,.work-search-trigger kbd{display:none}.topbar{flex-wrap:wrap}.topbar select{max-width:124px}.work-start{padding:16px;border-radius:19px;margin-bottom:20px}.work-search-big{padding:15px 13px;gap:10px}.work-search-big b{font-size:15px}.work-search-big small{font-size:11px}.work-search-big kbd{display:none}.work-quick{gap:4px;margin-top:14px}.work-quick button{min-height:80px;padding:9px 3px}.work-quick b{font-size:11px}.work-card{padding:16px}.work-card b{font-size:13px}.work-search-field input{font-size:16px}.resident-actions{gap:10px;margin:20px 0 14px}.resident-service{min-height:142px;padding:22px 6px;border-radius:19px;gap:10px}.resident-service>span{width:43px;height:43px;border-radius:14px}.resident-service svg{width:24px;height:24px}.resident-service b{font-size:21px}.resident-service small{font-size:10px;white-space:nowrap}.intake-tracker{padding:17px 16px;gap:10px;margin-bottom:20px}.intake-tracker b{font-size:13px}.intake-tracker small{font-size:11px}.resident-home-card{border-radius:18px}.resident-home-card>div{padding:20px 17px}.resident-home-card h2{font-size:20px}.resident-home-card p{font-size:11px;line-height:1.6}.resident-bill strong{font-size:25px}.resident-bill>small{font-size:10px}.resident-bill a{font-size:11px}.resident-shortcuts{gap:8px;margin-bottom:22px}.resident-shortcuts a{flex-direction:column;gap:8px;padding:15px 5px}.resident-shortcuts b{font-size:11px}.admin-scene{display:none}.ai-banner{margin-top:0}.request-tabs{width:100%}}
@media(max-width:360px){.topbar .mobile-brand{font-size:15px}.topbar-right{gap:5px}.topbar select{max-width:104px}.topbar .work-search-trigger{width:32px}.resident-service{min-height:128px;padding:18px 4px;gap:8px}.resident-service small{font-size:9px}.resident-actions{gap:7px}.resident-home-card>div{padding:17px 14px}.resident-bill strong{font-size:22px}}

/* Shared, quiet UI for the rental home and documents. */
:root{--muted:#707781;--line:#e7e9ed;--blue:#1673df;color:#24272c;background:#f7f8fa;font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;color-scheme:light}
body{background:#f7f8fa}h1{font-size:30px!important;letter-spacing:-1.1px!important;line-height:1.3}h2{letter-spacing:-.5px}.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{background:#fff;padding:27px 17px}.brand{font-size:18px}.side-label{margin:32px 12px 11px}.menu{gap:7px;margin-top:0}.menu a{padding:13px 12px;border-radius:11px;font-size:14px}.main{max-width:1240px;padding:0 38px 38px}.topbar{min-height:76px;margin-bottom:24px}.heading{margin-bottom:22px}.heading .eyebrow{font-size:12px;font-weight:500;letter-spacing:0;color:#737b86;margin-bottom:8px}.heading .muted{font-size:13px;margin-top:7px}.demo-bar{margin-bottom:23px;background:#eef3f9;color:#637b97;padding:8px 12px;font-size:11px}.demo-bar button{padding:7px 10px}.demo-bar .desktop-extra{display:none}.panel{border-radius:17px;padding:22px;border-color:#e7e9ed;box-shadow:none}.panel-head{margin-bottom:12px}.panel-head h2{font-size:16px}.button{min-height:44px;font-weight:550;border-radius:10px}.iconbtn{min-width:40px;min-height:40px}.link{min-height:36px;display:inline-flex;align-items:center}.row h3{font-weight:550}.foot{font-size:10px;padding-top:25px;color:#858d98}.overview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:18px;margin:0 0 18px;padding:22px 0}.overview-strip>a,.overview-strip>button{border:0;border-right:1px solid var(--line);background:none;color:inherit;padding:0 24px;min-width:0;text-align:left;font:inherit;display:flex;flex-direction:column;gap:9px}.overview-strip>:last-child{border-right:0}.overview-strip small{font-size:12px;color:var(--muted)}.overview-strip strong{font-size:27px;font-weight:650;letter-spacing:-.8px;white-space:nowrap}.overview-strip em{font-size:14px;color:#8b929c;font-style:normal;font-weight:400}.overview-strip span{font-size:11px;color:#9299a4;display:flex;align-items:center;gap:5px}.overview-strip svg{width:13px;height:13px}.work-start{padding:18px;border-radius:18px;margin-bottom:20px}.work-search-big{padding:13px 16px;border-radius:11px;background:#f6f8fb;border-color:#e8edf3}.work-search-big b{font-size:14px;font-weight:550}.work-search-big small{font-size:11px;margin-top:3px}.work-search-big>svg{width:20px}.work-quick{margin-top:12px}.work-quick button{min-height:83px}.work-quick button>span{width:36px;height:36px;border-radius:11px}.work-all{margin-top:4px}.simple-home-panels{grid-template-columns:1.1fr 1fr}.task{min-height:70px;padding:13px 0}.task small{color:#8a929e;line-height:1.5}.task-count{font-size:17px;font-weight:600;color:#355c8c}.task>svg{flex-shrink:0;width:17px}.simple-home-panels .task>span:only-of-type,.simple-home-panels .task>span:first-child:not(.task-icon){flex:1}.simple-home-panels .panel>.button{margin-top:12px}.property-address{font-size:12px;color:#828a96;margin:-9px 0 22px;overflow-wrap:anywhere}.room-card .room-no{font-size:24px}.room-rent{margin:24px 0 10px}.room-rent small{display:block;font-size:11px;color:#8b939f;margin-bottom:7px}.room-rent strong{font-size:16px;display:block;font-weight:600;line-height:1.8}.room-rent strong span{color:#838d9b;font-weight:400;font-size:12px}.room-end{font-size:12px;color:#7b8491;margin:12px 0}.billing-summary{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:22px}.billing-summary small{color:#7c8592;font-size:12px}.billing-summary strong{display:block;font-size:32px;font-weight:650;letter-spacing:-1px;margin:7px 0 0}.list-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 18px}.list-toolbar .tabs{margin:0}.list-toolbar>.button{font-size:12px;padding:9px 12px}.list-panel{padding:5px 22px}.row-side .link{display:block;text-align:right;margin-left:auto}.tabs{background:#edeff3;border-radius:10px}.tabs button{min-height:36px;padding:8px 13px}.simple-details{border:1px solid var(--line);background:white;border-radius:14px;margin:22px 0;padding:0 18px;font-size:13px}.simple-details>summary{cursor:pointer;min-height:51px;padding:16px 0;font-weight:550;color:#5e6979}.simple-details[open]{padding-bottom:18px}.simple-details>.prose{margin:3px 0 15px}.simple-details .actions{margin-top:8px}.compact-intake{display:flex;gap:8px;margin-bottom:22px}.compact-intake>.button{flex:1}.notice-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notice-card .prose{margin-top:8px;color:#7c8490}.notice-card .actions{margin-top:10px}.resident-actions{margin-top:10px;gap:13px}.resident-service{padding:24px 14px;min-height:150px;border-radius:18px;box-shadow:none}.resident-service b{font-size:20px}.resident-service>span{width:44px;height:44px;border-radius:14px}.resident-service small{font-size:11px}.intake-tracker{margin-bottom:18px;padding:16px 20px;border-radius:14px;background:#edf3fb}.resident-home-card{border-radius:17px;margin-bottom:16px}.resident-home-card>div{padding:24px}.resident-home-card h2{font-size:23px;margin:13px 0 6px}.resident-shortcuts{margin:16px 0 22px}.resident-shortcuts a{background:#eceff3;border-radius:11px}.work-result-count{margin:12px 0}.work-group{border:1px solid var(--line);background:#fff;border-radius:15px;margin:10px 0;overflow:hidden}.work-group>summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:19px;list-style:none;font-size:14px;font-weight:600;min-height:60px}.work-group>summary::-webkit-details-marker{display:none}.work-group>summary:after{content:'+';margin-left:auto;font-size:20px;font-weight:400;color:#8893a1}.work-group[open]>summary:after{content:'−'}.work-group>summary small{font-size:11px;font-weight:400;background:#f1f3f6;border-radius:6px;padding:2px 6px;color:#7f8b9b}.work-grid{padding:0 12px 12px;gap:4px}.work-card{border-color:transparent;border-radius:10px;min-height:76px;padding:13px;background:#fafbfc}.work-card small{font-size:11px}.work-card b{font-size:13px}.simple-account{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.simple-account .account{margin:0}.simple-menu-list .task{color:inherit}.simple-menu-list .task>span:nth-child(2){flex:1}.work-directory-account{margin-top:24px}.assistant{max-width:880px;margin:0 auto}.ai-top h1{font-size:28px!important}.ai-top .ai-mark{display:none}.ai-top p{font-size:13px;margin-top:7px}.ai-scope{padding:10px 0}.ai-prompts{gap:8px;margin:15px 0}.ai-prompts button{font-size:12px;padding:13px;background:#f5f7fa;border-color:#e9edf2}.ai-composer{border-radius:15px}.ai-source{border-radius:10px}.ai-help{font-size:11px}.simple-menu-list+.simple-details{margin-top:17px}
/* Documents use the same navigation and visual rhythm, including on phones. */
body:has(#library) .main{padding-top:27px}body:has(#library) .top{margin-bottom:24px}body:has(#library) .intro{font-size:13px}body:has(#library) .toolbar{margin-top:18px}body:has(#library) .upload{border-radius:16px}body:has(#library) .drop{padding:20px;min-height:96px}body:has(#library) .section-title{margin-top:26px}body:has(#library) .rules-intro{margin:17px 0}body:has(#library) .card{border-radius:15px}body:has(#library) .sidebar-foot{font-size:11px;bottom:24px;left:29px}body:has(#library) .menu{margin-top:32px}
@media(max-width:1100px){.layout{grid-template-columns:190px minmax(0,1fr)}.main{padding-left:25px;padding-right:25px}.overview-strip>a,.overview-strip>button{padding:0 17px}.overview-strip strong{font-size:22px}.work-quick{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.layout{display:block}.sidebar{display:none}.main{padding:0 18px 102px;max-width:640px}.topbar{min-height:70px;margin-bottom:19px}.heading{margin-bottom:20px;align-items:center}.heading h1{font-size:27px!important}.heading .muted{font-size:12px}.heading .button{font-size:12px;min-height:40px}.demo-bar{margin-bottom:21px}.overview-strip{grid-template-columns:1fr 1fr;padding:19px 0;margin-bottom:15px}.overview-strip>a,.overview-strip>button{padding:0 17px}.overview-strip>:nth-child(2){border-right:0}.overview-strip>:last-child{grid-column:1/-1;border-top:1px solid var(--line);margin-top:17px;padding-top:13px;display:flex;flex-direction:row;align-items:center;gap:12px}.overview-strip>:last-child strong{font-size:16px;margin-left:auto}.overview-strip>:last-child>span{display:none}.overview-strip strong{font-size:24px}.overview-strip small{font-size:11px}.overview-strip span{font-size:10px}.work-start{padding:13px}.work-search-big{padding:12px}.work-search-big b{font-size:13px}.work-search-big small{font-size:10px}.work-quick b{font-size:11px}.work-quick button{min-height:76px;gap:7px}.panel{padding:18px;border-radius:16px}.simple-home-panels{grid-template-columns:1fr;gap:15px}.resident-service{min-height:130px;padding:20px 6px;gap:9px;border-radius:16px}.resident-service b{font-size:20px}.resident-service small{font-size:10px}.resident-actions{gap:10px;margin-bottom:13px}.resident-service>span{width:40px;height:40px}.resident-home-card>div{padding:20px 16px}.resident-home-card h2{font-size:19px}.resident-bill strong{font-size:25px}.resident-shortcuts a{min-height:74px;padding:13px 4px}.intake-tracker{padding:16px}.billing-summary{display:block;padding:21px}.billing-summary strong{font-size:29px}.billing-summary .money-detail{border-top:1px solid var(--line);margin-top:17px;padding-top:14px;gap:28px}.list-toolbar{gap:7px}.list-toolbar>.button{font-size:11px;padding:8px;min-height:40px}.list-toolbar .tabs{gap:1px;padding:3px}.tabs button{padding:8px 10px}.list-panel{padding:3px 17px}.room-cards{grid-template-columns:1fr 1fr;gap:10px}.room-card{padding:17px 14px}.room-rent{margin:15px 0 7px}.room-rent strong{font-size:14px}.room-rent strong span{display:block;font-size:11px}.room-end{font-size:11px}.work-grid{grid-template-columns:1fr;padding:0 8px 8px}.work-group>summary{padding:17px;min-height:57px}.work-card{min-height:73px}.bottomnav{padding-top:9px}.bottomnav a{min-width:44px;min-height:43px;font-size:10px}.bottomnav svg{width:21px;height:21px}.sheet-head h2{font-size:20px}.sheet-head{padding:20px 20px 12px}.sheet-body{padding:0 20px 22px}.sheet-body input,.sheet-body select,.sheet-body textarea{font-size:16px}.simple-details{padding-left:16px;padding-right:16px}.simple-account{gap:10px}.simple-account .button{font-size:12px}.ai-prompts{grid-template-columns:1fr 1fr}.ai-prompts button{font-size:11px;padding:11px;line-height:1.6}.ai-top h1{font-size:26px!important}.ai-scope{gap:7px;flex-wrap:wrap}.ai-scope small{font-size:10px}.compact-intake{gap:7px}.request-tabs{width:100%;max-width:100%}body:has(#library) .main{padding:21px 18px 40px}body:has(#library) .toolbar{grid-template-columns:1fr 1fr;gap:12px}body:has(#library) .toolbar>label:last-child{grid-column:1/-1}body:has(#library) .top{margin-bottom:20px}body:has(#library) .top a{color:var(--blue)}body:has(#library) .files{grid-template-columns:1fr 1fr}body:has(#library) .file-card{padding:15px}body:has(#library) .file-card strong{font-size:13px}body:has(#library) input,body:has(#library) select,body:has(#library) textarea{font-size:16px}}
@media(max-width:360px){.main{padding-left:14px;padding-right:14px}.heading h1{font-size:25px!important}.overview-strip strong{font-size:21px}.overview-strip>a,.overview-strip>button{padding-left:13px;padding-right:13px}.resident-actions{gap:7px}.resident-service{min-height:121px}.resident-service small{font-size:9px}.resident-home-card>div{padding:17px 13px}.resident-bill strong{font-size:22px}.room-cards{grid-template-columns:1fr}.room-rent strong span{display:inline}.topbar select{max-width:100px}.list-toolbar .tabs button{font-size:11px;padding:8px}.ai-prompts{grid-template-columns:1fr}body:has(#library) .files{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Quiet surfaces, one primary action per card, shared across both roles. */
.layout[data-rental-mode=tenant]{--blue:#12796d}.layout[data-rental-mode=manager]{--blue:#4658b9}
.heading h1{font-weight:700}.heading .muted{margin-top:9px;color:#747b87}.panel{box-shadow:none}.topbar{border-bottom:1px solid #e8eaee}.demo-bar{border:0;background:#edf0f5;color:#586372}.demo-bar strong{font-weight:550}.demo-bar button{background:white;color:#465362;border:0;border-radius:8px}.button{font-weight:550;border-radius:12px;min-height:44px}.button.primary{background:var(--blue);border-color:var(--blue);box-shadow:none}.tag{font-weight:500}.pay-hero{display:grid;grid-template-columns:1.3fr 1fr;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;margin-bottom:16px}.pay-hero-main{padding:32px}.pay-eyebrow{display:block;font-size:12px;color:#747d8b;letter-spacing:.1px}.pay-hero h2{font-size:15px;font-weight:500;color:#54606f;margin:18px 0 5px}.pay-hero-main>strong{font-size:44px;font-weight:650;letter-spacing:-1.8px;font-variant-numeric:tabular-nums;line-height:1.3;display:block}.pay-hero-main>p{font-size:12px;color:#747d8b;margin-top:11px}.pay-hero-detail{border-left:1px solid #edf0f3;padding:34px;display:flex;flex-direction:column;justify-content:center;gap:15px}.pay-hero-detail>span{display:flex;justify-content:space-between;gap:18px;font-size:12px;color:#7a8290}.pay-hero-detail b{font-size:14px;font-weight:550;color:#323b49}.pay-hero-detail small{font-size:11px;color:#7d8794;margin-top:6px}.pay-connection{display:flex;gap:15px;align-items:center;background:#eef1f8;border-radius:16px;padding:18px 20px;margin-bottom:26px}.pay-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#5363b2;flex-shrink:0}.pay-icon svg{width:23px}.pay-connection>div{flex:1;min-width:0}.pay-connection b{font-size:13px;font-weight:600}.pay-connection p{font-size:12px;line-height:1.65;color:#69758a;margin-top:4px}.pay-connection>.link{white-space:nowrap;font-size:12px;min-height:44px}.pay-invoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pay-invoice{background:#fff;border:1px solid var(--line);border-radius:21px;padding:25px;min-width:0}.pay-invoice-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pay-invoice-top h3{margin-top:5px;font-size:18px;font-weight:600}.pay-status{font-size:10px;background:#f0f3f7;color:#687386;border-radius:7px;padding:5px 8px;white-space:nowrap}.pay-status.is-complete{color:#227160;background:#edf6f2}.pay-status.is-overdue{color:#955721;background:#fcf3e7}.pay-invoice-amount{font-size:30px;font-weight:650;letter-spacing:-1px;margin-top:28px;font-variant-numeric:tabular-nums}.pay-invoice-amount small{display:block;font-size:12px;font-weight:400;color:#7f8794;letter-spacing:0;margin-top:4px}.pay-invoice-breakdown{display:flex;gap:5px 14px;flex-wrap:wrap;font-size:12px;color:#6e7989;line-height:1.7;margin:22px 0 20px}.pay-invoice-footer{border-top:1px solid #edf0f3;padding-top:17px}.pay-invoice-footer p{font-size:12px;line-height:1.65;color:#748092;min-height:40px;margin-bottom:12px}.pay-invoice-footer .button{width:100%;font-size:13px}.pay-invoice.is-paid .pay-invoice-amount{color:#6b7584}.pay-detail-caption{font-size:12px!important;color:#798394!important;margin-top:0!important}.pay-detail-total{margin:18px 0 26px}.pay-detail-total small{font-size:12px;display:block;margin-bottom:5px}.pay-detail-total strong{font-size:36px;font-weight:650;letter-spacing:-1.3px;display:block;font-variant-numeric:tabular-nums}.pay-receipt{margin:0 0 23px}.pay-receipt>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;font-size:13px}.pay-receipt>div+div{border-top:1px solid #f0f1f4}.pay-receipt dt{color:#737e8c;overflow-wrap:anywhere}.pay-receipt dd{margin:0;font-weight:550;white-space:nowrap}.pay-choice{padding:21px;border:1px solid #e5e9ef;border-radius:17px;margin:15px 0;background:#f8fafd}.pay-choice>b{display:flex;gap:9px;align-items:center;font-size:14px}.pay-choice>p{font-size:12px;line-height:1.8;color:#69788b;margin:10px 0 16px}.pay-choice .actions{margin-top:12px;gap:8px}.pay-choice .button{font-size:12px}.pay-choice.secondary{background:white}.pay-full{display:flex;justify-content:center;text-align:center}.pay-preview{padding:16px;border-radius:12px;background:#fff;display:grid;gap:5px}.pay-preview span{font-size:11px;color:#6c7787}.pay-preview strong{font-size:14px}.pay-preview small{font-size:11px;line-height:1.7}.pay-fineprint{font-size:11px!important;line-height:1.9;color:#7e8796!important;margin:20px 0 0!important}.pay-history-title{font-size:14px;margin:25px 0 10px}.pay-setup h3{font-size:20px;line-height:1.5;margin:6px 0 12px}.pay-setup p{font-size:13px;line-height:1.9;color:#667385}.pay-setup-list{margin:24px 0}.pay-setup-list p{display:flex;gap:18px;align-items:start;border-bottom:1px solid #edf0f3;padding:14px 0;font-size:12px}.pay-setup-list b{width:65px;flex-shrink:0}.pay-setup-list span{color:#687589;line-height:1.7}.receipt-record span{display:block;color:#758294;margin-top:3px}
/* A conversation stays a conversation. Keep guidance and the send action distinct. */
.assistant.panel{border:0;background:transparent;padding:0;box-shadow:none}.ai-top{padding:8px 0 18px}.ai-scope{border-bottom:1px solid #e3e7ec;background:none}.ai-scope>span{background:none;padding:0;color:#6c7888;font-weight:500}.ai-prompts button{background:#fff;border:1px solid #e6eaef;border-radius:14px;text-align:left;padding:17px;font-size:13px;min-height:62px}.ai-question{border-radius:18px 18px 5px 18px;background:#edf1f8;color:#29384b;padding:15px 18px}.assistant-resident .ai-question{background:#e6f2ef;color:#294b44}.ai-answer{padding:20px 0;border:0;background:none;box-shadow:none}.ai-answer-label{font-weight:600;font-size:11px;color:#758393}.ai-asof{font-size:10px;color:#8a939e}.ai-reply{font-size:14px;line-height:1.95}.ai-service-guide:not(.is-urgent){background:none;border:0;border-radius:0;padding:0;margin:15px 0}.ai-service-facts{font-size:11px;gap:14px;padding:10px 0;border-top:1px solid #e5e9ed}.ai-service-questions{padding:14px 0}.ai-service-questions>b{font-size:12px}.ai-service-questions p{font-size:12px;line-height:1.8}.ai-service-questions .button{background:white;font-size:12px}.ai-intake{border:1px solid #e0e6ec;background:white;border-radius:18px;padding:0 18px;margin:18px 0}.ai-intake>summary{font-size:15px;padding:19px 0;font-weight:600}.ai-intake[open]{padding-bottom:18px}.ai-intake-note{font-size:12px;line-height:1.8;color:#738091}.ai-intake-receipt{border:1px solid #dae8e2;background:#f4f9f6;border-radius:18px;padding:20px}.ai-intake-receipt h3{font-size:17px;margin:9px 0}.ai-intake-receipt>p{font-size:12px;line-height:1.8}.ai-composer{background:#fff;border:1px solid #dfe5eb;border-radius:20px;box-shadow:0 4px 20px #1b283907}.ai-sources,.ai-notes,.ai-privacy{border-color:#e6e9ed;font-size:12px}.ai-help{color:#7d8997}.jt-photo-guide{border:1px solid #e8ecf1;background:#fff;border-radius:14px}.ai-identity img{border-radius:14px}.ai-actions a{font-size:12px}.resident-home-card{background:#fff;border:1px solid #e3e7ed}.resident-bill a{min-height:44px;background:#14796d;color:#fff;border-radius:11px;padding:12px;display:flex;align-items:center;justify-content:center;font-size:12px;margin-top:14px}.resident-shortcuts a{background:#fff;border:1px solid #e8ebef}.intake-tracker{background:#fff;border:1px solid #e7ebef}.resident-jiptalk{box-shadow:none}
@media(max-width:1000px){.pay-hero-main{padding:25px}.pay-hero-detail{padding:25px}.pay-hero-main>strong{font-size:36px}.pay-invoices{grid-template-columns:1fr}.pay-invoice{padding:23px}.pay-invoice-footer{display:flex;gap:22px;align-items:center}.pay-invoice-footer p{margin:0;min-height:0;flex:1}.pay-invoice-footer .button{width:auto;min-width:145px}}
@media(max-width:760px){.pay-hero{grid-template-columns:1fr;border-radius:20px}.pay-hero-main{padding:25px}.pay-hero h2{margin-top:14px}.pay-hero-main>strong{font-size:38px}.pay-hero-detail{border-left:0;border-top:1px solid #edf0f3;padding:20px 25px;gap:12px}.pay-hero-detail small{margin-top:0}.pay-connection{padding:16px;gap:11px;flex-wrap:wrap}.pay-connection>div{flex-basis:calc(100% - 53px)}.pay-connection>.link{margin-left:53px;min-height:32px}.pay-invoice{padding:22px;border-radius:19px}.pay-invoice-top h3{font-size:17px}.pay-invoice-amount{font-size:30px;margin-top:24px}.pay-invoice-footer{display:block}.pay-invoice-footer p{margin-bottom:14px}.pay-invoice-footer .button{width:100%;min-height:46px}.pay-invoice-breakdown{margin-top:20px}.pay-choice{padding:17px}.pay-detail-total strong{font-size:34px}.pay-choice .actions>.button{flex:1}.pay-choice .actions{flex-wrap:wrap}.pay-setup-list p{gap:10px}.assistant.panel{padding:0}.ai-top{gap:9px}.ai-top p{font-size:12px}.ai-top>.button{font-size:11px;padding:9px 11px;min-height:40px}.ai-prompts{grid-template-columns:1fr 1fr}.ai-prompts button{font-size:12px;line-height:1.6;padding:13px;min-height:66px}.ai-answer{padding:17px 0}.ai-intake{padding:0 15px}.ai-intake[open]{padding-bottom:15px}.ai-intake>summary{padding:17px 0;font-size:14px}.ai-intake label{font-size:12px}.ai-intake input,.ai-intake select,.ai-intake textarea{font-size:16px}.ai-scope small{font-size:11px;line-height:1.7}.ai-intake-receipt{padding:17px}.ai-question{font-size:14px}.ai-privacy{line-height:1.8}.pay-eyebrow{font-size:11px}}
@media(max-width:360px){.pay-hero-main{padding:22px}.pay-hero-main>strong{font-size:34px}.pay-hero-detail{padding:19px 22px}.pay-invoice{padding:19px}.pay-invoice-top{gap:8px}.pay-status{font-size:9px;padding:5px 7px}.pay-detail-total strong{font-size:30px}.ai-prompts{grid-template-columns:1fr}.pay-connection p{font-size:11px}.ai-top h1{font-size:25px!important}.pay-choice .actions>.button{flex-basis:100%}}

.activity-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0}.activity-summary>strong{font-size:36px;letter-spacing:-1.4px}.activity-summary small{font-size:14px;letter-spacing:0;margin-left:8px;color:#77777e;font-weight:500}.activity-list{display:grid;gap:8px}.activity-item{display:flex;width:100%;align-items:center;gap:12px;text-align:left;padding:18px 16px;border:1px solid #e8e8ed;background:#fff;border-radius:17px;color:#1d1d1f;cursor:pointer;font:inherit}.activity-item>span:nth-child(2){flex:1;min-width:0}.activity-item b,.activity-item small{display:block;overflow-wrap:anywhere}.activity-item small{margin-top:6px;color:#77777e;font-size:13px;line-height:1.5}.activity-item.is-read{background:#f7f7f9}.activity-dot{width:7px;height:7px;flex:0 0 7px;background:#3478f6;border-radius:50%}.activity-dot.urgent{background:#d96d23}.is-read .activity-dot{background:#c7c7ce}.work-plan-card{padding:20px;background:#f5f7fb;border:1px solid #e5e9f2;border-radius:20px;margin:20px 0}.work-plan-card h3{font-size:16px;margin:0}.work-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.work-plan-grid>div:last-child{grid-column:1/-1}.work-plan-grid small,.work-plan-grid b{display:block}.work-plan-grid small{font-size:12px;color:#707078;margin-bottom:5px}.work-plan-grid b{font-size:15px;overflow-wrap:anywhere}.resource-price{background:#f5f5f7;padding:24px;border-radius:20px;margin:16px 0 24px}.resource-price>small{display:block;color:#717179;font-size:13px}.resource-price>strong{display:block;font-size:34px;letter-spacing:-1.3px;margin-top:8px}.resource-price p{margin:10px 0 0;line-height:1.6;color:#64646b;white-space:pre-wrap}.charge-list{display:grid;gap:10px}.charge-item{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #e9e9ee}.charge-item h3{font-size:16px;margin:0 0 6px}.charge-item small,.charge-item p{font-size:13px;line-height:1.5;color:#73737b}.charge-item p{margin:6px 0}.charge-item>div:first-child{min-width:0;overflow-wrap:anywhere}.charge-item>div:last-child{display:flex;align-items:flex-end;flex-direction:column;gap:12px;flex-shrink:0}.charge-item strong{font-size:17px}.resource-ledger-link{justify-content:flex-end;margin-bottom:16px}#sheet .check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}#sheet .check input{width:18px;height:18px;flex:0 0 18px;margin:2px 0;accent-color:#2573e8}.activity-item:focus-visible{outline:3px solid #9dbff5;outline-offset:2px}@media(max-width:520px){.activity-summary>strong{font-size:30px}.activity-summary{align-items:flex-start;flex-direction:column}.activity-item{padding:16px 12px}.work-plan-card{padding:16px}.resource-price{padding:20px}.charge-item{gap:10px}.charge-item strong{font-size:15px}.topbar-right{gap:4px}.topbar-right>select{max-width:135px}.resource-ledger-link{justify-content:flex-start}}@media(max-width:360px){.topbar-right>select{max-width:112px}.topbar-right .iconbtn{width:32px;min-width:32px}}
/* The shared mobile brand grid reserved one icon cell. Give each new control its own cell. */
@media(max-width:760px){body .layout[data-rental-mode="manager"] .topbar{grid-template-columns:minmax(0,1fr) 43px 43px 43px}.layout[data-rental-mode="manager"] .topbar .iconbtn[data-action="activity"]{grid-column:3}.layout[data-rental-mode="manager"] .topbar .iconbtn[data-action="reload"]{grid-column:4}.layout[data-rental-mode="tenant"] .topbar .iconbtn[data-action="activity"]{grid-column:2}.layout[data-rental-mode="tenant"] .topbar .iconbtn[data-action="reload"]{grid-column:3}}

.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 20px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #e8e8ed;border-radius:16px;overflow:hidden}.weekday{text-align:center;font-size:12px;color:#86868b;padding:12px 0;background:#f5f5f7}.calendar-day{min-height:80px;padding:7px 4px;border-top:1px solid #ededf0;border-right:1px solid #ededf0;min-width:0}.calendar-day>b{font-size:12px;margin:3px}.calendar-day.today>b{color:#0071e3}.calendar-event{display:block;width:100%;border:0;border-radius:5px;margin-top:4px;padding:5px 3px;background:#e9f2ff;color:#17477d;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;cursor:pointer}.calendar-event.visit{background:#ede9ff;color:#5a3c90}.calendar-event.payment{background:#e5f5ec;color:#246047}.report-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.report-metrics>div{background:#f5f5f7;border-radius:14px;padding:16px 10px}.report-metrics small{display:block;color:#6e6e73;font-size:11px}.report-metrics strong{display:block;font-size:24px;margin-top:8px}.prose{white-space:pre-wrap;line-height:1.7}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.gallery-grid figure{margin:0}.gallery-grid figcaption{font-size:12px;margin:6px 0}.gallery-grid .button{padding:6px 9px;font-size:11px}@media(min-width:700px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-day{min-height:100px}}

.focus-panel{padding:24px;border:1px solid #e9eaf0;border-radius:24px;background:#fff;margin:24px 0;box-shadow:0 6px 28px #18243a03}.focus-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.focus-heading h2{font-size:19px;letter-spacing:-.6px;margin:0 0 6px}.focus-heading p,.focus-note{font-size:13px;color:#737986;line-height:1.6;margin:0}.focus-item{display:grid;grid-template-columns:94px minmax(0,1fr) 20px;align-items:center;width:100%;padding:17px 0;gap:16px;border:0;border-top:1px solid #f0f1f5;background:none;text-align:left;font:inherit;cursor:pointer}.focus-item:hover{background:#f8f9fc}.focus-item:focus-visible{outline:2px solid #0071e3;outline-offset:3px;border-radius:12px}.focus-item .focus-copy{min-width:0}.focus-item b{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.focus-item small{display:block;font-size:12px;line-height:1.6;color:#78808d;margin-top:4px}.focus-item svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;color:#9ba1ac}.focus-label{font-size:12px;color:#4673ae;background:#eff5fd;padding:7px 9px;border-radius:9px;line-height:1.5;text-align:center}.focus-label.urgent{color:#b65b3a;background:#fff1e9}.focus-label.neutral{color:#6a7180;background:#f4f5f8}.focus-note{padding-top:8px}.record-search{display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid #e3e6ed;border-radius:14px;background:#fff;margin:18px 0 12px;max-width:560px}.record-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;color:#939ba8;flex:none}.record-search input{border:0;background:transparent;margin:0;padding:3px;min-width:0;width:100%;font:inherit;font-size:15px;outline:0;box-shadow:none}.record-search:focus-within{border-color:#85b8ee;box-shadow:0 0 0 3px #0071e30c}.record-search button{border:0;background:#f2f3f6;border-radius:7px;padding:5px 8px;color:#626b7a;white-space:nowrap;font:inherit;font-size:12px;cursor:pointer}.record-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;line-height:1.7;color:#747d8b;margin:12px 0 16px}.record-summary b{color:#353e4c;font-weight:600}.tabs .filter-count{margin-left:5px;font-size:11px;opacity:.65}.record-search-empty{padding:32px 16px;text-align:center;color:#748091;line-height:1.8}.record-search-empty button{margin-top:12px}.record-grid{display:contents}.room-card .room-end .tag{margin-top:8px}.focus-panel .actions{margin-top:14px}.pay-filter-summary{margin:0 0 16px}
@media(max-width:600px){.focus-panel{padding:18px;margin:18px 0;border-radius:20px}.focus-heading{gap:10px}.focus-heading h2{font-size:18px}.focus-item{grid-template-columns:minmax(0,1fr) 18px;gap:7px 10px;padding:15px 0}.focus-label{grid-column:1;justify-self:start;padding:4px 8px;font-size:11px}.focus-copy{grid-column:1}.focus-item>svg{grid-column:2;grid-row:1 / 3}.focus-item b{font-size:14px}.record-search{max-width:none}.record-summary{gap:5px}.list-toolbar{align-items:flex-start}.list-toolbar>.actions{width:100%;flex-wrap:wrap}.focus-heading .link{white-space:nowrap;font-size:12px}}

@media(max-width:600px){.list-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:12px}.list-toolbar>.tabs{width:100%;max-width:100%;min-width:0;overflow-x:auto}.list-toolbar>.actions{display:flex;flex-direction:row;width:100%;gap:8px}.record-search input{font-size:16px}}

/* Shared design system. Clear hierarchy, neutral surfaces, one action color. */
:root{--blue:#006be6;--line:#e5e5e8;--muted:#68686e;--rental-ink:#1d1d1f;--rental-soft:#f5f5f7;--space-ink:#1d1d1f;--space-muted:#68686e;--space-blue:#006be6;font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;color-scheme:light;-webkit-font-smoothing:antialiased}
body{color:var(--rental-ink);background:var(--rental-soft)}.brand-image{display:block;flex-shrink:0;width:34px;height:34px;border-radius:10px;object-fit:contain}.brand,.unified-brand{letter-spacing:-.7px;font-weight:650!important}.unified-brand .brand-image{width:28px;height:28px}.loading>.brand-image{width:52px;height:52px}.brandmark{font-family:inherit}
h1,h2,h3{color:var(--rental-ink);text-wrap:balance}a,button,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7bb5f8;outline-offset:3px}[hidden]{display:none!important}
/* Workspace shell */
.layout[data-rental-mode]{grid-template-columns:224px minmax(0,1fr);background:var(--rental-soft);color:var(--rental-ink)}.layout[data-rental-mode] .sidebar{padding:30px 18px 22px;background:#fbfbfc;border-right:1px solid var(--line)}.layout[data-rental-mode] .brand{font-size:18px;gap:10px;color:var(--rental-ink)}.layout[data-rental-mode] .side-label{color:#77777d;font-size:11px;margin:42px 13px 12px}.layout[data-rental-mode] .menu{gap:6px}.layout[data-rental-mode] .menu a{padding:13px 14px;min-height:48px;color:#59595e;border-radius:10px;gap:12px;font-size:14px}.layout[data-rental-mode] .menu a.active{background:#e8e8ed;color:#1d1d1f;font-weight:650}.menu a svg{width:20px;height:20px}.sidebar-bottom{padding:20px 12px 0}.sidebar-bottom>p{font-size:11px}.avatar{background:#e9e9ed;color:#4f4f55}.layout[data-rental-mode] .main{max-width:1340px;padding:0 48px 48px}.layout[data-rental-mode] .topbar{min-height:88px;margin-bottom:42px;border-color:var(--line);gap:20px}.desktop-crumb{font-size:12px;white-space:nowrap}.topbar-right{gap:10px;min-width:0}.topbar #scope-select{font-size:13px;min-height:44px;max-width:210px;margin:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--rental-ink)}.space-switch{background:transparent;color:#57575d;border-radius:9px;font-size:12px;padding:8px}.work-search-trigger{min-height:44px;border-radius:10px;color:#5f5f65;border-color:var(--line);background:#fff}.topbar .work-search-trigger span,.topbar .work-search-trigger kbd{display:none}.iconbtn{width:44px;height:44px;min-width:44px;border-radius:10px;border-color:var(--line);background:transparent;color:#67676d}.topbar .iconbtn[data-action=reload]{display:none}
.heading{margin-bottom:30px;align-items:center;gap:20px}.heading h1{font-size:36px!important;font-weight:700;letter-spacing:-1.5px!important;line-height:1.25;color:#1d1d1f}.heading .eyebrow{color:#77777d;font-size:13px;letter-spacing:0;margin-bottom:11px}.heading .muted{color:#737378;font-size:14px;line-height:1.7;margin-top:10px}.button{border:1px solid #dcdce1;border-radius:10px;min-height:44px;font-size:13px;font-weight:550;background:#fff;color:#333337;box-shadow:none;padding:11px 16px}.button.primary{background:#0071e3;border-color:#0071e3;color:#fff;box-shadow:0 3px 7px #0071e312}.assistant-entry{border-radius:24px;padding:12px 20px;gap:9px}.assistant-entry svg{width:18px;height:18px}.link{color:#006be6;min-height:40px;align-items:center}.panel,.work-start,.focus-panel,.resident-home-card,.work-group{background:#fff;border:1px solid #e7e7eb;border-radius:20px;box-shadow:0 2px 4px #00000002}.panel{padding:26px}.panel-head h2,.focus-heading h2{font-size:18px;font-weight:650;letter-spacing:-.5px}.panel-head{margin-bottom:18px}.row{border-color:#ededf0}.row-main p,.task small{color:#717177}.row h3,.task b{color:#252529}.tag{font-size:11px;border-radius:6px;font-weight:550}.tag.blue{background:#eef4fc;color:#306aa8}.tag.green{background:#edf6f0;color:#32704e}.tag.orange{background:#fff3e8;color:#99622f}.tabs{border:0;background:#eaeaee;border-radius:10px;padding:4px;gap:3px}.tabs button{min-height:40px;border-radius:7px;color:#68686e}.tabs button.active{background:#fff;color:#252529;box-shadow:0 1px 4px #0000000d}
/* Overview: actual numbers first, then actionable work. */
.dashboard .overview-strip{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:16px;background:none;border:0;box-shadow:none;padding:0;margin:0 0 24px;overflow:visible}.dashboard .overview-strip>*{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;border:1px solid #e5e5e9;border-radius:20px;background:#fff;padding:26px 28px;min-height:174px;color:#1d1d1f;text-align:left;margin:0}.dashboard .overview-strip .metric-primary{background:#202124;border-color:#202124;color:#fff;position:relative}.dashboard .overview-strip small{color:#68686e;font-size:13px}.dashboard .overview-strip strong{font-size:34px;letter-spacing:-1.2px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}.dashboard .overview-strip em{font-size:16px;color:#88888f;letter-spacing:0}.dashboard .overview-strip span{font-size:12px;color:#797980;display:flex;gap:7px;align-items:center}.dashboard .overview-strip .metric-primary small,.dashboard .overview-strip .metric-primary>span{color:#bdbdc4}.dashboard .overview-strip .metric-primary strong{color:white}.dashboard .overview-strip .collection-track{height:3px;background:#4a4b50;border-radius:3px;width:100%;margin-top:7px;overflow:hidden}.collection-track i{display:block;height:100%;background:#96c6ff;border-radius:3px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:20px;align-items:stretch;margin-bottom:24px}.dashboard-grid .focus-panel,.dashboard-grid .work-start{margin:0;padding:26px;min-width:0;box-shadow:none}.focus-heading{margin-bottom:20px;gap:14px}.focus-heading p{font-size:12px;line-height:1.7;color:#74747b}.focus-heading .link{white-space:nowrap;font-size:12px}.focus-item{grid-template-columns:76px minmax(0,1fr) 16px;gap:14px;min-height:85px;padding:19px 0;border-color:#ededf0}.focus-item b{font-size:14px;font-weight:600}.focus-item small{font-size:12px;color:#77777d}.focus-label{background:#f0f3f8;color:#5c6d85;font-size:11px;padding:6px 7px;border-radius:6px}.focus-label.urgent{background:#fff1e8;color:#a85f32}.focus-item>svg{color:#a0a0a6}.focus-panel .actions{padding-top:16px;border-top:1px solid #ededf0;gap:14px;margin-top:8px}.focus-panel .actions .button{padding:8px 0;border:0;background:transparent;color:#006be6;font-size:12px}.work-search-big{min-height:58px;padding:12px 14px;border:1px solid #e8e8ed;border-radius:10px;background:#f8f8fa}.work-search-big b{font-size:13px;font-weight:500;color:#55555b}.work-search-big small{display:none}.work-search-big svg{width:18px;height:18px}.work-search-big kbd{background:#eeeef2;color:#77777e;border:0}.dashboard .work-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:14px 0 0}.dashboard .work-quick button{min-height:87px;gap:9px;padding:10px 4px;border:0;border-radius:10px}.dashboard .work-quick button>span{background:#f1f1f4;color:#53535b;width:35px;height:35px;border-radius:10px}.dashboard .work-quick svg{width:19px;height:19px}.dashboard .work-quick b{font-size:11px;font-weight:500;color:#55555c;line-height:1.45}.work-quick em{background:#1d1d1f;color:#fff;font-size:10px;min-width:17px;padding:2px 4px;top:4px;right:calc(50% - 25px);border:2px solid #fff}.dashboard .work-all{display:none}.home-news{padding:22px 26px}.home-news .panel-head{margin-bottom:8px}.home-news .actions{gap:18px}.home-news .button{font-size:12px}.news-empty{font-size:13px;color:#797980;padding:10px 0 7px;line-height:1.7}.history-summary{display:flex;align-items:center;gap:16px;padding:19px 24px;border:1px solid #e5e5e9;border-radius:15px;background:#fff;margin:0 0 24px}.history-summary b{display:block;font-size:13px}.history-summary small{display:block;margin-top:4px;font-size:12px;color:#74747b}.history-summary strong{margin-left:auto;font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}.history-icon{color:#77777d}.history-summary>svg{width:17px;color:#999}.foot{font-size:11px;line-height:1.8;color:#808087;padding-top:30px}
/* Forms, detail pages and role selection share the same typography. */
input,select,textarea{border-color:#dcdce1;color:#26262b;border-radius:10px}input:focus,textarea:focus{border-color:#81b5f2}dialog{border:1px solid #e2e2e7;border-radius:22px;box-shadow:0 24px 100px #00000026}dialog::backdrop{background:#24242855;backdrop-filter:blur(6px)}.sheet-head{border-bottom:1px solid #ededf0;padding:24px;margin-bottom:12px}.sheet-head h2{font-size:22px;color:#1d1d1f}.sheet-body{padding:0 24px 24px;overscroll-behavior:contain}.sheet-body p,.sheet-body label,.sheet-body small{overflow-wrap:anywhere}.sheet-body label{font-size:13px;color:#58585e}.sheet-body .check{background:#f5f5f7;border-radius:10px}.sheet-body .event{border-left:2px solid #e1e1e6;padding-left:16px}.sheet-body .event p{font-size:14px;line-height:1.75}.record-search{border-radius:12px;border-color:#e1e1e6}.record-search button{min-width:44px;min-height:44px}.room-card .room-no{color:#1d1d1f}.room-rent strong{color:#313136}.ai-top h1{color:#1d1d1f}.ai-prompts button{background:#fff;border-color:#e3e3e8;color:#58585e;border-radius:12px}.ai-composer{border:1px solid #d9d9e0;border-radius:18px;box-shadow:0 5px 20px #00000005}.ai-send{min-width:44px;min-height:44px;border-radius:12px}.ai-help,.ai-scope small{color:#737379}.ai-question{color:#34343a}.resident-service{background:#fff;border:1px solid #e5e5e9;border-radius:20px;box-shadow:none}.resident-service>span,.resident-service.inquiry>span,.resident-service.report>span{background:#f1f1f5;color:#55555e;border-radius:13px}.resident-service b{font-size:21px;font-weight:600;color:#26262b}.resident-service small{color:#737379}.resident-home-card h2{color:#26262b}.resident-bill{background:#fafafa;border-color:#e8e8ed}.resident-bill strong{color:#26262b;font-variant-numeric:tabular-nums}.resident-shortcuts a{background:#ececf0;border-radius:12px;color:#68686f}.resident-shortcuts b{color:#55555b}.intake-tracker{background:#edf3fc;color:#3c648f;border-radius:15px}.work-group{border-radius:14px}.work-group>summary{color:#3c3c43}.work-card{background:#fafafa;border-radius:10px}.work-card b{color:#333339}.work-card small{color:#737379}.work-card>.task-icon{background:#eeeeF2;color:#696970}.unified-nav{background:#ffffffed;border-color:var(--line)}.unified-nav a{color:#5b5b61}.unified-nav .unified-brand{color:#1d1d1f}body[data-rental-detail]{background:var(--rental-soft)}body[data-rental-detail] .card{border-color:#e3e3e8;border-radius:18px;box-shadow:none}body[data-rental-detail] h1,body[data-rental-detail] h2{color:#1d1d1f}.review-signin .card{border-radius:24px!important}.signin-brand{display:flex;gap:10px;align-items:center;color:#1d1d1f;font-size:18px;font-weight:650;margin-bottom:25px}.review-signin .login button{background:#0071e3;border-radius:11px}.spaces-tabs{display:flex;gap:4px;padding:5px;background:#eaeaee;border-radius:14px;margin:28px 0 36px}.spaces-tabs button{flex:1;min-height:76px;margin:0;border:0;box-shadow:none;border-radius:10px;padding:14px 18px;gap:5px;background:transparent;color:#77777e}.spaces-tabs button strong{font-size:18px;color:#55555c}.spaces-tabs button[aria-pressed=true]{background:#fff;color:#66666d;box-shadow:0 2px 6px #00000008}.spaces-tabs button[aria-pressed=true] strong{color:#1d1d1f}.spaces-tabs .space-number{display:none}.spaces-tabs button>span:last-child{font-size:12px}.space-card{border-color:#e5e5e9;border-radius:18px;padding:26px}.space-role{background:#efeff3;color:#68686e}.space-links .space-primary{background:#0071e3;color:#fff;border-radius:10px}.space-card h3{font-size:23px;font-weight:650;color:#1d1d1f}.space-bar{background:#f4f4f7;color:#55555e;border-color:#e5e5e9}.space-bar a{color:#006be6}html:has(script[src*="parties.js"]) body header{background:#fbfbfc;border-color:#e5e5e9}html:has(script[src*="parties.js"]) body a{color:#006be6}html:has(script[src*="parties.js"]) body header>a{color:#1d1d1f;font-size:19px}html:has(script[src*="parties.js"]) body button{background:#0071e3;border-color:#0071e3;border-radius:10px;min-height:44px}html:has(script[src*="parties.js"]) body button.secondary{background:#fff;color:#006be6;border-color:#dddde3}html:has(script[src*="parties.js"]) body .source{border-color:#9cbfeb;background:#f7f9fc;border-radius:0 10px 10px 0}html:has(script[src*="parties.js"]) body .notice{background:#f0f3f7}html:has(script[src*="parties.js"]) body section.panel{border-color:#e5e5e9;border-radius:18px;padding:28px}.vacancy-confirm{max-width:480px;padding:28px}.vacancy-confirm button{border-radius:10px;min-height:44px;padding:10px 16px}.vacancy-confirm .primary{background:#0071e3;color:#fff}#toast{background:#29292e;border-radius:12px;box-shadow:0 8px 30px #0002}.jt-photo-grid img{aspect-ratio:4/3;object-fit:cover}.jt-photo-grid a{display:inline-flex;min-height:44px;align-items:center}
@media(hover:hover){.button:hover:not(:disabled){background:#f8f8fa;border-color:#bdbdc5}.button.primary:hover:not(:disabled){background:#0077ed;border-color:#0077ed}.menu a:hover,.work-card:hover,.dashboard .work-quick button:hover{background:#ededf1}.dashboard .overview-strip>button:not(.metric-primary):hover{border-color:#bbbcc4}.focus-item:hover{background:#fafafa}.spaces-tabs button:not([aria-pressed=true]):hover{background:#f2f2f5}}
@media(max-width:1200px){.layout[data-rental-mode]{grid-template-columns:200px minmax(0,1fr)}.layout[data-rental-mode] .main{padding-left:28px;padding-right:28px}.dashboard .overview-strip>*{padding:23px;min-height:160px}.dashboard .overview-strip strong{font-size:28px}.dashboard-grid{grid-template-columns:1fr;gap:20px}.dashboard .work-quick{grid-template-columns:repeat(6,minmax(0,1fr))}.topbar #scope-select{max-width:170px}}
@media(max-width:760px){.layout[data-rental-mode]{display:block}.layout[data-rental-mode] .sidebar{display:none}.layout[data-rental-mode] .main{padding:0 20px 110px;max-width:640px}.layout[data-rental-mode] .topbar{display:flex;flex-wrap:wrap;gap:14px;padding:18px 0;min-height:0;margin-bottom:27px;position:static;background:transparent}.desktop-crumb{display:none}.mobile-brand{display:flex}.layout[data-rental-mode] .mobile-brand{font-size:17px}.mobile-brand .brand-image{width:30px;height:30px}.topbar-right{display:flex!important;flex-wrap:wrap;gap:8px;width:100%}.topbar .space-switch{position:absolute;right:20px;top:17px;font-size:12px;min-height:36px}.topbar #scope-select{flex:1;max-width:none;min-width:0;min-height:44px;font-size:14px;padding:10px 12px}.topbar .work-search-trigger{min-width:44px;padding:11px;order:1}.topbar .iconbtn{order:2}.heading{margin-bottom:24px;gap:12px}.heading h1{font-size:29px!important;letter-spacing:-1.1px!important}.heading .eyebrow{display:none}.heading .muted{font-size:12px;line-height:1.65;margin-top:8px;max-width:220px}.heading .assistant-entry{font-size:12px;padding:10px 13px;min-height:42px;white-space:nowrap}.assistant-entry svg{width:16px}.dashboard .overview-strip{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.dashboard .overview-strip>*{min-height:140px;padding:20px;border-radius:16px;gap:9px}.dashboard .overview-strip strong{font-size:26px}.dashboard .overview-strip small{font-size:12px}.dashboard .overview-strip span{font-size:11px}.dashboard .overview-strip>:last-child{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;min-height:65px;padding:17px 20px;gap:8px;border:1px solid #e5e5e9;margin:0}.dashboard .overview-strip>:last-child strong{font-size:21px;margin-left:auto}.dashboard .overview-strip>:last-child>span{display:none}.dashboard .overview-strip .metric-primary{grid-column:1}.dashboard .overview-strip em{font-size:13px}.dashboard-grid{grid-template-columns:1fr;gap:16px;margin-bottom:18px}.dashboard-grid .focus-panel,.dashboard-grid .work-start{padding:20px;border-radius:17px}.focus-heading{margin-bottom:12px}.focus-heading h2,.panel-head h2{font-size:17px}.focus-heading p{font-size:12px}.focus-item{grid-template-columns:70px minmax(0,1fr) 16px;gap:11px;padding:17px 0}.focus-label{grid-column:auto;justify-self:stretch;font-size:10px}.focus-copy{grid-column:auto}.focus-item>svg{grid-column:auto;grid-row:auto}.focus-item b{font-size:13px}.focus-item small{font-size:11px}.focus-panel .actions{gap:18px}.dashboard .work-quick{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.dashboard .work-quick b{font-size:12px}.dashboard .work-quick button{min-height:88px}.home-news{padding:20px}.home-news .actions{gap:12px}.home-news .link{font-size:12px}.news-empty{font-size:12px}.history-summary{gap:12px;padding:18px;flex-wrap:wrap;margin-bottom:18px}.history-summary b{font-size:12px}.history-summary small{font-size:11px}.history-summary strong{font-size:19px}.history-summary .history-icon{display:none}.history-summary>svg{margin-left:auto}.history-summary>span{width:100%}.history-summary strong{margin-left:0}.bottomnav{position:fixed;left:0;right:0;bottom:0;display:flex;justify-content:space-around;border-top:1px solid #e1e1e6;background:#fffffff0;backdrop-filter:blur(20px);padding:11px 6px max(11px,env(safe-area-inset-bottom));z-index:30;border-radius:0;box-shadow:none}.bottomnav a{flex:1;min-width:0;min-height:45px;gap:6px;color:#83838a;font-size:10px}.bottomnav a.active{background:none;color:#0071e3;font-weight:600}.bottomnav svg{width:22px;height:22px}.panel{padding:20px;border-radius:17px}.sheet-body input,.sheet-body select,.sheet-body textarea,input[type=search]{font-size:16px}.sheet-body label{font-size:14px}dialog{width:calc(100% - 16px);max-height:calc(100dvh - 32px)}.sheet-head{padding:21px}.sheet-body{padding:0 21px 24px}.spaces-tabs{gap:3px;padding:4px;margin:24px 0}.spaces-tabs button{padding:12px 9px;min-height:84px}.spaces-tabs button strong{font-size:16px}.spaces-tabs button>span:last-child{font-size:11px;line-height:1.5}.space-card{padding:23px}.resident-service{min-height:137px;padding:22px 8px}.resident-service small{font-size:11px}.resident-shortcuts b{font-size:12px}.resident-shortcuts a{min-height:72px}.unified-nav{gap:12px;padding:12px 18px}.unified-nav a{font-size:12px}.foot{font-size:10px;line-height:1.9}#toast{bottom:92px}html:has(script[src*="parties.js"]) body section.panel{padding:20px}html:has(script[src*="parties.js"]) body input,html:has(script[src*="parties.js"]) body select,html:has(script[src*="parties.js"]) body textarea{font-size:16px}}
@media(max-width:380px){.layout[data-rental-mode] .main{padding-left:16px;padding-right:16px}.heading h1{font-size:26px!important}.heading .assistant-entry{padding:10px;font-size:11px}.dashboard .overview-strip>*{padding:17px}.dashboard .overview-strip strong{font-size:23px}.focus-item{grid-template-columns:61px minmax(0,1fr) 13px;gap:8px}.focus-label{padding:5px 3px}.dashboard-grid .focus-panel,.dashboard-grid .work-start{padding:18px}.spaces-tabs button strong{font-size:15px}.history-summary{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.dashboard .overview-strip strong{font-size:clamp(18px,5.5vw,24px);white-space:nowrap;letter-spacing:-.7px}.dashboard .overview-strip>*{padding-left:18px;padding-right:18px}.dashboard .overview-strip>:last-child strong{font-size:21px}}

/* Mobile-first role workspaces: the same tokens, purpose-specific tasks. */
:root{--role-bg:#f5f5f7;--role-ink:#1d1d1f;--role-muted:#68686e;--role-blue:#0071e3;--role-border:#e5e5e9}
html{scroll-padding-bottom:100px}.skip{position:absolute;top:-100px;left:16px;background:#fff;padding:12px;z-index:100}.skip:focus{top:12px}.party-brand{display:flex;align-items:center;gap:10px}.party-brand img{border-radius:9px}.party-brand,body[data-party-mode] > header>a{font-size:18px;font-weight:650;letter-spacing:-.6px;color:var(--role-ink)}body[data-party-mode]{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;letter-spacing:-.3px;background:var(--role-bg);color:var(--role-ink)}body[data-party-mode] > header{padding:22px max(24px,calc((100vw - 1080px)/2));background:#fbfbfc;border-color:var(--role-border)}body[data-party-mode] > header nav{align-items:center;gap:24px;font-size:13px}body[data-party-mode] > header nav a{color:#626269;min-height:44px;display:flex;align-items:center}body[data-party-mode] main{max-width:1080px;margin:0 auto;padding:40px 24px 60px}body[data-party-mode] h1{font-size:36px;font-weight:700;letter-spacing:-1.4px;margin:0;line-height:1.3}body[data-party-mode] #message{font-size:13px;line-height:1.7;margin:12px 0 0;min-height:0}body[data-party-mode] #message:empty{display:none}.party-intro{color:var(--role-muted);font-size:14px;margin:10px 0 28px}.landlord-scope{display:flex;gap:24px;align-items:flex-end;margin-bottom:24px}.landlord-scope label{flex:1;max-width:560px;color:var(--role-muted);font-size:12px;font-weight:400;gap:8px}.landlord-scope select{min-height:46px;border-color:#dddde4;font-size:14px;padding:12px;background:#fff}.landlord-scope>a{min-height:44px;display:flex;align-items:center;font-size:13px;white-space:nowrap}.landlord-overview{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 22px}.landlord-metric{display:flex;flex-direction:column;gap:12px;justify-content:center;padding:30px;background:#fff;border:1px solid var(--role-border);border-radius:20px;color:var(--role-ink);min-width:0;min-height:170px}.landlord-metric.primary{background:#202124;border-color:#202124;color:#fff}.landlord-metric>span{font-size:13px;color:var(--role-muted)}.landlord-metric strong{font-size:34px;font-weight:650;line-height:1.2;letter-spacing:-1.1px;font-variant-numeric:tabular-nums}.landlord-metric small{font-size:12px;color:var(--role-muted);line-height:1.5}.landlord-metric.primary span,.landlord-metric.primary small{color:#c0c0c7}.landlord-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 22px}.landlord-actions a{display:flex;gap:12px;align-items:center;padding:17px 18px;min-height:64px;border:1px solid var(--role-border);border-radius:13px;background:#fff;color:#47474e}.landlord-actions b{font-size:13px;font-weight:550}.landlord-actions span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f1f1f5;color:#64646c}.landlord-actions svg,.landlord-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.landlord-setup{display:flex;align-items:center;gap:16px;justify-content:space-between;background:#ececf0;color:#55555e!important;padding:17px 20px;border-radius:13px;margin:0 0 24px}.landlord-setup b{display:block;font-size:13px;font-weight:550}.landlord-setup small{display:block;font-size:12px;margin-top:5px;color:#6d6d75}.landlord-setup>span:last-child{font-size:24px;color:#787880}body[data-party-mode=landlord] section.panel{padding:28px;border-radius:20px;border-color:var(--role-border);margin:0 0 22px}.party-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.party-section-head h2{font-size:21px;margin:0;font-weight:650;letter-spacing:-.6px}.party-section-head>span{font-size:11px;color:#73737b;background:#f0f0f4;padding:5px 9px;border-radius:7px}.landlord-assistant>.muted{font-size:13px;line-height:1.7;margin:10px 0 18px}.landlord-prompts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}body[data-party-mode] .landlord-prompts button{margin:0;background:#f2f2f6;color:#575760;border:1px solid #e6e6ec;padding:8px 13px;font-size:12px;min-height:40px;border-radius:20px}.landlord-assistant label{font-size:12px;color:#686870;gap:9px;font-weight:500}.landlord-assistant textarea{min-height:98px;padding:14px;font-size:15px;line-height:1.65;resize:vertical;border-color:#dcdce4}.landlord-assistant .ask>button{font-size:13px;min-height:44px;border-radius:10px;margin:14px 0 0;padding:12px 18px}.landlord-ai-note{font-size:11px;color:#77777f;line-height:1.7;margin:18px 0 0}.landlord-detail.panel{background:#fff;border:1px solid var(--role-border);border-radius:15px;margin:14px 0;padding:0 24px}.landlord-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;min-height:66px;font-size:14px;font-weight:550;scroll-margin-top:20px}.landlord-detail>summary::-webkit-details-marker{display:none}.landlord-detail>summary>span{font-size:12px;color:#77777e;font-weight:400;margin-left:auto}.landlord-detail>summary:after{content:'+';color:#8b8b93;font-size:20px;font-weight:400}.landlord-detail[open]>summary:after{content:'−'}.landlord-detail-body{border-top:1px solid #ededf2;padding:12px 0 24px}.landlord-detail-body>p{font-size:13px;color:#686870;line-height:1.7}.landlord-detail-body td,.landlord-detail-body th{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.landlord-detail-body .check{font-size:12px;line-height:1.7;margin-top:18px;align-items:flex-start}.landlord-detail-body input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin-top:3px;accent-color:var(--role-blue)}.landlord-detail-body button{font-size:13px;padding:12px 18px}.landlord-detail-body label{font-size:12px;font-weight:500;color:#64646c}.landlord-detail-body input{padding:12px;border-color:#dcdce4}.landlord-assistant .answer:empty{display:none}.landlord-assistant .answer{margin-top:20px;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.landlord-assistant .source{font-size:13px}.landlord-nav{display:none}.landlord-overview,.landlord-assistant,.landlord-detail{scroll-margin-top:20px;scroll-margin-bottom:100px}
/* Tenant: payment is visible before advice and routine requests. */
.layout[data-rental-mode=tenant] .resident-home-card{margin:0 0 22px;border:0;background:#202124;color:#fff;border-radius:20px;overflow:hidden}.layout[data-rental-mode=tenant] .resident-home-card h2{color:#fff}.layout[data-rental-mode=tenant] .resident-home-card p{color:#bfbfc7}.layout[data-rental-mode=tenant] .resident-home-card .tag{background:#ffffff15;color:#d6d6dc}.layout[data-rental-mode=tenant] .resident-bill{background:transparent;border-color:#ffffff1f}.layout[data-rental-mode=tenant] .resident-bill strong{color:#fff;font-size:32px}.layout[data-rental-mode=tenant] .resident-bill small{color:#bfbfc7}.layout[data-rental-mode=tenant] .resident-bill a{display:inline-flex;align-items:center;gap:10px;color:#a7d0ff;min-height:44px}.layout[data-rental-mode=tenant] .focus-heading p{max-width:36em}.layout[data-rental-mode=tenant] .resident-shortcuts a{min-height:70px}.layout[data-rental-mode=tenant] .intake-tracker{background:#eaeef5;border:1px solid #e1e6ef}.layout[data-rental-mode=tenant] .focus-panel{margin:20px 0}.landlord-nav a:focus-visible,.landlord-detail summary:focus-visible{outline:3px solid #7bb5f8;outline-offset:3px}
@media(hover:hover){.landlord-actions a:hover,.landlord-metric:not(.primary):hover{border-color:#bcbcc6}.landlord-setup:hover{background:#e5e5eb}.landlord-prompts button:hover{background:#e8e8ef!important}.landlord-nav a:hover{color:#0071e3}}
@media(max-width:760px){body[data-party-mode] > header{display:flex;padding:18px 20px;gap:12px;align-items:center}body[data-party-mode] > header nav{margin:0 0 0 auto;gap:0}body[data-party-mode] > header nav a{font-size:12px;min-height:36px}body[data-party-mode] > header nav a:not(:first-child){display:none}body[data-party-mode] main{padding:28px 20px 110px}body[data-party-mode] h1{font-size:29px;letter-spacing:-1.1px}.party-intro{font-size:12px;line-height:1.7;margin:8px 0 22px}.landlord-scope{gap:12px;margin-bottom:20px;align-items:center}.landlord-scope label{font-size:11px;flex:1;min-width:0}.landlord-scope select{font-size:14px;width:100%;margin:0}.landlord-scope>a{font-size:11px;align-self:flex-end;min-height:46px}.landlord-overview{gap:10px;margin-bottom:16px}.landlord-metric{padding:20px 17px;min-height:144px;border-radius:16px;gap:10px}.landlord-metric strong{font-size:clamp(18px,5.5vw,24px);letter-spacing:-.6px;white-space:nowrap}.landlord-metric>span{font-size:12px}.landlord-metric small{font-size:10px;line-height:1.6}.landlord-actions{gap:10px;margin-bottom:16px}.landlord-actions a{padding:14px 12px;gap:8px;min-height:70px;align-items:flex-start;flex-direction:column}.landlord-actions b{font-size:12px;line-height:1.5}.landlord-actions span{width:29px;height:29px;border-radius:8px}.landlord-actions svg{width:18px;height:18px}.landlord-setup{padding:15px 17px;margin-bottom:20px;gap:10px}.landlord-setup b{font-size:12px}.landlord-setup small{font-size:11px}body[data-party-mode=landlord] section.panel{padding:20px;border-radius:17px;margin-bottom:18px}.party-section-head h2{font-size:19px}.party-section-head>span{font-size:10px}.landlord-assistant>.muted{font-size:12px;line-height:1.8}.landlord-prompts{gap:6px;margin-bottom:18px}body[data-party-mode] .landlord-prompts button{font-size:12px;padding:9px 12px;min-height:44px}.landlord-assistant textarea{font-size:16px!important;min-height:100px}.landlord-assistant .ask>button{width:100%;min-height:46px}.landlord-ai-note{font-size:11px}.landlord-detail.panel{padding:0 18px;border-radius:14px}.landlord-detail>summary{font-size:13px;min-height:64px}.landlord-detail>summary>span{font-size:11px}.landlord-detail-body .grid{grid-template-columns:1fr}.landlord-detail-body input{font-size:16px!important}.landlord-detail-body .check{font-size:12px}.landlord-detail-body .account-form>button{width:100%;min-height:46px}.landlord-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;gap:6px;z-index:30;padding:11px 8px max(11px,env(safe-area-inset-bottom));background:#fffffff0;backdrop-filter:blur(20px);border-top:1px solid #e1e1e6}.landlord-nav a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:45px;color:#7c7c85!important;font-size:10px}.landlord-nav a[aria-current]{color:#0071e3!important;font-weight:600}.landlord-nav svg{width:22px;height:22px}.layout[data-rental-mode=tenant] .resident-home-card{display:flex;flex-direction:column;margin-bottom:20px;border-radius:17px}.layout[data-rental-mode=tenant] .resident-home-card>div{padding:20px}.layout[data-rental-mode=tenant] .resident-home-card h2{font-size:19px;margin:10px 0 4px}.layout[data-rental-mode=tenant] .resident-home-card p{font-size:12px}.layout[data-rental-mode=tenant] .resident-home-card .resident-bill{border-left:0;border-top:1px solid #ffffff24;padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:10px}.layout[data-rental-mode=tenant] .resident-bill>small{grid-column:1/-1;font-size:11px}.layout[data-rental-mode=tenant] .resident-bill strong{font-size:27px;margin:0;align-self:center}.layout[data-rental-mode=tenant] .resident-bill a{font-size:12px;min-height:44px;gap:7px}.layout[data-rental-mode=tenant] .resident-bill a svg{width:16px}.layout[data-rental-mode=tenant] .focus-heading p{font-size:12px;max-width:24em}.layout[data-rental-mode=tenant] .focus-heading{flex-wrap:wrap;gap:5px}.layout[data-rental-mode=tenant] .focus-heading>div{flex:1;min-width:210px}.layout[data-rental-mode=tenant] .focus-heading>.link{min-height:44px}.layout[data-rental-mode=tenant] .resident-shortcuts b{font-size:12px}.layout[data-rental-mode=tenant] .resident-shortcuts a{min-height:76px}input,select,textarea,summary{scroll-margin-bottom:110px}.landlord-detail .scroll{max-width:100%}}
@media(max-width:360px){body[data-party-mode] main{padding-left:16px;padding-right:16px}body[data-party-mode] > header{padding-left:16px;padding-right:16px}.landlord-scope{gap:8px}.landlord-scope>a{font-size:10px}.landlord-metric{padding:18px 14px}.landlord-actions b{font-size:11px}.layout[data-rental-mode=tenant] .resident-bill strong{font-size:24px}.layout[data-rental-mode=tenant] .resident-bill a{font-size:11px}.layout[data-rental-mode=tenant] .focus-heading>div{min-width:180px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.landlord-nav,.landlord-actions a{transition:none}}
body[data-party-mode=landlord] a.landlord-metric{color:var(--role-ink)}body[data-party-mode=landlord] .landlord-actions a{color:#47474e}body[data-party-mode=landlord] :is(a,button,input,textarea,select,summary){-webkit-tap-highlight-color:#0071e31f}body[data-party-mode=landlord] [id]{scroll-margin-bottom:110px}
.layout[data-rental-mode=tenant] .resident-bill a{background:#0071e3;color:#fff;border-radius:10px;padding:10px 12px}.layout[data-rental-mode=tenant] .focus-heading p{word-break:keep-all}.landlord-assistant .muted,.party-intro{word-break:keep-all}

.landlord-nav[hidden] {display:none!important;}
.landlord-nav a {touch-action:manipulation;}

@media(min-width:761px){
 body[data-party-mode=landlord]:has(.landlord-nav:not([hidden])) {
  --landlord-sidebar:clamp(152px,18vw,200px);
  padding-inline-start:var(--landlord-sidebar);
 }
 .landlord-nav:not([hidden]) {
  position:fixed;
  inset:0 auto 0 0;
  z-index:25;
  display:flex;
  flex-direction:column;
  gap:6px;
  width:var(--landlord-sidebar);
  padding:24px 16px;
  border-inline-end:1px solid var(--role-line,#e1e1e6);
  background:#fbfcfd;
 }
 .landlord-nav a {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding:0 12px;
  border-radius:10px;
  color:#465363;
  font-size:14px;
  text-decoration:none;
 }
 .landlord-nav a[aria-current] {background:#e7eef9;color:#174d8e;font-weight:700;}
 .landlord-nav svg {flex:none;}
}

@media(max-width:760px){
 .landlord-nav {background-color:#fff;}
 .landlord-nav a {color:#576272!important;font-size:11px;}
 .landlord-nav a[aria-current] {color:#155ba5!important;background:#edf3fb;border-radius:8px;}
 .rental-keyboard-open .landlord-nav {display:none;}
}

/* One compact photographic introduction, followed by the working dashboard. */
.space-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;background:#353931;color:#fff;min-height:210px;margin:0 0 22px;display:flex;align-items:center;justify-content:space-between;padding:32px;gap:20px}
.space-hero>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 57%}
.space-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(21,29,27,.84),rgba(21,29,27,.47) 48%,rgba(21,29,27,.12))}
.space-hero-copy{min-width:0}.space-hero .space-date{margin:0 0 12px;color:#f0e9dc;font-size:12px;letter-spacing:.4px}.space-hero h1,body[data-party-mode] .space-hero h1{font-size:34px;color:#fff;line-height:1.2;letter-spacing:-1.3px;margin:0 0 10px;font-weight:650}.space-hero-copy>p:last-child{font-size:14px;color:#f0eee8;margin:0;line-height:1.6;word-break:keep-all}
.space-hero-actions{display:flex;flex-direction:column;gap:8px;align-self:flex-start}.space-hero-actions a,.space-hero-actions button,body[data-party-mode] .space-hero-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;margin:0;border:1px solid #ffffff6b;border-radius:12px;background:#1d2728c9;color:#fff!important;font-size:12px;white-space:nowrap;text-decoration:none;cursor:pointer;box-shadow:none}.space-hero-actions svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.6}.space-hero-actions [data-install-app],body[data-party-mode] .space-hero-actions button[data-install-app]{background:#ffffffeb!important;color:#303b39!important;border-color:transparent!important}
.space-photo-credit,body[data-party-mode] a.space-photo-credit{position:absolute;bottom:9px;right:14px;display:flex;align-items:center;min-height:24px;padding:3px 7px;border-radius:5px;background:#17221cbd;color:#fff;font-size:9px;text-decoration:none;letter-spacing:0}.space-photo-credit:hover{text-decoration:underline}
.dashboard .overview-strip{gap:0;border:1px solid #e1e5e1;background:#fff;border-radius:20px;overflow:hidden;margin-bottom:20px;grid-template-columns:1.2fr 1.2fr 1fr}.dashboard .overview-strip>*{border:0;border-radius:0;min-height:154px;padding:26px;background:transparent;box-shadow:none}.dashboard .overview-strip>*+*{border-left:1px solid #e7eae5}.dashboard .overview-strip .metric-primary{background:#edf1eb;color:#243b30}.dashboard .overview-strip .metric-primary small,.dashboard .overview-strip .metric-primary>span{color:#506252}.dashboard .overview-strip .metric-primary strong{color:#233d30}.dashboard .overview-strip .collection-track{background:#d6ded2}.dashboard .overview-strip .collection-track i{background:#526f59}.dashboard .overview-strip strong{font-size:30px;font-variant-numeric:tabular-nums}.dashboard .overview-strip em{font-size:14px}
.dashboard-grid{align-items:start}.dashboard-grid .focus-panel{border-top:3px solid #788c75}.dashboard-grid .work-start{border-top:3px solid #c4b697}.dashboard .home-news{margin-top:0}
body[data-party-mode=landlord]:has(.space-hero) main>#title{display:none}
body[data-party-mode=landlord] .landlord-scope{margin-bottom:18px}.landlord-overview{gap:0;border:1px solid #e1e5e1;border-radius:20px;overflow:hidden;background:#fff;margin-bottom:16px}.landlord-metric{border:0;border-radius:0;min-height:154px;padding:26px}.landlord-metric.primary{background:#edf1eb;color:#233d30}.landlord-metric.primary>span,.landlord-metric.primary small{color:#506252}.landlord-metric+.landlord-metric{border-left:1px solid #e7eae5}.landlord-actions a{background:#fff;border-color:#e1e5e1}.landlord-actions span{background:#edf1eb;color:#526450}.landlord-setup{background:#f1eee7;color:#625b4d!important}
.layout[data-rental-mode=tenant] .resident-home-card{background:#fff;color:#252d28;border:1px solid #e1e5e1}.layout[data-rental-mode=tenant] .resident-home-card h2{color:#25362b}.layout[data-rental-mode=tenant] .resident-home-card p{color:#647064}.layout[data-rental-mode=tenant] .resident-home-card .tag{background:#e8eee3;color:#40553e}.layout[data-rental-mode=tenant] .resident-home-card .resident-bill{background:#edf1eb;border-color:#dde4d9}.layout[data-rental-mode=tenant] .resident-bill strong{color:#233d30}.layout[data-rental-mode=tenant] .resident-bill small{color:#506252}.layout[data-rental-mode=tenant] .resident-shortcuts a{background:#eeefea}.layout[data-rental-mode=tenant] .focus-panel{border-top:3px solid #788c75}
.app-installed [data-install-app]{display:none!important}@media(display-mode:standalone){[data-install-app]{display:none!important}}
.app-install-dialog{width:min(440px,calc(100% - 32px));box-sizing:border-box;padding:30px;border:1px solid #e0e4dc;border-radius:24px;color:#28342c;background:#fff;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 28px 90px #10261630}.app-install-dialog::backdrop{background:#111c2466;backdrop-filter:blur(4px)}.app-install-dialog>img{border-radius:14px}.app-install-dialog .install-close{position:absolute;right:15px;top:12px;width:44px;height:44px;margin:0;border:0;background:transparent!important;color:#555!important;font-size:27px;cursor:pointer}.app-install-dialog .install-eyebrow{font-size:12px;color:#6c7969;margin:20px 0 8px}.app-install-dialog h2{font-size:24px;line-height:1.3;letter-spacing:-.8px;margin:0 0 12px;color:#26382c}.app-install-dialog p{font-size:14px;line-height:1.7;word-break:keep-all}.install-steps{padding:20px;background:#f2f4ee;border-radius:14px;margin-top:20px}.install-steps h3{font-size:14px;margin:0 0 12px}.install-steps ol{padding-left:20px;margin:0;display:grid;gap:12px;font-size:13px;line-height:1.7;word-break:keep-all}.app-install-dialog .install-note{font-size:12px;color:#657063;margin:18px 0 0}.app-install-dialog .install-primary{min-height:48px;width:100%;border:0;border-radius:12px;background:#0071e3;color:#fff;margin-top:20px;cursor:pointer}.space-hero :is(a,button):focus-visible,.app-install-dialog button:focus-visible{outline:3px solid #96c7ff;outline-offset:3px}
@media(max-width:760px){
 .layout[data-rental-mode] .topbar{margin-bottom:12px;padding-bottom:12px;gap:10px}.layout[data-rental-mode] .main{padding-left:16px;padding-right:16px}.space-hero{min-height:150px;border-radius:17px;margin-bottom:14px;padding:20px;gap:10px;align-items:flex-start}.space-hero>img{object-position:55% 59%}.space-hero:after{background:linear-gradient(90deg,#15221de6,#15221d65 65%,#15221d10)}.space-hero h1,body[data-party-mode] .space-hero h1{font-size:28px;margin:0 0 8px;letter-spacing:-1px}.space-hero .space-date{font-size:10px;margin:0 0 10px}.space-hero-copy>p:last-child{font-size:11px;max-width:190px}.space-hero-actions{gap:6px;margin-top:-4px}.space-hero-actions a,.space-hero-actions button,body[data-party-mode] .space-hero-actions button{min-height:44px;font-size:10px;padding:8px 10px;border-radius:10px;gap:5px}.space-hero-actions svg{width:13px;height:13px}.space-photo-credit,body[data-party-mode] a.space-photo-credit{font-size:8px;bottom:5px;right:8px;min-height:24px}
 .dashboard .overview-strip{grid-template-columns:1fr 1fr;gap:0;border-radius:17px;margin-bottom:14px}.dashboard .overview-strip>*{min-height:119px;padding:18px 16px;border-radius:0;gap:7px}.dashboard .overview-strip strong{font-size:25px}.dashboard .overview-strip small{font-size:11px}.dashboard .overview-strip span{font-size:10px}.dashboard .overview-strip>:last-child{grid-column:1/-1;min-height:51px;border:0;border-top:1px solid #e7eae5;padding:12px 16px}.dashboard .overview-strip>:last-child strong{font-size:19px}.dashboard .overview-strip .metric-primary{grid-column:auto}.dashboard-grid{gap:14px}.dashboard-grid .focus-panel,.dashboard-grid .work-start{padding:17px}.dashboard-grid .focus-heading h2{font-size:16px}.focus-item{padding:13px 0}.focus-heading p{font-size:11px}.focus-panel .actions{margin-top:12px}.dashboard .work-quick button{min-height:76px}
 body[data-party-mode] main{padding-top:16px;padding-left:16px;padding-right:16px}body[data-party-mode] header{padding:18px 16px}.landlord-scope{gap:8px}body[data-party-mode=landlord] .landlord-scope{margin-bottom:14px}.landlord-scope label{gap:5px}.landlord-scope>a{font-size:10px}.landlord-overview{border-radius:17px;margin-bottom:14px}.landlord-metric{min-height:119px;padding:18px 16px;gap:8px}.landlord-metric strong{font-size:24px}.landlord-metric>span{font-size:11px}.landlord-metric small{font-size:10px}.landlord-actions{gap:10px;margin-bottom:14px}.landlord-actions a{min-height:64px;padding:12px;flex-direction:row;align-items:center}.landlord-actions b{font-size:11px}.landlord-actions span{flex-shrink:0}.landlord-setup{margin-bottom:14px;padding:13px 16px}
 .layout[data-rental-mode=tenant] .resident-home-card{margin-bottom:14px;display:block;border-radius:17px}.layout[data-rental-mode=tenant] .resident-home-card>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:15px 18px}.layout[data-rental-mode=tenant] .resident-home-card h2{font-size:16px;margin:0}.layout[data-rental-mode=tenant] .resident-home-card p{margin:0 0 0 auto;font-size:11px;max-width:100%;overflow-wrap:anywhere}.layout[data-rental-mode=tenant] .resident-home-card .resident-bill{padding:17px 18px;border-top:1px solid #dde4d9}.layout[data-rental-mode=tenant] .focus-panel{margin:14px 0;padding:17px}.layout[data-rental-mode=tenant] .resident-bill a{min-height:44px;font-size:11px}.layout[data-rental-mode=tenant] .resident-bill strong{font-size:26px}.layout[data-rental-mode=tenant] .ai-banner{margin:14px 0}.layout[data-rental-mode=tenant] .resident-shortcuts{gap:8px}.layout[data-rental-mode=tenant] .resident-shortcuts a{min-height:68px}
}
@media(max-width:360px){.space-hero{padding:17px 14px;min-height:148px}.space-hero h1,body[data-party-mode] .space-hero h1{font-size:25px}.space-hero-copy>p:last-child{max-width:155px;font-size:10px}.space-hero-actions a,.space-hero-actions button,body[data-party-mode] .space-hero-actions button{padding:8px;font-size:9px}.dashboard .overview-strip strong,.landlord-metric strong{font-size:21px}.landlord-metric{padding:16px 13px}.landlord-actions a{gap:6px;padding:10px}.landlord-actions b{font-size:10px}.landlord-actions span{width:25px;height:25px}.app-install-dialog{padding:24px}.app-install-dialog h2{font-size:21px}}

@media(max-width:760px){
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;scroll-margin-block:80px 140px}
 button,a.button{min-height:44px}
 dialog{max-height:min(90dvh,var(--rental-visible-height,90vh));max-width:calc(100vw - 24px);overscroll-behavior:contain}
 .sheet-head{position:sticky;top:0;z-index:4;background:#fff;gap:10px;flex-wrap:wrap}
 .sheet-head h2{flex:1;min-width:100px}
 .sheet-head [data-sheet-back]{min-height:44px;padding:8px 12px;border:1px solid #e2e5e8;border-radius:12px;background:white;color:#24564f}
 .sheet-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}
 .rental-keyboard-open .bottomnav,.rental-keyboard-open .landlord-nav{display:none!important}
 .unified-nav{padding-top:max(12px,env(safe-area-inset-top));flex-wrap:wrap}
}

.rental-discard{border:0;border-radius:20px;padding:24px;max-width:420px;box-shadow:0 20px 80px #0003}.rental-discard::backdrop{background:#0005}.rental-discard button{padding:12px 16px;border-radius:12px;border:1px solid #d8dfdf;background:#fff}.rental-discard [data-discard]{background:#28574f;color:white}

.rental-test-banner{padding:10px 16px;background:#fff4d6;color:#634b11;font-size:13px;line-height:1.5;text-align:center;border-bottom:1px solid #ebdba8}

/* Loaded last, only by the live rental service. Collection keeps its own layout. */
body:not(.collection-page) :is(main>.intro h1,main>h1,.wrap h1,.heading h1){font-size:28px!important;line-height:1.35;letter-spacing:-.8px!important;text-wrap:pretty}
body:not(.collection-page) .heading{margin-bottom:24px}
body:not(.collection-page) :is(.panel,.card,.work-start,.focus-panel,.work-group){border-radius:12px;box-shadow:none}
body:not(.collection-page) :is(.eyebrow,.side-label,.tag,.hint,.foot,.muted,small){line-height:1.65}
body:not(.collection-page) :is(.eyebrow,.side-label,.tag,.hint,.foot,small){font-size:12px}
body:not(.collection-page) :is(.panel-head small,.focus-heading p,.focus-item small,.landlord-metric small,.landlord-metric>span,.dashboard .overview-strip small,.dashboard .overview-strip span,.dashboard .work-quick b,.landlord-actions b,.landlord-scope>a){font-size:12px}
body:not(.collection-page) :is(.bottomnav a,.landlord-nav a,.unified-nav a,.workspace-task-nav a){font-size:12px;line-height:1.4}
body:not(.collection-page) :is(nav a,nav button,.workspace-task-nav button,.ai-top .button){font-size:12px!important;line-height:1.45}
body:not(.collection-page) .workspace :is(button,label),body:not(.collection-page) .shell .nav-button{font-size:12px!important}
body:not(.collection-page) button.quiet{font-size:12px}
body:not(.collection-page) :is(.tabs button,.landlord-scope label){font-size:12px!important}
body:not(.collection-page) :is(.row-main p,.task small,.prose,.note,.empty,.form-error){font-size:13px;line-height:1.65}
body:not(.collection-page) :is(th,td){font-variant-numeric:tabular-nums;line-height:1.6}
body:not(.collection-page) th{font-size:12px;font-weight:600}
body:not(.collection-page) td{font-size:13px}
body:not(.collection-page) :is(.total,.stat strong,.landlord-metric strong,.invoice-total){font-variant-numeric:tabular-nums}
body:not(.collection-page) :is(.sheet-body label,label){line-height:1.6}
/* Photo text must not inherit the dark heading/paragraph colors of page themes. */
body .space-hero .space-hero-copy :is(h1,h2,h3,p,span,strong){color:#fff!important;-webkit-text-fill-color:#fff;text-shadow:0 1px 3px #0008}
body .space-hero:after{background:linear-gradient(90deg,rgba(12,22,18,.88),rgba(12,22,18,.70) 60%,rgba(12,22,18,.48))}
body .space-hero .space-date{font-size:12px;opacity:1}
body .space-hero .space-hero-copy>p:last-child{font-size:13px;line-height:1.65}
body .space-hero .space-hero-actions :is(a,button){font-size:12px;color:#fff!important;background:#182a23!important;min-height:44px}
body .space-hero .space-hero-actions [data-install-app]{background:#fff!important;color:#263b30!important}
body .space-hero a.space-photo-credit{color:#fff!important;background:#182a23;font-size:10px}
body .space-hero{border-radius:14px;padding-bottom:42px}
/* Keep keyboard focus visible over photographs as well as ordinary panels. */
body .space-hero :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:760px){
 body:not(.collection-page) :is(main>.intro h1,main>h1,.wrap h1,.heading h1){font-size:25px!important}
 body:not(.collection-page) .heading{gap:12px;flex-wrap:wrap;margin-bottom:20px}
 body:not(.collection-page) :is(.panel,.card,.work-start,.focus-panel){border-radius:12px}
 body .space-hero{flex-wrap:wrap;gap:16px;min-height:190px;padding:22px 20px 38px}
 body .space-hero .space-hero-copy{flex:1 1 180px}
 body .space-hero .space-hero-copy>p:last-child{max-width:100%}
 body .space-hero .space-hero-actions{flex-direction:row;flex-wrap:wrap;margin:0;gap:8px}
 body .space-hero .space-hero-actions :is(a,button){padding:9px 12px;font-size:12px}
 body .space-hero .space-hero-copy h1{font-size:27px!important;letter-spacing:-.8px!important}
 body:not(.collection-page) .dashboard .overview-strip>*{padding:18px 14px}
 body:not(.collection-page) .dashboard .overview-strip strong{font-size:24px}
 body:not(.collection-page) .layout[data-rental-mode=tenant] .resident-home-card p{font-size:12px;line-height:1.6}
 body:not(.collection-page) .layout[data-rental-mode=tenant] .resident-bill a{font-size:13px}
 body:not(.collection-page) .bottomnav a{min-width:0;flex:1;padding-inline:2px}
 body:not(.collection-page) .focus-item{grid-template-columns:72px minmax(0,1fr) 16px;gap:10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* 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}}

/* Measured foreground pairs, scoped to their actual screens. Avoid global color overrides on buttons or dark cards. */
body[data-rental-screen="roles"] button[data-space="rental"] > span:nth-child(3){color:#65656c!important}
body[data-rental-screen="roles"] button[data-space="home"] > span:nth-child(3){color:#65656c!important}
body[data-rental-screen="app"] .side-label{color:#6f6f75!important}
body[data-rental-screen="app"] button[data-action="current-unpaid"] > span{color:#717178!important}
body[data-rental-screen="app"] strong > em{color:#707077!important}
body[data-rental-screen="app"] .overview-strip > a[href$="#rooms"] > span{color:#717178!important}
body[data-rental-screen="app"] .focus-item[data-action="bill"]:nth-child(2) > .urgent.focus-label{color:#a0572a!important}
body[data-rental-screen="app"] .focus-item[data-action="bill"]:nth-child(2) > .focus-copy > small{color:#717177!important}
body[data-rental-screen="app"] .focus-item[data-action="bill"]:nth-child(3) > .urgent.focus-label{color:#a0572a!important}
body[data-rental-screen="app"] .focus-item[data-action="bill"]:nth-child(3) > .focus-copy > small{color:#717177!important}
body[data-rental-screen="app"] button[data-action="request-detail"] > .focus-copy > small{color:#717177!important}
body[data-rental-screen="app"] .work-search-big > kbd{color:#67676e!important}
body[data-rental-screen="app"] .news-empty{color:#717178!important}
body[data-rental-screen="app"] .foot{color:#6a6a71!important}
body[data-rental-screen="app"] a[href$="messages"]{color:#6a6a71!important}
body[data-rental-screen="app"] a[href$="terms"]{color:#6a6a71!important}
body[data-rental-screen="app"] a[href$="privacy"]{color:#6a6a71!important}
body[data-rental-screen="app"] .eyebrow{color:#6b6b71!important}
body[data-rental-screen="app"] .muted{color:#6b6b70!important}
body[data-rental-screen="app"] .pay-hero-main > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="app"] .pay-hero-main > p{color:#68717f!important}
body[data-rental-screen="app"] .pay-hero-detail > span:nth-child(1){color:#6a7280!important}
body[data-rental-screen="app"] .pay-hero-detail > span:nth-child(2){color:#6a7280!important}
body[data-rental-screen="app"] .pay-hero-detail > span{color:#6a7280!important}
body[data-rental-screen="app"] .pay-hero-detail > small{color:#697380!important}
body[data-rental-screen="app"] .pay-connection > div > p{color:#5d697e!important}
body[data-rental-screen="app"] .link[data-action="payment-settings"]{color:#0063de!important}
body[data-rental-screen="app"] #record-summary > span{color:#646d7b!important}
body[data-rental-screen="app"] article > .pay-invoice-top > div > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="app"] article > .pay-invoice-amount > small{color:#69717e!important}
body[data-rental-screen="app"] article > .pay-invoice-breakdown > span:nth-child(1){color:#687383!important}
body[data-rental-screen="app"] article > .pay-invoice-breakdown > span:nth-child(2){color:#687383!important}
body[data-rental-screen="app"] article > .pay-invoice-footer > p{color:#667284!important}
body[data-rental-screen="app"] .is-paid > .pay-invoice-top > div > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="app"] .is-paid > .pay-invoice-amount > small{color:#69717e!important}
body[data-rental-screen="app"] .is-paid > .pay-invoice-breakdown > span:nth-child(1){color:#687383!important}
body[data-rental-screen="app"] .is-paid > .pay-invoice-breakdown > span:nth-child(2){color:#687383!important}
body[data-rental-screen="app"] .is-paid > .pay-invoice-footer > p{color:#667284!important}
body[data-rental-screen="app"] .property-address{color:#646c78!important}
body[data-rental-screen="app"] #record-summary{color:#646d7b!important}
body[data-rental-screen="app"] small{color:#656d79!important}
body[data-rental-screen="app"] strong > span{color:#697381!important}
body[data-rental-screen="app"] .room-end{color:#69727f!important}
body[data-rental-screen="app"] #work-result-count{color:#636c78!important}
body[data-rental-screen="app"] details[open=""] > summary > small{color:#5f6b7b!important}
body[data-rental-screen="app"] details > summary > small{color:#5f6b7b!important}
body[data-rental-screen="app"] .ai-top > div > p{color:#6b6b76!important}
body[data-rental-screen="app"] .ai-scope > span{color:#606c7c!important}
body[data-rental-screen="app"] .ai-composer-caption{color:#667385!important}
body[data-rental-screen="app"] .ai-help{color:#6b6b71!important}
body[data-rental-screen="app"] summary{color:#6b6b76!important}
body[data-rental-screen="documents"] .foot{color:#6a6a71!important}
body[data-rental-screen="start"] a[href$="app"]{color:#0067d9!important}
body[data-rental-screen="vacancies"] a[href$="app"]{color:#0067d9!important}
body[data-rental-screen="data-import"] a{color:#0067d9!important}
body[data-rental-screen="community"] #back{color:#0067d9!important}
body[data-rental-screen="quality"] a{color:#0067d9!important}
body[data-rental-screen="marketing-ai"] a[href$="moa#marketing"]{color:#0067d9!important}
body[data-rental-screen="contractors"] a[target="_blank"]{color:#0067d9!important}
body[data-rental-screen="contractors"] a[href$="app#requests"]{color:#0067d9!important}
body[data-rental-screen="contractors"] .empty{color:#6b6b73!important}
body[data-rental-screen="support"] #back{color:#0067d9!important}
body[data-rental-screen="ownership"] footer{color:#6a6a71!important}
body[data-rental-screen="handover"] footer{color:#6a6a71!important}
body[data-rental-screen="arrears"] main > header > span{color:#616e7c!important}
body[data-rental-screen="experience"] .intro > .eyebrow{color:#5c6c83!important}
body[data-rental-screen="experience"] footer{color:#616d7b!important}
body[data-rental-screen="manage"] .side-link{color:#6b6e76!important}
body[data-rental-screen="manage"] .page-top-copy > p:nth-child(3){color:#667282!important}
body[data-rental-screen="manage"] button[data-filter="landlord"][aria-pressed="false"]{color:#5a6873!important}
body[data-rental-screen="manage"] button[data-filter="tenant"][aria-pressed="false"]{color:#5a6873!important}
body[data-rental-screen="manage"] .lease-row-main > .muted.small{color:#667480!important}
body[data-rental-screen="manage"] small{color:#626e77!important}
body[data-rental-screen="manage"] .property-all > small{color:#616771!important}
body[data-rental-screen="manage"] .property-card > .property-card-copy > small{color:#6e7078!important}
body[data-rental-screen="manage"] aside > p{color:#6d717a!important}
body[data-rental-screen="manage"] .board-kicker{color:#696d75!important}
body[data-rental-screen="manage"] p[role="status"]{color:#686c74!important}
body[data-rental-screen="manage"] .active.board-stat > span{color:#6c7179!important}
body[data-rental-screen="manage"] .active.board-stat > strong > small{color:#6e7178!important}
body[data-rental-screen="manage"] .scheduled > span{color:#6c7179!important}
body[data-rental-screen="manage"] .scheduled > strong > small{color:#6e7178!important}
body[data-rental-screen="manage"] .unleased.board-stat > span{color:#6c7179!important}
body[data-rental-screen="manage"] .unleased.board-stat > strong > small{color:#6e7178!important}
body[data-rental-screen="manage"] .overdue.board-stat > span{color:#6c7179!important}
body[data-rental-screen="manage"] .overdue.board-stat > strong > small{color:#6e7178!important}
body[data-rental-screen="manage"] button[data-id="overdue"][aria-pressed="false"]{color:#696d75!important}
body[data-rental-screen="manage"] button[data-id="unleased"][aria-pressed="false"]{color:#696d75!important}
body[data-rental-screen="manage"] button[data-id="request"][aria-pressed="false"]{color:#696d75!important}
body[data-rental-screen="manage"] button[data-id="unavailable"][aria-pressed="false"]{color:#696d75!important}
body[data-rental-screen="manage"] .board-scope-note{color:#686c74!important}
body[data-rental-screen="manage"] .unit-group:nth-child(1) > .unit-group-heading > span{color:#6d727a!important}
body[data-rental-screen="manage"] .unit-tile.overdue > .unit-status{color:#855f2d!important}
body[data-rental-screen="manage"] .unit-tile.overdue > .unit-rent{color:#686d75!important}
body[data-rental-screen="manage"] .unit-tile.overdue > .unit-meta{color:#8c6432!important}
body[data-rental-screen="manage"] .unit-group:nth-child(2) > .unit-group-heading > span{color:#6d727a!important}
body[data-rental-screen="manage"] .unit-tile.unleased > .unit-status{color:#606670!important}
body[data-rental-screen="manage"] .unit-tile.unleased > .unit-rent{color:#686d75!important}
body[data-rental-screen="manage"] .unit-tile.unleased > .unit-meta{color:#666c75!important}
body[data-rental-screen="manage"] .board-footnote{color:#676c76!important}
body[data-rental-screen="manage"] .modu-footer-copyright{color:#626e77!important}
body[data-rental-screen="manage"] button[data-role="tenant"][aria-pressed="false"]{color:#586671!important}
body[data-rental-screen="manage"] .report-summary > article > span{color:#6c717c!important}
body[data-rental-screen="manage"] .report-flow > article > span{color:#0e7a75!important}
body[data-rental-screen="manage"] article > p{color:#676c76!important}
body[data-rental-screen="manage"] .muted{color:#667480!important}
body[data-rental-screen="manage"] .notice{color:#596d78!important}
body[data-rental-screen="manage"] .page-top > div > p{color:#696d75!important}
body[data-rental-screen="manage"] button[data-wf-id="billing"][aria-pressed="false"]{color:#676d77!important}
body[data-rental-screen="manage"] button[data-wf-id="bank"][aria-pressed="false"]{color:#676d77!important}
body[data-rental-screen="manage"] button[data-wf-id="arrears"][aria-pressed="false"]{color:#676d77!important}
body[data-rental-screen="manage"] label:nth-child(1){color:#676e77!important}
body[data-rental-screen="manage"] label:nth-child(2){color:#676e77!important}
body[data-rental-screen="manage"] button[data-wf-id="application"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="lease_change"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="obligation"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="move_in"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="loan_claim"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="expense"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="exit"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="communication"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="issue"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="notice"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="poll"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="resource"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="service"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="billing_policy"]{color:#5f6570!important}
body[data-rental-screen="manage"] button[data-wf-id="task"]{color:#5f6570!important}
body[data-rental-screen="manage"] .wf-note{color:#6c727c!important}
body[data-rental-screen="manage"] .connection-summary > span{color:#696d76!important}
body[data-rental-screen="manage"] .connection-summary > p{color:#676c76!important}
body[data-rental-screen="manage"] .manual{color:#935d26!important}
body[data-rental-screen="manage"] article > .pending.connection-status{color:#656a74!important}
body[data-rental-screen="moa"] .hero > div:nth-child(1) > .eyebrow{color:#626d7d!important}
body[data-rental-screen="moa"] .intro{color:#70677b!important}
body[data-rental-screen="moa"] #scope-detail{color:#766d81!important}
body[data-rental-screen="moa"] a[href$="#rules"]{color:#6b6175!important}
body[data-rental-screen="moa"] a[href$="#vendors"]{color:#6b6175!important}
body[data-rental-screen="moa"] a[data-tab="marketing"]{color:#6b6175!important}
body[data-rental-screen="moa"] a[href$="#quality"]{color:#6b6175!important}
body[data-rental-screen="moa"] a[href$="#demo"]{color:#6b6175!important}
body[data-rental-screen="moa"] footer{color:#71677c!important}
body[data-rental-screen="moa"] footer > strong{color:#746485!important}
body[data-rental-screen="moa"] footer > p{color:#71677c!important}
body[data-rental-screen="moa"] a[href$="terms"]{color:#766586!important}
body[data-rental-screen="moa"] a[href$="privacy"]{color:#766586!important}
body[data-rental-screen="moa"] a[href$="mailto:ceo@zarigroup.com"]{color:#766586!important}
body[data-rental-screen="moa"] a[data-tab="cases"]{color:#6b6175!important}
body[data-rental-screen="moa"] #listing-form > .hint{color:#776e80!important}
body[data-rental-screen="moa"] .notice > strong{color:#725e8a!important}
body[data-rental-screen="moa"] #panel-marketing > .two > div > .notice > p{color:#725e8a!important}
body[data-rental-screen="access"] .hero > div > .eyebrow{color:#5c6777!important}
body[data-rental-screen="access"] p:nth-child(3){color:#5e6866!important}
body[data-rental-screen="access"] .empty{color:#68736f!important}
body[data-rental-screen="access"] footer{color:#666e6a!important}
body[data-rental-screen="life"] .operator{color:#657368!important}
body[data-rental-screen="life"] .nav > button[data-view="notice"]{color:#657367!important}
body[data-rental-screen="life"] .nav > button[data-view="resource"]{color:#657367!important}
body[data-rental-screen="life"] button[data-view="poll"]{color:#657367!important}
body[data-rental-screen="life"] .nav > button[data-view="inquiry"]{color:#657367!important}
body[data-rental-screen="life"] .nav > button[data-view="repair"]{color:#657367!important}
body[data-rental-screen="life"] .nav > button[data-view="parking"]{color:#657367!important}
body[data-rental-screen="life"] .nav > button[data-view="parcel"]{color:#657367!important}
body[data-rental-screen="life"] .nav > button[data-view="service"]{color:#657367!important}
body[data-rental-screen="life"] button[data-view="community"]{color:#657367!important}
body[data-rental-screen="life"] .sidebar-bottom > a[href$="participants"]{color:#667367!important}
body[data-rental-screen="life"] .sidebar-bottom > a[href$="billing"]{color:#667367!important}
body[data-rental-screen="life"] .sidebar-bottom > a[href$="access"]{color:#667367!important}
body[data-rental-screen="life"] .sidebar-bottom > a[href$="apply"]{color:#667367!important}
body[data-rental-screen="life"] .sidebar-bottom > a[href$="privacy"]{color:#667367!important}
body[data-rental-screen="life"] .name{color:#606e63!important}
body[data-rental-screen="life"] .eyebrow{color:#5c6777!important}
body[data-rental-screen="life"] .hero > div > p{color:#5e6a60!important}
body[data-rental-screen="life"] .metric[data-view="notice"] > span{color:#687469!important}
body[data-rental-screen="life"] .metric[data-view="notice"] > small{color:#68756b!important}
body[data-rental-screen="life"] .metric[data-view="resource"] > span{color:#687469!important}
body[data-rental-screen="life"] .metric[data-view="resource"] > small{color:#68756b!important}
body[data-rental-screen="life"] .metric[data-view="inquiry"] > span{color:#687469!important}
body[data-rental-screen="life"] .metric[data-view="inquiry"] > small{color:#68756b!important}
body[data-rental-screen="life"] .metric[data-view="parcel"] > span{color:#687469!important}
body[data-rental-screen="life"] .metric[data-view="parcel"] > small{color:#68756b!important}
body[data-rental-screen="life"] .card:nth-child(1) > .empty > p{color:#68746a!important}
body[data-rental-screen="life"] .card:nth-child(2) > .empty > p{color:#68746a!important}
body[data-rental-screen="life"] .muted{color:#6a7469!important}
body[data-rental-screen="life"] footer{color:#646f63!important}
body[data-rental-screen="life"] footer > a[href$="participants"]{color:#646f63!important}
body[data-rental-screen="life"] a[href$="terms"]{color:#646f63!important}
body[data-rental-screen="life"] footer > a[href$="privacy"]{color:#646f63!important}
body[data-rental-screen="life"] footer > a[href$="access"]{color:#646f63!important}
body[data-rental-screen="life"] footer > a[href$="apply"]{color:#646f63!important}
body[data-rental-screen="participants"] footer{color:#656d68!important}
body[data-rental-screen="admissions"] #footer{color:#656d68!important}
body[data-rental-screen="resident"] .side-label{color:#6f6f75!important}
body[data-rental-screen="resident"] .focus-item[data-action="bill"]:nth-child(2) > .focus-label.urgent{color:#a0572a!important}
body[data-rental-screen="resident"] .focus-item[data-action="bill"]:nth-child(2) > .focus-copy > small{color:#717177!important}
body[data-rental-screen="resident"] .focus-item[data-action="bill"]:nth-child(3) > .focus-label.urgent{color:#a0572a!important}
body[data-rental-screen="resident"] .focus-item[data-action="bill"]:nth-child(3) > .focus-copy > small{color:#717177!important}
body[data-rental-screen="resident"] .intake-tracker > span:nth-child(2) > small{color:#566983!important}
body[data-rental-screen="resident"] .foot{color:#6a6a71!important}
body[data-rental-screen="resident"] a[href$="messages"]{color:#6a6a71!important}
body[data-rental-screen="resident"] a[href$="terms"]{color:#6a6a71!important}
body[data-rental-screen="resident"] a[href$="privacy"]{color:#6a6a71!important}
body[data-rental-screen="resident"] .eyebrow{color:#6b6b71!important}
body[data-rental-screen="resident"] .muted{color:#6b6b70!important}
body[data-rental-screen="resident"] .pay-hero-main > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="resident"] .pay-hero-main > p{color:#68717f!important}
body[data-rental-screen="resident"] .pay-hero-detail > span:nth-child(1){color:#6a7280!important}
body[data-rental-screen="resident"] .pay-hero-detail > span:nth-child(2){color:#6a7280!important}
body[data-rental-screen="resident"] .pay-hero-detail > span{color:#6a7280!important}
body[data-rental-screen="resident"] .pay-hero-detail > small{color:#697380!important}
body[data-rental-screen="resident"] #record-summary > span{color:#646d7b!important}
body[data-rental-screen="resident"] article > .pay-invoice-top > div > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="resident"] article > .pay-invoice-amount > small{color:#69717e!important}
body[data-rental-screen="resident"] article > .pay-invoice-breakdown > span:nth-child(1){color:#687383!important}
body[data-rental-screen="resident"] article > .pay-invoice-breakdown > span:nth-child(2){color:#687383!important}
body[data-rental-screen="resident"] article > .pay-invoice-footer > p{color:#667284!important}
body[data-rental-screen="resident"] .is-paid > .pay-invoice-top > div > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="resident"] .is-paid > .pay-invoice-amount > small{color:#69717e!important}
body[data-rental-screen="resident"] .is-paid > .pay-invoice-breakdown > span:nth-child(1){color:#687383!important}
body[data-rental-screen="resident"] .is-paid > .pay-invoice-breakdown > span:nth-child(2){color:#687383!important}
body[data-rental-screen="resident"] .is-paid > .pay-invoice-footer > p{color:#667284!important}
body[data-rental-screen="resident"] #record-summary{color:#646d7b!important}
body[data-rental-screen="resident"] .ai-top > div > p{color:#6b6b76!important}
body[data-rental-screen="resident"] #ai-new{color:#fff!important}
body[data-rental-screen="resident"] .ai-scope > span{color:#3e7466!important}
body[data-rental-screen="resident"] .ai-scope > small{color:#6b6b71!important}
body[data-rental-screen="resident"] span:nth-child(2) > small{color:#676f7c!important}
body[data-rental-screen="resident"] .ai-help{color:#6b6b71!important}
body[data-rental-screen="resident"] .ai-privacy > summary{color:#6b6b76!important}
body[data-rental-screen="messages"] a{color:#0067d9!important}
body[data-rental-screen="family"] footer{color:#656d68!important}
body[data-rental-screen="details"] .operator{color:#657368!important}
body[data-rental-screen="details"] .nav > button[data-view="notice"]{color:#657367!important}
body[data-rental-screen="details"] .nav > button[data-view="resource"]{color:#657367!important}
body[data-rental-screen="details"] button[data-view="poll"]{color:#657367!important}
body[data-rental-screen="details"] .nav > button[data-view="inquiry"]{color:#657367!important}
body[data-rental-screen="details"] .nav > button[data-view="repair"]{color:#657367!important}
body[data-rental-screen="details"] .nav > button[data-view="parking"]{color:#657367!important}
body[data-rental-screen="details"] .nav > button[data-view="parcel"]{color:#657367!important}
body[data-rental-screen="details"] .nav > button[data-view="service"]{color:#657367!important}
body[data-rental-screen="details"] button[data-view="community"]{color:#657367!important}
body[data-rental-screen="details"] .sidebar-bottom > a[href$="participants"]{color:#667367!important}
body[data-rental-screen="details"] .sidebar-bottom > a[href$="billing"]{color:#667367!important}
body[data-rental-screen="details"] .sidebar-bottom > a[href$="access"]{color:#667367!important}
body[data-rental-screen="details"] .sidebar-bottom > a[href$="apply"]{color:#667367!important}
body[data-rental-screen="details"] .sidebar-bottom > a[href$="privacy"]{color:#667367!important}
body[data-rental-screen="details"] .name{color:#606e63!important}
body[data-rental-screen="details"] .eyebrow{color:#5c6777!important}
body[data-rental-screen="details"] .hero > div > p{color:#5e6a60!important}
body[data-rental-screen="details"] .metric[data-view="notice"] > span{color:#687469!important}
body[data-rental-screen="details"] .metric[data-view="notice"] > small{color:#68756b!important}
body[data-rental-screen="details"] .metric[data-view="resource"] > span{color:#687469!important}
body[data-rental-screen="details"] .metric[data-view="resource"] > small{color:#68756b!important}
body[data-rental-screen="details"] .metric[data-view="inquiry"] > span{color:#687469!important}
body[data-rental-screen="details"] .metric[data-view="inquiry"] > small{color:#68756b!important}
body[data-rental-screen="details"] .metric[data-view="parcel"] > span{color:#687469!important}
body[data-rental-screen="details"] .metric[data-view="parcel"] > small{color:#68756b!important}
body[data-rental-screen="details"] .card:nth-child(1) > .empty > p{color:#68746a!important}
body[data-rental-screen="details"] .card:nth-child(2) > .empty > p{color:#68746a!important}
body[data-rental-screen="details"] .muted{color:#6a7469!important}
body[data-rental-screen="details"] footer{color:#646f63!important}
body[data-rental-screen="details"] footer > a[href$="participants"]{color:#646f63!important}
body[data-rental-screen="details"] a[href$="terms"]{color:#646f63!important}
body[data-rental-screen="details"] footer > a[href$="privacy"]{color:#646f63!important}
body[data-rental-screen="details"] footer > a[href$="access"]{color:#646f63!important}
body[data-rental-screen="details"] footer > a[href$="apply"]{color:#646f63!important}
body[data-rental-screen="landlord"] .party-section-head > span{color:#67676f!important}
body[data-rental-screen="landlord"] .landlord-ai-note{color:#717179!important}
body[data-rental-screen="landlord"] #landlord-bills > summary > span{color:#717178!important}
body[data-rental-screen="landlord"] #landlord-account > summary > span{color:#717178!important}
body[data-rental-screen="app"] .bottomnav > a[href$="#rooms"] > span{color:#717178!important}
body[data-rental-screen="app"] .bottomnav > a[href$="#bills"] > span{color:#717178!important}
body[data-rental-screen="app"] .bottomnav > a[href$="#requests"] > span{color:#717178!important}
body[data-rental-screen="app"] .bottomnav > a[href$="#tools"] > span{color:#717178!important}
body[data-rental-screen="manage"] .bottom-nav > .nav-button[data-tab="home"]{color:#6c717a!important}
body[data-rental-screen="manage"] .bottom-nav > .nav-button[data-tab="buildings"]{color:#6c717a!important}
body[data-rental-screen="manage"] .bottom-nav > .nav-button[data-tab="payments"]{color:#6c717a!important}
body[data-rental-screen="manage"] .bottom-nav > .nav-button[data-tab="requests"]{color:#6c717a!important}
body[data-rental-screen="manage"] .bottom-nav > .nav-button[data-tab="profile"]{color:#6c717a!important}
body[data-rental-screen="manage"] .bottom-nav > .nav-button[data-tab="contracts"]{color:#6c717a!important}
body[data-rental-screen="life"] .mobile-nav > button[data-view="notice"]{color:#687266!important}
body[data-rental-screen="life"] .mobile-nav > button[data-view="inquiry"]{color:#687266!important}
body[data-rental-screen="life"] button[data-view="billing"]{color:#687266!important}
body[data-rental-screen="life"] button[data-view="more"]{color:#687266!important}
body[data-rental-screen="resident"] .bottomnav > a[href$="#assistant"] > span{color:#717178!important}
body[data-rental-screen="resident"] .bottomnav > a[href$="#bills"] > span{color:#717178!important}
body[data-rental-screen="resident"] .bottomnav > a[href$="#requests"] > span{color:#717178!important}
body[data-rental-screen="resident"] .bottomnav > a[href$="#tools"] > span{color:#717178!important}
body[data-rental-screen="details"] .mobile-nav > button[data-view="notice"]{color:#687266!important}
body[data-rental-screen="details"] .mobile-nav > button[data-view="inquiry"]{color:#687266!important}
body[data-rental-screen="details"] button[data-view="billing"]{color:#687266!important}
body[data-rental-screen="details"] button[data-view="more"]{color:#687266!important}
body[data-rental-screen="landlord"] #landlord-nav > a[href$="#landlord-bills"][data-landlord-open="landlord-bills"] > span{color:#707079!important}
body[data-rental-screen="landlord"] a[href$="#landlord-assistant"] > span{color:#707079!important}
body[data-rental-screen="landlord"] a[href$="#landlord-account"] > span{color:#707079!important}
body[data-rental-screen="reputation-policy"] small{color:#626e77!important}
body[data-rental-screen="contractor"] a[target="_blank"]{color:#0067d9!important}
body[data-rental-screen="contractor"] .empty{color:#6b6b73!important}
body[data-rental-screen="billing"] .side-label{color:#6f6f75!important}
body[data-rental-screen="billing"] .eyebrow{color:#6b6b71!important}
body[data-rental-screen="billing"] .muted{color:#6b6b70!important}
body[data-rental-screen="billing"] .pay-hero-main > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="billing"] .pay-hero-main > p{color:#68717f!important}
body[data-rental-screen="billing"] .pay-hero-detail > span:nth-child(1){color:#6a7280!important}
body[data-rental-screen="billing"] .pay-hero-detail > span:nth-child(2){color:#6a7280!important}
body[data-rental-screen="billing"] .pay-hero-detail > span{color:#6a7280!important}
body[data-rental-screen="billing"] .pay-hero-detail > small{color:#697380!important}
body[data-rental-screen="billing"] #record-summary > span{color:#646d7b!important}
body[data-rental-screen="billing"] article > .pay-invoice-top > div > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="billing"] article > .pay-invoice-amount > small{color:#69717e!important}
body[data-rental-screen="billing"] article > .pay-invoice-breakdown > span:nth-child(1){color:#687383!important}
body[data-rental-screen="billing"] article > .pay-invoice-breakdown > span:nth-child(2){color:#687383!important}
body[data-rental-screen="billing"] article > .pay-invoice-footer > p{color:#667284!important}
body[data-rental-screen="billing"] .is-paid > .pay-invoice-top > div > .pay-eyebrow{color:#68717f!important}
body[data-rental-screen="billing"] .is-paid > .pay-invoice-amount > small{color:#69717e!important}
body[data-rental-screen="billing"] .is-paid > .pay-invoice-breakdown > span:nth-child(1){color:#687383!important}
body[data-rental-screen="billing"] .is-paid > .pay-invoice-breakdown > span:nth-child(2){color:#687383!important}
body[data-rental-screen="billing"] .is-paid > .pay-invoice-footer > p{color:#667284!important}
body[data-rental-screen="billing"] .foot{color:#6a6a71!important}
body[data-rental-screen="billing"] a[href$="messages"]{color:#6a6a71!important}
body[data-rental-screen="billing"] a[href$="terms"]{color:#6a6a71!important}
body[data-rental-screen="billing"] a[href$="privacy"]{color:#6a6a71!important}
body[data-rental-screen="apply"] #footer{color:#656d68!important}
body[data-rental-screen="visit"] a[href$="contractor"]{color:#0067d9!important}
body[data-rental-screen="visit"] a[href="/"]{color:#0067d9!important}
body[data-rental-screen="billing"] .bottomnav > a[href$="#assistant"] > span{color:#717178!important}
body[data-rental-screen="billing"] .bottomnav > a[href$="#requests"] > span{color:#717178!important}
body[data-rental-screen="billing"] .bottomnav > a[href$="#tools"] > span{color:#717178!important}
body[data-rental-screen="experience"] #controls > .section-head:nth-child(1) > div > .eyebrow{color:#5c6c83!important}
body[data-rental-screen="experience"] button[data-scenario="bank"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="cms"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="card"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="filing"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="message"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="emergency"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="vendor"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="marketing"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="identity"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="iot"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="finance"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="recovery"] > small{color:#647387!important}
body[data-rental-screen="experience"] button[data-scenario="semantic"] > small{color:#647387!important}
body[data-rental-screen="experience"] #audit > .section-head > div > .eyebrow{color:#5c6c83!important}
body[data-rental-screen="experience"] #count{color:#5e6d81!important}
body[data-rental-screen="experience"] details > summary > small{color:#647283!important}

/* Site-wide finishing layer of the rental service, loaded after every other stylesheet.
   Visual language: Apple-style surfaces and type (system font, grey canvas, white borderless cards,
   capsule buttons, translucent bars), with the Astryx conventions for hierarchy and states:
   one filled action per view, radius by role, hairline or shadow but not both, alpha hover tints,
   pressed = scale(.98), status never by hue alone. Element rules sit inside :where() so a component
   that styles its own buttons keeps its design. */
:root{--ui-canvas:#f5f5f7;--ui-ink:#1d1d1f;--ui-sub:#6e6e73;--ui-hairline:rgba(0,0,0,.08);--ui-line:#d2d2d7;--ui-fill:#e8e8ed;--ui-fill-hover:#dedee3;--ui-primary:#0071e3;--ui-primary-hover:#0077ed;--ui-primary-active:#006edb;--ui-danger:#d70015;--ui-radius:12px;--ui-card:18px;--ui-pill:980px;--ui-ease:cubic-bezier(.25,1,.5,1)}
body:not([data-urban]){background-color:var(--ui-canvas);color:var(--ui-ink);-webkit-font-smoothing:antialiased}

/* 1. Buttons with a role class: a grey capsule by default, one blue capsule for the main action. */
.button,a.button,button.primary,button.secondary,button.danger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 20px;border:0;border-radius:var(--ui-pill);background:var(--ui-fill);color:var(--ui-ink);font-size:15px;font-weight:500;line-height:1.3;letter-spacing:-.01em;text-decoration:none;cursor:pointer;box-shadow:none;transition:transform .175s var(--ui-ease)}
.button:where(:hover),button.secondary:where(:hover){background:var(--ui-fill-hover)}
.button:where(:active),button.primary:where(:active),button.secondary:where(:active){transform:scale(.98)}
.button.primary,button.primary,a.primary{background:var(--ui-primary);color:#fff}
.button.primary:where(:hover),button.primary:where(:hover),a.primary:where(:hover){background:var(--ui-primary-hover)}
button.danger,.button.danger{color:var(--ui-danger)}
button:where(:disabled),.button:where([aria-disabled=true]){opacity:.45;cursor:not-allowed}
.link{color:var(--ui-primary)}

/* 2. Plain buttons on the form-style screens: grey capsule, blue when the button submits a form. */
:where(html:has(link[href*="documents.css"],link[href*="/app.css"],link[href*="experience.css"],link[href*="portfolio.css"],link[href*="parties.css"])) button:where(:not([class])){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 20px;border:0;border-radius:var(--ui-pill);background:var(--ui-fill);color:var(--ui-ink);font-size:15px;font-weight:500;line-height:1.3;letter-spacing:-.01em;cursor:pointer;transition:transform .175s var(--ui-ease)}
:where(html:has(link[href*="documents.css"],link[href*="/app.css"],link[href*="experience.css"],link[href*="portfolio.css"],link[href*="parties.css"])) button:where(:not([class]):hover){background:var(--ui-fill-hover)}
:where(html:has(link[href*="documents.css"],link[href*="/app.css"],link[href*="experience.css"],link[href*="portfolio.css"],link[href*="parties.css"])) button:where(:not([class]):active){transform:scale(.98)}
:where(html:has(link[href*="documents.css"],link[href*="/app.css"],link[href*="experience.css"],link[href*="portfolio.css"],link[href*="parties.css"])) form button:where(:not([class]):not([type=button]):not([type=reset])){background:var(--ui-primary);color:#fff}
:where(html:has(link[href*="documents.css"],link[href*="/app.css"],link[href*="experience.css"],link[href*="portfolio.css"],link[href*="parties.css"])) form button:where(:not([class]):not([type=button]):not([type=reset]):hover){background:var(--ui-primary-hover)}
/* The participant screens colour every plain button through a stronger selector: match it. */
html:has(script[src*="parties.js"]) body button:where(:not([class])){background:var(--ui-fill);border-color:transparent;border-radius:var(--ui-pill);color:var(--ui-ink)}
html:has(script[src*="parties.js"]) body button:where(:not([class]):hover){background:var(--ui-fill-hover)}
html:has(script[src*="parties.js"]) body form button:where(:not([class]):not([type=button]):not([type=reset])){background:var(--ui-primary);color:#fff}
html:has(script[src*="parties.js"]) body form button:where(:not([class]):not([type=button]):not([type=reset]):hover){background:var(--ui-primary-hover)}

/* 3. Text fields and selects: one border, one radius, a soft ring on focus. */
input:where(:not([type=checkbox],[type=radio],[type=file],[type=range],[type=hidden],[type=color],[type=submit],[type=button])),select,textarea{border:1px solid var(--ui-line);border-radius:var(--ui-radius);background-color:#fff;color:var(--ui-ink)}
input:where(:not([type=checkbox],[type=radio],[type=file],[type=range]):focus),select:where(:focus),textarea:where(:focus){border-color:var(--ui-primary);box-shadow:0 0 0 4px rgba(0,113,227,.16)}
:where(input,textarea)::placeholder{color:#86868b;opacity:1}

/* 4. Surfaces: white cards on the grey canvas, no outline. A card inside a card becomes a grey well. */
body:not(.collection-page) :is(.panel,.card,.work-start,.focus-panel,.work-group){border-color:transparent;border-radius:var(--ui-card);box-shadow:none}
body:not(.collection-page) :is(.panel,.card) :is(.panel,.card){background:var(--ui-canvas);border-radius:14px}

/* 5. Type: large bold titles with tight tracking, quieter supporting text. */
body:not(.collection-page) :is(main>.intro h1,main>h1,.wrap h1,.heading h1){font-size:32px!important;font-weight:700;letter-spacing:-.022em!important;line-height:1.2}
:where(h2,h3){letter-spacing:-.015em}
@media(max-width:760px){body:not(.collection-page) :is(main>.intro h1,main>h1,.wrap h1,.heading h1){font-size:28px!important}}

/* 6. Bars: translucent with a hairline, brand and links on the left, account on the right. */
.rental-page-tools{align-items:center;gap:4px;min-height:56px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--ui-hairline)}
.rental-page-tools :where(a,button,summary,details,div){margin:0}
.rental-page-tools details{border:0;padding:0}
body .rental-page-tools .rental-page-brand{margin-right:10px;font-weight:700;letter-spacing:-.02em;color:var(--ui-ink)!important}
body .rental-page-tools>a:not(.rental-page-brand){font-weight:400;color:#424245!important;padding:8px 12px;border-radius:var(--ui-pill)}
body .rental-page-tools>a:not(.rental-page-brand):hover{background:rgba(0,0,0,.05)}
body .rental-page-tools>.rental-account{margin-left:auto}
.rental-page-tools .account-menu>summary{border:0;background:var(--ui-fill);border-radius:var(--ui-pill)}
.bottomnav{background:rgba(255,255,255,.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--ui-hairline)}
/* The bar already holds the brand, back, space switch and account: drop the second page header. */
body[data-unified-tools]:is([data-rental-screen=parties],[data-rental-screen=governance])>header,body[data-unified-tools] .wrap>header{display:none}
@media(max-width:760px){
 /* Row one: brand and account. Row two: the three links at equal width. */
 body .rental-page-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:8px 12px;align-items:center}
 body .rental-page-tools .rental-page-brand{grid-column:1/4;grid-row:1;justify-content:flex-start;margin-right:0;padding-left:4px}
 body .rental-page-tools>.rental-account{grid-column:4/7;grid-row:1;justify-self:end;margin-left:0;min-width:0;max-width:100%}
 body .rental-page-tools>a:not(.rental-page-brand){grid-column:span 2;min-width:0;background:rgba(118,118,128,.12);font-size:13px!important;padding:8px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* 7. Small fixes found during the screen review. */
.room-card .room-no{white-space:nowrap}
.room-card .panel-head{gap:8px;flex-wrap:wrap}
body #roles .scope-label{background:#fff;color:var(--ui-ink);border:0;border-radius:14px;padding:14px 18px;font-size:15px;font-weight:400}
body #roles .scope-label a{color:var(--ui-primary)}
@media(prefers-reduced-motion:reduce){.button,button{transition:none!important}}

/* 8. One voice for type and controls. */
body:not([data-urban]),body:not([data-urban]) :is(button,input,select,textarea){font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Apple SD Gothic Neo","Pretendard","Noto Sans KR",system-ui,sans-serif}
body:not([data-urban]) :is(input:not([type=checkbox],[type=radio],[type=file],[type=range]),select,textarea){font-weight:400!important;letter-spacing:-.01em}
/* A label above a title reads as a quiet category name, not a tracked-out stamp. */
body:not([data-urban]) .eyebrow{letter-spacing:0!important;font-size:13px;font-weight:500}
body[data-rental-screen=ownership] .eyebrow{display:none}
body:not([data-urban]) :focus-visible{outline-color:#0071e3!important}

/* 9. Bar: the back link carries a chevron; on a phone the links become plain blue toolbar text. */
body .rental-page-tools>.rental-back::before{content:"";flex:0 0 auto;width:8px;height:8px;margin:0 6px 0 2px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
@media(max-width:760px){
 body .rental-page-tools{row-gap:0;padding:6px 14px 2px}
 html body[data-unified-tools] .rental-page-tools>a:not(.rental-page-brand){background:none;color:var(--ui-primary)!important;font-size:15px!important;font-weight:400;padding:6px 2px;justify-content:center}
 body .rental-page-tools>a:not(.rental-page-brand):hover{background:none}
 body .rental-page-tools>.rental-back{justify-content:flex-start}
 body .rental-page-tools>a:not(.rental-page-brand):last-of-type{justify-content:flex-end}
 body .rental-page-tools .rental-page-brand{font-size:17px!important}
}
/* The bar already shows the brand: the side menu starts with its links. */
@media(min-width:761px){body[data-unified-tools] .sidebar>.brand{display:none}}

/* 10. Space cards and their main link. */
.space-card{border-color:transparent}
.space-links .space-primary{border-radius:var(--ui-pill);padding:11px 18px}

/* 11. Ledger screens: borderless fact tiles, plain form labels, and a bottom sheet on phones. */
body.ledger-page .tp-facts>div{border:0;border-radius:14px}
body.ledger-page .roster-form label{font-size:13px;font-weight:500;color:var(--ui-sub)}
body.ledger-page .roster-form :is(input,select,textarea){font-size:17px;padding:11px 14px}
@media(max-width:860px){
 body.ledger-page dialog.lg-dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:20px 20px 0 0;padding:10px 20px calc(24px + env(safe-area-inset-bottom));max-height:min(92dvh,var(--rental-visible-height,92vh));box-shadow:0 -8px 40px rgba(0,0,0,.18)}
 body.ledger-page dialog.lg-dialog::before{content:"";display:block;width:36px;height:5px;margin:0 auto 14px;border-radius:3px;background:#c7c7cc}
 body.ledger-page dialog.lg-dialog[open]{animation:ui-sheet .41s var(--ui-ease)}
}
@keyframes ui-sheet{from{transform:translateY(32px);opacity:0}}
@media(prefers-reduced-motion:reduce){body.ledger-page dialog.lg-dialog[open]{animation:none}}

/* Shared ledger UI for the tenant roster and the reconciliation page.
   These files load before the site-wide finishing layers, so every rule is scoped to
   :is(body.ledger-page,.workspace-ledger) and kept specific enough to stay predictable under those layers. */
:is(body.ledger-page,.workspace-ledger){--ink:#16202b;--sub:#5a6675;--line:#e1e6ec;--soft:#f6f8fa;--accent:#0071e3;--review-bg:#fff4dd;--review-ink:#8a5200;--ok-bg:#e4f4ec;--ok-ink:#0b6247;--info-bg:#edf1f6;--info-ink:#455365;--bad-bg:#fdecea;--bad-ink:#a8281f;margin:0;background:#f3f5f8;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Segoe UI",sans-serif;line-height:1.55;-webkit-text-size-adjust:100%;word-break:keep-all;overflow-wrap:anywhere}
:is(body.ledger-page,.workspace-ledger) *{box-sizing:border-box}
:is(body.ledger-page,.workspace-ledger) [hidden]{display:none!important}
:is(body.ledger-page,.workspace-ledger) main{max-width:1200px;margin:0 auto;padding:28px 24px calc(72px + env(safe-area-inset-bottom))}
:is(body.ledger-page,.workspace-ledger) a{color:#0b5cab;text-decoration:none}
:is(body.ledger-page,.workspace-ledger) .num{font-variant-numeric:tabular-nums;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .r{text-align:right}
:is(body.ledger-page,.workspace-ledger) .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .skip{position:absolute;left:-999px;top:8px;z-index:100;background:#fff;padding:10px 14px;border-radius:8px}
:is(body.ledger-page,.workspace-ledger) .skip:focus{left:12px}
:is(body.ledger-page,.workspace-ledger) :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #2f7de1;outline-offset:2px}
:is(body.ledger-page,.workspace-ledger) .lg-legacy{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;font-size:13px;color:var(--sub);background:#fff;border-bottom:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .lg-legacy nav{display:flex;gap:16px;flex-wrap:wrap}
:is(body.ledger-page,.workspace-ledger) .lg-legacy .party-brand{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
:is(body.ledger-page,.workspace-ledger)[data-unified-tools="true"] .lg-legacy{display:none}
/* Page head and building switch */
:is(body.ledger-page,.workspace-ledger) .lg-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;margin:4px 0 12px}
:is(body.ledger-page,.workspace-ledger) .lg-head h1{margin:0;font-size:28px;line-height:1.3;letter-spacing:-.6px}
:is(body.ledger-page,.workspace-ledger) .lg-head p{margin:6px 0 0;color:var(--sub);font-size:14px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-switch{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
:is(body.ledger-page,.workspace-ledger) .lg-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:13px;background:#e4e9ef;max-width:100%;overflow-x:auto}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button{border:0;border-radius:10px;background:transparent;color:#3a4756;font:inherit;font-size:14px;font-weight:600;padding:8px 18px;cursor:pointer;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #16202b24}
:is(body.ledger-page,.workspace-ledger) .lg-select{display:grid;gap:4px;font-size:12px;color:var(--sub);font-weight:600;min-width:180px}
:is(body.ledger-page,.workspace-ledger) .lg-status{margin:0 0 14px;font-size:13px;color:var(--sub);line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-status:empty{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=error]{padding:12px 14px;border-radius:10px;background:var(--bad-bg);color:var(--bad-ink);font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=done]{padding:12px 14px;border-radius:10px;background:var(--ok-bg);color:var(--ok-ink);font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-links{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
:is(body.ledger-page,.workspace-ledger) .lg-links a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #d3dae2;border-radius:10px;background:#fff;color:#27425e;font-size:13.5px;font-weight:600}
:is(body.ledger-page,.workspace-ledger) .lg-links a:hover{background:#f1f5f9}
/* Buttons, chips and badges */
:is(body.ledger-page,.workspace-ledger) .lg-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #cfd6de;border-radius:10px;background:#fff;color:#22313f;font:inherit;font-size:14px;font-weight:600;padding:9px 16px;cursor:pointer;margin:0}
:is(body.ledger-page,.workspace-ledger) .lg-button:hover{background:#f3f6f9}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary{background:var(--accent);border-color:var(--accent);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary:hover{background:#0064c8;border-color:#0064c8}
:is(body.ledger-page,.workspace-ledger) .lg-button:disabled{opacity:.55;cursor:wait}
:is(body.ledger-page,.workspace-ledger):not([data-urban]) .lg-button.is-small.is-small.is-small{min-height:36px;padding:6px 12px;font-size:13px}
:is(body.ledger-page,.workspace-ledger) .lg-chips{display:flex;gap:8px;flex-wrap:wrap}
:is(body.ledger-page,.workspace-ledger) .lg-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:1px solid #cfd6de;border-radius:999px;background:#fff;color:#334152;font:inherit;font-size:13px;font-weight:500;padding:6px 14px;cursor:pointer;white-space:nowrap;margin:0}
:is(body.ledger-page,.workspace-ledger):not([data-urban]) .lg-chips>.lg-chip.lg-chip.lg-chip{min-height:36px}
:is(body.ledger-page,.workspace-ledger) .lg-chip b{font-weight:600;color:var(--sub);font-variant-numeric:tabular-nums}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true] b{color:#c9d2dc}
:is(body.ledger-page,.workspace-ledger) .lg-badge{display:inline-flex;align-items:center;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600;line-height:1.6;white-space:nowrap;vertical-align:middle}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-review{background:var(--review-bg);color:var(--review-ink)}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-ok{background:var(--ok-bg);color:var(--ok-ink)}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-info{background:var(--info-bg);color:var(--info-ink)}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-bad{background:var(--bad-bg);color:var(--bad-ink)}
/* Banner, tiles and cards */
:is(body.ledger-page,.workspace-ledger) .lg-banner{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:14px;background:var(--review-bg);border:1px solid #f1dcae;color:#5a3a05;margin:0 0 16px;font-size:14px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-banner strong{display:block;font-size:15.5px;color:#5a3a05}
:is(body.ledger-page,.workspace-ledger) .lg-banner p{margin:4px 0 0;font-size:13.5px;line-height:1.65;color:#6b4a12}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok{background:var(--ok-bg);border-color:#bfe2d1;color:#0b4a37}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok :is(strong,p){color:#0b4a37}
:is(body.ledger-page,.workspace-ledger) .lg-banner-mark{flex:0 0 26px;height:26px;border-radius:50%;background:#efc160;color:#5a3a05;display:grid;place-items:center;font-weight:800;font-size:15px}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok .lg-banner-mark{background:#8fd0b3;color:#0b4a37}
:is(body.ledger-page,.workspace-ledger) .lg-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px;padding:0;border:0}
:is(body.ledger-page,.workspace-ledger) .lg-tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 18px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .lg-tile span{display:block;font-size:12.5px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .lg-tile strong{display:block;margin-top:6px;font-size:24px;line-height:1.25;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
:is(body.ledger-page,.workspace-ledger) .lg-tile small{display:block;margin-top:4px;color:var(--sub);font-size:12px;line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile{padding:12px 14px;background:var(--soft)}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile strong{font-size:19px}
:is(body.ledger-page,.workspace-ledger) .lg-card{background:#fff;border:1px solid var(--line);border-radius:16px;margin:0 0 16px;padding:0;overflow:hidden}
:is(body.ledger-page,.workspace-ledger) .lg-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 16px;flex-wrap:wrap;padding:18px 20px 12px}
:is(body.ledger-page,.workspace-ledger) .lg-card-head h2{margin:0;font-size:17px;line-height:1.4}
:is(body.ledger-page,.workspace-ledger) .lg-card-head p{margin:4px 0 0;font-size:13px;color:var(--sub);line-height:1.6;max-width:760px}
:is(body.ledger-page,.workspace-ledger) .lg-tools{display:flex;gap:10px 12px;flex-wrap:wrap;align-items:center;padding:0 20px 14px}
:is(body.ledger-page,.workspace-ledger) .lg-search{flex:1 1 240px;max-width:360px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .lg-search input{width:100%;border:1px solid #cfd6de;border-radius:10px;padding:10px 12px;font:inherit;background:#fff;color:var(--ink)}
:is(body.ledger-page,.workspace-ledger) .lg-sort select{min-width:150px}
:is(body.ledger-page,.workspace-ledger) .lg-check{display:inline-flex;gap:8px;align-items:center;font-size:14px;color:#334152}
:is(body.ledger-page,.workspace-ledger) .lg-empty{margin:0;padding:22px 20px;color:var(--sub);font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-note{margin:10px 0;font-size:13px;line-height:1.65;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-count,:is(body.ledger-page,.workspace-ledger) .lg-foot{padding:0 20px;margin:0 0 10px}
:is(body.ledger-page,.workspace-ledger) .lg-foot{margin:12px 0 16px}
/* Foldable cards */
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px 20px;min-height:56px;font-size:16px;font-weight:700}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary::-webkit-details-marker{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary small{font-size:13px;font-weight:500;color:var(--sub);margin-left:auto}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary::after{content:"";flex:0 0 9px;height:9px;border-right:2px solid #8793a1;border-bottom:2px solid #8793a1;transform:rotate(45deg);margin:0 4px 4px 0}
:is(body.ledger-page,.workspace-ledger) .lg-fold[open]>summary::after{transform:rotate(-135deg);margin:4px 4px 0 0}
:is(body.ledger-page,.workspace-ledger) .lg-fold[open]>summary{border-bottom:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .lg-fold-body{padding:16px 20px 20px}
/* Rows shared by both lists: a table on wide screens, cards on phones */
/* The grid lives on an inner wrapper: Safari has had layout bugs with a grid directly on <summary>. */
:is(body.ledger-page,.workspace-ledger) .lg-thead,:is(body.ledger-page,.workspace-ledger) .lg-row>summary>.lg-sum{display:grid;grid-template-columns:var(--cols);gap:12px;align-items:center;padding:0 20px}
:is(body.ledger-page,.workspace-ledger) .lg-thead{min-height:40px;background:#f7f9fb;border-block:1px solid var(--line);font-size:12px;font-weight:600;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-row{border-bottom:1px solid var(--line);min-width:0}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary{display:block;list-style:none;cursor:pointer;min-height:0;padding:0;font-size:14px;font-weight:400}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary>.lg-sum{min-height:58px;padding-block:8px}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary::-webkit-details-marker{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary:hover{background:#f8fafc}
:is(body.ledger-page,.workspace-ledger) .lg-row[open]>summary{background:#f1f5f9}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-id,:is(body.ledger-page,.workspace-ledger) .lg-row .c-meta{display:contents}
:is(body.ledger-page,.workspace-ledger) .lg-row .unit{font-weight:700;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .lg-row .who{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .lg-row summary .who small{display:block;font-size:12px;color:var(--sub);line-height:1.4;overflow:hidden;text-overflow:ellipsis}
:is(body.ledger-page,.workspace-ledger) .lg-row summary .c-meta small{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-status{display:flex;gap:4px;flex-wrap:wrap}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-amount b{font-weight:700}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-count{color:var(--sub);font-size:13px}
:is(body.ledger-page,.workspace-ledger) .lg-row .chev{width:9px;height:9px;border-right:2px solid #8793a1;border-bottom:2px solid #8793a1;transform:rotate(45deg);justify-self:end;margin-bottom:4px}
:is(body.ledger-page,.workspace-ledger) .lg-row[open]>summary .chev{transform:rotate(-135deg);margin:4px 0 0}
:is(body.ledger-page,.workspace-ledger) .lg-detail{padding:6px 20px 22px;background:#fbfcfd;border-top:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .cutoff-list{--cols:76px minmax(96px,1.2fr) 92px repeat(4,minmax(92px,1fr)) 48px 14px}
:is(body.ledger-page,.workspace-ledger) .cutoff-list [data-cutoff-rows]>.lg-row:last-child{border-bottom:0}
/* One unit: calculation, month and item lines, deposits, open points */
:is(body.ledger-page,.workspace-ledger) .cutoff-unit h4{margin:20px 0 8px;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-state{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0 8px;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-reasons{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
:is(body.ledger-page,.workspace-ledger) .cu-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px}
:is(body.ledger-page,.workspace-ledger) .cu-flow>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .cu-flow span{display:block;font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .cu-flow b{display:block;margin-top:3px;font-size:17px;line-height:1.35}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-result{background:var(--review-bg);border-color:#f1dcae}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-result span{color:var(--review-ink)}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-ok{background:var(--ok-bg);border-color:#bfe2d1}
:is(body.ledger-page,.workspace-ledger) .cu-facts{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;font-size:13px;color:var(--sub);line-height:1.7}
:is(body.ledger-page,.workspace-ledger) .cu-facts b{color:var(--ink);font-weight:600}
:is(body.ledger-page,.workspace-ledger) .cu-lines{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
:is(body.ledger-page,.workspace-ledger) .cu-line{display:grid;grid-template-columns:minmax(150px,1.6fr) repeat(3,minmax(88px,1fr)) minmax(120px,1.1fr);gap:12px;align-items:center;padding:10px 14px;border-top:1px solid #edf0f3;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .cu-line:first-child{border-top:0}
:is(body.ledger-page,.workspace-ledger) .cu-line-head{background:#f7f9fb;font-size:12px;font-weight:600;color:var(--sub);padding-block:8px}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub{display:contents}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub>span,:is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain,:is(body.ledger-page,.workspace-ledger) .cu-line-head>span:nth-child(3){text-align:right}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub small{display:none}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-what small{display:block;font-size:12px;color:var(--sub);line-height:1.5;margin-top:1px}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain{font-weight:700}
:is(body.ledger-page,.workspace-ledger) .cu-line.is-missing .cu-remain{color:var(--sub);font-weight:600}
:is(body.ledger-page,.workspace-ledger) .cu-pays,:is(body.ledger-page,.workspace-ledger) .cu-issues{list-style:none;margin:0;padding:0;display:grid;gap:8px}
:is(body.ledger-page,.workspace-ledger) .cu-pays li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .cu-pays li>div{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
:is(body.ledger-page,.workspace-ledger) .cu-pays p{margin:4px 0 0;color:#334152;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .cu-pays li small{display:block;margin-top:2px;font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .cu-issues li{position:relative;padding:10px 14px 10px 16px;background:#fff;border:1px solid var(--line);border-left:3px solid #e2a93b;border-radius:10px;font-size:13.5px;line-height:1.65;margin:0}
:is(body.ledger-page,.workspace-ledger) .cu-more{margin:14px 0 0;border:1px solid var(--line);border-radius:12px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .cu-more>summary{cursor:pointer;padding:11px 14px;min-height:44px;font-size:13.5px;font-weight:600;color:#27425e}
:is(body.ledger-page,.workspace-ledger) .cu-more>article{display:grid;gap:3px;padding:10px 14px;border-top:1px solid #edf0f3;font-size:13.5px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .cu-more>article small{font-size:12px;color:var(--sub)}
/* Bank observations */
:is(body.ledger-page,.workspace-ledger) .bank-range{margin:0 0 12px;font-size:13px;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .bank-panel .lg-chips{margin:14px 0 10px}
:is(body.ledger-page,.workspace-ledger) .bank-rows{max-height:520px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .bank-row{display:grid;grid-template-columns:92px 110px 96px minmax(110px,1fr) auto;gap:4px 12px;align-items:center;padding:10px 14px;border-top:1px solid #edf0f3;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .bank-row:first-child{border-top:0}
:is(body.ledger-page,.workspace-ledger) .bank-row .bank-memo{min-width:0;overflow:hidden;text-overflow:ellipsis}
:is(body.ledger-page,.workspace-ledger) .bank-row small{grid-column:1/-1;font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .bank-integrity{margin:12px 0 0}
/* Dialogs */
:is(body.ledger-page,.workspace-ledger) .lg-dialog{width:min(640px,calc(100% - 24px));max-height:min(88dvh,var(--rental-visible-height,88vh));padding:22px 24px 24px;border:1px solid var(--line);border-radius:18px;color:var(--ink);overflow:auto}
:is(body.ledger-page,.workspace-ledger) .lg-dialog::backdrop{background:#16202b66}
:is(body.ledger-page,.workspace-ledger) .lg-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px}
:is(body.ledger-page,.workspace-ledger) .lg-dialog-head h2{margin:0;font-size:19px;line-height:1.4}
:is(body.ledger-page,.workspace-ledger) .lg-dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px 14px;margin:14px 0 0;font-size:14px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-dl dt{color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-dl dd{margin:0;white-space:pre-wrap}
:is(body.ledger-page,.workspace-ledger) .lg-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
:is(body.ledger-page,.workspace-ledger) .lg-form-error{margin:0;padding:10px 12px;border-radius:10px;background:var(--bad-bg);color:var(--bad-ink);font-size:13.5px}
@media(max-width:860px){
 :is(body.ledger-page,.workspace-ledger) main{padding:20px 14px calc(88px + env(safe-area-inset-bottom))}
 :is(body.ledger-page,.workspace-ledger) .lg-head h1{font-size:24px}
 :is(body.ledger-page,.workspace-ledger) .lg-switch,:is(body.ledger-page,.workspace-ledger) .lg-tabs{width:100%}
 :is(body.ledger-page,.workspace-ledger) .lg-tabs button{flex:1}
 :is(body.ledger-page,.workspace-ledger) .lg-select{flex:1}
 :is(body.ledger-page,.workspace-ledger) .lg-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 :is(body.ledger-page,.workspace-ledger) .lg-tile{padding:12px 14px}
 :is(body.ledger-page,.workspace-ledger) .lg-tile strong{font-size:21px}
 :is(body.ledger-page,.workspace-ledger) .lg-card-head{padding:16px 16px 10px}
 :is(body.ledger-page,.workspace-ledger) .lg-tools{padding:0 16px 12px}
 :is(body.ledger-page,.workspace-ledger) .lg-search{max-width:none;flex-basis:100%}
 :is(body.ledger-page,.workspace-ledger) .lg-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 :is(body.ledger-page,.workspace-ledger) .lg-chips::-webkit-scrollbar{display:none}
 :is(body.ledger-page,.workspace-ledger) .lg-tools .lg-chips{flex-basis:calc(100% + 32px)}
 :is(body.ledger-page,.workspace-ledger) .lg-count,:is(body.ledger-page,.workspace-ledger) .lg-foot{padding:0 16px}
 :is(body.ledger-page,.workspace-ledger) .lg-fold>summary{padding:14px 16px}
 :is(body.ledger-page,.workspace-ledger) .lg-fold>summary small{font-size:12px;text-align:right}
 :is(body.ledger-page,.workspace-ledger) .lg-fold-body{padding:14px 16px 18px}
 :is(body.ledger-page,.workspace-ledger) .lg-thead{display:none}
 :is(body.ledger-page,.workspace-ledger) .lg-row>summary>.lg-sum{grid-template-columns:minmax(0,1fr) auto 12px;grid-template-areas:"id amount chev" "status status chev" "meta meta meta";gap:4px 10px;padding:12px 16px;min-height:0}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-id{display:flex;gap:8px;align-items:baseline;grid-area:id;min-width:0}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-amount{grid-area:amount;font-size:15px}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-status{grid-area:status}
 :is(body.ledger-page,.workspace-ledger) .lg-row .chev{grid-area:chev;align-self:center}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-meta{display:flex;flex-wrap:wrap;gap:2px 14px;grid-area:meta;font-size:12.5px;color:var(--sub)}
 :is(body.ledger-page,.workspace-ledger) .lg-row summary .c-meta small{display:inline;font-size:12.5px}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-meta .r{text-align:left}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-count{display:none}
 :is(body.ledger-page,.workspace-ledger) .lg-detail{padding:4px 14px 18px}
 :is(body.ledger-page,.workspace-ledger) .cu-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(body.ledger-page,.workspace-ledger) .cu-line-head{display:none}
 :is(body.ledger-page,.workspace-ledger) .cu-line{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"what remain" "sub due";gap:4px 12px;padding:10px 12px}
 :is(body.ledger-page,.workspace-ledger) .cu-line:nth-child(2){border-top:0}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-what{grid-area:what}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain{grid-area:remain}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub{display:flex;flex-wrap:wrap;gap:0 10px;grid-area:sub;font-size:12.5px;color:var(--sub)}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub>span{text-align:left}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub small{display:inline;font-size:12.5px}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-due{grid-area:due;justify-self:end}
 :is(body.ledger-page,.workspace-ledger) .bank-row{grid-template-columns:auto 1fr;gap:2px 10px}
 :is(body.ledger-page,.workspace-ledger) .bank-row>span{grid-column:1/-1}
 :is(body.ledger-page,.workspace-ledger) .lg-dialog{padding:18px 16px 20px;border-radius:16px}
 :is(body.ledger-page,.workspace-ledger) .lg-dl{grid-template-columns:88px minmax(0,1fr)}
 :is(body.ledger-page,.workspace-ledger) .lg-links a{flex:1 1 calc(50% - 8px);justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:no-preference){:is(body.ledger-page,.workspace-ledger) .lg-row .chev,:is(body.ledger-page,.workspace-ledger) .lg-fold>summary::after{transition:transform .15s}}

/* Apple-style pass for the ledger screens: grey canvas, white borderless cards, capsule controls,
   segmented building switch, grouped insets. Status always carries a word or a mark, never colour alone. */
:is(body.ledger-page,.workspace-ledger){--ink:#1d1d1f;--sub:#6e6e73;--line:#e5e5ea;--soft:#f5f5f7;--accent:#0071e3;--review-bg:#fff4e0;--review-ink:#b25000;--ok-bg:#e3f5e8;--ok-ink:#248a3d;--info-bg:#f0f0f3;--info-ink:#515154;--bad-bg:#ffe9eb;--bad-ink:#d70015;background:#f5f5f7;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
:is(body.ledger-page,.workspace-ledger) a{color:#0066cc}
:is(body.ledger-page,.workspace-ledger) .lg-head{margin:10px 0 14px}
:is(body.ledger-page,.workspace-ledger) .lg-head h1{font-size:34px;font-weight:700;letter-spacing:-.022em;line-height:1.15}
:is(body.ledger-page,.workspace-ledger) .lg-head p{font-size:17px;color:var(--sub);letter-spacing:-.015em}
:is(body.ledger-page,.workspace-ledger) .lg-tabs{padding:2px;border-radius:10px;background:rgba(118,118,128,.14)}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button{border-radius:8px;font-size:14px;font-weight:500;color:var(--ink);padding:6px 18px}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button[aria-pressed=true]{font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px rgba(0,0,0,.04)}
:is(body.ledger-page,.workspace-ledger) .lg-links{gap:4px 22px;margin:0 0 18px}
:is(body.ledger-page,.workspace-ledger) .lg-links a{min-height:32px;padding:0;border:0;border-radius:0;background:none;color:#0066cc;font-size:15px;font-weight:400}
:is(body.ledger-page,.workspace-ledger) .lg-links a:hover{background:none;text-decoration:underline}
:is(body.ledger-page,.workspace-ledger) .lg-button{border:0;border-radius:980px;background:#e8e8ed;color:var(--ink);font-size:15px;font-weight:500;padding:10px 20px;transition:transform .175s cubic-bezier(.25,1,.5,1)}
:is(body.ledger-page,.workspace-ledger) .lg-button:hover{background:#dedee3}
:is(body.ledger-page,.workspace-ledger) .lg-button:active{transform:scale(.98)}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary{background:var(--accent);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary:hover{background:#0077ed}
:is(body.ledger-page,.workspace-ledger) .lg-chip{border:0;background:#e8e8ed;color:var(--ink);font-size:14px;font-weight:400;padding:7px 14px}
:is(body.ledger-page,.workspace-ledger) .lg-chip b{color:var(--sub);font-weight:500}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true]{background:var(--ink);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true] b{color:#d2d2d7}
:is(body.ledger-page,.workspace-ledger) .lg-badge{font-weight:500;padding:2px 10px}
:is(body.ledger-page,.workspace-ledger) .lg-banner{border:0;border-radius:18px;padding:18px 20px;background:var(--review-bg);color:var(--ink)}
:is(body.ledger-page,.workspace-ledger) .lg-banner strong{color:var(--ink);font-size:17px;font-weight:600;letter-spacing:-.015em}
:is(body.ledger-page,.workspace-ledger) .lg-banner p{color:#424245;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-banner-mark{background:#ff9f0a;color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok .lg-banner-mark{background:#30b350;color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-tile{border:0;border-radius:18px;padding:18px 20px}
:is(body.ledger-page,.workspace-ledger) .lg-tile span{font-size:13px}
:is(body.ledger-page,.workspace-ledger) .lg-tile strong{font-size:28px;font-weight:600;letter-spacing:-.02em}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile{border-radius:14px;background:#f5f5f7}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile strong{font-size:20px}
:is(body.ledger-page,.workspace-ledger) .lg-card{border:0;border-radius:18px}
:is(body.ledger-page,.workspace-ledger) .lg-card-head h2{font-size:21px;font-weight:600;letter-spacing:-.018em}
:is(body.ledger-page,.workspace-ledger) .lg-card-head p{font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary{font-size:19px;font-weight:600;letter-spacing:-.018em}
:is(body.ledger-page,.workspace-ledger) .lg-search input{border:0;border-radius:10px;background:rgba(118,118,128,.12);padding:10px 14px}
:is(body.ledger-page,.workspace-ledger) .lg-search input:focus{box-shadow:0 0 0 4px rgba(0,113,227,.16);background:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-thead{background:none;border-top:0;font-weight:500;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary{font-size:15px}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary:hover{background:rgba(0,0,0,.025)}
:is(body.ledger-page,.workspace-ledger) .lg-row[open]>summary{background:#f5f5f7}
:is(body.ledger-page,.workspace-ledger) .lg-row .unit{font-weight:600}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-amount b{font-weight:600}
:is(body.ledger-page,.workspace-ledger) .lg-detail{background:#f5f5f7;border-top:0}
:is(body.ledger-page,.workspace-ledger) .cutoff-unit h4{font-size:15px;font-weight:600;margin:22px 0 8px}
:is(body.ledger-page,.workspace-ledger) .cu-flow>div,:is(body.ledger-page,.workspace-ledger) .tp-facts>div{border:0;border-radius:14px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .cu-flow b{font-size:19px;font-weight:600;letter-spacing:-.015em}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-result{background:var(--review-bg)}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-ok{background:var(--ok-bg)}
:is(body.ledger-page,.workspace-ledger) .cu-lines,:is(body.ledger-page,.workspace-ledger) .cu-more{border:0;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .cu-line{border-top-color:#f0f0f3;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-line-head{background:none;border-bottom:1px solid #f0f0f3}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain{font-weight:600}
:is(body.ledger-page,.workspace-ledger) .cu-pays li{border:0;border-radius:14px}
/* No coloured stripe on a rounded card: the note carries a mark and its own words. */
:is(body.ledger-page,.workspace-ledger) .cu-issues li{border:0;border-radius:14px;padding:12px 16px 12px 44px}
:is(body.ledger-page,.workspace-ledger) .cu-issues li::before{content:"!";position:absolute;left:14px;top:13px;width:20px;height:20px;border-radius:50%;background:#ff9f0a;color:#fff;font-size:13px;font-weight:700;line-height:20px;text-align:center}
:is(body.ledger-page,.workspace-ledger) .bank-rows{border:0;background:#f5f5f7;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .bank-row{border-top-color:#e5e5ea}
:is(body.ledger-page,.workspace-ledger) .table-wrap{border:0;background:#f5f5f7;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .table-wrap th{background:none}
:is(body.ledger-page,.workspace-ledger) .arrears-card{border:0;background:#f5f5f7;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .lg-dialog{border:0;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.22)}
:is(body.ledger-page,.workspace-ledger) .lg-dialog-head h2{font-size:21px;font-weight:600;letter-spacing:-.018em}
:is(body.ledger-page,.workspace-ledger) .roster-form :is(input,select,textarea){border:1px solid #d2d2d7;border-radius:12px}
:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=error],:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=done],:is(body.ledger-page,.workspace-ledger) .lg-form-error{border-radius:14px}
@media(max-width:860px){
 :is(body.ledger-page,.workspace-ledger) .lg-head h1{font-size:28px}
 :is(body.ledger-page,.workspace-ledger) .lg-head p{font-size:15px}
 :is(body.ledger-page,.workspace-ledger) .lg-tabs button{padding:8px 12px}
 :is(body.ledger-page,.workspace-ledger) .lg-links a{flex:0 0 auto;justify-content:flex-start}
 :is(body.ledger-page,.workspace-ledger) .lg-tile strong{font-size:24px}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-amount{font-size:17px}
 :is(body.ledger-page,.workspace-ledger) .lg-row>summary{font-size:16px}
}

/* Keep property choices readable at every width, including long building names. */
:is(body.ledger-page,.workspace-ledger) .lg-switch{min-width:0;max-width:100%}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button{flex:0 0 auto;min-height:44px}
:is(body.ledger-page,.workspace-ledger) .lg-select[data-property-select]{min-width:0;max-width:100%;width:100%}
:is(body.ledger-page,.workspace-ledger) .lg-select[data-property-select] select{width:100%;min-width:0;max-width:100%;min-height:48px;font-size:16px}
:is(body.ledger-page,.workspace-ledger) .lg-links a{min-height:44px}
@media(min-width:861px){:is(body.ledger-page,.workspace-ledger) .lg-switch:has(.lg-tabs:not([hidden])) [data-property-select]{display:none}}
@media(max-width:860px){:is(body.ledger-page,.workspace-ledger) .lg-tabs{display:none}:is(body.ledger-page,.workspace-ledger) .lg-switch [data-property-select]{display:grid}}

/* Historical bank navigation keeps partial coverage and unmatched company money visible. */
.bank-controls{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.bank-controls label,.bank-search-label{display:grid;gap:8px;font-size:13px;color:var(--muted,#5d6471)}:is(body.ledger-page,.workspace-ledger) .bank-controls select{min-height:44px;min-width:140px;background:var(--surface,#fff);color:inherit}.bank-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 28px}.bank-month{min-width:0;text-align:left;font:inherit;color:var(--text,#202124);background:var(--surface,#fff);border:1px solid var(--border,#dce0e6);border-radius:14px;padding:16px;cursor:pointer}.bank-month[aria-pressed="true"]{border-color:#1670d2;box-shadow:0 0 0 1px #1670d2}.bank-month:focus-visible{outline:3px solid #1670d2;outline-offset:3px}.bank-month>strong{display:block;font-size:18px;margin-bottom:6px}.bank-month>small{display:block;color:var(--muted,#5d6471);margin-bottom:14px}.bank-month>span{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:1.8}.bank-month b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}.bank-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.bank-detail-heading h4{margin:0;font-size:18px}.bank-search-label{margin-top:20px;max-width:420px}.bank-search{min-height:44px;border:1px solid var(--border,#dce0e6);border-radius:10px;padding:10px 14px;background:var(--surface,#fff);color:var(--text,#202124)}.bank-sources{margin-top:24px;padding-top:18px;border-top:1px solid var(--border,#dce0e6)}.bank-sources>summary{cursor:pointer;min-height:44px;overflow-wrap:anywhere}.bank-more{margin-top:16px;min-height:44px}.bank-coverage-note{line-height:1.7}.bank-row small{overflow-wrap:anywhere}
@media(max-width:700px){.bank-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bank-month{padding:12px}.bank-month>span{display:flex;line-height:1.7;margin-top:6px;font-size:11px;gap:4px}.bank-month b{font-size:12px}.bank-month>small{font-size:11px}.bank-controls{gap:12px}.bank-controls label{flex:1;min-width:0}:is(body.ledger-page,.workspace-ledger) .bank-controls select{width:100%;min-width:0}.bank-detail-heading{align-items:flex-start;flex-direction:column}.bank-search-label{max-width:none}.bank-sources p{overflow-wrap:anywhere}}

.cu-evidence{border:1px solid #c9d8e9;background:#f5f8fc;border-radius:16px;padding:18px;margin:22px 0;color:#22344b}.cu-evidence h4{margin:0 0 12px}.cu-evidence p{margin:8px 0;line-height:1.7;font-size:14px}.cu-evidence small{display:block;overflow-wrap:anywhere;color:#526276;font-size:12px}

/* Tenant roster: one row per unit with a selection box, details on demand. */
:is(body.ledger-page,.workspace-ledger) .tenant-list{--cols:76px minmax(120px,1.4fr) minmax(120px,1fr) repeat(3,minmax(104px,1fr)) 14px}
:is(body.ledger-page,.workspace-ledger) .tenant-list>.lg-thead{padding-left:44px}
:is(body.ledger-page,.workspace-ledger) .tn-row{display:grid;grid-template-columns:44px minmax(0,1fr);border-bottom:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .tn-row:last-child{border-bottom:0}
:is(body.ledger-page,.workspace-ledger) .tn-row>.lg-row{border-bottom:0}
:is(body.ledger-page,.workspace-ledger) .tn-row>.lg-row>summary>.lg-sum{padding-left:0}
:is(body.ledger-page,.workspace-ledger) .tn-row>.tn-check{display:flex;align-items:center;justify-content:center;align-self:start;min-height:58px;padding-left:12px;margin:0}
:is(body.ledger-page,.workspace-ledger) .tn-row .lg-detail{margin-left:-44px;padding-left:20px}
:is(body.ledger-page,.workspace-ledger) .tn-detail-head{display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap;margin:12px 0 4px}
:is(body.ledger-page,.workspace-ledger) .tn-detail-head p{margin:0;font-size:13px;color:var(--sub);line-height:1.65;flex:1 1 320px}
:is(body.ledger-page,.workspace-ledger) .tn-sub{margin:22px 0 0;font-size:15px}
:is(body.ledger-page,.workspace-ledger) .tp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:12px 0 0}
:is(body.ledger-page,.workspace-ledger) .tp-facts>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .tp-facts dt{font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .tp-facts dd{margin:3px 0 0;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
:is(body.ledger-page,.workspace-ledger) .tp-facts dd small{display:block;font-size:12px;font-weight:500;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .roster-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:14px}
:is(body.ledger-page,.workspace-ledger) .roster-form label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#334152}
:is(body.ledger-page,.workspace-ledger) .roster-form :is(input,select,textarea){width:100%;min-width:0;border:1px solid #cfd6de;border-radius:10px;padding:10px 12px;font:inherit;background:#fff;color:var(--ink)}
:is(body.ledger-page,.workspace-ledger) .roster-form .wide{grid-column:1/-1}
:is(body.ledger-page,.workspace-ledger) .roster-form .lg-check{display:flex;gap:10px;align-items:flex-start;font-weight:500}
:is(body.ledger-page,.workspace-ledger) .roster-form .lg-check input{width:22px;flex:0 0 22px}
:is(body.ledger-page,.workspace-ledger) .tn-draft{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);display:grid;gap:8px;justify-items:start}
:is(body.ledger-page,.workspace-ledger) .tn-draft h3{margin:0;font-size:15px}
:is(body.ledger-page,.workspace-ledger) .tn-draft textarea{width:100%;font:inherit;padding:12px;line-height:1.6;border:1px solid #cfd6de;border-radius:10px;background:var(--soft)}
@media(max-width:860px){
 :is(body.ledger-page,.workspace-ledger) .tn-row{grid-template-columns:40px minmax(0,1fr)}
 :is(body.ledger-page,.workspace-ledger) .tn-row>.tn-check{min-height:52px;padding-left:8px}
 :is(body.ledger-page,.workspace-ledger) .tn-row>.lg-row>summary>.lg-sum{padding-left:4px}
 :is(body.ledger-page,.workspace-ledger) .tn-row .lg-detail{margin-left:-40px;padding-left:14px}
 :is(body.ledger-page,.workspace-ledger) .lg-card-head .lg-button{width:100%}
 :is(body.ledger-page,.workspace-ledger) .tn-detail-head .lg-button{width:100%}
 :is(body.ledger-page,.workspace-ledger) .tp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(body.ledger-page,.workspace-ledger) .roster-form{grid-template-columns:1fr}
 :is(body.ledger-page,.workspace-ledger) .lg-actions .lg-button{flex:1}
}

/* Shared ledger UI for the tenant roster and the reconciliation page.
   These files load before the site-wide finishing layers, so every rule is scoped to
   :is(body.ledger-page,.workspace-ledger) and kept specific enough to stay predictable under those layers. */
:is(body.ledger-page,.workspace-ledger){--ink:#16202b;--sub:#5a6675;--line:#e1e6ec;--soft:#f6f8fa;--accent:#0071e3;--review-bg:#fff4dd;--review-ink:#8a5200;--ok-bg:#e4f4ec;--ok-ink:#0b6247;--info-bg:#edf1f6;--info-ink:#455365;--bad-bg:#fdecea;--bad-ink:#a8281f;margin:0;background:#f3f5f8;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Segoe UI",sans-serif;line-height:1.55;-webkit-text-size-adjust:100%;word-break:keep-all;overflow-wrap:anywhere}
:is(body.ledger-page,.workspace-ledger) *{box-sizing:border-box}
:is(body.ledger-page,.workspace-ledger) [hidden]{display:none!important}
:is(body.ledger-page,.workspace-ledger) main{max-width:1200px;margin:0 auto;padding:28px 24px calc(72px + env(safe-area-inset-bottom))}
:is(body.ledger-page,.workspace-ledger) a{color:#0b5cab;text-decoration:none}
:is(body.ledger-page,.workspace-ledger) .num{font-variant-numeric:tabular-nums;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .r{text-align:right}
:is(body.ledger-page,.workspace-ledger) .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .skip{position:absolute;left:-999px;top:8px;z-index:100;background:#fff;padding:10px 14px;border-radius:8px}
:is(body.ledger-page,.workspace-ledger) .skip:focus{left:12px}
:is(body.ledger-page,.workspace-ledger) :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #2f7de1;outline-offset:2px}
:is(body.ledger-page,.workspace-ledger) .lg-legacy{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;font-size:13px;color:var(--sub);background:#fff;border-bottom:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .lg-legacy nav{display:flex;gap:16px;flex-wrap:wrap}
:is(body.ledger-page,.workspace-ledger) .lg-legacy .party-brand{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
:is(body.ledger-page,.workspace-ledger)[data-unified-tools="true"] .lg-legacy{display:none}
/* Page head and building switch */
:is(body.ledger-page,.workspace-ledger) .lg-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;margin:4px 0 12px}
:is(body.ledger-page,.workspace-ledger) .lg-head h1{margin:0;font-size:28px;line-height:1.3;letter-spacing:-.6px}
:is(body.ledger-page,.workspace-ledger) .lg-head p{margin:6px 0 0;color:var(--sub);font-size:14px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-switch{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
:is(body.ledger-page,.workspace-ledger) .lg-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:13px;background:#e4e9ef;max-width:100%;overflow-x:auto}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button{border:0;border-radius:10px;background:transparent;color:#3a4756;font:inherit;font-size:14px;font-weight:600;padding:8px 18px;cursor:pointer;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #16202b24}
:is(body.ledger-page,.workspace-ledger) .lg-select{display:grid;gap:4px;font-size:12px;color:var(--sub);font-weight:600;min-width:180px}
:is(body.ledger-page,.workspace-ledger) .lg-status{margin:0 0 14px;font-size:13px;color:var(--sub);line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-status:empty{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=error]{padding:12px 14px;border-radius:10px;background:var(--bad-bg);color:var(--bad-ink);font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=done]{padding:12px 14px;border-radius:10px;background:var(--ok-bg);color:var(--ok-ink);font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-links{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
:is(body.ledger-page,.workspace-ledger) .lg-links a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #d3dae2;border-radius:10px;background:#fff;color:#27425e;font-size:13.5px;font-weight:600}
:is(body.ledger-page,.workspace-ledger) .lg-links a:hover{background:#f1f5f9}
/* Buttons, chips and badges */
:is(body.ledger-page,.workspace-ledger) .lg-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #cfd6de;border-radius:10px;background:#fff;color:#22313f;font:inherit;font-size:14px;font-weight:600;padding:9px 16px;cursor:pointer;margin:0}
:is(body.ledger-page,.workspace-ledger) .lg-button:hover{background:#f3f6f9}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary{background:var(--accent);border-color:var(--accent);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary:hover{background:#0064c8;border-color:#0064c8}
:is(body.ledger-page,.workspace-ledger) .lg-button:disabled{opacity:.55;cursor:wait}
:is(body.ledger-page,.workspace-ledger):not([data-urban]) .lg-button.is-small.is-small.is-small{min-height:36px;padding:6px 12px;font-size:13px}
:is(body.ledger-page,.workspace-ledger) .lg-chips{display:flex;gap:8px;flex-wrap:wrap}
:is(body.ledger-page,.workspace-ledger) .lg-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:1px solid #cfd6de;border-radius:999px;background:#fff;color:#334152;font:inherit;font-size:13px;font-weight:500;padding:6px 14px;cursor:pointer;white-space:nowrap;margin:0}
:is(body.ledger-page,.workspace-ledger):not([data-urban]) .lg-chips>.lg-chip.lg-chip.lg-chip{min-height:36px}
:is(body.ledger-page,.workspace-ledger) .lg-chip b{font-weight:600;color:var(--sub);font-variant-numeric:tabular-nums}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true] b{color:#c9d2dc}
:is(body.ledger-page,.workspace-ledger) .lg-badge{display:inline-flex;align-items:center;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600;line-height:1.6;white-space:nowrap;vertical-align:middle}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-review{background:var(--review-bg);color:var(--review-ink)}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-ok{background:var(--ok-bg);color:var(--ok-ink)}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-info{background:var(--info-bg);color:var(--info-ink)}
:is(body.ledger-page,.workspace-ledger) .lg-badge.is-bad{background:var(--bad-bg);color:var(--bad-ink)}
/* Banner, tiles and cards */
:is(body.ledger-page,.workspace-ledger) .lg-banner{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:14px;background:var(--review-bg);border:1px solid #f1dcae;color:#5a3a05;margin:0 0 16px;font-size:14px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-banner strong{display:block;font-size:15.5px;color:#5a3a05}
:is(body.ledger-page,.workspace-ledger) .lg-banner p{margin:4px 0 0;font-size:13.5px;line-height:1.65;color:#6b4a12}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok{background:var(--ok-bg);border-color:#bfe2d1;color:#0b4a37}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok :is(strong,p){color:#0b4a37}
:is(body.ledger-page,.workspace-ledger) .lg-banner-mark{flex:0 0 26px;height:26px;border-radius:50%;background:#efc160;color:#5a3a05;display:grid;place-items:center;font-weight:800;font-size:15px}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok .lg-banner-mark{background:#8fd0b3;color:#0b4a37}
:is(body.ledger-page,.workspace-ledger) .lg-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px;padding:0;border:0}
:is(body.ledger-page,.workspace-ledger) .lg-tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 18px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .lg-tile span{display:block;font-size:12.5px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .lg-tile strong{display:block;margin-top:6px;font-size:24px;line-height:1.25;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
:is(body.ledger-page,.workspace-ledger) .lg-tile small{display:block;margin-top:4px;color:var(--sub);font-size:12px;line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile{padding:12px 14px;background:var(--soft)}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile strong{font-size:19px}
:is(body.ledger-page,.workspace-ledger) .lg-card{background:#fff;border:1px solid var(--line);border-radius:16px;margin:0 0 16px;padding:0;overflow:hidden}
:is(body.ledger-page,.workspace-ledger) .lg-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 16px;flex-wrap:wrap;padding:18px 20px 12px}
:is(body.ledger-page,.workspace-ledger) .lg-card-head h2{margin:0;font-size:17px;line-height:1.4}
:is(body.ledger-page,.workspace-ledger) .lg-card-head p{margin:4px 0 0;font-size:13px;color:var(--sub);line-height:1.6;max-width:760px}
:is(body.ledger-page,.workspace-ledger) .lg-tools{display:flex;gap:10px 12px;flex-wrap:wrap;align-items:center;padding:0 20px 14px}
:is(body.ledger-page,.workspace-ledger) .lg-search{flex:1 1 240px;max-width:360px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .lg-search input{width:100%;border:1px solid #cfd6de;border-radius:10px;padding:10px 12px;font:inherit;background:#fff;color:var(--ink)}
:is(body.ledger-page,.workspace-ledger) .lg-sort select{min-width:150px}
:is(body.ledger-page,.workspace-ledger) .lg-check{display:inline-flex;gap:8px;align-items:center;font-size:14px;color:#334152}
:is(body.ledger-page,.workspace-ledger) .lg-empty{margin:0;padding:22px 20px;color:var(--sub);font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-note{margin:10px 0;font-size:13px;line-height:1.65;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-count,:is(body.ledger-page,.workspace-ledger) .lg-foot{padding:0 20px;margin:0 0 10px}
:is(body.ledger-page,.workspace-ledger) .lg-foot{margin:12px 0 16px}
/* Foldable cards */
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px 20px;min-height:56px;font-size:16px;font-weight:700}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary::-webkit-details-marker{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary small{font-size:13px;font-weight:500;color:var(--sub);margin-left:auto}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary::after{content:"";flex:0 0 9px;height:9px;border-right:2px solid #8793a1;border-bottom:2px solid #8793a1;transform:rotate(45deg);margin:0 4px 4px 0}
:is(body.ledger-page,.workspace-ledger) .lg-fold[open]>summary::after{transform:rotate(-135deg);margin:4px 4px 0 0}
:is(body.ledger-page,.workspace-ledger) .lg-fold[open]>summary{border-bottom:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .lg-fold-body{padding:16px 20px 20px}
/* Rows shared by both lists: a table on wide screens, cards on phones */
/* The grid lives on an inner wrapper: Safari has had layout bugs with a grid directly on <summary>. */
:is(body.ledger-page,.workspace-ledger) .lg-thead,:is(body.ledger-page,.workspace-ledger) .lg-row>summary>.lg-sum{display:grid;grid-template-columns:var(--cols);gap:12px;align-items:center;padding:0 20px}
:is(body.ledger-page,.workspace-ledger) .lg-thead{min-height:40px;background:#f7f9fb;border-block:1px solid var(--line);font-size:12px;font-weight:600;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-row{border-bottom:1px solid var(--line);min-width:0}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary{display:block;list-style:none;cursor:pointer;min-height:0;padding:0;font-size:14px;font-weight:400}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary>.lg-sum{min-height:58px;padding-block:8px}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary::-webkit-details-marker{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary:hover{background:#f8fafc}
:is(body.ledger-page,.workspace-ledger) .lg-row[open]>summary{background:#f1f5f9}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-id,:is(body.ledger-page,.workspace-ledger) .lg-row .c-meta{display:contents}
:is(body.ledger-page,.workspace-ledger) .lg-row .unit{font-weight:700;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .lg-row .who{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(body.ledger-page,.workspace-ledger) .lg-row summary .who small{display:block;font-size:12px;color:var(--sub);line-height:1.4;overflow:hidden;text-overflow:ellipsis}
:is(body.ledger-page,.workspace-ledger) .lg-row summary .c-meta small{display:none}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-status{display:flex;gap:4px;flex-wrap:wrap}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-amount b{font-weight:700}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-count{color:var(--sub);font-size:13px}
:is(body.ledger-page,.workspace-ledger) .lg-row .chev{width:9px;height:9px;border-right:2px solid #8793a1;border-bottom:2px solid #8793a1;transform:rotate(45deg);justify-self:end;margin-bottom:4px}
:is(body.ledger-page,.workspace-ledger) .lg-row[open]>summary .chev{transform:rotate(-135deg);margin:4px 0 0}
:is(body.ledger-page,.workspace-ledger) .lg-detail{padding:6px 20px 22px;background:#fbfcfd;border-top:1px solid var(--line)}
:is(body.ledger-page,.workspace-ledger) .cutoff-list{--cols:76px minmax(96px,1.2fr) 92px repeat(4,minmax(92px,1fr)) 48px 14px}
:is(body.ledger-page,.workspace-ledger) .cutoff-list [data-cutoff-rows]>.lg-row:last-child{border-bottom:0}
/* One unit: calculation, month and item lines, deposits, open points */
:is(body.ledger-page,.workspace-ledger) .cutoff-unit h4{margin:20px 0 8px;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-state{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0 8px;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-reasons{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
:is(body.ledger-page,.workspace-ledger) .cu-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px}
:is(body.ledger-page,.workspace-ledger) .cu-flow>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;min-width:0}
:is(body.ledger-page,.workspace-ledger) .cu-flow span{display:block;font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .cu-flow b{display:block;margin-top:3px;font-size:17px;line-height:1.35}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-result{background:var(--review-bg);border-color:#f1dcae}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-result span{color:var(--review-ink)}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-ok{background:var(--ok-bg);border-color:#bfe2d1}
:is(body.ledger-page,.workspace-ledger) .cu-facts{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;font-size:13px;color:var(--sub);line-height:1.7}
:is(body.ledger-page,.workspace-ledger) .cu-facts b{color:var(--ink);font-weight:600}
:is(body.ledger-page,.workspace-ledger) .cu-lines{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
:is(body.ledger-page,.workspace-ledger) .cu-line{display:grid;grid-template-columns:minmax(150px,1.6fr) repeat(3,minmax(88px,1fr)) minmax(120px,1.1fr);gap:12px;align-items:center;padding:10px 14px;border-top:1px solid #edf0f3;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .cu-line:first-child{border-top:0}
:is(body.ledger-page,.workspace-ledger) .cu-line-head{background:#f7f9fb;font-size:12px;font-weight:600;color:var(--sub);padding-block:8px}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub{display:contents}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub>span,:is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain,:is(body.ledger-page,.workspace-ledger) .cu-line-head>span:nth-child(3){text-align:right}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub small{display:none}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-what small{display:block;font-size:12px;color:var(--sub);line-height:1.5;margin-top:1px}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain{font-weight:700}
:is(body.ledger-page,.workspace-ledger) .cu-line.is-missing .cu-remain{color:var(--sub);font-weight:600}
:is(body.ledger-page,.workspace-ledger) .cu-pays,:is(body.ledger-page,.workspace-ledger) .cu-issues{list-style:none;margin:0;padding:0;display:grid;gap:8px}
:is(body.ledger-page,.workspace-ledger) .cu-pays li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .cu-pays li>div{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
:is(body.ledger-page,.workspace-ledger) .cu-pays p{margin:4px 0 0;color:#334152;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .cu-pays li small{display:block;margin-top:2px;font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .cu-issues li{position:relative;padding:10px 14px 10px 16px;background:#fff;border:1px solid var(--line);border-left:3px solid #e2a93b;border-radius:10px;font-size:13.5px;line-height:1.65;margin:0}
:is(body.ledger-page,.workspace-ledger) .cu-more{margin:14px 0 0;border:1px solid var(--line);border-radius:12px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .cu-more>summary{cursor:pointer;padding:11px 14px;min-height:44px;font-size:13.5px;font-weight:600;color:#27425e}
:is(body.ledger-page,.workspace-ledger) .cu-more>article{display:grid;gap:3px;padding:10px 14px;border-top:1px solid #edf0f3;font-size:13.5px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .cu-more>article small{font-size:12px;color:var(--sub)}
/* Bank observations */
:is(body.ledger-page,.workspace-ledger) .bank-range{margin:0 0 12px;font-size:13px;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .bank-panel .lg-chips{margin:14px 0 10px}
:is(body.ledger-page,.workspace-ledger) .bank-rows{max-height:520px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .bank-row{display:grid;grid-template-columns:92px 110px 96px minmax(110px,1fr) auto;gap:4px 12px;align-items:center;padding:10px 14px;border-top:1px solid #edf0f3;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .bank-row:first-child{border-top:0}
:is(body.ledger-page,.workspace-ledger) .bank-row .bank-memo{min-width:0;overflow:hidden;text-overflow:ellipsis}
:is(body.ledger-page,.workspace-ledger) .bank-row small{grid-column:1/-1;font-size:12px;color:var(--sub);line-height:1.5}
:is(body.ledger-page,.workspace-ledger) .bank-integrity{margin:12px 0 0}
/* Dialogs */
:is(body.ledger-page,.workspace-ledger) .lg-dialog{width:min(640px,calc(100% - 24px));max-height:min(88dvh,var(--rental-visible-height,88vh));padding:22px 24px 24px;border:1px solid var(--line);border-radius:18px;color:var(--ink);overflow:auto}
:is(body.ledger-page,.workspace-ledger) .lg-dialog::backdrop{background:#16202b66}
:is(body.ledger-page,.workspace-ledger) .lg-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px}
:is(body.ledger-page,.workspace-ledger) .lg-dialog-head h2{margin:0;font-size:19px;line-height:1.4}
:is(body.ledger-page,.workspace-ledger) .lg-dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px 14px;margin:14px 0 0;font-size:14px;line-height:1.6}
:is(body.ledger-page,.workspace-ledger) .lg-dl dt{color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-dl dd{margin:0;white-space:pre-wrap}
:is(body.ledger-page,.workspace-ledger) .lg-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
:is(body.ledger-page,.workspace-ledger) .lg-form-error{margin:0;padding:10px 12px;border-radius:10px;background:var(--bad-bg);color:var(--bad-ink);font-size:13.5px}
@media(max-width:860px){
 :is(body.ledger-page,.workspace-ledger) main{padding:20px 14px calc(88px + env(safe-area-inset-bottom))}
 :is(body.ledger-page,.workspace-ledger) .lg-head h1{font-size:24px}
 :is(body.ledger-page,.workspace-ledger) .lg-switch,:is(body.ledger-page,.workspace-ledger) .lg-tabs{width:100%}
 :is(body.ledger-page,.workspace-ledger) .lg-tabs button{flex:1}
 :is(body.ledger-page,.workspace-ledger) .lg-select{flex:1}
 :is(body.ledger-page,.workspace-ledger) .lg-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 :is(body.ledger-page,.workspace-ledger) .lg-tile{padding:12px 14px}
 :is(body.ledger-page,.workspace-ledger) .lg-tile strong{font-size:21px}
 :is(body.ledger-page,.workspace-ledger) .lg-card-head{padding:16px 16px 10px}
 :is(body.ledger-page,.workspace-ledger) .lg-tools{padding:0 16px 12px}
 :is(body.ledger-page,.workspace-ledger) .lg-search{max-width:none;flex-basis:100%}
 :is(body.ledger-page,.workspace-ledger) .lg-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 :is(body.ledger-page,.workspace-ledger) .lg-chips::-webkit-scrollbar{display:none}
 :is(body.ledger-page,.workspace-ledger) .lg-tools .lg-chips{flex-basis:calc(100% + 32px)}
 :is(body.ledger-page,.workspace-ledger) .lg-count,:is(body.ledger-page,.workspace-ledger) .lg-foot{padding:0 16px}
 :is(body.ledger-page,.workspace-ledger) .lg-fold>summary{padding:14px 16px}
 :is(body.ledger-page,.workspace-ledger) .lg-fold>summary small{font-size:12px;text-align:right}
 :is(body.ledger-page,.workspace-ledger) .lg-fold-body{padding:14px 16px 18px}
 :is(body.ledger-page,.workspace-ledger) .lg-thead{display:none}
 :is(body.ledger-page,.workspace-ledger) .lg-row>summary>.lg-sum{grid-template-columns:minmax(0,1fr) auto 12px;grid-template-areas:"id amount chev" "status status chev" "meta meta meta";gap:4px 10px;padding:12px 16px;min-height:0}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-id{display:flex;gap:8px;align-items:baseline;grid-area:id;min-width:0}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-amount{grid-area:amount;font-size:15px}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-status{grid-area:status}
 :is(body.ledger-page,.workspace-ledger) .lg-row .chev{grid-area:chev;align-self:center}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-meta{display:flex;flex-wrap:wrap;gap:2px 14px;grid-area:meta;font-size:12.5px;color:var(--sub)}
 :is(body.ledger-page,.workspace-ledger) .lg-row summary .c-meta small{display:inline;font-size:12.5px}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-meta .r{text-align:left}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-count{display:none}
 :is(body.ledger-page,.workspace-ledger) .lg-detail{padding:4px 14px 18px}
 :is(body.ledger-page,.workspace-ledger) .cu-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(body.ledger-page,.workspace-ledger) .cu-line-head{display:none}
 :is(body.ledger-page,.workspace-ledger) .cu-line{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"what remain" "sub due";gap:4px 12px;padding:10px 12px}
 :is(body.ledger-page,.workspace-ledger) .cu-line:nth-child(2){border-top:0}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-what{grid-area:what}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain{grid-area:remain}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub{display:flex;flex-wrap:wrap;gap:0 10px;grid-area:sub;font-size:12.5px;color:var(--sub)}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub>span{text-align:left}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-sub small{display:inline;font-size:12.5px}
 :is(body.ledger-page,.workspace-ledger) .cu-line .cu-due{grid-area:due;justify-self:end}
 :is(body.ledger-page,.workspace-ledger) .bank-row{grid-template-columns:auto 1fr;gap:2px 10px}
 :is(body.ledger-page,.workspace-ledger) .bank-row>span{grid-column:1/-1}
 :is(body.ledger-page,.workspace-ledger) .lg-dialog{padding:18px 16px 20px;border-radius:16px}
 :is(body.ledger-page,.workspace-ledger) .lg-dl{grid-template-columns:88px minmax(0,1fr)}
 :is(body.ledger-page,.workspace-ledger) .lg-links a{flex:1 1 calc(50% - 8px);justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:no-preference){:is(body.ledger-page,.workspace-ledger) .lg-row .chev,:is(body.ledger-page,.workspace-ledger) .lg-fold>summary::after{transition:transform .15s}}

/* Apple-style pass for the ledger screens: grey canvas, white borderless cards, capsule controls,
   segmented building switch, grouped insets. Status always carries a word or a mark, never colour alone. */
:is(body.ledger-page,.workspace-ledger){--ink:#1d1d1f;--sub:#6e6e73;--line:#e5e5ea;--soft:#f5f5f7;--accent:#0071e3;--review-bg:#fff4e0;--review-ink:#b25000;--ok-bg:#e3f5e8;--ok-ink:#248a3d;--info-bg:#f0f0f3;--info-ink:#515154;--bad-bg:#ffe9eb;--bad-ink:#d70015;background:#f5f5f7;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
:is(body.ledger-page,.workspace-ledger) a{color:#0066cc}
:is(body.ledger-page,.workspace-ledger) .lg-head{margin:10px 0 14px}
:is(body.ledger-page,.workspace-ledger) .lg-head h1{font-size:34px;font-weight:700;letter-spacing:-.022em;line-height:1.15}
:is(body.ledger-page,.workspace-ledger) .lg-head p{font-size:17px;color:var(--sub);letter-spacing:-.015em}
:is(body.ledger-page,.workspace-ledger) .lg-tabs{padding:2px;border-radius:10px;background:rgba(118,118,128,.14)}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button{border-radius:8px;font-size:14px;font-weight:500;color:var(--ink);padding:6px 18px}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button[aria-pressed=true]{font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px rgba(0,0,0,.04)}
:is(body.ledger-page,.workspace-ledger) .lg-links{gap:4px 22px;margin:0 0 18px}
:is(body.ledger-page,.workspace-ledger) .lg-links a{min-height:32px;padding:0;border:0;border-radius:0;background:none;color:#0066cc;font-size:15px;font-weight:400}
:is(body.ledger-page,.workspace-ledger) .lg-links a:hover{background:none;text-decoration:underline}
:is(body.ledger-page,.workspace-ledger) .lg-button{border:0;border-radius:980px;background:#e8e8ed;color:var(--ink);font-size:15px;font-weight:500;padding:10px 20px;transition:transform .175s cubic-bezier(.25,1,.5,1)}
:is(body.ledger-page,.workspace-ledger) .lg-button:hover{background:#dedee3}
:is(body.ledger-page,.workspace-ledger) .lg-button:active{transform:scale(.98)}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary{background:var(--accent);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-button.is-primary:hover{background:#0077ed}
:is(body.ledger-page,.workspace-ledger) .lg-chip{border:0;background:#e8e8ed;color:var(--ink);font-size:14px;font-weight:400;padding:7px 14px}
:is(body.ledger-page,.workspace-ledger) .lg-chip b{color:var(--sub);font-weight:500}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true]{background:var(--ink);color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-chip[aria-pressed=true] b{color:#d2d2d7}
:is(body.ledger-page,.workspace-ledger) .lg-badge{font-weight:500;padding:2px 10px}
:is(body.ledger-page,.workspace-ledger) .lg-banner{border:0;border-radius:18px;padding:18px 20px;background:var(--review-bg);color:var(--ink)}
:is(body.ledger-page,.workspace-ledger) .lg-banner strong{color:var(--ink);font-size:17px;font-weight:600;letter-spacing:-.015em}
:is(body.ledger-page,.workspace-ledger) .lg-banner p{color:#424245;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-banner-mark{background:#ff9f0a;color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-banner.is-ok .lg-banner-mark{background:#30b350;color:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-tile{border:0;border-radius:18px;padding:18px 20px}
:is(body.ledger-page,.workspace-ledger) .lg-tile span{font-size:13px}
:is(body.ledger-page,.workspace-ledger) .lg-tile strong{font-size:28px;font-weight:600;letter-spacing:-.02em}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile{border-radius:14px;background:#f5f5f7}
:is(body.ledger-page,.workspace-ledger) .lg-tiles.is-small .lg-tile strong{font-size:20px}
:is(body.ledger-page,.workspace-ledger) .lg-card{border:0;border-radius:18px}
:is(body.ledger-page,.workspace-ledger) .lg-card-head h2{font-size:21px;font-weight:600;letter-spacing:-.018em}
:is(body.ledger-page,.workspace-ledger) .lg-card-head p{font-size:14px}
:is(body.ledger-page,.workspace-ledger) .lg-fold>summary{font-size:19px;font-weight:600;letter-spacing:-.018em}
:is(body.ledger-page,.workspace-ledger) .lg-search input{border:0;border-radius:10px;background:rgba(118,118,128,.12);padding:10px 14px}
:is(body.ledger-page,.workspace-ledger) .lg-search input:focus{box-shadow:0 0 0 4px rgba(0,113,227,.16);background:#fff}
:is(body.ledger-page,.workspace-ledger) .lg-thead{background:none;border-top:0;font-weight:500;color:var(--sub)}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary{font-size:15px}
:is(body.ledger-page,.workspace-ledger) .lg-row>summary:hover{background:rgba(0,0,0,.025)}
:is(body.ledger-page,.workspace-ledger) .lg-row[open]>summary{background:#f5f5f7}
:is(body.ledger-page,.workspace-ledger) .lg-row .unit{font-weight:600}
:is(body.ledger-page,.workspace-ledger) .lg-row .c-amount b{font-weight:600}
:is(body.ledger-page,.workspace-ledger) .lg-detail{background:#f5f5f7;border-top:0}
:is(body.ledger-page,.workspace-ledger) .cutoff-unit h4{font-size:15px;font-weight:600;margin:22px 0 8px}
:is(body.ledger-page,.workspace-ledger) .cu-flow>div,:is(body.ledger-page,.workspace-ledger) .tp-facts>div{border:0;border-radius:14px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .cu-flow b{font-size:19px;font-weight:600;letter-spacing:-.015em}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-result{background:var(--review-bg)}
:is(body.ledger-page,.workspace-ledger) .cu-flow .is-ok{background:var(--ok-bg)}
:is(body.ledger-page,.workspace-ledger) .cu-lines,:is(body.ledger-page,.workspace-ledger) .cu-more{border:0;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .cu-line{border-top-color:#f0f0f3;font-size:14px}
:is(body.ledger-page,.workspace-ledger) .cu-line-head{background:none;border-bottom:1px solid #f0f0f3}
:is(body.ledger-page,.workspace-ledger) .cu-line .cu-remain{font-weight:600}
:is(body.ledger-page,.workspace-ledger) .cu-pays li{border:0;border-radius:14px}
/* No coloured stripe on a rounded card: the note carries a mark and its own words. */
:is(body.ledger-page,.workspace-ledger) .cu-issues li{border:0;border-radius:14px;padding:12px 16px 12px 44px}
:is(body.ledger-page,.workspace-ledger) .cu-issues li::before{content:"!";position:absolute;left:14px;top:13px;width:20px;height:20px;border-radius:50%;background:#ff9f0a;color:#fff;font-size:13px;font-weight:700;line-height:20px;text-align:center}
:is(body.ledger-page,.workspace-ledger) .bank-rows{border:0;background:#f5f5f7;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .bank-row{border-top-color:#e5e5ea}
:is(body.ledger-page,.workspace-ledger) .table-wrap{border:0;background:#f5f5f7;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .table-wrap th{background:none}
:is(body.ledger-page,.workspace-ledger) .arrears-card{border:0;background:#f5f5f7;border-radius:14px}
:is(body.ledger-page,.workspace-ledger) .lg-dialog{border:0;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.22)}
:is(body.ledger-page,.workspace-ledger) .lg-dialog-head h2{font-size:21px;font-weight:600;letter-spacing:-.018em}
:is(body.ledger-page,.workspace-ledger) .roster-form :is(input,select,textarea){border:1px solid #d2d2d7;border-radius:12px}
:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=error],:is(body.ledger-page,.workspace-ledger) .lg-status[data-state=done],:is(body.ledger-page,.workspace-ledger) .lg-form-error{border-radius:14px}
@media(max-width:860px){
 :is(body.ledger-page,.workspace-ledger) .lg-head h1{font-size:28px}
 :is(body.ledger-page,.workspace-ledger) .lg-head p{font-size:15px}
 :is(body.ledger-page,.workspace-ledger) .lg-tabs button{padding:8px 12px}
 :is(body.ledger-page,.workspace-ledger) .lg-links a{flex:0 0 auto;justify-content:flex-start}
 :is(body.ledger-page,.workspace-ledger) .lg-tile strong{font-size:24px}
 :is(body.ledger-page,.workspace-ledger) .lg-row .c-amount{font-size:17px}
 :is(body.ledger-page,.workspace-ledger) .lg-row>summary{font-size:16px}
}

/* Keep property choices readable at every width, including long building names. */
:is(body.ledger-page,.workspace-ledger) .lg-switch{min-width:0;max-width:100%}
:is(body.ledger-page,.workspace-ledger) .lg-tabs button{flex:0 0 auto;min-height:44px}
:is(body.ledger-page,.workspace-ledger) .lg-select[data-property-select]{min-width:0;max-width:100%;width:100%}
:is(body.ledger-page,.workspace-ledger) .lg-select[data-property-select] select{width:100%;min-width:0;max-width:100%;min-height:48px;font-size:16px}
:is(body.ledger-page,.workspace-ledger) .lg-links a{min-height:44px}
@media(min-width:861px){:is(body.ledger-page,.workspace-ledger) .lg-switch:has(.lg-tabs:not([hidden])) [data-property-select]{display:none}}
@media(max-width:860px){:is(body.ledger-page,.workspace-ledger) .lg-tabs{display:none}:is(body.ledger-page,.workspace-ledger) .lg-switch [data-property-select]{display:grid}}

/* Historical bank navigation keeps partial coverage and unmatched company money visible. */
.bank-controls{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.bank-controls label,.bank-search-label{display:grid;gap:8px;font-size:13px;color:var(--muted,#5d6471)}:is(body.ledger-page,.workspace-ledger) .bank-controls select{min-height:44px;min-width:140px;background:var(--surface,#fff);color:inherit}.bank-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 28px}.bank-month{min-width:0;text-align:left;font:inherit;color:var(--text,#202124);background:var(--surface,#fff);border:1px solid var(--border,#dce0e6);border-radius:14px;padding:16px;cursor:pointer}.bank-month[aria-pressed="true"]{border-color:#1670d2;box-shadow:0 0 0 1px #1670d2}.bank-month:focus-visible{outline:3px solid #1670d2;outline-offset:3px}.bank-month>strong{display:block;font-size:18px;margin-bottom:6px}.bank-month>small{display:block;color:var(--muted,#5d6471);margin-bottom:14px}.bank-month>span{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:1.8}.bank-month b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}.bank-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.bank-detail-heading h4{margin:0;font-size:18px}.bank-search-label{margin-top:20px;max-width:420px}.bank-search{min-height:44px;border:1px solid var(--border,#dce0e6);border-radius:10px;padding:10px 14px;background:var(--surface,#fff);color:var(--text,#202124)}.bank-sources{margin-top:24px;padding-top:18px;border-top:1px solid var(--border,#dce0e6)}.bank-sources>summary{cursor:pointer;min-height:44px;overflow-wrap:anywhere}.bank-more{margin-top:16px;min-height:44px}.bank-coverage-note{line-height:1.7}.bank-row small{overflow-wrap:anywhere}
@media(max-width:700px){.bank-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bank-month{padding:12px}.bank-month>span{display:flex;line-height:1.7;margin-top:6px;font-size:11px;gap:4px}.bank-month b{font-size:12px}.bank-month>small{font-size:11px}.bank-controls{gap:12px}.bank-controls label{flex:1;min-width:0}:is(body.ledger-page,.workspace-ledger) .bank-controls select{width:100%;min-width:0}.bank-detail-heading{align-items:flex-start;flex-direction:column}.bank-search-label{max-width:none}.bank-sources p{overflow-wrap:anywhere}}

.cu-evidence{border:1px solid #c9d8e9;background:#f5f8fc;border-radius:16px;padding:18px;margin:22px 0;color:#22344b}.cu-evidence h4{margin:0 0 12px}.cu-evidence p{margin:8px 0;line-height:1.7;font-size:14px}.cu-evidence small{display:block;overflow-wrap:anywhere;color:#526276;font-size:12px}

/* Historical snapshot section of the reconciliation page. */
:is(body.ledger-page,.workspace-ledger) .table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
:is(body.ledger-page,.workspace-ledger) .table-wrap table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:13.5px}
:is(body.ledger-page,.workspace-ledger) .table-wrap :is(td,th){text-align:left;padding:11px 12px;border-bottom:1px solid #edf0f3}
:is(body.ledger-page,.workspace-ledger) .table-wrap th{background:#f7f9fb;color:var(--sub);font-weight:600;font-size:12px}
:is(body.ledger-page,.workspace-ledger) .table-wrap :is(td,th).r{text-align:right}
:is(body.ledger-page,.workspace-ledger) .table-wrap tr:last-child td{border-bottom:0}
:is(body.ledger-page,.workspace-ledger) .table-wrap td.unit{font-weight:700}
:is(body.ledger-page,.workspace-ledger) .arrears{color:var(--bad-ink);font-weight:700}
:is(body.ledger-page,.workspace-ledger) .ar-filters{padding:0;margin:0 0 4px}
:is(body.ledger-page,.workspace-ledger) .ar-notes p{margin:8px 0 0;font-size:13px;color:var(--sub);line-height:1.65}
:is(body.ledger-page,.workspace-ledger) .mobile-arrears{display:none}
:is(body.ledger-page,.workspace-ledger) .arrears-card{padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px}
:is(body.ledger-page,.workspace-ledger) .arrears-card-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:15px}
:is(body.ledger-page,.workspace-ledger) .arrears-card p{margin:4px 0 10px;font-size:13px;color:var(--sub)}
@media(max-width:860px){:is(body.ledger-page,.workspace-ledger) .table-wrap{display:none}:is(body.ledger-page,.workspace-ledger) .mobile-arrears{display:grid;gap:8px}}

/* One management workspace, across the dashboard and detailed ledgers. */
body[data-management-frame],body[data-management-home="true"]{--workspace-sidebar:216px;--workspace-line:#e2e6eb;--workspace-muted:#5c6674;--workspace-ink:#202a36;background:#f5f6f8;color:var(--workspace-ink)}
.workspace-side{position:fixed;inset:0 auto 0 0;width:216px;z-index:75;padding:24px 16px;background:#fbfcfd;border-right:1px solid #e2e6eb;box-sizing:border-box}
.workspace-brand{display:flex;gap:10px;align-items:center;font-size:17px;font-weight:750;color:#202a36;text-decoration:none;min-height:44px}
.workspace-side>p{margin:36px 12px 12px;font-size:12px;color:#5c6674}
.workspace-side nav{display:grid;gap:6px}
.workspace-side nav a{display:flex;align-items:center;gap:12px;padding:12px;min-height:48px;border-radius:10px;color:#4a5664;text-decoration:none;font-size:14px;box-sizing:border-box}
.workspace-side nav svg,.workspace-bottom svg{width:21px;height:21px;flex:0 0 21px}
.workspace-side nav a[aria-current=page]{background:#e7eef9;color:#174d8e;font-weight:700}
.workspace-side nav a:hover{background:#eef2f7}
.workspace-other{position:absolute;bottom:28px;left:28px;font-size:13px;color:#526173;min-height:44px;display:flex;align-items:center}
.workspace-top{position:sticky;top:0;z-index:70;margin-left:216px;min-height:80px;padding:14px 32px;display:flex;align-items:center;gap:20px;background:#f5f6f8f5;border-bottom:1px solid #e2e6eb;box-sizing:border-box}
.workspace-breadcrumb{font-size:13px;color:#5c6674;flex:1}
.workspace-property{min-width:0}.workspace-property>label{display:block;font-size:0!important;min-width:0!important;margin:0}
body .workspace-property select{width:220px;max-width:100%;height:46px;min-height:46px;border:1px solid #d8dfe7;border-radius:10px;background:#fff;color:#202a36;padding:0 36px 0 14px;font:600 15px -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;margin:0}
.workspace-account{flex-shrink:0}.workspace-mobile-brand,.workspace-bottom{display:none}
.workspace-all,.mobile-work-link{display:none}
body[data-management-frame]>main{width:auto;max-width:1440px;margin:0 0 0 216px;padding:32px 40px 72px;box-sizing:border-box}
body[data-management-frame] :is(.lg-legacy,.unified-nav,#property-tabs){display:none!important}
body[data-management-frame] .lg-head{margin:0 0 24px;align-items:flex-start}
body[data-management-frame] .lg-head h1{font-size:28px}
body[data-management-frame] .lg-links{gap:10px;margin-bottom:24px}
body[data-management-frame] .lg-status{margin:10px 0 18px}
body[data-management-home="true"] .sidebar{width:216px;padding:24px 16px}
body[data-management-home="true"] .sidebar .menu a{padding:12px;min-height:48px;font-size:14px;border-radius:10px}
body[data-management-home="true"] .sidebar .menu a.active{background:#e7eef9;color:#174d8e}
body[data-management-home="true"] .main{max-width:1440px;padding:0 40px 64px;margin-left:216px;width:calc(100% - 216px)}
body[data-management-home="true"] .topbar{min-height:80px;margin-bottom:32px;padding:14px 0;gap:16px}
body[data-management-home="true"] #scope-select{min-width:180px;max-width:240px;width:220px;font-weight:600}
body[data-management-home="true"] .dashboard{display:grid;gap:24px}
.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
.workspace-heading h1{font-size:30px;line-height:1.3;letter-spacing:-.6px;margin:4px 0 8px}
.workspace-heading p{font-size:14px;color:#5c6674;margin:0;line-height:1.6}
.workspace-heading .eyebrow{font-size:12px;font-weight:600;margin:0}
.workspace-heading .button{flex-shrink:0;gap:8px}
.workspace-heading svg,.workspace-start svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.workspace-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body .workspace-metric{display:flex;flex-direction:column;gap:10px;min-width:0;padding:22px;background:#fff;border:1px solid #e2e6eb;border-radius:14px;text-decoration:none;color:#202a36}
.workspace-metric>span{font-size:13px;color:#526173}
.workspace-metric>strong{font-size:clamp(22px,2vw,30px);font-weight:700;letter-spacing:-.7px;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.workspace-metric em{font-style:normal;font-size:14px;margin-left:5px;font-weight:400;color:#5c6674}
.workspace-metric small{font-size:12px;line-height:1.6;color:#5c6674}
body .workspace-note{margin:0;padding:14px 18px;border-left:3px solid #88a5cb;background:#edf2f8;border-radius:0 10px 10px 0;font-size:13px;line-height:1.7;color:#41536b}
.workspace-note a{display:inline-block;margin-left:8px;color:#165ba6;min-height:24px}
.workspace-start{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.workspace-start>a{display:flex;align-items:center;gap:14px;padding:20px;background:#fff;border:1px solid #e2e6eb;border-radius:14px;color:#202a36;text-decoration:none}
.workspace-start>a>span{min-width:0;flex:1}.workspace-start b{display:block;font-size:16px}.workspace-start small{display:block;font-size:12px;line-height:1.6;color:#5c6674;margin-top:5px}
.workspace-news{border-top:1px solid #e2e6eb;padding:18px 0}.workspace-news summary{cursor:pointer;font-size:14px;font-weight:600;min-height:44px;display:flex;align-items:center}
body .management-dashboard .dashboard-grid{margin:0;gap:20px}
body .management-dashboard :is(.focus-panel,.manager-start){border:1px solid #e2e6eb;border-radius:14px}
body .management-dashboard .empty{min-height:84px;padding:24px 12px}
body.spaces-page main{padding-top:28px;max-width:1120px}
body.spaces-page h1{font-size:28px;margin:0 0 20px}
body.spaces-page .space-account{padding:16px 20px;min-height:0;margin:0 0 20px}
body.spaces-page .account-identity{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
body.spaces-page .account-identity span:first-child{display:none}
body.spaces-page .spaces-intro{margin:0 0 20px;font-size:14px;line-height:1.65}
body.spaces-page .spaces-toolbar{margin:0 0 16px;gap:16px;justify-content:flex-end}
body.spaces-page .spaces-tabs[hidden]{display:none}
body.spaces-page .space-card{padding:24px;border:1px solid #e2e6eb;border-radius:16px}
body.spaces-page .property-count{display:none}
body.spaces-page .space-card h3{margin-top:16px}
body.spaces-page .spaces-explainer{margin-top:24px;padding-top:24px}
/* Detailed reasons stay available, after the operational grouping. */
.cutoff-groups{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.cutoff-reasons{grid-column:1/-1}.cutoff-reasons summary{font-size:13px;cursor:pointer;color:#5c6674;min-height:44px;display:flex;align-items:center}
.cutoff-reasons .lg-chips{padding-bottom:12px}
body.ledger-page .cutoff-summary-note{padding:12px 16px;margin-bottom:18px;border:1px solid #d8e2ee;border-radius:10px;background:#edf2f8;color:#405570;font-size:13px;line-height:1.7}
body.ledger-page .cutoff-summary-note strong{color:inherit}
@media(min-width:1660px){body[data-management-frame]>main{margin-right:auto;margin-left:max(216px,calc((100vw - 1224px + 216px)/2));max-width:1224px}body[data-management-home="true"] .main{max-width:1300px;margin-right:auto;margin-left:auto}}
@media(max-width:1100px){.workspace-start{grid-template-columns:1fr}.workspace-start>a{padding:16px 20px}.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-management-frame]>main{padding:28px 24px 80px}body[data-management-home="true"] .main{padding:0 24px 80px}.workspace-top{padding:14px 24px}}
@media(max-width:760px){
 .workspace-side,.workspace-breadcrumb{display:none}.workspace-top{margin-left:0;padding:12px 16px;min-height:110px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 12px}
 .workspace-mobile-brand{display:block;color:#202a36;font-size:16px;font-weight:750;text-decoration:none}.workspace-account{grid-column:3;grid-row:1}.workspace-property{grid-column:1/-1;grid-row:2}
 :is(.workspace-all,.mobile-work-link){display:inline-flex;align-items:center;justify-content:center;padding:0 8px;min-height:44px;color:#315376;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap;border-radius:8px}
 .mobile-work-link{order:1}.mobile-work-link[aria-current=page]{background:#edf3fb;color:#155ba5}
 :is(.workspace-all,.mobile-work-link):focus-visible{outline:2px solid #155ba5;outline-offset:2px}
 body .workspace-property select{width:100%;height:44px;min-height:44px;font-size:15px}
 .workspace-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:75;background:#fffffffa;border-top:1px solid #dce2e9;padding:6px 6px calc(8px + env(safe-area-inset-bottom))}
 .workspace-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:48px;color:#626d7c;font-size:11px;text-decoration:none;border-radius:8px;white-space:nowrap}
 .workspace-bottom a[aria-current=page]{color:#155ba5;background:#edf3fb;font-weight:700}
 body[data-management-frame]>main{margin:0;padding:24px 16px calc(100px + env(safe-area-inset-bottom));width:100%;max-width:none}
 body[data-management-frame] .lg-head h1{font-size:24px;line-height:1.4}.workspace-heading h1{font-size:26px}
 body[data-management-home="true"] .sidebar{display:none}body[data-management-home="true"] .main{width:100%;margin:0;padding:0 16px calc(100px + env(safe-area-inset-bottom));max-width:none}
 body[data-management-home="true"] .topbar{display:flex;flex-wrap:wrap;padding:14px 0;gap:10px;min-height:110px;margin-bottom:24px}
 body[data-management-home="true"] .topbar .mobile-brand{display:flex;order:0;flex:1}
 body[data-management-home="true"] .topbar-right{display:contents}
 body[data-management-home="true"] .space-switch{order:1;margin:0;font-size:12px;min-height:44px}
 body[data-management-home="true"] .topbar :is(.work-search-trigger,.iconbtn){display:none}
 body[data-management-home="true"] #scope-select{order:2;flex-basis:100%;width:100%;max-width:100%;min-height:44px;margin:0}
 body[data-management-home="true"] .bottomnav a{font-size:11px;gap:5px;white-space:nowrap}
 body[data-management-home="true"] .bottomnav a.active{color:#155ba5;background:#edf3fb;border-radius:8px}
 body :is(.bottomnav,.workspace-bottom){background-color:#fff}
 .workspace-heading{align-items:flex-start;gap:12px}.workspace-heading .button{font-size:12px;padding:10px 12px}.workspace-heading .button svg{display:none}
 .workspace-metrics{gap:10px}.workspace-metric{padding:16px!important;gap:8px}.workspace-metric>strong{font-size:23px}.workspace-metric>span{font-size:12px}.workspace-metric small{font-size:11px}
 body .workspace-note{font-size:12px;padding:12px 14px}.workspace-start{gap:10px}
 body.spaces-page .space-account{padding:14px;gap:12px;flex-wrap:wrap}body.spaces-page .account-identity{gap:6px 10px}body.spaces-page .account-actions{gap:8px;display:flex}
 body.spaces-page .space-card{padding:20px}body.spaces-page .spaces-toolbar{margin-bottom:12px}.cutoff-groups{gap:6px}
 .rental-keyboard-open .workspace-bottom{display:none}
}
@media(prefers-reduced-motion:reduce){.workspace-start a,.workspace-metric{transition:none}}
@media(forced-colors:active){.workspace-side a[aria-current],.workspace-bottom a[aria-current]{outline:2px solid Highlight}}

/* The dashboard grid already reserves the sidebar column. */
body[data-management-home="true"] .layout{grid-template-columns:216px minmax(0,1fr)}
body[data-management-home="true"] .main{margin-left:0;margin-right:0;width:100%;max-width:1440px}
@media(max-width:760px){body[data-management-home="true"] .layout{display:block}.workspace-metric>strong{font-size:21px;white-space:nowrap}}

body[data-management-home="true"] #home-account{flex-shrink:0}
@media(max-width:760px){body[data-management-home="true"] #home-account{order:1}body[data-management-home="true"] .space-switch{display:none}body[data-management-home="true"] .topbar .mobile-brand{font-size:16px}}

.workspace-loading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.workspace-loading>div{height:142px;background:linear-gradient(105deg,#e8edf2,#f3f5f8);border:1px solid #e1e6ed;border-radius:14px}@media(max-width:760px){.workspace-loading{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:760px){
 /* Override the older dashboard's flex row so account and brand share one line. */
 :root body[data-management-home="true"] .layout .main>.topbar .topbar-right{display:contents!important}
 :root body[data-management-home="true"] .topbar .mobile-brand{width:auto;min-width:0;flex:1 1 0%}
}

/* Same navigation frame, content swaps without document reload. */
.workspace-ledger{padding:0!important;margin:26px 0!important;background:transparent!important;font-size:14px}
.workspace-ledger .lg-switch,.workspace-ledger .lg-legacy{display:none!important}
.workspace-ledger .lg-head{margin:0 0 20px}
.workspace-ledger .lg-head h1{font-size:28px}
body[data-management-home] .workspace-ledger .lg-links{gap:10px;margin:16px 0 22px}
body[data-management-home] .workspace-ledger .lg-links a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:white}
.workspace-ledger .lg-status{padding:12px 0;font-size:14px}
.workspace-ledger .lg-thead{font-size:12px}
@media(max-width:760px){.workspace-ledger{margin-top:20px!important}.workspace-ledger .lg-head h1{font-size:25px}body[data-management-home] .workspace-ledger .lg-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body[data-management-home] .workspace-ledger .lg-links a{font-size:13px;text-align:center;justify-content:center}.workspace-ledger .lg-tools input{font-size:16px!important}}
/* Answers lead with a compact table; long evidence stays one level deeper. */
:root .assistant .ai-answer{border:0;padding:0}
:root .assistant .ai-reply{font-size:16px;line-height:1.75;color:#253342;margin:16px 0}
:root .assistant .ai-reply p{margin:0 0 12px}
:root .assistant .ai-asof{font-size:12px;color:#657280;margin:12px 0 20px}
:root .assistant .ai-sources>summary,:root .assistant .ai-notes>summary{min-height:44px;display:flex;align-items:center;padding:10px 0;font-size:14px;color:#4b5865;cursor:pointer}
:root .assistant .ai-source{border:1px solid #e1e6ec;border-radius:12px;padding:0;margin:10px 0;background:white}
:root .assistant .ai-source>summary{padding:14px 16px;cursor:pointer;min-height:48px;list-style:none}
:root .assistant .ai-source>summary b{font-size:14px;line-height:1.5}
:root .assistant .ai-source>p,:root .assistant .ai-source>a,:root .assistant .ai-source>small{margin:0 16px 16px;font-size:14px;line-height:1.7}
:root .assistant .ai-source>a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.ai-reconciliation{margin:22px 0;border:1px solid #dee5ed;border-radius:16px;background:#fff;overflow:hidden;color:#253342}
.ai-reconciliation>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 12px}
.ai-reconciliation h2{margin:0;font-size:19px;letter-spacing:-.4px}.ai-reconciliation header p{margin:8px 0 0;color:#657280;font-size:13px;line-height:1.6}
.ai-count{font-size:13px;white-space:nowrap;border-radius:8px;background:#eef2f8;padding:8px 10px}
.ai-table-note{margin:0;padding:0 22px 18px;color:#667280;font-size:13px;line-height:1.65}
.ai-result-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.ai-result-table th{text-align:left;padding:12px 18px;font-size:12px;font-weight:500;background:#f5f7fa;color:#5c6978}.ai-result-table th:first-child{width:30%}.ai-result-table th:last-child{width:20%}
.ai-result-table td{padding:14px 18px;border-top:1px solid #e7ebf0;vertical-align:middle;overflow-wrap:anywhere}
.ai-result-table .ai-money{text-align:right;font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap}.ai-person,.ai-result-table small{display:block;font-size:12px;color:#657280;font-weight:400;margin-top:5px;line-height:1.5}
.ai-row-state{font-size:12px;color:#73521c}.ai-detail-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;font-size:13px;color:#1768c0!important;font-weight:600;gap:5px}
.ai-reconciliation h3{margin:0;padding:20px 18px 12px;font-size:16px;line-height:1.5;border-top:1px solid #e7ebf0}
.ai-row-state>strong,.ai-row-state>span{display:block;line-height:1.6}.ai-row-state>span{margin-top:4px}
.ai-reconciliation>header{flex-wrap:wrap}.ai-reconciliation>header>div{min-width:0}
.ai-ledger-link{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:16px 22px;border:0;border-top:1px solid #e1e6ec;background:#f7f9fc;text-decoration:none;color:#1768c0!important;font:inherit;font-size:14px;font-weight:600;width:100%;cursor:pointer}
.ai-other-rows>summary{padding:16px 22px;cursor:pointer;font-size:14px;min-height:48px;border-top:1px solid #e1e6ec}.ai-no-rows{padding:0 22px 18px;font-size:14px;line-height:1.7}
@media(max-width:760px){
 :root .assistant{padding:0!important;margin:22px 0!important}.ai-reconciliation>header{padding:18px 14px 10px;align-items:flex-start}.ai-table-note{padding:0 14px 16px}.ai-count{font-size:12px;padding:6px}
 .ai-result-table thead{display:none}.ai-result-table,.ai-result-table tbody{display:block}.ai-result-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px;gap:5px 12px;border-top:1px solid #e7ebf0}.ai-result-table td{display:block;padding:0;border:0}.ai-result-table td:first-child{font-size:15px}.ai-result-table .ai-money{font-size:16px}.ai-result-table td:last-child{text-align:right}.ai-detail-link{min-height:44px}.ai-row-state{align-self:center}.ai-ledger-link,.ai-other-rows>summary{padding:15px 14px}
}

body[data-management-home] .workspace-ledger .cutoff-summary-note{padding:14px 16px;margin:12px 0 20px;border:1px solid #d8e2ee;border-radius:12px;background:#edf2f8;color:#405570;font-size:13px;line-height:1.7}
@media(max-width:760px){
 :is(body.ledger-page,body[data-management-home]) .lg-tile .lg-money{font-size:clamp(17px,4.5vw,22px);letter-spacing:-.6px;white-space:nowrap}
 body[data-management-home] .workspace-ledger .lg-links a{flex:auto;padding:10px;border:1px solid #d8e2ee;background:#fff;border-radius:10px;font-size:13px;line-height:1.5}
}

/* Search inside the authorized answer sources without another network request. */
.ai-source-tools{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;padding:14px 0}
.ai-source-tools label{display:grid;gap:7px;min-width:0;font-size:12px;color:#526173}
.ai-source-tools :is(input,select){width:100%;min-height:44px;padding:10px 12px;border:1px solid #d6dee8;border-radius:10px;background:#fff;color:#233447;font:inherit;font-size:14px;box-sizing:border-box}
.ai-source-count,.ai-source-empty{font-size:13px;line-height:1.65;color:#526173;margin:0 0 12px}
.ai-source-results [hidden],.ai-source-empty[hidden]{display:none!important}
.ai-source-results .ai-source{padding:12px 0;border-bottom:1px solid #e0e5ed}
.ai-source-results .ai-source summary{cursor:pointer;min-height:44px;line-height:1.6}
.ai-source-results .ai-source summary b{display:block;font-size:14px;color:#253342}
.ai-source-results .ai-source p{font-size:14px;line-height:1.8;color:#425365;overflow-wrap:anywhere}
.ai-source-open{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;margin:10px 0;border:1px solid #d6dee8;border-radius:9px;font-size:14px}
@media(max-width:760px){.ai-source-tools{grid-template-columns:minmax(0,1fr)}.ai-source-tools :is(input,select){font-size:16px}.ai-source-results .ai-source p{font-size:14px}}

.ai-card-action{padding:12px 20px;border-top:1px solid #e1e6ec}.ai-card-action a{min-height:48px}.landlord-assistant .ai-reply{font-size:16px;line-height:1.75}.landlord-assistant .ai-reply p{margin:0 0 14px}.ai-result-table a:focus-visible,.ai-card-action a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:760px){.ai-card-action{padding:12px 14px}.ai-reconciliation h3{padding:18px 14px 12px}.ai-result-table td small{white-space:normal}.ai-count{white-space:normal}}

.ai-key-evidence{margin:12px 0;padding:14px 16px;background:var(--panel,#fff);border:1px solid var(--line,#dfe3e8);border-radius:12px}.ai-key-evidence summary{font-weight:600;min-height:44px;cursor:pointer;display:flex;align-items:center}.ai-key-evidence p{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-width:72ch}.ai-key-evidence summary:focus-visible{outline:2px solid #0068df;outline-offset:4px}

/* Monthly comparison keeps numeric labels visible when table rows become cards. */
.ai-period-table{table-layout:auto}.ai-period-table th:first-child{width:auto}.ai-period-table th:last-child{width:auto}.ai-period-table th,.ai-period-table td{padding:12px}.ai-cell-label{display:none}
@media(max-width:760px){.ai-period-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 16px}.ai-period-table td{padding:0}.ai-period-table td:first-child{grid-column:1/-1}.ai-period-table .ai-money{text-align:left;white-space:normal;overflow-wrap:anywhere}.ai-period-table .ai-cell-label{display:block;font-size:12px;font-weight:400;line-height:1.6;color:inherit;margin-bottom:4px}.ai-period-table td:last-child{grid-column:1/-1}}

/* Repair answers: one task per card, readable mobile targets. */
.ai-repair-card{border:1px solid var(--line,#e2e5eb);border-radius:20px;padding:24px;margin:20px 0;background:var(--surface,#fff);color:var(--text,#20242b)}
.ai-repair-card h2{font-size:19px;line-height:1.45;margin:8px 0 12px}.ai-repair-card p,.ai-repair-card small{line-height:1.65}.ai-repair-card small{display:block;margin-top:14px;color:var(--muted,#616977)}
.ai-repair-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.ai-repair-card .ai-detail-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:10px;background:var(--surface-soft,#f1f4f8);font-weight:600}
.ai-repair-list{display:grid;gap:16px;margin:20px 0}.ai-repair-list article{padding:18px;border:1px solid var(--line,#e2e5eb);border-radius:14px}.ai-repair-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ai-repair-head span{flex-shrink:0;font-size:13px;padding:4px 8px;border-radius:8px;background:var(--surface-soft,#f1f4f8)}
.ai-repair-list dl{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.ai-repair-list dt{font-size:12px;color:var(--muted,#616977);margin-bottom:5px}.ai-repair-list dd{margin:0;line-height:1.5;overflow-wrap:anywhere}
.ai-repair-list .ai-repair-schedule{grid-column:1/-1}.ai-repair-list .ai-repair-schedule dd{word-break:keep-all;overflow-wrap:break-word}
@media(max-width:760px){.ai-repair-card{padding:18px;border-radius:16px}.ai-repair-actions{flex-direction:column}.ai-repair-head{flex-direction:column;gap:8px}.ai-repair-list article{padding:14px}.ai-repair-list dl{gap:14px 12px}.ai-repair-card .ai-detail-link{white-space:normal}}
/* Scoped contact and message actions inside assistant answers. */
.ai-contact-row{padding:16px 22px;border-top:1px solid #e7ebf0}.ai-contact-row h3{padding:0!important;border:0!important;margin:0 0 8px!important;font-size:16px}.ai-contact-row>.ai-detail-link{margin-right:16px}.ai-contact-phone{font-size:18px!important;font-variant-numeric:tabular-nums}.ai-contact-email{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
.ai-message-form{display:grid;gap:16px;margin-top:16px}.ai-message-form label{display:grid;gap:8px;font-size:14px}.ai-message-form input:not([type=checkbox]),.ai-message-form textarea{box-sizing:border-box;width:100%;min-height:44px;padding:12px;border:1px solid #b7c5d4;border-radius:10px;font:inherit;background:#fff;color:#253342}.ai-message-form p{margin:0;font-size:14px}.ai-message-form button,.ai-scope-choices button{min-height:44px;padding:10px 16px;border:1px solid #c1cede;border-radius:10px;background:#eef4ff;color:#174b85;font:inherit;cursor:pointer}.ai-message-form button:disabled{opacity:.55}.ai-message-form .ai-message-check{display:flex;align-items:center;gap:10px;min-height:44px}.ai-message-check input{width:20px;height:20px;flex-shrink:0}.ai-message-preview{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e1e6ec;border-radius:12px;padding:16px;background:#f7f9fc}.ai-message-error{color:#a32929}.ai-scope-choices{display:flex;gap:10px;flex-wrap:wrap;padding:16px 22px}.ai-message-form button:focus-visible,.ai-scope-choices button:focus-visible{outline:2px solid #1768c0;outline-offset:3px}
@media(max-width:760px){.ai-contact-row{padding:16px 14px}.ai-message-form button{width:100%}.ai-scope-choices{padding:14px}.ai-message-form input:not([type=checkbox]),.ai-message-form textarea{font-size:16px}}

/* Repair conversations keep the current stage, visit time and next action together. */
.ai-repair-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:20px 0;list-style:none}
.ai-repair-steps li{min-width:0;display:grid;justify-items:center;text-align:center;gap:6px;padding:12px 4px;border-radius:12px;background:var(--surface-soft,#f1f4f8);color:var(--muted,#616977)}
.ai-repair-steps li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid currentColor;font-size:12px}
.ai-repair-steps li.is-done{color:var(--text,#20242b)}
.ai-repair-steps li.is-done>span{background:var(--text,#20242b);color:var(--surface,#fff);border-color:transparent}
.ai-repair-steps b{font-size:13px;line-height:1.5;word-break:keep-all}
.ai-repair-card .ai-repair-steps small{font-size:12px;line-height:1.5;margin:0}
.ai-repair-confirmation{padding:12px 14px;border-radius:10px;background:var(--surface-soft,#f1f4f8);font-size:14px}
@media(max-width:420px){.ai-repair-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-repair-steps li{padding:12px 8px}}
/* Leave the sticky conversation controls and bottom navigation clear when scrolling to an answer. */
.assistant .ai-turn,.assistant .ai-intake,.assistant .ai-repair-card{scroll-margin-block:8rem 6rem}
.landlord-assistant .answer,.landlord-assistant .ai-repair-card{scroll-margin-block:5rem 6rem}

/* Contract dates stay whole and each amount keeps its meaning in mobile cards. */
.ai-contract-period{display:flex!important;flex-wrap:wrap;gap:0 .35em}.ai-contract-period time{white-space:nowrap}
@media(max-width:760px){.ai-contract-table td:first-child,.ai-contract-table td:last-child{grid-column:1/-1}.ai-contract-table tr{gap:14px 16px}.ai-contract-table .ai-money{text-align:left;white-space:normal}.ai-contract-table .ai-cell-label{display:block;font-size:12px;font-weight:400;line-height:1.6;color:inherit;margin-bottom:4px}}

/* Keep the shortcut distinct in both its resting and current-page states. */
body :is(.sidebar .menu,.workspace-side nav,.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut] {
 --assistant-nav-ink:#403081;
 --assistant-nav-surface:#f3efff;
 --assistant-nav-active:#e9e1fb;
 --assistant-nav-edge:#ddd4f4;
 --assistant-nav-selected:#5b42a2;
 background:var(--assistant-nav-surface);
 color:var(--assistant-nav-ink)!important;
 box-shadow:inset 0 0 0 1px var(--assistant-nav-edge);
 border-radius:12px;
 font-weight:750;
}
body :is(.sidebar .menu,.workspace-side nav,.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut][aria-current] {
 background:var(--assistant-nav-active);
 box-shadow:inset 0 0 0 1px var(--assistant-nav-selected);
}
body[data-rental-screen="resident"] .bottomnav > a[data-assistant-shortcut] > span,
body[data-rental-screen="landlord"] #landlord-nav > a[data-assistant-shortcut] > span {color:inherit!important;}
body :is(.sidebar .menu,.workspace-side nav,.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut]:focus-visible {
 outline:2px solid var(--assistant-nav-selected);
 outline-offset:2px;
}
body :is(.sidebar .menu,.workspace-side nav,.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut] > svg {
 box-sizing:border-box;
 background:var(--assistant-nav-active);
 border-radius:8px;
 color:inherit;
}
body :is(.sidebar .menu,.workspace-side nav,.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut][aria-current] > svg {
 background:var(--assistant-nav-selected);
 color:#fff;
}

@media(min-width:761px){
 body :is(.sidebar .menu,.workspace-side nav,.landlord-nav) > a[data-assistant-shortcut] {
  min-height:52px;
  padding:8px 10px;
  margin-block-end:8px;
  gap:9px;
 }
 body :is(.sidebar .menu,.workspace-side nav,.landlord-nav) > a[data-assistant-shortcut] > svg {
  width:30px;
  height:30px;
  flex:0 0 30px;
  padding:6px;
 }
}

@media(max-width:760px){
 body :is(.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut] {
  min-height:50px;
  margin-inline:2px;
  padding:4px 0;
  gap:3px;
  font-size:11px;
 }
 body :is(.bottomnav,.workspace-bottom,.landlord-nav) > a[data-assistant-shortcut] > svg {
  width:34px;
  height:27px;
  flex:0 0 27px;
  padding:4px 7px;
 }
}

@media(forced-colors:active){
 a[data-assistant-shortcut] {outline:1px solid ButtonText;}
 a[data-assistant-shortcut][aria-current] {outline:2px solid Highlight;}
}

/* A shared conversation surface for management, landlord and resident work. */
.ai-contract-heading {padding:16px 20px 12px;}
.ai-contract-heading h2 {margin:0;}
.ai-contract-heading p {margin:4px 0 0; color:var(--chat-muted); font-size:.875rem;}
:is(.ai-monthly-contract .ai-contract-values,.ai-contract-values.ai-invoice-values) {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
 margin:0;
 padding:0 20px 16px;
}
.ai-invoice-completion{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding:12px 14px;margin:0 20px 12px;border-radius:12px;background:var(--chat-soft);color:var(--chat-ink);font-size:.875rem}
.ai-invoice-completion time{font-variant-numeric:tabular-nums}
.ai-invoice-reversals{padding:0 20px 16px}
.ai-invoice-reversals h3{margin:0;font-size:.9rem}
.ai-invoice-reversals ul{list-style:none;padding:0;margin:6px 0 0}
.ai-invoice-reversals li{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--chat-line);font-size:.875rem}
.ai-invoice-reversals p{color:var(--chat-muted);font-size:.8125rem}
.ai-contract-values>div {
 padding:12px;
 border-radius:12px;
 background:var(--chat-soft);
}
.ai-contract-values dt {
 color:var(--chat-muted);
 font-size:.875rem;
 word-break:keep-all;
}
.ai-contract-values dd {
 margin:3px 0 0;
 font-size:clamp(1rem,3vw,1.25rem);
 font-weight:650;
 font-variant-numeric:tabular-nums;
 overflow-wrap:anywhere;
}
.ai-monthly-contract .ai-card-action a {min-height:44px; box-sizing:border-box;}
.ai-amount {white-space:nowrap;font-variant-numeric:tabular-nums;}
:is(.assistant,.landlord-assistant){--chat-ink:#19232f;--chat-muted:#566474;--chat-accent:#0066cc;--chat-line:#e1e6ed;--chat-surface:#fff;--chat-soft:#f4f6f9;--chat-radius:20px;color:var(--chat-ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:16px;line-height:1.65;color-scheme:light}
:root .assistant{max-width:880px;padding:32px!important;border:1px solid var(--chat-line);border-radius:28px;background:var(--chat-surface);box-shadow:0 8px 36px #152b4710}
.ai-eyebrow{font-size:12px!important;letter-spacing:.07em;font-weight:600;color:var(--chat-muted)!important;margin:0 0 16px!important}
.assistant .ai-identity{gap:12px;margin:0 0 14px}.assistant .ai-identity img{width:40px;height:40px;border-radius:12px}.assistant .ai-identity h1{font-size:32px!important;font-weight:700;letter-spacing:-1.2px;line-height:1.25;margin:0!important}.assistant .ai-top p{color:var(--chat-muted);font-size:15px;word-break:keep-all}
:is(.assistant,.landlord-assistant) .ai-chat-toolbar{gap:8px;padding:14px 0;margin:20px 0 0;background:var(--chat-surface);border-color:var(--chat-line);box-shadow:none}
:is(.assistant,.landlord-assistant) .ai-chat-toolbar button{min-height:46px;border-radius:12px;padding:10px 16px;font-size:14px;font-weight:600;box-shadow:none}.assistant #ai-new{background:var(--chat-accent);border-color:var(--chat-accent);color:#fff}.assistant #ai-history-toggle{background:var(--chat-soft);border:1px solid transparent;color:var(--chat-ink)}
:is(.assistant,.landlord-assistant) .ai-chat-status{font-size:12px;color:var(--chat-muted);margin-inline-start:auto}
.assistant .ai-scope{margin:16px 0 24px;gap:8px 12px}.assistant .ai-scope>span{border:1px solid var(--chat-line);background:var(--chat-soft);color:var(--chat-ink);border-radius:99px;padding:6px 12px;font-size:13px}.assistant .ai-scope small{font-size:12px;color:var(--chat-muted)}
.assistant .ai-prompts{gap:12px;margin:24px 0}.assistant .ai-prompts button{min-height:76px;align-items:center;padding:18px;border:1px solid var(--chat-line);border-radius:16px;background:var(--chat-surface);color:var(--chat-ink);font-size:15px;line-height:1.5;word-break:keep-all}.assistant .ai-prompts button>span{color:var(--chat-muted);font-size:20px;flex:none}
:is(.assistant,.landlord-assistant) .ai-turn{margin:28px 0 38px;animation:chat-arrive .16s ease-out}.ai-conversation:empty{display:none}
:is(.assistant,.landlord-assistant) .ai-question{width:fit-content;max-width:88%;background:#eef3f9;color:var(--chat-ink);border:0;border-radius:20px 20px 6px 20px;padding:14px 18px;margin:0 0 24px auto;font-size:15px;line-height:1.65}
:is(.assistant,.landlord-assistant) .ai-answer{border:0;padding:0}.ai-answer-label{display:inline-flex;align-items:center;gap:8px;color:var(--chat-muted)!important;font-size:12px;font-weight:600;margin-bottom:6px}.ai-answer-label::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--chat-accent);flex:none}
:is(.assistant,.landlord-assistant) .ai-reply{font-size:16px;line-height:1.85;letter-spacing:-.2px;color:var(--chat-ink);white-space:normal;max-width:72ch;margin:4px 0 18px;word-break:keep-all;overflow-wrap:anywhere}.ai-reply>p{margin:0 0 14px}.ai-reply>p:last-child{margin-bottom:0}.ai-reply .ai-section-heading{margin:22px 0 6px;font-size:14px;color:var(--chat-muted)}.ai-reply .ai-section-heading:first-child{margin-top:8px}.ai-reply ul,.ai-reply ol{padding-inline-start:22px;margin:10px 0 20px}.ai-reply li{padding-inline-start:3px;margin:8px 0}.ai-reply strong{font-weight:650}
:is(.assistant,.landlord-assistant) .ai-asof{font-size:12px;line-height:1.6;color:var(--chat-muted);margin:12px 0 20px}
:is(.assistant,.landlord-assistant) .ai-reconciliation{border:1px solid var(--chat-line);border-radius:var(--chat-radius);background:var(--chat-surface);box-shadow:none;margin:22px 0;overflow:hidden}.ai-reconciliation>header{padding:20px 20px 10px}.ai-reconciliation h2{font-size:17px;line-height:1.5}.ai-table-note{color:var(--chat-muted);font-size:13px;padding:0 20px 16px}
:is(.assistant,.landlord-assistant) .ai-key-evidence{margin:8px 16px 16px;padding:12px 16px;border:0;border-radius:14px;background:var(--chat-soft)}.ai-key-evidence summary{font-size:14px;color:var(--chat-ink)}.ai-key-evidence p{font-size:14px;color:var(--chat-muted);margin:8px 0 4px}
:is(.assistant,.landlord-assistant) .ai-sources{margin-top:20px;color:var(--chat-muted);border:0;background:none}.ai-sources>summary,.ai-notes>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;list-style:none}.ai-sources>summary::before,.ai-notes>summary::before{content:"＋";font-size:17px;line-height:1}.ai-sources[open]>summary::before,.ai-notes[open]>summary::before{content:"−"}.ai-notes{margin:8px 0;font-size:13px;color:var(--chat-muted)}
:is(.assistant,.landlord-assistant) .ai-composer{border:1px solid #bac7d6;border-radius:22px;padding:16px;background:var(--chat-surface);box-shadow:0 4px 16px #152b4708;margin:24px 0 0;transition:border-color .15s,box-shadow .15s}.assistant .ai-composer:focus-within{border-color:var(--chat-accent);box-shadow:0 0 0 3px #0066cc18}.assistant .ai-composer textarea{font-size:16px;line-height:1.65;min-height:64px;color:var(--chat-ink)}.assistant .ai-composer textarea::placeholder{color:#5d6c7d}.assistant .ai-send{height:46px;width:46px;border-radius:14px;background:var(--chat-accent);color:#fff;font-size:26px;flex:none}.ai-composer-caption,.ai-help{color:var(--chat-muted);font-size:12px;line-height:1.6}.assistant .ai-attach{min-height:44px;padding:8px 12px;border-radius:10px}.assistant .ai-help{margin:12px 0 24px}
.ai-answer-tools{display:flex;align-items:center;gap:10px;margin:12px 0}.ai-copy{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid transparent!important;border-radius:10px;background:transparent!important;color:var(--chat-muted)!important;font:inherit;font-size:13px;cursor:pointer}.ai-copy-status{font-size:12px;color:var(--chat-muted)}.ai-next{padding:16px 0 0;border-top:1px solid var(--chat-line);margin:12px 0 20px}.ai-next>p{margin:0 0 10px;font-size:12px;font-weight:600;color:var(--chat-muted)}.ai-next>div{display:flex;flex-wrap:wrap;gap:8px}.ai-next button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 14px;border:1px solid var(--chat-line);border-radius:12px;background:var(--chat-surface);color:var(--chat-ink);font:inherit;font-size:13px;line-height:1.5;text-align:left;word-break:keep-all;cursor:pointer}.ai-next button span{color:var(--chat-muted);flex:none}
:is(.assistant,.landlord-assistant) :is(button,a,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background-color .15s,color .15s,border-color .15s}:is(.assistant,.landlord-assistant) :is(button,a,summary):focus-visible{outline:3px solid var(--chat-accent);outline-offset:3px}:is(.assistant,.landlord-assistant) button:disabled{opacity:.5;cursor:wait}
@media(hover:hover){.ai-next button:hover,.ai-copy:hover,.assistant .ai-prompts button:hover{background:var(--chat-soft)!important;border-color:#bac7d6!important}}
.landlord-assistant{border-radius:24px!important;border:1px solid var(--chat-line)!important;background:var(--chat-surface)!important}.landlord-assistant .ask textarea{font-size:16px;min-height:100px;border-radius:16px!important;padding:16px!important;line-height:1.65}.landlord-assistant .ask>button{border-radius:12px;min-height:46px;padding:10px 18px;background:var(--chat-accent);color:#fff}.landlord-assistant .answer{margin-top:28px;padding:0;border:0;background:none}.landlord-assistant .ai-turn+.ai-turn{border-top:1px solid var(--chat-line);padding-top:28px}.landlord-assistant .landlord-ai-context{color:var(--chat-muted);font-size:13px}
@keyframes chat-arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:760px){:root .assistant{padding:20px 16px!important;margin:16px 0!important;border-radius:22px}.assistant .ai-identity h1{font-size:27px!important}.assistant .ai-chat-status{width:100%;margin:4px 0 0}.assistant .ai-chat-toolbar{top:env(safe-area-inset-top,0px);margin-top:16px}.assistant .ai-scope{margin:16px 0}.assistant .ai-prompts{gap:10px}.assistant .ai-prompts button{padding:14px;font-size:14px;min-height:86px}.assistant .ai-composer{padding:12px}.ai-next>div{display:grid;grid-template-columns:1fr}.ai-next button{width:100%}:is(.assistant,.landlord-assistant) .ai-question{max-width:94%;padding:12px 15px}.ai-reconciliation>header{padding:18px 14px 10px}.ai-table-note{padding:0 14px 16px}:is(.assistant,.landlord-assistant) .ai-key-evidence{margin:8px 12px 12px;padding:10px 12px}.landlord-assistant{padding:20px 16px!important}.ai-reply{max-width:100%}.ai-turn{scroll-margin-top:130px}}
@media(max-width:360px){.assistant .ai-prompts{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){:is(.assistant,.landlord-assistant) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Intake drafts should show the symptom, not only the location header. */
:is(.assistant,.landlord-assistant) :is(.ai-intake,.landlord-intake) textarea{min-height:180px;font-size:16px;line-height:1.75}
:is(.assistant,.landlord-assistant) :is(.ai-intake,.landlord-intake){border:1px solid var(--chat-line);border-radius:20px;background:#f7f9fc;padding:20px;margin:24px 0}
:is(.assistant,.landlord-assistant) :is(.ai-intake,.landlord-intake) label{color:var(--chat-muted);font-size:13px}
:is(.assistant,.landlord-assistant) :is(.ai-intake,.landlord-intake) button[type=submit],.landlord-assistant .landlord-intake>button{background:var(--chat-accent)!important;color:white!important;border-radius:12px;min-height:46px}
@media(max-width:760px){:is(.assistant,.landlord-assistant) :is(.ai-intake,.landlord-intake){padding:16px}.assistant .ai-scope{margin-bottom:12px}.assistant .ai-composer{margin-top:14px}}

.ai-evidence-review{list-style:none;padding:0 20px;margin:0}.ai-evidence-review li{padding:18px 0;border-top:1px solid var(--chat-line)}.ai-evidence-review li>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.ai-evidence-review p{font-size:14px;line-height:1.7;margin:8px 0}.ai-evidence-review small{display:block;font-size:12px;color:var(--chat-muted);overflow-wrap:anywhere}.ai-row-state small{overflow-wrap:anywhere}.ai-evidence-review .ai-detail-link{margin-top:8px}
@media(max-width:760px){.ai-evidence-review{padding:0 14px}.ai-result-table .ai-row-state{grid-column:1/-1}.ai-result-table td:last-child{grid-column:1/-1}}

/* Keep the answer below the sticky conversation controls after a submission. */
:is(.assistant,.landlord-assistant) .ai-turn{scroll-margin-block-start:112px}
.ai-payment-facts{display:flex;flex-wrap:wrap;column-gap:14px;row-gap:4px}
@media(max-width:760px){:is(.assistant,.landlord-assistant) .ai-turn{scroll-margin-block-start:148px}}
@media(min-width:761px){.landlord-assistant .ai-turn{scroll-margin-block-start:92px}}

:is(.assistant,.landlord-assistant) .ai-reply>.ai-section-heading:first-child{
 color:var(--chat-ink);font-size:16px;font-weight:700;margin-bottom:10px
}

:is(.assistant,.landlord-assistant) caption.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.ai-pending-turn .ai-question{white-space:pre-wrap;overflow-wrap:anywhere}
.ai-pending-turn .ai-retrieval{width:fit-content;max-width:100%;margin:0;padding:12px 16px;background:var(--chat-soft);color:var(--chat-ink);border-color:var(--chat-line)}
.ai-pending-turn .ai-retrieval p{margin:4px 0 0;color:var(--chat-muted)}

.ai-scope-choices.ai-receipt-choices{display:grid;gap:8px}
.ai-receipt-choices button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;text-align:start}
.ai-receipt-choices button time{display:block;margin-top:2px;color:var(--chat-muted);font-size:.8125rem;font-variant-numeric:tabular-nums}
.ai-receipt-choices button .ai-amount{flex-shrink:0}
