/* Theo Properties RC1 — commercial workflows */.commercial-tabs{display:flex;gap:7px;overflow:auto;padding:2px 0 12px;margin-bottom:10px;scrollbar-width:none}.commercial-tabs::-webkit-scrollbar{display:none}.commercial-tabs button{flex:none;border:1px solid var(--line);background:#fff;color:#526372;border-radius:999px;padding:8px 13px;font-weight:800;font-size:.78rem}.commercial-tabs button.active{background:var(--dark2);color:#fff;border-color:var(--dark2)}.topbar #mobile-brand.official-header-logo{width:190px;height:52px;overflow:visible;padding:0}.topbar .official-header-logo img{display:block;width:190px;height:auto;max-width:100%;transform:none}.topbar .pill{text-decoration:none}.commercial-pane{display:none}.commercial-pane.active{display:block}.compact-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.compact-metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 15px;min-width:0}.compact-metric span{display:block;color:var(--muted);font-size:.72rem;font-weight:800}.compact-metric strong{display:block;color:var(--ink);font:800 1.45rem/1.1 Manrope,sans-serif;letter-spacing:-.04em;margin-top:7px}.compact-metric small{display:block;color:#57707e;font-size:.7rem;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commercial-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.85fr);gap:14px}.command-band{background:linear-gradient(120deg,#13253a,#213e55);color:#fff;border-radius:16px;padding:18px 20px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;gap:15px}.command-band h2{margin:0 0 4px;color:#fff}.command-band p{color:#c9d5dd;margin:0;font-size:.82rem}.command-band .button{background:var(--gold);color:#14263a}.data-list{display:grid;gap:8px}.data-row{border:1px solid var(--line);border-radius:12px;padding:12px 13px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.65fr) auto;align-items:center;gap:12px;background:#fff}.data-row strong{display:block;font-size:.86rem}.data-row p{margin:3px 0 0;font-size:.73rem}.data-row .amount{font-weight:800;white-space:nowrap}.data-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.data-actions .button{padding:8px 10px;font-size:.73rem}.data-actions select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px;max-width:170px;color:var(--ink);font-weight:700;font-size:.75rem}.status.available,.status.pending{background:#fff1df;color:#9a6328}.status.open,.status.paid,.status.rented,.status.completed{background:#e6f2ed;color:#176c5b}.status.review,.status.scheduled{background:#e8f0f8;color:#376b95}.status.overdue,.status.declined{background:#fbe9ea;color:#a34149}.status.draft,.status.cancelled{background:#edf0f2;color:#64717b}.hint-card{border:1px solid #ead7bd;background:#fff9f0;border-radius:12px;padding:13px 14px;margin:10px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.hint-card p{margin:0;font-size:.78rem;color:#665748}.hint-card strong{color:#2c3b49}.hint-card .button{flex:none}.pipeline-strip{display:grid;grid-template-columns:repeat(7,minmax(80px,1fr));gap:6px;overflow:auto;padding-bottom:5px}.pipeline-step{border:1px solid var(--line);background:#f9fbfc;border-radius:11px;padding:11px;min-width:88px}.pipeline-step span{display:block;color:var(--muted);font-size:.67rem;font-weight:800}.pipeline-step strong{display:block;font:800 1.25rem Manrope,sans-serif;margin-top:4px}.pipeline-step.active{background:#eaf4f3;border-color:#b8d8d3}.funnel{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;align-items:end;height:185px;padding-top:20px}.funnel-col{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px;height:100%}.funnel-bar{width:100%;max-width:78px;background:linear-gradient(180deg,#294e65,#172c43);border-radius:7px 7px 3px 3px;min-height:16px}.funnel-col b{font-size:.72rem}.funnel-col small{font-size:.64rem;color:var(--muted);text-align:center}.revenue-chart{height:165px;display:flex;align-items:end;gap:9px;border-bottom:1px solid var(--line);padding:10px 4px 0}.revenue-chart i{display:block;flex:1;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#c79a5f,#9c6e38);min-width:12px}.source-bars{display:grid;gap:11px;margin-top:15px}.source-bar label{display:flex;justify-content:space-between;gap:10px;font-size:.75rem;font-weight:700;margin-bottom:5px}.source-bar div{height:7px;background:#edf1f3;border-radius:99px;overflow:hidden}.source-bar i{display:block;height:100%;background:#1e5266;border-radius:99px}.periods{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.periods button{border:1px solid var(--line);background:white;border-radius:8px;padding:7px 9px;font-weight:700;color:#60717c;font-size:.72rem}.periods button.active{background:#1b334b;color:#fff;border-color:#1b334b}.financial-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.financial-summary div{border:1px solid var(--line);border-radius:11px;padding:11px;background:#f9fbfc}.financial-summary span{display:block;color:var(--muted);font-size:.69rem}.financial-summary strong{display:block;margin-top:5px;font-size:1rem}.fee-preview{background:#f6f8f9;border-radius:11px;padding:12px;margin-top:12px}.fee-preview div{display:flex;justify-content:space-between;padding:5px 0;font-size:.82rem}.fee-preview div:last-child{border-top:1px solid var(--line);margin-top:4px;padding-top:9px;font-weight:800}.setting-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.setting-row label{font-weight:800;font-size:.82rem}.setting-row p{font-size:.72rem;margin:2px 0 0}.setting-row input,.setting-row select{width:100%;border:1px solid #d3deda;border-radius:8px;padding:9px;background:#fff}.commercial-empty{text-align:center;padding:30px 18px;border:1px dashed #c8d2d7;border-radius:13px;color:var(--muted);background:#fafcfc}@media(max-width:1100px){.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-grid{grid-template-columns:1fr}.pipeline-strip{grid-template-columns:repeat(7,110px)}}@media(max-width:640px){.compact-metrics{gap:7px}.compact-metric{padding:11px}.compact-metric strong{font-size:1.22rem}.command-band{align-items:flex-start;flex-direction:column;padding:15px}.data-row{grid-template-columns:1fr;gap:8px}.data-actions{justify-content:flex-start}.data-actions select{max-width:100%;flex:1}.financial-summary{grid-template-columns:1fr}.funnel{grid-template-columns:repeat(7,70px);overflow:auto}.hint-card{align-items:flex-start;flex-direction:column}.commercial-tabs{margin-left:-2px;margin-right:-2px}.commercial-tabs button{padding:8px 11px}.setting-row{grid-template-columns:1fr}.panel.commercial-panel{padding:15px}}@media(max-width:800px){.topbar #mobile-brand.official-header-logo{width:174px;height:46px}.topbar .official-header-logo img{width:174px}}@media(max-width:390px){.topbar #mobile-brand.official-header-logo{width:156px}.topbar .official-header-logo img{width:156px}}/* UAT2 refinements */.photo-placeholder{background:linear-gradient(135deg,#e9eeec,#d7e0dc);position:relative}.photo-placeholder:after{content:"Photo required";position:absolute;inset:0;display:grid;place-items:center;color:#6c7d7b;font-weight:800;font-size:.78rem}.photo-uploaded{background-size:cover!important;background-position:center!important}.property-body{padding:15px 16px 14px}.property .address{margin-bottom:12px}.property-meta{gap:9px;padding-top:10px}.amenity{max-width:105px;min-width:0}.amenity>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.listing-source{margin-top:11px}.card-actions{margin-top:11px}.listing-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 16px}.listing-steps span{font-size:.7rem;font-weight:800;padding:7px 8px;border-radius:999px;background:#eef2f1;color:#788784;text-align:center}.listing-steps span.active{background:#e4f1ed;color:#176c5b}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.form-error{color:#a83f48;font-size:.78rem;margin:8px 0 0;min-height:1em}.listing-review .review-photo{height:210px;border-radius:13px;background-size:cover;background-position:center;margin-bottom:14px}.review-meta{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.review-meta span{background:#f1f5f3;border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:700}.source-label{font-size:.72rem;color:#60717c;font-weight:700}.viewing-detail{margin-top:7px!important;color:#365a5a!important}.consent-row{display:flex!important;gap:8px;align-items:flex-start;font-size:.78rem;font-weight:600;margin-top:13px}.consent-row input{width:auto!important;margin-top:3px}.performance-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.insight-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px}.insight-card span,.insight-card small{display:block;color:var(--muted);font-size:.72rem}.insight-card strong{display:block;font:800 1.2rem Manrope,sans-serif;margin-top:7px}.mini-progress{height:7px;background:#edf1ef;border-radius:99px;overflow:hidden;margin-top:9px}.mini-progress i{display:block;height:100%;background:#186c66}.performance-table tbody tr{cursor:pointer}.performance-table tbody tr:hover{background:#f7faf8}.review-photo,.detail-photo.photo-uploaded,.property-photo.photo-uploaded{background-repeat:no-repeat}.detail-photo.photo-placeholder{min-height:260px}@media(max-width:640px){.listing-steps{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.performance-insights{grid-template-columns:1fr}.amenity{max-width:92px}}/* Premium navigation and dashboard layer *//* Theo Properties — Premium Navigation & Dashboard Elevation */:root{
  --premium-navy:#0d1928;
  --premium-navy-2:#13263a;
  --premium-navy-3:#1d354a;
  --premium-gold:#cda66f;
  --premium-gold-soft:#f6eee3;
  --premium-teal:#1a746d;
  --premium-surface:#ffffff;
  --premium-surface-soft:#f7f9fa;
  --premium-border:#e2e8eb;
  --premium-shadow:0 14px 38px rgba(16,31,47,.075);
  --premium-shadow-hover:0 18px 44px rgba(16,31,47,.12);
}/* Desktop shell */@media (min-width:801px){.app{grid-template-columns:270px minmax(0,1fr)}.premium-sidebar{
    background:
      radial-gradient(circle at 25% -5%,rgba(45,92,104,.30),transparent 27%),
      linear-gradient(180deg,var(--premium-navy) 0%,#102235 52%,#0d1c2b 100%);
    padding:24px 17px 18px;
    gap:19px;
    border-right:1px solid rgba(255,255,255,.06);
    box-shadow:18px 0 50px rgba(15,29,43,.06);
  }}.sidebar-top{display:grid;gap:12px;padding:0 5px 4px}.sidebar-symbol{padding:0 5px!important;gap:11px!important}.sidebar-symbol img{width:42px!important;height:42px!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.16))}.sidebar-symbol span{font-size:.94rem;letter-spacing:.17em}.sidebar-symbol small{color:#adbbc5!important;letter-spacing:.22em!important}.sidebar-edition{display:flex;align-items:center;gap:7px;color:#90a5b2;font-size:.68rem;font-weight:700;padding:7px 10px;border:1px solid rgba(255,255,255,.07);border-radius:999px;background:rgba(255,255,255,.035);width:max-content;max-width:100%}.sidebar-edition-dot{width:7px;height:7px;border-radius:50%;background:#5bc0a9;box-shadow:0 0 0 4px rgba(91,192,169,.10)}.sidebar-nav-wrap{display:grid;gap:3px;min-height:0}.premium-sidebar .nav-title{padding:0 10px;margin-bottom:8px;color:#718895!important;font-size:.63rem!important;letter-spacing:.18em!important}.premium-sidebar .nav{gap:7px}.premium-sidebar .nav button{
  position:relative;
  min-height:60px;
  padding:9px 10px;
  gap:10px;
  border:1px solid transparent;
  border-radius:13px;
  color:#b9c8d1!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}.premium-sidebar .nav button:hover,.premium-sidebar .nav button:focus-visible{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.075);transform:translateX(2px)}.premium-sidebar .nav button.active{
  background:linear-gradient(115deg,rgba(42,76,91,.96),rgba(34,60,78,.94))!important;
  border-color:rgba(205,166,111,.19);
  box-shadow:inset 3px 0 var(--premium-gold),0 8px 24px rgba(0,0,0,.12)!important;
  color:#fff!important;
}.nav-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.055);flex:none}.nav-icon svg{width:19px!important;height:19px!important}.premium-sidebar .nav button.active .nav-icon{background:rgba(205,166,111,.14);border-color:rgba(205,166,111,.25);color:#efd4ae}.nav-copy{display:grid;gap:1px;min-width:0;flex:1}.nav-copy strong{font-size:.83rem;line-height:1.2;color:inherit;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-copy small{font-size:.66rem;color:#8198a6;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.premium-sidebar .nav button.active .nav-copy small{color:#b9c9d1}.nav-arrow{color:#607986;font-size:1.2rem;line-height:1;transition:transform .18s ease,color .18s ease}.premium-sidebar .nav button.active .nav-arrow{color:#d3b184;transform:translateX(2px)}.sidebar-account{display:flex;align-items:center;gap:10px;padding:10px 9px;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);margin-top:auto}.sidebar-account-avatar{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#d9b47d,#bc8e55);color:#152639;font-weight:900;font-size:.72rem;box-shadow:0 7px 16px rgba(0,0,0,.13)}.sidebar-account-copy{display:grid;min-width:0;flex:1}.sidebar-account-copy strong{font-size:.77rem;color:#edf2f5}.sidebar-account-copy small{font-size:.64rem;color:#7f96a4}.sidebar-account-more{color:#728997;letter-spacing:.08em;font-size:.72rem}.premium-sidebar .sidebar-foot{margin-top:0!important;background:linear-gradient(145deg,rgba(42,67,86,.82),rgba(25,48,67,.90))!important;border:1px solid rgba(205,166,111,.17)!important;border-radius:14px!important;padding:14px!important;box-shadow:inset 0 1px rgba(255,255,255,.03)}.sidebar-foot-kicker{display:block;color:#d5b688;font-size:.59rem;font-weight:900;letter-spacing:.17em;margin-bottom:6px}.premium-sidebar .sidebar-foot b{font-size:.77rem!important;line-height:1.35;display:block;color:#f2f5f6!important}.premium-sidebar .sidebar-foot p{font-size:.68rem!important;line-height:1.45;margin-top:7px!important;color:#93a8b4!important}/* Top bar */.topbar{position:sticky;top:0;z-index:9;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 0 rgba(17,34,52,.035)}.topbar .crumb{display:grid;gap:1px;padding-left:20px!important}.topbar .crumb>span{font-size:.59rem;text-transform:uppercase;letter-spacing:.13em;color:#9aa7ae;font-weight:800}.topbar .crumb strong{font-size:.81rem;color:#26384a}.top-actions{gap:9px!important}.topbar-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#f2f7f5;color:#45645f;font-size:.68rem;font-weight:800;border:1px solid #e4edeb}.topbar-status i{width:7px;height:7px;border-radius:50%;background:#2e9b7d;box-shadow:0 0 0 4px rgba(46,155,125,.09)}.topbar .pill{border:1px solid #eadcc8!important;background:#fbf5ed!important;color:#7a5b37!important;padding:8px 12px!important}.topbar .avatar{width:38px!important;height:38px!important;border:1px solid #dce5e9;background:linear-gradient(145deg,#edf3f5,#e2eaee)!important;box-shadow:0 5px 14px rgba(25,43,58,.06)}/* Page hierarchy */.content{padding-top:35px!important}.view-head{padding-bottom:3px}.view-head h1{color:#15283b}.view-head p{max-width:760px}.eyebrow{display:inline-flex;align-items:center;gap:7px}.eyebrow:before{content:"";width:18px;height:2px;border-radius:2px;background:var(--premium-gold)}/* Premium workspace tab rail */.commercial-tabs{
  gap:4px!important;
  padding:5px!important;
  margin:0 0 16px!important;
  background:#eef2f4;
  border:1px solid #e1e7ea;
  border-radius:13px;
  width:max-content;
  max-width:100%;
  box-shadow:inset 0 1px 2px rgba(20,37,53,.025);
}.commercial-tabs button{
  border:0!important;
  background:transparent!important;
  color:#667784!important;
  border-radius:9px!important;
  padding:9px 13px!important;
  font-size:.75rem!important;
  transition:all .16s ease;
}.commercial-tabs button:hover{color:#24384b!important;background:rgba(255,255,255,.62)!important}.commercial-tabs button.active{background:#fff!important;color:#1b3449!important;box-shadow:0 4px 12px rgba(22,39,56,.08)!important;position:relative}.commercial-tabs button.active:after{content:"";position:absolute;left:15px;right:15px;bottom:4px;height:2px;border-radius:2px;background:var(--premium-gold)}/* Premium dashboard cards */.compact-metrics{gap:11px!important;margin-bottom:17px!important}.compact-metric{
  position:relative;
  overflow:hidden;
  min-height:104px;
  padding:15px 16px!important;
  border:1px solid var(--premium-border)!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%)!important;
  box-shadow:0 8px 24px rgba(21,39,55,.045);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}.compact-metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#d7e1e5}.compact-metric:nth-child(4n/**/+1):before{background:#caa16b}.compact-metric:nth-child(4n/**/+2):before{background:#44798b}.compact-metric:nth-child(4n/**/+3):before{background:#28786e}.compact-metric:nth-child(4n/**/+4):before{background:#8495a1}.compact-metric:hover{transform:translateY(-2px);box-shadow:var(--premium-shadow-hover);border-color:#d7e0e4!important}.compact-metric span{color:#71818c!important;font-size:.68rem!important;letter-spacing:.01em}.compact-metric strong{font-size:1.55rem!important;margin-top:8px!important;color:#172a3d!important}.compact-metric small{margin-top:6px!important;color:#69808e!important}.compact-metric:nth-child(-n/**/+4){background:linear-gradient(155deg,#fff 0%,#f9fbfc 78%,#f2f6f7 100%)!important}.panel,.commercial-panel{border-radius:18px!important;border:1px solid var(--premium-border)!important;box-shadow:var(--premium-shadow)!important}.commercial-panel{padding:20px!important}.panel h2,.commercial-panel h2{color:#1a2d40}.panel-sub{color:#788792!important}.section-head{padding-bottom:9px;border-bottom:1px solid #eef2f3;margin-bottom:13px!important}.section-head span{font-size:.72rem!important;font-weight:700;color:#8a989f!important}.data-list{gap:9px!important}.data-row{
  border:1px solid #e5ebed!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#fff,#fcfdfd)!important;
  padding:13px 14px!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}.data-row:hover{border-color:#d4dfe3!important;box-shadow:0 8px 20px rgba(23,42,58,.055);transform:translateY(-1px)}.data-row strong{color:#223548;font-size:.84rem!important}.data-row p{color:#798891!important}.data-actions .button{border-radius:9px!important}/* Owner / management intelligence */.performance-insights{gap:11px!important}.insight-card{
  border-radius:15px!important;
  border:1px solid var(--premium-border)!important;
  background:linear-gradient(160deg,#fff 0%,#f8fafb 100%)!important;
  box-shadow:0 8px 22px rgba(22,39,56,.045);
  padding:16px!important;
}.insight-card strong{font-size:1.32rem!important;color:#183047}.mini-progress{height:6px!important;background:#e8edef!important}.mini-progress i{background:linear-gradient(90deg,#1c6d68,#4c9188)!important}.command-band{
  border-radius:18px!important;
  padding:19px 21px!important;
  background:
    radial-gradient(circle at 84% 12%,rgba(205,166,111,.15),transparent 25%),
    linear-gradient(120deg,#122438,#203d52 68%,#294d5c)!important;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 16px 34px rgba(17,34,52,.12);
}.command-band .status{border:1px solid rgba(255,255,255,.1)}.financial-summary{gap:10px!important}.financial-summary div{border-radius:13px!important;border:1px solid var(--premium-border)!important;background:linear-gradient(180deg,#fff,#fafcfd)!important;padding:14px!important;box-shadow:0 7px 18px rgba(21,39,55,.035)}/* Existing static dashboards: tenant / fallback owner / service management */.rent-hero{border:1px solid rgba(255,255,255,.06);box-shadow:0 18px 38px rgba(22,42,58,.14);background:radial-gradient(circle at 90% 15%,rgba(205,166,111,.16),transparent 27%),linear-gradient(120deg,#132a40,#315365)!important}.notice{border:1px solid #e7efec;background:linear-gradient(180deg,#f8fbfa,#f3f7f5)!important;border-radius:13px!important}.notice.gold{border-color:#f0e1cc;background:linear-gradient(180deg,#fff9f1,#fbf2e7)!important}.ticket{border-color:#e4eaed!important;border-radius:13px!important;background:#fff;transition:box-shadow .16s ease,border-color .16s ease}.ticket:hover{border-color:#d4dfe3!important;box-shadow:0 8px 18px rgba(24,42,57,.05)}/* Buttons */.button{border-radius:10px!important;box-shadow:0 5px 12px rgba(21,50,69,.08);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(21,50,69,.12)}.button.secondary{box-shadow:none}/* Mobile premium navigation */@media(max-width:800px){.topbar-status{display:none}.topbar{box-shadow:0 1px 0 #e5eaec,0 8px 26px rgba(17,34,52,.035)}.mobile-nav{background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid #e2e8ea!important;box-shadow:0 -8px 28px rgba(20,37,53,.07);padding-top:8px!important}.mobile-nav button{position:relative;border-radius:11px!important;padding:7px 4px!important;transition:background .15s ease,color .15s ease}.mobile-nav button.active{background:#eef4f5!important;color:#173f58!important}.mobile-nav button.active:after{content:"";position:absolute;bottom:3px;width:18px;height:2px;border-radius:2px;background:var(--premium-gold)}.commercial-tabs{width:100%;overflow:auto!important;border-radius:12px!important}.commercial-tabs button{padding:9px 11px!important}.compact-metric{min-height:92px;padding:13px!important}.compact-metric strong{font-size:1.32rem!important}.command-band{padding:16px!important}}@media(max-width:540px){.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.compact-metric{min-height:86px}.topbar .official-header-logo img{filter:none}.content{padding-top:21px!important}.panel,.commercial-panel{border-radius:15px!important}.view-head h1{letter-spacing:-.04em}}/* Responsive preservation overrides */@media(min-width:801px){.premium-sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.10) transparent}}@media(max-width:800px){.topbar .crumb{display:none!important}}@media(max-width:540px){.eyebrow{display:none!important}}

/* THEO GLOBAL WORKSPACE ACTIVE SELECTOR OVERRIDE */

.sidebar :is(
  .nav-item.active,
  .menu-item.active,
  .sidebar-link.active,
  .workspace-link.active,
  [aria-current="page"]
){
  background:
    linear-gradient(
      90deg,
      rgba(40,78,99,.72) 0%,
      rgba(27,59,78,.52) 72%,
      rgba(18,46,63,.28) 100%
    ) !important;

  border:1px solid rgba(119,158,177,.18) !important;
  border-radius:10px !important;
  box-shadow:none !important;
}

.sidebar :is(
  .nav-item.active,
  .menu-item.active,
  .sidebar-link.active,
  .workspace-link.active,
  [aria-current="page"]
)::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:0 999px 999px 0;
  background:#d9ad59;
}


/* Theo premium status chip override */

.badge,
.status-badge,
.status-pill,
.status-chip{
  min-height:28px !important;
  padding:5px 10px !important;
  border-radius:8px !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:700 !important;
  box-shadow:none !important;
}


/* =========================================================
   THEO PROPERTIES — FINAL WORKSPACE ACTIVE MENU LOCK
   Marketplace / Tenant / Landlord / Managed
   ========================================================= */

/* Kill legacy double-border / gold ring treatment */
.sidebar .active,
.sidebar [aria-current="page"],
.sidebar .selected,
.sidebar .is-active,
.sidebar .current,
.workspace-sidebar .active,
.side-nav .active{
  outline:none !important;
  box-shadow:none !important;
  border:1px solid rgba(102,145,165,.18) !important;
}


/* Premium selected row */
.sidebar .active,
.sidebar [aria-current="page"],
.sidebar .selected,
.sidebar .is-active,
.sidebar .current,
.workspace-sidebar .active,
.side-nav .active{
  position:relative !important;
  overflow:hidden !important;

  background:
    linear-gradient(
      90deg,
      rgba(35,72,92,.74) 0%,
      rgba(25,56,75,.56) 68%,
      rgba(17,44,60,.30) 100%
    ) !important;

  border-radius:11px !important;
}


/* Remove legacy pseudo-selector rings */
.sidebar .active::after,
.sidebar [aria-current="page"]::after,
.sidebar .selected::after,
.sidebar .is-active::after,
.sidebar .current::after{
  content:none !important;
  display:none !important;
}


/* Thin gold active rail only */
.sidebar .active::before,
.sidebar [aria-current="page"]::before,
.sidebar .selected::before,
.sidebar .is-active::before,
.sidebar .current::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;

  left:0 !important;
  top:9px !important;
  bottom:9px !important;

  width:3px !important;

  border-radius:0 999px 999px 0 !important;

  background:#d7aa56 !important;
}


/* Active icon */
.sidebar .active .nav-icon,
.sidebar .active .menu-icon,
.sidebar .active .workspace-icon,
.sidebar [aria-current="page"] .nav-icon,
.sidebar [aria-current="page"] .menu-icon,
.sidebar [aria-current="page"] .workspace-icon{
  background:#1a3a4d !important;
  border:1px solid #56778a !important;
  color:#e2b867 !important;
  box-shadow:none !important;
}


/* Primary text */
.sidebar .active strong,
.sidebar [aria-current="page"] strong,
.sidebar .selected strong,
.sidebar .is-active strong,
.sidebar .current strong{
  color:#fff !important;
}


/* Secondary text */
.sidebar .active small,
.sidebar [aria-current="page"] small,
.sidebar .selected small,
.sidebar .is-active small,
.sidebar .current small{
  color:#b5c8d1 !important;
}


/* Arrow */
.sidebar .active .nav-arrow,
.sidebar .active .menu-arrow,
.sidebar .active .chevron,
.sidebar [aria-current="page"] .nav-arrow,
.sidebar [aria-current="page"] .menu-arrow,
.sidebar [aria-current="page"] .chevron{
  color:#deb15b !important;
}


/* Explicitly remove large external focus ring from clicked menu rows */
.sidebar a:focus,
.sidebar button:focus{
  outline:none !important;
}

.sidebar a:focus-visible,
.sidebar button:focus-visible{
  outline:1px solid rgba(215,170,86,.65) !important;
  outline-offset:2px !important;
}


/* =========================================================
   THEO PROPERTIES — PREMIUM SIDEBAR SELECTOR FINAL FIX
   Targets the actual Marketplace / Tenant / Owner / Managed shell
   ========================================================= */

/* Remove all legacy active/focus rings */
.premium-sidebar button.active,
.premium-sidebar a.active,
.premium-sidebar button[aria-current="page"],
.premium-sidebar a[aria-current="page"]{
  position:relative !important;

  outline:none !important;
  box-shadow:none !important;

  border:1px solid rgba(111,151,170,.16) !important;
  border-radius:11px !important;

  background:
    linear-gradient(
      90deg,
      rgba(38,75,96,.70) 0%,
      rgba(26,57,76,.48) 72%,
      rgba(17,44,60,.24) 100%
    ) !important;

  overflow:hidden !important;
}


/* Kill the old outer/double selector completely */
.premium-sidebar button.active::after,
.premium-sidebar a.active::after,
.premium-sidebar button[aria-current="page"]::after,
.premium-sidebar a[aria-current="page"]::after{
  content:none !important;
  display:none !important;
  border:0 !important;
  box-shadow:none !important;
}


/* New single slim Theo gold rail */
.premium-sidebar button.active::before,
.premium-sidebar a.active::before,
.premium-sidebar button[aria-current="page"]::before,
.premium-sidebar a[aria-current="page"]::before{
  content:"" !important;

  position:absolute !important;

  left:0 !important;
  top:9px !important;
  bottom:9px !important;

  width:3px !important;

  border-radius:0 999px 999px 0 !important;

  background:#d5aa59 !important;

  box-shadow:none !important;
}


/* Selected icon container */
.premium-sidebar button.active .nav-icon,
.premium-sidebar button.active .menu-icon,
.premium-sidebar button.active .workspace-icon,
.premium-sidebar a.active .nav-icon,
.premium-sidebar a.active .menu-icon,
.premium-sidebar a.active .workspace-icon{
  color:#dfb566 !important;

  background:#193a4d !important;

  border-color:#557486 !important;

  box-shadow:none !important;
}


/* SVG icon colour */
.premium-sidebar button.active svg,
.premium-sidebar a.active svg{
  stroke:#dfb566 !important;
}


/* Active title */
.premium-sidebar button.active strong,
.premium-sidebar a.active strong{
  color:#fff !important;
}


/* Active subtitle */
.premium-sidebar button.active small,
.premium-sidebar a.active small{
  color:#bacbd4 !important;
}


/* Active chevron */
.premium-sidebar button.active .chevron,
.premium-sidebar button.active .nav-arrow,
.premium-sidebar button.active .menu-arrow,
.premium-sidebar a.active .chevron,
.premium-sidebar a.active .nav-arrow,
.premium-sidebar a.active .menu-arrow{
  color:#deb35e !important;
}


/* IMPORTANT:
   the old gold double line may also be keyboard/click focus */
.premium-sidebar button:focus,
.premium-sidebar button:active,
.premium-sidebar a:focus,
.premium-sidebar a:active{
  outline:none !important;
}


/* Do not allow old focus box-shadows */
.premium-sidebar button:focus,
.premium-sidebar button:focus-visible,
.premium-sidebar a:focus,
.premium-sidebar a:focus-visible{
  box-shadow:none !important;
}


/* Accessible keyboard focus — subtle and separate from active state */
.premium-sidebar button:focus-visible,
.premium-sidebar a:focus-visible{
  outline:1px solid rgba(215,173,91,.48) !important;
  outline-offset:2px !important;
}


/* Keep unselected menu rows quiet */
.premium-sidebar button:not(.active),
.premium-sidebar a:not(.active){
  box-shadow:none !important;
}


/* Theo 20px status chip final override */

.badge,
.status-badge,
.status-pill,
.status-chip{
  min-height:22px !important;
  height:22px !important;
  padding:0 8px !important;
  border-radius:7px !important;
  font-size:8.5px !important;
  line-height:1 !important;
  font-weight:700 !important;
}

table .badge,
table .status-badge,
table .status-pill,
table .status-chip{
  min-height:20px !important;
  height:20px !important;
  padding:0 7px !important;
  border-radius:6px !important;
  font-size:8px !important;
}


/* Production Spine v1.0.1.2 — authentication shell */
.topbar .auth-logout{border:1px solid #dce5e9!important;background:#fff!important;color:#536873!important;cursor:pointer;font-family:inherit}.topbar .auth-logout:hover{background:#f6f8f9!important;color:#1d3548!important}@media(max-width:800px){.topbar .auth-logout{display:none}.topbar #admin-link{display:none}}
