/* Shared ivory and gold theme for the persistent studio shell and its pages. */
body.studio-theme {
  --bg:#f4f2ed; --panel:#fffefa; --ink:#26282d; --muted:#6c685f; --line:#ded7ca;
  --violet:#a77120; --cyan:#b78837; --gradient:linear-gradient(115deg,#e3bf70,#c89539 65%,#e5be68);
  color:var(--ink); background:#eeece8; color-scheme:light;
}
body.studio-theme #studio-content { background:linear-gradient(145deg,#f9f8f5,#f0eeea); }
body.studio-theme #studio-content>.section-shell,
body.studio-theme #studio-content #main>.section-shell { max-width:1440px; padding-inline:clamp(20px,3vw,48px); }
body.studio-theme #studio-content:not(.is-home) #main { min-height:100%; }
body.studio-theme #studio-content:not(.is-home) .page-heading { padding-top:40px; }
body.studio-theme :is(h1,h2,h3,h4,.plan-price,.info-list dd,.info-list .total dt) { color:#29292c; }
body.studio-theme :is(.eyebrow,.section-label,.plan-eyebrow,.trial-explainer>.section-label) { color:#996c27; }
body.studio-theme .chrome-text { background-image:linear-gradient(100deg,#a77422,#d5ab57 55%,#8b601d); color:#a97726; }
body.studio-theme :is(.page-heading>p,.section-description,.feature-detail p,.detail-label,.price-card>p,.plan-price small,.check-list>li,.price-footnote,.trial-explainer li p,.trial-future-note,.pricing-note,.pricing-note p,.download-copy>p,.download-spec,.setup-steps p,.form-heading>p,.auth-switch,.form-footnote,.checkbox-label,.account-heading p,.account-subscription>p,.account-download>p,.empty-state>p,.empty-state>span,.info-list dt,.cancel-confirm>p,.trial-days small,.checkout-heading>p,.checkout-product>p,.state-page>p,.legal-page>article>p,.small-copy,.faq-list details>p,.roadmap-grid p) { color:#6a665e; }
body.studio-theme :is(.trial-explainer li b,.faq-list summary,.pricing-note b) { color:#3f3930; }
body.studio-theme :is(.feature-detail-number,.trial-explainer li>span,.setup-steps li>span) { color:#a47b37; }
body.studio-theme :is(.feature-detail-art>.icon,.pricing-note>.icon,.empty-state>.icon) { color:#a77b30; }
body.studio-theme :is(.faq-list,.faq-list details,.feature-detail,.info-list>div,.cancel-confirm) { border-color:#dcd4c6; }
body.studio-theme .faq-list summary>span { color:#b58b42; }
body.studio-theme #faq-support { scroll-margin-top:24px; }

/* Light beveled controls retain each page's actions and native form behavior. */
body.studio-theme .button { border-radius:10px; }
body.studio-theme .button-dark { color:#fff; background:linear-gradient(#dfbb6c,#be8a31); border-color:#bc8c3e; box-shadow:inset 0 1px #fff3c5,0 3px 7px #88651f25; }
body.studio-theme .button-dark:hover:not(:disabled) { background:linear-gradient(#e8c879,#bc862a); box-shadow:inset 0 1px #fff7d9,0 4px 12px #88651f35; }
body.studio-theme .button-outline { color:#66533c; background:linear-gradient(#fffefa,#f1ede4); border-color:#ccba98; box-shadow:inset 0 1px #fff,0 2px 4px #7e6b4420; }
body.studio-theme .button-outline:hover:not(:disabled) { background:#fff9eb; border-color:#b48a45; }
body.studio-theme .button:disabled { color:#8e887b; background:#eee9df; border-color:#d3c9b8; box-shadow:none; opacity:1; }
body.studio-theme :is(.text-link,.inline-link,.auth-switch a,.checkbox-label a) { color:#94621b; border-color:#c4a46a; }
body.studio-theme :is(.text-link,.inline-link,.auth-switch a,.checkbox-label a):hover { color:#6f4914; }
body.studio-theme :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid #a56d1c; outline-offset:3px; }

/* Card surfaces use the same warm shadows as the home dashboard. */
body.studio-theme :is(.capability,.roadmap-grid>article,.trial-explainer,.account-grid>article,.checkout-grid>article,.checkout-grid>form,.catalog-preview,.catalog-core-card,.catalog-expansion-card) { background:linear-gradient(145deg,#fffefa,#f7f4ee); border-color:#d8c9ac; box-shadow:inset 0 1px 2px #fff,0 5px 15px #87775b12; }
body.studio-theme :is(.price-card,.account-grid>.account-subscription,.checkout-grid>.checkout-product) { background:radial-gradient(ellipse at 10% 0%,#f0d69844,transparent 60%),linear-gradient(145deg,#fffefb,#f5f0e5); border-color:#c9ab71; box-shadow:inset 0 1px #fff,0 7px 22px #92713b19; }
body.studio-theme .price-card:before { background:linear-gradient(90deg,transparent,#e9d199,#bb9048,transparent); }
body.studio-theme :is(.plan-rule,.trial-future-note,.membership-fineprint) { border-color:#d9cdb6; }
body.studio-theme :is(.check-list .icon,.trial-badge,.trial-days) { color:#a57a30; }
body.studio-theme :is(.capability-icon,.account-icon,.roadmap-glyph,.feature-detail-art,.catalog-small-icon) { color:#a17832; background:linear-gradient(135deg,#fffdf3,#e9d8b3); border-color:#d4ba88; box-shadow:inset 0 1px #fff,0 3px 8px #a0895c20; }
body.studio-theme .notice { color:#695a40; background:#fbf3df; border-color:#d7bd89; }
body.studio-theme .notice b { color:#604d2c; }
body.studio-theme .status-label { color:#816331; background:#f9f0dd; border-color:#d6bc88; }
body.studio-theme .status-label.available { color:#4a6b44; background:#eff5e9; border-color:#b3c6a6; }
body.studio-theme thead { color:#5d4c30; background:#eee5d4; }
body.studio-theme :is(th,td) { border-color:#dfd8ca; }
body.studio-theme :is(.comparison table,.account-payments table) { color:#524b40; }
body.studio-theme :is(.comparison thead th,.account-payments thead th) { color:#85662f; }
body.studio-theme :is(.comparison,.account-payments) tbody tr:nth-child(even) { background:#ede7da55; }

/* Feature catalog, its native disclosures, and in-page navigation. */
body.studio-theme :is(.catalog-heading>p,.catalog-count p,.catalog-count strong span,.catalog-summary,.catalog-preview>p,.catalog-subheading p,.catalog-tab-list p,.catalog-expansion-heading p,.catalog-expansion-card li,.catalog-release-note p,.catalog-bottom p) { color:#6c655a; }
body.studio-theme :is(.catalog-card-top>.icon,.catalog-number,.catalog-tab-list>li:before) { color:#af863f; }
body.studio-theme .catalog-state { color:#6c642d; background:#f2efdd; border-color:#d6cd94; }
body.studio-theme .catalog-state-partial { color:#8b631e; background:#fff1d1; border-color:#dfbf78; }
body.studio-theme .catalog-tags li { color:#6d5e42; background:linear-gradient(#fffefa,#f0eade); border-color:#d4c2a2; }
body.studio-theme .catalog-nav a { color:#665337; background:linear-gradient(#fffefa,#eee8dc); border-color:#cdb88e; box-shadow:inset 0 1px #fff,0 2px 4px #987f4d17; }
body.studio-theme .catalog-nav a:hover { background:#fff6e2; border-color:#b68a40; }
body.studio-theme :is(.catalog-card-link,.catalog-details>summary) { color:#956820; border-color:#d8c5a2; }
body.studio-theme :is(.catalog-card-link:hover,.catalog-details>summary:hover) { color:#674510; }
body.studio-theme :is(.catalog-details,.catalog-tab-list>li,.catalog-bottom,.catalog-expansion) { border-color:#d8cdb9; }
body.studio-theme :is(.catalog-intro,.catalog-note,.catalog-release-note) { color:#756344; background:#f8f0df; border-color:#dac294; }
body.studio-theme .catalog-intro { border-left-color:#b88c41; }
body.studio-theme .catalog-intro p { color:#756344; }
body.studio-theme .catalog-expansion-card li:before { background:#b98c42; }
body.studio-theme :is(.catalog-preview:hover,.feature-catalog :target.catalog-core-card) { border-color:#b98a38; box-shadow:0 0 0 2px #c9a35928,0 6px 20px #a3814020; }
body.studio-theme .catalog-program-shot { background:#eee8dc; border-color:#d7c6a6; }

/* Installation and authentication illustrations remain legible in the new theme. */
body.studio-theme .download-visual { background:radial-gradient(ellipse at 70% 15%,#fff8df,#e7c67c 42%,#b1863b 85%); border-color:#d0b579; box-shadow:0 4px 0 #b89653,0 7px 0 #d9c89c,0 20px 40px #92713628,inset 0 1px #fff7db; }
body.studio-theme .download-big-b { color:#fff2cd; background-image:linear-gradient(160deg,#fff8dc,#b88b38 30%,#fff9e3 39%,#916522 52%,#d4b25f 73%,#fff4cf); }
body.studio-theme :is(.download-app-name,.download-platform) { color:#604a27; }
body.studio-theme .download-orbit { border-color:#fff0c899; }
body.studio-theme .auth-visual { background:radial-gradient(ellipse at 35% 20%,#f0d28f55,transparent 65%),linear-gradient(145deg,#faf6e9,#e9ddc1); border-color:#d0b983; box-shadow:inset 0 1px #fff,0 12px 32px #92713617; }
body.studio-theme :is(.auth-visual>.section-label,.auth-visual-bottom,.auth-visual-bottom>span:first-child) { color:#8b713d; }
body.studio-theme .auth-visual>img { top:28%; height:60%; object-fit:contain; object-position:center; padding:14px; mask-image:none; opacity:1; }
body.studio-theme .auth-form>label { color:#4e493e; }
body.studio-theme :is(.auth-form input:not([type=checkbox]),.auth-form select,.auth-form textarea) { color:#342f26; caret-color:#a87a25; background:#fffefa; border-color:#cabd9f; box-shadow:inset 0 1px 3px #8e7a4920; }
body.studio-theme .auth-form input:not([type=checkbox]):focus { border-color:#aa7a2b; outline-color:#b18b43; box-shadow:0 0 0 3px #bd964c24; }
body.studio-theme .auth-form input::placeholder { color:#938b7b; opacity:1; }
body.studio-theme .password-wrap button { color:#8a692e; }
body.studio-theme .checkbox-label input { accent-color:#a87b2e; }
body.studio-theme :is(.checkbox-label b,.form-heading>.eyebrow) { color:#8e6826; }
body.studio-theme .form-error { color:#9f343a; background:#fff0ed; border-color:#d59e94; }
body.studio-theme .state-icon { color:#946923; background:linear-gradient(135deg,#fff9e8,#e9d5a5); border-color:#c6a35e; }
body.studio-theme .state-icon.success { color:#3d7559; background:#edf6ed; border-color:#a2bea2; }
body.studio-theme .toast { color:#53452c; background:#fff9e9; border-color:#c7a461; box-shadow:0 8px 30px #79603930; }

/* Interactive demo controls keep their original behavior and readable states. */
body.studio-theme .broadcast-console { background:linear-gradient(135deg,#e0c99a,#b39865 38%,#eee0be 78%,#b39660); border-color:#baa06a; box-shadow:0 3px 0 #a88c54,0 5px 0 #d6c69e,0 24px 48px #8c733c33,inset 0 1px #fff4d7; }
body.studio-theme .console-top { background:linear-gradient(#f9f5e9,#e9dfc9); border-color:#cbb88e; color:#605133; }
body.studio-theme .console-workspace { background:#f6f2e8; border-color:#ccba92; color:#645942; }
body.studio-theme .console-chat { background:#fffaf0; border-color:#d6c8ac; }
body.studio-theme .preview-stage { background:#ebe1cd; border-color:#cbb78e; }
body.studio-theme .scene-button { color:#705d39; background:#f5ecd9; border-color:#c7b284; }
body.studio-theme .scene-button.selected { color:#72501c; border-color:#b88631; box-shadow:0 0 0 1px #c89b4b55; }
body.studio-theme .console-control { color:#735423; background:linear-gradient(#fbe9bf,#dcc08a); border-color:#bb9753; }
body.studio-theme .console-control.is-muted { color:#983e3e; background:#f9e0d9; border-color:#c18e7f; }
body.studio-theme :is(.demo-chat-input,.demo-chat-title,.demo-entry) { color:#6c5c3f; border-color:#cebe9b; }
body.studio-theme .demo-entry { background:#ebd6a744; }
body.studio-theme :is(.demo-message b,.demo-message p,.demo-chat-title>span,.console-mode,.console-status,.console-status>span:first-child,.demo-mark,.console-caption,.console-under,.console-sidebar>.icon) { color:#726044; }
body.studio-theme :is(.console-logo>span,.chrome-orbit) { color:#a27b32; }
body.studio-theme .split-note { color:#74613e; background:#faf2e0; border-color:#cbb686; }
body.studio-theme :is(.preview-stage,.scene-button)>img[src^="/assets/live-monitor.svg"] { object-fit:contain; object-position:center; background:#eee7d6; }

/* Footer belongs to the scrollable page, beneath the shared shell navigation. */
body.studio-theme .site-footer { background:#ede9df; border-color:#d7cdb9; }
body.studio-theme .footer-brand { color:#514633; }
body.studio-theme .footer-brand>span { color:#b68b3f; }
body.studio-theme :is(.footer-top>div>p,.footer-links,.footer-bottom>p,.footer-bottom>span) { color:#827764; }
body.studio-theme .footer-bottom { border-color:#d3c7ae; }
body.studio-theme .footer-links>a:hover { color:#8c6526; }
@media(max-width:620px) { body.studio-theme #studio-content:not(.is-home) .page-heading { padding-top:26px; } body.studio-theme #studio-content #main>.section-shell { padding-inline:18px; } }
@media(forced-colors:active) { body.studio-theme :is(.chrome-text,.download-big-b) { background:none; color:CanvasText; -webkit-text-fill-color:CanvasText; } }
/* The shared reference illustration replaces the former auth-page monitor image. */
body.studio-theme .auth-visual>.auth-reference-art { position:relative; flex:none; margin:22px 0 10px; min-height:0; }
body.studio-theme .auth-visual-bottom { margin-top:auto; }
