/* SenvoAI Control Room: responsive, readable surfaces and reachable exits. */
body[data-accent=coral]{--accent:#bf493b;--accent-hover:#a83428;--accent-soft:#bf493b20;--accent-color:#bf493b}body[data-accent=indigo]{--accent:#5251bc;--accent-hover:#3f3d9b;--accent-soft:#5251bc20;--accent-color:#5251bc}body[data-theme=dark][data-accent=coral]{--accent:#ff9a86;--accent-color:#ff9a86}body[data-theme=dark][data-accent=indigo]{--accent:#b2b1ff;--accent-color:#b2b1ff}.accent-swatch.coral span{background:#bf493b}.accent-swatch.indigo span{background:#5251bc}
body.studio254[data-studio=search] .source a{display:block;line-height:1.45;font-size:clamp(1rem,1.2vw,1.2rem);font-weight:750;overflow-wrap:anywhere;text-decoration:none}body.studio254[data-studio=search] .source a:hover{text-decoration:underline;text-underline-offset:.2em}body.studio254[data-studio=search] .source{border-radius:18px;min-width:0;max-width:100%;transition:transform .18s,border-color .18s}
body.studio254[data-studio=search][data-theme=light]{--studio:#28795e;--studio2:#155141;--studio-glow:#38785e18}body.studio254[data-studio=search][data-theme=light] .source a{color:#17473f!important}body.studio254[data-studio=search][data-theme=light] .source small{color:#41556b!important}body.studio254[data-studio=search][data-theme=light] .source p{color:#33455b!important}body.studio254[data-studio=search][data-theme=light] :is(.top a,.hero em){color:#1b5c4d!important}body.studio254[data-studio=search][data-theme=light] :is(#search-status,.fine,.hint,.notice,.status){color:#485b70!important}
body.studio254[data-studio=search][data-theme=dark] .source{background:#1b293c!important;border-color:#405773!important}body.studio254[data-studio=search][data-theme=dark] .source a{color:#d7ffed!important}body.studio254[data-studio=search][data-theme=dark] .source :is(p,small){color:#c7d7ea!important}
body.studio254[data-theme=light] :is(.card,.panel,.projects,.editor-shell){box-shadow:0 10px 28px #263b5510!important;border-color:#bdcadc!important}body.studio254 .top{gap:12px;flex-wrap:wrap;min-height:58px}
.math-block{position:relative;line-height:normal;isolation:isolate}.math-block .katex-html{user-select:none}.math-copy2525{position:absolute;right:2px;top:4px;border:1px solid var(--border,#8090a955);border-radius:8px;background:var(--surface,#fff);color:var(--text,#26374e);font:inherit;font-size:11px;padding:4px 8px;opacity:.85;cursor:pointer;z-index:2}.math-block:has(.math-copy2525){padding-top:36px!important}.math-copy2525:focus-visible{outline:2px solid var(--accent,#7065cc);outline-offset:2px}body[data-theme=dark] .math-copy2525{background:#1c293a;color:#eef4fd}
body.senvora-app-body #settingsModal.modal .settings-center-v10{border-radius:26px;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #7891b34d;box-shadow:0 28px 90px #101d3c33}
body.senvora-app-body #settingsModal.modal .settings-atlas-header-v223{padding:22px 64px 22px 25px;background:linear-gradient(120deg,#f1f4ff,#f1f8f6);border-bottom:1px solid #bdc9dc88;gap:18px}body.senvora-app-body #settingsModal.modal .settings-atlas-brand-v223 strong{font-size:25px;letter-spacing:-.04em;color:#172a45}body.senvora-app-body #settingsModal.modal .settings-atlas-brand-v223 small{font-size:13px;color:#52647c}
body.senvora-app-body #settingsModal.modal .settings-sidebar-v10{padding:12px;background:#eef2f8;overflow:auto;overscroll-behavior:contain}body.senvora-app-body #settingsModal.modal .settings-nav{border:1px solid transparent;border-radius:13px;margin:3px 0;padding:11px;min-height:48px;transition:background .18s,color .18s,border-color .18s;gap:11px}body.senvora-app-body #settingsModal.modal .settings-nav.active{background:#fff;border-color:#b8c8e5;box-shadow:0 3px 10px #29415b10;color:#244975}
body.senvora-app-body #settingsModal.modal .settings-content-v10{padding:clamp(18px,3vw,36px);overflow:auto;min-width:0;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}body.senvora-app-body #settingsModal.modal .settings-panel-heading h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.04em;line-height:1.12}body.senvora-app-body #settingsModal.modal .setting-row{padding:19px 0;gap:20px;min-width:0;border-bottom:1px solid #8f9eb72b}body.senvora-app-body #settingsModal.modal .setting-row>div:first-child{min-width:0;max-width:60%}body.senvora-app-body #settingsModal.modal :is(select,input,textarea){max-width:100%;min-width:0;border-radius:12px}
body.senvora-app-body #settingsModal.modal .settings-x{position:absolute;top:15px;right:15px;z-index:7;width:40px;height:40px;border-radius:13px;background:#fff;color:#283e58;border:1px solid #9cacc455;font-size:25px}body.senvora-app-body #settingsModal.modal .settings-x:hover{background:#e8eef7;transform:rotate(4deg)}body.senvora-app-body #settingsModal.modal .settings-mobile-toolbar-v217{min-width:0;gap:14px;background:#f6f8fc;padding:12px 15px}body.senvora-app-body #settingsModal.modal .settings-mobile-toolbar-v217>div{flex-shrink:0}body.senvora-app-body #settingsModal.modal .settings-mobile-toolbar-v217 label{min-width:0;flex:1}
body.senvora-app-body[data-theme=dark] #settingsModal.modal .settings-atlas-header-v223{background:linear-gradient(120deg,#1e293f,#153635);border-color:#7087a83b}body.senvora-app-body[data-theme=dark] #settingsModal.modal .settings-atlas-brand-v223 strong{color:#eef5ff}body.senvora-app-body[data-theme=dark] #settingsModal.modal .settings-atlas-brand-v223 small{color:#c1ccdf}body.senvora-app-body[data-theme=dark] #settingsModal.modal :is(.settings-sidebar-v10,.settings-mobile-toolbar-v217){background:#111d2d;color:#dfe9f8}body.senvora-app-body[data-theme=dark] #settingsModal.modal .settings-nav.active{background:#293b57;color:#f6f9ff;border-color:#879ec170}body.senvora-app-body[data-theme=dark] #settingsModal.modal .settings-x{background:#28374d;color:#edf5ff;border-color:#7e94b455}
.device-health2525{border:1px solid #a4b9d05c;background:linear-gradient(120deg,#f0f6ff,#f2f8f8);padding:20px;border-radius:20px;margin:0 0 24px;color:#253d58}.device-health2525 header{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.device-health2525 h3{font-size:20px;margin:0 0 5px;letter-spacing:-.025em}.device-health2525 p{font-size:13px;color:#4c6480;line-height:1.6;margin:8px 0}.device-health2525 dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 0}.device-health2525 dl>div{padding:12px;border:1px solid #afc0d641;background:#ffffffad;border-radius:13px;min-width:0}.device-health2525 dt{font-size:11px;letter-spacing:.04em;color:#526980}.device-health2525 dd{font-size:16px;font-weight:750;margin:7px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}body[data-theme=dark] .device-health2525{background:linear-gradient(125deg,#202b42,#183536);color:#eef6ff}body[data-theme=dark] .device-health2525 :is(p,dt){color:#bccde1}body[data-theme=dark] .device-health2525 dl>div{background:#07162566;border-color:#7b94b344}
.workspace-help-dialog[open]{animation:guide-open2525 .24s cubic-bezier(.2,.8,.2,1);max-width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 36px);overflow:auto}.guided-controls2525{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.guided-controls2525 button,.tour2525 button{border:1px solid #8c9dbd66;border-radius:11px;padding:9px 14px;min-height:40px;background:#263f62;color:#fff;cursor:pointer;font:inherit}.tour2525{position:fixed;z-index:100050;bottom:calc(18px + env(safe-area-inset-bottom));right:18px;width:min(360px,calc(100vw - 36px));padding:18px;border:1px solid #90a8cc;border-radius:20px;background:#14233b;color:#f3f7ff;box-shadow:0 16px 60px #0006;animation:guide-open2525 .22s ease}.tour2525 p{font-size:14px;line-height:1.55}.tour2525 footer{display:flex;justify-content:space-between;gap:8px}.tour-target2525{outline:3px solid #7589e3!important;outline-offset:5px;box-shadow:0 0 0 8px #9bb6ff36!important;scroll-margin-block:100px 210px}#productTourV242 .product-tour-card-v242{transition:left .26s cubic-bezier(.2,.8,.2,1),top .26s cubic-bezier(.2,.8,.2,1);animation:guide-open2525 .24s ease}@keyframes guide-open2525{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
#footballModalV249{padding:0!important;overflow:hidden!important;align-items:stretch!important}#footballModalV249 .football-shell{width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important}#footballModalV249 .football-shell:has(.football-overlay:not(.hidden)){grid-template-rows:auto minmax(0,1fr)!important}#footballModalV249 .football-shell:has(.football-overlay:not(.hidden)) .football-controls{display:none!important}
#footballModalV249 .football-head{padding:9px 16px!important;gap:10px!important;flex-wrap:nowrap!important;min-width:0}#footballModalV249 .football-head button{width:auto!important;min-width:36px!important;min-height:36px!important;height:36px!important;padding:6px 10px!important;font-size:13px!important}#footballModalV249 .football-brand strong{font-size:19px!important;line-height:1.2!important}#footballModalV249 .football-brand small{font-size:9px!important}#footballModalV249 .football-score b{font-size:24px!important}
#footballModalV249 .football-overlay{padding:16px!important;align-items:flex-start!important;justify-content:center!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding:16px;touch-action:pan-y}#footballModalV249 .football-menu{width:min(720px,100%)!important;max-height:none!important;overflow:visible!important;flex-shrink:0;margin:auto 0!important;padding:clamp(18px,2.5vw,28px)!important;border-radius:22px!important}#footballModalV249 .football-menu h2{font-size:clamp(25px,3vw,38px)!important;line-height:1.12!important;margin-top:5px!important}#footballModalV249 .football-menu p{font-size:14px!important;line-height:1.6!important}#footballModalV249 .football-menu label{font-size:13px!important}#footballModalV249 .football-options{gap:13px!important;margin:18px 0!important}#footballModalV249 .football-menu select{padding:10px 35px 10px 12px!important;min-height:45px!important;font-size:14px!important}body.senvora-app-body #footballModalV249 .football-menu :is(select,input){background:#122938!important;color:#e8f3f8!important;border:1px solid #617b8f!important;color-scheme:dark!important;box-shadow:none!important}
#footballModalV249 .football-controls{padding:10px 18px calc(10px + env(safe-area-inset-bottom))!important;gap:14px!important;max-height:none!important}#footballModalV249 .football-stick{width:96px!important;height:96px!important;flex-basis:96px!important}#footballModalV249 .football-stick i{width:40px!important;height:40px!important;left:27px!important;top:27px!important}#footballModalV249 .football-buttons{grid-template-columns:repeat(3,72px)!important;gap:7px!important}#footballModalV249 .football-buttons button{width:72px!important;height:58px!important;border-radius:17px!important;display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:2px;font-size:10px!important;position:relative;padding:4px!important}#footballModalV249 .football-buttons button svg{width:20px!important;height:20px!important}#footballModalV249 .football-buttons kbd{font:9px system-ui,sans-serif;color:#d2e4ef;background:#081b2a66;padding:0 5px;border-radius:4px;line-height:13px}#footballModalV249 .football-control-hint{font-size:12px!important;line-height:1.7!important}.football-keys2525{display:block;margin-top:4px;color:#d8e6ef}
.football-room-code2525{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px;border-radius:15px;background:#0b202f;margin:15px 0;color:#eaf4ff}.football-room-code2525 strong{font:750 23px ui-monospace,monospace;letter-spacing:.1em;margin-right:auto}.football-online-players2525{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.football-online-players2525>div{display:grid;gap:6px;border:1px solid #8eb6b94d;border-radius:14px;padding:14px;overflow-wrap:anywhere}.football-online-players2525 span{font-size:10px;letter-spacing:.1em;color:#9acbd4}.football-online-status2525{color:#ffe19f!important}.football-lobby2525 input{min-height:44px;width:100%;box-sizing:border-box;background:#0c2232;color:#f2f7ff;border:1px solid #7195a8;border-radius:11px;padding:10px 12px;letter-spacing:.1em;font-size:18px}.football-lobby2525 form{margin-top:20px}.football-lobby2525 button{touch-action:manipulation}.tool-back2525{display:none}
@media(max-width:760px), (max-width:900px) and (pointer:coarse){
 body.studio254 main{padding:14px 12px calc(82px + env(safe-area-inset-bottom))!important;max-width:100%;box-sizing:border-box}body.studio254 .top{position:sticky;top:0;z-index:15;padding:10px 12px;background:inherit;box-sizing:border-box}body.studio254 .top>a:first-child{min-height:40px;display:inline-flex;align-items:center;flex-shrink:0;font-size:14px}body.studio254 :is(.hero,.intro,.mast){padding:22px 18px!important;min-height:0!important;border-radius:21px!important}body.studio254 :is(.hero h1,.intro h1,.mast h1){font-size:clamp(29px,7vw,39px)!important;line-height:1.08!important}body.studio254 :is(.hero p,.intro p,.mast p){font-size:15px!important;line-height:1.6!important}body.studio254 :is(.grid,.columns,.layout,.workspace){max-width:100%;min-width:0}body.studio254 :is(.panel,.card){padding:17px!important;box-sizing:border-box}body.studio254 :is(input,select,textarea){font-size:16px!important;max-width:100%;box-sizing:border-box}
 .workspace-help-floating{bottom:calc(14px + env(safe-area-inset-bottom))!important;right:12px!important;max-width:150px!important;font-size:12px!important}.tool-back2525{display:flex;align-items:center;position:fixed;z-index:30;bottom:calc(14px + env(safe-area-inset-bottom));left:12px;min-height:40px;padding:0 12px;box-sizing:border-box;border:1px solid #738baa55;border-radius:13px;background:#edf3fb;color:#213953;font-size:13px;font-weight:700;text-decoration:none;box-shadow:0 5px 16px #2438521c}body[data-theme=dark] .tool-back2525{background:#25394f;color:#eef5ff;border-color:#8ea5bc66}
 body.senvora-app-body #settingsModal.modal{padding:0!important;align-items:stretch!important}body.senvora-app-body #settingsModal.modal .settings-center-v10{width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;padding:0!important;position:relative}body.senvora-app-body #settingsModal.modal .settings-atlas-header-v223{padding:calc(15px + env(safe-area-inset-top)) 58px 14px 16px!important;flex:none;display:block}body.senvora-app-body #settingsModal.modal .settings-atlas-brand-v223 strong{font-size:22px}body.senvora-app-body #settingsModal.modal .settings-atlas-brand-v223 small{font-size:12px}body.senvora-app-body #settingsModal.modal .settings-search{margin-top:10px;width:100%}body.senvora-app-body #settingsModal.modal .settings-atlas-meta-v223{display:none}body.senvora-app-body #settingsModal.modal .settings-sidebar-v10{display:none!important}body.senvora-app-body #settingsModal.modal .settings-mobile-toolbar-v217{display:flex!important;flex:none;position:static}body.senvora-app-body #settingsModal.modal .settings-content-v10{flex:1 1 0!important;min-height:0!important;padding:18px 15px 26px!important;overflow:auto!important}body.senvora-app-body #settingsModal.modal .settings-save-bar{flex:none;position:static!important;padding:10px 15px calc(10px + env(safe-area-inset-bottom))!important;min-width:0;flex-wrap:wrap}body.senvora-app-body #settingsModal.modal .setting-row{align-items:stretch;flex-direction:column;gap:10px;padding:17px 0}body.senvora-app-body #settingsModal.modal .setting-row>div:first-child{max-width:100%}body.senvora-app-body #settingsModal.modal .setting-row :is(select,input){width:100%;max-width:100%}body.senvora-app-body #settingsModal.modal .accent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}
 body.senvora-app-body #settingsModal.modal #settingsMobilePanelSelect{display:block!important;position:static!important;left:auto!important;top:auto!important;opacity:1!important;visibility:visible!important;clip:auto!important;clip-path:none!important;width:100%!important;height:44px!important;min-height:44px!important;max-width:100%!important;pointer-events:auto!important;padding:8px 26px 8px 10px!important;font-size:14px!important;color:var(--text,#20354d)!important;background:var(--surface,#fff)!important}body.senvora-app-body #settingsModal.modal .senvora-select:has(>#settingsMobilePanelSelect){width:100%;min-width:0}body.senvora-app-body #settingsModal.modal .senvora-select:has(>#settingsMobilePanelSelect)>.senvora-select-button{display:none!important}
 .device-health2525{padding:17px}.device-health2525 dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 #footballModalV249 .football-head{flex-wrap:wrap!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important;gap:6px!important}#footballModalV249 .football-brand{flex:1 1 100px!important}#footballModalV249 .football-brand strong{font-size:17px!important}#footballModalV249 .football-brand small{font-size:8px!important}#footballModalV249 .football-score{order:2!important;flex:1!important;max-width:calc(100% - 55px);justify-content:center}#footballModalV249 .football-head button{min-width:32px!important;padding:5px 7px!important;height:33px!important;font-size:11px!important}#footballModalV249 .football-controls{padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}#footballModalV249 .football-stick{width:84px!important;height:84px!important;flex-basis:84px!important}#footballModalV249 .football-stick i{width:34px!important;height:34px!important;left:24px!important;top:24px!important}#footballModalV249 .football-buttons{grid-template-columns:repeat(3,60px)!important;gap:6px!important}#footballModalV249 .football-buttons button{width:60px!important;height:53px!important;border-radius:14px!important;font-size:9px!important}#footballModalV249 .football-buttons kbd{font-size:9px!important}#footballModalV249 .football-menu{margin:0!important;padding:18px!important}#footballModalV249 .football-overlay{padding:10px!important}#footballModalV249 .football-options{grid-template-columns:1fr!important}
}
@media(max-width:360px){#footballModalV249 .football-stick{width:70px!important;height:70px!important;flex-basis:70px!important}#footballModalV249 .football-stick i{left:17px!important;top:17px!important}#footballModalV249 .football-buttons{grid-template-columns:repeat(3,56px)!important;gap:5px!important}#footballModalV249 .football-buttons button{width:56px!important}}
@media(max-height:500px) and (orientation:landscape){#footballModalV249 .football-head{flex-wrap:nowrap!important;padding:5px 10px!important}#footballModalV249 .football-score{order:0!important;flex:0 1 auto!important}#footballModalV249 .football-controls{padding:5px 14px!important}#footballModalV249 .football-control-hint{display:none!important}#footballModalV249 .football-stick{width:65px!important;height:65px!important;flex-basis:65px!important}#footballModalV249 .football-stick i{width:30px!important;height:30px!important;top:16px!important;left:16px!important}#footballModalV249 .football-buttons{display:flex!important;gap:7px!important}#footballModalV249 .football-buttons button{height:52px!important;width:59px!important}}
@media(prefers-reduced-motion:reduce){.workspace-help-dialog[open],.tour2525,#productTourV242 .product-tour-card-v242{animation:none;transition:none}.math-copy2525,#settingsModal.modal *{transition:none!important}}body[data-reduced-motion=true] :is(.workspace-help-dialog[open],.tour2525){animation:none}
/* Existing accent-aware components use these compatibility variables too. */
body[data-accent=coral]{--violet:#bf493b;--violet-2:#ad3d31;--accent-ink:#9b3025}body[data-accent=indigo]{--violet:#5251bc;--violet-2:#4745a5;--accent-ink:#3d399b}body[data-theme=dark][data-accent=coral]{--violet:#bf493b;--violet-2:#ad3d31;--accent-ink:#ffb2a3}body[data-theme=dark][data-accent=indigo]{--violet:#5251bc;--violet-2:#4745a5;--accent-ink:#c7c5ff}
