/* V0.24.53 final surface rules. Existing routes and components are retained. */
:root{--surface-253:#fff;--ink-253:#17263c;--line-253:#dce4ef;--muted-253:#687991}
.new-pill-v253{font-size:8px;font-style:normal;background:#dff6ed;color:#166847;border-radius:6px;padding:3px 5px;margin-left:5px;vertical-align:middle;letter-spacing:.03em}
.continue-action-v253{border:1px solid var(--line-253);border-radius:9px;background:var(--surface-253);color:var(--muted-253);padding:5px 9px;font:inherit;font-size:11px;cursor:pointer}.message-actions.generating .continue-action-v253{display:none}
#tasksModal{inset:0!important;width:100%!important;padding:20px!important;background:#0e1b3040!important;backdrop-filter:none!important;z-index:150!important}#tasksModal .modal-card{width:min(1100px,100%)!important;max-width:1100px!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;border-radius:24px!important;overflow:auto!important}
.maintenance-announcement.owner-broadcast{background:#172338!important;color:#f6f8ff!important;border:1px solid #415774!important;box-shadow:0 12px 36px #05162b33;border-radius:16px}.maintenance-announcement .owner-broadcast-copy strong,.maintenance-announcement .owner-broadcast-copy small{color:#edf2ff!important}.maintenance-announcement button{background:#ffffff18!important;color:#fff!important;border:1px solid #ffffff2c!important;min-width:36px;min-height:36px}.maintenance-announcement .owner-broadcast-copy{cursor:pointer}
.code-block{border:1px solid #314157!important;border-radius:16px!important;background:#101b2c!important;box-shadow:0 12px 28px #07172a12!important;overflow:hidden!important}.code-head{background:#15243a!important;border-bottom:1px solid #34465e!important;padding:10px 14px!important;color:#edf4ff!important}.code-head button{color:#e9f1ff!important;background:#23364d!important;opacity:1!important;border:1px solid #43536a!important;border-radius:8px!important}.code-block pre{padding:14px 0!important;max-width:100%;overflow-x:auto!important;tab-size:4;scrollbar-color:#60738d #152136}.code-block pre code{line-height:1.85!important;font-size:12.5px!important}.code-lang-wrap svg{width:24px;height:24px}.assistant-content .markdown-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line-253);border-radius:12px;margin:18px 0}.assistant-content table{border-collapse:separate!important;border-spacing:0!important;min-width:320px;color:inherit}.assistant-content th{background:#edf2fa!important;color:#243b59!important;padding:12px 16px!important}.assistant-content td{padding:11px 16px!important;border-top:1px solid var(--line-253)!important;vertical-align:top!important;line-height:1.65!important}.assistant-content .katex-display,.assistant-content .math-block{overflow-x:auto;overflow-y:hidden;padding:18px 8px;margin:16px 0!important;text-align:center}
.message-popover-v207 svg,.message-menu svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;flex:none}.effort-option{align-items:center!important;gap:14px!important}.effort-option>div{min-width:0}.effort-check{width:28px;height:28px;min-width:28px;border-radius:9px;display:grid!important;place-items:center!important;line-height:1!important;padding:0!important;position:static!important}.effort-option.active .effort-check{background:#dfdcff;color:#513bc4}
body.arcade-page-v253{overflow:hidden}body.arcade-page-v253 .app-shell{visibility:hidden;pointer-events:none}body.arcade-page-v253 #arcadeModalV247{position:fixed!important;inset:0!important;padding:0!important;background:var(--surface-253)!important;backdrop-filter:none!important;z-index:100!important}body.arcade-page-v253 #arcadeModalV247 .arcade-shell{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important}.arcade-header{border-bottom:1px solid var(--line-253);background:linear-gradient(115deg,#f2f6fc,#eeebff)}.arcade-content{scrollbar-gutter:stable;max-width:1400px;width:100%;margin:0 auto}.arcade-how-v253{max-width:820px;margin:0 auto 20px;padding:16px 20px;background:var(--surface-253);border:1px solid var(--line-253);border-radius:16px;color:var(--ink-253);font-size:13px;line-height:1.7}.arcade-how-v253 summary{font-weight:750;cursor:pointer}.arcade-game-card{transition:translate .2s ease,box-shadow .2s ease!important;border:1px solid var(--line-253)!important}.arcade-game-card:hover{translate:0 -3px;box-shadow:0 14px 30px #33466816!important}.arcade-game-card:active{translate:0 0;scale:.98}.arcade-board button{transition:background .16s,transform .16s!important}.arcade-board button:active{transform:scale(.92)}.arcade-game-stage{animation:surface-in-253 .24s ease-out}.arcade-feedback{margin:0!important;min-height:0!important;padding:0 24px!important;line-height:1.5!important}.arcade-feedback:not(:empty){padding:10px 24px!important;background:#f0f6fc;border-top:1px solid var(--line-253);font-size:12px!important}.arcade-command-bar{border-top:1px solid var(--line-253);margin:0!important;gap:10px!important}.arcade-command-bar input{background:var(--surface-253)!important;border:1px solid var(--line-253)!important;color:var(--ink-253)!important}.arcade-grid button,.arcade-board button{color:inherit}.arcade-nav-highlight-v253{animation:arcade-highlight-253 1.1s ease-in-out 3!important;outline:2px solid #8b70ef;outline-offset:3px}
#footballModalV249 .football-buttons{grid-template-columns:repeat(3,64px)!important;gap:8px!important}.football-buttons button{border:1px solid #9ed2d144!important;border-radius:18px!important;background:linear-gradient(135deg,#254453,#102b37)!important;box-shadow:0 4px 12px #04121f66!important;transition:transform .12s,filter .12s!important}.football-buttons #footballShootV249{background:linear-gradient(135deg,#fff3b1,#e0b44f)!important}.football-buttons button:active,.football-buttons button.held{transform:scale(.94);filter:brightness(1.2)}.football-buttons .football-slide{color:#a7ddff!important}.football-head{background:linear-gradient(110deg,#122b38,#192940)!important}.football-menu{border:1px solid #4e6d7f!important;border-radius:24px!important;background:linear-gradient(135deg,#172f3e,#111f30)!important}.football-menu h2{letter-spacing:-.05em}.football-menu p,.football-menu li{color:#c0d1dd!important}.football-settings label{font-size:13px!important;line-height:1.5}.football-settings select{color:#e7f3ff!important}.football-webgl-v251{filter:saturate(1.08)}
#callModal .modal-card{background:radial-gradient(ellipse at top,#293958,#101d32)!important;color:#edf4ff!important;border:1px solid #526987!important;box-shadow:0 24px 90px #06142750!important}#callModal h2,#callModal h3,#callModal strong,#callModal label{color:#f0f5ff!important}#callModal p,#callModal small,#callModal .call-control-wrap>span{color:#becde1!important}#callModal button{border-color:#657796!important;color:#eff4ff!important}#callModal .call-transcript{background:#111f33!important;color:#edf4ff!important}#callModal .senvora-select-button{background:#1e3350!important;color:#f0f5ff!important}#callModal .call-control-button{background:#253e5e!important;border-radius:22px!important}#callModal .call-end{background:#9e3948!important}#callModal .call-muted-toggle[aria-pressed=true]{background:#8d4148!important}
.update-pulse-card{border-radius:24px!important;background:linear-gradient(135deg,var(--surface-253),#ebeaff)!important;border:1px solid var(--line-253)!important;animation:surface-in-253 .3s ease-out!important}.update-pulse-card h2{letter-spacing:-.045em}
body[data-theme=dark]{--surface-253:#121c2d;--ink-253:#e5edfa;--line-253:#33445d;--muted-253:#a3b3c9;--surface:#121c2d;--text:#e5edfa;--text-soft:#a3b3c9;background:#080f1c!important;color:#e5edfa!important}body[data-theme=dark] .app-shell,body[data-theme=dark] .main-panel,body[data-theme=dark] .conversation{background:#080f1c!important}body[data-theme=dark] .sidebar,body[data-theme=dark] .settings-panel-v10,body[data-theme=dark] .settings-sidebar{background:#111b2d!important;color:#e5edfa!important}body[data-theme=dark] .modal-card,body[data-theme=dark] .settings-shell,body[data-theme=dark] .arcade-shell{background:#121c2d!important;color:#e5edfa!important;border-color:#33445d!important}body[data-theme=dark] .settings-panel-heading h2,body[data-theme=dark] .setting-row strong,body[data-theme=dark] .settings-nav,body[data-theme=dark] .tutorials-head-v243 h2{color:#e5edfa!important}body[data-theme=dark] .arcade-header{background:linear-gradient(120deg,#16273e,#242245)!important}body[data-theme=dark] .arcade-how-v253,body[data-theme=dark] .arcade-game-card,body[data-theme=dark] .arcade-challenge,body[data-theme=dark] .arcade-shop-card,body[data-theme=dark] .arcade-quests article,body[data-theme=dark] .setting-row,body[data-theme=dark] .settings-group-v10,body[data-theme=dark] .settings-block{background:#152237!important;border-color:#33445d!important;color:#e5edfa!important}body[data-theme=dark] .arcade-feedback:not(:empty){background:#16253b!important}body[data-theme=dark] .arcade-game-card>p,body[data-theme=dark] .arcade-how-v253 p{color:#b2c0d5!important}body[data-theme=dark] .assistant-content th{background:#1a2e48!important;color:#e8f0ff!important}body[data-theme=dark] .composer-zone{background:linear-gradient(0deg,#080f1c 72%,#080f1c00)!important}body[data-theme=dark] .composer-card,body[data-theme=dark] .settings-input,body[data-theme=dark] .senvora-select-button,body[data-theme=dark] .senvora-select-menu{background:#17253b!important;color:#edf3ff!important;border-color:#435775!important}body[data-theme=dark] .nexus-nav-card-v230,body[data-theme=dark] .account-row{color:#e5edfa!important}body[data-theme=dark] .update-pulse-card{background:linear-gradient(135deg,#17243b,#242345)!important}
@media(min-width:761px){#openSidebarButton{display:none!important}.collapsed-sidebar-rail{align-items:center!important}.collapsed-sidebar-rail button{width:40px!important;max-width:40px!important;margin-inline:auto!important}.sidebar-animation-ghost-v250{z-index:40!important}}
@media(max-width:760px){#tasksModal{padding:10px!important}#tasksModal .modal-card{max-height:calc(100dvh - 20px)!important;border-radius:18px!important}body.arcade-page-v253 #arcadeModalV247 .arcade-shell{grid-template-rows:auto auto minmax(0,1fr) auto auto!important}.arcade-header{padding:14px 12px!important}.arcade-content{padding:16px 12px!important}.arcade-feedback:not(:empty){padding:8px 12px!important}.football-controls{padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;gap:10px!important}#footballModalV249 .football-buttons{grid-template-columns:repeat(3,52px)!important;gap:6px!important}#footballModalV249 .football-buttons button{width:52px!important;height:46px!important;font-size:9px!important;border-radius:14px!important}.football-stick{width:92px!important;height:92px!important;flex-basis:92px!important}.football-stick i{width:38px!important;height:38px!important;left:27px!important;top:27px!important}.football-head button{padding:5px!important;min-width:32px!important}.code-head{padding:8px 10px!important}.code-block pre code{font-size:11.5px!important}}
@media(max-height:500px){#footballModalV249 .football-buttons{grid-template-columns:repeat(5,55px)!important}.football-stick{width:68px!important;height:68px!important;flex-basis:68px!important}.football-stick i{width:30px!important;height:30px!important;left:19px!important;top:19px!important}.football-controls{padding:6px 12px!important}}
@keyframes surface-in-253{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes arcade-highlight-253{50%{box-shadow:0 0 0 7px #a898ef22;filter:brightness(1.05)}}
@media(prefers-reduced-motion:reduce){.arcade-nav-highlight-v253,.arcade-game-stage,.update-pulse-card{animation:none!important}.arcade-game-card,.football-buttons button{transition:none!important}}
body[data-reduced-motion=true] .arcade-nav-highlight-v253,body[data-reduced-motion=true] .arcade-game-stage{animation:none!important}
.work-topbar-v253{color:var(--ink-253);padding:8px 12px;border:1px solid var(--line-253);border-radius:12px;font-size:12px;text-decoration:none;white-space:nowrap}.work-topbar-v253 small{font-size:8px;color:var(--muted-253)}.work-mode-v253{text-decoration:none;color:inherit}.work-mode-v253 svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.5}.tutorial-topics-hint-v253{font-size:12px;line-height:1.7;color:var(--muted-253)}#messageMoreMenu .popover-action svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6}#updatePulseModal .modal-card{animation:surface-in-253 .3s ease-out;border-radius:24px!important;background:var(--surface-253)!important;border:1px solid var(--line-253)!important}#toast{cursor:pointer}
@media(max-width:600px){.work-topbar-v253{padding:6px 8px;font-size:11px}.work-topbar-v253 small{display:none}}
body.arcade-page-v253 #arcadeModalV247 .arcade-shell{padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important}#arcadeModalV247 .arcade-content{flex:1!important;min-height:0!important}#arcadeModalV247 .arcade-welcome{background:#f1f4ff!important;color:#192d49!important;position:relative;isolation:isolate;overflow:hidden}#arcadeModalV247 .arcade-welcome h3{color:#192d49!important;background:transparent!important}#arcadeModalV247 .arcade-welcome p{color:#536b88!important;background:transparent!important}#arcadeModalV247 .arcade-welcome>div{background:transparent!important}#arcadeModalV247 .arcade-welcome::before,#arcadeModalV247 .arcade-welcome::after{display:none!important}body[data-theme=dark] #arcadeModalV247 .arcade-welcome{background:#1a2c48!important}body[data-theme=dark] #arcadeModalV247 .arcade-welcome h3{color:#ecf2ff!important}body[data-theme=dark] #arcadeModalV247 .arcade-welcome p{color:#b6c8e2!important}.arcade-brand svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.6;fill:none}
.update-pulse-card-v237{background:linear-gradient(125deg,#fff,#f0eeff)!important;border:1px solid #d9deec!important;border-radius:24px!important;box-shadow:0 30px 100px #162c4538!important;animation:surface-in-253 .3s ease-out!important}.update-pulse-orbit-v237{background:#ece9ff!important;border-radius:22px!important}.update-pulse-head-v237 h2{letter-spacing:-.05em!important;color:#24324b!important}.update-pulse-version-v237{border-radius:12px!important}.update-pulse-summary-v237 p{color:#526883!important}body[data-theme=dark] .update-pulse-card-v237{background:linear-gradient(125deg,#18273d,#232348)!important;border-color:#43546d!important;color:#e9effb!important}body[data-theme=dark] .update-pulse-head-v237 h2{color:#e9effb!important}body[data-theme=dark] .update-pulse-orbit-v237{background:#323255!important}

body.senvo-nexus-v230 .workspace-nav .nav-label-v230{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0;flex:1}
body.senvo-nexus-v230 .workspace-nav .nav-label-v230>b{display:flex!important;align-items:center;gap:5px;white-space:nowrap}
body.senvo-nexus-v230 .workspace-nav .nav-label-v230>small{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:9.5px}
.workspace-nav .sidebar-nav{min-height:48px;padding:8px 10px;display:flex;align-items:center;gap:10px;height:auto}
.workspace-nav{gap:6px}
.workspace-nav .nav-icon{width:32px;height:32px;flex:none}
.tool-use-chip{display:inline-flex;align-items:center;gap:5px}
.tool-use-chip svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}

.new-pill-v90{font-size:8px;font-style:normal;background:#ffe6db;color:#8b273e;border:1px solid #ffa594;border-radius:7px;padding:3px 6px;margin-left:5px;vertical-align:middle;letter-spacing:.04em}

.new-pill-v91{display:inline-block;border:1px solid #d6715b;color:#ffe2c6;background:#683c34;padding:1px 6px;border-radius:99px;font-size:10px;font-style:normal;letter-spacing:.02em;margin-left:4px}
