/* Public-site theme. Dark mode keeps the existing Figma-based presentation. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-width:76px;height:36px;padding:0 10px;border:1px solid #373e4c;border-radius:8px;background:#111722b8;color:#dbe8ff;font-size:12px;line-height:1;white-space:nowrap;transition:background .2s,border-color .2s,color .2s,box-shadow .2s}
.theme-toggle:hover{border-color:#64a4ff;background:#18263b;color:#fff}
.theme-toggle svg{width:17px;height:17px;flex:none}
.theme-toggle .theme-moon{display:none}
.theme-toggle:focus-visible{outline:2px solid #317de4;outline-offset:3px}
@media(max-width:1050px){.theme-toggle{width:36px;min-width:36px;padding:0}.theme-toggle-label{display:none}}
@media(max-width:760px){.theme-toggle{width:34px;min-width:34px;height:34px}.header-actions,.login-header-actions{gap:9px}}

html[data-theme=light]{color-scheme:light;--bg:#f7f9fd;--panel:#fff;--line:#d5dfeb;--muted:#53617a;--blue:#246bd2;--pink:#c63479}
html[data-theme=light] body{background:#f7f9fd;color:#18243a}
html[data-theme=light] .theme-toggle{border-color:#cbd7e7;background:#fff;color:#285ca8;box-shadow:0 2px 8px #142d4d0b}
html[data-theme=light] .theme-toggle:hover{border-color:#347bdb;background:#edf5ff;color:#174c9b}
html[data-theme=light] .theme-sun{display:none}
html[data-theme=light] .theme-moon{display:block}
html[data-theme=light] .site-header{background:#f9fbffed;border-bottom:1px solid #dce4ef;box-shadow:0 5px 28px #19395a0b}
html[data-theme=light] .route-home .site-header{background:#f9fbffb8;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-theme=light] .route-home .site-header::before{background:linear-gradient(180deg,#f9fbffed 0%,#f9fbffc9 50%,#f9fbff59 78%,transparent 100%)}
html[data-theme=light] .main-nav a,html[data-theme=light] .work-nav a{color:#3c4b65}
html[data-theme=light] .main-nav a:hover,html[data-theme=light] .main-nav a.active,html[data-theme=light] .work-nav a.active,html[data-theme=light] .site-header:not(.work-header) .main-nav a.active{color:#0e3977;text-shadow:none}
html[data-theme=light] .header-actions,html[data-theme=light] .language-trigger,html[data-theme=light] .project-top-name,html[data-theme=light] .mobile-menu{color:#26354d}
html[data-theme=light] .language-trigger:hover,html[data-theme=light] .language-trigger[aria-expanded=true]{color:#1457af}
html[data-theme=light] .language-menu,html[data-theme=light] .account-menu{background:#fff;border-color:#cbd7e7;box-shadow:0 16px 42px #173d701c;color:#1d2941}
html[data-theme=light] .language-menu button,html[data-theme=light] .account-menu a,html[data-theme=light] .account-menu button{color:#293750}
html[data-theme=light] .language-menu button:hover,html[data-theme=light] .language-menu button[aria-checked=true],html[data-theme=light] .account-menu a:hover,html[data-theme=light] .account-menu button:hover{background:#e9f1ff;color:#0d4ca5}
html[data-theme=light] .btn.light{background:#1766c9;border-color:#1766c9;color:#fff}
html[data-theme=light] .btn.light:hover{background:#0d56b2;box-shadow:0 8px 24px #2867b93a}
html[data-theme=light] .btn.dark{background:#fff;border-color:#bfcee0;color:#244264}
html[data-theme=light] .btn.dark:hover{background:#edf4ff}

/* The same brand artwork floats over a porcelain-blue ground. */
html[data-theme=light] .home{background:linear-gradient(180deg,#f9fbff 0%,#eaf2ff 43%,#f7f9fd 88%)}
html[data-theme=light] .intro-stage{background:radial-gradient(ellipse at 50% 53%,#e1edff 0%,#f9fbff 62%,#f5f8fe 100%)}
html[data-theme=light] .intro-bg{background:radial-gradient(circle at 48% 52%,#8bb8ff38,transparent 55%)}
html[data-theme=light] .intro-stage::after{opacity:var(--light-capability-ground,0);background:linear-gradient(180deg,#f9fbff 0%,#f8fbfff2 42%,#f6f9ff 100%)}
html[data-theme=light] .hero-cube{filter:drop-shadow(0 18px 32px #335b9633)}
html[data-theme=light] .hero-enter,html[data-theme=light] .black-enter{background:#fffefeea;color:#17345e;border:1px solid #c8d8ec;box-shadow:0 6px 24px #1b4f8b24}
html[data-theme=light] .hero-enter .hero-enter-label,html[data-theme=light] .black-enter .hero-enter-label{color:#17345e}
html[data-theme=light] .hero-enter:hover,html[data-theme=light] .black-enter:hover{border-color:#2e78d2;box-shadow:0 8px 28px #2f75c83b}
html[data-theme=light] .hero-scroll{color:#42536c}
html[data-theme=light] .section-heading h1,html[data-theme=light] .scenarios h2{color:#152640}
html[data-theme=light] .section-heading p,html[data-theme=light] .scenario-intro{color:#465875}
html[data-theme=light] .feature-card{background:linear-gradient(155deg,#f8fbff,#eaf2ff);border-color:#ccdcf0;box-shadow:0 14px 38px #31568d13}
html[data-theme=light] .feature-card-1{background:linear-gradient(155deg,#fff8fb,#fceaf2);border-color:#ecd2df}
html[data-theme=light] .feature-card-2{background:linear-gradient(155deg,#fffdf6,#f9f0db);border-color:#e9dfc5}
html[data-theme=light] .feature-card h3{color:#18253a}
html[data-theme=light] .feature-card p,html[data-theme=light] .feature-card span{color:#43516a}
html[data-theme=light] .feature-card small{color:#1a60b9}
html[data-theme=light] .feature-card-1 small{color:#b02f6a}
html[data-theme=light] .feature-card-2 small{color:#795600}
html[data-theme=light] .cases-outer{background:transparent}
html[data-theme=light] .case-board{border:1px solid #d8e2ee;box-shadow:0 20px 60px #26436c1c}
html[data-theme=light] .scenarios{background:radial-gradient(circle at 50% 0%,#e2edff,#f7f9fd 64%)}
html[data-theme=light] .audience-card{background:#fff;border-color:#d3ddeb;box-shadow:0 14px 32px #2a47711a}
html[data-theme=light] .audience-copy h3{color:#19253c}
html[data-theme=light] .audience-copy p,html[data-theme=light] .audience-copy span{color:#4b5a73}
html[data-theme=light] .audience-copy small{color:#1b63b7}
html[data-theme=light] .scenario-contact{background:#fff;color:#1b3963;border-color:#cbd8e9;box-shadow:0 6px 20px #29476e17}
html[data-theme=light] .footer{background:linear-gradient(180deg,#e9f1fc,#f7f9fd 50%,#fff);border-top:1px solid #dae4f0}
html[data-theme=light] .footer-statement h2,html[data-theme=light] .footer-cols h3{color:#1b2940}
html[data-theme=light] .footer-statement p,html[data-theme=light] .footer-cols a,html[data-theme=light] .footer-bottom{color:#53617a}
html[data-theme=light] .footer-bottom{border-color:#d6e0ec}

/* Informational pages and forms retain their existing layout. */
html[data-theme=light] .inner-page{background:#f7f9fd}
html[data-theme=light] .page-hero h1,html[data-theme=light] .section-head h2,html[data-theme=light] .about-belief h2,html[data-theme=light] .contact-body h2{color:#18243a}
html[data-theme=light] .page-hero p,html[data-theme=light] .section-head p,html[data-theme=light] .about-belief p,html[data-theme=light] .contact-body aside>p{color:#4b5a70}
html[data-theme=light] .page-section,html[data-theme=light] .about-belief,html[data-theme=light] .contact-body{background:#f7f9fd}
html[data-theme=light] .page-section.alt{background:#edf3fb}
html[data-theme=light] .notice-bar,html[data-theme=light] .plan,html[data-theme=light] .info-grid article,html[data-theme=light] .contact-direction,html[data-theme=light] .contact-reply,html[data-theme=light] .contact-form,html[data-theme=light] .faq{background:#fff;border-color:#d4deea;color:#21304a;box-shadow:0 10px 32px #2445660c}
html[data-theme=light] .plan p,html[data-theme=light] .plan li,html[data-theme=light] .info-grid article p,html[data-theme=light] .steps p,html[data-theme=light] .contact-direction p,html[data-theme=light] .faq p{color:#4b5b75}
html[data-theme=light] .divider,html[data-theme=light] .steps>div,html[data-theme=light] .rate-table>div{border-color:#d5dfeb}
html[data-theme=light] .rate-table>div,html[data-theme=light] .enterprise{background:#fff;color:#22314b}
html[data-theme=light] .billing-toggle,html[data-theme=light] .billing-toggle button{background:#eaf1fb;color:#41526d;border-color:#ccd8e7}
html[data-theme=light] .billing-toggle button.active{background:#246bd2;color:#fff}
html[data-theme=light] .contact-form input:not([type=checkbox]),html[data-theme=light] .contact-form select,html[data-theme=light] .contact-form textarea{background:#fff;border-color:#c5d1e0;color:#172842}

/* Sign-in remains one centered card with the art softly behind it. */
html[data-theme=light] .login-page{background:#f7f9fd}
html[data-theme=light] .login-page::after{background:linear-gradient(90deg,#f7f9fd17 0 48%,#f7f9fd 79%)}
html[data-theme=light] .login-header{background:#f9fbffcc;border-bottom:0;box-shadow:none}
html[data-theme=light] .login-panel{background:#ffffffdf;border:1px solid #d5e0ed;border-radius:16px;box-shadow:0 24px 70px #29466c26;color:#1b2a43}
html[data-theme=light] .login-panel h1{color:#192840}
html[data-theme=light] .social-login,html[data-theme=light] .login-panel input[type=email]{background:#fff;color:#24334d;border-color:#cbd7e5}
html[data-theme=light] .login-divider{background:#d8e2ed}
html[data-theme=light] .login-note,html[data-theme=light] .terms,html[data-theme=light] .user-card small{color:#52617a}
html[data-theme=light] .login-panel .terms{border-color:#c6d6e8;background:#f7fbff}
html[data-theme=light] .user-card{background:#f0f5fc;border-color:#d0dce9;color:#17253c}
html[data-theme=light] .login-header .login-close{color:#344965}

/* Project and creation pages. */
html[data-theme=light] .work-header{background:#f9fbffed}
html[data-theme=light] .workbench,html[data-theme=light] .projects-page,html[data-theme=light] .chat-page,html[data-theme=light] .studio-page{background:#f7f9fd;color:#1b2941}
html[data-theme=light] .work-prompt h1,html[data-theme=light] .projects-head h1,html[data-theme=light] .continue-head h2{color:#16243b}
html[data-theme=light] .work-prompt p,html[data-theme=light] .projects-head p,html[data-theme=light] .continue-card p,html[data-theme=light] .project-copy p{color:#4b5a72}
html[data-theme=light] .prompt-tabs button,html[data-theme=light] .project-filters button,html[data-theme=light] .choice-row button{background:#fff;border-color:#cbd7e6;color:#344764}
html[data-theme=light] .prompt-tabs button.active,html[data-theme=light] .project-filters button.active,html[data-theme=light] .choice-row button.active{background:#e5f0ff;border-color:#2872d2;color:#104d9d}
html[data-theme=light] .prompt-box,html[data-theme=light] .chat-compose,html[data-theme=light] .continue-card,html[data-theme=light] .project-card,html[data-theme=light] .chat-bubble.user,html[data-theme=light] .result-card{background:#fff;border-color:#ced9e8;color:#17263e;box-shadow:0 12px 32px #2e507a10}
html[data-theme=light] .prompt-box textarea,html[data-theme=light] .chat-compose textarea{color:#22324b}
html[data-theme=light] .prompt-box textarea::placeholder,html[data-theme=light] .chat-compose textarea::placeholder{color:#7989a2}
html[data-theme=light] .upload-button,html[data-theme=light] .project-filters .sort-button,html[data-theme=light] .project-filters .view-button{background:#f3f7fd;border-color:#ced9e8;color:#274369}
html[data-theme=light] .project-tools input{background-color:#fff;border-color:#cad7e7;color:#20314c}
html[data-theme=light] .project-tools input::placeholder{color:#728198}
html[data-theme=light] .continue-card h3,html[data-theme=light] .project-copy h3,html[data-theme=light] .result-card h2{color:#1d2b43}
html[data-theme=light] .continue-card small,html[data-theme=light] .project-copy small,html[data-theme=light] .meta,html[data-theme=light] .project-copy .meta span{color:#53617a}
html[data-theme=light] .progress{background:#dfe7f2}
html[data-theme=light] .project-action-menu,html[data-theme=light] .rf-compose-panel,html[data-theme=light] .account-dialog{background:#fff;border-color:#cad7e7;color:#1b2941;box-shadow:0 16px 38px #2947681f}
html[data-theme=light] .project-action-menu button,html[data-theme=light] .rf-composer-controls button{color:#28405f}
html[data-theme=light] .project-action-menu button:hover,html[data-theme=light] .rf-composer-controls button:hover{background:#eaf2ff;color:#1257aa}
html[data-theme=light] .chat-editor-header .chat-desk-nav{background:#fff;border-color:#c5d2e4;box-shadow:0 4px 16px #22477513}
html[data-theme=light] .chat-editor-header .chat-desk-nav button{color:#53617a}
html[data-theme=light] .chat-editor-header .chat-desk-nav button.active{background:#dcecff;color:#104c96;border-color:#2875d1;box-shadow:inset 0 0 14px #5ca1ec35}
html[data-theme=light] .conversation-toolbar,html[data-theme=light] .assistant-message,html[data-theme=light] .assistant-message p{color:#25354c}
html[data-theme=light] .conversation-toolbar .chat-window-toggle,html[data-theme=light] .rf-composer-controls button,html[data-theme=light] .chat-compose .upload-button{background:#f1f6fd;border-color:#cbd8e8;color:#284568}
html[data-theme=light] .chat-output-inner{background:#fff;border-color:#cbd8e8;box-shadow:0 0 0 1px #779ac52b,0 10px 36px #183e7119}
html[data-theme=light] .chat-output-panel .studio-tabs{background:#fff;border-color:#d2deec}
html[data-theme=light] .chat-output-panel .studio-tabs button{color:#50617a}
html[data-theme=light] .chat-output-panel .studio-tabs button.active{color:#174d98}
html[data-theme=light] .rf-output-loading{background:#fff;color:#58708f}
html[data-theme=light] .rf-live-output .chat-output-inner{background:#f3f7fc;border-color:#c2d1e5;box-shadow:0 0 0 1px #7b9ecc1b,0 12px 36px #2c548329}
html[data-theme=light] .rf-compose-panel-head{border-color:#d8e2ef}
html[data-theme=light] .rf-compose-panel-body{color:#40526e}
html[data-theme=light] .studio-aside,html[data-theme=light] .studio-tabs,html[data-theme=light] .studio-tree{border-color:#d2deec}
html[data-theme=light] .studio-main{background:#fff;border-color:#c9d7e8;box-shadow:0 8px 25px #2b4c7217}
html[data-theme=light] .studio-empty{color:#52617a}
html[data-theme=light] .studio-empty h2{color:#1a2c47}
@media(max-width:760px){html[data-theme=light] .mobile-menu{color:#203a61}html[data-theme=light] .site-header .main-nav{background:#f9fbff;border-color:#d5dfeb;box-shadow:0 14px 26px #3453731c}html[data-theme=light] .login-page::after{background:linear-gradient(90deg,#f7f9fd1c 0%,#f7f9fdc9 72%,#f7f9fd 100%)}}

/* Contrast fixes for small labels and alternate sign-in icons. */
html[data-theme=light] .social-login[data-demo-login="Apple"] img{filter:brightness(0) saturate(100%) invert(17%) sepia(15%) saturate(1683%) hue-rotate(174deg)}
html[data-theme=light] .continue-head a{background:#fff;border-color:#c8d7e9;color:#23456e}
html[data-theme=light] .continue-head a:hover{background:#e9f2ff;border-color:#3479cd}
html[data-theme=light] .continue-head span,html[data-theme=light] .continue-card .meta:first-child small{background:#e8f0fc;color:#284c79}
html[data-theme=light] .continue-card strong{color:#1e4e8a}
html[data-theme=light] .prompt-hint,html[data-theme=light] .rf-card-studio,html[data-theme=light] .assistant-message small{color:#1c5ca8}
html[data-theme=light] .rf-card-studio:hover{color:#0e427e}
html[data-theme=light] .chat-header-left .project-menu-icon{filter:brightness(.32)}
html[data-theme=light] .account-menu-profile,html[data-theme=light] .account-menu-language,html[data-theme=light] .account-menu button:last-child{border-color:#d6e1ee}
html[data-theme=light] .account-menu-profile strong,html[data-theme=light] .account-menu-language label{color:#253752}
html[data-theme=light] .account-menu-profile small{color:#5c6c83}
html[data-theme=light] .account-menu-language select,html[data-theme=light] .project-dialog input,html[data-theme=light] .account-dialog input{background:#fff;border-color:#c6d4e5;color:#1b2b45}
html[data-theme=light] .project-dialog{background:#fff;border-color:#cbd8e8;color:#1c2b43;box-shadow:0 24px 70px #23446d38}
html[data-theme=light] .project-dialog-name,html[data-theme=light] .account-dialog label{color:#24364f}
html[data-theme=light] .project-dialog .project-delete-message,html[data-theme=light] .trash-dialog>p{color:#53647d}
html[data-theme=light] .account-dialog-close{color:#3d506d}
@media(max-width:400px){.site-header .header-inner{gap:8px;padding-inline:12px}.site-header .brand,.site-header .brand img{width:108px}.site-header .header-actions,.login-header-actions{gap:6px}.site-header .mobile-menu{width:30px;padding:0}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

/* Finish the light treatment at section boundaries and interactive edges. */
html[data-theme=light] .scenarios{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,#f7f9fd 0%,#eaf2ff 15%,#e7efff 53%,#edf3fd 84%,#f7f9fd 100%)}
html[data-theme=light] .scenarios::before{content:"";position:absolute;z-index:-1;inset:-7% -9%;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#bcd6ff91,transparent 62%);filter:blur(58px)}
html[data-theme=light] .contact-page .contact-body{background:linear-gradient(180deg,#f7f9fd 0%,#f7f9fd 72%,#e9f1fc 100%)}
html[data-theme=light] :is(.about-page,.pricing-page) .page-section.alt:last-of-type{background:linear-gradient(180deg,#edf3fb 0%,#edf3fb 64%,#f7f9fd 100%)}
html[data-theme=light] .site-header.menu-open:not(.work-header):not(.login-header) .main-nav{background:#f8fbffed;border-color:#d5e1ef;box-shadow:0 18px 38px #25486e21;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
html[data-theme=light] .site-header.menu-open:not(.work-header):not(.login-header) .main-nav a{color:#344864;text-shadow:none}
html[data-theme=light] .site-header.menu-open:not(.work-header):not(.login-header) .main-nav a:hover,
html[data-theme=light] .site-header.menu-open:not(.work-header):not(.login-header) .main-nav a.active{color:#1158ad}
html[data-theme=light] .login-panel{background:transparent;border:0;border-radius:0;box-shadow:none}
html[data-theme=light] .work-header:not(.chat-editor-header){background:radial-gradient(ellipse 45% 220% at 9% 155%,#b9d4ffb0,transparent 82%),radial-gradient(ellipse 44% 210% at 51% 150%,#f5c6df91,transparent 84%),radial-gradient(ellipse 43% 220% at 94% 155%,#f5dfb69c,transparent 84%),#f9fbffed}
html[data-theme=light] :is(#prompt-form,#chat-form) .round-submit:not(.is-ready){background:#e8f1fc;border-color:#b9cbe1;color:#577392;box-shadow:0 2px 7px #25497212}
html[data-theme=light] :is(#prompt-form,#chat-form) .round-submit.is-ready{border-color:#f5be27;background:linear-gradient(105deg,#371323,#a63876,#3578ed);color:#fff}
html[data-theme=light] .conversation-toolbar{background:radial-gradient(ellipse 70% 80% at 50% 100%,#e1ebfb 0%,#edf3fb 58%,#f8fbff 100%);border-bottom:1px solid #d5e0ed;color:#223958}
html[data-theme=light] .conversation-toolbar :is(strong,span){color:#223958}
html[data-theme=light] .chat-layout.is-output-open .chat-conversation{border-right-color:#d6e1ef}
html[data-theme=light] .chat-output-panel{background:#f1f6fd}
html[data-theme=light] .rf-live-output .chat-output-inner{background:#f3f7fd;border-color:#becfe4;box-shadow:0 0 0 1px #7e9fc229,0 12px 36px #365c8821}
html[data-theme=light] .rf-live-output-frame{background:#f3f7fd}
html[data-theme=light] .conversation-toolbar .chat-window-toggle{background:#f8fbff;border-color:#bfcfe1;color:#345c8d}
@media(max-width:760px){html[data-theme=light] .login-panel{padding:18px}}

/* Feather the lower edge of work headers while preserving the active tab. */
html[data-theme=light] .site-header.work-header{border-bottom:0;box-shadow:none;overflow:visible}
html[data-theme=light] .site-header.work-header::after{content:"";position:absolute;left:0;right:0;top:calc(100% - 8px);height:32px;pointer-events:none;background:linear-gradient(180deg,#c9d8eeaa 0%,#dce7f484 40%,transparent 100%);filter:blur(10px)}
html[data-theme=light] .site-header.work-header .header-inner{position:relative;z-index:1}

html[data-theme=light] .login-onboarding-page .onboarding-panel h1{color:#172943}
html[data-theme=light] .onboarding-panel .login-back{color:#52647d}
html[data-theme=light] .onboarding-panel .login-back:hover{color:#185da8}
html[data-theme=light] .login-onboarding-page::after{background:linear-gradient(90deg,#f7f9fd17 27%,#f7f9fda8 48%,#f7f9fd 75%)}
html[data-theme=light] .onboarding-progress,html[data-theme=light] .onboarding-hint{color:#627590}
html[data-theme=light] .onboarding-progress-bar{background:#d9e3f0}
html[data-theme=light] .onboarding-choice-body{border-color:#cbd9e9;background:#fff;color:#1b2c45;box-shadow:0 6px 18px #2e527011}
html[data-theme=light] .onboarding-choice:hover .onboarding-choice-body{border-color:#7da7e1;background:#f6faff}
html[data-theme=light] .onboarding-choice input:checked+.onboarding-choice-body{border-color:#367cda;background:#eaf3ff;box-shadow:inset 0 0 0 1px #7eb2f377}
html[data-theme=light] .onboarding-choice-icon{color:#53739b}
html[data-theme=light] .onboarding-choice small{color:#657793}
html[data-theme=light] .onboarding-choice-check{border-color:#a7b9ce}
html[data-theme=light] .onboarding-choice input:checked+.onboarding-choice-body .onboarding-choice-check{box-shadow:inset 0 0 0 4px #eaf3ff}
html[data-theme=light] .rf-mobile-chat-toggle{background:#f7faff;border-color:#b9cde6;color:#35629b;box-shadow:0 2px 8px #24599614}
html[data-theme=light] .rf-mobile-chat-toggle:hover{background:#eaf3ff;border-color:#79abe6;color:#1856a6}
html[data-theme=light] .assistant-message .rf-icon{background:#e6f1ff;border-color:#73a8e6;color:#1b5cae;box-shadow:0 2px 8px #2d68ac18}
html[data-theme=light] .rf-context-usage{color:#6d82a0}
html[data-theme=light] .chat-bubble.user.rf-chat-user-bubble{background:#e9f2ff;border-color:#9fc4f2;color:#173b6e;box-shadow:0 4px 15px #376ba116}
html[data-theme=light] .rf-chat-user-bubble small{color:#2d70bf}
html[data-theme=light] .conversation-toolbar{background:transparent;border:0;box-shadow:none}
html[data-theme=light] .conversation-toolbar .conversation-cube{filter:brightness(0) saturate(100%) invert(32%) sepia(20%) saturate(865%) hue-rotate(169deg) brightness(92%)}
/* The toolbar surface ends without an extra rule in either theme. */
.chat-layout.rf-live-mode .conversation-toolbar::after{display:none!important}
html[data-theme=light] .chat-layout.is-output-open .chat-output-panel{overflow:visible;background:transparent}
html[data-theme=light] .rf-live-output .chat-output-inner{border-color:#bfd0e080;box-shadow:0 0 0 1px #a4bdd83d,0 0 16px 2px #8db7e635,0 10px 28px #5a87ba20}

/* Compact actions and keep the theme control accessible with its icon label. */
.theme-toggle{width:36px;min-width:36px;padding:0}
.theme-toggle-label{display:none}
.avatar{overflow:hidden}
.avatar-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
html[data-theme=light] .usage-page{background:#f7f9fd;color:#1b2b43}
html[data-theme=light] .usage-card,html[data-theme=light] .usage-project{background:#fff;border-color:#d1ddec;box-shadow:0 8px 24px #23476e0c}
html[data-theme=light] .usage-page .usage-muted{color:#63758d}
html[data-theme=light] .usage-project small{color:#64758d}
html[data-theme=light] .usage-back,html[data-theme=light] .usage-pricing{color:#245da5}
html[data-theme=light] .usage-heading small{color:#286bc5}
html[data-theme=light] .usage-summary small{color:#5b6e88}
html[data-theme=light] .usage-back:hover,html[data-theme=light] .usage-pricing:hover{color:#123f82}
html[data-theme=light] .profile-avatar-button{background:#eaf3ff!important;border-color:#b8d0ec!important;color:#1857a6!important}
html[data-theme=light] .profile-avatar-remove{background:transparent!important;border-color:#c9d6e7!important;color:#5d718a!important}
html[data-theme=light] .profile-avatar-button:hover,html[data-theme=light] .profile-avatar-remove:hover{border-color:#5b9fe9!important;color:#1857a6!important}
html[data-theme=light] .profile-avatar-help,html[data-theme=light] .profile-avatar-status{color:#5f728b}


/* ===== 2026-10-10 亮模式修正：定价页对比度 / 悬浮态 / 超出额度购买按钮、关于我们市场行 ===== */

/* 定价页：卡片次要文字与标签在浅底上原为暗模式的浅灰，对比不足，统一提到 WCAG AA 以上 */
html[data-theme=light] .notice-bar span{color:#41526d}
html[data-theme=light] .notice-bar b{color:#16243b}
html[data-theme=light] .plan-tag{background:#eef4fc;color:#1d3c63;border:1px solid #d4e0ee}
html[data-theme=light] .plan-price{color:#16243b}
html[data-theme=light] .plan-price em{color:#4b5b75}
html[data-theme=light] .plan p{color:#47576f}
html[data-theme=light] .plan li{color:#33445c}
html[data-theme=light] .plan .divider{border-color:#dde6f1}
html[data-theme=light] .plan-1,html[data-theme=light] .plan-2,html[data-theme=light] .plan-3{background:#fff}

/* 悬浮：暗模式靠 --plan-accent 提亮边框、按钮与内阴影，亮模式此前被通用规则覆盖，补回 */
html[data-theme=light] .plan{--plan-accent:#2f6fd0;--plan-glow:#2f6fd026;--plan-button-text:#fff}
html[data-theme=light] .plan-1{--plan-accent:#1f6ee0;--plan-glow:#1f6ee02b;--plan-button-text:#fff}
html[data-theme=light] .plan-2{--plan-accent:#c93f76;--plan-glow:#c93f7626;--plan-button-text:#fff}
html[data-theme=light] .plan-3{--plan-accent:#a8790a;--plan-glow:#a8790a26;--plan-button-text:#fff}
html[data-theme=light] .plan:hover{transform:translateY(-6px);filter:none;border-color:var(--plan-accent);box-shadow:0 18px 42px var(--plan-glow),inset 0 0 55px var(--plan-glow)}
html[data-theme=light] .plan:hover .btn,html[data-theme=light] .plan:focus-within .btn{background:var(--plan-accent);border-color:var(--plan-accent);color:var(--plan-button-text);box-shadow:0 7px 22px var(--plan-glow)}
html[data-theme=light] .plan:focus-within{border-color:var(--plan-accent);box-shadow:0 18px 42px var(--plan-glow)}

/* 超出额度：购买按钮原为暗底 #15243b，亮模式改为实心蓝 */
html[data-theme=light] .rate-buy{background:#246bd2;border-color:#246bd2;color:#fff}
html[data-theme=light] .rate-buy:hover,html[data-theme=light] .rate-buy:focus-visible{background:#1459b8;border-color:#1459b8;color:#fff}
html[data-theme=light] .rate-table b{color:#16243b}
html[data-theme=light] .rate-table span{color:#47576f}
html[data-theme=light] .rate-table strong{color:#16243b}
html[data-theme=light] .rate-table{border-color:#d5dfeb}

/* 企业与机构 / FAQ 卡片文字 */
html[data-theme=light] .enterprise{border-color:#d5dfeb;background:#fff;color:#22314b}
html[data-theme=light] .enterprise p{color:#47576f}
html[data-theme=light] .enterprise strong{color:#16243b}
html[data-theme=light] .faq{border-color:#d5dfeb}
html[data-theme=light] .faq summary{color:#1d2b43}
html[data-theme=light] .faq p{color:#47576f}
html[data-theme=light] .page-hero small,html[data-theme=light] .section-head small,html[data-theme=light] .about-belief small{color:#1f6ee0}
html[data-theme=light] .enterprise small{color:#8a5a07}

/* 关于我们：面向市场下方的「中国市场 / 亚太合作 / 全球内容生态」行原为暗底 #08090d */
html[data-theme=light] .market-row{background:#fff;border-color:#d5dfeb;color:#33445c}
html[data-theme=light] .info-grid article small{color:#23704a}
html[data-theme=light] .steps{border-color:#d5dfeb}
html[data-theme=light] .steps b{color:#1f6ee0}
html[data-theme=light] .steps h3{color:#16243b}

/* 继续创作：仅剩的浅色文字（暗模式的 #aaa / #b3b4bd 等） */
html[data-theme=light] .continue-head span{color:#284c79}
html[data-theme=light] .continue-card .meta span{color:#53617a}
html[data-theme=light] .continue-card .meta:first-child small{color:#284c79}

/* A soft halo around every edge of the opening action in light mode. */
html[data-theme=light] .intro-stage.is-first-screen .hero-enter{box-shadow:0 0 12px 5px #fff9,0 0 30px 11px #669af05c,0 8px 25px #315e9b2b}
html[data-theme=light] .intro-stage.is-first-screen .hero-enter:hover{box-shadow:0 0 15px 7px #fff,0 0 37px 15px #5c95f080,0 10px 29px #315e9b38}

html[data-theme=light] .font-scale-trigger{background:#fff;border-color:#cbd7e7;color:#26354d}
html[data-theme=light] .font-scale-trigger:hover,html[data-theme=light] .font-scale-trigger[aria-expanded=true]{border-color:#689cff;color:#0d4ca5}
html[data-theme=light] .font-scale-menu{background:#fff;border-color:#cbd7e7;box-shadow:0 16px 42px #173d701c}
html[data-theme=light] .font-scale-menu button{color:#293750}
html[data-theme=light] .font-scale-menu button:hover,html[data-theme=light] .font-scale-menu button[aria-checked=true]{background:#e9f1ff;color:#0d4ca5}
html[data-theme=light] .login-password-panel .login-password-email,
html[data-theme=light] .login-password-panel #signup-password{background:#fff;color:#24334d;border-color:#cbd7e5}
html[data-theme=light] .login-password-panel #signup-password::placeholder{color:#71819a}
html[data-theme=light] .login-password-field button{color:#586b84}
html[data-theme=light] .login-password-field button:hover{color:#1f56a1}
html[data-theme=light] .login-password-panel #password-setup>label{color:#52647d}
html[data-theme=light] .login-password-panel .login-back{color:#52647d}
html[data-theme=light] .login-password-panel .login-step-copy{color:#71819a}
html[data-theme=light] .intro-stage.is-first-screen .hero-enter:hover{border-color:transparent;outline:0}
