/* Shared workspace identity. Scope deliberately excludes the marketing site. */
html[data-theme] :is(#dashboardOverlay,#docsOverlay,.dash-modal,.ep-menu),
#dashboardOverlay,#docsOverlay,#pgModelDialog {
 --d-bg:#090b12;--d-panel:#141722;--d-card:#141722;--d-rail:#0b0e15;--d-border:#252a38;--d-line:#1e2230;
 --d-text:#f5f6fa;--d-strong:#f5f6fa;--d-muted:#a6adbd;--d-dim:#a6adbd;--d-faint:#8992a5;
 --d-accent:#9af36d;--d-accent-soft:#a477ff15;--d-hover:#a477ff0d;--d-list:#c8cddd;
 --d-soft:#a6adbd;--d-label:#a6adbd;--d-bright:#f5f6fa;--d-inv-bg:#9af36d;--d-inv-text:#10200b;--d-hi:#a477ff55;
 --workspace-purple:#a477ff;--workspace-focus:#8460e8;--workspace-radius:16px;color-scheme:dark;
 font-family:Inter,"Segoe UI",sans-serif;
}
html[data-theme] :is(#dashboardOverlay,#docsOverlay) .dash-main {background:var(--d-bg);background-image:none}
#dashboardOverlay .dash-sidebar,#docsOverlay .dash-sidebar {background:var(--d-rail);border-color:var(--d-border)}
#dashboardOverlay .dash-topbar {background:#0b0e15;border-color:var(--d-border);min-height:68px;padding:12px 24px}
#dashboardOverlay #dashTitle {font-size:18px;font-weight:650;letter-spacing:-.4px}
#dashboardOverlay .dash-main {padding:24px 28px}
#dashboardOverlay .dash-page {max-width:1440px}
#dashboardOverlay .dash-h1 {font-size:28px;font-weight:650;letter-spacing:-.7px}
#dashboardOverlay .dash-card {border-radius:16px;background:var(--d-panel);border-color:var(--d-border);padding:24px}
#dashboardOverlay :is(.cc-kpi,.stat-card) {background:var(--d-panel);border:1px solid var(--d-border);border-radius:14px;padding:20px}
#dashboardOverlay .dash-nav {padding:12px}
#dashboardOverlay .dash-nav-item {border-radius:10px;gap:12px;color:var(--d-muted);transition:background-color .15s,color .15s}
#dashboardOverlay .dash-nav-item:hover {background:#ffffff05;color:var(--d-text)}
html[data-theme] :is(#dashboardOverlay,#docsOverlay) .dash-nav-item.active {background:#a477ff15;color:#c7a9ff;border-color:transparent;box-shadow:inset 2px 0 #a477ff}
#dashboardOverlay .dash-nav-item svg {width:20px;height:20px;stroke-width:1.65;flex-shrink:0}
#dashboardOverlay :is(input:not([type=checkbox]):not([type=range]):not([type=radio]),select,textarea) {background-color:#0d1018;border-color:var(--d-border);color:var(--d-text);border-radius:12px}
#dashboardOverlay :is(button,a,input,select,textarea,summary):focus-visible,#pgModelDialog :is(button,input):focus-visible {outline:2px solid #a477ff;outline-offset:3px}
#dashboardOverlay :is(th,td) {padding:12px 16px;border-color:var(--d-line)}
#dashboardOverlay thead {background:#0d1018}
#dashboardOverlay tbody tr:hover {background:#a477ff06}
#dashboardOverlay :is(.dash-balance,.dashboard-status-link) {background:transparent;border-color:var(--d-border);border-radius:14px}
#dashboardOverlay :is(.dash-modal,.ep-menu) {background:var(--d-panel);border-color:var(--d-border)}
#dashboardOverlay .dash-main:has(#dash-playground.active) {padding:0}
#dashboardOverlay #dash-playground.active {max-width:none}
#dashboardOverlay #dash-playground .pg-wrap {max-width:none;margin:0;width:100%}
#dash-playground.pg-workspace {--pg-side-width:264px}
#dash-playground.pg-workspace .pg-layout {height:100%;min-height:0;grid-template-rows:52px minmax(0,1fr)}
#dash-playground.pg-workspace .pg-conversations {padding:24px 16px 16px;background:#0b0e15;gap:16px;border-color:var(--d-border)}
#dash-playground .pg-sidebar-heading {font-size:16px;letter-spacing:-.3px}
#dash-playground.pg-workspace .pg-new-chat {background:#9af36d;color:#10200b;border:1px solid #9af36d;border-radius:12px;min-height:46px;font-size:15px;font-weight:650}
#dash-playground .pg-conversations>input {padding:12px;font-size:13px}
#dash-playground .pg-conversation-row {border-radius:10px;border:1px solid transparent;padding:6px}
#dash-playground .pg-conversation-row.active {background:#a477ff16;border-color:#a477ff35}
#dash-playground .pg-conversation-row>button {font-size:13px;line-height:1.5}
#dash-playground.pg-workspace .pg-chat-wrap {padding:0 32px 16px;background:radial-gradient(ellipse at 90% 8%,#8758e80c,transparent 55%)}
#dash-playground.pg-workspace .pg-toolbar {padding:0 28px}
#dash-playground.pg-workspace .pg-chat {padding:20px max(0px,calc((100% - 880px)/2))}
#dash-playground.pg-workspace .pg-chat:has(.pg-empty) {align-items:safe center;justify-content:safe center}
#dash-playground.pg-workspace .pg-empty {width:100%;max-width:1040px;padding:24px 0;margin:auto;text-align:center}
#dash-playground.pg-workspace .pg-empty h3 {font-size:clamp(28px,3.1vw,46px);font-weight:650;line-height:1.18;letter-spacing:-1.3px;margin:0 0 16px}
#dash-playground.pg-workspace .pg-empty>p {font-size:16px;line-height:1.6;color:var(--d-muted);margin:0 auto 28px;max-width:65ch}
#dash-playground .pg-empty-mark {color:#c7a9ff;background:#a477ff10;border:1px solid #a477ff40;border-radius:50%;margin:0 auto 20px}
#dash-playground .pg-feature-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:28px 0 24px;text-align:left}
#dash-playground .pg-feature {display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px 18px;min-width:0;min-height:150px;background:linear-gradient(150deg,#191d29,#10131c);border:1px solid var(--d-border);border-radius:18px;color:var(--d-text);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background-color .15s}
#dash-playground .pg-feature:hover {border-color:#8460e8;background:#1b192b}
#dash-playground .pg-feature svg {width:24px;height:24px;color:#b58dff;margin-bottom:4px}
#dash-playground .pg-feature:nth-child(2) svg {color:#9af36d}
#dash-playground .pg-feature:nth-child(4) svg {color:#77b5ff}
#dash-playground .pg-feature strong {font-size:16px;font-weight:600}
#dash-playground .pg-feature small {color:var(--d-muted);font-size:13px;line-height:1.5}
#dash-playground .pg-suggestions {display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
#dash-playground .pg-suggestion {border:1px solid var(--d-border);border-radius:24px;background:#0d1018;padding:8px 14px;font-size:12px;min-height:40px}
#dash-playground.pg-workspace .pg-composer {width:min(100%,1000px);border:1px solid #8460e8;border-radius:22px;background:linear-gradient(120deg,#191d29,#141722);padding:16px 18px;box-shadow:0 0 0 1px #a477ff18;margin-top:8px}
#dash-playground .pg-composer:focus-within {border-color:#b78fff;box-shadow:0 0 0 3px #a477ff12}
#dash-playground #pgInput {background:transparent;border:0;border-radius:0;font-size:16px;line-height:1.6;min-height:56px}
#dash-playground .pg-composer-foot {gap:8px;padding-top:8px}
#dash-playground #pgSend {background:#9af36d;color:#10200b;border-radius:14px;width:44px;height:44px;border:0}
#dash-playground #pgSend:disabled {opacity:.4}
#dash-playground .pg-composer-model summary {background:#0d101860;border:1px solid var(--d-border);border-radius:24px}
#dash-playground .pg-bubble {font-size:15px;line-height:1.8}
#dash-playground .pg-bubble pre {background:#0b0e15;border:1px solid var(--d-border);border-radius:12px;padding:18px}
#dash-playground .pg-bubble table {display:block;max-width:100%;overflow:auto;border-collapse:collapse}
#dash-playground .pg-thinking summary {color:#c7a9ff}
#dash-playground .pg-source-chip {background:#141722;border-color:var(--d-border);border-radius:10px}
#pgModelDialog {background:#141722;color:#f5f6fa;border-color:#252a38}
#dashboardOverlay .tv-support {--support-bg:#141722;--support-text:#f5f6fa;--support-muted:#a6adbd;--support-border:#252a38;padding:0}
#dashboardOverlay .tv-support .support-primary {background:#9af36d;border-color:#9af36d;color:#10200b}
#dashboardOverlay .support-list button[aria-current=true] {background:#a477ff15;border-color:#8460e8}
.control-shell {--ink-0:#090b12;--ink-1:#141722;--ink-2:#191d29;--ink-3:#222737;--line:#252a38;--line-strong:#3f465b;--text:#f5f6fa;--muted:#a6adbd;--faint:#8992a5;--brand:#a477ff;--brand-strong:#b98fff;--brand-bg:#a477ff15;--signal:#9af36d;--signal-bg:#9af36d12;--radius:16px;--radius-sm:10px;--shadow:none;--sans:Inter,"Segoe UI",sans-serif;background:var(--ink-0)}
.control-shell .control-sidebar {background:#0b0e15;border-color:var(--line)}
.control-shell .workspace-header {background:#0b0e15;border-color:var(--line)}
.control-shell :is(th,.registry-heading) {background:#10131c;border-color:var(--line)}
.control-shell .control-nav a.active {color:#c7a9ff;background:#a477ff15;border-color:#a477ff28;box-shadow:inset 2px 0 #a477ff}
.control-shell .button-primary {background:#9af36d;border-color:#9af36d;color:#10200b}
.control-shell .button-primary:hover {background:#b0fa8b;border-color:#b0fa8b}
.control-shell h1 {font-size:28px;letter-spacing:-.7px}
.control-shell :is(input,select,textarea) {border-radius:12px}
.control-shell :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid #a477ff;outline-offset:3px}
@media(max-width:768px){#dash-playground.pg-workspace .pg-empty h3{font-size:28px;letter-spacing:-.8px}#dash-playground.pg-workspace .pg-empty>p{font-size:14px;margin-bottom:16px}}
@media(max-width:1280px){#dash-playground.pg-workspace{--pg-side-width:224px}#dash-playground.pg-workspace .pg-chat-wrap{padding-inline:20px}#dash-playground .pg-feature{padding:16px 12px}#dash-playground .pg-feature-grid{gap:10px}}
@media(max-width:1100px){#dash-playground .pg-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#dash-playground .pg-feature{min-height:120px}#dash-playground.pg-workspace .pg-conversations{background:#0b0e15}}
@media(max-width:768px){#dashboardOverlay .dash-topbar{min-height:60px;padding:8px 12px}#dashboardOverlay #dashTitle{font-size:15px}#dashboardOverlay .dash-main{padding:20px 16px}#dashboardOverlay .dash-card{padding:18px}#dash-playground.pg-workspace .pg-chat-wrap{padding:0 12px 10px}#dash-playground.pg-workspace .pg-toolbar{padding-inline:12px}#dash-playground .pg-empty h3{font-size:28px;letter-spacing:-.8px}#dash-playground .pg-empty>p{font-size:14px;margin-bottom:16px}#dash-playground .pg-feature-grid{margin:20px 0 16px}#dash-playground .pg-feature{padding:14px;min-height:124px}#dash-playground .pg-feature strong{font-size:14px}#dash-playground .pg-feature small{font-size:12px}#dash-playground.pg-workspace .pg-composer{border-radius:18px;padding:12px}#dash-playground .pg-empty-mark{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){#dashboardOverlay *,#docsOverlay *,.control-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
