/* Shared operator-workspace styling; no layout, data or action changes. */
body.portal-shell #console .page:where(:not(#dashboard-page)){--workspace-accent:#6955bf;--workspace-tint:#f3efff;--workspace-border:#ded9f0}
body.portal-shell #console .page:not(#dashboard-page){animation:workspace-arrive .35s ease-out both}
body.portal-shell #console :is(#subscribers-page,#add-user-page,#customer-profile-page,#subscriber-profile-page){--workspace-accent:#208675;--workspace-tint:#edf9f5;--workspace-border:#cfe8df}
body.portal-shell #console :is(#package-page,#base-plans-page,#subscription-page,#bulk-packages-page){--workspace-accent:#4c77bb;--workspace-tint:#eef4ff;--workspace-border:#d5e1f4}
body.portal-shell #console :is(#franchise-page,#franchise-list-page,#bulk-entities-page){--workspace-accent:#8260b4;--workspace-tint:#f6effc;--workspace-border:#e6d8f2}
body.portal-shell #console :is(#ip-pools-page,#nas-page,#nas-bng-page,#online-sessions-page){--workspace-accent:#218493;--workspace-tint:#eefaFC;--workspace-border:#cfe7eb}
body.portal-shell #console :is(#invoice-settings-page,#entity-wallet-page,#payment-page,#payments-page,.page[id*="invoice"],.page[id*="payment"],.page[id*="sharing"]){--workspace-accent:#a67631;--workspace-tint:#fff8ec;--workspace-border:#efdfc3}
body.portal-shell #console :is(.page[id*="complaint"],.page[id*="notification"]){--workspace-accent:#ad5879;--workspace-tint:#fff1f6;--workspace-border:#efd5df}
body.portal-shell #console .page:not(#dashboard-page)>.page-heading{border:1px solid var(--workspace-border);border-left:4px solid var(--workspace-accent);border-radius:14px;background:linear-gradient(115deg,var(--workspace-tint),#fff 85%);padding:18px 20px;box-shadow:0 4px 18px #30426205;min-width:0}
body.portal-shell #console .page:not(#dashboard-page)>.page-heading .kicker{color:var(--workspace-accent)}
body.portal-shell #console .page:not(#dashboard-page) :is(.card,.master-card,.list-card,.pool-card,.subscriber-detail-card,.saved-profile-card,.report-table-card){border-color:var(--workspace-border);border-top:2px solid var(--workspace-accent);box-shadow:0 4px 18px #30426206;transition:box-shadow .2s ease}
body.portal-shell #console .page:not(#dashboard-page) :is(.master-intro,.card-header,.list-toolbar,.report-filter-card){background:linear-gradient(110deg,var(--workspace-tint),#fff 85%);border-color:var(--workspace-border)}
body.portal-shell #console .page:not(#dashboard-page) :is(.section-heading,.master-intro,.card-header)>:is(h2,h3){color:#344765}
body.portal-shell #console .page:not(#dashboard-page) :is(.master-tabs,.profile-tabs,.subscriber-profile-tabs) button.active{box-shadow:inset 3px 0 var(--workspace-accent)}
body.portal-shell #console .page:not(#dashboard-page) :is(input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--workspace-accent) 40%,transparent);outline-offset:2px}
body.portal-shell #console .page:not(#dashboard-page) :is(.session-summary-grid,.report-summary,.cards)>:is(div,article){border-color:var(--workspace-border);box-shadow:0 3px 12px #30426206}
@media(hover:hover) and (pointer:fine){body.portal-shell #console .page:not(#dashboard-page) :is(.card,.master-card,.list-card,.pool-card,.subscriber-detail-card,.report-table-card):hover{box-shadow:0 7px 22px #3042620c}body.portal-shell #console .page:not(#dashboard-page) tbody>tr:hover>td{background-color:var(--workspace-tint)}}
body.portal-shell #console #dashboard-page .dash-entity-filter{grid-template-columns:max-content minmax(0,1fr);column-gap:16px;row-gap:8px}
body.portal-shell #console #dashboard-page .dash-entity-filter label{white-space:nowrap}
body.portal-shell #console #dashboard-page .dash-entity-filter select{justify-self:start}
@keyframes workspace-arrive{from{opacity:.75;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){body.portal-shell #console .page:not(#dashboard-page)>.page-heading{padding:14px 15px}body.portal-shell #console #dashboard-page .dash-entity-filter{grid-template-columns:minmax(0,1fr);gap:8px}body.portal-shell #console #dashboard-page .dash-entity-filter label{white-space:normal}}
@media(prefers-reduced-motion:reduce){body.portal-shell #console .page,body.portal-shell #console .page *,body.portal-shell #console .page *::before,body.portal-shell #console .page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
