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