/* DWELLIVRA Enterprise Workspace UI · November 2026
   Visual architecture shared by production workspace, isolated demo, portals and admin.
   No business logic, permissions, routing, backend or billing behaviour is changed.
   Reference direction: Atlassian information architecture x Linear clarity; original DWELLIVRA identity.
*/
.workspace{
  --dw26-navy:#14263D;--dw26-navy-deep:#0D1B2A;--dw26-teal:#147D78;
  --dw26-teal-hover:#106B66;--dw26-teal-soft:#E9F5F2;
  --dw26-bg:#F6F8FA;--dw26-card:#FFFFFF;--dw26-ink:#172B40;
  --dw26-subtle:#64748B;--dw26-line:#E2E8EF;--dw26-line-strong:#CDD7E1;
  --dw26-green:#166534;--dw26-amber:#B45309;--dw26-red:#B91C1C;
  --dw26-radius:12px;--dw26-shadow:0 2px 9px rgba(20,38,61,.035);
  font-family:Inter,Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:14px;line-height:1.5;color:var(--dw26-ink);background:var(--dw26-bg);
  -webkit-font-smoothing:antialiased;
}
.workspace *{box-sizing:border-box}
.workspace .workspace-body{background:var(--dw26-bg);min-width:0}
.workspace .workspace-content{max-width:1640px;width:100%;padding:28px clamp(22px,2.5vw,42px) 78px;margin:0 auto;overflow-x:clip}
.workspace .workspace-content>*,.workspace .workspace-body>*,.workspace .enterprise-dashboard>*{min-width:0}
.workspace :is(h1,h2,h3,h4){font-family:inherit;color:var(--dw26-navy);letter-spacing:-.028em}
.workspace :is(.page-title h1,.op-hero h1,.mail-heading h1,.enterprise-dashboard-head h1){font-size:clamp(26px,2.15vw,32px);line-height:1.18;font-weight:750;letter-spacing:-.036em}
.workspace :is(.page-title p,.op-hero p,.mail-heading p,.enterprise-dashboard-head p){font-size:14px;line-height:1.6;color:var(--dw26-subtle)}
.workspace :is(.op-kicker,.eyebrow,.dashboard-kicker,.page-crumb){color:var(--dw26-teal);font-size:11px;letter-spacing:.115em;font-weight:750}
.workspace :is(.small,.table-sub,.op-reference,.ws-breadcrumb){font-size:12px}
.workspace :is(.tiny,.subtle){font-size:12px}
.workspace a{accent-color:var(--dw26-teal)}
.workspace :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid rgba(20,125,120,.35)!important;outline-offset:2px}
.workspace svg{flex-shrink:0}
/* Global application navigation: restrained, legible and consistent. */
.workspace .sidebar{background:linear-gradient(165deg,#14263D,#0D1B2A);color:#DDE9F0;border-color:#203B53;box-shadow:none}
.workspace .sidebar .sidebar-brand{padding-top:3px;padding-bottom:12px}
.workspace .sidebar .dw-brand-type,.workspace .sidebar .brand{color:#fff}
.workspace .sidebar :is(.sidebar-link,.nav-group-label){font-family:Inter,Manrope,system-ui,sans-serif}
.workspace .sidebar .nav-group-label{color:#8FAABD;font-size:10px;letter-spacing:.13em;font-weight:750;margin-top:13px;margin-bottom:4px}
.workspace .sidebar .sidebar-link{min-height:39px;padding-block:9px;border-radius:8px;color:#D7E6EF;font-size:13px;font-weight:530;transition:background .15s,color .15s}
.workspace .sidebar .sidebar-link svg{color:#AFC9D4;width:18px;height:18px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.workspace .sidebar .sidebar-link:hover{background:rgba(255,255,255,.085);color:#fff}
.workspace .sidebar .sidebar-link:hover svg{color:#E6F7F5}
.workspace .sidebar .sidebar-link.active{color:#fff;background:#147D78!important;font-weight:675}
.workspace .sidebar .sidebar-link.active svg{color:#fff}
.workspace .sidebar .sidebar-link.active:before{background:#77D4BE!important}
.workspace .sidebar .dw-rail-menu{scrollbar-color:#4D7381 #173049}
.workspace .sidebar .ws-switch{border-radius:9px;border-color:rgba(175,211,221,.22);background:rgba(255,255,255,.05)}
.workspace .sidebar .sidebar-bottom{border-color:rgba(255,255,255,.14)}
.workspace .sidebar .dw-rail-scroll-tools{background:rgba(15,34,55,.9)}
/* Header / breadcrumbs / organisation context. */
.workspace .ws-header{height:72px;min-height:72px;gap:16px;background:#fff;border-bottom:1px solid var(--dw26-line);box-shadow:none;padding:0 clamp(20px,2.5vw,42px)}
.workspace .ws-breadcrumb{color:#718195;gap:10px;font-weight:500}
.workspace .ws-breadcrumb strong{color:var(--dw26-navy);font-weight:700;font-size:13px}
.workspace .ws-breadcrumb .sep{color:#C0CDD6}
.workspace .ws-global-search{height:40px;max-width:430px;border:1px solid #DEE6ED;background:#F9FBFC;border-radius:9px;box-shadow:none}
.workspace .ws-global-search input{font-size:13px;color:var(--dw26-ink);background:transparent}
.workspace .ws-global-search input::placeholder{color:#8A99A8}
.workspace .ws-global-search:focus-within{background:#fff;border-color:#86BBB4;box-shadow:0 0 0 3px rgba(20,125,120,.11)}
.workspace .ws-top-actions{gap:9px}
.workspace .ws-header :is(.icon-btn,.ws-calendar-shortcut){width:39px;height:39px;min-width:39px;border:1px solid #E0E7ED;border-radius:9px;background:#fff;color:#52677B;box-shadow:none}
.workspace .ws-header :is(.icon-btn,.ws-calendar-shortcut):hover{background:#F0F8F6;border-color:#B6D7CF;color:#147D78}
.workspace .ws-header .avatar{height:35px;width:35px;border-radius:50%;background:#11687A;color:#fff}
.workspace .workspace-context{display:flex;align-items:center;min-height:36px;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid #E7ECF0;color:#708195}
.workspace .workspace-context>span:last-child{font-size:10px;letter-spacing:.11em;font-weight:650;color:#91A0AC}
/* Buttons are never replaced by non-interactive mock elements. */
.workspace .btn{min-height:40px;padding:9px 15px;border-radius:8px;font-size:13px;font-weight:650;letter-spacing:0;line-height:1.4;box-shadow:none;transition:background .16s,border-color .16s,color .16s}
.workspace .btn:hover{transform:none}
.workspace .btn-primary{background:var(--dw26-teal);border-color:var(--dw26-teal);color:#fff}
.workspace .btn-primary:hover{background:var(--dw26-teal-hover);border-color:var(--dw26-teal-hover);color:#fff}
.workspace .btn-outline{background:#fff;border-color:var(--dw26-line-strong);color:#34485C}
.workspace .btn-outline:hover{background:#F4F8F8;border-color:#AACAC4;color:var(--dw26-navy)}
.workspace .btn-ghost{background:transparent;border-color:transparent;color:#485D70}
.workspace .btn-ghost:hover{background:#EEF5F5;color:var(--dw26-teal)}
.workspace .btn-sm{min-height:35px;padding:7px 12px;font-size:12px}
.workspace .icon-btn{border-radius:8px}
/* Shared surface vocabulary: one platform rather than disconnected pages. */
.workspace :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){
  background:#fff;border:1px solid var(--dw26-line);border-radius:var(--dw26-radius);box-shadow:var(--dw26-shadow);
}
.workspace :is(.panel,.v4-panel,.enterprise-panel,.op-section,.mail-shell,.finance-performance,.ti-panel,.ai-premium-panel){overflow:hidden}
.workspace :is(.panel-pad,.op-section,.ai-premium-panel){padding:22px}
.workspace :is(.panel-head,.op-section-head,.enterprise-panel-head,.mail-list-top,.ti-panel-head){padding:17px 21px;border-bottom:1px solid #EDF1F4;background:#fff}
.workspace :is(.panel-head h2,.panel-head h3,.op-section-head h2,.enterprise-panel-head h2,.ti-panel-head h2){font-size:16px;line-height:1.3;letter-spacing:-.02em;font-weight:700;margin:0;color:var(--dw26-navy)}
.workspace .panel:hover,.workspace .op-section:hover{border-color:#DCE5EB}
.workspace .grid2,.workspace .grid3,.workspace .grid4{gap:18px}
.workspace :is(.op-hero,.page-title,.mail-heading){margin:4px 0 24px;gap:20px}
.workspace .op-hero{align-items:center}
.workspace :is(.label,.field label){font-size:13px;font-weight:650;color:#354C62;letter-spacing:0}
.workspace .field{margin-bottom:17px}
.workspace :is(.input,input:not([type=checkbox]):not([type=radio]),textarea,select){min-height:42px;border:1px solid #CEDAE2;border-radius:8px;background:#fff;color:var(--dw26-ink);padding:9px 12px;font-size:14px;box-shadow:none}
.workspace textarea{resize:vertical;min-height:100px}
.workspace :is(.input,input:not([type=checkbox]):not([type=radio]),textarea,select):focus{border-color:#6AAF9F;box-shadow:0 0 0 3px rgba(20,125,120,.1);outline:none}
.workspace :is(.tabs,.finance-tabs,.op-segment,.pilltabs,.op-property-tabs){gap:3px;scrollbar-width:thin}
.workspace :is(.tabs button,.finance-tabs>button,.op-segment button,.pilltabs button,.op-property-tabs button){font-size:13px;font-weight:640;white-space:nowrap}
.workspace :is(.tabs button.active,.finance-tabs>button.active,.op-segment button.active,.pilltabs button.active,.op-property-tabs button.active){color:#116F6B}
.workspace :is(.tabs button.active,.finance-tabs>button.active,.op-property-tabs button.active){border-bottom-color:var(--dw26-teal)}
.workspace .op-segment{border-radius:9px;background:#F1F5F7;padding:3px}
.workspace .op-segment button.active{background:#fff;border-radius:7px;box-shadow:0 1px 3px #14263D16}
.workspace .table-wrap{max-width:100%;overflow-x:auto;border-radius:0 0 12px 12px}
.workspace table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;color:#34485C;min-width:650px}
.workspace thead th,.workspace .op-table th,.workspace .finance-table th{height:45px;background:#F7F9FB;color:#5E7084;border-bottom:1px solid #E6EBF0;padding:12px 15px;font-size:12px;text-transform:none;letter-spacing:.012em;font-weight:700;text-align:left;white-space:nowrap}
.workspace tbody td,.workspace .op-table td,.workspace .finance-table td{height:53px;padding:13px 15px;border-bottom:1px solid #EDF1F4;font-size:13px;line-height:1.45;vertical-align:middle}
.workspace tbody tr:last-child td{border-bottom-color:transparent}
.workspace tbody tr:hover td{background:#FBFDFD}
.workspace :is(th.money,td.money,.amount,.money,.finance-premium-kpi-value){font-variant-numeric:tabular-nums}
.workspace :is(.table-title,.op-table strong){color:#24384E;font-weight:670}
.workspace .table-sub{color:#8292A2;font-size:12px;line-height:1.45}
.workspace .badge,.workspace .op-status,.workspace .op-role{border-radius:999px;padding:4px 9px;font-size:11px;line-height:1.2;font-weight:700;letter-spacing:0}
.workspace .badge.green{color:#166534;background:#E8F7EE}
.workspace .badge.red{color:#B91C1C;background:#FEF0F0}
.workspace .badge.amber{color:#975205;background:#FFF3DF}
.workspace .badge.blue{color:#1D4ED8;background:#EFF6FF}
.workspace .badge.grey{color:#596B7D;background:#F0F3F6}
.workspace :is(.op-empty,.empty-state,.mail-empty){color:#718296;background:#FBFCFD;border-color:#E5EDF1}
.workspace :is(.info-callout,.op-inline-notice,.finance-helper){border-radius:10px;line-height:1.55}
/* 01 · Workspace overview: priority actions first, KPIs and operational charts below. */
.workspace .enterprise-dashboard{display:grid;gap:21px;margin-top:2px}
.workspace .enterprise-dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:22px;padding:0 0 2px}
.workspace .enterprise-dashboard-head h1{margin:7px 0 7px}
.workspace .enterprise-dashboard-head p{margin:0}
.workspace .enterprise-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.workspace .enterprise-kpi{min-height:122px;padding:21px 18px;border:1px solid var(--dw26-line);background:#fff;border-radius:12px;box-shadow:var(--dw26-shadow);color:var(--dw26-ink)}
.workspace .enterprise-kpi:hover{transform:translateY(-1px);border-color:#B5D2CC;box-shadow:0 6px 18px #14263D0C}
.workspace .enterprise-kpi-icon{width:42px;height:42px;background:#E7F5F2;border-radius:10px;color:#147D78}
.workspace .enterprise-kpi small{font-size:12px;color:#667A8D}
.workspace .enterprise-kpi strong{font-size:30px;letter-spacing:-.04em;font-weight:780;color:#14263D}
.workspace .enterprise-attention-grid{grid-template-columns:minmax(0,1.45fr) minmax(290px,.85fr);gap:18px}
.workspace .enterprise-insight-grid,.workspace .enterprise-lower-grid{gap:18px}
.workspace .enterprise-panel-head span{color:var(--dw26-teal);font-size:10px;letter-spacing:.13em;font-weight:800}
.workspace .enterprise-panel-head a{color:var(--dw26-teal);font-size:12px;font-weight:720}
.workspace .enterprise-action-list button,.workspace .enterprise-deadline-list button{min-height:57px;border-color:#ECF1F4}
.workspace .enterprise-action-list b,.workspace .enterprise-deadline-list b{font-size:13px;color:#263B50}
.workspace .enterprise-action-list small,.workspace .enterprise-deadline-list small{font-size:12px;color:#718294}
.workspace .enterprise-bars i b{background:#147D78}
.workspace .enterprise-dashboard :is(.v4-ring,.enterprise-occupancy-ring){color:var(--dw26-navy)}
/* Setup and onboarding remain accessible, but visually secondary to daily work. */
.workspace .enterprise-setup{margin-top:8px;border:1px solid #DDE9E9;border-radius:12px;background:#fff;box-shadow:none}
.workspace .workspace-feature-carousel{margin-top:5px;background:#fff;border:1px solid var(--dw26-line);border-radius:12px}
.workspace .workspace-feature-head{padding:16px 20px}
.workspace .workspace-feature-slide{box-shadow:none}
/* 02—05 & 43 · Properties, detail, CRM, cards and map. */
.workspace .op-portfolio{min-width:0}
.workspace .op-property-grid{gap:18px}
.workspace .op-property-card{overflow:hidden;transition:box-shadow .18s,border-color .18s,transform .18s}
.workspace .op-property-card:hover{border-color:#B8D8D2;box-shadow:0 12px 27px #14263D12;transform:translateY(-2px)}
.workspace .op-property-image{height:174px;background:#E8ECEF;overflow:hidden}
.workspace .op-property-image img{width:100%;height:100%;object-fit:cover}
.workspace .op-property-card-body{padding:18px}
.workspace .op-property-card-body h3{font-size:16px;line-height:1.26;font-weight:720;color:#172B40;overflow-wrap:anywhere}
.workspace .op-property-card-body :is(p,small){font-size:12px;color:#728395}
.workspace .op-property-detail-photo{border-radius:12px;overflow:hidden;object-fit:cover;max-height:420px}
.workspace .op-property-tabs{border-bottom:1px solid var(--dw26-line);gap:5px;padding-bottom:0;overflow-x:auto}
.workspace .op-property-tabs button{border-radius:8px 8px 0 0;padding:11px 16px;min-height:43px}
.workspace .op-property-tab-panel{padding:20px;background:#fff;border-radius:0 0 12px 12px}
.workspace .op-detail-facts{gap:16px 25px}
.workspace .op-map-layout{border-radius:12px;overflow:hidden;border:1px solid var(--dw26-line)}
.workspace .op-map-property{padding:15px 18px;border-bottom:1px solid #EFF2F5}
.workspace .op-map-property:hover{background:#F5FBF9}
.workspace .op-map-stage{min-width:0}
.workspace .op-reference{font-size:12px;color:#64788D}
.workspace .op-avatar{background:#E6F4F1;color:#116C67}
/* 06—09 · Requests, Maintenance, Complaints and Calendar. */
.workspace .op-metrics{gap:15px;margin-bottom:19px}
.workspace .op-metric{min-height:107px;padding:18px;gap:13px}
.workspace .op-metric-icon{background:#E9F5F2;color:#147D78;border-radius:10px}
.workspace .op-metric strong{font-size:27px;line-height:1.1;font-variant-numeric:tabular-nums;color:#14263D}
.workspace .op-metric div>span,.workspace .op-metric small{font-size:12px;color:#66798B}
.workspace .op-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.workspace .op-section-head .row{gap:9px}
.workspace .op-calendar-layout{gap:18px}
.workspace .op-calendar{border-radius:12px;overflow:hidden}
.workspace .op-calendar :is(.op-day,.op-weekdays){border-color:#EDF1F4}
.workspace .op-calendar .op-day.today{background:#F0FAF7}
.workspace .op-calendar .op-event-chip{font-size:11px;border-radius:5px}
.workspace .op-agenda{border:1px solid var(--dw26-line);border-radius:12px;background:#fff;overflow:hidden}
.workspace .op-settings-layout{border:1px solid var(--dw26-line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:var(--dw26-shadow)}
.workspace .op-settings-nav{background:#F8FAFB;border-right:1px solid #E7EDF1}
.workspace .op-settings-nav button{color:#586C80;font-size:13px;min-height:40px}
.workspace .op-settings-nav button.active{color:#126F69;background:#E6F4F1}
.workspace .op-settings-content{border:0;border-radius:0;box-shadow:none}
/* 10 · Unified Inbox: rich three-pane UI with clear read/unread state. */
.workspace .mail-workspace{max-width:none;margin:auto;color:var(--dw26-ink)}
.workspace .mail-heading{margin-bottom:21px}
.workspace .mail-shell{border:1px solid var(--dw26-line);box-shadow:var(--dw26-shadow);border-radius:12px;background:#fff;min-height:610px}
.workspace .mail-folders{background:#FAFCFD;border-right:1px solid #E8EDF0}
.workspace .mail-content,.workspace .mail-list,.workspace .mail-reader{background:#fff;min-width:0}
.workspace .mail-list{border-right:1px solid #E8EDF0}
.workspace .mail-folder,.workspace .mail-account-label{font-size:13px}
.workspace .mail-message-list :is(.mail-message-subject,.mail-message-meta){font-size:13px}
.workspace .mail-message-list :is(.mail-message-preview,.mail-message-date){font-size:12px;color:#738495}
.workspace .mail-message-item:hover,.workspace .mail-message-row:hover{background:#F5FAF8}
.workspace .mail-message-item.active,.workspace .mail-message-row.active{background:#E9F5F2;border-left:3px solid #147D78}
.workspace .mail-reader{line-height:1.65}
.workspace .mail-reader :is(.mail-body,.mail-body p){font-size:14px;line-height:1.7}
.workspace .mail-compose{border:1px solid #DDE7EC;border-radius:12px;background:#fff;box-shadow:0 20px 65px rgba(20,38,61,.13)}
.workspace .mail-compose :is(input,textarea){font-size:14px}
/* 11 · Trust Intelligence: remove decorative bloat, prioritise credible data. */
.workspace .ti-page{color:var(--dw26-ink)}
.workspace .ti-hero{background:#F8FBFB;border:1px solid var(--dw26-line);border-radius:12px;min-height:184px;padding:24px 25px}
.workspace .ti-hero:before,.workspace .ti-hero:after{opacity:.08}
.workspace .ti-hero h1{font-size:clamp(26px,2.1vw,32px);letter-spacing:-.035em;color:#14263D}
.workspace .ti-hero p{font-size:14px;color:#607588;line-height:1.6}
.workspace .ti-kpis{gap:15px}
.workspace .ti-kpi{padding:20px;background:#fff}
.workspace .ti-kpi-value{font-size:29px;color:#14263D}
.workspace .ti-columns{gap:18px}
.workspace .ti-panel{border-radius:12px;padding:21px}
.workspace .ti-chart-card{background:#fff;border-radius:10px}
.workspace .ti-review-source{gap:12px}
.workspace .ti-review-source b,.workspace .ti-review-info{font-size:13px}
.workspace .ti-source-status{font-size:11px}
.workspace .ti-key-insight{background:#ECF8F4;border:1px solid #D4EAE2}
/* 14 · Reports, KPI charts and analytics without false figures. */
.workspace .v4-panel{padding:20px}
.workspace .v4-panel h2{font-size:17px;font-weight:700}
.workspace :is(.v4-kpi,.stat-card,.business-health-card){border-radius:12px}
.workspace .stat-card{padding:20px}
.workspace .stat-val{font-size:29px;color:#14263D;font-weight:770}
.workspace .stat-label{font-size:12px;color:#66798B}
.workspace .stat-meta{font-size:12px;color:#718398}
/* 15 · AI Assistance: a focused professional drafting workspace. */
.workspace .ai-premium-page{color:var(--dw26-ink)}
.workspace .ai-premium-hero{min-height:156px;padding:23px 25px;background:#F8FBFB;border-color:var(--dw26-line);border-radius:12px}
.workspace .ai-premium-hero:before,.workspace .ai-premium-hero:after{opacity:.1}
.workspace .ai-premium-hero h1{color:#14263D;font-size:clamp(26px,2.1vw,32px)}
.workspace .ai-premium-benefits{gap:8px}
.workspace .ai-premium-benefit{background:#fff;border:1px solid #E2E9EE}
.workspace .ai-premium-main{gap:18px}
.workspace .ai-premium-panel{border-radius:12px;box-shadow:var(--dw26-shadow)}
.workspace .ai-premium-card-head{padding-bottom:15px;border-bottom:1px solid #ECF0F3}
.workspace .ai-premium-card-head h2{font-size:17px;color:#14263D}
.workspace .ai-premium-field label{font-size:13px;color:#334B60}
.workspace .ai-premium-editor{line-height:1.75;font-size:14px;min-height:245px;border:1px solid #DCE7EA;border-radius:9px}
.workspace .ai-premium-template-list{gap:11px}
.workspace .ai-premium-template{border-radius:9px;min-height:75px;padding:13px;font-size:12px}
.workspace .ai-premium-template:hover{background:#F1F9F6;border-color:#B5D9CF}
.workspace .ai-premium-recent b,.workspace .ai-premium-recent small{font-size:12px}
/* 16—20 · Team, Integrations, Settings, Billing, Notifications. */
.workspace .data-row{padding:15px 18px;gap:16px;border-color:#EDF1F4;font-size:13px}
.workspace .data-row:hover{background:#FBFDFC}
.workspace .email-provider,.workspace .finance-integration-grid>article{padding:22px;border:1px solid var(--dw26-line);border-radius:12px;background:#fff}
.workspace .email-provider-heading{font-size:16px;color:#14263D}
.workspace .workspace-profile-panel,.workspace .workspace-account-menu,.workspace .notification-panel,.workspace .sn-panel{background:#fff;border:1px solid var(--dw26-line);border-radius:12px;box-shadow:0 16px 45px rgba(20,38,61,.14)}
.workspace .workspace-profile-panel :is(button,a),.workspace .workspace-account-menu :is(button,a){font-size:13px}
.workspace .notification-panel :is(p,small),.workspace .sn-panel :is(p,small){font-size:12px}
.workspace :is(.billing-plan,.billing-page .panel){padding:21px;border:1px solid var(--dw26-line);background:#fff;border-radius:12px}
.workspace .billing-page :is(h1,h2,h3){color:#14263D}
.workspace .billing-page .btn-primary{background:#147D78}
.workspace .billing-plan.highlight,.workspace .billing-plan.current{border-color:#147D78}
/* 21—29,49 · Full accounting and finance suite. Ledger calculations remain untouched. */
.workspace .finance-page{--fin-teal:#147D78;--fin-navy:#14263D;--fin-muted:#64748B;color:#172B40}
.workspace .finance-toolbar{border-bottom:1px solid #E4EAF0;margin:0 0 20px}
.workspace .finance-tabs{gap:6px;overflow-x:auto;scrollbar-width:thin}
.workspace .finance-tabs>button{font-size:13px;color:#61758B;padding:13px 13px;font-weight:630}
.workspace .finance-tabs>button:hover{background:#F4F9F8;color:#126F69}
.workspace .finance-tabs>button.active{border-bottom:3px solid #147D78;color:#106B66;background:#F8FCFA}
.workspace .finance-premium-kpis{gap:15px;margin-bottom:20px}
.workspace .finance-premium-kpi{min-height:120px;padding:19px}
.workspace .finance-premium-kpi-heading{font-size:12px;color:#64788A}
.workspace .finance-premium-kpi-value{font-size:27px;font-weight:760;letter-spacing:-.035em}
.workspace .finance-premium-kpi-icon{color:#147D78;background:#EAF5F2;border-radius:9px}
.workspace .finance-dashboard-grid{gap:18px}
.workspace .finance-performance{padding:0}
.workspace .finance-chart{border-color:#E9EEF1}
.workspace .finance-chart-legend,.workspace .finance-chart-month{font-size:12px;color:#758699}
.workspace .finance-bars .income{background:#147D78}
.workspace .finance-aging{gap:14px}
.workspace .finance-aging>div{border-radius:9px}
.workspace .finance-quick-actions{gap:10px}
.workspace .finance-bank-cards,.workspace .finance-owner-grid{gap:17px}
.workspace .finance-bank-card{padding:21px}
.workspace .finance-statement{border:1px solid #DFE8ED;border-radius:12px;background:#fff}
.workspace .finance-statement-balances strong{font-size:25px;color:#14263D;font-variant-numeric:tabular-nums}
.workspace .finance-period :is(label,span){font-size:13px}
.workspace .finance-row-actions{gap:8px}
.workspace .finance-setup-banner{border-radius:10px;border:1px solid #D8E7E2}
.workspace .finance-report-actions{gap:10px}
.workspace .finance-integration-grid{gap:16px}
.workspace .finance-integration-grid h3{font-size:16px;margin:10px 0}
.workspace .finance-integration-grid p{font-size:13px;color:#718397;line-height:1.55}
.workspace .finance-footnote,.workspace .finance-form-note{font-size:12px;color:#7A8B9C}
/* 30—34,44—46,48—49 · Sector workspaces and registers. */
.workspace .dw-platform-wrap,.workspace .dw-sector-panel{min-width:0}
.workspace .dw-platform-heading{margin-bottom:23px}
.workspace .dw-platform-heading :is(h1,h2){font-size:clamp(25px,2vw,30px);color:#14263D}
.workspace .dw-sector-grid,.workspace .dw-platform-summary{gap:16px}
.workspace .dw-sector-panel{padding:23px}
.workspace .dw-sector-panel-icon{color:#147D78;background:#E9F5F2;border-radius:10px}
.workspace .dw-sector-panel :is(h3,p){line-height:1.45}
.workspace .dw-sector-panel h3{font-size:17px;color:#14263D}
.workspace .dw-sector-panel p{font-size:13px;color:#667B8C}
.workspace .dw-sector-tag{background:#E9F5F2;color:#12766E;border-radius:999px;font-size:11px}
.workspace .dw-sector-stat{padding:20px}
.workspace .dw-sector-stat strong{font-size:25px;color:#14263D;font-variant-numeric:tabular-nums}
.workspace .dw-sector-register{background:#fff;padding:20px}
.workspace .dw-register-heading{font-size:17px;color:#14263D}
.workspace .dw-register-table{border-color:#E6EDF1}
/* 35—37,38—41 · Tenant/landlord/contractor portals, admin and compliance. */
.workspace:has(a[href^="#/portal/"]) .workspace-content> .row.mb{border-bottom:1px solid var(--dw26-line);padding-bottom:15px}
.workspace .op-security-row{border-color:#E8EDF1;padding:15px 0}
.workspace .op-security-row strong{font-size:13px}
.workspace :is(.op-toggle,.op-settings-note){font-size:13px}
.workspace .op-settings-note{color:#66788A}
.workspace .modal-backdrop{background:rgba(13,27,42,.48);backdrop-filter:blur(2px)}
.workspace :is(.modal,.modal-card,.drawer){border:1px solid var(--dw26-line);background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(13,27,42,.19);max-height:calc(100svh - 28px);overflow-y:auto}
.workspace .toast{border-radius:10px}
.workspace .demo-note{background:#F0F7FF;color:#214F7C;border:1px solid #CDE2F3;border-radius:9px;font-size:12px}
/* Responsive rules preserve content and interaction; no blanket hidden controls. */
@media(max-width:1380px){
 .workspace .enterprise-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .enterprise-attention-grid{grid-template-columns:minmax(0,1.3fr) minmax(270px,.95fr)}
 .workspace .workspace-content{padding-inline:26px}
}
@media(max-width:1120px){
 .workspace .enterprise-attention-grid,.workspace .enterprise-insight-grid,.workspace .enterprise-lower-grid{grid-template-columns:minmax(0,1fr)}
 .workspace .finance-premium-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .finance-dashboard-grid,.workspace .finance-dashboard-grid.secondary{grid-template-columns:minmax(0,1fr)}
 .workspace .ti-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .op-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .workspace .workspace-content{padding:22px 20px 55px}
 .workspace .ws-header{padding:0 18px}
 .workspace .workspace-context{gap:12px}
 .workspace .enterprise-dashboard-head{align-items:flex-start;flex-direction:column}
 .workspace .mail-shell{grid-template-columns:1fr}
 .workspace .finance-bank-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .op-settings-layout{grid-template-columns:1fr}
}
@media(max-width:660px){
 .workspace .workspace-content{padding:20px 14px 55px}
 .workspace .ws-header{height:64px;min-height:64px;gap:7px;padding-inline:12px}
 .workspace .ws-breadcrumb{gap:5px}
 .workspace .ws-breadcrumb span:first-child{display:none}
 .workspace .ws-global-search{min-width:0}
 .workspace .ws-top-actions{gap:6px}
 .workspace .ws-header .ws-new-request{width:38px;min-width:38px;padding:0;gap:0;font-size:0;justify-content:center}.workspace .ws-header .ws-new-request svg{width:17px;height:17px}
 .workspace .workspace-context{margin-bottom:19px;flex-wrap:wrap;min-height:unset}
 .workspace .workspace-context>span:last-child{display:none}
 .workspace :is(.page-title h1,.op-hero h1,.mail-heading h1,.enterprise-dashboard-head h1){font-size:26px}
 .workspace .enterprise-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .workspace .enterprise-kpi{min-height:100px;padding:14px}
 .workspace .enterprise-kpi strong{font-size:25px}
 .workspace .op-metrics,.workspace .finance-premium-kpis,.workspace .ti-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .workspace .op-property-grid{grid-template-columns:minmax(0,1fr)}
 .workspace .op-property-image{height:200px}
 .workspace .enterprise-dashboard-head .dashboard-title-actions{width:100%;display:flex}
 .workspace .enterprise-dashboard-head .dashboard-title-actions .btn{flex:1}
 .workspace .mail-compose{max-width:100vw}
 .workspace .finance-tabs{gap:0}
 .workspace .finance-tabs>button{padding:12px 9px;font-size:12px}
 .workspace .ai-premium-main,.workspace .ai-premium-bottom{grid-template-columns:minmax(0,1fr)}
 .workspace .op-hero,.workspace .page-title,.workspace .mail-heading{flex-direction:column;align-items:flex-start}
 .workspace .op-hero>.row,.workspace .page-title>.row{width:100%;flex-wrap:wrap}
 .workspace .panel-pad,.workspace .op-section{padding:16px}
 .workspace .op-section-head,.workspace .panel-head{padding:15px}
 .workspace .op-calendar .op-event-chip{font-size:10px}
}
@media(max-width:390px){
 .workspace .enterprise-kpis,.workspace .op-metrics,.workspace .finance-premium-kpis{grid-template-columns:minmax(0,1fr)}
 .workspace .enterprise-attention-grid{gap:14px}
 .workspace .enterprise-kpi strong{font-size:27px}
 .workspace table{min-width:590px}
 .workspace .workspace-content{padding-inline:12px}
}
@media(prefers-reduced-motion:reduce){.workspace *, .workspace *::before,.workspace *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
