/* Restore the September 25 approved navy sidebar / bright workspace shell.
   Deliberately do not import the old CSS that hid subscriptions or current features. */
.workspace-panel-off{display:none!important}
.workspace-menu-toggle{display:none}
body.workspace-authenticated{background:#f3f7fb;color:#06243a;font:14px/1.5 Inter,Arial,Helvetica,sans-serif}
.workspace-authenticated .masthead{position:fixed;inset:0 auto 0 0;width:224px;min-height:100vh;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:22px 14px;background:var(--rh-brand-surface);color:#fff;box-shadow:none;border:0;z-index:50}
.workspace-authenticated .brand{width:180px;margin:0 0 12px}.workspace-authenticated .brand img{max-height:64px;object-fit:contain;object-position:left center}
.workspace-authenticated .workspace-label{border:0;padding:0;margin:0 8px 32px;color:#91b1c5;font-size:10px;line-height:1.6;letter-spacing:1.35px;font-weight:700}
.portal-nav{display:grid;gap:7px}.portal-nav>span{color:#91b1c5;font-size:10px;font-weight:800;letter-spacing:1.8px;margin:0 0 6px 12px;text-transform:uppercase}
.portal-nav a{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 11px;border-radius:8px;color:#dcebf4;text-decoration:none;font-weight:600;font-size:13px;white-space:nowrap}
.portal-nav a::before{content:"";width:12px;height:12px;border-radius:3px;border:1px solid #75a0b8;flex-shrink:0}
.portal-nav a.active{background:var(--rh-brand-nav-active);color:#fff;border-left:3px solid #ff7626;padding-left:8px}
.portal-nav a:hover{background:var(--rh-brand-nav-hover)}.portal-nav a b{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 5px;border-radius:999px;background:var(--rh-brand-nav-active);color:#fff;font-size:11px}
.portal-nav a[data-workspace-nav="approvals"] b{background:#ff7626;color:#031b2d}
.portal-control-note{margin-top:auto;padding:16px 13px;border:1px solid #234e69;border-radius:10px;background:var(--rh-brand-nav-detail);color:#d9edf6;font-size:12px;line-height:1.5}
.portal-control-note strong,.portal-control-note span{display:block}.portal-control-note strong{font-size:14px;color:#fff;margin-bottom:6px}
.workspace-authenticated .quiet{margin:18px 0 0;border:1px solid #315d76;background:var(--rh-brand-nav-detail);color:#fff;box-shadow:none;width:100%;justify-content:center;text-decoration:none}
.workspace-authenticated main{max-width:none;margin:0 0 0 224px;padding:0 32px 40px;background:#f3f7fb;min-height:100vh}
.workspace-authenticated footer{display:none}
.workspace-authenticated #workspace{max-width:1440px;margin:0 auto;padding-bottom:30px}
.workspace-authenticated .page-heading{border:0;border-radius:0;margin:0 -32px 28px;padding:24px 32px;background:#fff;box-shadow:0 1px 0 #dfebf2;align-items:center;gap:20px}
.workspace-authenticated .page-heading .breadcrumb{margin:0 0 22px;color:#63829a;font-size:12px}
.workspace-authenticated .page-heading .eyebrow{color:#1687d9;font-size:10px;letter-spacing:2px;margin-bottom:8px}
.workspace-authenticated .page-heading h1{font-size:28px;line-height:1.15;letter-spacing:-.7px;margin:0 0 6px;color:#06243a}
.workspace-authenticated .page-heading .muted{font-size:13px;color:#537184;margin:0}
.page-actions{display:grid;gap:10px;justify-items:end;flex-shrink:0}
.workspace-authenticated .page-heading #account-switch{min-width:215px;max-width:250px}
.workspace-authenticated .page-heading #account-switch label{font-size:11px;margin-bottom:4px}
.workspace-authenticated .page-heading #account-switch select{padding:8px 12px;font-size:12px;border-color:#d8e6ef;border-radius:7px}
.refresh-data{background:#fff;min-height:36px;font-size:12px}
.overview-hero{display:grid;grid-template-columns:1fr 290px;gap:16px 28px;align-items:center;background:var(--rh-brand-surface);color:#fff;border-radius:12px;padding:26px 28px;box-shadow:0 14px 30px rgba(7,43,69,.1);margin-bottom:24px}
.overview-hero .eyebrow{color:#72daf4;font-size:10px;letter-spacing:1.7px;margin:0 0 10px}.overview-hero h2{font-size:30px;line-height:1.12;letter-spacing:-.7px;margin:0 0 10px;color:#fff;max-width:550px}.overview-hero p{font-size:13px;margin:0;color:#d8eef8;line-height:1.6}
.overview-hero ol{margin:0;padding:8px 16px;list-style:none;border:1px solid rgba(130,199,229,.24);border-radius:10px;background:rgba(0,20,36,.16);counter-reset:hero}
.overview-hero li{display:grid;grid-template-columns:24px 1fr;gap:2px 10px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12);counter-increment:hero}.overview-hero li:last-child{border-bottom:0}
.overview-hero li::before{content:counter(hero);display:grid;place-items:center;grid-row:1/3;width:23px;height:23px;border-radius:50%;background:#ff7626;color:#fff;font-weight:800;font-size:11px}.overview-hero li:nth-child(2)::before{background:#20a0e5}.overview-hero li:nth-child(3)::before{background:#27c587}
.overview-hero strong{font-size:13px;color:#fff}.overview-hero span{grid-column:2;color:#c5dfeb;font-size:11px}
.hero-intelligence-link{justify-self:start;font-size:13px;color:#fff;font-weight:700;text-decoration:none;border-bottom:1px solid #77a8c4;padding-bottom:4px}
#overview-summary{margin:0 0 24px}#overview-summary>.section-title{display:none}
.workspace-authenticated .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.workspace-authenticated .metric{border:1px solid #dfe9f1;border-left:3px solid #ff7626;border-radius:10px;background:#fff;padding:18px;box-shadow:0 8px 22px rgba(6,36,58,.04);text-align:left}
.workspace-authenticated .metric:nth-child(2){border-left-color:#20a0e5}.workspace-authenticated .metric:nth-child(3){border-left-color:#27c587}.workspace-authenticated .metric:nth-child(4){border-left-color:#f0a938}
.workspace-authenticated .metric p{margin:0 0 8px;color:#657b8c;font-size:11px;letter-spacing:.7px;font-weight:700;min-height:32px;text-transform:uppercase}
.workspace-authenticated .metric strong{justify-content:flex-start;min-height:0;font-size:30px;color:#06243a}
.workspace-authenticated .metric small{color:#607e91;font-size:11px;margin-top:6px}
.workspace-authenticated .reports-section,.workspace-authenticated .subscription-panel{border:1px solid #dce7ef;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(6,36,58,.035);padding:24px;margin:0 0 20px}
.workspace-authenticated .section-title h2{font-size:23px}.workspace-authenticated .reports-section>p.muted{font-size:14px}
.workspace-authenticated #integrations-panel{padding:0;border:0;background:transparent;box-shadow:none;margin:0 0 24px}
#integrations-panel>.section-title{align-items:end}#integrations-panel>.section-title .eyebrow{display:none}#integrations-panel>.section-title>span{font-size:12px}
#integrations-panel>p.muted{font-size:13px;max-width:760px;color:#537184;margin-bottom:18px}
.crm-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.crm-connect-tile{appearance:none;position:relative;display:grid;grid-template-rows:70px auto;align-items:center;min-height:144px;padding:35px 18px 16px;border:1px solid #dce8f0;border-radius:10px;background:#fff;color:#06243a;text-align:center;box-shadow:0 8px 22px rgba(6,36,58,.035);transition:border-color .16s ease,transform .16s ease}
.crm-connect-tile:hover:not(:disabled){border-color:#9fc4dc;transform:translateY(-1px)}
.crm-tile-logo{display:flex;align-items:center;justify-content:center;min-height:64px;min-width:0}
.crm-tile-logo img{display:block;width:auto;height:auto;max-width:min(180px,100%);max-height:46px;object-fit:contain}
.crm-logo-salesforce img{max-height:58px}.crm-logo-pipedrive img{max-height:30px}.crm-logo-zoho img{max-width:130px;max-height:40px}
.crm-logo-jobber img{max-width:150px;max-height:38px}.crm-logo-microsoft_dynamics img{max-width:min(210px,100%);max-height:40px}.crm-logo-monday_crm img{max-width:150px;max-height:36px}.crm-logo-gohighlevel img{max-width:170px;max-height:38px}.crm-logo-activecampaign img{max-width:175px;max-height:32px}
.crm-status-pill{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;gap:6px;min-height:25px;padding:5px 10px;border-radius:999px;background:#edf4fa;color:#315570;font-size:10px;font-weight:700;line-height:1;white-space:nowrap}
.crm-connected .crm-status-pill{background:#e8f8ef;color:#12663d}.crm-status-pill::before{content:"";height:6px;width:6px;flex-shrink:0;border-radius:50%;background:currentColor}
.crm-connect-label{display:block;font-size:11px;font-weight:600;color:#52748a}
.workspace-authenticated .integration-connect-panel{border:1px solid #dce7ef;border-radius:10px;background:#fff;padding:20px}
body[data-workspace-view="overview"] #integrations-panel .integration-connect-panel,body[data-workspace-view="overview"] #integrations-panel .connection-details-heading,body[data-workspace-view="overview"] #integrations-panel .integration-list{display:none}
body[data-workspace-view="overview"] #recovery-queue .queue-saved-views,body[data-workspace-view="overview"] #recovery-queue .queue-filters,body[data-workspace-view="overview"] #queue-bulk,body[data-workspace-view="overview"] #recovery-queue .pagination,body[data-workspace-view="overview"] #recovery-queue .queue-select-col,body[data-workspace-view="overview"] #recovery-queue .table-caption{display:none!important}
body[data-workspace-view="overview"] #opportunity-rows tr:nth-child(n+4){display:none}
body:not([data-workspace-view="overview"]) .overview-queue-link{display:none}
.overview-queue-link{margin-top:16px}.workspace-authenticated .state-banner{margin:0 0 24px;background:#eef5fa;border:1px solid #d9e6ef;border-left:3px solid #ff7626;border-radius:10px;padding:18px}
.workspace-authenticated .state-banner p{font-size:12px}.workspace-authenticated .state-banner .outline{font-size:12px}
.workspace-authenticated #recovery-queue>.section-title{margin-top:0}.workspace-authenticated .table-wrap{background:#fff;border:1px solid #dce7ef;border-radius:10px}
.workspace-authenticated td,.workspace-authenticated th{padding:16px}.workspace-authenticated .queue-select-col{width:36px;min-width:36px!important;padding:12px!important}.workspace-authenticated th:first-child{width:auto}
.workspace-authenticated .priority{vertical-align:middle;text-align:center}.workspace-authenticated .money-grid{margin:14px 0 0}.workspace-authenticated .currency-card{border-radius:10px;font-size:12px}.workspace-authenticated .currency-card b{font-size:21px}
.workspace-authenticated .intelligence-block{scroll-margin-top:24px}.workspace-authenticated .intelligence-kpi{border-radius:9px}.workspace-authenticated .intelligence-opportunity{border-radius:10px}
@media(max-width:1100px){.overview-hero{grid-template-columns:1fr 250px}.overview-hero h2{font-size:26px}.workspace-authenticated .page-heading{align-items:flex-start}.page-actions{max-width:235px}.crm-status-grid{gap:10px}}
@media(max-width:900px){
 .workspace-authenticated .masthead{position:sticky;inset:0 0 auto;width:auto;min-height:76px;padding:14px 20px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}
 .workspace-authenticated .brand{width:170px;margin:0}.workspace-authenticated .workspace-label{display:none}.workspace-authenticated .portal-control-note{display:none}
 .workspace-authenticated .quiet{margin:0;width:auto}.workspace-authenticated .workspace-menu-toggle{display:block;margin-left:auto}
 .workspace-authenticated .portal-nav{order:5;flex:0 0 100%;display:none;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 0 4px}.portal-nav>span{grid-column:1/-1}
 .workspace-authenticated[data-workspace-menu="open"] .portal-nav{display:grid}
 .workspace-authenticated main{margin:0;padding:0 20px 30px}.workspace-authenticated .page-heading{margin:0 -20px 22px;padding:20px}.workspace-authenticated .page-heading h1{font-size:25px}
 .overview-hero{grid-template-columns:1fr}.overview-hero ol{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.overview-hero li{border:0}.workspace-authenticated .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .crm-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .workspace-authenticated .masthead{padding:12px 14px}.workspace-authenticated .brand{width:155px}.workspace-authenticated .quiet{font-size:12px;padding:8px 10px}
 .workspace-authenticated main{padding:0 14px 28px}.workspace-authenticated .page-heading{margin:0 -14px 18px;padding:20px 14px;display:block}.page-actions{max-width:none;margin-top:16px;grid-template-columns:1fr auto;justify-items:stretch;align-items:end}.workspace-authenticated .page-heading #account-switch{min-width:0;max-width:none;margin:0}.workspace-authenticated .page-heading .breadcrumb{margin-bottom:16px}
 .overview-hero{padding:22px 20px}.overview-hero h2{font-size:26px}.overview-hero ol{display:block}.overview-hero li{padding:7px 0}.overview-hero span{font-size:12px}
 .workspace-authenticated .metric{padding:14px}.workspace-authenticated .metric p{font-size:10px}.workspace-authenticated .metric strong{font-size:28px}
 .crm-status-grid{grid-template-columns:1fr 1fr;gap:10px}.crm-connect-tile{min-height:132px;padding:32px 12px 12px;grid-template-rows:64px auto}.crm-tile-logo img{max-width:100%;max-height:35px}.crm-connect-label{font-size:10px}.crm-status-pill{font-size:9px;top:8px;right:8px;padding:4px 7px}
 .workspace-authenticated .reports-section,.workspace-authenticated .subscription-panel{padding:18px}.workspace-authenticated .section-title{gap:10px}.workspace-authenticated .section-title h2{font-size:21px}.workspace-authenticated .currency-card{padding:18px}.workspace-authenticated .currency-card>div{display:flex;justify-content:space-between;gap:10px}
 .workspace-authenticated .table-wrap{max-width:100%;overflow:auto}.workspace-authenticated .state-banner{display:flex;flex-wrap:wrap}.workspace-authenticated .state-banner button{margin-left:0}
}

/* Queue tools size to the workspace content width, not the full browser width. */
.workspace-authenticated #recovery-queue{min-width:0;max-width:100%}
.workspace-authenticated .queue-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-authenticated .queue-filters>label:first-child{grid-column:1/-1}
.workspace-authenticated .queue-saved-views{grid-template-columns:1fr 1fr}
.workspace-authenticated .queue-saved-actions{grid-column:1/-1}
.workspace-authenticated .queue-bulk{grid-template-columns:1fr 1fr}
.workspace-authenticated .queue-bulk-summary,.workspace-authenticated .queue-bulk-actions{grid-column:1/-1}
.workspace-authenticated .table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:600px){.workspace-authenticated .queue-filters,.workspace-authenticated .queue-saved-views,.workspace-authenticated .queue-bulk{grid-template-columns:1fr}.workspace-authenticated .queue-bulk-actions{display:flex;flex-wrap:wrap}.workspace-authenticated .queue-saved-actions{flex-wrap:wrap}}
