body.landlord-client{--ll-bg:#f7f7f5;--ll-surface:#fff;--ll-sunk:#f2f2ef;--ll-ink:#171717;--ll-secondary:#595959;--ll-muted:#737373;--ll-border:#deded8;--ll-strong:#aaa;--ll-alt:#fafaf8;--ll-hover:#f1f1ed;--ll-focus:#17171722;--ll-active:#171717;--ll-on-active:#fff;}
body.landlord-client.landlord-admin{color-scheme:dark;--ll-bg:#071321;--ll-surface:#102438;--ll-sunk:#0b1c2d;--ll-ink:#edf7ff;--ll-secondary:#acc4d8;--ll-muted:#8da9c0;--ll-border:#29445c;--ll-strong:#54809d;--ll-alt:#122a40;--ll-hover:#19374f;--ll-focus:#55c8ee33;--ll-active:#64d7f0;--ll-on-active:#062131;}
.landlord-admin a{color:#7dddf4}.landlord-admin .brand,.landlord-admin .stat b{color:var(--ll-ink)}
/* Client-facing landlord workspace: monochrome shell; provider maps and uploaded media retain their original colors. */
body.landlord-client{--ui-bg:var(--ll-bg);--ui-surface:var(--ll-surface);--ui-surface-sunk:var(--ll-sunk);--ui-ink:var(--ll-ink);--ui-text:var(--ll-ink);--ui-text-2:var(--ll-secondary);--ui-text-3:var(--ll-muted);--ui-border:var(--ll-border);--ui-border-strong:var(--ll-strong);--ink:var(--ll-ink);--g600:var(--ll-secondary);--g400:var(--ll-muted);--line:var(--ll-border);--off:var(--ll-bg);--g100:var(--ll-sunk);--ui-focus:0 0 0 3px var(--ll-focus);background:var(--ll-bg);color:var(--ll-ink);line-height:1.55}
.landlord-client .wrap{padding:28px clamp(16px,3vw,48px) 64px;max-width:1440px!important}
.landlord-client header{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:24px}
.landlord-client .brand{font:650 19px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.6px}.landlord-client .brand small{font-size:9px;letter-spacing:1.7px;margin-top:7px}
.landlord-client h1{font:500 clamp(26px,3vw,38px)/1.18 Inter,system-ui,sans-serif!important;letter-spacing:-1.1px!important;color:var(--ll-ink)!important;margin:16px 0 10px}
.landlord-client h2,.landlord-client h3{letter-spacing:-.3px;color:var(--ll-ink)}.landlord-client .sub,.landlord-client .muted{color:var(--ll-secondary)!important;line-height:1.6}
.landlord-client [data-li-view]{--ink:var(--ll-ink)!important;--line:var(--ll-border)!important;--g100:var(--ll-sunk)!important;color:var(--ll-ink)!important;background:transparent!important;border:0!important;padding:0!important}
.landlord-client .card,.landlord-client [data-li-building-summary]{background:var(--ll-surface)!important;border:1px solid var(--ll-border)!important;border-radius:18px!important;padding:22px!important;box-shadow:none!important}
.landlord-client .btn,.landlord-client .li-nav button,.landlord-client .li-ws-nav button{border-radius:10px!important;min-height:42px;box-shadow:none;transition:background .15s,border-color .15s}
.landlord-client .btn:not(.ghost),.landlord-client .li-nav button.on,.landlord-client .li-ws-nav button.on{background:var(--ll-active)!important;border-color:var(--ll-active)!important;color:var(--ll-on-active)!important}
.landlord-client .btn.ghost,.landlord-client .li-nav button:not(.on),.landlord-client .li-ws-nav button:not(.on){background:var(--ll-surface)!important;border-color:var(--ll-border)!important;color:var(--ll-ink)!important}
.landlord-client button:hover:not(:disabled){filter:brightness(.95)}.landlord-client button:focus-visible,.landlord-client a:focus-visible{outline:2px solid var(--ll-ink);outline-offset:3px}
.landlord-client [aria-label="Property tools"]{background:var(--ll-bg)!important;border-bottom:1px solid var(--ll-border);gap:6px!important;padding:12px 0 16px!important;margin-bottom:18px}
.landlord-client [aria-label="Property tools"] button{background:transparent!important;color:var(--ll-secondary)!important;border-color:transparent!important;border-radius:9px!important;font-weight:550}
.landlord-client [aria-label="Property tools"] button[aria-selected="true"]{background:var(--ll-active)!important;color:var(--ll-on-active)!important}
.landlord-client .li-category-tabs{gap:8px!important;margin:24px 0!important}.landlord-client .li-geo-bar,.landlord-client .li-ws-nav{background:var(--ll-sunk)!important;padding:10px!important;border-radius:12px!important}
.landlord-client .stats{gap:12px!important;margin:24px 0!important}.landlord-client .stat{background:var(--ll-surface)!important;border:1px solid var(--ll-border)!important;border-radius:14px!important;padding:18px!important;box-shadow:none!important}.landlord-client .stat b{font-size:26px!important;font-weight:550!important;letter-spacing:-.8px!important}.landlord-client .stat span,.landlord-client .li-stat-title{color:var(--ll-secondary)!important;letter-spacing:0!important;font-size:11px!important}
.landlord-client .li-table{background:var(--ll-surface)!important;border-color:var(--ll-border)!important;border-radius:14px!important}.landlord-client .li-table th{background:var(--ll-sunk)!important;color:var(--ll-secondary)!important;padding:13px 12px!important;font-weight:600}.landlord-client .li-table td{padding:14px 12px!important;border-color:var(--ll-border)!important}.landlord-client .li-table tbody tr:nth-child(even){background:var(--ll-alt)!important}.landlord-client .li-table tr:hover td{background:var(--ll-hover)!important}
.landlord-client input,.landlord-client select,.landlord-client textarea{background:var(--ll-surface)!important;color:var(--ll-ink)!important;border-color:var(--ll-border)!important;border-radius:9px!important;accent-color:var(--ll-ink)}.landlord-client label{color:var(--ll-secondary)!important}
.landlord-client .li-map{border:1px solid var(--ll-border)!important;border-radius:16px!important;overflow:hidden}.landlord-client .li-ws-detail{background:var(--ll-surface)!important;border-color:var(--ll-border)!important}.landlord-client .li-ws-detail h3{color:var(--ll-ink)!important}
.landlord-client [aria-label="Google Street View and property records"]{background:var(--ll-surface)!important;color:var(--ll-ink)!important;border-color:var(--ll-border)!important;border-radius:16px!important}.landlord-client [aria-label="Google Street View and property records"]>div>p{color:var(--ll-secondary)!important}.landlord-client [aria-label="Choose a property to face"] button{color:var(--ll-ink)!important;border-color:var(--ll-border)!important;background:var(--ll-surface)!important}
.landlord-client [data-li-building-summary] dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 24px}.landlord-client [data-li-building-summary] dt{font-size:11px;color:var(--ll-muted)}.landlord-client [data-li-building-summary] dd{margin:0;font-size:14px;font-weight:550}
.landlord-client .section-title{border-color:var(--ll-border)!important;padding-top:22px!important}.landlord-client footer{color:var(--ll-muted);font-size:12px}
@media(max-width:700px){.landlord-client .wrap{padding:18px 14px 48px}.landlord-client .card,.landlord-client [data-li-building-summary]{padding:16px!important;border-radius:14px!important}.landlord-client .stat{padding:13px!important}.landlord-client .stat b{font-size:21px!important}.landlord-client [aria-label="Property tools"]{top:0}.landlord-client .li-table td{padding:12px 8px!important}}
/* The same client theme inside the isolated building explorer. Backend/demo defaults stay blue. */
body.client-studio{--bg:#f7f7f5;--line:#deded8;--muted:#626262;--accent:#222;background:#f7f7f5!important;color:#171717!important;font-size:14px;color-scheme:light}
.client-studio .surface,.client-studio .card{background:#fff!important;border-color:#deded8!important;box-shadow:none}.client-studio .stage{background:linear-gradient(145deg,#fff,#f0f0ec)!important}.client-studio .stage-controls{background:#fff!important;border-top:1px solid #e6e6df}.client-studio .panel-head{border-color:#deded8}
.client-studio h1,.client-studio h2,.client-studio h3,.client-studio strong{color:#171717!important}.client-studio p,.client-studio .source,.client-studio .hint,.client-studio .credits,.client-studio .file-name,.client-studio .notice,.client-studio .eyebrow,.client-studio .crop,.client-studio .slider,.client-studio .status{color:#626262!important}.client-studio .eyebrow{font-size:10px}.client-studio p{font-size:12px;line-height:1.65}.client-studio .card h3{font-size:14px}.client-studio .panel-head h2{font-size:25px;font-weight:500}
.client-studio .action,.client-studio .upload,.client-studio .floor-buttons button,.client-studio .badge{background:#fff!important;border:1px solid #d4d4cc!important;color:#222!important;font-size:12px!important;border-radius:9px;min-height:42px}.client-studio .action.primary,.client-studio .floor-buttons button[aria-pressed="true"]{background:#171717!important;color:white!important;border-color:#171717!important}.client-studio button:disabled{opacity:.4;cursor:not-allowed}.client-studio input,.client-studio select{color:#171717!important;background:#fff!important;border:1px solid #d4d4cc;border-radius:6px;padding:7px;accent-color:#171717}.client-studio input[type=range]{padding:0}.client-studio .plan-preview,.client-studio .notice{background:#f5f5f1!important;border-color:#deded8!important}.client-studio a{color:#222!important}.client-studio .badge{font-size:8px!important;min-height:0;padding:6px 9px}
.client-studio [role="dialog"]{background:#fff!important;color:#171717!important;border-color:#deded8!important}.client-studio :focus-visible{outline:2px solid #171717!important;outline-offset:3px}

/* Authenticated portfolio chrome also overrides legacy inline light surfaces. */
.landlord-admin .li-banner,.landlord-admin [data-li-company-header],.landlord-admin [data-li-nav],.landlord-admin .li-category-tabs,.landlord-admin .section-title{background:var(--ll-surface)!important;color:var(--ll-ink)!important;border-color:var(--ll-border)!important}
.landlord-admin .li-chip{background:#173a51;color:#c0f1ff;border-color:#37617b}.landlord-admin .li-chip.info{background:#173a51;color:#c0f1ff}
.landlord-admin [data-li-view] label{color:var(--ll-secondary)!important}

/* Comfortable spacing for private workspace actions. */
.landlord-admin .li-nav,.landlord-admin .li-ws-nav,.landlord-admin .li-geo-bar,.landlord-admin [aria-label="Property tools"]{gap:12px!important}
.landlord-admin .btn + .btn{margin-inline-start:6px}
@media(max-width:700px){.landlord-admin .li-nav,.landlord-admin [aria-label="Property tools"]{gap:10px!important}}

.landlord-admin .section-title .muted{color:var(--ll-secondary)!important}
@media(max-width:700px){.landlord-admin [data-li-mapping],.landlord-admin [data-li-mapping] tbody{display:block;min-width:0!important;width:100%}.landlord-admin [data-li-mapping] thead{display:none}.landlord-admin [data-li-mapping] tbody tr{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:12px;border-bottom:1px solid var(--ll-border)}.landlord-admin [data-li-mapping] td{display:block;padding:2px!important;overflow-wrap:anywhere;white-space:normal}.landlord-admin [data-li-mapping] select{width:100%;max-width:100%;min-height:44px}}

/* Private detail intake: match signed-in workspace surfaces without changing answer/save behavior. */
.landlord-admin [data-intake-record]{background:var(--ll-surface)!important;color:var(--ll-ink)!important;padding:24px!important;border:1px solid var(--ll-border)!important;border-radius:16px!important}
.landlord-admin [data-intake-record]>h2{margin:0 0 14px!important;padding:0 0 16px!important;background:transparent!important;color:var(--ll-ink)!important;border-bottom:1px solid var(--ll-border);border-radius:0!important;font-size:21px!important}
.landlord-admin [data-intake-record]>p{max-width:80ch;line-height:1.65;margin:0 0 20px}
.landlord-admin [data-intake-record] nav[aria-label="Property detail sections"]{padding:10px!important;gap:8px!important;background:var(--ll-bg,#0b1726)!important;border:1px solid var(--ll-border)}
.landlord-admin [data-intake-tab]{min-height:40px;padding:9px 12px!important;font-size:12px!important;line-height:1.35;background:var(--ll-surface)!important;color:var(--ll-secondary)!important;border-color:var(--ll-border)!important}
.landlord-admin [data-intake-tab][aria-pressed="true"]{background:#214c66!important;border-color:#7bc9e7!important;color:#e6f8ff!important}
.landlord-admin [data-intake-record]>details{margin:18px 0!important;padding:20px!important;background:var(--ll-surface)!important;border-color:var(--ll-border)!important}
.landlord-admin [data-intake-record]>details>summary{font-size:15px;font-weight:650;color:var(--ll-ink);padding-bottom:12px;line-height:1.5}
.landlord-admin [data-intake-question]{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px);gap:12px 24px;padding:22px 0!important;border-bottom-color:var(--ll-border)!important;align-items:start}
.landlord-admin [data-intake-question]>label{font-size:14px;font-weight:600;line-height:1.55;padding-top:9px;color:var(--ll-ink)!important}
.landlord-admin [data-intake-question]>div,.landlord-admin [data-intake-question]>p{grid-column:1/-1}
.landlord-admin [data-intake-question]>p{margin:0;font-size:12px;line-height:1.6;color:var(--ll-secondary)!important}
.landlord-admin [data-intake-question] input,.landlord-admin [data-intake-question] select,.landlord-admin [data-intake-question] textarea{box-sizing:border-box;max-width:100%;min-height:44px;padding:10px 12px!important;background:var(--ll-bg,#0b1726)!important;color:var(--ll-ink)!important;border:1px solid var(--ll-border)!important;border-radius:8px!important;font-size:14px;line-height:1.5;color-scheme:dark}
.landlord-admin [data-intake-question] select{width:100%}.landlord-admin [data-intake-question] option{color:#e6edf5;background:#14283c}
.landlord-admin [data-intake-question] [hidden]{display:none!important}
.landlord-admin [data-intake-record]>div:has([data-intake-save]){background:var(--ll-surface)!important;border:1px solid var(--ll-border);padding:14px!important;margin-top:16px;flex-wrap:wrap}
.landlord-admin [data-intake-dirty]{color:var(--ll-secondary)!important;font-size:12px}
.landlord-admin [data-intake-record] :focus-visible{outline:2px solid #86d7f2;outline-offset:3px}
@media(max-width:700px){.landlord-admin [data-intake-record]{padding:16px!important}.landlord-admin [data-intake-record]>details{padding:14px!important}.landlord-admin [data-intake-question]{grid-template-columns:minmax(0,1fr);gap:10px;padding:18px 0!important}.landlord-admin [data-intake-question]>label{padding-top:0}.landlord-admin [data-intake-question]>select{max-width:100%}.landlord-admin [data-intake-tab]{flex:1 1 140px}}

/* Availability-first hierarchy: source-qualified operating view, references on demand. */
.landlord-admin [data-li-buildings] th,.landlord-admin [data-li-buildings] td{vertical-align:top}
.landlord-admin [data-li-buildings] [data-li-property-name]{min-width:190px}
.landlord-admin [data-li-buildings] small{display:block;line-height:1.55;margin-top:6px;color:var(--ll-secondary)}
.landlord-admin [data-li-property-reference]{font-size:12px;margin-top:12px;color:var(--ll-secondary)}
.landlord-admin [data-li-property-reference]>summary{cursor:pointer;line-height:1.5}
.landlord-admin [data-li-portfolio-totals],.landlord-admin [data-li-secondary-metrics]{margin:14px 0;padding:12px 16px;border:1px solid var(--ll-border);border-radius:10px}
.landlord-admin [data-intake-record]>div:has([data-intake-save]){position:static!important;margin-top:20px}
@media(max-width:700px){.landlord-admin [data-li-buildings],.landlord-admin [data-li-buildings] tbody{display:block;min-width:0!important;width:100%!important}.landlord-admin [data-li-buildings] thead{display:none}.landlord-admin [data-li-buildings] tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--ll-border);border-radius:12px;margin-bottom:14px}.landlord-admin [data-li-buildings] td{display:block;min-width:0;padding:0!important;border:0!important;white-space:normal;overflow-wrap:anywhere}.landlord-admin [data-li-buildings] [data-li-property-name],.landlord-admin [data-li-buildings] td:has([data-li-property-reference]){grid-column:1/-1;min-width:0}.landlord-admin [data-li-buildings] td::before{content:attr(data-li-column);display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--ll-secondary);margin-bottom:5px}.landlord-admin [data-li-buildings] [data-li-property-name]::before,.landlord-admin [data-li-buildings] .li-photo-col::before{display:none}.landlord-admin [data-intake-record] nav[aria-label="Property detail sections"]{flex-wrap:nowrap!important;overflow-x:auto;max-width:100%}.landlord-admin [data-intake-tab]{flex:0 0 180px!important}}

/* Signed out (sign in, create account, choose a password) in the same Group navy as the workspace, 2026-11-07.
   The body carries landlord-admin from the start; these cover the page's own light-only rules (index.html <style>). */
.landlord-admin .auth h1{color:var(--ll-ink)!important}
.landlord-admin .link{color:#7dddf4}
.landlord-admin .seg{background:var(--ll-sunk);border-color:var(--ll-border)}
.landlord-admin .seg button{background:transparent;color:var(--ll-secondary)}
.landlord-admin .seg button.on{background:var(--ll-active);color:var(--ll-on-active)}
.landlord-admin .msg.err{background:#43201f;color:#ffa59c}
.landlord-admin .msg.ok{background:#123a2c;color:#7fe0ad}
.landlord-admin .steps div{border-top-color:var(--ll-border);color:var(--ll-secondary)}
.landlord-admin .steps div.on{border-top-color:var(--ll-active);color:var(--ll-ink)}
.landlord-admin input::placeholder,.landlord-admin textarea::placeholder{color:var(--ll-muted)}
.landlord-admin input:focus-visible,.landlord-admin textarea:focus-visible,.landlord-admin select:focus-visible{box-shadow:0 0 0 3px var(--ll-focus);border-color:var(--ll-strong)!important}
.landlord-admin .brand small{color:var(--ll-muted)}.landlord-admin .brand small.brand-partner{color:var(--ll-secondary)}
/* Phone and tablet (2026-11-08, Ron: "all the maps, 3d feature and all tools work on phone as well as tablet"): on a touch
   screen every control is at least 44px, the floor studio's floor buttons wrap instead of shrinking, and the map
   libraries' own zoom buttons grow to finger size. Desktop (fine pointer) is unchanged. 2026-11-08 (Ron: "phone like buttons"): tablets only (769px and up); phones take esc-phone.css. */
@media (pointer:coarse) and (min-width:769px){
.landlord-client .btn,.landlord-client .li-nav button,.landlord-client .li-ws-nav button,.landlord-client .li-category-tabs button,.landlord-client button,.landlord-client select,.landlord-client summary,.landlord-client input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){min-height:44px!important}
}
/* the floor studio frame (its own narrow window, its own sliders and floor buttons) keeps touch sizing on every touch screen */
@media (pointer:coarse){
body.client-studio button,body.client-studio select,body.client-studio input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),body.embedded button,body.embedded select,body.embedded input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){min-height:44px!important}
.floor-buttons{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))!important}.floor-buttons button{min-width:44px;min-height:44px!important}
}
@media (pointer:coarse) and (min-width:769px){
.pe-seg>button{min-height:44px!important}
.leaflet-touch .leaflet-bar a,.leaflet-touch .leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}
.maplibregl-ctrl-group button{width:44px!important;height:44px!important}
}
