/* Light palette: explicit surfaces/text, no filter inversion. Dark source styles remain untouched. */
html[data-theme="light"]{--light-canvas:#f5f7fa;--light-surface:#ffffff;--light-raised:#e9eef4;--light-selected:#dfe7f1;--light-text:#182333;--light-muted:#526176;--light-line:#cbd5e1;color-scheme:light;background:var(--light-canvas);color:var(--light-text)}
html[data-theme="light"]{background:var(--light-canvas);color:var(--light-text)}
html[data-theme="light"] body{background:var(--light-canvas)}
html[data-theme="light"] .vignette{background:radial-gradient(ellipse at 50% 46%,rgba(248,250,253,0.800) 0%,rgba(245,247,250,0.150) 50%,rgba(248,250,253,0.650) 100%)}
html[data-theme="light"] .signin{background:var(--light-canvas);color:var(--light-text)}
html[data-theme="light"] .note{color:var(--light-text)}
html[data-theme="light"] footer button{color:var(--light-text)}
html[data-theme="light"] footer button:hover{color:var(--light-text)}
html[data-theme="light"] dialog{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] dialog::backdrop{background:rgba(248,250,253,0.667)}
html[data-theme="light"] .close{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .signin{background:var(--light-canvas)}
html[data-theme="light"] .cases{background:linear-gradient(rgba(248,250,253,0.941),rgba(248,250,253,0.984))}
html[data-theme="light"] .eyebrow{color:#41316c}
html[data-theme="light"] .cases-intro{color:var(--light-muted)}
html[data-theme="light"] .case svg{color:#40316c}
html[data-theme="light"] .case p{color:var(--light-muted)}
html[data-theme="light"] .case-label{color:var(--light-muted)}
html[data-theme="light"] .cases-fine{color:var(--light-muted)}
html[data-theme="light"] .feed-disclosure{color:var(--light-muted)}
html[data-theme="light"] .avatar{background:rgba(242,240,246,1.000);color:#402a73}
html[data-theme="light"] .avatar-1{background:rgba(240,243,246,1.000);color:#2f576e}
html[data-theme="light"] .avatar-2{background:var(--light-surface);color:#6a4933}
html[data-theme="light"] .avatar-3{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .scenario-label{color:var(--light-muted)}
html[data-theme="light"] .feed-item blockquote{color:var(--light-text)}
html[data-theme="light"] .fixed-entry .dissolve{background:linear-gradient(to bottom,transparent 0%,rgba(245,247,250,0.300) 18%,rgba(248,250,253,0.880) 51%,var(--light-canvas) 74%)}
html[data-theme="light"] .feed a{color:var(--light-muted)}
html[data-theme="light"] .quote-original{color:var(--light-muted)}
html[data-theme="light"] .language-picker button{color:var(--light-muted)}
html[data-theme="light"] .language-picker button[aria-pressed="true"]{color:var(--light-text);background:rgba(24,39,60,0.051)}
html[data-theme="light"] .quote-details{color:var(--light-muted)}
html[data-theme="light"] .translation-label{color:var(--light-muted)}
html[data-theme="light"] .feed-status{color:var(--light-muted)}
html[data-theme="light"] .message-bubble{background:linear-gradient(130deg,var(--light-surface),var(--light-surface))}
html[data-theme="light"] .feed-person h3{color:var(--light-text)}
html[data-theme="light"] .feed-item blockquote{color:var(--light-text)}
html[data-theme="light"] .quote-context{color:var(--light-muted)}
html[data-theme="light"] .translation-label{color:var(--light-muted)}
html[data-theme="light"] .language-picker{background:rgba(248,250,253,0.788)}
html[data-theme="light"] .message-bubble{background:linear-gradient(135deg,rgba(248,250,253,0.840),rgba(248,250,253,0.900))}
html[data-theme="light"] .feed-person h3{color:var(--light-muted)}
html[data-theme="light"] .feed-item blockquote{color:var(--light-text)}
html[data-theme="light"] .message-footer .quote-source{color:var(--light-muted)}
html[data-theme="light"] .message-footer .quote-source:hover{color:var(--light-text)}
html[data-theme="light"] .message-footer .quote-details{color:var(--light-muted)}
html[data-theme="light"] .quote-details summary:hover{color:var(--light-text)}
html[data-theme="light"] .expanded-source p{color:var(--light-muted)}
html[data-theme="light"] .expanded-source .quote-context{color:var(--light-muted)}
html[data-theme="light"] .essential-note{color:var(--light-muted)}
html[data-theme="light"] .feed-item>.avatar{border-color:var(--light-line)}
html[data-theme="light"] .feed-item:nth-child(even) .message-bubble{background:linear-gradient(135deg,rgba(248,250,253,0.860),rgba(248,250,253,0.920))}
html[data-theme="light"] ::-webkit-scrollbar-thumb{background:var(--light-raised)}
html[data-theme="light"] ::-webkit-scrollbar-track{background:var(--light-canvas)}
html[data-theme="light"] .feed-item.tone-0 .message-bubble{background:linear-gradient(135deg,rgba(243,240,246,0.920),rgba(248,250,253,0.940));border-color:var(--light-line)}
html[data-theme="light"] .feed-item.tone-1 .message-bubble{background:linear-gradient(135deg,rgba(240,243,246,0.920),rgba(240,242,246,0.940));border-color:var(--light-line)}
html[data-theme="light"] .feed-item.tone-2 .message-bubble{background:linear-gradient(135deg,rgba(240,246,245,0.920),rgba(240,246,246,0.940));border-color:var(--light-line)}
html[data-theme="light"] .feed-item.tone-3 .message-bubble{background:linear-gradient(135deg,rgba(248,250,253,0.920),rgba(248,250,253,0.940));border-color:var(--light-line)}
html[data-theme="light"] .message-footer .quote-source{color:var(--light-muted)}
html[data-theme="light"] .ex-brand{color:var(--light-text)}
html[data-theme="light"] .ex-profile{background:rgba(240,242,246,1.000);color:#1e2980}
html[data-theme="light"] .ex-profile svg{fill:#252f78}
html[data-theme="light"] .ex-sub{color:var(--light-text)}
html[data-theme="light"] .demo-label{color:var(--light-muted)}
html[data-theme="light"] .ex-nav{background:linear-gradient(transparent,rgba(240,243,246,0.667))}
html[data-theme="light"] .ex-nav a{color:var(--light-text)}
html[data-theme="light"] .ex-nav a[aria-current=page]{color:var(--light-text)}
html[data-theme="light"] .ex-suggestion{background:rgba(248,250,253,0.875);color:var(--light-text)}
html[data-theme="light"] .ex-suggestion .ex-icon{color:#1e2e80}
html[data-theme="light"] .ex-composer{background:rgba(248,250,253,0.800)}
html[data-theme="light"] .ex-composer textarea{color:var(--light-text)}
html[data-theme="light"] .ex-composer textarea::placeholder{color:var(--light-text)}
html[data-theme="light"] .ex-secondary{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .ex-plain{color:var(--light-text)}
html[data-theme="light"] .ex-msg{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .ex-card{background:linear-gradient(125deg,rgba(248,250,253,0.929),rgba(240,242,246,0.929))}
html[data-theme="light"] .ex-card p{color:var(--light-text)}
html[data-theme="light"] .ex-input{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .ex-input::placeholder{color:var(--light-text)}
html[data-theme="light"] .ex-agent{color:var(--light-text)}
html[data-theme="light"] .ex-avatar{background:radial-gradient(circle at 50% 65%,#a34eff,#2817ff 50%,rgba(240,240,246,1.000) 70%);color:#2e1e80}
html[data-theme="light"] .ex-status{color:#1e8067}
html[data-theme="light"] .ex-muted{color:var(--light-text)}
html[data-theme="light"] .ex-search .ex-icon{color:var(--light-text)}
html[data-theme="light"] .ex-search input{background:rgba(240,243,246,1.000)}
html[data-theme="light"] .ex-tabs button,html[data-theme="light"] .ex-categories button{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .ex-tabs button[aria-selected=true],html[data-theme="light"] .ex-categories button[aria-pressed=true]{color:var(--light-text)}
html[data-theme="light"] .ex-feature{background:radial-gradient(ellipse at 85% 100%,#154fff 0,transparent 47%),linear-gradient(115deg,rgba(240,240,246,1.000),rgba(241,240,246,1.000) 55%,rgba(240,240,246,1.000));color:var(--light-text)}
html[data-theme="light"] .ex-feature small{color:#263c77}
html[data-theme="light"] .ex-app-info{color:var(--light-text)}
html[data-theme="light"] .ex-app-row small{color:var(--light-text)}
html[data-theme="light"] .ex-market-note{color:var(--light-text)}
html[data-theme="light"] .ex-orb{background:radial-gradient(circle,rgba(244,240,246,1.000),rgba(241,240,246,1.000) 70%);color:#661e80}
html[data-theme="light"] .ex-orb.blue{color:#1e5a80;background:radial-gradient(circle,rgba(240,242,246,1.000),rgba(240,243,246,1.000) 70%)}
html[data-theme="light"] .ex-feature-row p{color:var(--light-text)}
html[data-theme="light"] .ex-cost-banner{background:linear-gradient(115deg,#1537a0,rgba(240,240,246,1.000) 75%,rgba(241,240,246,1.000))}
html[data-theme="light"] .ex-cost-banner .ex-icon{color:#1e5280}
html[data-theme="light"] .ex-cost-banner small{color:#1f3e7e}
html[data-theme="light"] .ex-setting{color:var(--light-text)}
html[data-theme="light"] .ex-setting .ex-icon{color:var(--light-text)}
html[data-theme="light"] .ex-sheet{background:linear-gradient(120deg,var(--light-surface),rgba(240,242,246,1.000))!important;color:var(--light-text)!important}
html[data-theme="light"] .ex-sheet::backdrop{background:rgba(248,250,253,0.533)}
html[data-theme="light"] .ex-sheet p{color:#2e446f}
html[data-theme="light"] .ex-control{color:var(--light-text)}
html[data-theme="light"] .ex-control .ex-control-icon{background:var(--light-raised)}
html[data-theme="light"] .ex-control small{color:var(--light-text)}
html[data-theme="light"] .ex-power{background:radial-gradient(circle,var(--light-selected),rgba(246,240,242,1.000) 60%,#d4274c);color:#801e3f}
html[data-theme="light"] .ex-off .ex-card .ex-icon{color:#1e2c80}
html[data-theme="light"] .ex-draft{color:var(--light-text)}
html[data-theme="light"] .ex-empty-list{color:var(--light-text)}
html[data-theme="light"] .ex-model-option{color:var(--light-text)}
html[data-theme="light"] .ex-search-clear{color:var(--light-text)}
html[data-theme="light"] .ex-balance{color:var(--light-text)}
html[data-theme="light"] .ex-balance small{color:var(--light-muted)}
html[data-theme="light"] .chat-demo-note{color:var(--light-muted)}
html[data-theme="light"] .ex-chat:has(.ex-empty) .ex-agent strong{color:var(--light-text)}
html[data-theme="light"] .agent-list-row button{color:var(--light-text)}
html[data-theme="light"] .agent-list-row small{color:#31476c}
html[data-theme="light"] .ex-sheet form label{color:var(--light-text)}
html[data-theme="light"] .balance-large{color:var(--light-text)!important}
html[data-theme="light"] .expense-chart small{color:#294074}
html[data-theme="light"] .expense-breakdown p{color:var(--light-text)}
html[data-theme="light"] .expense-breakdown small{color:var(--light-muted)}
html[data-theme="light"] .expense-breakdown strong{color:var(--light-text)}
html[data-theme="light"] .storage-bar{background:var(--light-raised)}
html[data-theme="light"] .storage-bar span{color:var(--light-muted)}
html[data-theme="light"] .storage-legend button{color:var(--light-text)}
html[data-theme="light"] .storage-legend strong{color:var(--light-text)}
html[data-theme="light"] .storage-legend button[aria-pressed=true]{color:var(--light-text)}
html[data-theme="light"] .expense-agent-filter{color:#3c1e80}
html[data-theme="light"] .ex-feature{background:radial-gradient(ellipse at 100% 100%,#0638b4 0,transparent 49%),linear-gradient(115deg,rgba(240,240,246,1.000),rgba(241,240,246,1.000) 60%,rgba(240,241,246,1.000))}
html[data-theme="light"] .creation-terms strong{color:var(--light-text)}
html[data-theme="light"] .creation-terms span{color:var(--light-muted)}
html[data-theme="light"] .creation-stages{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .creation-stages li{color:var(--light-text)}
html[data-theme="light"] .creation-stages span{color:#362479}
html[data-theme="light"] .ex-disclosure{color:var(--light-muted)}
html[data-theme="light"] .walkthrough-exit{color:var(--light-muted)}
html[data-theme="light"] .in-app .walkthrough-exit{background:rgba(240,242,246,0.902)}
html[data-theme="light"] .ex-walkthrough-back{color:var(--light-muted)}
html[data-theme="light"] .plan-summary>strong{color:var(--light-text)}
html[data-theme="light"] .plan-summary p{color:var(--light-muted)}
html[data-theme="light"] .ex-disclosure p{color:var(--light-muted)}
html[data-theme="light"] .connection-row span:last-child{color:#41326b}
html[data-theme="light"] .connection-row span:first-child{color:var(--light-text)}
html[data-theme="light"] .connection-row small{color:var(--light-muted)}
html[data-theme="light"] .ex-all-agents{color:var(--light-muted)}
html[data-theme="light"] .ex-all-agents strong{color:var(--light-text)}
html[data-theme="light"] .agent-home-empty p{color:var(--light-text)}
html[data-theme="light"] .agent-home-row p{color:var(--light-muted)}
html[data-theme="light"] .agent-tile{background:rgba(240,242,246,0.612)}
html[data-theme="light"] .agent-tile-meta .ex-plain{color:var(--light-muted)}
html[data-theme="light"] .custom-skill small{color:var(--light-muted)}
html[data-theme="light"] #skill-file{color:var(--light-text)}
html[data-theme="light"] body.in-app .vignette{background:radial-gradient(ellipse at 50% 20%,rgba(240,241,246,0.600),rgba(240,241,246,0.863) 85%)}
html[data-theme="light"] .header-section{color:var(--light-muted)}
html[data-theme="light"] .header-section:before{background:rgba(24,39,60,0.120)}
html[data-theme="light"] .ios-group-title{color:var(--light-muted)}
html[data-theme="light"] .ios-group{background:rgba(248,250,253,0.929)}
html[data-theme="light"] .ios-row{color:var(--light-text)}
html[data-theme="light"] .ios-row+.ios-row:before{background:rgba(24,39,60,0.047)}
html[data-theme="light"] .ios-row:hover{background:rgba(24,39,60,0.024)}
html[data-theme="light"] .ios-row:active{background:rgba(24,39,60,0.043)}
html[data-theme="light"] .ios-label small{color:var(--light-muted)}
html[data-theme="light"] .ios-value{color:var(--light-muted)}
html[data-theme="light"] .ex-profile-card .balance-caption{color:var(--light-muted)}
html[data-theme="light"] .ex-profile-card>strong>span{color:var(--light-text)}
html[data-theme="light"] .ex-all-agents:hover{color:var(--light-text)}
html[data-theme="light"] .field-label{color:var(--light-text)}
html[data-theme="light"] .ex-sheet{background:rgba(240,242,246,1.000)!important}
html[data-theme="light"] .ex-sheet .sheet-context{color:var(--light-muted)}
html[data-theme="light"] .ex-sheet .ios-group{background:var(--light-surface)}
html[data-theme="light"] .ex-sheet .ex-control{background:var(--light-surface)}
html[data-theme="light"] .ex-sheet .ex-control small{color:var(--light-muted)}
html[data-theme="light"] .ex-sheet>[data-action=close-sheet]{background:var(--light-raised)}
html[data-theme="light"] .agent-tile{background:rgba(240,242,246,0.949)}
html[data-theme="light"] .agent-main{color:var(--light-text)}
html[data-theme="light"] .agent-main:disabled{color:var(--light-text)}
html[data-theme="light"] .agent-kind{color:var(--light-muted)}
html[data-theme="light"] .agent-state{color:#3c2974}
html[data-theme="light"] .agent-state.state-working{color:#237a58}
html[data-theme="light"] .agent-state.state-failed{color:#801e37}
html[data-theme="light"] .agent-menu-button{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .agent-main:hover .agent-copy>strong{color:#341e80}
html[data-theme="light"] .agent-spend{color:var(--light-muted)}
html[data-theme="light"] .agent-spend:before{background:rgba(24,39,60,0.035)}
html[data-theme="light"] .agent-spend>.ex-icon{color:var(--light-muted)}
html[data-theme="light"] .agent-spend>strong{color:var(--light-text)}
html[data-theme="light"] .job-line{background:var(--light-raised)}
html[data-theme="light"] .job-line span{background:var(--light-selected)}
html[data-theme="light"] .case-headline{color:var(--light-text)}
html[data-theme="light"] .case-headline+blockquote{color:var(--light-text)}
html[data-theme="light"] .expense-page .ex-categories{background:var(--light-surface)}
html[data-theme="light"] .expense-page .ex-categories button{color:var(--light-muted)}
html[data-theme="light"] .expense-page .ex-categories button[aria-pressed=true]{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .expense-page>.ex-disclosure{background:var(--light-surface)}
html[data-theme="light"] .ex-model-option{background:var(--light-surface)}
html[data-theme="light"] .checkout-caption{color:var(--light-muted)}
html[data-theme="light"] .checkout-group{background:var(--light-surface)}
html[data-theme="light"] .checkout-product p{color:var(--light-muted)}
html[data-theme="light"] .checkout-included svg{color:#34237a}
html[data-theme="light"] .checkout-included small{color:var(--light-text)}
html[data-theme="light"] .checkout-credit-note{color:var(--light-muted)}
html[data-theme="light"] .checkout-total strong small{color:var(--light-muted)}
html[data-theme="light"] .checkout-total p{color:var(--light-muted)}
html[data-theme="light"] .checkout-demo{color:var(--light-muted)}
html[data-theme="light"] .checkout-terms p{color:var(--light-muted)}
html[data-theme="light"] .checkout-status{color:var(--light-text)}
html[data-theme="light"] .has-agent-context .ex-all-agents{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .has-agent-context .ex-all-agents:hover{background:var(--light-raised)}
html[data-theme="light"] .ex-agent-context{color:var(--light-muted)}
html[data-theme="light"] .ex-agent-context strong{color:var(--light-text)}
html[data-theme="light"] .global-agents,html[data-theme="light"] .local-parent,html[data-theme="light"] .sheet-navigation button{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .sheet-navigation{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .menu-trigger{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .drawer-header-context small{color:var(--light-muted)}
html[data-theme="light"] .navigation-drawer{background:linear-gradient(155deg,var(--light-surface),rgba(240,242,246,1.000) 65%);color:var(--light-text)}
html[data-theme="light"] .navigation-drawer::backdrop{background:rgba(248,250,253,0.600)}
html[data-theme="light"] .drawer-top button,html[data-theme="light"] .drawer-foot button,html[data-theme="light"] .drawer-foot a{color:var(--light-text)}
html[data-theme="light"] .drawer-caption{color:var(--light-muted)}
html[data-theme="light"] .drawer-item{color:var(--light-text)}
html[data-theme="light"] .drawer-item .ex-icon{color:var(--light-muted)}
html[data-theme="light"] .drawer-item small{color:var(--light-muted)}
html[data-theme="light"] .drawer-item[aria-current=page]{background:rgba(24,39,60,0.120);color:var(--light-text)}
html[data-theme="light"] .drawer-item[aria-current=page] .ex-icon{color:#2f1e80}
html[data-theme="light"] .drawer-item i{background:var(--light-selected)}
html[data-theme="light"] .drawer-item:hover{background:rgba(24,39,60,0.039)}
html[data-theme="light"] .drawer-agent small{color:var(--light-muted)}
html[data-theme="light"] .navigation-drawer .drawer-top{background:var(--light-surface)}
html[data-theme="light"] .navigation-drawer .drawer-top button{background:rgba(24,39,60,0.031)}
html[data-theme="light"] .notification-count{background:var(--light-selected);color:var(--light-muted)}
html[data-theme="light"] .experience a,html[data-theme="light"] .experience .ex-plain,html[data-theme="light"] .experience .ios-value,html[data-theme="light"] .experience .ex-muted,html[data-theme="light"] .ex-sheet a,html[data-theme="light"] .ex-sheet .ex-plain{color:var(--light-text)}
html[data-theme="light"] .navigation-drawer .drawer-item .ex-icon{color:var(--light-text)}
html[data-theme="light"] .navigation-drawer .drawer-item[aria-current=page] .ex-icon{color:var(--light-text)}
html[data-theme="light"] .notification-demo{color:var(--light-muted)}
html[data-theme="light"] .notification-tools button,html[data-theme="light"] .notification-actions button{color:var(--light-text)}
html[data-theme="light"] .notification-tools button[aria-pressed=true]{color:var(--light-text)}
html[data-theme="light"] .notification-card{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .notification-title .ex-icon{color:var(--light-text)}
html[data-theme="light"] .notification-title i{background:var(--light-selected)}
html[data-theme="light"] .notification-card p{color:var(--light-text)}
html[data-theme="light"] .notification-card.is-read{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .notifications-empty{color:var(--light-muted)}
html[data-theme="light"] .drawer-language button[aria-pressed=true]{background:rgba(24,39,60,0.047);color:var(--light-text)}
html[data-theme="light"] .icon-close,html[data-theme="light"] .sheet-navigation .icon-close,html[data-theme="light"] .drawer-top .icon-close{background:rgba(24,39,60,0.035);color:var(--light-text)}
html[data-theme="light"] .admin-context{color:var(--light-muted)}
html[data-theme="light"] .admin-stats>div{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .admin-stats strong{color:var(--light-text)}
html[data-theme="light"] .admin-stats span{color:var(--light-text)}
html[data-theme="light"] .admin-info{color:var(--light-muted)}
html[data-theme="light"] .admin-filters button{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .admin-filters button[aria-pressed=true]{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .admin-summary{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .admin-summary>strong>span{color:var(--light-text)}
html[data-theme="light"] .admin-summary p{color:var(--light-text)}
html[data-theme="light"] .admin-empty>.ex-icon{color:var(--light-muted)}
html[data-theme="light"] .admin-empty p{color:var(--light-text)}
html[data-theme="light"] .admin-saved{color:var(--light-text)}
html[data-theme="light"] .admin-usage>div:nth-child(1){background:var(--light-selected)}
html[data-theme="light"] .admin-usage>div:nth-child(3){background:var(--light-selected)}
html[data-theme="light"] .admin-line strong{color:var(--light-text)}
html[data-theme="light"] .admin-user-tabs button{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .admin-user-tabs button[aria-pressed=true]{color:var(--light-text);background:var(--light-raised)}
html[data-theme="light"] .admin-user-id{color:var(--light-muted)}
html[data-theme="light"] .admin-linked-row{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .admin-linked-row span{color:var(--light-text)}
html[data-theme="light"] .admin-local-nav{color:var(--light-text)}
html[data-theme="light"] .admin-balance-note{color:var(--light-text)}
html[data-theme="light"] dialog .preview-next,html[data-theme="light"] dialog .preview-next:visited{color:var(--light-text)}
html[data-theme="light"] .experience.has-agent-nav .ex-nav{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .experience.has-agent-nav .ex-nav a{color:var(--light-muted)}
html[data-theme="light"] .experience.has-agent-nav .ex-nav a[aria-current=page]{background:rgba(24,39,60,0.031);color:var(--light-text)}
html[data-theme="light"] .balance-summary,html[data-theme="light"] .balance-analysis,html[data-theme="light"] .balance-history{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .balance-summary>p:first-child{color:var(--light-text)}
html[data-theme="light"] .balance-number>span{color:var(--light-text)}
html[data-theme="light"] .balance-totals span{color:var(--light-muted)}
html[data-theme="light"] .balance-unit-note{color:var(--light-muted)}
html[data-theme="light"] .balance-period-total span{color:var(--light-muted)}
html[data-theme="light"] .balance-agent-list button{color:var(--light-text)}
html[data-theme="light"] .balance-detail-link{color:var(--light-text)}
html[data-theme="light"] .balance-ledger-row{color:var(--light-text)}
html[data-theme="light"] .balance-ledger-head{color:var(--light-muted)}
html[data-theme="light"] .balance-no-usage{color:var(--light-muted)}
html[data-theme="light"] .entry-symbol{background:rgba(240,241,246,1.000)}
html[data-theme="light"] .admin-entry p{color:var(--light-text)}
html[data-theme="light"] .admin-entry>small{color:var(--light-muted)}
html[data-theme="light"] .drawer-create-button{background:rgba(240,241,246,1.000);color:var(--light-text)}
html[data-theme="light"] .drawer-top .icon-close{background:rgba(24,39,60,0.031)}
@media(min-width:700px){html[data-theme="light"] .ex-app-row{background:rgba(240,242,246,1.000)}}
html[data-theme="light"] .balance-ledger-row small{color:var(--light-muted)}
html[data-theme="light"] .menu-trigger,html[data-theme="light"] .icon-close,html[data-theme="light"] .ex-tabs,html[data-theme="light"] .ex-categories,html[data-theme="light"] .ex-composer{background-color:var(--light-surface)}
html[data-theme="light"] .experience.has-agent-nav .ex-nav{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .navigation-drawer{background:linear-gradient(145deg,var(--light-surface),rgba(240,242,246,1.000) 80%)}
html[data-theme="light"] .ex-sheet{background:linear-gradient(145deg,var(--light-raised),rgba(240,242,246,1.000))}
html[data-theme="light"] .ex-secondary{background:linear-gradient(145deg,var(--light-raised),var(--light-surface))}
html[data-theme="light"] .drawer-item[aria-current=page]{background:linear-gradient(120deg,rgba(24,39,60,0.059),rgba(24,39,60,0.024))}
@supports(backdrop-filter:blur(16px)){html[data-theme="light"] .navigation-drawer{background:linear-gradient(145deg,rgba(248,250,253,0.910),rgba(240,242,246,0.910) 80%)}
html[data-theme="light"] .ex-sheet{background:linear-gradient(145deg,rgba(248,250,253,0.929),rgba(240,242,246,0.929))}
html[data-theme="light"] .experience.has-agent-nav .ex-nav{background:rgba(240,242,246,0.863)}}
@media(prefers-reduced-transparency:reduce){html[data-theme="light"] .navigation-drawer,html[data-theme="light"] .ex-sheet,html[data-theme="light"] .experience.has-agent-nav .ex-nav{background:rgba(240,242,246,1.000)!important}}
@media(min-width:1100px){html[data-theme="light"] .desktop-sidebar:not([hidden]){background:linear-gradient(160deg,rgba(240,242,246,0.929),rgba(240,242,246,1.000))}
html[data-theme="light"] .desktop-sidebar .sidebar-brand{color:var(--light-text)}}
@media(prefers-reduced-transparency:reduce){html[data-theme="light"] .desktop-sidebar{background:rgba(240,242,246,1.000)!important}}
@media(min-width:1100px){html[data-theme="light"] .desktop-sidebar .drawer-item[aria-current=page]{background:linear-gradient(120deg,rgba(24,39,60,0.063),rgba(24,39,60,0.024))}}
@media(hover:hover) and (pointer:fine){html[data-theme="light"] .drawer-create{background:rgba(240,242,246,1.000)}}
@media(min-width:1100px){html[data-theme="light"] .desktop-agent-name{color:var(--light-text)}
html[data-theme="light"] .desktop-agent-actions a{background:linear-gradient(140deg,rgba(248,250,253,0.910),rgba(240,242,246,0.910));color:var(--light-text)}
html[data-theme="light"] .desktop-agent-actions a[aria-current=page]{color:var(--light-text);background:linear-gradient(140deg,var(--light-raised),var(--light-raised))}}
html[data-theme="light"] .profile-identity{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .profile-avatar{color:var(--light-text)}
html[data-theme="light"] .avatar-0{background:linear-gradient(135deg,var(--light-selected),var(--light-selected))}
html[data-theme="light"] .avatar-1{background:linear-gradient(135deg,var(--light-selected),rgba(240,244,246,1.000))}
html[data-theme="light"] .avatar-2{background:linear-gradient(135deg,var(--light-selected),var(--light-selected))}
html[data-theme="light"] .avatar-3{background:linear-gradient(135deg,var(--light-selected),var(--light-raised))}
html[data-theme="light"] .profile-identity p{color:var(--light-text)}
html[data-theme="light"] .profile-identity p span{color:var(--light-muted)}
html[data-theme="light"] .profile-note{color:var(--light-muted)}
html[data-theme="light"] .profile-readonly .ios-label small{color:var(--light-muted)}
html[data-theme="light"] .profile-switch{background:var(--light-raised)}
html[data-theme="light"] .profile-switch i{background:var(--light-selected)}
html[data-theme="light"] .preference-row[aria-checked=true] .profile-switch{background:var(--light-selected)}
html[data-theme="light"] .preference-row[aria-checked=true] .profile-switch i{background:var(--light-selected)}
html[data-theme="light"] #profile-timezone{color:var(--light-text);background:var(--light-raised)}
html[data-theme="light"] .admin-page .admin-linked-row{background:rgba(248,250,253,0.780)}
html[data-theme="light"] .skill-app-identity span{color:var(--light-muted)}
html[data-theme="light"] .skill-service{background:rgba(245,247,250,0.270)}
html[data-theme="light"] .skill-service p{color:var(--light-text)}
html[data-theme="light"] .employee-preview{color:var(--light-muted)}
html[data-theme="light"] .employee-picker button{background:var(--light-raised)}
html[data-theme="light"] .employee-picker button[aria-pressed=true]{background:var(--light-selected)}
html[data-theme="light"] .agent-copy small{color:var(--light-muted)}
html[data-theme="light"] .agent-customize{background:var(--light-surface);color:var(--light-text)}
@media(min-width:1100px){html[data-theme="light"] .desktop-profile-launcher{background:rgba(248,250,253,0.920);color:var(--light-text)}}
@media(prefers-reduced-transparency:reduce){html[data-theme="light"] .desktop-profile-launcher{background:var(--light-surface)}}
html[data-theme="light"] .employee-picker button[aria-pressed=true]::after{background:var(--light-selected)}
html[data-theme="light"] .generated-skill-card{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .generated-skill-card small{color:var(--light-muted)}
html[data-theme="light"] .support-context{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .support-context span{color:var(--light-text)}
html[data-theme="light"] .support-context small,html[data-theme="light"] .support-demo,html[data-theme="light"] .support-note{color:var(--light-muted)}
html[data-theme="light"] .support-log,html[data-theme="light"] .support-diff,html[data-theme="light"] .support-terminal{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .support-session-state{color:var(--light-text)}
html[data-theme="light"] .support-messages p{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .support-messages p.user{background:rgba(240,243,246,1.000)}
html[data-theme="light"] .support-tabs button[aria-pressed=true]{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .drawer-foot .navigation-profile{background:rgba(24,39,60,0.055);color:var(--light-text)}
html[data-theme="light"] .navigation-profile[aria-current=page]{background:rgba(24,39,60,0.063)}
html[data-theme="light"] .topup-current{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .topup-current>span{color:var(--light-text)}
html[data-theme="light"] .topup-current small{color:var(--light-text)}
html[data-theme="light"] .topup-window label{color:var(--light-text)}
html[data-theme="light"] .topup-input-wrap{background:var(--light-raised)}
html[data-theme="light"] .topup-input-wrap>span{color:var(--light-muted)}
html[data-theme="light"] .topup-input-wrap>small{color:var(--light-text)}
html[data-theme="light"] .topup-demo-note{color:var(--light-muted)!important}
html[data-theme="light"] .expense-agent-option{color:var(--light-text)}
html[data-theme="light"] .expense-agent-option[aria-checked=true]{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .expense-agent-option:hover{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .all-agent-symbol{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .expense-option-copy small{color:var(--light-muted)}
html[data-theme="light"] .selection-check{color:var(--light-text)}
html[data-theme="light"] .ledger-heading>small{color:var(--light-muted)}
html[data-theme="light"] .ledger-title-icon{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .ledger-symbol.incoming{background:rgba(240,246,245,1.000);color:#2b7255}
html[data-theme="light"] .ledger-symbol.outgoing{background:rgba(240,242,246,1.000);color:#20437d}
html[data-theme="light"] .ledger-copy small{color:var(--light-muted)}
html[data-theme="light"] .ledger-owner{color:var(--light-text)}
html[data-theme="light"] .ledger-account-icon{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .ledger-amount.incoming{color:#2a7350}
html[data-theme="light"] .ledger-amount.outgoing{color:var(--light-text)}
html[data-theme="light"] .knowledge-intro{color:var(--light-text)}
html[data-theme="light"] .knowledge-item{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .knowledge-item small{color:var(--light-muted)}
html[data-theme="light"] .knowledge-icon{background:rgba(245,247,250,0.098);color:#1e4380}
html[data-theme="light"] .knowledge-open{color:var(--light-text)}
html[data-theme="light"] .knowledge-empty{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .knowledge-empty p{color:var(--light-muted)}
html[data-theme="light"] .knowledge-disclosure{color:var(--light-muted)}
html[data-theme="light"] .knowledge-label{color:var(--light-text)}
html[data-theme="light"] .knowledge-file-name{color:var(--light-text)}
html[data-theme="light"] .knowledge-tabs button[aria-pressed=true]{background:rgba(24,39,60,0.071);color:var(--light-text)}
html[data-theme="light"] #knowledge-file::file-selector-button{background:rgba(24,39,60,0.071);color:var(--light-text)}
html[data-theme="light"] .identity-copy{background:rgba(24,39,60,0.020);color:var(--light-text)}
html[data-theme="light"] .identity-copy.is-copied{color:#2a7354}
html[data-theme="light"] .identity-panel{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .identity-panel h4{color:var(--light-text)}
html[data-theme="light"] .identity-no-match{color:var(--light-text)}
html[data-theme="light"] .agent-card-id .identity-copy{color:var(--light-muted)}
html[data-theme="light"] .employee-refresh{background:rgba(24,39,60,0.043);color:var(--light-text)}
html[data-theme="light"] #employee-form>label{color:var(--light-text)}
html[data-theme="light"] .agent-management-header p{color:var(--light-muted)}
html[data-theme="light"] .accounts-intro{color:var(--light-muted)}
html[data-theme="light"] .accounts-note{color:var(--light-muted)}
html[data-theme="light"] .social-agent{color:var(--light-text)}
html[data-theme="light"] .social-permissions{background:rgba(24,39,60,0.020)}
html[data-theme="light"] .social-permissions p{color:var(--light-text)}
html[data-theme="light"] .navigation-drawer::backdrop{background:rgba(245,247,250,0.000)}
html[data-theme="light"] .navigation-drawer.menu-visible::backdrop{background:rgba(248,250,253,0.600)}
html[data-theme="light"] img.asset-pending{background:linear-gradient(100deg,var(--light-raised) 20%,var(--light-raised) 42%,var(--light-raised) 65%)}
html[data-theme="light"] img.asset-failed{background:var(--light-raised)}
html[data-theme="light"] .settings-owner small{color:var(--light-muted)}
html[data-theme="light"] .settings-parent{background:var(--light-raised);color:var(--light-text)}
@media(min-width:1100px){html[data-theme="light"] .agent-settings-categories{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .agent-settings-categories>a,html[data-theme="light"] .agent-settings-categories>button{color:var(--light-text)}
html[data-theme="light"] .agent-settings-categories [aria-current=page]{background:var(--light-raised);color:var(--light-text)}}
@media(max-width:1099px){html[data-theme="light"] .desktop-agent-actions a{background:linear-gradient(140deg,rgba(248,250,253,0.910),rgba(240,242,246,0.910));color:var(--light-text)}}
html[data-theme="light"] .skills-store-entry{background:radial-gradient(ellipse at 5% 0%,rgba(245,247,250,0.220),transparent 80%),rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .skills-store-entry small{color:var(--light-text)}
html[data-theme="light"] .schedule-demo{color:var(--light-muted)}
html[data-theme="light"] .schedule-card{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .schedule-card small{color:var(--light-muted)}
html[data-theme="light"] #schedule-form label{color:var(--light-text)}
html[data-theme="light"] #schedule-form select{color:var(--light-text);background:rgba(240,242,246,1.000)}
html[data-theme="light"] #schedule-error{color:#801e27}
html[data-theme="light"] .skills-marketplace .ex-app-row small{color:var(--light-muted)}
html[data-theme="light"] .skills-marketplace .ex-app-row{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .compact-parent{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .agent-subscription{color:var(--light-muted)}
html[data-theme="light"] .agent-subscription strong{color:var(--light-text)}
html[data-theme="light"] .subscription-summary{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .subscription-summary>strong small{color:var(--light-text)}
html[data-theme="light"] .subscription-summary dt{color:var(--light-muted)}
html[data-theme="light"] .subscription-summary dd{color:var(--light-text)}
html[data-theme="light"] .subscription-warning{background:rgba(245,247,250,0.200)}
html[data-theme="light"] .subscription-alert{background:rgba(245,247,250,0.180)}
html[data-theme="light"] .subscription-stages [aria-pressed=true]{background:var(--light-raised)}
html[data-theme="light"] .checkout-retention{color:var(--light-text)}
@media(min-width:1100px){html[data-theme="light"] .agent-settings-categories .settings-skills-link{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .agent-settings-categories [aria-current=page]{background:var(--light-raised);color:var(--light-text)}}
html[data-theme="light"] .agent-card-metrics .agent-subscription span,html[data-theme="light"] .agent-card-metrics .agent-spend span{color:var(--light-muted)}
html[data-theme="light"] .agent-card-metrics .agent-spend strong{color:var(--light-text)}
html[data-theme="light"] .activity-panel{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .activity-heading>span{color:var(--light-muted)}
html[data-theme="light"] .activity-chart-title h3{color:var(--light-text)}
html[data-theme="light"] .activity-chart-title small{color:var(--light-muted)}
html[data-theme="light"] .activity-svg line{stroke:var(--light-muted)}
html[data-theme="light"] .activity-svg .activity-guide{stroke:var(--light-text)}
html[data-theme="light"] .activity-svg text{fill:var(--light-text)}
html[data-theme="light"] .activity-credits rect{fill:#2b1e80}
html[data-theme="light"] .activity-actions rect{fill:#256878}
html[data-theme="light"] .activity-note,html[data-theme="light"] .activity-zero{color:var(--light-muted)}
html[data-theme="light"] .activity-data th:first-child{color:var(--light-text)}
html[data-theme="light"] .chart-tooltip{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .activity-svg rect.chart-highlight{stroke:var(--light-text)}
html[data-theme="light"] .activity-svg.is-inspecting .activity-cursor{stroke:var(--light-muted)}
html[data-theme="light"] .activity-svg.is-inspecting .activity-point{fill:var(--light-text)}
html[data-theme="light"] .agent-mode button{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .agent-mode button[aria-pressed=true]{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .agent-mode small{color:var(--light-muted)}
html[data-theme="light"] .tool-catalog-row{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .tool-catalog-row small{color:var(--light-muted)}
html[data-theme="light"] .tool-state{color:var(--light-muted)}
html[data-theme="light"] .server-info-card{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .server-info-card dt{color:var(--light-muted)}
html[data-theme="light"] .server-info-card dd{color:var(--light-text)}
html[data-theme="light"] .agent-status-control{color:#805e1e}
html[data-theme="light"] .agent-status-control.status-green{color:#28754a}
html[data-theme="light"] .agent-status-control.status-red{color:#801e21}
html[data-theme="light"] .agent-status-control:hover{background:rgba(24,39,60,0.027)}
html[data-theme="light"] .agent-tile .agent-copy .agent-state{color:var(--light-muted)}
html[data-theme="light"] .guide-top{color:var(--light-muted)}
html[data-theme="light"] .guide-top a,html[data-theme="light"] .guide-free,html[data-theme="light"] .guide-repeat{color:var(--light-text)}
html[data-theme="light"] .guide-entry{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .guide-goals button{background:rgba(240,242,246,1.000);color:var(--light-text)}
html[data-theme="light"] .guide-goals button[aria-pressed=true]{background:var(--light-raised)}
html[data-theme="light"] .guide-page label{color:var(--light-text)}
html[data-theme="light"] .guide-summary{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .guide-facts p{color:var(--light-text)}
html[data-theme="light"] .guide-file{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .lead-sources label,html[data-theme="light"] .lead-check{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .lead-card{background:rgba(240,243,246,1.000)}
html[data-theme="light"] .lead-card h2,html[data-theme="light"] .lead-rules h2{color:var(--light-text)}
html[data-theme="light"] .lead-card-heading>span{color:var(--light-muted)}
html[data-theme="light"] .lead-card p,html[data-theme="light"] .lead-rules p,html[data-theme="light"] .lead-rules li,html[data-theme="light"] .lead-cost p{color:var(--light-text)}
html[data-theme="light"] .lead-fit strong{color:var(--light-text)}
html[data-theme="light"] .lead-rules,html[data-theme="light"] .lead-cost{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .lead-delivery{color:var(--light-muted)}
html[data-theme="light"] .template-option{background:var(--light-surface);color:var(--light-text)}
html[data-theme="light"] .template-option[aria-pressed=true]{background:var(--light-raised)}
html[data-theme="light"] .template-option small{color:var(--light-text)}
html[data-theme="light"] .template-option .template-account-note{color:var(--light-muted)}
html[data-theme="light"] .template-price{color:var(--light-text)}
html[data-theme="light"] .template-chat-context{color:var(--light-muted)}
html[data-theme="light"] .template-chat-context a{color:var(--light-text)}
html[data-theme="light"] .template-offer p{color:var(--light-text)}
html[data-theme="light"] .template-base-icon{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .template-facts li{color:var(--light-text)}
html[data-theme="light"] .template-facts .ex-icon{color:var(--light-muted)}
html[data-theme="light"] .template-shared-note{color:var(--light-text)}
html[data-theme="light"] .template-preview-details p{color:var(--light-muted)}
html[data-theme="light"] .settings-scope-tabs{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .settings-scope-tabs a{color:var(--light-text)}
html[data-theme="light"] .settings-scope-tabs [aria-selected=true]{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .settings-task-empty{background:rgba(240,242,246,1.000)}
html[data-theme="light"] .settings-task-empty>.ex-icon{color:var(--light-text)}
html[data-theme="light"] .settings-task-empty p{color:var(--light-text)}
html[data-theme="light"] .template-price strong span{color:var(--light-text)}
html[data-theme="light"] .template-price small{color:var(--light-muted)}
html[data-theme="light"] .maps-channels label{background:var(--light-raised)}
html[data-theme="light"] .template-price>span{color:var(--light-muted)}
html[data-theme="light"] .template-allowance{color:var(--light-muted)}
@media(max-width:699px){html[data-theme="light"] .experience .ex-header.drawer-header{background:rgba(240,242,246,0.961)}}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media(max-width:699px){html[data-theme="light"] .experience .ex-header.drawer-header{background:rgba(240,242,246,0.760)}}}
@media(max-width:699px) and (prefers-reduced-transparency:reduce){html[data-theme="light"] .experience .ex-header.drawer-header{background:rgba(240,242,246,1.000)}}
html[data-theme="light"] .checkout-group>.checkout-caption{color:var(--light-muted)}
@media(min-width:700px) and (max-width:1099px){html[data-theme="light"] body.app-document .experience .ex-header.drawer-header{background:rgba(240,242,246,0.961)}}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media(min-width:700px) and (max-width:1099px){html[data-theme="light"] body.app-document .experience .ex-header.drawer-header{background:rgba(240,242,246,0.760)}}}
@media(min-width:700px) and (max-width:1099px) and (prefers-reduced-transparency:reduce){html[data-theme="light"] body.app-document .experience .ex-header.drawer-header{background:rgba(240,242,246,1.000)}}
@media(max-width:1099px){html[data-theme="light"] .experience .menu-trigger{background:rgba(240,242,246,0.949)}}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media(max-width:1099px){html[data-theme="light"] .experience .menu-trigger{background:rgba(240,242,246,0.820)}}}
@media(max-width:1099px) and (prefers-reduced-transparency:reduce){html[data-theme="light"] .experience .menu-trigger{background:rgba(240,242,246,1.000)}}
@media(max-width:1099px){html[data-theme="light"] body.in-app .experience .ex-header.drawer-header,html[data-theme="light"] body.in-app .experience .ex-header.drawer-header:not(.has-local-actions){background:rgba(240,242,246,0.961)}}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media(max-width:1099px){html[data-theme="light"] body.in-app .experience .ex-header.drawer-header,html[data-theme="light"] body.in-app .experience .ex-header.drawer-header:not(.has-local-actions){background:rgba(240,242,246,0.760)}}}
@media(max-width:1099px) and (prefers-reduced-transparency:reduce){html[data-theme="light"] body.in-app .experience .ex-header.drawer-header,html[data-theme="light"] body.in-app .experience .ex-header.drawer-header:not(.has-local-actions){background:rgba(240,242,246,1.000)}}
html[data-theme="light"] .agent-tile .agent-copy .agent-template-caption{color:var(--light-muted)}
html[data-theme="light"] .agent-template-icon.is-hermes{background:var(--light-selected)}
html[data-theme="light"] .config-header-button{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .config-quiz-progress{color:var(--light-muted)}
html[data-theme="light"] .tg-help{color:var(--light-muted)!important}
html[data-theme="light"] .tg-tag-list>span{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .tg-mode button{background:rgba(240,243,246,1.000);color:var(--light-text)}
html[data-theme="light"] .tg-mode button[aria-pressed=true]{background:var(--light-raised);color:var(--light-text)}
html[data-theme="light"] .tg-choice{background:rgba(240,243,246,1.000)}
html[data-theme="light"] .tg-choice small{color:var(--light-muted)}
html[data-theme="light"] .tg-error{color:#802b1e!important}
html[data-theme="light"] .tg-auth summary{color:var(--light-text)}
html[data-theme="light"] .work-account-row small{color:var(--light-muted)}
html[data-theme="light"] .config-setup-prompt{background:rgba(240,243,246,1.000)}
html[data-theme="light"] .config-setup-prompt p{color:var(--light-text)}
html[data-theme="light"] .config-setup-prompt small{color:var(--light-muted)}
html[data-theme="light"] .config-saved-banner strong,html[data-theme="light"] .config-saved-banner span{color:var(--light-muted)}
html[data-theme="light"] .config-saved-banner strong{color:var(--light-text)}
html[data-theme="light"] .template-coming-soon{background:rgba(240,242,246,1.000);color:var(--light-muted)}
html[data-theme="light"] .header-agent-identity strong{color:var(--light-text)}
html[data-theme="light"] .header-agent-identity small{color:var(--light-muted)}
html[data-theme="light"] .signin{background:var(--light-canvas)}
html[data-theme="light"] .task-option input:checked+.task-surface{background:var(--light-surface)}
html[data-theme="light"] .choice-dot{background:rgba(24,39,60,0.094)}
html[data-theme="light"] .task-option input:checked+.task-surface .choice-dot{background:var(--light-selected)}
/* Shared theme control uses normal DOM, preserving focus and drawer scroll. */
.theme-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:0;border-radius:13px;background:#ffffff09;color:#d9e1ed;font:13px/1.3 Arial;cursor:pointer;text-align:left}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.drawer-foot>.theme-toggle{width:100%;margin-bottom:10px}.language-picker{display:flex;align-items:center;gap:6px}.language-picker .theme-toggle{padding:8px;min-width:44px}.language-picker .theme-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html[data-theme="light"] .theme-toggle{background:#e5ebf2;color:#25354a}
/* Deliberate brand and data-visualization treatments, not palette inversion. */
html[data-theme="light"] .wallpaper{opacity:.20;stroke:#7c8b9d}
html[data-theme="light"] .wallpaper *{stroke:#7c8b9d}
html[data-theme="light"] .vignette{background:radial-gradient(ellipse at 50% 46%,#f5f7fa30, #f5f7fa99)}
html[data-theme="light"] .signin,html[data-theme="light"] .drawer-create-button{background:#fff;color:#182333}
html[data-theme="light"] .ex-primary,html[data-theme="light"] .ex-send,html[data-theme="light"] .ex-msg.user{color:#fff}
html[data-theme="light"] .message-bubble{background:linear-gradient(135deg,hsl(var(--message-hue) 40% 96%),hsl(var(--message-hue) 32% 93%));color:#253146}
html[data-theme="light"] .message-avatar{background:hsl(var(--message-hue) 35% 88%);color:#253146}
html[data-theme="light"] .fixed-entry .dissolve{background:linear-gradient(to bottom,#f5f7fa00,#f5f7fa66 18%,#f5f7faed 51%,#f5f7fa 74%)}
html[data-theme="light"] .drawer-item[aria-current="page"]{background:#dfe7f1;color:#182333}
html[data-theme="light"] .ios-icon,html[data-theme="light"] .compact-sheet-icon{color:#fff}
html[data-theme="light"] .agent-status-tip,html[data-theme="light"] .chart-tooltip{background:#fff;color:#253146}
html[data-theme="light"] .storage-bar>span,html[data-theme="light"] .activity-empty{color:#526176}
html[data-theme="light"] .ex-control-grid button[style],html[data-theme="light"] .ex-sheet button[style]{color:#253146!important}
html[data-theme="light"] .ex-sheet .ex-danger,html[data-theme="light"] .ex-danger{color:#fff;background:#b63350}
html[data-theme="light"] .notification-count{color:#fff;background:#495f8a}
html[data-theme="light"] .skeleton-loading{background:#e2e8ef}
html[data-theme="light"].keyboard-nav :focus-visible{outline-color:#365b9a!important}
@media(prefers-reduced-transparency:reduce){html[data-theme="light"] .ex-header.drawer-header,html[data-theme="light"] .navigation-drawer,html[data-theme="light"] .ex-sheet{background:#fff!important;backdrop-filter:none;-webkit-backdrop-filter:none}}
html[data-theme="light"] .feed-item[class] .message-bubble{background:linear-gradient(135deg,hsl(var(--message-hue) 40% 96%),hsl(var(--message-hue) 32% 93%));color:#253146}
html[data-theme="light"] .feed-item>.avatar{background:hsl(var(--message-hue) 35% 88%);color:#253146}
html[data-theme="light"] .case-tag{background:hsl(var(--message-hue) 30% 85% / .55);color:#425169}
/* Feature illustrations stay original; supporting surfaces use readable light tints. */
html[data-theme="light"] .ex-feature{background:radial-gradient(ellipse at 100% 100%,#dce8ff,transparent 58%),#f0f4fb;color:#182333}
html[data-theme="light"] .ex-cost-banner{background:linear-gradient(115deg,#e3edff,#f5f7fb);color:#253146}
html[data-theme="light"] .knowledge-icon{background:#e5ecf6;color:#365b85}
html[data-theme="light"] .ex-sheet .ex-control-icon[style]{color:#365b85!important}
html[data-theme="light"] .ex-sheet [data-action="off"] .ex-control-icon[style]{color:#ad3048!important}
html[data-theme="light"] .ex-agent .ex-status[style]{color:#526176!important}
/* v89 controls and same home-pattern chat background. */
html[data-theme="light"] .language-icon-button,html[data-theme="light"] .language-picker .language-icon-button,html[data-theme="light"] .theme-choice{background:#e5ebf2;color:#25354a}
html[data-theme="light"] .chat-wallpaper{opacity:.12}
/* v90: direct icon selection has the same semantic selected treatment. */
html[data-theme="light"] .theme-icon-button,html[data-theme="light"] .language-picker .theme-icon-button{background:transparent;color:#526176}
html[data-theme="light"] .theme-icon-button[aria-pressed="true"],html[data-theme="light"] .language-picker .theme-icon-button[aria-pressed="true"]{background:#d6e1ee;color:#182333}
html[data-theme="light"] .agent-empty-symbol{background:#e5ecf5;color:#526984}
/* v91 — distinguish surfaces and state without bleaching semantic brand marks. */
html[data-theme="light"] .agent-tile{background:#fff}
html[data-theme="light"] .profile-switch{background:#a6b4c6}
html[data-theme="light"] .profile-switch i{background:#fff}
html[data-theme="light"] [aria-checked="true"] .profile-switch{background:#365b85}
html[data-theme="light"] [aria-checked="true"] .profile-switch i{background:#fff}
html[data-theme="light"] ::-webkit-scrollbar-track,html[data-theme="light"]::-webkit-scrollbar-track{background:transparent}
html[data-theme="light"] ::-webkit-scrollbar-thumb,html[data-theme="light"]::-webkit-scrollbar-thumb{background:transparent}
html[data-theme="light"] .is-scrolling::-webkit-scrollbar-thumb,html[data-theme="light"].is-scrolling::-webkit-scrollbar-thumb{background:var(--scroll-thumb)}
/* Semantic layers: grouped canvas, white cards, elevated sheets and inset controls. */
html[data-theme="light"]{--light-canvas:#f2f4f8;--light-surface:#fff;--light-raised:#e8edf4;--light-selected:#dfe7f1;--light-line:#c7d1df;--field-surface:#e6ecf3;--selected-ink:#fff}
html[data-theme="light"] :is(.agent-tile,.ios-group,.checkout-group,.template-offer,.ex-card,.balance-summary,.balance-analysis,.balance-history,.knowledge-item,.schedule-card,.account-card,.admin-linked-row,.subscription-summary,.config-setup-prompt,.settings-task-empty){background:var(--light-surface)}
html[data-theme="light"] .ex-sheet,html[data-theme="light"] dialog:not(.navigation-drawer){background:#fff!important}
html[data-theme="light"] :is(.ex-input,input:where(:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden])),textarea,select){background:var(--field-surface);color:var(--light-text)}
html[data-theme="light"] :is(input,textarea)::placeholder{color:#526176;opacity:1}
html[data-theme="light"] .ex-search input{background:var(--field-surface)}
html[data-theme="light"] :is(.ex-tabs,.ex-categories,.settings-scope-tabs,.admin-user-tabs,.support-tabs,.knowledge-tabs){background:#e3e9f1}
html[data-theme="light"] :is(.ex-tabs,.ex-categories,.settings-scope-tabs,.admin-user-tabs,.support-tabs,.knowledge-tabs) :is(button,a){background:transparent;color:#526176}
html[data-theme="light"] :is(.ex-tabs,.ex-categories,.settings-scope-tabs,.admin-user-tabs,.support-tabs,.knowledge-tabs) :is([aria-selected=true],[aria-pressed=true],[aria-current=page]){background:#365b85!important;color:#fff!important}
html[data-theme="light"] .expense-page .ex-categories button[aria-pressed=true]{background:#365b85!important;color:#fff!important}
html[data-theme="light"] .ios-icon:not([class*="brand-"]),html[data-theme="light"] .compact-sheet-icon:not([class*="brand-"]){background:#e3ebf5!important;color:#365b85!important}
html[data-theme="light"] .ios-icon.green{background:#deeee5!important;color:#236447!important}
html[data-theme="light"] .ios-icon.orange{background:#f8ead8!important;color:#875315!important}
html[data-theme="light"] .ios-icon.red{background:#f8e3e7!important;color:#9c3047!important}
html[data-theme="light"] .preference-row[aria-checked=true] .profile-switch{background:#365b85}
html[data-theme="light"] .preference-row[aria-checked=true] .profile-switch i{background:#fff}
html[data-theme="light"] .profile-switch{background:#8292a8}
html[data-theme="light"] .profile-switch i{background:#fff}
html[data-theme="light"] :is(.ex-secondary,.ex-plain,.icon-close,.theme-icon-button){color:#36516f}
html[data-theme="light"] .ex-secondary{background:#e2eaf4}
html[data-theme="light"] :is(button,input,textarea,select):disabled{opacity:1;color:#526176;background:#e7ecf3;cursor:not-allowed}
@media(hover:hover){html[data-theme="light"] :is(.drawer-item,.ios-row,.ex-secondary,.ex-tabs button,.ex-categories button):hover:not(:disabled){background:#d6e1ee;color:#182333}}
html[data-theme="light"] :is(.chart-tooltip,.agent-status-tip){background:#fff;color:#182333}
html[data-theme="light"] .theme-cycle-button,html[data-theme="light"] .language-picker .theme-cycle-button{background:transparent;color:#36516f;box-shadow:none}
/* Selection controls share the same unambiguous state across task/admin screens. */
html[data-theme="light"] :is(.tg-mode,.guide-goals,.agent-mode,.admin-filters,.subscription-stages) [aria-pressed=true],html[data-theme="light"] .expense-agent-option[aria-checked=true]{background:#365b85!important;color:#fff!important}
html[data-theme="light"] :is(.tg-mode,.guide-goals,.agent-mode,.admin-filters,.subscription-stages) [aria-pressed=true] :is(small,strong,span),html[data-theme="light"] .expense-agent-option[aria-checked=true] :is(small,strong,span){color:inherit}
html[data-theme="light"] .employee-picker button[aria-pressed=true]::after{background:#365b85;color:#fff}
html[data-theme="light"] .agent-settings-categories [aria-current=page]{background:#d9e5f3!important;color:#182333}
/* v94 palette only: geometry is shared with the dark theme. */
html[data-theme="light"] .ex-sheet .topup-input-wrap .ex-input{background:transparent}
html[data-theme="light"] .notification-card{background:#fff}
html[data-theme="light"] .notification-card.is-read{background:#e5ebf3}
html[data-theme="light"] .identity-copy.is-copied{color:#236447}
html[data-theme="light"] .identity-copy.copy-failed{color:#9c3047}

/* v95 — the composer is one shared rounded surface, not a square field inside it. */
html[data-theme="light"] .experience .ex-composer textarea{background:transparent}

html[data-theme="light"] :is(.quiz-field-card,.quiz-account-empty,.quiz-account-card){background:#edf1f6}
html[data-theme="light"] :is(.quiz-field-card>small,.quiz-account-empty>span:last-child,.quiz-account-card small,.quiz-save-status,.local-draft-note){color:#526176}
html[data-theme="light"] .quiz-save-status.has-error{color:#9c3047}

html[data-theme="light"] .profile-balance-strip{background:#e4ebf3;color:#26384f}
html[data-theme="light"] .profile-balance-track{background:#c9d4e2}
html[data-theme="light"] .profile-balance-track i{background:#456c9a}

html[data-theme="light"] :is(.benefits-intro,.benefits-demo,.benefit-card p,.benefits-comparison p){color:#526176}
html[data-theme="light"] .benefit-card{background:#fff}
html[data-theme="light"] .benefit-icon{background:#dfe8f3;color:#365b85}
html[data-theme="light"] :is(.benefit-card h3,.benefits-comparison h3){color:#1b2738}
html[data-theme="light"] .benefits-comparison summary{color:#365b85}
html[data-theme="light"] .task-assignee-card{background:#e8edf3;color:#26384f}
html[data-theme="light"] .task-assignee-card small{color:#52647b}
html[data-theme="light"] .telegram-criteria{background:#e8edf3;color:#26384f}
html[data-theme="light"] .configured-task-entry{background:#e8edf3;color:#26384f}
/* v114: visible moving indicator, not a pale selected-surface fill. */
html[data-theme="light"] .agent-tile>.job-line>span{background:#6943ce}
/* v120: same setup geometry; readable progress on the light canvas. */
html[data-theme="light"] .quiz-step-meter,html[data-theme="light"] .quiz-step-meter::-webkit-progress-bar{background:#dce3ee}
html[data-theme="light"] .quiz-step-meter::-webkit-progress-value{background:#6943ce}
html[data-theme="light"] .quiz-step-meter::-moz-progress-bar{background:#6943ce}

/* v123: selection color only; account geometry is shared. */
html[data-theme="light"] #config-quiz-form .quiz-account-choice:has(input:checked){background:#dce5f2}
/* v127: palette only; top-up shapes and spacing remain shared. */
html[data-theme="light"] #topup-form .topup-input-wrap{background:#e3e9f3;color:#172438}
html[data-theme="light"] .topup-presets button{background:#e2e8f2;color:#233249}
html[data-theme="light"] .topup-presets button[aria-pressed=true]{background:#315bd6;color:#fff}
html[data-theme="light"] #topup-form .topup-method,html[data-theme="light"] .topup-pending-row{background:#e8edf5;color:#172438}
html[data-theme="light"] #topup-form .topup-method:has(input:checked){background:#cfddf9}
html[data-theme="light"] .topup-summary{background:#e0e7f2;color:#172438}
html[data-theme="light"] .topup-method-content small,html[data-theme="light"] .topup-currencies,html[data-theme="light"] .topup-pending-row>div:first-child span,html[data-theme="light"] .topup-summary dt,html[data-theme="light"] .topup-pending h3 small{color:#495c77}
html[data-theme="light"] .topup-card-symbol{color:#285eaa}
html[data-theme="light"] .topup-remove{color:#a32438}
html[data-theme="light"] .topup-delete-confirm button{background:#d4dff0;color:#172438}
