/* DWELLIVRA workspace appearance — same type scale, icons and layout.
   Theme is opt-in and never affects public pages or the scanned resident form. */
.workspace .dw-org-compact{display:flex;align-items:center;gap:10px;margin:0 4px 13px;padding:10px 9px;min-height:55px;border-bottom:1px solid rgba(175,211,221,.14);min-width:0;color:#e6f1f4}
.workspace .dw-org-compact-mark{flex:0 0 34px;height:34px;display:grid;place-items:center;border:1px solid rgba(145,218,210,.14);border-radius:9px;background:rgba(20,125,120,.26);font-size:11px;font-weight:800;color:#cbebe8}
.workspace .dw-org-compact-text{min-width:0;display:flex;flex-direction:column;gap:3px;line-height:1.25}
.workspace .dw-org-compact-text strong{font-size:11px;max-width:169px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#edf6f7;font-weight:730}
.workspace .dw-org-compact-text small{font-size:10px;color:#90b0bc}
.workspace .ws-top-actions .dw-theme-switch{display:inline-grid!important;place-items:center;flex-shrink:0}
.workspace .ws-top-actions .dw-theme-switch svg{display:block}
.dw-qr-modern-head{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;margin:12px 0 22px;font-family:Inter,Manrope,system-ui,sans-serif}
.dw-qr-modern-head>div{min-width:0;flex:1}
.dw-qr-modern-head span{font-size:11px;font-weight:780;letter-spacing:.12em;color:#147d78}
.dw-qr-modern-head h1{font-size:clamp(27px,2.1vw,34px);margin:8px 0 7px;letter-spacing:-.035em;color:#14263d}
.dw-qr-modern-head p{font-size:14px;color:#64748b;max-width:660px;line-height:1.65;margin:0}
.dw-qr-modern-head .btn{display:inline-flex;align-items:center;gap:9px}
@media(min-width:901px){.workspace .sidebar.dw-rail:not(.dw-rail-expanded) .dw-org-compact{padding:8px 0;margin:0 0 12px;justify-content:center;min-height:45px}.workspace .sidebar.dw-rail:not(.dw-rail-expanded) .dw-org-compact-mark{flex:0 0 32px;height:32px}.workspace .sidebar.dw-rail.dw-rail-expanded .dw-org-compact{margin-left:0;margin-right:0}.workspace .sidebar.dw-rail .dw-org-compact .dw-org-compact-text{overflow:hidden}}
@media(max-width:900px){.workspace .dw-org-compact{margin:0 6px 10px}}
/* Charcoal/slate theme: trusted teal remains recognisable, no font or icon replacement. */
.workspace.dw-theme-dark{
 --dw26-navy:#e7f0f6;--dw26-navy-deep:#07101b;
 --dw26-teal:#42beb3;--dw26-teal-hover:#229f96;--dw26-teal-soft:#173b3b;
 --dw26-bg:#0a121c;--dw26-card:#142230;--dw26-ink:#e2eaf2;
 --dw26-subtle:#9eb0c1;--dw26-line:#293949;--dw26-line-strong:#395064;
 --dw26-shadow:0 4px 16px rgba(0,0,0,.16);
 --ink:#e2eaf2;--muted:#9fb2c3;--line:#2b4053;--paper:#142230;--surface:#142230;
 color:#e4eef6!important;background:#0a121c!important;color-scheme:dark;
}
.workspace.dw-theme-dark .workspace-body,.workspace.dw-theme-dark .workspace-content{background:#0a121c!important;color:#e4eef6!important}
.workspace.dw-theme-dark .ws-header{background:#101d2b!important;border-color:#283c4c!important}
.workspace.dw-theme-dark .workspace-context{border-color:#263847!important}
.workspace.dw-theme-dark .ws-breadcrumb,.workspace.dw-theme-dark .ws-breadcrumb span,.workspace.dw-theme-dark .workspace-context span{color:#9eb2c2!important}
.workspace.dw-theme-dark .ws-breadcrumb strong{color:#f0f5fa!important}
.workspace.dw-theme-dark .ws-global-search{background:#162738!important;border-color:#385063!important}
.workspace.dw-theme-dark .ws-global-search input{color:#e9f0f6!important}
.workspace.dw-theme-dark .ws-global-search input::placeholder{color:#92a9b9!important}
.workspace.dw-theme-dark .ws-header :is(.icon-btn,.ws-calendar-shortcut){background:#172a3a!important;border-color:#334b5f!important;color:#d7e5ee!important}
.workspace.dw-theme-dark .ws-header :is(.icon-btn,.ws-calendar-shortcut):hover{background:#213e4a!important;color:#68d0c0!important}
.workspace.dw-theme-dark :is(h1,h2,h3,h4,.page-title h1,.dwu-heading h1,.dwu-section-head h2,.dwu-panel-head h2,.dwu-kpi strong,.dwu-tile-main strong,.dwu-property-row strong,.dw-qr-modern-head h1){color:#e9f2f8!important}
.workspace.dw-theme-dark :is(p,small,.muted,.table-sub,.dwu-heading p,.dwu-section-head p,.dwu-kpi small,.dwu-kpi span,.dwu-property-row small,.dwu-mini-row small,.dw-qr-modern-head p){color:#a2b5c5!important}
.workspace.dw-theme-dark :is(.panel,.card,.v4-panel,.enterprise-panel,.op-section,.op-property-card,.op-metric,.stat-card,.finance-premium-kpi,.finance-performance,.finance-bank-card,.finance-cash-card,.finance-statement,.mail-shell,.email-provider,.ti-panel,.ti-kpi,.ai-premium-panel,.ai-premium-template,.dw-sector-panel,.dw-sector-stat,.dw-sector-register,.business-health-card,.workspace-feature-slide,.billing-plan,.billing-page .panel,.op-map-properties,.op-settings-content,.dwu-portfolios,.dwu-kpi,.dwu-panel,.dwu-tile,.dwu-action,.dwu-portfolio-tabs,.dwu-property-form .dwu-form-header,.workspace-setup,.enterprise-dashboard .panel,.workspace-setup-steps,.finance-page,.finance-card,.op-property-placeholder,.op-settings-nav){
 background:#142230!important;border-color:#293e4e!important;box-shadow:0 3px 12px rgba(0,0,0,.14)!important;color:#e1ebf3!important
}
.workspace.dw-theme-dark :is(.dwu-panel-head,.dwu-property-row,.dwu-mini-row,.op-table td,.op-table th,.table-wrap td,.table-wrap th,.finance-tabs,.dwu-form-steps,.workspace-feature-slide){border-color:#2a3a48!important}
.workspace.dw-theme-dark :is(.dwu-list-head,.op-table thead,.table-wrap thead,.dwu-form-steps span,.dwu-search,.op-segment,.op-segment button,.sn-tab,.finance-page th){background:#192b3a!important;color:#c5d6e0!important}
.workspace.dw-theme-dark :is(.dwu-tile,.dwu-action):hover{background:#1c3340!important;border-color:#3fbbaf!important}
.workspace.dw-theme-dark .dwu-tile-photo{opacity:.065!important}
.workspace.dw-theme-dark .dwu-property-row:hover,.workspace.dw-theme-dark :is(.op-property-card,.dwu-mini-row):hover{background:#1b3443!important}
.workspace.dw-theme-dark :is(.dwu-mode-select select,.dwu-search input,.input,select,textarea,input:not([type=checkbox]),.ws-global-search,.mail-search,input[type=search]){background:#152737!important;border-color:#375064!important;color:#e4f1f6!important}
.workspace.dw-theme-dark :is(input,textarea)::placeholder{color:#90a8ba!important}
.workspace.dw-theme-dark :is(.btn-outline,.btn-ghost,.op-segment button,.dwu-portfolio-tabs button,.op-settings-nav button){background:#1b2f3e!important;color:#d6e8f0!important;border-color:#365165!important}
.workspace.dw-theme-dark :is(.btn-outline,.btn-ghost,.op-segment button):hover{background:#254451!important;color:#eaf6f5!important}
.workspace.dw-theme-dark .btn-primary{background:#147d78!important;border-color:#147d78!important;color:white!important}
.workspace.dw-theme-dark .btn-primary:hover{background:#229e93!important;border-color:#229e93!important}
.workspace.dw-theme-dark .dwu-portfolio-tabs .selected{background:#147d78!important;color:white!important}
.workspace.dw-theme-dark :is(.dwu-kpi-icon,.dwu-tile-icon,.dwu-icon-chip,.dwu-badge,.stat-icon,.op-metric-icon){background:#173f40!important;color:#6bd6c9!important}
.workspace.dw-theme-dark :is(.dwu-badge,.dwu-subtle,.table-sub,.stat-meta,.op-kicker,.page-crumb,.dwu-kicker){color:#80cfc7!important}
.workspace.dw-theme-dark :is(.dwu-footer-note,.info-callout,.op-map-note,.dwu-property-form .dwu-pick>span,.dwu-form-steps .current){background:#183a3a!important;border-color:#2d6661!important;color:#d9eded!important}
.workspace.dw-theme-dark .dwu-property-form .dwu-pick input:checked+span{background:#214647!important;border-color:#42beb3!important}
.workspace.dw-theme-dark :is(.dwu-kpi,.dwu-panel) :is(.badge.green,.badge.amber,.badge.red){border-color:transparent!important}
.workspace.dw-theme-dark :is(.badge.grey,.badge.blue){background:#254157!important;color:#e0f0ff!important}
.workspace.dw-theme-dark .dwu-alert{background:#332b1d!important;border-color:#856e40!important;color:#ffd898!important}
.workspace.dw-theme-dark :is(.op-map-stage,.op-map-status,.finance-chart,.enterprise-chart,.dwu-thumb,.op-property-placeholder){background:#112232!important;color:#dceaf3!important}
.workspace.dw-theme-dark .sidebar{background:linear-gradient(165deg,#0e1d2d,#081522)!important}
.workspace.dw-theme-dark .sidebar .sidebar-link.active{background:#147d78!important}
.workspace.dw-theme-dark .workspace-profile-panel{background:#152737!important;border:1px solid #30465b!important;color:#e3eff6!important}
.workspace.dw-theme-dark .workspace-profile-panel :is(button,span,strong){color:#e5f2f7!important}
.workspace.dw-theme-dark .workspace-profile-panel nav button:hover{background:#234353!important}
body:has(.workspace.dw-theme-dark) :is(.modal-backdrop,.sn-backdrop){background:rgba(1,8,14,.82)!important}
body:has(.workspace.dw-theme-dark) :is(.modal,.sn-center,.modal .panel){background:#142230!important;color:#e7f1f7!important;border:1px solid #345063!important}
body:has(.workspace.dw-theme-dark) .modal :is(h1,h2,h3,h4,strong,label){color:#e7f1f7!important}
body:has(.workspace.dw-theme-dark) .modal :is(p,.muted,small,.modal-sub){color:#a6bbca!important}
body:has(.workspace.dw-theme-dark) .modal :is(input,textarea,select){background:#172c3c!important;color:#e9f2f7!important;border-color:#395568!important}
body:has(.workspace.dw-theme-dark) .modal :is(.data-row,.list-item){background:#192c3b!important;border-color:#345063!important;color:#e7f1f7!important}
body:has(.workspace.dw-theme-dark) :is(.sn-item,.sn-header,.sn-toolbar,.sn-list,.sn-footer){background:#142230!important;color:#e7f1f7!important;border-color:#2d4557!important}
body:has(.workspace.dw-theme-dark) .sn-item h3{color:#e6f1f5!important}
@media(max-width:670px){.dw-qr-modern-head{align-items:flex-start}.dw-qr-modern-head .btn{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.workspace.dw-theme-dark *{transition:none!important}}

/* An integrated workspace entry point; the signed-in generator opens on this site,
   avoiding a frame that Vercel intentionally blocks with X-Frame-Options: DENY. */
.workspace .dw-qr-manager-entry{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;background:#fff;border:1px solid #e2e8ef;border-radius:13px;padding:25px;margin:18px 0;box-shadow:0 2px 10px rgba(20,38,61,.04)}
.workspace .dw-qr-manager-entry>div{max-width:630px;min-width:0}
.workspace .dw-qr-manager-entry>div>svg{color:#147d78;margin-bottom:10px}
.workspace .dw-qr-manager-entry h2{margin:0 0 8px;font-size:19px;letter-spacing:-.025em}
.workspace .dw-qr-manager-entry p{margin:0;color:#63788c;line-height:1.7;font-size:13px}
.workspace .dw-qr-manager-entry .btn{display:inline-flex;gap:9px;align-items:center;white-space:nowrap}
.workspace.dw-theme-dark .dw-qr-manager-entry{background:#142230!important;color:#e7f1f7!important;border-color:#293e4e!important}
.workspace.dw-theme-dark .dw-qr-manager-entry p{color:#a9becf!important}
@media(max-width:750px){.workspace .dw-qr-manager-entry .btn{width:100%;justify-content:center}}
