/* DMAI brand: white surfaces, red interaction accents, neutral readable text. */
:root,body.console-platform-shell{
 --brand:#d90024;--brand-hover:#b8001f;--brand-soft:#fff0f2;
 --green:var(--brand);--paper:#faf9f9;--ink:#29282c;--muted:#706b70;--line:#e9e3e5;
 --accent:var(--brand);
}
.company-logo{display:block;width:40px;height:50px;object-fit:contain;flex:none;background:white;border-radius:4px}
.platform-nav .platform-brand,.brand,.entry-brand{display:flex;align-items:center;gap:10px;color:#29282c}
body.console-platform-shell .platform-brand{font-size:21px;letter-spacing:-.6px}
.platform-nav{color:#29282c;border-color:var(--line)}
body.console-platform-shell{background:var(--paper);color:var(--ink)}
body.console-platform-shell .platform-nav nav a[aria-current=page]{background:var(--brand-soft);color:var(--brand);box-shadow:inset 3px 0 var(--brand)}
body.console-platform-shell .platform-nav nav a:hover{background:#fff6f7;color:var(--brand)}
body.console-platform-shell .space-title{background:#fff;border-color:var(--line);color:var(--ink)}
body.console-platform-shell .platform-nav .nav-group{color:#827b80}
body.console-platform-shell .onboarding li>span,.playground-open,.subscription-credits dd,.plan-body li:before{color:var(--brand)}
.primary,.account-confirm{background:var(--brand);border-color:var(--brand);color:white}
.primary:hover,.account-confirm:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
button:disabled{cursor:not-allowed}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
body.console-platform-shell #memory-page .cloud-scope-tabs{background:#f0ebed}
body.console-platform-shell #memory-page .cloud-scope-tabs button{color:#625a60}
body.console-platform-shell #memory-page .cloud-scope-tabs button[aria-pressed=true]{background:var(--brand);color:white}
body.console-platform-shell #memory-page .stat.episode{background:#fff2f3;border-color:#f0d7dc}
body.console-platform-shell #memory-page .stat.semantic{background:#fff7f7;border-color:#eedde0}
body.console-platform-shell #memory-page .stat.procedural{background:#f8f5f6;border-color:#e5dde0}
body.console-platform-shell #memory-page .stat.knowledge{background:#f4edf0;border-color:#e5d2d9}
body.console-platform-shell #memory-page .stat[aria-pressed=true]{outline-color:var(--brand)}
body.console-platform-shell #memory-page .stat strong{color:#34292f}
body.console-platform-shell #memory-page .stat small,body.console-platform-shell #memory-page .stat span{color:#6b5d64}
body.console-platform-shell #memory-page .bank input{background:#fff}
.tabs{background:#f4f0f1}.tabs button[aria-pressed=true]{background:#ffe2e8;color:#a90020}
.console-playground,.console-playground:nth-child(2),.console-playground:nth-child(3){background:#fff;border-color:var(--line);border-top:3px solid var(--brand)}
.console-playground:hover{border-color:#d90024;box-shadow:0 8px 24px #6e15200c}
.playground-number{color:#ad233b}.console-playground p{color:var(--muted)}
body.console-platform-shell #overview-page .stat:first-child{background:#fff0f2}
body.console-platform-shell .usage-table th{background:#f6f1f3}
.current-subscription{background:linear-gradient(125deg,#fff0f3,#fff);border-color:#efdae0}
.subscription-plan,.subscription-credits{border-color:var(--line)}
.subscription-plan header,.enterprise-plan header{background:linear-gradient(#fff0f3,#fffafb)}
.subscription-plan header span,.plan-body p{color:var(--muted)}
.account-avatar{background:#fff0f2;color:var(--brand)}
.account-entry-shell{background:#faf8f9;color:var(--ink)}
.account-entry-card{border-color:var(--line);box-shadow:0 16px 56px #671d2b0a}
.account-entry-card .entry-brand{justify-content:center;color:var(--ink)}
.toc a.active{background:#fff0f2;color:var(--brand);border-color:var(--brand)}
@media(max-width:600px){.company-logo{width:32px;height:40px}}
@media(prefers-reduced-motion:reduce){.console-playground{transition:none}}

/* Shared second-pass system: neutral surfaces, restrained brand accents. */
:root,body.console-platform-shell{--ink:#2b272c;--muted:#7b7279;--line:#ebe5e9;--paper:#faf9fa;--surface:#f8f6f7;--green-soft:#fff0f4;--accent:#fff0f4;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
body{color:var(--ink)}
button,input,select,textarea{font-family:inherit}
.platform-nav .platform-brand{font-weight:650;font-size:21px;letter-spacing:-.7px}
.platform-nav .company-logo{width:34px;height:43px}
.platform-nav .nav-group{font-size:10px;letter-spacing:1.5px;color:#978b94}
.platform-nav nav a{color:#655962;border-radius:8px}
.platform-nav [aria-current=page]{background:#fff0f4;color:#b51c40}
.platform-nav a:focus-visible,.account-dialog :focus-visible,[data-account-open]:focus-visible{outline-color:var(--brand)}
.account-trigger{color:#4a3e46}.account-trigger small{color:#897b83}
.account-trigger:hover,.account-dock-menu a:hover,.account-dock-menu button:hover{background:#fcf3f6}
.account-dock,.account-dialog,.account-dock-menu{border-color:var(--line)}
.account-dialog{box-shadow:0 24px 80px #37132414;color:var(--ink)}
.account-dialog::backdrop{background:#2b192d55}
.account-dialog a,.account-login,.entry-back{color:#a82b48}
.account-dialog p{color:var(--muted)}
.account-dialog input{border-color:var(--line)}
body.console-platform-shell main>header{height:80px;color:#8b7d86}
body.console-platform-shell .sidebar.platform-nav{padding:24px 20px;gap:22px;background:#fff}
body.console-platform-shell .platform-nav nav a{padding:10px 13px;font-weight:400}
body.console-platform-shell .platform-nav nav a[aria-current=page]{font-weight:600;box-shadow:none;background:#fff0f4;color:#b51c40}
body.console-platform-shell .space-title{border-radius:10px;padding:13px 12px;background:#fbfafb}
body.console-platform-shell main>section>.heading{margin:36px 0 30px}
body.console-platform-shell h1{font-size:27px;letter-spacing:-.8px;font-weight:600}
body.console-platform-shell .subtitle{color:#887c85;font-size:14px}
body.console-platform-shell .eyebrow{font-size:10px;letter-spacing:1.8px;color:#b1516b}
body.console-platform-shell .bank,body.console-platform-shell .access-card,body.console-platform-shell .onboarding li{border-color:var(--line);border-radius:14px;box-shadow:0 4px 16px #45223603}
body.console-platform-shell .onboarding li{padding:28px;gap:24px}
body.console-platform-shell .onboarding li>span{font:500 18px/1.7 ui-monospace,monospace;color:#b64b69}
body.console-platform-shell #memory-page .cloud-scope-tabs{background:#f1edef;border:1px solid #ebe3e8;border-radius:10px;margin:26px auto;padding:4px}
body.console-platform-shell #memory-page .cloud-scope-tabs button{border-radius:7px;font-size:13px;padding:9px 20px}
body.console-platform-shell #memory-page .cloud-scope-tabs button[aria-pressed=true]{background:#fff;color:#b11d3e;box-shadow:0 2px 6px #4922390b}
body.console-platform-shell #memory-page .stat{border-radius:12px;padding:20px}
body.console-platform-shell #memory-page .stat.episode,body.console-platform-shell #memory-page .stat.semantic,body.console-platform-shell #memory-page .stat.procedural{background:#fff;border-color:#e9e1e6}
body.console-platform-shell #memory-page .stat.knowledge{background:#fff5f8;border-color:#f0dbe3}
body.console-platform-shell #memory-page .stat[aria-pressed=true]{outline:1px solid #d35a75;outline-offset:1px}
body.console-platform-shell #memory-page .stat strong{font-family:inherit;font-weight:500;font-size:30px;line-height:1.5}
body.console-platform-shell #memory-page .stat:hover{background:#fff9fb}
body.console-platform-shell .tabs{border-radius:8px;background:#f5f1f4}
body.console-platform-shell .tabs button[aria-pressed=true]{background:#fff;color:#ac2346;box-shadow:0 1px 3px #4d20320a}
.console-playgrounds{gap:22px}
.console-playground,.console-playground:nth-child(2),.console-playground:nth-child(3){position:relative;padding:28px;min-height:310px;border:1px solid #e8e1e6;border-radius:16px;box-shadow:0 5px 20px #3d203205}
.console-playground:hover{border-color:#dd9bae;box-shadow:0 10px 28px #6a20360b}
.playground-number{display:flex;align-items:center;gap:10px;color:#a5445d;font-size:11px;letter-spacing:1.4px}
.playground-number:before{content:"";width:6px;height:6px;background:#d90024;border-radius:50%}
.console-playground h2{font-size:20px;font-weight:600;line-height:1.65;max-width:15em}
.console-playground p{font-size:14px;line-height:1.9;color:#8b7e86}
.playground-open{font-size:13px;color:#b02546;font-weight:500;padding-top:20px;border-top:1px solid #f1e9ed}
.current-subscription{background:#fff5f8;border-color:#efdbe3;border-radius:14px;min-height:230px}
.subscription-plan{box-shadow:none;border-radius:14px}.subscription-plan header,.enterprise-plan header{background:#fcf8fa;border-bottom:1px solid #f1e7ec}
.subscription-plan header h3{font-size:22px}.subscription-choice{font-size:22px}
.plan-body>button,.plan-body>a{border-radius:8px}.plan-body>button:disabled{background:#f2eef0;color:#91838c;border:1px solid #e7dfe4}
.account-entry-shell{background:#faf8fa}.account-entry-card{border:1px solid #e9e0e6;border-radius:18px;padding:36px;box-shadow:0 20px 64px #41132b07}
.account-entry-card h1{font-size:28px;font-weight:600}.account-entry-card .entry-lead{color:#877880}
.account-entry-card .entry-brand{font-size:21px;font-weight:600;gap:10px}
.docs-layout .sidebar{background:#fdfcfd;border-color:var(--line)}
.docs-layout .toc a.active{background:#fff0f4;color:#b02546;border-radius:7px}
.docs-layout pre{border:1px solid #ebe3e8;background:#f8f6f8;border-radius:10px}
.docs-layout .breadcrumb,.docs-layout .sidebar-note{color:#897c85}
.topbar{border-color:var(--line)}.topbar .brand{font-size:19px;font-weight:600}
/* The three experience workspaces share the same frame and controls. */
body.branded-experience{background:#faf9fa;color:var(--ink)}
.branded-experience .access-status{background:#f5f1f4;color:#7d6f79;border:1px solid #e9e1e6}
.branded-experience .operations,.branded-experience .evidence section{border-color:var(--line);border-radius:14px}
.branded-experience .experience-tabs{background:transparent;border-color:var(--line)}
.branded-experience .experience-tabs a{border-color:#e7dfe4;color:#80727c;background:#fff}
.branded-experience .experience-tabs a[aria-current=page]{background:#fff2f6;border-color:#d4738c;color:#a82346}
.branded-experience .operation-tabs button[aria-selected=true],.branded-experience .operation-tabs button.active{background:#fff0f4;color:#ae2345}
.branded-experience button[type=submit],.branded-experience .primary{background:var(--brand);border-color:var(--brand);color:#fff}
@media(max-width:900px){body.console-platform-shell .sidebar.platform-nav{padding:18px;gap:16px}body.console-platform-shell main>header{height:60px}.console-playground{min-height:245px}}
@media(max-width:600px){body.console-platform-shell h1{font-size:23px}.console-playground{padding:24px}.account-entry-card{padding:24px}}
body.console-platform-shell .top-language-toggle{color:#786772;border-color:#e7dfe4;background:white}
body.console-platform-shell .status:not(.error),body.console-platform-shell .memory-card header p,body.console-platform-shell .card-note{color:#83767f}
/* Login controls use the same component classes as generated account markup. */
.account-dialog .project-password-input-row{display:flex;align-items:center;gap:8px;min-width:0}
.account-dialog .project-password-input-row input{flex:1;min-width:0}
.account-dialog .project-password-input-row button{flex:none;width:auto;min-height:44px;padding:10px 12px;border:1px solid #e5dce2;background:#fff;color:#65515e;border-radius:7px;font-size:13px;font-weight:400;white-space:nowrap}
.account-dialog .project-password-input-row button:hover{background:#fff3f6;border-color:#d898aa}
.account-dialog .project-password-input-row button[aria-pressed=true]{background:#fff0f4;color:#b02546}
.account-dialog .account-switch{color:#b02546;background:transparent}
.account-entry-card h1,.account-dialog label{color:#393139}
.account-entry-card .eyebrow,.entry-lead{color:#80727c}
.entry-brand{font-family:inherit!important}
.account-entry-card [data-account-gate].account-dialog{box-shadow:none;border-radius:0}
/* Keys are a management table; sensitive actions appear only on request. */
body.console-platform-shell #access-page .heading{margin:30px 0 22px}
#access-page .keys-heading h1{font-size:23px}
#access-page .keys-heading>.primary{padding:10px 18px;font-size:13px}
.keys-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 22px 18px}
.keys-table-scroll{overflow-x:auto}.keys-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}
.keys-table th{font-weight:500;color:#81757c;padding:20px 14px;border-bottom:1px solid var(--line)}
.keys-table td{padding:22px 14px;border-bottom:1px solid #f3edf0;color:#4c4249}
.keys-table tr:last-child td{border-bottom:0}.keys-table td:first-child{min-width:170px}
.key-masked{font-family:ui-monospace,monospace;letter-spacing:1px}
.key-status-pill{display:inline-block;background:#fff0f4;color:#ac2d4a;padding:3px 10px;border-radius:20px;font-size:11px}
.keys-table button{padding:5px 9px;background:white;border:1px solid #e9e0e5;font-size:12px;border-radius:6px;color:#79616c}
.keys-table button:hover{border-color:#bd7188;color:#ab2548}
.keys-status{font-size:13px;color:var(--muted);margin:14px}.keys-status:empty{display:none}
.keys-footer{font-size:12px;color:#96858e;margin:18px 4px}.keys-footer a{color:#a3304d;margin-left:8px}
.key-dialog{width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid #e8dde3;border-radius:16px;padding:26px;color:#3c3038;background:white;box-shadow:0 24px 80px #34152620}
.key-dialog::backdrop{background:#2b192d55}.key-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}
.key-dialog-heading h2{font-size:20px;margin:0}.key-dialog-heading button{border:0;background:transparent;font-size:24px;color:#8d7682;padding:0 6px}
.key-dialog .key-controls{border:0;margin:20px 0 0;padding:0}.key-dialog .keys-note{font-size:13px;color:#85717c;line-height:1.8}
.key-dialog form{display:grid;gap:10px}.key-dialog label{font-size:13px}.key-dialog input,.key-dialog textarea{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #e5d9e0;border-radius:7px;font:inherit}
.key-dialog .password-input-row{display:flex;align-items:center;gap:8px}.key-dialog .password-input-row input{flex:1}.key-dialog .password-input-row button{width:auto;white-space:nowrap;background:white;color:#755565;border:1px solid #e5d9e0;font-size:12px;padding:10px}
.key-dialog .primary{padding:11px;margin-top:10px}.key-dialog [role=status],.key-dialog #key-password-requirement{font-size:12px;color:#8c7580;line-height:1.7}
@media(max-width:600px){.keys-panel{padding:4px 8px 14px}.keys-table th,.keys-table td{padding:16px 12px}.key-dialog{padding:20px}}
.account-entry-card #account-title{font-size:25px;font-weight:600;margin:30px 0 24px}
.account-entry-card #account-form{gap:10px;margin-top:0}
.account-entry-card #account-form>p{font-size:12px;line-height:1.6;margin:0 0 8px;color:#97858e}
.account-entry-card #account-form>label{margin:4px 0}
.account-entry-card .account-message:empty{display:none}
.account-entry-card .account-confirm{margin-top:12px}
.account-entry-card .entry-back{text-align:center;font-size:12px;margin-top:20px}
#subscription-page .subscription-summary{grid-template-columns:2fr 3fr;gap:18px}
#subscription-page .current-subscription{background:linear-gradient(120deg,#f8d3de,#fff4f7);padding:30px;position:relative;overflow:hidden;border-color:#ecc4d0}
.current-pro-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.current-pro-title>span:first-child{font:italic 700 44px/1 Georgia,serif;color:#d90024}
#subscription-page .current-pro-title h2{margin:0;font-size:28px;font-weight:600}
.current-plan-badge{margin-left:auto;background:#fff9fb;border:1px solid #f3dbe3;border-radius:20px;padding:6px 12px;font-size:12px;color:#9f344e}
#subscription-page .current-subscription>p{margin:20px 0 4px;color:#a65b70;font-size:13px}
#subscription-page .current-subscription>small{color:#a87b88;font-size:12px}
#subscription-page .subscription-choice{margin:36px 0 30px}
#subscription-page .subscription-plan{border-radius:24px;min-height:390px}
#subscription-page .subscription-plan.pro-plan{border:1.5px solid #df607f}
#subscription-page .subscription-plan header{padding:26px 28px;background:linear-gradient(#fbe4eb,#fff9fb)}
#subscription-page .enterprise-plan header{background:linear-gradient(#ede7ec,#faf7fa)}
#subscription-page .plan-price{font-size:30px;font-weight:500}
#subscription-page .plan-body>button,#subscription-page .plan-body>a{border-radius:22px;font-size:13px}
#subscription-page .plan-body .current-plan-button{color:#917d87;background:#faf7f9;border-color:#eee5e9}
@media(max-width:1100px){#subscription-page .subscription-summary{grid-template-columns:1fr}#subscription-page .subscription-plan{min-height:0}}
body.console-platform-shell .space-switcher{position:relative;display:block}
body.console-platform-shell .space-switcher>.space-picker{display:block;font-size:11px;color:#90838b;margin:0 0 8px 4px;letter-spacing:.5px}
body.console-platform-shell .space-switcher>.space-title{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:38px;padding:9px 12px;background:#f7f5f6;border:1px solid #e5dfe2;border-radius:8px;text-align:left;font-size:13px;color:#43363e}
body.console-platform-shell .space-title:after{content:none}
body.console-platform-shell .space-menu{position:absolute;top:100%;left:0;right:0;margin-top:5px;z-index:30;padding:5px;border-radius:8px;gap:4px;border:1px solid #e7dfe4;box-shadow:0 5px 15px #36232e15}
.space-menu input[type=search]{box-sizing:border-box;width:100%;min-width:0;border:0;border-bottom:1px solid #eee7eb;padding:9px;font-size:12px;background:white}
.space-option-list{max-height:240px;overflow:auto}.space-option-list button{display:block;position:relative;width:100%;padding:9px 25px 9px 9px;text-align:left;background:white;border:0;border-radius:4px;color:#51404b;font-size:13px;overflow-wrap:anywhere}
.space-option-list button:hover{background:#f4eff2}.space-option-list button[aria-selected=true]:after{content:'✓';position:absolute;right:9px;color:#b12647}
.space-option-list p{padding:10px;font-size:12px;color:#9a8691}
.platform-nav .space-menu .manage-spaces-button{border:0;border-top:1px solid #eee7eb;border-radius:0;background:white;padding:10px;width:100%;font-size:13px;color:#65515e;text-align:center}
.managed-space-list{margin:18px 0}.managed-space-row{padding:12px 0;border-bottom:1px solid #eee7eb;font-size:14px}.spaces-dialog label{display:block;margin:18px 0 8px}.spaces-dialog #new-space{width:100%;text-align:center}.space-limit-status{color:#987582;font-size:13px}
body.console-platform-shell .platform-brand,.platform-nav .platform-brand{font-size:17px;letter-spacing:-.5px;gap:8px}
.platform-nav .platform-brand .company-logo{width:27px;height:34px}
.platform-nav .platform-brand>span{white-space:normal;line-height:1.3}
@media(max-width:600px){.topbar .brand .muted{display:none}.topbar .brand{font-size:16px;gap:8px}.product-home .brand{font-size:20px}}
.invitation-required{width:fit-content;font-size:11px;background:#f5f1f4;color:#8a6d7b;border:1px solid #ece1e7;border-radius:5px;padding:3px 8px;margin-top:-8px}
.invitation-dialog>p{font-size:13px;color:#897581;line-height:1.7}.invitation-dialog form{display:grid;gap:12px;margin-top:20px}
/* Space management, API onboarding, and token usage. */
.usage-token-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:28px 0}.usage-token-grid article{border:1px solid #e8e5e5;border-radius:12px;padding:24px;background:#fff;display:grid;gap:18px}.usage-token-grid strong{font-size:26px;overflow-wrap:anywhere}.usage-token-grid span{color:#706b6b;font-size:13px}.request-filters{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.request-filters label{display:grid;gap:8px;flex:1 1 140px;font-size:12px;color:#706b6b}.request-filters input,.request-filters select{min-width:0;width:100%;box-sizing:border-box;padding:10px;border:1px solid #e8e5e5;border-radius:7px;background:#fff}.keys-table-scroll{overflow:auto}.keys-table td{max-width:340px;overflow-wrap:anywhere}.setup-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.setup-choices button{display:grid;gap:10px;text-align:left;padding:24px;border:1px solid #e6e2e2;border-radius:12px;background:#fff}.setup-choices button[aria-pressed=true]{border-color:#b52635;background:#fff8f8}.setup-choices small{color:#706b6b}.setup-code{border:1px solid #e6e2e2;border-radius:12px;overflow:hidden;margin-bottom:32px}.setup-code>div{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#faf9f9}.setup-code pre{overflow:auto;padding:22px;line-height:1.7}.setup-code>p{padding:0 20px}.memory-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.memory-intro-grid article{border:1px solid #e6e2e2;border-radius:12px;padding:20px}#usage-coverage,#spaces-page-status{color:#706b6b;font-size:13px}@media(max-width:800px){.usage-token-grid{grid-template-columns:1fr 1fr}.setup-choices,.memory-intro-grid{grid-template-columns:1fr}}
.universal-language-toggle{position:fixed;right:24px;top:20px;z-index:30;background:#fff;border:1px solid #e6e2e2;border-radius:7px;padding:8px 12px;color:#443b3b}.home-nav .universal-language-toggle{position:static;margin-left:12px}
/* Experience pages retain the console rail and show only their own workspace. */
body.experience-workspace-shell{display:block;margin:0;padding:0;background:#faf9fa}
body.experience-workspace-shell>.platform-nav{position:fixed;inset:0 auto 0 0;z-index:35;width:240px;height:100dvh;box-sizing:border-box;padding:28px 20px;gap:20px;overflow-y:auto;background:white;border-right:1px solid #eee7eb}
body.experience-workspace-shell>.platform-nav nav{display:grid;gap:5px}
body.experience-workspace-shell>.platform-nav nav a{height:auto;min-height:36px;padding:9px 12px;font-size:14px;border:0;line-height:1.5}
body.experience-workspace-shell>.platform-nav nav a::before{display:none}
body.experience-workspace-shell>.platform-nav .nav-group{display:block;font-size:11px;letter-spacing:.12em;margin:18px 10px 2px}
body.experience-workspace-shell>.platform-nav [aria-current=page]{background:#fff0f4;color:#b02546}
body.experience-workspace-shell>.platform-nav .space-title{height:auto;min-height:40px;background:#faf7f9;border:1px solid #eee7eb;box-shadow:none;font-size:14px;letter-spacing:0}
body.experience-workspace-shell>.platform-nav .space-title::after{display:none}
.platform-nav .space-menu[hidden]{display:none!important}.platform-nav .space-switcher select[hidden],.platform-nav #create-space[hidden]{display:none!important}
body.experience-workspace-shell>main,body.experience-workspace-shell>.host-workspace{margin:0 0 0 240px;max-width:none;width:calc(100% - 240px);box-sizing:border-box;padding:32px clamp(24px,3vw,56px) 40px}
body.experience-workspace-shell>main>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}
body.experience-workspace-shell .top-language-toggle{height:36px;min-width:56px;flex:none;font-size:14px}
body.experience-workspace-shell .operation-tabs [aria-pressed=true]{background:#fff0f4;color:#b02546}
body.experience-workspace-shell .real-example-entry{padding:16px 22px;border-bottom:1px solid #eee7eb;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.6}
body.experience-workspace-shell #load-real-example{flex:none;border:1px solid #e1d9dd;color:#b02546;background:white;white-space:nowrap}
body.experience-workspace-shell .access-status:empty{display:none}
body.experience-workspace-shell .evidence{grid-template-rows:auto auto;align-content:start}
body.experience-workspace-shell .evidence>section{min-height:240px}
body.experience-workspace-shell .component-choice[hidden],body.experience-workspace-shell .benchmark-only[hidden]{display:none!important}
@media(max-width:900px){body.experience-workspace-shell>.platform-nav{position:static;width:100%;height:auto;padding:16px 20px;gap:14px}body.experience-workspace-shell>.platform-nav nav{display:flex;flex-wrap:wrap}body.experience-workspace-shell>.platform-nav .nav-group{display:none}body.experience-workspace-shell>main,body.experience-workspace-shell>.host-workspace{margin:0;width:100%;padding:24px 18px}body.experience-workspace-shell .playground{grid-template-columns:1fr}body.experience-workspace-shell .real-example-entry{flex-wrap:wrap}}
body.experience-workspace-shell .real-example-entry{display:block;padding:18px 22px}.example-label{display:block;font-size:12px;color:#83777f;margin-bottom:10px}.example-choices{display:flex;flex-wrap:wrap;gap:8px}.example-choices button{border:1px solid #e8e0e5;background:#fff;border-radius:7px;padding:8px 11px;font:inherit;font-size:13px;color:#574b53;line-height:1.4}.example-choices button[aria-pressed=true]{color:#b02546;border-color:#d99baa;background:#fff3f6}.example-choices button:hover{border-color:#c56b81}
body.console-platform-shell #memory-page>.cloud-scope-tabs{justify-content:flex-start;width:100%;margin:0 0 12px;padding:0;gap:24px;background:transparent;border:0;border-bottom:1px solid #e9dfe4;border-radius:0}body.console-platform-shell #memory-page>.cloud-scope-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 0;background:transparent;box-shadow:none}body.console-platform-shell #memory-page>.cloud-scope-tabs button[aria-pressed=true]{background:transparent;color:#bd2448;border-bottom-color:#bd2448;box-shadow:none}
body.console-platform-shell #memory-page>.heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px}body.console-platform-shell #memory-page>.heading>.memory-heading-tools{justify-self:end;display:flex;align-items:flex-end;flex-direction:column;gap:10px}body.console-platform-shell #memory-page .memory-project-picker{display:flex;flex-direction:row;align-items:center;margin:0}@media(max-width:700px){body.console-platform-shell #memory-page>.heading{grid-template-columns:minmax(0,1fr)}body.console-platform-shell #memory-page>.heading>.memory-heading-tools{justify-self:start;align-items:flex-start;flex-direction:row;flex-wrap:wrap}}
body.console-platform-shell #memory-page[data-knowledge-view=meta] .memory-subject-tabs,body.console-platform-shell #memory-page[data-knowledge-view=meta] .memory-nature-filters,body.console-platform-shell #memory-page[data-memory-scope=meta] .memory-activity{display:none}body.console-platform-shell #memory-page[data-memory-scope=meta] .meta-card{max-width:none}body.console-platform-shell #memory-page[data-memory-scope=meta] .bank{margin-top:16px}
body.console-platform-shell .console-playground.is-invitation-selected{border:2px solid #be2448;background:#fff3f6;box-shadow:0 0 0 4px #be244816}body.console-platform-shell .console-playground.is-invitation-selected h2{color:#a91c3d}
body.console-platform-shell .space-title::after,body.experience-workspace-shell>.platform-nav .space-title::after{content:'⌄';display:block;font-size:15px;letter-spacing:0}body.console-platform-shell .space-title[aria-expanded=true]::after,body.experience-workspace-shell>.platform-nav .space-title[aria-expanded=true]::after{content:'⌃'}

/* A persistent header control keeps the workspace reachable with navigation hidden. */
body.experience-workspace-shell .workspace-nav-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;align-self:flex-start;padding:0;margin:2px 12px 0 0;background:#fff;border:1px solid #e8dce2;border-radius:9px;color:#846b77;cursor:pointer}
body.experience-workspace-shell .workspace-nav-toggle:hover{background:#fff0f4;color:#c31b48;border-color:#e9afc0}
body.experience-workspace-shell .workspace-nav-toggle:focus-visible{outline:2px solid #c31b48;outline-offset:3px}
body.experience-workspace-shell.workspace-nav-collapsed{grid-template-columns:minmax(0,1fr)}
body.experience-workspace-shell.workspace-nav-collapsed>.platform-nav{display:none!important}
body.experience-workspace-shell.workspace-nav-collapsed>main,body.experience-workspace-shell.workspace-nav-collapsed>.host-workspace{margin-left:0!important;width:100%!important;max-width:none}

/* MEMORY SPACE is a navigation section label, matching SETUP. */
body.experience-workspace-shell>.platform-nav .space-label,
body.console-platform-shell .platform-nav .space-label{display:block;font-size:11px!important;font-weight:400!important;line-height:1.5;letter-spacing:.12em!important;color:#80727c;margin:18px 10px 2px}

body.experience-workspace-shell>.workspace-nav-toggle{position:fixed;top:65px;z-index:70;width:28px;height:28px;min-width:28px;min-height:28px;margin:0;background:#fff;box-shadow:none;border:1px solid #eadfe5;border-radius:7px}body.experience-workspace-shell.workspace-nav-collapsed>.workspace-nav-toggle{top:12px}@media(max-width:900px){body.experience-workspace-shell>.workspace-nav-toggle{top:12px}}

/* Console and experiences share the same navigation collapse behavior. */
body.console-platform-shell>.workspace-nav-toggle{display:flex;align-items:center;justify-content:center;position:fixed;top:65px;z-index:70;width:28px;height:28px;padding:0;margin:0;background:#fff;border:1px solid #eadfe5;border-radius:7px;color:#846b77;cursor:pointer}
body.console-platform-shell>.workspace-nav-toggle:hover{background:#fff0f4;color:#c31b48}
body.console-platform-shell>.workspace-nav-toggle:focus-visible{outline:2px solid #c31b48;outline-offset:3px}
body.console-platform-shell.workspace-nav-collapsed .sidebar.platform-nav{display:none!important}
body.console-platform-shell.workspace-nav-collapsed main{margin-left:0!important;width:100%!important;max-width:none}
body.console-platform-shell.workspace-nav-collapsed>.workspace-nav-toggle{top:12px}
body.console-platform-shell.workspace-nav-collapsed{grid-template-columns:minmax(0,1fr)}
.flow-project-caption,.evaluation-project>span{font-size:17px!important;font-weight:700!important;color:#393139!important}
.flow-config-panel h2,.flow-inspector>h2,.evaluation-config h2,.evaluation-memory>h2{font-size:17px!important;font-weight:700!important;color:#393139!important}
/* Align space selection and navigation groups to the same sidebar column. */
body.console-platform-shell .platform-nav [data-space-slot],
body.experience-workspace-shell>.platform-nav [data-space-slot]{width:100%;min-width:0;margin:0;padding:0}
body.console-platform-shell .platform-nav .space-switcher,
body.experience-workspace-shell>.platform-nav .space-switcher{width:100%;margin:0;padding:0;gap:6px}
body.console-platform-shell .platform-nav>nav,
body.experience-workspace-shell>.platform-nav>nav{width:100%;box-sizing:border-box;padding:0;margin:0}
body.console-platform-shell .platform-nav .space-label,
body.experience-workspace-shell>.platform-nav .space-label{width:auto;margin:0 10px 2px;font-size:11px!important;line-height:1.5!important}
body.console-platform-shell .platform-nav>nav>.nav-group,
body.experience-workspace-shell>.platform-nav>nav>.nav-group{margin-left:10px;margin-right:10px;line-height:1.5!important}
body.console-platform-shell .platform-nav>nav>.nav-group:first-child,
body.experience-workspace-shell>.platform-nav>nav>.nav-group:first-child{margin-top:0}
body.console-platform-shell .platform-nav,
body.experience-workspace-shell>.platform-nav{gap:16px}
/* Compact desktop navigation leaves more width for the three-column workspace. */
@media(min-width:901px){
body.experience-workspace-shell>.platform-nav,
body.console-platform-shell .sidebar.platform-nav{width:200px;padding-left:12px;padding-right:12px}
body.experience-workspace-shell:not(.workspace-nav-collapsed)>main,
body.experience-workspace-shell:not(.workspace-nav-collapsed)>.host-workspace{margin-left:200px;width:calc(100% - 200px)}
body.console-platform-shell:not(.workspace-nav-collapsed) main{margin-left:200px;width:calc(100% - 200px)}
body.experience-workspace-shell>.platform-nav .platform-brand,
body.console-platform-shell .sidebar.platform-nav .platform-brand{font-size:15px;gap:6px}
body.experience-workspace-shell>.platform-nav .company-logo,
body.console-platform-shell .sidebar.platform-nav .company-logo{width:22px;height:28px}
}

.flow-project-name,#evaluation-project-name{font-size:12px!important;font-weight:400!important;color:#91848d!important;line-height:1.6}

body.experience-workspace-shell>.workspace-nav-toggle,body.console-platform-shell>.workspace-nav-toggle{border-radius:8px;box-shadow:0 2px 6px #5030440a;background:#fff}body.experience-workspace-shell.workspace-nav-collapsed>main>header,body.console-platform-shell.workspace-nav-collapsed main>header{padding-left:32px}

body.console-platform-shell #memory-page>.heading>.memory-heading-tools{flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px}
.memory-component-filter{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}
.memory-component-filter select{width:170px;min-height:42px;border:1px solid #e9dce2;border-radius:8px;background:#fff;padding:8px}
.memory-project-picker>span,.memory-component-filter>span{white-space:nowrap;flex:none}
.project-picker-search{width:calc(100% - 16px);margin:8px;padding:9px;border:1px solid #e9dce2;border-radius:6px;box-sizing:border-box}
.project-picker-row[hidden]{display:none!important}
#memory-page.native-project-view>section:not(#native-project-results),#memory-page.native-project-view>.memory-search{display:none}
#native-project-results{padding:22px;border:1px solid #e9dce2;background:white;border-radius:12px}

/* Persistent brand and stable upper-left navigation control. */
.workspace-brand-bar{position:fixed;inset:0 0 auto 0;height:64px;background:#fff;border-bottom:1px solid #f1e8ed;z-index:55;pointer-events:none}
.workspace-persistent-brand{position:absolute;left:52px;top:14px;display:flex!important;align-items:center;gap:8px;color:#241e23;text-decoration:none;font-size:15px;font-weight:650;white-space:nowrap;pointer-events:auto}
.workspace-persistent-brand .company-logo{width:22px;height:30px;object-fit:contain}
body.console-platform-shell>.sidebar.platform-nav,body.experience-workspace-shell>.platform-nav{padding-top:80px!important}
body.console-platform-shell main,body.experience-workspace-shell>main{padding-top:84px!important}
body.console-platform-shell>.workspace-nav-toggle,body.experience-workspace-shell>.workspace-nav-toggle{left:12px!important;top:18px!important;z-index:75}
.top-language-toggle{position:relative;z-index:76}

/* Keep the persistent brand within the 200px navigation width. */
.workspace-brand-bar .workspace-persistent-brand{left:48px;top:17px;max-width:144px;gap:5px;font-size:12px;font-weight:600;line-height:28px;box-sizing:border-box}
.workspace-brand-bar .workspace-persistent-brand .company-logo{width:16px;height:26px;flex:none}
.workspace-brand-bar .workspace-persistent-brand>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.workspace-brand-bar .workspace-persistent-brand{left:44px;top:16px;max-width:152px;gap:7px;line-height:32px}
.workspace-brand-bar .workspace-persistent-brand .company-logo{width:20px;height:32px;object-fit:contain;flex:none}

.workspace-brand-bar{display:flex;align-items:center;padding:0 86px 0 220px;box-sizing:border-box}
.workspace-brand-bar>.breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;font-size:12px;color:#897c85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:auto}
.workspace-brand-bar>.top-language-toggle{position:absolute!important;right:24px;top:14px;margin:0!important;height:36px;min-height:36px;pointer-events:auto}
body.console-platform-shell main>header[hidden]{display:none!important}
@media(max-width:600px){.workspace-brand-bar{padding-left:170px;padding-right:62px}.workspace-brand-bar>.breadcrumb{font-size:11px;gap:6px}.workspace-brand-bar>.top-language-toggle{right:12px}.workspace-brand-bar .workspace-persistent-brand{max-width:120px}}

.project-picker-create{display:block;width:100%;padding:10px;text-align:left;border:0;border-bottom:1px solid #eee4e9;background:white;color:#b02546;font:inherit;cursor:pointer}
/* Keep the memory-bank project picker usable even for short project names. */
body.console-platform-shell #memory-page .memory-project-picker>.project-picker{width:260px;flex:0 0 260px;max-width:100%}
@media(max-width:600px){body.console-platform-shell #memory-page .memory-project-picker>.project-picker{width:min(260px,calc(100vw - 120px));flex-basis:auto}}

.project-create-entry{width:100%;margin-top:8px;padding:9px 12px;border:1px solid #dfb4c0;border-radius:8px;background:#fff5f7;color:#b02546;font:inherit;cursor:pointer}.project-create-entry[hidden]{display:none}.project-required-hint{flex-basis:100%;margin:0;font-size:13px;color:#897681}
/* Shared primary execution actions across both playgrounds. */
.operation-execution #flow-get-memory,
.operation-execution #evaluation-get-memory,
.operation-execution #flow-run-single,
.operation-execution #flow-run-all,
.operation-execution #run-step,
.operation-execution #run-job{background:#ba2147!important;border:1px solid #ba2147!important;color:#fff!important;box-shadow:none}
.operation-execution #flow-get-memory:not(:disabled):hover,
.operation-execution #evaluation-get-memory:not(:disabled):hover,
.operation-execution #flow-run-single:not(:disabled):hover,
.operation-execution #flow-run-all:not(:disabled):hover,
.operation-execution #run-step:not(:disabled):hover,
.operation-execution #run-job:not(:disabled):hover{background:#a51c3e!important;border-color:#a51c3e!important}
.operation-execution #flow-get-memory:disabled,
.operation-execution #evaluation-get-memory:disabled,
.operation-execution #flow-run-single:disabled,
.operation-execution #flow-run-all:disabled,
.operation-execution #run-step:disabled,
.operation-execution #run-job:disabled{background:#e7bdc8!important;border-color:#e7bdc8!important;color:#fff!important;opacity:1;cursor:not-allowed}

.workspace-brand-bar>.breadcrumb a,.workspace-brand-bar>.breadcrumb a:visited{color:#897c85;text-decoration:none}
.workspace-brand-bar>.breadcrumb a:hover{color:#ba2147}

#flow-get-memory,#evaluation-get-memory,#host-get-memory{font-weight:700!important}
