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