.student-access{box-sizing:border-box;width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:32px;border:0;border-radius:20px;background:#fff;color:#122457;box-shadow:0 24px 64px #12326730;overflow-y:auto;scrollbar-color:#b5cae8 #f1f6fc}.student-access::backdrop{background:#12245770}.student-access header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.student-access h2{margin:0 0 8px;font-size:26px;line-height:1.4}.student-access p{color:#456085;font-size:14px;line-height:1.75;margin:0}.student-access .student-access-close{background:#edf3fd;color:#204477;border:0;border-radius:50%;flex-shrink:0;width:40px;height:40px;padding:8px}.student-access fieldset{border:0;padding:0;margin:0;min-width:0}.student-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}.student-access label{display:grid;gap:8px;font-size:14px;font-weight:600;margin:0;color:#183667;min-width:0}.student-access input,.student-access select{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #c8d7ec;border-radius:10px;background:#f8fbff;color:#122457;font:inherit;font-weight:400;caret-color:#0066f5}.student-access input::placeholder{color:#586e8d}.student-access :is(input,select,button):focus-visible{outline:3px solid #0066f5;outline-offset:3px}.student-access ::selection{background:#d3e7ff;color:#102759}.student-access button{min-height:44px;font:inherit;cursor:pointer}.student-access button:disabled{cursor:default;opacity:.6}.student-access-verification{border-block:1px solid #e1eaf6;padding:24px 0;margin:24px 0}.student-access-code{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;margin:18px 0 10px}.student-access-code button{border:0;background:#e8f1ff;color:#0055c9;border-radius:10px;padding:10px 18px;font-weight:600;font-variant-numeric:tabular-nums}.student-access .student-access-primary{width:100%;border:0;border-radius:12px;padding:14px 20px;background:#0066f5;color:#fff;font-weight:600;margin-top:20px}.student-access-primary:hover:not(:disabled){background:#0054ca}.student-access .student-access-note{margin-top:20px}.student-access .student-access-error,.student-access .student-access-message{margin-top:16px;padding:12px 14px;border-radius:10px;background:#fff1f1;color:#a32132}.student-access .student-access-message{color:#164b85;background:#edf5ff}.login-student-actions{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}.student-access-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;margin-bottom:22px;border-radius:12px;background:#edf3fd}.student-access-channels button{padding:10px;border:0;border-radius:8px;background:transparent;color:#456085;font-weight:600}.student-access-channels button[aria-pressed=true]{background:#fff;color:#0066f5}.student-access .student-access-channel-note{margin:-8px 0 20px}@media(max-width:540px){.student-access{padding:24px 18px;max-height:calc(100dvh - 24px)}.student-access-grid{grid-template-columns:1fr;gap:16px}.student-access h2{font-size:23px}.student-access-code{gap:10px}.student-access-code button{padding-inline:12px;font-size:14px}}.login-page{min-height:100dvh;display:grid;place-items:center;padding:40px 24px;background:#edf2fa;color:#193151}.login-page--modal{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;overflow-y:auto;background:#edf2fae8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-card{width:min(100%,645px);padding:44px 30px 30px;background:#fff;border-radius:34px;box-shadow:0 24px 60px #223b6020}.login-page--modal .login-card{position:relative;margin:auto}.login-dismiss{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:50%;background:#f0f4fa;color:#365273}.login-dismiss:hover{background:#e0ebf9;filter:none}.login-brand{display:flex;align-items:center;gap:24px;margin:0 14px 40px}.login-logo{width:235px;height:auto;flex-shrink:0}.login-brand-title{min-width:0}.login-brand h1{font-size:clamp(14px,3.4vw,22px);font-weight:500;line-height:1.4;margin:0 0 6px;white-space:nowrap}.login-version{display:inline-flex;padding:5px 12px;border-radius:20px;background:#eaf2ff;color:var(--blue);font-size:13px;font-weight:600}.login-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:6px;background:#f0f3f8;border-radius:20px;margin-bottom:28px}.login-tabs button{min-height:56px;padding:12px;color:var(--muted);background:transparent;border-radius:14px;font-size:15px}.login-tabs button[aria-selected=true]{color:var(--blue);background:#fff;box-shadow:0 3px 12px #223b6010}.login-card form{display:flex;flex-direction:column}.login-card label{font-size:15px;margin-bottom:10px;color:#485e7c}.login-card input{width:100%;min-height:70px;border:1px solid #e0e6ef;border-radius:18px;padding:16px 18px;background:#f9fafc;color:#193151;font:inherit;font-size:22px;margin-bottom:22px;outline:none}.login-card input::placeholder{color:#8c98a8}.login-card input:focus{border-color:#70a9ed;box-shadow:0 0 0 3px #006ee416;background:#fff}.login-submit{background:var(--blue);color:#fff;min-height:72px;border-radius:18px;font-size:24px;font-weight:600;margin:0 0 12px}.login-submit:hover:not(:disabled){background:#005ec5}.login-forgot{align-self:center;color:var(--blue);padding:8px 12px;background:transparent;font-size:16px}.login-feedback{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#f1f6fd;color:#4b6382;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.login-error{background:#fff0f0;color:#a32b32}.login-card button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:650px){.login-page{padding:24px 16px}.login-card{padding:30px 20px 24px;border-radius:24px}.login-brand{gap:16px;margin:0 0 28px;flex-wrap:wrap}.login-logo{width:min(215px,100%)}.login-brand{flex-direction:column;align-items:flex-start}.login-card input{font-size:18px;min-height:58px;border-radius:14px}.login-tabs button{font-size:14px;min-height:48px}.login-submit{font-size:20px;min-height:60px}}.login-language{display:flex;justify-content:flex-end;margin-bottom:14px}.home-shell{--home-ink:#0d2054;--home-blue:#0069fa;--home-muted:#586580;min-height:100svh;color:var(--home-ink);background:#fff;font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif}.home-shell button:focus-visible{outline:3px solid #0069fa;outline-offset:4px}.home-header{position:relative;z-index:5;display:flex;align-items:center;gap:42px;height:76px;padding:0 2.8%;border-bottom:1px solid #e1e7f0;background:#fff}.home-header button{background:transparent;color:var(--home-ink);box-shadow:none}.home-header .home-brand{flex-shrink:0;padding:0}.home-brand-logo{display:block;width:200px;height:auto}.home-navigation{display:flex;align-items:stretch;flex:1;height:100%}.home-navigation nav{display:flex;gap:24px}.home-navigation .home-nav-bottom{margin-left:auto;gap:18px}.home-header .home-nav-item{position:relative;gap:8px;padding:0 10px;border-radius:0;font-size:17px}.home-navigation nav:first-child .home-nav-item svg{display:none}.home-header .home-nav-item[aria-current=page]{color:var(--home-blue);font-weight:700}.home-nav-item[aria-current=page]:after{position:absolute;content:"";bottom:0;height:4px;left:0;right:0;background:var(--home-blue)}.home-header .home-nav-item:hover{background:#f2f7ff;filter:none}.home-header .home-account-button{padding:0;flex-shrink:0;border-radius:50%}.home-account-avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#e9f0fd;color:#1956a2}.home-header .home-nav-toggle{display:none}.home-page{position:relative;min-width:0;background:#fff}.home-page [hidden]{display:none!important}.home-hero{position:relative;isolation:isolate;min-height:660px;height:clamp(660px,43vw,800px);overflow:hidden;background:#e5edf5 url(/assets/home/competition-venue.webp) center/cover no-repeat}.home-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#edf4fbea,#edf4fbb8,#edf4fb30 58%,#edf4fb0a);pointer-events:none}.home-arena-scene{position:absolute;width:50%;right:2%;bottom:60px;aspect-ratio:1971/1198}.home-arena{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;clip-path:polygon(49.82% .75%,99.39% 47.91%,99.39% 52.42%,49.87% 99.42%,.35% 52.42%,.35% 47.83%)}.home-arena-robot{position:absolute;z-index:2;left:18%;top:46%;width:8.5%;height:auto;transform:translate(-50%,-60%);filter:drop-shadow(2px 5px 3px #0006);pointer-events:none}.home-hero-content{position:relative;z-index:3;height:100%;padding:clamp(92px,7vw,122px) 4.4% 40px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.home-introduction{max-width:40%}.home-introduction h1{margin:0;font-size:clamp(36px,3.2vw,64px);font-weight:800;letter-spacing:-.04em;line-height:1.24}.home-intro-description{margin:18px 0 36px;font-size:clamp(17px,1.35vw,23px);line-height:1.65;color:#45516d}@media(min-width:1001px){.home-shell:lang(en) .home-introduction{max-width:37%}.home-shell:lang(en) .home-introduction h1{font-size:clamp(32px,3.1vw,60px)}}.home-page .home-continue-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:40px;background:var(--home-blue);color:#fff;font-weight:600;gap:20px}.home-page .home-continue-button:hover{background:#0057d6;filter:none}.home-how-it-works{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:28px;list-style:none;padding:0;margin:32px 0 0;width:min(520px,40%)}.home-how-it-works li{position:relative;min-width:0}.home-how-it-works li:not(:last-child):after{content:"→";position:absolute;top:10px;right:-20px;font-size:26px;color:#9aa8c1}.home-step-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%}.home-step-icon--chat{background:#e6f2ff;color:#006bdc}.home-step-icon--plan{background:#fff0c6;color:#c57b00}.home-step-icon--run{background:#ffe4d0;color:#d75000}.home-how-it-works h2{font-size:17px;margin:12px 0 6px;line-height:1.5}.home-how-it-works p{margin:0;font-size:14px;line-height:1.6;color:var(--home-muted)}.home-task-bubble{position:absolute;z-index:2;left:18%;bottom:94%;transform:translate(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:340px;padding:16px 22px 16px 18px;border-radius:32px;background:#fff;box-shadow:0 8px 28px #16335420}.home-task-bubble:after{content:"";position:absolute;bottom:-17px;left:calc(50% - 12px);border-left:12px solid transparent;border-right:12px solid transparent;border-top:20px solid #fff}.home-task-bubble>span{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#e8f1ff;color:#1b4c86}.home-task-bubble p{margin:0;font-size:16px;font-weight:600;line-height:1.5}.home-mode-picker{position:absolute;z-index:4;top:24px;right:3%;display:grid;gap:10px;width:min(23vw,260px)}.home-mode-entry{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:72px;padding:12px 14px;border:0;border-radius:14px;text-align:left;background:#fffffff5;color:var(--home-ink);box-shadow:0 8px 20px #16335416}.home-mode-entry:hover{transform:translateY(-2px);filter:none}.home-mode-entry--training{color:#174f90}.home-mode-entry--competition{color:#9a5b00}.home-mode-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e9f3ff;color:#1262b5}.home-mode-entry--competition .home-mode-icon{background:#fff1cf;color:#b66a00}.home-mode-entry strong,.home-mode-entry small{display:block}.home-mode-entry strong{font-size:16px;line-height:1.35}.home-mode-entry small{margin-top:2px;color:#59677f;font-size:12px;line-height:1.4}.home-scene-caption{position:absolute;bottom:30px;right:4.4%;color:#4d5562;font-size:14px}.home-project-bar{padding:28px 4.4% 40px}.home-project-heading{display:flex;align-items:center;gap:30px;margin-bottom:22px}.home-project-heading h2{margin:0;font-size:24px;line-height:1.5}.home-project-heading>span{flex:1;border-top:1px solid #dfe6f0}.home-project-heading button{background:transparent;color:var(--home-blue);padding:6px 0;font-size:14px}.home-project-list{display:grid;gap:24px}.home-recent-project{display:flex;align-items:center;gap:30px;min-width:0}.home-recent-project+.home-recent-project{padding-top:24px;border-top:1px solid #edf1f6}.home-project-thumbnail{width:25%;max-width:310px;height:134px;flex-shrink:0;border-radius:10px;overflow:hidden;background:#f2f6fb}.home-project-thumbnail img{width:100%;height:100%;object-fit:contain}.home-project-copy{min-width:0;flex:1}.home-project-name{margin:0;font-size:23px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-project-copy p{margin:6px 0 12px;font-size:16px;line-height:1.6;color:var(--home-muted)}.home-project-kit{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:20px;background:#edf3fc;font-size:13px}.home-page .home-continue-button{min-height:48px;padding:10px 28px;font-size:16px;flex-shrink:0}.home-empty-projects{display:flex;align-items:center;gap:22px;padding:26px 0}.home-empty-icon{display:grid;place-items:center;width:84px;height:84px;background:#f0f6ff;color:#2871bc;border-radius:20px;flex-shrink:0}.home-empty-projects h3{margin:0 0 8px;font-size:20px}.home-empty-projects p{margin:0;line-height:1.7;color:var(--home-muted)}.project-storage-notice{position:fixed;z-index:30;bottom:16px;left:50%;transform:translate(-50%);max-width:min(90vw,640px);padding:12px 20px;border:1px solid #cfdae8;background:#fff;box-shadow:0 4px 16px #0002;color:#25354d;border-radius:8px;font-size:14px}.project-storage-notice button{margin-left:12px;padding:4px 12px;min-height:28px;font-size:14px}.workspace-loading{min-height:100vh;display:grid;place-items:center;background:#fff;color:#303846}.home-section-panel{padding:48px clamp(28px,4vw,64px)}.home-section-panel h1{margin:0 0 32px;font-size:32px}.home-section-panel p{font-size:16px;line-height:1.7}.home-section-kit{font-weight:600}.home-help-steps{padding-left:24px;font-size:16px;line-height:2.4}.home-language-setting{display:flex;align-items:center;gap:32px;font-size:16px}.home-account-page{width:min(100% - 48px,680px);margin:48px auto;color:var(--home-ink)}.home-account-page-heading{display:flex;align-items:center;gap:18px;margin-bottom:30px}.home-account-avatar--hero{width:72px;height:72px;background:#e8f1ff;color:#1956a2}.home-account-page-heading h1{margin:0;font-size:32px;letter-spacing:-.025em}.home-account-page-heading p{margin:6px 0 0;color:var(--home-muted);font-size:16px}.home-account-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.home-account-details>div{display:grid;gap:6px;padding:16px 18px;border:1px solid #e1e8f1;border-radius:12px;background:#f9fbfe}.home-account-details span{color:#61718a;font-size:13px}.home-account-details strong{font-size:16px}.home-account-form{display:grid;gap:20px;padding:26px;border:1px solid #e1e8f1;border-radius:16px;background:#fff}.home-account-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-account-form label{display:grid;gap:9px;color:#344764;font-size:14px;font-weight:600}.home-account-form input,.home-account-form select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cdd8e8;border-radius:10px;background:#fff;color:#132b50;font:inherit;font-weight:400}.home-account-form input:focus,.home-account-form select:focus{outline:3px solid #0069fa33;border-color:var(--home-blue)}.home-account-form small{color:var(--home-muted);font-size:13px;font-weight:400}.home-account-feedback{margin:0;padding:10px 12px;border-radius:8px;background:#edf5ff;color:#1d568c;font-size:14px;line-height:1.6}.home-account-feedback--error{background:#fff0f0;color:#a32b32}.home-account-actions{display:flex;align-items:center;gap:12px}.home-account-save{min-height:44px;padding:10px 20px;border-radius:10px;background:var(--home-blue);color:#fff;font-size:15px;font-weight:600}.home-account-save:hover:not(:disabled){background:#0057d6;filter:none}.home-signout-button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #d4e3f7;border-radius:10px;color:var(--blue);background:#f3f7fe;font-size:14px;font-weight:500}.home-signout-button:hover:not(:disabled){background:#e8f1ff;border-color:#a9caef;filter:none}.home-signout-button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.home-signout-button:disabled{opacity:.65;cursor:wait}.home-account-form .home-account-exit-note{margin:2px 0 0;padding-top:16px;border-top:1px solid #edf0f5;color:var(--home-muted);font-size:13px;line-height:1.6}@media(max-width:700px){.home-account-page{width:auto;margin:32px 24px}.home-account-details,.home-account-profile-fields{grid-template-columns:1fr}.home-account-form{padding:20px}.home-account-actions{align-items:stretch;flex-direction:column}.home-account-actions button{width:100%}}.home-section-panel{padding-top:84px}.home-help-steps{max-width:1050px;line-height:2}.home-help-steps li{margin-bottom:16px}@media(max-width:1280px){.home-header{gap:24px}.home-header .home-brand{font-size:24px}.home-navigation nav{gap:12px}.home-navigation .home-nav-bottom{gap:4px}.home-mode-picker{top:24px;right:3%;width:236px}}@media(max-width:1000px){.home-hero{height:calc(650px + 44vw)}.home-introduction{max-width:58%}.home-arena-scene{width:72%;right:8%;top:460px;bottom:auto}.home-task-bubble{gap:8px;padding:12px 16px;bottom:94%}.home-mode-picker{top:24px;right:3%;width:236px}.home-task-bubble p{font-size:14px}.home-how-it-works{width:510px;gap:32px}}@media(max-width:760px){.home-header{height:66px;padding:0 20px;gap:14px}.home-brand-logo{width:154px}.home-header .home-nav-toggle{display:grid;place-items:center;padding:8px;margin-left:auto;order:2}.home-account-button{margin-left:auto}.home-navigation{display:none;position:absolute;top:65px;left:0;right:0;height:auto;padding:14px 20px;border-bottom:1px solid #dfe6f0;background:#fff;box-shadow:0 12px 24px #12305912}.home-shell--nav-open .home-navigation{display:grid;gap:8px}.home-navigation nav,.home-navigation .home-nav-bottom{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.home-navigation nav:first-child .home-nav-item svg{display:block}.home-header .home-nav-item{min-height:48px}.home-hero{display:flex;flex-direction:column;height:auto;min-height:0;background-position:65% center}.home-hero-content{display:contents}.home-introduction{position:relative;z-index:3;order:0;max-width:none;padding:40px 24px 0}.home-arena-scene{position:relative;order:2;width:92%;right:auto;top:auto;bottom:auto;margin:92px auto 28px}.home-introduction h1{font-size:clamp(32px,6.8vw,49px)}.home-intro-description{margin:14px 0 24px;font-size:16px;max-width:26em}.home-how-it-works{position:relative;z-index:3;order:3;margin:0;padding:20px 24px 32px;width:100%;gap:24px;grid-template-columns:1fr 1fr 1.2fr;background:#edf4fbd9}.home-how-it-works h2{font-size:15px}.home-how-it-works p{font-size:12px}.home-step-icon{width:46px;height:46px}.home-how-it-works li:not(:last-child):after{right:-18px;font-size:20px}.home-task-bubble{bottom:100%;left:0;transform:none;max-width:100%;padding:10px 14px}.home-task-bubble:after{left:calc(18vw - 12px)}.home-mode-picker{position:relative;order:1;top:auto;right:auto;margin:0 24px;width:auto;grid-template-columns:1fr 1fr;gap:8px}.home-mode-entry{grid-template-columns:auto 1fr;min-height:66px;padding:9px;gap:8px}.home-mode-entry>svg{display:none}.home-mode-icon{width:32px;height:32px}.home-mode-entry strong{font-size:14px}.home-mode-entry small{font-size:10px}.home-task-bubble>span{width:32px;height:32px}.home-task-bubble p{font-size:13px}.home-scene-caption{position:relative;order:2;align-self:flex-end;margin:-20px 24px 8px;bottom:auto;right:auto;font-size:12px}.home-project-bar{padding:24px;border-top:1px solid #edf1f6}.home-project-heading{gap:12px}.home-project-heading h2{font-size:20px}.home-project-heading button{font-size:12px;gap:4px}.home-recent-project{flex-wrap:wrap;gap:16px}.home-project-thumbnail{width:100%;max-width:none;height:160px}.home-project-name{font-size:20px}.home-project-copy{flex-basis:calc(100% - 140px)}.home-project-copy p{display:none}.home-project-kit{margin-top:8px;font-size:11px;padding:5px 8px}.home-page .home-continue-button{min-height:44px;font-size:14px;padding:10px 16px;gap:8px}.home-empty-projects{gap:14px}.home-empty-icon{width:56px;height:56px;border-radius:14px}.home-empty-projects h3{font-size:17px}.home-empty-projects p{font-size:14px}.home-section-panel{padding:84px 24px 32px}}.home-operations-status{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:18px 2.8%;color:var(--home-ink);background:#f5f8fd;border-bottom:1px solid #dfe6f0}.home-operations-status>div{flex:1 1 280px}.home-operations-status p{margin:6px 0 0;font-size:14px;color:#435e85}.home-operations-status a,.home-operations-status button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:24px;font-size:15px;text-decoration:none;background:#0068f5;color:#fff;border:0}.home-operations-status button{background:#fff;color:#0d2054;border:1px solid #dfe6f0}.home-operations-status a:focus-visible,.home-operations-status button:focus-visible{outline:2px solid #0068f5;outline-offset:3px}@media(min-width:761px)and (max-width:1100px){html:lang(en) .home-header .home-nav-toggle{display:grid;place-items:center;padding:8px;margin-left:auto;order:2}html:lang(en) .home-account-button{order:3}html:lang(en) .home-navigation{display:none;position:absolute;top:75px;left:0;right:0;height:auto;padding:14px 20px;border-bottom:1px solid #dfe6f0;background:#fff;box-shadow:0 12px 24px #12305912}html:lang(en) .home-shell--nav-open .home-navigation{display:grid;gap:8px}html:lang(en) .home-navigation nav,html:lang(en) .home-navigation .home-nav-bottom{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html:lang(en) .home-header .home-nav-item{justify-content:flex-start;min-height:48px}}.competition-save-status{bottom:76px;pointer-events:none}.projects-page{padding:60px 40px 40px;min-width:0;color:#0a0a0a}.projects-page h1{margin:0 0 24px;font:700 48px/1.25 Microsoft YaHei,Arial,sans-serif}.projects-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:38px;padding:0 10px}.projects-search{display:flex;flex-direction:row;align-items:center;gap:10px;flex:1;min-width:160px;height:42px;border:1px solid #d8d8d8;border-radius:24px;padding:0 20px;color:#aaa}.projects-search>svg{flex:0 0 22px}.projects-search input{flex:1;width:0;min-width:0;min-height:0;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;outline:none;box-shadow:none;color:#222;font-size:14px}.projects-search input:focus,.projects-search input:focus-visible{outline:none;outline-offset:0;box-shadow:none}.projects-search:focus-within{border-color:#0075c9;box-shadow:0 0 0 1px #0075c9;outline:none}.projects-actions,.projects-views{display:flex;align-items:center;flex-shrink:0}.projects-toolbar button{background:transparent;border:0;padding:0 14px;min-height:32px;border-radius:0;color:#777;font-size:14px;white-space:nowrap}.projects-actions button+button{border-left:1px solid #e5e5e5}.projects-toolbar button:disabled{background:transparent!important;color:#bcbcbc!important;cursor:default}.projects-views button{display:grid;place-items:center;padding:0 4px;color:#b0b0b0}.projects-views button[aria-pressed=true]{color:#111}.projects-toolbar button:hover:not(:disabled){color:#0075c9;filter:none}.projects-collection{display:grid;grid-template-columns:repeat(auto-fill,120px);gap:24px 18px;align-content:start}.project-card{position:relative;min-width:0}.project-select{position:absolute;z-index:1;top:8px;left:8px;margin:0;width:17px;height:17px;accent-color:#0075c9;opacity:0;cursor:pointer}.project-card:hover .project-select,.project-card:focus-within .project-select,.project-card--selected .project-select{opacity:1}.project-open{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;min-width:0;padding:0;background:transparent;color:#111;font-weight:400;border-radius:8px}.project-open:hover{filter:none}.project-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:120px;border:1px solid #e4e4e4;border-radius:8px;padding:20px 10px 12px;background:#fff;overflow:hidden}.project-preview img{object-fit:contain}.project-preview>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;color:#64748b;line-height:1.4}.project-open:hover .project-preview{border-color:#9dbad0}.project-card--selected .project-preview{border:2px solid #0075c9;background:#f1f8fd}.project-card-info{display:flex;flex-direction:column;gap:4px;min-width:0}.project-card-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.5}.project-card time{font-size:12px;line-height:1.5;color:#999}.projects-collection--list{grid-template-columns:1fr;gap:0}.projects-collection--list .project-card{border-bottom:1px solid #eee;padding:12px 0}.projects-collection--list .project-open{flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:20px}.projects-collection--list .project-preview{width:80px;height:72px;flex-shrink:0;padding:10px}.projects-collection--list .project-preview>span{display:none}.projects-collection--list .project-select{top:18px;left:6px}.projects-empty{padding:60px 20px;text-align:center;color:#999;font-size:16px}.projects-empty button{margin-top:10px}.projects-rename{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:26px;font-size:14px}.projects-rename input{max-width:100%;width:240px;padding:8px 12px;border:1px solid #bbb;border-radius:6px}.projects-rename button{min-height:36px;font-size:14px;padding:6px 14px}@media(max-width:1100px){.projects-toolbar{flex-wrap:wrap;gap:12px;padding:0}.projects-search{flex-basis:100%}}@media(max-width:600px){.projects-page{padding:78px 20px 24px}.projects-page h1{font-size:34px}.projects-actions button{padding:0 8px}.projects-toolbar{gap:8px}.project-select{opacity:1}}@media(prefers-reduced-motion:no-preference){.project-preview{transition:border-color .15s}}.token-quota{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;color:var(--muted,#50678b);font-size:12px;line-height:1.6}.token-quota strong{font-variant-numeric:tabular-nums;color:var(--text,#122554)}.token-quota button{border:0;background:transparent;color:var(--blue,#006fff);padding:4px 0;font:inherit;cursor:pointer}.token-quota button:focus-visible{outline:2px solid #006fff;outline-offset:3px}.home-account-page>.token-quota{padding:16px 0}.question-bank{--bank-blue:#0069fa;color:#0d2054;max-width:1200px;line-height:1.65}.question-bank *,.competition-quiz *{box-sizing:border-box}.question-bank ::selection{background:#d9eaff;color:#0d2054}.question-bank input,.question-bank textarea,.competition-quiz textarea{caret-color:#0069fa}.question-bank .bank-import,.question-bank .bank-search,.question-bank .bank-select,.quiz-options label{flex-direction:row;font:inherit;color:inherit}.question-bank .bank-import{color:#fff}.question-bank .bank-toolbar>select{width:auto;flex:0 0 180px}.question-bank .bank-search{min-width:0}.question-bank .bank-select input,.quiz-options input{min-height:20px}.quiz-options input:focus-visible{outline:3px solid #0069fa;outline-offset:3px}.admin-page>nav{flex-wrap:wrap}.bank-heading,.bank-summary,.bank-toolbar,.bank-publish,.bank-actions,.bank-pagination,.quiz-progress,.quiz-submit{display:flex;align-items:center;justify-content:space-between;gap:20px}.bank-heading h2{margin:0;font-size:28px}.bank-heading p,.bank-help,.bank-summary p,.bank-publish p,.quiz-intro,.quiz-submit p{margin:6px 0 0;color:#586580}.bank-help,.bank-publish p{font-size:14px}.bank-import{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:10px;flex-shrink:0;min-height:48px;padding:10px 24px;background:#0069fa;color:#fff;border-radius:40px;cursor:pointer;font-weight:600}.bank-import input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.bank-import.is-busy{opacity:.65;cursor:wait}.question-bank .bank-primary{min-height:48px;padding:10px 24px;border-radius:40px;color:#fff;background:#0069fa;flex-shrink:0}.question-bank .bank-primary:hover:not(:disabled),.bank-import:hover{background:#0057d6}.question-bank button:disabled{cursor:not-allowed;color:#56647a;background:#e9edf4}.question-bank button:focus-visible,.question-bank input:focus-visible,.question-bank select:focus-visible,.question-bank textarea:focus-visible,.question-bank summary:focus-visible,.bank-import:focus-within{outline:3px solid #0069fa;outline-offset:3px}.bank-summary{padding:24px 0;margin-top:18px;border-bottom:1px solid #dfe6f0}.bank-summary h3{margin:0;font-size:20px;overflow-wrap:anywhere}.bank-summary>span{color:#174f90;white-space:nowrap;font-size:14px}.bank-warnings{padding:16px 0;color:#87540d}.bank-warnings summary,.bank-list summary{cursor:pointer}.bank-toolbar{margin:24px 0 16px}.bank-search{position:relative;flex:1;display:flex;align-items:center}.bank-search svg{position:absolute;left:14px;color:#586580}.question-bank .bank-search input{width:100%;min-height:48px;padding:10px 14px 10px 44px;background:#fff}.question-bank select{min-height:48px;padding:10px 14px;border:1px solid #c9d6e8;border-radius:8px;color:#0d2054;background:#fff;font:inherit}.bank-publish{margin-bottom:20px;padding:18px 22px;background:#e6f2ff;border-radius:12px}.bank-list{display:grid;gap:12px}.bank-list article{padding:22px;border:1px solid #dfe6f0;border-radius:12px;background:#fff}.bank-list article.is-selected{border-color:#0069fa;background:#f5f9ff}.bank-question-row{display:flex;align-items:flex-start;gap:18px}.bank-select{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-weight:600}.bank-select input,.quiz-options input{width:20px;height:20px;margin:0;accent-color:#0069fa;flex-shrink:0}.bank-question-content{min-width:0;flex:1}.bank-question-content>p{margin:10px 0;font-size:17px;overflow-wrap:anywhere;white-space:pre-wrap}.bank-question-meta{display:flex;gap:12px;flex-wrap:wrap;color:#586580;font-size:13px}.bank-question-meta strong{color:#87540d}.bank-list summary{color:#174f90;font-size:14px}.bank-options{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;color:#45516d}.bank-question-row>button{flex-shrink:0;color:#174f90;background:#edf3fc}.bank-pagination{justify-content:center;margin:24px 0;font-size:14px}.bank-pagination button{min-height:44px;color:#174f90;background:#e6f2ff}.bank-error{padding:14px 18px;background:#fff0f0;color:#a32323;border-radius:8px}.bank-success{display:flex;align-items:center;gap:8px;padding:14px 18px;background:#eaf7ef;color:#245e47;border-radius:8px}.bank-success svg{flex-shrink:0}.bank-empty{margin:28px 0;padding:32px;text-align:center;background:#fff;border-radius:12px;color:#586580}.bank-empty h2,.bank-empty h3{color:#0d2054}.bank-editor{margin:20px 0 0;padding-top:20px;border-top:1px solid #dfe6f0}.bank-editor h3{margin:0 0 16px}.bank-editor label{display:grid;gap:8px;margin:16px 0;font-weight:600}.bank-editor textarea{width:100%;min-height:100px;resize:vertical;padding:12px;font:inherit;border:1px solid #c9d6e8;border-radius:8px;color:#0d2054;background:#fff}.bank-editor small{font-weight:400;color:#586580}.bank-source{white-space:pre-wrap;color:#586580}.bank-actions{justify-content:flex-start}.quiz-intro{margin-top:12px}.quiz-progress{margin:24px 0;color:#586580}.quiz-progress button{color:#174f90;background:#e6f2ff}.quiz-question{min-width:0;margin:24px 0;padding:24px;border:1px solid #dfe6f0;border-radius:12px;background:#fff}.quiz-question legend{padding:0 10px;color:#0d2054;font-weight:700}.quiz-question legend small{margin-left:14px;color:#586580;font-size:14px;font-weight:400}.quiz-prompt{margin:0 0 20px;font-size:18px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.quiz-question textarea{width:100%;min-height:108px;padding:14px;border:1px solid #b5c5de;border-radius:8px;background:#fbfcff;color:#0d2054;font:inherit;line-height:1.7;resize:vertical}.quiz-question textarea::placeholder{color:#63728b}.quiz-options{display:grid;gap:10px}.quiz-options label{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:48px;border:1px solid #dfe6f0;border-radius:8px;cursor:pointer}.quiz-options label.is-selected{border-color:#0069fa;background:#eaf2ff}.quiz-submit{margin-top:28px}.quiz-submit p{font-size:14px;max-width:38ch}@media(max-width:760px){.admin-page{padding:28px 24px}.bank-heading,.bank-summary,.bank-publish,.quiz-submit{align-items:stretch;flex-direction:column;gap:14px}.bank-import{align-self:flex-start}.bank-summary>span{white-space:normal}.bank-question-row{flex-wrap:wrap;gap:12px}.bank-question-content{flex-basis:calc(100% - 75px)}.bank-question-row>button{margin-left:auto}.bank-list article,.quiz-question{padding:18px}.bank-options{grid-template-columns:minmax(0,1fr)}.bank-toolbar{flex-wrap:wrap;gap:12px}.bank-search{flex-basis:100%}.bank-pagination{gap:10px;flex-wrap:wrap}.quiz-progress{gap:10px;font-size:14px}.quiz-submit p{max-width:none}}.competition-access{min-height:100vh;padding:72px 7%;background:#f5f8fd;color:#0d2b5c}.competition-qr-stage{max-width:520px;margin:8vh auto;text-align:center}.competition-qr{display:grid;justify-items:center;gap:16px;margin:28px auto;padding:28px;background:#fff;border-radius:16px;box-shadow:0 18px 45px #12305d18}.competition-qr small{color:#526986}.competition-error{color:#b42424}.admin-page{min-height:100vh;padding:42px 8%;background:#f5f8fd;color:#0d2b5c}.admin-page header{display:flex;justify-content:space-between;align-items:start}.admin-page nav{display:flex;gap:12px;margin:32px 0}.admin-page nav button.active{background:#0069fa;color:#fff}.admin-users{display:grid;gap:10px;margin-top:20px}.admin-users article{display:grid;gap:4px;padding:18px;background:#fff;border-radius:14px;box-shadow:0 8px 20px #12305d12}.admin-scan{max-width:620px}.admin-scan video{display:block;width:min(100%,360px);min-height:180px;margin:16px 0;background:#17263d}.admin-scan label{display:grid;gap:7px;margin:16px 0}.admin-candidate{margin-top:20px;padding:20px;background:#fff;border-radius:14px}.admin-page input{border:1px solid #c9d6e8;border-radius:8px;padding:12px;font:inherit}@media(max-width:760px){.competition-access{padding:36px 24px}}.admin-scan-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.admin-scan .admin-photo-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 20px;border-radius:12px;background:#0066d9;color:#fff;font-size:16px;font-weight:600;cursor:pointer;overflow:hidden}.admin-scan .admin-photo-button--secondary{background:#e5eefb;color:#174f90}.admin-photo-button:hover{filter:brightness(.96)}.admin-photo-button:focus-within{outline:3px solid #0069fa;outline-offset:3px}.admin-photo-button input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.admin-photo-button.is-disabled{opacity:.55;cursor:wait}.admin-scan-hint{padding:14px 18px;background:#e9f1fc;border-radius:12px;color:#244e7b;line-height:1.65}.admin-scan-note{color:#526986;font-size:14px;line-height:1.6}.admin-scan .admin-camera-preview[hidden]{display:none}.admin-scan .admin-camera-preview{border-radius:12px;max-height:360px;object-fit:contain}.admin-manual-scan{margin-top:24px;padding-top:18px;border-top:1px solid #d4deec}.admin-manual-scan summary{cursor:pointer;color:#174f90;min-height:44px;line-height:44px}.admin-scan-success{color:#11643b;background:#e9f7ee;padding:14px 18px;border-radius:12px}.competition-qr>svg{width:min(100%,320px);height:auto;flex-shrink:0}.competition-backup{width:100%;min-width:0;text-align:left;border-top:1px solid #d4deec;padding-top:14px}.competition-backup summary{cursor:pointer;color:#174f90;line-height:1.6}.competition-backup p{font-size:14px;line-height:1.6;color:#526986}.competition-backup textarea{box-sizing:border-box;width:100%;min-height:96px;padding:12px;font-size:16px;overflow-wrap:anywhere;resize:vertical;border:1px solid #c9d6e8;border-radius:8px;background:#f5f8fd;color:#0d2b5c}.admin-operations{max-width:900px}.admin-operations>p{color:var(--pook-muted,#586580);line-height:1.7;max-width:65ch}.admin-operations-link{display:inline-flex;align-items:center;min-height:48px;margin:24px 0 12px;padding:10px 24px;border-radius:28px;background:var(--pook-blue,#0069fa);color:#fff;text-decoration:none;font-weight:600}.admin-operations-link:hover{background:#0057d6}.admin-operations-link:focus-visible{outline:3px solid #0069fa;outline-offset:4px}.competition-access{--competition-ink: #0d2054;--competition-blue: #0069fa;--competition-muted: #586580;min-height:100svh;padding:0;color:var(--competition-ink);background:#f5f8fd;font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif;line-height:1.6}.competition-access *,.competition-access *:before,.competition-access *:after{box-sizing:border-box}.competition-access ::selection{color:#0d2054;background:#d9eaff}.competition-access button{font:inherit}.competition-access button:focus-visible,.competition-access textarea:focus-visible,.competition-access summary:focus-visible{outline:3px solid var(--competition-blue);outline-offset:4px}.competition-access h1:focus{outline:none}.competition-header{display:flex;align-items:center;gap:24px;min-height:76px;padding:0 2.8%;background:#fff;border-bottom:1px solid #e1e7f0}.competition-header .competition-brand{padding:0;border:0;background:transparent;box-shadow:none}.competition-brand svg{display:block;width:200px;height:auto}.competition-mode{display:inline-flex;align-items:center;gap:8px;margin-left:auto;color:#9a5b00;font-size:15px}.competition-access .competition-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;color:var(--competition-muted);border:0;background:transparent;box-shadow:none;border-radius:8px}.competition-access .competition-back:hover{color:var(--competition-blue);background:#eaf2ff;filter:none}.competition-lobby{width:min(1080px,100%);margin:0 auto;padding:clamp(32px,5vh,64px) 32px 48px}.competition-heading{text-align:center;margin-bottom:32px}.competition-access h1{margin:0;font-size:clamp(28px,3vw,38px);line-height:1.35;letter-spacing:-.025em;font-weight:800}.competition-heading>p{margin:12px 0 16px;color:var(--competition-muted);font-size:17px}.competition-authorized{display:inline-flex;align-items:center;gap:7px;color:#245e47;font-size:14px}.competition-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.competition-options .competition-option{position:relative;display:flex;flex-direction:column;gap:0;width:100%;padding:0;overflow:hidden;border:0;border-radius:16px;background:#fff;color:var(--competition-ink);text-align:left;white-space:normal;box-shadow:0 12px 32px #1633540d;transition:transform .18s ease-out,box-shadow .18s ease-out}.competition-options .competition-option:hover:not([aria-disabled=true]){transform:translateY(-4px);box-shadow:0 18px 36px #1633541a;filter:none}.competition-option-art{display:grid;place-items:center;position:relative;height:clamp(160px,18vw,228px);width:100%;overflow:hidden;flex-shrink:0}.competition-question-art{background:#e8f2ff;color:#1b62ba}.competition-arena-art{background:#fff0c6}.competition-arena-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:60% 68%}.competition-arena-robot{position:absolute;width:14%;height:auto;left:55%;bottom:29%}.competition-option-copy{display:flex;flex-direction:column;flex:1;padding:28px 30px 30px;width:100%}.competition-option-title{display:block;font-size:26px;font-weight:700;line-height:1.4}.competition-option-description{display:block;margin:10px 0 24px;color:var(--competition-muted);font-size:16px;font-weight:400;line-height:1.7}.competition-option-action{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:18px;border-top:1px solid #e1e7f0;color:var(--competition-blue);font-size:16px;font-weight:600}.competition-option[aria-disabled=true]{cursor:not-allowed}.competition-option[aria-disabled=true] .competition-option-action{justify-content:flex-start;color:var(--competition-muted)}.competition-completed{position:absolute;top:16px;left:16px;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:20px;background:#fff;color:#245e47;font-size:14px}.competition-question-page{max-width:960px;margin:0 auto;padding:28px 32px 56px}.competition-question-page>.competition-back{margin:0 0 24px -12px}.competition-question-heading{display:flex;align-items:center;gap:18px;margin-bottom:28px}.competition-question-heading>span{display:grid;place-items:center;width:64px;height:64px;flex-shrink:0;background:#e6f2ff;border-radius:50%;color:#006bdc}.competition-question-heading p{margin:8px 0 0;color:var(--competition-muted)}.competition-answer-form{padding:32px;background:#fff;border-radius:16px;box-shadow:0 12px 32px #1633540d}.competition-answer-form label{display:block;font-size:20px;font-weight:700}.competition-answer-form>p{margin:8px 0 18px;color:var(--competition-muted)}.competition-answer-form textarea{display:block;width:100%;min-height:260px;resize:vertical;padding:18px;border:1px solid #b5c5de;border-radius:10px;font:inherit;font-size:17px;line-height:1.8;color:var(--competition-ink);caret-color:var(--competition-blue);background:#fbfcff}.competition-answer-form textarea::placeholder{color:#63728b}.competition-answer-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:24px}.competition-answer-footer p{max-width:34ch;margin:0;color:var(--competition-muted);font-size:14px}.competition-access .competition-primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 24px;flex-shrink:0;border:0;border-radius:40px;background:var(--competition-blue);color:#fff;font-weight:600;box-shadow:none}.competition-access .competition-primary:hover:not(:disabled){background:#0057d6;filter:none}.competition-access .competition-primary:disabled{color:#56647a;background:#e9edf4;cursor:not-allowed}.competition-access .competition-qr-stage{padding:0 24px 48px;margin:48px auto 0}@media(max-width:760px){.competition-header{min-height:66px;gap:12px;padding:0 20px;flex-wrap:wrap}.competition-brand svg{width:150px}.competition-mode{font-size:14px}.competition-header>.competition-back{font-size:14px;padding:8px 0}.competition-lobby{padding:32px 24px 40px}.competition-options{gap:20px}.competition-option-copy{padding:22px}.competition-option-title{font-size:23px}.competition-question-page{padding:20px 24px 40px}.competition-answer-form{padding:24px}.competition-answer-footer{flex-direction:column;align-items:stretch;gap:18px}.competition-answer-footer p{max-width:none}}@media(max-width:560px){.competition-header{column-gap:16px;row-gap:0;padding:10px 20px}.competition-header>.competition-back{margin-left:auto}.competition-mode{display:none}.competition-options{grid-template-columns:minmax(0,1fr)}.competition-option-art{height:156px}.competition-question-art>svg{width:104px;height:104px}.competition-heading{margin-bottom:24px}.competition-heading>p{font-size:16px}.competition-question-heading{align-items:flex-start;gap:12px}.competition-question-heading>span{width:48px;height:48px}.competition-answer-form{padding:20px}}@media(prefers-reduced-motion:reduce){.competition-options .competition-option{transition:none}.competition-options .competition-option:hover:not([aria-disabled=true]){transform:none}}.admin-page .admin-layout{grid-template-columns:208px minmax(0,1fr);max-width:none}.admin-page .admin-sidebar.admin-center-navigation{position:sticky;top:0;height:calc(100dvh - 76px);overflow-y:auto;padding:28px 16px;background:#fff;border-right:1px solid #dce5f2}.admin-page .admin-center-navigation h1{margin:0 12px 24px;font-size:20px;font-weight:800}.admin-page .admin-center-navigation nav[aria-label]{display:flex;flex-direction:column;gap:8px;margin:0}.admin-page .admin-center-navigation nav[aria-label] :is(a,button){display:flex;align-items:center;width:100%;min-height:48px;padding:12px 16px;border:0;border-radius:10px;background:transparent;color:#354d70;text-align:left;text-decoration:none;font:inherit;font-size:15px;font-weight:600;line-height:1.5}.admin-page .admin-center-navigation nav[aria-label] [aria-current=page]{background:#225bd6;color:#fff}.admin-page .admin-center-navigation nav[aria-label] :is(a,button):hover:not([aria-current]):not(:disabled){background:#edf3ff;color:#174ea8}.admin-page .admin-center-navigation nav[aria-label] button:disabled{color:#64728a;background:#f2f5f9;cursor:not-allowed}.admin-navigation-note{font-size:13px;color:#526783;line-height:1.7;padding:12px}.admin-navigation-bar{display:none}.admin-navigation-drawer{margin:0;padding:16px;width:min(288px,calc(100vw - 40px));max-width:none;height:100dvh;max-height:none;border:0;background:#fff;color:#13285a}.admin-navigation-drawer::backdrop{background:#10234659}.admin-page .admin-navigation-close{display:block;min-height:44px;margin:0 0 20px auto;padding:8px 12px;border:1px solid #dce5f2;border-radius:8px;background:#fff;color:#13285a}@media(max-width:999px){.admin-page .admin-layout{display:block}.admin-page .admin-sidebar.admin-center-navigation{display:none}.admin-navigation-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:16px;min-height:61px;padding:8px 16px;background:#fff;border-bottom:1px solid #dce5f2;font-size:14px}.admin-page .admin-navigation-bar button{min-height:44px;padding:8px 12px;border:1px solid #dce5f2;border-radius:8px;color:#225bd6;background:#fff;font:inherit;font-weight:700}}.block-editor-entry,.block-editor-launch{padding:0;display:flex;flex-direction:column;gap:10px;min-height:240px}.block-editor-preview-frame{overflow:hidden;border:1px solid #dce5f0;border-radius:10px;background:#f5f7fa;flex-shrink:0}.block-editor-preview-frame>.block-editor-preview,.block-editor-preview-frame>.block-editor-python-preview{border:0;border-radius:0;min-height:310px;background:#f5f7fa}.block-editor-preview-frame>.block-editor-python-preview{display:block;padding:14px;max-height:310px;overflow:auto}.block-editor-preview-frame>.block-editor-preview:focus-visible,.block-editor-preview-frame>.block-editor-python-preview:focus-visible{outline-offset:-3px}.block-editor-preview-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:9px 10px;border-top:1px solid #dce5f0;background:#fff}.block-editor-preview-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;max-width:100%;padding:6px 10px;border:0;border-radius:5px;font:inherit;font-size:13px;line-height:20px;cursor:pointer;white-space:nowrap}.block-editor-preview-actions svg{flex-shrink:0}.block-editor-preview-actions .block-editor-generate{background:#0069fa;color:#fff;font-weight:600;padding-inline:16px;margin-left:auto}.block-editor-preview-actions .block-editor-save-task{background:transparent;color:#46536b;padding-inline:2px}.block-editor-preview-actions .block-editor-generate:hover:not(:disabled){background:#0057d6}.block-editor-preview-actions .block-editor-save-task:hover:not(:disabled){background:#f2f5fa;color:#0d2054}.block-editor-preview-actions button:disabled{background:#f3f5f8;color:#8993a3;cursor:default}.block-editor-preview-actions .block-editor-save-task:disabled{background:transparent}.block-editor-preview-actions button:focus-visible{outline:2px solid #0069fa;outline-offset:2px}.block-editor-preview{display:block;flex-shrink:0;width:100%;min-width:0;white-space:normal;padding:0;border:1px solid #dce5f4;border-radius:12px;background:#f6f8fd;overflow:hidden;text-align:center;color:#526c90}.block-editor-preview>div{height:310px;width:100%;pointer-events:none}.block-editor-placeholder>div{display:flex;align-items:center;justify-content:center}.block-editor-dialog{width:calc(100vw - 28px);height:calc(100dvh - 28px);max-width:1800px;max-height:1100px;margin:auto;padding:0;border:1px solid #dde1e6;border-radius:12px;box-shadow:0 20px 80px #182b4930;color:#303a44;background:#fff;overflow:hidden;font-family:Inter,Microsoft YaHei,sans-serif}.block-editor-dialog[open]{display:flex;flex-direction:column}.block-editor-dialog::backdrop{background:#29344155}.block-editor-dialog .block-editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:0 16px;border-bottom:1px solid #e0e4e9;flex-shrink:0}.block-editor-brand{display:flex;align-items:center;gap:16px;min-width:0}.block-editor-brand strong{font-size:17px;font-weight:600;white-space:nowrap}.block-editor-brand small{font-size:12px;color:#6e7682;padding-left:14px;border-left:1px solid #e1e4e9;white-space:nowrap}.block-editor-dialog button,.block-editor-file-menu summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px;border:0;border-radius:7px;background:transparent;color:#4b5563;cursor:pointer;font:inherit;font-size:13px;white-space:nowrap}.block-editor-dialog button svg,.block-editor-file-menu summary svg{width:20px;height:20px;flex-shrink:0}.block-editor-dialog button:hover,.block-editor-file-menu summary:hover{background:#edf0f4}.block-editor-dialog button:disabled{opacity:.4;cursor:default}.block-editor-dialog button:focus-visible,.block-editor-file-menu summary:focus-visible{outline:3px solid #578be6;outline-offset:2px}.block-editor-tools{display:flex;align-items:center;gap:14px;margin-left:auto}.block-editor-command-strip{display:flex;align-items:center;gap:8px;padding:4px;background:#f3f5f8;border-radius:8px}.block-editor-dialog .block-editor-command-strip button,.block-editor-command-strip .block-editor-file-menu summary{min-height:30px;padding:5px 9px;line-height:20px;border-radius:5px;font-size:13px}.block-editor-command-strip>button svg,.block-editor-command-strip .block-editor-file-menu summary svg{width:18px;height:18px}.block-editor-command-strip .block-editor-file-menu summary .block-editor-menu-caret{width:10px;height:10px;margin-left:1px}.block-editor-dialog .block-editor-tools .block-editor-close{width:32px;height:32px;min-height:32px;padding:6px;border:0;border-radius:5px;margin:0;color:#647080}.block-editor-tools .block-editor-close svg{width:18px;height:18px}.block-editor-file-menu{position:relative}.block-editor-file-menu summary{list-style:none}.block-editor-file-menu summary::-webkit-details-marker{display:none}.block-editor-file-menu>div{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:250px;max-width:calc(100vw - 32px);padding:6px;background:#fff;border:1px solid #e1e4e9;border-radius:9px;box-shadow:0 8px 30px #182b4920}.block-editor-file-menu>div button{width:100%;justify-content:flex-start;padding:11px}.block-editor-status{padding:8px 18px;font-size:12px;color:#526875;border-bottom:1px solid #e4e8ed;background:#f7fafb}.block-editor-status.has-error{color:#b32632;background:#fff5f4}.block-editor-status button{margin-left:10px;padding:3px 8px;font-size:12px}.block-editor-dialog .pook-renderer.pook-theme .pook-block-error>.blocklyPath{stroke:#d32f2f;stroke-width:4px;stroke-dasharray:7 3;filter:none}.block-editor-body{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.block-editor-workspace{position:relative;flex:1;min-width:0;height:100%;overflow:hidden}.block-editor-python{position:absolute;inset:0 0 0 auto;z-index:5;width:40%;margin:0;overflow:auto;padding:20px;background:#fafbfc;font-size:12px;border-left:1px solid #dde2e9}.block-editor-run-controls{position:absolute;bottom:22px;left:calc(50% + 155px);transform:translate(-50%);display:flex;align-items:center;gap:12px;z-index:3}.block-editor-dialog .block-editor-run,.block-editor-dialog .block-editor-stop{width:54px;height:54px;padding:0;border-radius:50%;box-shadow:0 3px 9px #182b4914;background:#10aa59;color:#fff}.block-editor-dialog .block-editor-run:hover{background:#079a4c}.block-editor-dialog .block-editor-stop{width:43px;height:43px;background:#e86d70;color:#fff}.block-editor-dialog .block-editor-stop:hover{background:#d95c60}.block-editor-run svg{width:26px!important;height:26px!important}.block-editor-zoom{position:absolute;right:22px;bottom:27px;display:flex;gap:1px;background:#fff;border:1px solid #e1e4e9;border-radius:9px;padding:3px;z-index:3}.block-editor-zoom button{padding:7px}.block-editor-dialog .blocklyToolbox{border-right:1px solid #e1e4e9;padding:6px;background:#fff}.block-editor-dialog .blocklySvg{border:0}.block-editor-dialog>.blocklyWidgetDiv,.block-editor-dialog>.blocklyDropDownDiv{position:fixed}.block-editor-dialog .blocklyToolboxCategory{height:54px;width:58px;min-height:54px;margin:0 0 5px;padding:0!important;border-left:0!important;border-radius:4px;display:flex;align-items:center;justify-content:center;position:relative;background:#fff0b8!important}.block-editor-dialog .blocklyToolboxCategoryIcon{display:none!important}.block-editor-dialog .blocklyTreeRowContentContainer{display:flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:0}.block-editor-dialog .blocklyToolboxCategoryLabel{font-size:0;padding:0;display:block;width:28px;height:28px;background:center/26px 26px no-repeat}.block-editor-dialog .blocklyToolboxCategory[aria-selected=true]{box-shadow:inset 3px 0 #536b79,0 0 0 1px #bac8d1}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(1) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/Play.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(2) .blocklyToolboxCategory{background:#bbe5e5!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(2) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/ArrowUpRight.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(3) .blocklyToolboxCategory{background:#d0eeee!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(3) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/Gear.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(4) .blocklyToolboxCategory{background:#ffd9d9!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(4) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/Compass.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(5) .blocklyToolboxCategory{background:#ffc7c7!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(5) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/Palette.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(6) .blocklyToolboxCategory{background:#ffd7ca!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(6) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/GameController.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(7) .blocklyToolboxCategory{background:#ffe0a2!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(7) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/ArrowsClockwise.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(8) .blocklyToolboxCategory{background:#f0d7ec!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(8) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/SpeakerHigh.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(9) .blocklyToolboxCategory{background:#d1e9d2!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(9) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/SlidersHorizontal.svg)}.pook-renderer.pook-theme .blocklyText{fill:#192e32!important;font-weight:500!important}.pook-renderer.pook-theme .blocklyEditableText>rect{fill:#fff!important;fill-opacity:.94!important;stroke:#6a919355!important}.pook-renderer.pook-theme .blocklyDropdownText{fill:#233c40!important}.pook-renderer.pook-theme .blocklyFlyoutLabelText{fill:#344150!important;font-size:21px!important;font-weight:600!important}.block-editor-dialog .blocklyTrash{opacity:.32;transform:translate(100%,100%);display:none}.block-editor-launch p{font-size:12px;color:#637c9f;margin:0}.block-editor-launch .block-editor-preview{padding:0;background:#f6f8fd;border-color:#dce5f4;color:#526c90}@media(max-width:900px){.block-editor-brand small{display:none}.block-editor-tools{gap:2px}.block-editor-tools button span,.block-editor-file-menu summary span{display:none}.block-editor-brand{gap:10px}.block-editor-run-controls{left:62%}}@media(max-width:680px){.block-editor-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.block-editor-dialog .block-editor-header{padding:0 8px;gap:4px;min-height:54px}.block-editor-brand strong{font-size:14px}.block-editor-tools button{padding:7px}.block-editor-tools .block-editor-close{padding-left:7px;margin-left:0}.block-editor-python{width:100%}.block-editor-dialog .blocklyToolboxCategory{width:44px;height:46px;min-height:46px}.block-editor-run-controls{left:50%;bottom:18px}.block-editor-zoom{right:8px;bottom:24px}.block-editor-zoom button{padding:4px}}.block-editor-dialog .blocklyScrollbarHandle{opacity:.32}.block-editor-dialog .blocklyScrollbarHandle:hover{opacity:.75}.block-editor-mode-switch{display:flex;align-items:center;border:0;padding:0;background:transparent;gap:2px}.block-editor-mode-switch button[aria-selected=true]{background:#fff;color:#0864d9;box-shadow:0 1px 4px #24354c16}.block-editor-dialog .block-editor-mode-switch button{padding:5px 12px}.block-editor-body.is-python .block-editor-workspace{visibility:hidden;pointer-events:none}.block-editor-body.is-python .block-editor-run-controls{left:50%;bottom:16px;z-index:7}.python-task-editor{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:#f8fafc;color:#22364e;min-height:0}.block-editor-python-preview{width:100%;border:1px solid #dce5f4;border-radius:10px;background:#f8faff;color:#2f4666;padding:12px;cursor:pointer;text-align:left}.block-editor-python-preview pre{font:12px/1.7 Consolas,monospace;overflow:hidden;max-height:320px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.block-editor-preview[hidden]{display:none}@media(max-width:680px){.block-editor-mode-switch button{padding:6px;font-size:11px}.block-editor-mode-switch svg{display:none}.block-editor-brand strong{font-size:12px}.block-editor-command-strip{gap:3px}.block-editor-dialog .block-editor-command-strip button,.block-editor-command-strip .block-editor-file-menu summary{padding:5px 7px}}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(10) .blocklyToolboxCategory{background:#c8e8ce!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(10) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/MathOperations.svg)}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(11) .blocklyToolboxCategory{background:#ffdab9!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(11) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/BracketsCurly.svg)}.block-variable-dialog{width:min(420px,calc(100vw - 40px));padding:24px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#303a44;box-shadow:0 15px 65px #182b4930;margin:auto}.block-variable-dialog::backdrop{background:#29344155}.block-variable-dialog label{display:block;font-size:15px;line-height:1.6}.block-variable-dialog input{display:block;width:100%;box-sizing:border-box;margin-top:14px;border:1px solid #bdcce0;border-radius:7px;padding:10px;font:inherit}.block-variable-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.block-variable-actions button:last-child{background:#0864d9;color:#fff;padding:9px 22px}.block-variable-dialog input:focus-visible{outline:2px solid #578be6;outline-offset:2px}.block-editor-dialog .blocklyFlyoutButton rect{fill:#e8edf5;stroke:#c4cfdd;rx:6;ry:6}.block-editor-dialog .blocklyFlyoutButton text{fill:#25476e;font-size:16px}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(12) .blocklyToolboxCategory{background:#f4c8bb!important}.block-editor-dialog .blocklyToolboxCategoryGroup>:nth-child(12) .blocklyToolboxCategoryLabel{background-image:url(/assets/editor-icons/Timer.svg)}.pook-renderer.pook-theme .pook-condition-block .blocklyText,.pook-renderer.pook-theme .pook-condition-block .blocklyDropdownText{fill:#303c40!important;font-weight:500!important}.pook-renderer.pook-theme .pook-condition-block .blocklyDropdownRect{fill:transparent!important;stroke:transparent!important}.pook-renderer.pook-theme .pook-condition-block .blocklyEditableField>rect:not(.blocklyDropdownRect){fill:#fff!important;stroke:#9b85854d!important;rx:6;ry:6}.pook-renderer.pook-theme .pook-condition-block .blocklyEditableField:hover>.blocklyDropdownRect,.pook-renderer.pook-theme .pook-condition-block .blocklyEditing>.blocklyDropdownRect{fill:#fff5!important;stroke:#66525266!important;stroke-width:1px}.pook-renderer.pook-theme .pook-condition-block .blocklyDropdownArrow{fill:#475358!important}.pook-renderer.pook-theme .pook-device-dot{fill:#f6cece;stroke:#71595b;stroke-width:1.5px;pointer-events:none}.pook-renderer.pook-theme .pook-device-dot.is-connected{fill:#24774d;stroke:#24774d}.pook-renderer.pook-theme .pook-condition-block .blocklyDropdownField>image:last-of-type{filter:brightness(0);opacity:.62}.pook-renderer.pook-theme.blocklyDropDownDiv .blocklyMenuItemContent{color:#303c40}.pook-renderer.pook-theme .blocklyDropdownRect{fill:#ffffff30!important;stroke:transparent!important}.pook-renderer.pook-theme .blocklyDropdownField>image:last-of-type{filter:brightness(0);opacity:.62}.pook-renderer.pook-theme .blocklyEditableField>rect:not(.blocklyDropdownRect){fill:#fff!important;stroke:#58707533!important;rx:6;ry:6}.pook-renderer.pook-theme .blocklyEditableField:not(.blocklyEditing):hover>rect,.pook-renderer.pook-theme .blocklyEditing>rect{stroke:#536c78!important;stroke-width:1px}.pook-renderer.pook-theme .blocklyFlyoutLabelText{font-size:16px!important;font-weight:600!important}.workspace-task-column{position:relative;min-width:0;min-height:0;align-self:start}.workspace-task-column>.workspace-device-status.workspace-device-rail{position:absolute;inset:0 0 auto;width:100%;z-index:3}.task-flow-panel{height:100%;min-height:0;padding:0;display:flex;flex-direction:column;overflow:hidden}.task-flow-heading{display:flex;align-items:center;gap:8px;min-height:64px;padding:16px;border-bottom:1px solid var(--border);flex-shrink:0;color:#183854}.task-flow-heading h2{margin:0;font-size:17px}.task-flow-content{padding:12px;min-height:0;flex:1;display:flex;flex-direction:column;align-items:stretch;overflow:hidden}.task-flow-status{display:inline-block;align-self:flex-start;flex-shrink:0;padding:4px 8px;border-radius:5px;font-size:12px;color:#3d6590;background:#eef5fd}.task-flow-status--error,.task-flow-status--cancelled{color:#974d36;background:#fff0e9}.task-flow-request{margin:8px 0;flex-shrink:0;font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-flow-preview{flex:1;min-height:0;display:flex;flex-direction:column}.task-flow-viewport{position:relative;flex:1;min-height:0;overflow:hidden;cursor:zoom-in;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px;background:#fff}.task-flow-viewport.is-enlarged{cursor:grab}.task-flow-viewport.is-enlarged:active{cursor:grabbing}.task-flow-viewport:focus-visible{outline:2px solid #006ee4;outline-offset:-2px}.task-flow-canvas{position:absolute;top:0;left:0;width:max-content;transform-origin:0 0;pointer-events:none}.task-flow-zoom-controls{display:flex;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding-top:8px}.task-flow-zoom-controls button{min-width:32px;min-height:32px;padding:4px 8px;font-size:14px}.task-flow-zoom-controls span{min-width:42px;text-align:center;color:#52677d;font-size:12px;font-variant-numeric:tabular-nums}.task-flow-zoom-hint{margin:5px 0 0;text-align:center;font-size:12px;color:var(--muted);flex-shrink:0}.task-flow-modal{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:min(960px,calc(100vw - 32px));height:min(850px,calc(100dvh - 32px));max-width:none;max-height:none;padding:20px;box-sizing:border-box;border:1px solid #d9e4f0;border-radius:12px;background:#fff;color:#183854;overflow:hidden}.task-flow-modal[open]{display:flex;flex-direction:column;gap:12px}.task-flow-modal::backdrop{background:#12233866}.task-flow-modal-heading{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px}.task-flow-modal-heading h2{margin:0;font-size:20px}.task-flow-modal-heading button{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border:0;background:transparent;color:#65758b}.task-flow-modal-heading button:hover{background:#eef5fd}.task-flow-modal-heading .task-flow-save-image{margin-left:auto;width:auto;padding:0 12px;border:1px solid #d9e4f0;border-radius:6px;color:#183854;font-size:14px;white-space:nowrap}.task-flow-save-error{flex-shrink:0;margin:0;color:#b53620;font-size:14px}.task-flow-modal .task-flow-viewport{cursor:grab}@media(max-width:600px){.task-flow-modal{padding:12px}}.task-flow-diagram{text-align:center;flex-shrink:0}.task-flow-diagram>svg{display:block;overflow:visible;font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif}.task-flow-note{margin:8px 0 0;flex-shrink:0;font-size:11px;line-height:1.7;color:var(--muted)}.task-flow-empty{color:var(--muted);font-size:13px;line-height:1.8;text-align:center;padding:24px 4px}.task-flow-empty>svg{color:#9baec2}.task-flow-empty small{display:block;font-size:12px}@media(min-width:1101px){.workspace-grid.workspace-grid--two-panels.workspace-grid--flow{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 310px}.workspace-grid--flow>.workspace-task-column{grid-column:3;grid-row:1;height:var(--simulation-column-height,var(--workspace-panel-height))}}@media(max-width:1100px){.workspace-grid--flow>.workspace-task-column{grid-column:1/-1;height:560px;width:100%}.workspace-task-column .workspace-device-status.workspace-device-rail .motor-inspector{max-height:420px;overflow-y:auto}}.task-flow-tabs{display:flex;flex-shrink:0;min-height:72px;border-bottom:1px solid var(--border);padding:0 8px;gap:4px}.task-flow-tabs>button{position:relative;display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:72px;padding:8px 2px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#586580;font-size:13px;font-weight:600;line-height:1.4}.task-flow-tabs>button:hover{color:#0069fa;background:#f5f8fd}.task-flow-tabs>button[aria-selected=true]{color:#0069fa}.task-flow-tabs>button[aria-selected=true]:after{content:"";position:absolute;height:3px;background:#0069fa;inset:auto 0 0}.task-flow-tabs>button:focus-visible{outline:2px solid #0069fa;outline-offset:-4px}.task-flow-content[hidden],.generated-messages-panel[hidden],.saved-tasks-panel[hidden]{display:none}.generated-messages-panel{flex:1;min-height:0;display:flex}.generated-messages{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;padding:12px}.generated-code-tabs{display:flex;align-self:center;flex-shrink:0;gap:0;padding:0;margin:0 0 10px;border:1px solid #dce5f0;border-radius:7px;overflow:hidden;background:#fff}.generated-code-tabs button{flex:1;min-width:70px;min-height:30px;justify-content:center;padding:5px 14px;border:0;border-radius:0;color:#586580;background:transparent;font:inherit;font-size:13px;line-height:20px;cursor:pointer}.generated-code-tabs button:hover{color:#0057d6;background:#f5f8fd}.generated-code-tabs button[aria-selected=true]{color:#0057d6;background:#eaf2ff;box-shadow:none;font-weight:600}.generated-code-tabs button:focus-visible{outline:2px solid #0069fa;outline-offset:-2px}.generated-messages-scroll[hidden]{display:none}.generated-code-blocks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.generated-code-block{padding:10px 12px;border:1px solid #b9d7ff;border-left:4px solid #327de0;border-radius:6px;background:#edf5ff;color:#153763;font-size:13px;overflow-wrap:anywhere}.generated-code-block p{margin:5px 0 0;font-size:12px;line-height:1.6}.generated-code-block>.generated-code-blocks{margin-top:10px}.generated-code-block--repeat{background:#f4f0ff;border-color:#cdbfea;border-left-color:#8364bd}.generated-code-block--if,.generated-code-block--guard,.generated-code-block--until{background:#fff8e8;border-color:#e7d09a;border-left-color:#b38928}.generated-code-block--parallel{background:#eaf7f3;border-color:#a8d8c9;border-left-color:#388c73}.generated-messages-note{margin:0 0 8px;color:#586580;font-size:12px;line-height:1.7}.generated-messages-status{margin:0 0 8px;color:#315a85;font-size:12px;line-height:1.6}.generated-messages-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#c3d5ed transparent;scrollbar-width:thin}.generated-messages-scroll:focus-visible{outline:2px solid #0069fa;outline-offset:-2px}.generated-messages-list{list-style:none;margin:0;padding:0}.generated-messages-list>li{padding:14px 0;border-bottom:1px solid #dfe6f0}.generated-messages-list>li:first-child{padding-top:4px}.generated-message-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;color:#0d2054;font-size:13px}.generated-message-heading time{color:#586580;font-size:11px;font-variant-numeric:tabular-nums}.generated-messages pre{margin:0;padding:10px;background:#f5f8fd;border:0;border-radius:6px;color:#183854;font:12px/1.7 Consolas,ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.generated-messages code{padding:0;background:none;color:inherit;font:inherit}.generated-messages pre::selection,.generated-messages code::selection{background:#d9e9ff}.generated-messages-limit{margin:8px 0;font-size:12px;line-height:1.6;color:#586580}.generated-messages-latest{align-self:center;flex-shrink:0;margin-top:8px;min-height:36px;border:1px solid #c3d5ed;border-radius:6px;background:#eaf2ff;color:#0057d6;padding:6px 12px;font-size:12px}.task-flow-panel.panel{padding:0}.generated-messages pre{max-height:none;overflow:visible}.saved-tasks-panel{flex:1;min-height:0;overflow:auto}.saved-tasks{padding:16px;display:flex;flex-direction:column;gap:16px;font-size:13px}.saved-task-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#14295c}.saved-task-heading>span{color:#586580;white-space:nowrap}.saved-task-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;list-style:none;padding:0;margin:0}.saved-task-card{min-width:0;display:flex;align-items:stretch;border:1px solid #cbdaf1;border-radius:8px;background:#f8faff;overflow:hidden}.saved-task-run{flex:1;min-width:0;min-height:44px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;padding:8px 12px;border:0;border-radius:0;background:transparent;color:#14295c;font:inherit;font-weight:600;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.saved-task-run>span{min-width:0;max-width:100%}.saved-task-run small{font-weight:400;color:#0057d6}.saved-task-run:hover:not(:disabled){background:#eaf3ff;color:#0057d6}.saved-task-delete{flex:0 0 40px;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px;border:0;border-radius:0;background:transparent;color:#586580}.saved-task-delete:hover:not(:disabled){color:#b42318;background:#fff0ee}.saved-task-rename{flex:0 0 auto;min-height:44px;padding:8px;border:0;border-radius:0;background:transparent;color:#175caa;font:inherit;white-space:nowrap}.saved-task-rename:hover:not(:disabled){background:#eaf3ff}.saved-task-run:focus-visible,.saved-task-delete:focus-visible,.saved-task-rename:focus-visible{outline:2px solid #0069fa;outline-offset:-3px}.preset-rename form{display:flex;flex-direction:column;gap:16px}.preset-rename h2{margin:0}.preset-rename label{display:flex;flex-direction:column;gap:8px}.preset-rename label input{box-sizing:border-box;width:100%;height:auto;min-height:44px;padding:10px;border:1px solid #cbdaf1;border-radius:8px;color:#14295c;background:#f8faff;font:inherit}.preset-rename-actions{display:flex;justify-content:flex-end;gap:12px}.saved-task-notice{color:#0057d6;line-height:1.6;margin:0}.task-presets pre{font:12px/1.5 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8fd;padding:12px;max-height:240px;overflow:auto}.task-presets summary{cursor:pointer;color:#175caa}.preset-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-height:100px;overflow:auto}.preset-confirm{width:min(660px,calc(100vw - 32px));max-height:85svh;overflow:auto;border:1px solid #cfddf2;border-radius:18px;padding:24px;color:#14295c;background:#fff}.preset-confirm::backdrop{background:#071a4288}.preset-confirm>p{overflow-wrap:anywhere}.preset-confirm>label{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin:18px 0}.preset-confirm input{width:18px;height:18px;flex-shrink:0}.preset-confirm>div{display:flex;gap:12px;justify-content:flex-end}.preset-confirm button{padding:10px 18px}.block-editor-launch{display:flex;flex-direction:column;gap:12px;padding:16px 0}.block-editor-launch button{border-radius:10px;padding:11px;border:1px solid #c9daff;background:#eef5ff;color:#0064dd}.api-call-history>header{min-height:68px;padding:12px 76px 12px 20px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #dfe3ee}.api-call-history h2{margin:0;font-size:20px}.api-history-content{padding:20px}.api-history-note{color:#606b80;font-size:14px;line-height:1.7;margin:0 0 20px}.api-history-empty{padding:60px 20px;text-align:center;border:1px solid #dfe3ee;border-radius:8px;font-size:18px}.api-history-empty p{color:#606b80;font-size:14px;line-height:1.7}.api-history-table-wrap{overflow-x:auto;border:1px solid #dfe3ee;border-radius:8px}.api-call-history table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.api-call-history caption{text-align:left;padding:14px;color:#606b80}.api-call-history th,.api-call-history td{text-align:left;padding:14px;vertical-align:top;border-top:1px solid #dfe3ee;overflow-wrap:anywhere;line-height:1.6}.api-call-history th{background:#f5f7fb}.api-call-history th:nth-child(1){width:25%}.api-call-history th:nth-child(2){width:25%}.api-call-history th:nth-child(3){width:9%}.api-call-history th:nth-child(4){width:25%}.api-call-history small{display:block;margin-top:6px;font-size:13px;color:#606b80}.api-call-history code{font-size:13px;white-space:pre-wrap}.api-call-history td>span{display:block}.api-history-failed{color:#b33429}@media(max-width:650px){.api-history-content{padding:12px}.api-call-history table{min-width:720px}}.competition-projects{color:#0d2054;background:#fff;border:1px solid #dfe6f0;border-radius:16px;padding:28px;min-width:0;font-size:15px;line-height:1.6;caret-color:#0069fa}.competition-projects ::selection{background:#eaf2ff;color:#0d2054}.competition-projects h2{font-size:24px;margin:0 0 8px;overflow-wrap:anywhere}.competition-projects h3{font-size:18px;margin:20px 0 8px}.competition-projects p{color:#586580;margin:8px 0 20px}.competition-projects button,.competition-projects input,.competition-projects select{font:inherit;border:1px solid #cbd8eb;border-radius:10px;min-height:42px;padding:8px 12px;background:#f9fbfe;color:#0d2054}.competition-projects button{cursor:pointer;white-space:nowrap}.competition-projects button:hover{background:#eaf2ff}.competition-projects button:disabled{opacity:.6;cursor:default}.competition-projects :focus-visible{outline:2px solid #0069fa;outline-offset:3px}.competition-projects button[aria-pressed=true]{background:#0069fa;border-color:#0069fa;color:#fff}.competition-projects input{width:min(360px,100%)}.cp-toolbar{display:flex;gap:16px;align-items:flex-end;margin:24px 0 16px;flex-wrap:wrap}.cp-toolbar label{display:grid;gap:6px;min-width:0}.cp-table-scroll{overflow:auto;scrollbar-color:#cbd8eb #f9fbfe}.competition-projects table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.competition-projects caption{text-align:left;font-weight:600;padding:12px 0}.competition-projects th{background:#f5f8fd;font-size:13px;color:#586580;font-weight:600}.competition-projects th,.competition-projects td{border-bottom:1px solid #dfe6f0;padding:14px 12px;vertical-align:top;max-width:320px;overflow-wrap:anywhere}.competition-projects td:first-child{min-width:160px}.cp-empty{padding:32px 0}.cp-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:20px}.cp-detail>h2{margin-top:24px}.cp-summary{display:flex;flex-wrap:wrap;gap:24px 36px;margin:24px 0}.cp-summary dt{color:#586580;font-size:13px}.cp-summary dd{margin:4px 0;font-variant-numeric:tabular-nums}.cp-scene{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.cp-scene .panel{min-width:0;border:1px solid #dfe6f0;border-radius:12px;overflow:hidden}.cp-scene .panel-heading{padding:16px}.cp-scene h2{font-size:18px}.cp-scene .simulation-map{display:block;width:100%;max-height:620px}.cp-scene .simulation-legend{padding:12px}.cp-scene .simulation-legend span{display:flex;gap:8px;flex-wrap:wrap}.cp-scene .simulation-legend small{font-size:12px}.cp-scene .simulation-label{font-size:14px;fill:#0d2054}.cp-scene .simulation-empty{font-size:16px;fill:#586580}.cp-scene .task-flow-content{max-height:600px;overflow:auto}.cp-sections{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0 16px}.cp-journal{list-style:none;margin:0;padding:0}.cp-journal li{padding:16px 0;border-bottom:1px solid #dfe6f0}.cp-journal header{display:flex;gap:12px;justify-content:space-between}.cp-journal time{font-size:13px;color:#586580;font-variant-numeric:tabular-nums}.cp-journal p{white-space:pre-wrap;overflow-wrap:anywhere;color:#0d2054;max-width:75ch;margin:10px 0}.cp-record-content details{padding:16px 0;border-bottom:1px solid #dfe6f0}.cp-record-content summary{cursor:pointer}.cp-record-content pre{white-space:pre-wrap;overflow-wrap:anywhere}.competition-projects .cp-error{color:#b32e3c}.cp-help{max-width:75ch}.cp-detail .api-history-table-wrap{overflow:auto}@media(max-width:760px){.competition-projects{padding:16px}.cp-scene{grid-template-columns:1fr}.cp-toolbar label,.cp-toolbar input,.cp-toolbar select{width:100%}.cp-summary{gap:16px}.cp-journal header{flex-wrap:wrap;gap:4px}.cp-sections button{flex:1 1 40%}.competition-projects th,.competition-projects td{padding:12px 8px}.cp-pagination{justify-content:center}}.cp-scene .simulation-stage{position:relative;isolation:isolate;width:100%;aspect-ratio:4 / 3;background:#f5f8fd;overflow:hidden}.cp-scene .simulation-panel--mapped .simulation-stage{aspect-ratio:1 / 1}.cp-scene .simulation-map{position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.competition-projects .cp-table-scroll>table{min-width:760px}.competition-projects .cp-table-scroll>table th{white-space:nowrap}.cp-scene .task-flow-panel{height:auto;min-height:0}.cp-scene .task-flow-preview{flex:none;min-height:360px}.cp-scene .task-flow-viewport{flex:none;height:320px;min-height:320px}.cp-scene .task-flow-content{max-height:none}.cp-scene .generated-messages-scroll{min-height:320px;max-height:560px}.network-access-settings{max-width:720px;padding:24px;border:1px solid #dfe6f0;border-radius:16px;background:#fff;color:#0d2054}.network-access-settings h2{margin:0 0 12px;font-size:22px;line-height:1.4}.network-access-settings p{margin:0 0 20px;line-height:1.6;color:#586580}.network-access-settings .network-access-state{color:#0d2054}.network-access-settings form{display:grid;gap:10px;max-width:420px}.network-access-settings label{font-weight:600}.network-access-settings input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd8eb;border-radius:10px;background:#f9fbfe;color:#0d2054;font:inherit;caret-color:#0069fa}.network-access-settings input::placeholder{color:#586580}.network-access-settings form p{margin:0 0 8px;font-size:14px}.network-access-settings button{justify-self:start;min-height:44px;padding:10px 20px;border:0;border-radius:10px;background:#0069fa;color:#fff;font:inherit;font-weight:600;cursor:pointer}.network-access-settings button:hover{background:#0057d6}.network-access-settings button:disabled{background:#e9edf4;color:#56647a;cursor:default}.network-access-settings :focus-visible{outline:2px solid #0069fa;outline-offset:3px}.network-access-settings .network-access-error{color:#b32e3c}.network-access-settings .network-access-success{color:#246447}.admin-unified-shell>.network-access-settings{margin:0 var(--admin-gutter,28px) 28px}@media(max-width:600px){.network-access-settings{padding:20px}.network-access-settings button{width:100%;justify-self:stretch}}.event-materials{color:#0d2054;font:15px/1.6 Arial,Microsoft YaHei,sans-serif;max-width:1240px;margin:0 auto;padding:36px 28px 64px}.event-materials--admin{padding:0;max-width:none}.admin-unified-shell>.event-materials--admin{margin:0 var(--admin-gutter,28px) 24px}.materials-confirm::backdrop{background:#0d205470}.event-materials .materials-categories select{width:170px;flex:0 1 170px}.materials-categories span{min-width:90px}@media(max-width:700px){.materials-categories li{flex-wrap:wrap}.materials-categories span{flex-basis:100%}}.event-materials input::file-selector-button{border:0;border-radius:6px;padding:8px 12px;background:#eaf2ff;color:#17549a;font:inherit;cursor:pointer;margin-right:10px}.materials-heading{margin-bottom:28px}.materials-heading h1{font-size:30px;margin:0 0 8px}.materials-heading p,.materials-help,.materials-file-copy p{color:#586580;margin:0}.materials-toolbar{display:flex;align-items:flex-end;gap:16px;margin-bottom:24px}.materials-toolbar label{width:min(100%,380px)}.event-materials label{display:flex;flex-direction:column;gap:8px;font-weight:600}.event-materials input,.event-materials select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd8eb;border-radius:10px;background:#f9fbfe;color:#0d2054;font:inherit}.event-materials button,.event-materials a{font:inherit;cursor:pointer;border:1px solid #cbd8eb;border-radius:9px;background:#fff;color:#17549a;padding:9px 15px;text-decoration:none;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px}.event-materials button:hover,.event-materials a:hover{background:#eaf2ff}.event-materials :focus-visible{outline:3px solid #0069fa;outline-offset:3px}.event-materials button:disabled{cursor:not-allowed;opacity:.55}.event-materials .materials-primary{background:#0069fa;color:#fff;border-color:#0069fa}.event-materials .materials-primary:hover{background:#0057d6}.event-materials .materials-delete{color:#b32e3c}.materials-management{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}.materials-management>section{padding:24px;background:#fff;border:1px solid #dfe6f0;border-radius:16px;min-width:0}.materials-management h2{margin:0 0 20px;font-size:20px}.materials-management form{display:grid;gap:16px}.materials-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.materials-categories{padding:0;margin:20px 0 0;list-style:none;max-height:220px;overflow:auto}.materials-categories li{display:flex;gap:8px;align-items:center;border-top:1px solid #dfe6f0;padding:12px 0}.materials-categories span{flex:1;overflow-wrap:anywhere}.materials-categories button{padding:6px 10px;flex-shrink:0}.materials-kind{display:flex;gap:6px;border-bottom:1px solid #dfe6f0;overflow-x:auto;margin-bottom:12px}.materials-kind button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;white-space:nowrap;padding:14px 18px}.materials-kind button[aria-pressed=true]{border-bottom-color:#0069fa;color:#0069fa;font-weight:700}.materials-list{list-style:none;margin:0;padding:0}.materials-list>li{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 0;border-bottom:1px solid #dfe6f0}.materials-file-copy{display:flex;align-items:center;gap:18px;min-width:0;flex:1}.materials-file-copy>div{min-width:0}.materials-file-copy h2{font-size:17px;margin:0 0 5px;overflow-wrap:anywhere}.materials-file-copy p{font-size:13px;overflow-wrap:anywhere}.materials-format{background:#eaf2ff;color:#17549a;font-size:12px;font-weight:700;padding:12px 8px;min-width:46px;text-align:center;border-radius:8px;flex-shrink:0}.materials-empty{padding:64px 20px;text-align:center}.materials-empty h2{font-size:21px;margin:0 0 8px}.materials-empty p{color:#586580}.materials-preview{width:100%;padding:20px;background:#fff;border:1px solid #dfe6f0;border-radius:12px;box-sizing:border-box}.materials-preview video,.materials-preview img,.materials-preview canvas{display:block;max-width:100%;max-height:480px;margin:auto}.materials-preview canvas{width:100%;touch-action:none}.materials-preview p{margin:12px 0 0;color:#586580}.materials-error{padding:14px 18px;color:#b32e3c;background:#fff0f2;border-radius:10px}.materials-notice{padding:14px 18px;color:#246447;background:#edf8f1;border-radius:10px}.materials-confirm{position:fixed;top:25%;width:min(480px,calc(100% - 40px));box-sizing:border-box;border:1px solid #cbd8eb;border-radius:16px;padding:28px;color:#0d2054;background:#fff;z-index:300;box-shadow:0 18px 80px #0d205440}.materials-confirm p{overflow-wrap:anywhere}.event-materials progress{max-width:100%;accent-color:#0069fa}@media(max-width:700px){.event-materials{padding:24px 16px 48px}.event-materials--admin{padding:0}.materials-management{grid-template-columns:1fr;gap:16px}.materials-management>section{padding:20px}.materials-toolbar{gap:10px}.materials-toolbar>button{flex-shrink:0}.materials-list>li{align-items:flex-start;gap:14px}.materials-file-copy{flex-basis:100%}.materials-heading h1{font-size:26px}.materials-kind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.materials-kind button{padding:12px 6px;white-space:normal}.materials-preview{padding:12px}}.materials-map-manager{border:1px solid #dce5f3;border-radius:16px;padding:24px;margin-bottom:24px;background:#fff}.materials-map-heading{display:flex;align-items:center;gap:20px;justify-content:space-between}.materials-map-heading h2{margin:0 0 8px;font-size:22px}.materials-map-heading p{margin:0;color:#586580}.materials-map-heading>button{flex-shrink:0}.event-materials .materials-map-heading input[hidden]{display:none}.materials-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;margin:20px 0;max-height:520px;overflow:auto;padding:4px}.materials-map-grid label{border:2px solid #dce5f3;border-radius:12px;padding:10px;cursor:pointer;min-width:0}.materials-map-grid label.is-selected{border-color:#0069fa;background:#eff6ff}.materials-map-grid img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f8fd;border-radius:6px}.materials-map-grid span{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.event-materials .materials-map-grid input{width:18px;min-height:18px;flex-shrink:0;accent-color:#0069fa}.materials-map-grid small{color:#0060cc}.materials-map-grid label:focus-within{outline:3px solid #83baff;outline-offset:2px}@media(max-width:700px){.materials-map-manager{padding:18px}.materials-map-heading{align-items:flex-start;flex-direction:column}.materials-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.event-portal{--portal-ink:#0d2054;--portal-blue:#0069fa;min-height:100svh;background:#fff;color:var(--portal-ink);font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif}.event-portal *{box-sizing:border-box}.event-portal button,.event-portal a{font:inherit}.event-portal button{cursor:pointer}.event-portal button:focus-visible,.event-portal a:focus-visible{outline:3px solid #1685ff;outline-offset:4px}.event-portal h1,.event-portal h2,.event-portal h3,.event-portal p{margin:0}.event-portal button{box-shadow:none}.event-portal a{color:var(--portal-blue)}.event-portal .portal-event-card{display:block}.portal-header{height:76px;padding:0 4%;display:flex;align-items:center;gap:54px;background:#fff;border-bottom:1px solid #e1e7f0;color:var(--portal-ink)}.portal-brand{padding:0;border:0;background:none;flex-shrink:0}.portal-brand>span{display:block;position:relative;width:190px;height:63px;overflow:hidden}.portal-brand img{position:absolute;width:269px;max-width:none;height:auto;left:-39px;top:-73px}.portal-header-active{height:76px;border:0;border-bottom:4px solid var(--portal-blue);border-radius:0;padding:0 8px;background:none;color:var(--portal-ink);font-weight:700!important}.portal-header-right{margin-left:auto;display:flex;align-items:center;gap:30px}.portal-account{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;color:#2764b1;background:#eaf2ff}.portal-header .language-switch button{color:var(--portal-ink);background:transparent}.event-portal--home{background:#07152d url(/assets/space-background-zjMm-Ap0.webp) center bottom/cover no-repeat;color:#fff}.portal-landing{min-height:calc(100svh - 130px);padding:56px 5.5% 92px;max-width:1800px;margin:auto}.portal-intro h1{font-size:clamp(34px,4.4vw,62px);font-weight:800;line-height:1.25;letter-spacing:-.025em}.portal-intro p{margin-top:18px;font-size:25px;line-height:1.5;color:#c9d7ec}.portal-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:55px}.portal-event-card{overflow:hidden;text-align:left;padding:0;border:1px solid #79bded;border-radius:22px;color:#fff;background:#0a1a35;box-shadow:0 0 12px #55aaff45,0 18px 42px #0004!important;transition:transform .2s,box-shadow .2s;min-width:0;transform:rotate(-2deg)}.portal-event-card--mars{margin-top:48px;margin-bottom:-48px}.portal-event-card:hover{transform:translateY(-7px) rotate(-2deg);box-shadow:0 0 22px #64baff8a,0 24px 48px #0006!important}.portal-event-card>img{display:block;width:100%;height:252px;object-fit:cover;object-position:100% center}.portal-event-card>div{padding:26px 30px 30px;transform:rotate(2deg)}.portal-event-card h2{font-size:33px;line-height:1.4;font-weight:750}.portal-event-card p{color:#d1daea;font-size:17px;line-height:1.7;min-height:87px;margin:10px 0 22px}.portal-explore{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:10px 24px;border:2px solid #87c9fb;border-radius:32px;font-weight:700}.portal-footer{text-align:center;padding:18px 24px;color:#74849d;font-size:13px;background:#f7faff}.event-portal--home .portal-footer{background:transparent;color:#b4c3dc}.portal-hero{height:300px;background-position:center;background-size:cover;padding:32px 4% 25px}.portal-back{display:inline-flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;color:#2163b0}.portal-breadcrumb{margin-top:26px!important;color:#61769a;font-size:14px}.portal-title-group{margin-top:18px;display:flex;align-items:center;gap:25px;max-width:770px}.portal-title-group h1{font-size:54px;font-weight:800;line-height:1.2}.portal-title-group p{margin-top:16px;font-size:21px;line-height:1.5;color:#526a94}.portal-badge{width:148px;height:148px;object-fit:contain;border-radius:50%;flex-shrink:0}.portal-hero--interstellar .portal-title-group{margin-top:30px;max-width:680px}.portal-tabs{height:58px;display:flex;gap:30px;padding:0 4%;border-bottom:1px solid #e4ebf6;align-items:stretch;overflow-x:auto}.portal-tabs button{flex-shrink:0;border:0;border-bottom:4px solid transparent;border-radius:0;padding:0 12px;background:transparent;color:#536584;font-weight:600}.portal-tabs button[aria-current]{border-bottom-color:var(--portal-blue);color:var(--portal-blue)}.portal-body{padding:36px 4% 40px;max-width:1680px;margin:0 auto;min-height:450px}.portal-content-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:40px}.portal-content-grid--ai{grid-template-columns:minmax(0,1.35fr) minmax(380px,1fr);gap:34px}.portal-content-grid>aside{border-left:1px solid #e2eaf7;padding-left:38px;min-width:0}.portal-body h2{font-size:29px;line-height:1.3;font-weight:750}.portal-resource-list{list-style:none;margin:12px 0 0;padding:0}.portal-resource-list>li{display:flex;align-items:center;gap:22px;padding:22px 8px 22px 12px;border-bottom:1px solid #e2eaf7;min-height:91px}.portal-resource-list>li:last-child{border-bottom:0}.portal-resource-icon{height:50px;width:50px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#eef6ff;color:var(--portal-blue)}.portal-resource-list h3{font-size:19px;font-weight:700}.portal-resource-list small{display:block;color:#73829c;margin-top:7px;font-size:14px}.portal-resource-list button{margin-left:auto;display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:6px;color:var(--portal-blue);white-space:nowrap}.portal-season-empty img{display:block;width:100%;height:190px;object-fit:cover;object-position:right center;border-radius:7px;margin:20px 0 14px}.portal-seasons h3{font-size:18px;margin-bottom:8px}.portal-seasons p{color:#74849f;font-size:15px;line-height:1.65}.portal-seasons--compact{background:#f0f6ff;border-radius:15px;padding:20px 26px;margin-top:14px}.portal-seasons--compact h2{font-size:25px}.portal-seasons--compact p{margin-top:8px}.portal-seasons button{color:var(--portal-blue);display:flex;align-items:center;gap:10px;background:none;border:0;padding:10px 0 0}.portal-entry{display:flex;gap:18px;padding:25px;border-radius:16px;background:#eaf4ff;color:#0069ee;margin-bottom:22px}.portal-entry>svg{flex-shrink:0}.portal-entry h2{font-size:27px;color:var(--portal-ink)}.portal-entry p{font-size:15px;color:#5a7193;line-height:1.6;margin:8px 0 16px}.portal-primary{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:12px 24px;color:#fff!important;background:var(--portal-blue);border:0;border-radius:13px;text-decoration:none;font-weight:650!important}.portal-primary:hover{background:#0058d7}.portal-entry small{display:block;color:#5a7193;font-size:13px;line-height:1.6;margin-top:12px}.portal-courses>p{font-size:14px;color:#6b7e9b;margin-top:6px}.portal-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.portal-course-grid>button{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;padding:15px;border:1px solid #dfeafb;border-radius:10px;background:#f5f9ff;color:var(--portal-ink)}.portal-course-grid>button:hover{background:#eaf3ff}.portal-course-grid>button>span{font-size:23px;color:var(--portal-blue);align-self:flex-start}.portal-course-grid strong{font-size:14px}.portal-course-grid small{display:block;font-size:12px;color:#7c8ba4;margin-top:6px}.portal-course-grid svg{margin-left:auto;color:#8caed3;flex-shrink:0}.portal-fetch-status{color:#6b7e9b;font-size:14px;margin-bottom:12px!important}.portal-load-error{padding:15px;border-radius:10px;background:#fff0f2;color:#b82637;margin-bottom:18px;display:flex;align-items:center;gap:20px}.portal-load-error button{border:1px solid currentColor;padding:5px 12px;background:none;color:inherit}.portal-dialog{width:min(900px,calc(100vw - 32px));max-height:90svh;border:1px solid #dbe6f6;border-radius:24px;padding:30px;background:#fff;color:#0d2054;box-shadow:0 25px 90px #00153835;font-family:Arial,Microsoft YaHei,sans-serif}.portal-dialog::backdrop{background:#071a42a3}.portal-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}.portal-dialog h2{font-size:27px;margin:0}.portal-dialog header p{color:#627698;line-height:1.6;margin-top:10px}.portal-close{border:0;border-radius:50%;background:#edf4ff;color:#476a9f;display:grid;place-items:center;flex-shrink:0;width:40px;height:40px}.portal-platform-options{display:grid;grid-template-columns:1fr 1fr;gap:24px}.portal-platform-options>section{border:1px solid #dae6f9;padding:26px;border-radius:18px;background:#f7faff;display:flex;flex-direction:column;align-items:flex-start;gap:16px}.portal-platform-options>section>svg{color:#0069fa}.portal-platform-options h3{font-size:23px;margin:0}.portal-platform-options p{color:#617595;font-size:16px;line-height:1.6;margin:0}.portal-platform-options .portal-primary{margin-top:auto}.portal-platform-options small{color:#6f7f96}.portal-no-files{text-align:center;padding:45px 20px 60px;color:#6c82a4}.portal-no-files h3{color:#0d2054;margin:18px 0 10px}.portal-no-files p{line-height:1.7}.portal-file-list{list-style:none;margin:0;padding:0}.portal-file-list>li{padding:20px 0;border-bottom:1px solid #dfebf8;overflow-wrap:anywhere}.portal-file-list h3{font-size:18px;margin:0 0 14px}.portal-file-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.portal-file-actions a{display:flex;gap:8px;align-items:center}.portal-dialog .materials-preview video,.portal-dialog .materials-preview img{max-height:340px}.home-event-return{color:#0069fa!important;white-space:nowrap}@media(min-width:1650px){.portal-event-card>img{height:300px}.portal-event-card p{min-height:70px}.portal-landing{padding-top:70px}.portal-event-grid{margin-top:70px}}@media(max-width:1100px){.portal-header{gap:30px}.portal-event-grid{gap:22px}.portal-event-card>img{height:210px}.portal-event-card>div{padding:22px}.portal-event-card h2{font-size:27px}.portal-event-card p{font-size:16px;min-height:108px}.portal-title-group{max-width:640px}.portal-title-group h1{font-size:44px}.portal-title-group p{font-size:18px}.portal-badge{width:118px;height:118px}.portal-content-grid,.portal-content-grid--ai{gap:24px;grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr)}.portal-content-grid>aside{padding-left:24px}.portal-resource-list>li{gap:12px;padding-left:0}.portal-resource-list h3{font-size:17px}.portal-resource-list button{font-size:14px}.portal-entry{padding:20px;gap:12px}.portal-entry h2{font-size:22px}.portal-entry>svg{display:none}.portal-course-grid svg{display:none}.portal-course-grid>button{padding:12px;gap:8px}.portal-body h2{font-size:25px}}@media(max-width:760px){.portal-header{padding:0 18px;gap:18px;height:68px}.portal-brand>span{width:130px;height:43px}.portal-brand img{width:184px;left:-27px;top:-50px}.portal-header-active{height:68px;font-size:14px!important;padding:0 3px}.portal-header-right{gap:12px}.portal-header .language-switch{gap:0}.portal-header .language-switch button{padding:5px;font-size:12px}.portal-account{width:34px;height:34px}.portal-account svg{width:20px}.portal-landing{padding:34px 24px 65px;min-height:calc(100svh - 110px)}.portal-intro h1{font-size:35px}.portal-intro p{font-size:18px;margin-top:13px}.portal-event-grid{grid-template-columns:1fr;margin-top:34px;gap:26px}.portal-event-card,.portal-event-card:hover{transform:none}.portal-event-card--mars{margin:0}.portal-event-card>img{height:220px}.portal-event-card>div{transform:none;padding:22px}.portal-event-card h2{font-size:28px}.portal-event-card p{min-height:0;margin:8px 0 20px}.portal-explore{font-size:16px;padding:9px 20px}.portal-hero{height:300px;padding:24px 20px;background-position:65% center}.portal-title-group{gap:13px;max-width:100%;margin-top:24px}.portal-badge{width:94px;height:94px}.portal-title-group h1{font-size:32px}.portal-title-group p{font-size:16px;line-height:1.7;margin-top:12px;color:#173769;background:#ffffffc9;border-radius:6px;padding:3px 6px}.portal-breadcrumb{margin-top:23px!important}.portal-hero--interstellar .portal-title-group{max-width:90%}.portal-tabs{gap:12px;padding:0 16px}.portal-tabs button{font-size:14px;padding:0 5px}.portal-body{padding:28px 20px}.portal-content-grid,.portal-content-grid--ai{grid-template-columns:1fr;gap:30px}.portal-content-grid>aside{padding:28px 0 0;border-left:0;border-top:1px solid #e2eaf7}.portal-resource-list>li{padding:18px 0;gap:14px;min-height:84px}.portal-resource-icon{width:43px;height:43px}.portal-resource-list h3{font-size:17px}.portal-resource-list small{font-size:12px}.portal-resource-list button{font-size:13px;gap:4px}.portal-resource-list button svg{display:none}.portal-dialog{padding:22px;border-radius:18px}.portal-dialog h2{font-size:23px}.portal-platform-options{grid-template-columns:1fr}.portal-platform-options>section{padding:20px}.portal-course-grid>button{padding:16px 12px}.portal-course-grid strong{font-size:14px}.portal-footer{font-size:11px}.home-event-return{font-size:13px!important}}@media(prefers-reduced-motion:reduce){.portal-event-card{transition:none}.portal-event-card:hover{transform:rotate(-2deg)}}.portal-account-page{padding:30px 4%;min-height:calc(100svh - 132px)}@media(max-width:760px){.portal-hero{position:relative;isolation:isolate;height:auto;min-height:300px}.portal-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(90deg,#f2f8fff0,#f2f8ffcf 65%,#f2f8ff66)}.portal-title-group p{background:none;padding:0}.portal-hero--interstellar .portal-title-group{max-width:100%}}:root{font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif;color:#20232b;background:#ebecf1;font-synthesis:none;--blue: #006ee4;--muted: #686d7c;--border: #e4e6ed;--radius: 8px}.chat-heading{gap:12px;flex-wrap:wrap}.chat-heading .chat-connect{margin-left:auto;flex-shrink:0;display:flex;flex-direction:column;gap:4px;min-width:52px;min-height:0;padding:2px 6px;background:transparent;color:var(--muted)}.chat-connect-circle{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e5f1ff;border:1px solid #cbdff7;color:var(--blue)}.chat-connect-label{font-size:12px;font-weight:400;line-height:1.4;white-space:nowrap}.chat-connect:hover:not(:disabled) .chat-connect-circle{background:#d8eaff;border-color:#a7c9ee}.chat-heading .chat-stop:disabled{background:transparent!important}.chat-header-actions{display:flex;align-items:flex-start;gap:8px;margin-left:auto}.chat-header-actions .chat-connect,.chat-run-control{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:64px;padding:2px 6px;margin-left:0;color:var(--muted)}.chat-heading .robot-control{width:36px;height:36px;min-width:36px;min-height:36px}.chat-heading .robot-orbit{width:36px;height:36px}.chat-heading .robot-control-icon{width:20px;height:20px}.chat-heading .robot-control:active:not(:disabled) .robot-orbit{width:34px;height:34px}.chat-heading .robot-control:active:not(:disabled) .robot-control-icon{width:19px;height:19px}.language-switch{display:inline-flex;flex-shrink:0;padding:2px;gap:2px;border:1px solid #dce0e7;border-radius:8px;background:#f5f6f8}.language-switch button{min-height:1.875rem;min-width:2.75rem;padding:4px 10px;border-radius:5px;font-size:.875rem;font-weight:400;color:#454b56;background:transparent}.language-switch button[aria-pressed=true]{color:var(--blue);background:#fff;box-shadow:0 1px 3px #1829441a}.message .conversation-time{display:block;margin-top:10px;color:var(--muted);font-size:12px;text-align:right}.conversation-time span{display:inline-block;min-width:4.5em;font-variant-numeric:tabular-nums}.chat-model-name{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}*{box-sizing:border-box;scrollbar-color:#cdd3dd #f5f7fa;scrollbar-width:thin}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:#f5f7fa}*::-webkit-scrollbar-thumb{background:#cdd3dd;border:2px solid #f5f7fa;border-radius:8px}*::-webkit-scrollbar-thumb:hover{background:#b9c2cf}body{margin:0;min-width:280px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{border:0;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;min-height:42px;padding:10px 16px;transition:background .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(.96)}button:disabled{cursor:not-allowed;background:#f0f1f3!important;color:#9297a6!important;box-shadow:none!important}button:disabled img{filter:none;opacity:.35}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #64b6ff;outline-offset:3px}.primary{background:var(--blue);color:#fff}.secondary{background:#f2f3f7;color:#303846;border:1px solid var(--border)}.wide{width:100%}.text-button{background:transparent;color:var(--blue);padding:4px 8px;min-height:36px;font-size:14px}.icon{width:24px;height:24px;flex-shrink:0}.icon.white{filter:brightness(0) invert(1)}.topbar{height:90px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;border-bottom:1px solid #dadce4;gap:12px;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:16px;flex-shrink:0;max-width:100%;min-width:0}.brand-platform{font-family:Microsoft YaHei,微软雅黑,sans-serif;font-size:1.25rem;position:relative;top:6px;font-weight:600;line-height:1.4;color:#192b54;white-space:nowrap;flex-shrink:0}.brand-logo{display:block;width:160px;min-width:0;max-width:100%;height:auto;aspect-ratio:823 / 271}.workspace-mode-badge{display:inline-flex;align-items:center;gap:8px;margin-left:auto;padding:9px 14px;border-radius:12px;background:#edf6ff;color:#15589f;font-size:14px;white-space:nowrap}.workspace-mode-badge span{color:#52708f;font-size:12px}.workspace-mode-badge strong{font-size:16px}.workspace-mode-badge--competition{background:#fff3d7;color:#9b5c00}.workspace-mode-badge--competition span{color:#8a6a32}.top-actions{display:flex;align-items:center;gap:12px}.top-control-buttons{display:flex;align-items:center;gap:12px;flex-shrink:0}.connect-top{height:58px;min-width:174px;font-size:19px;box-shadow:0 2px 5px #006ee42e}.stop-button{background:#fff0ef;color:#b92b24;border:1px solid #f5c4c1;height:58px;min-width:82px;font-size:18px;font-weight:700}.badge{font-size:12px;white-space:nowrap;font-weight:500;border-radius:4px;padding:5px 9px;background:#eef0f5;color:#697082}.badge.mock{background:#e5f1ff;color:#005bbb}.badge.warning{background:#fff0d1;color:#965700}.badge.ready{background:#ddf6ee;color:#08765d}.workspace{padding:24px;max-width:1640px;margin:auto}.workspace-grid{display:grid;grid-template-columns:244px minmax(340px,1fr) 300px;align-items:start;gap:20px}.panel{background:#fff;border:1px solid #dfe1e8;border-radius:var(--radius);padding:20px;box-shadow:0 2px 4px #18213b05;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.panel-heading h2{font-size:17px;margin:0;font-weight:600}.count{font-size:13px;color:#697082;background:#f1f3f7;padding:3px 8px;border-radius:4px}.subtle{color:var(--muted);font-size:13px;line-height:1.65}.devices-panel>.subtle{margin:0 0 18px}.device-list{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.device-row{width:100%;padding:12px 8px;justify-content:flex-start;gap:10px;background:#f5f6f9;border:1px solid transparent;text-align:left}.device-row.selected{background:#eaf3ff;border-color:#76b8ff}.device-row .device-image{width:40px;height:38px;object-fit:contain}.device-row>span:first-of-type{min-width:0}.device-row strong{font-size:14px;display:block;white-space:nowrap}.device-row small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.device-status{font-size:11px;margin-left:auto;color:#7b8190;white-space:nowrap}.device-status.connected{color:#008166}.control-column{display:flex;flex-direction:column;gap:20px}.simulation-panel{overflow:hidden}.simulation-unavailable{min-height:220px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;color:#536b92;background:#f5f8fd;border:1px solid #e3ebf5;border-radius:12px}.simulation-unavailable h3{color:#14295c;margin:0 0 12px}.simulation-unavailable p{margin:6px 0;line-height:1.6}.simulation-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:.875rem;margin-bottom:14px}.simulation-panel>.panel-heading{flex-wrap:wrap;gap:8px}.simulation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}.simulation-task-library{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;min-width:0;max-width:100%;font-size:13px;color:#1956a2}.simulation-actions>.text-button{min-height:40px;padding:8px 12px;white-space:nowrap}.simulation-task-library span{white-space:nowrap}.simulation-task-library select{min-width:0;width:180px;max-width:100%;min-height:40px;padding:8px;border:1px solid #d5e1f3;border-radius:8px;background:#f4f7fc;color:#193e77;text-overflow:ellipsis}.simulation-task-library select:focus-visible{outline:2px solid #086aff;outline-offset:2px}.simulation-stage{position:relative;isolation:isolate;width:100%;aspect-ratio:4 / 3;background:#f6f9fc;border:1px solid #e5eaf0;border-radius:8px;overflow:hidden}.simulation-map-background{opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.simulation-map{position:relative;display:block;width:100%;height:100%;background:transparent;border:0;border-radius:8px;overflow:hidden}.simulation-map-error{color:#a32b32;font-size:14px;margin:0 0 12px;flex-shrink:0}.simulation-map-size{color:#526582;font-size:13px;margin:0 0 10px;flex-shrink:0}.workspace-grid>.control-column:has(.simulation-panel--mapped){height:auto}.control-column>.simulation-panel.simulation-panel--mapped{flex:0 0 auto}.simulation-panel.simulation-panel--mapped>.simulation-stage{flex:none;height:auto;aspect-ratio:var(--map-aspect-ratio);box-sizing:content-box;width:calc(100% - 2px)}.simulation-panel--mapped .simulation-map{position:absolute;top:0;right:0;bottom:0;left:0}.simulation-placement-hint{margin:0 0 10px;font-size:12px;line-height:1.5;color:var(--muted);flex-shrink:0}.simulation-model{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.simulation-model.is-dragging{cursor:grabbing}.simulation-model[aria-disabled=true]{cursor:default}.simulation-model:focus-visible>circle{stroke:#006ee4;stroke-width:2}.simulation-direction-handle{cursor:crosshair}.simulation-heading-angle{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;fill:#006ee4;paint-order:stroke;stroke:#f6f9fc;stroke-width:4px;stroke-linejoin:round;cursor:text;pointer-events:all}.simulation-heading-angle:focus-visible{outline:2px solid #006ee4;outline-offset:4px}.simulation-heading-editor{position:absolute;z-index:2;top:12px;right:12px;width:min(280px,calc(100% - 24px));padding:14px;box-sizing:border-box;border:1px solid #dbe2ed;border-radius:8px;background:#fff;color:#17304e;box-shadow:0 4px 18px #17304e24;font-size:14px}.simulation-heading-editor label{display:block;margin-bottom:10px;font-weight:600}.simulation-heading-input-row{display:flex;align-items:center;gap:8px}.simulation-heading-input-row input{width:100%;min-width:0;padding:8px 10px;font-size:16px}.simulation-heading-editor p{margin:10px 0;font-size:14px;line-height:1.5}.simulation-heading-editor [role=alert]{color:#c03418}.simulation-heading-editor-actions{display:flex;justify-content:flex-end;gap:8px}.simulation-heading-editor-actions button{padding:6px 14px;font-size:14px}.simulation-map:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.simulation-label{font-size:17px;fill:#25394c;paint-order:stroke;stroke:#f6f9fc;stroke-width:5px;stroke-linejoin:round}.simulation-empty{font-size:20px;fill:#42576a}.simulation-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:14px}.simulation-legend>span{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.875rem}.simulation-legend i{width:8px;height:8px;border-radius:50%}.simulation-legend small{color:var(--muted);font-size:.8125rem}@media(min-width:1101px){.workspace-grid{--workspace-panel-height: clamp(600px, calc(100dvh - 190px) , 820px)}.workspace-grid>.control-column,.workspace-grid>.chat-panel{height:var(--workspace-panel-height);min-height:0;min-width:0;align-self:start}.control-column>.simulation-panel{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.simulation-panel>.panel-heading,.simulation-panel>.simulation-caption{flex-shrink:0}.simulation-panel>.simulation-stage{flex:1 1 0;height:0;min-height:0;aspect-ratio:auto}.simulation-panel>.simulation-legend{flex-shrink:0;max-height:96px;overflow-y:auto}.workspace-grid>.chat-panel{overflow-y:auto}.chat-panel>*{flex-shrink:0}.chat-panel>.messages{flex:1 1 0;min-height:100px;max-height:none;overflow-y:auto;scrollbar-gutter:stable}.chat-panel>.modal-error{max-height:100px;overflow-y:auto}.chat-compose textarea{max-height:160px}.workspace-grid:has(.simulation-panel--mapped)>.chat-panel{height:var(--simulation-column-height, var(--workspace-panel-height));min-height:0}}.execution-controls{display:flex;align-items:center;justify-content:center;flex-shrink:0}.robot-control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;border:0;border-radius:50%;padding:0;color:#fff;background:transparent;cursor:pointer;transition:opacity .12s ease}.robot-orbit{position:absolute;width:46px;height:46px;border:3px solid #ff554f;border-radius:50%;background:#ff554f;pointer-events:none}.robot-control-icon{position:relative;z-index:1;pointer-events:none;width:25px;height:25px}.robot-control.is-running .robot-orbit{background:#ff554f;border-color:#ffbabd #9b0000 #9b0000}.robot-control.is-running:hover .robot-orbit{background:#fb1514}.robot-control:active:not(:disabled) .robot-orbit{width:42px;height:42px}.robot-control:active:not(:disabled) .robot-control-icon{width:23px;height:23px}.robot-control.is-running:active .robot-orbit{background:#d00}.robot-control:focus-visible{outline:3px solid #006dde;outline-offset:5px}.robot-control:disabled{opacity:.38;cursor:not-allowed}@media(prefers-reduced-motion:reduce){.robot-control{transition:none}.robot-control.is-running .robot-orbit{animation:none}}.select-empty{padding:8px 0 4px}@media(max-width:380px){.topbar .top-actions{gap:8px}.topbar .connect-top{min-width:128px;font-size:15px;padding:10px}.topbar .stop-button{min-width:60px;padding:10px}}.hardware-line{display:flex;justify-content:center;align-items:center;gap:clamp(12px,3vw,28px);min-height:112px;padding:20px 16px;background:#f6f8fb;border:1px solid #edf0f5;border-radius:12px}.hardware-line img{width:76px;max-width:20%;height:64px;object-fit:contain}.selected-summary{display:flex;gap:22px;align-items:center;margin:16px 0 20px}.hardware-stage{display:flex;align-items:center;justify-content:center;width:130px;height:110px;border-radius:6px;background:#e8e9ef;flex-shrink:0}.hardware-stage img{width:100px;max-height:74px;object-fit:contain}.selected-summary h3{font-size:21px;margin:0 0 12px;font-weight:500}.selected-summary p{font-size:14px;margin:0 0 10px}.selected-summary small{color:var(--muted);font-size:12px}.telemetry-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.telemetry-grid>div{padding:12px;background:#f7f8fa;border-radius:5px}.telemetry-grid span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.telemetry-grid strong{font-size:19px;font-weight:500;font-variant-numeric:tabular-nums}.motor-readings>div{display:flex;gap:14px;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding:12px 0;font-size:13px}.motor-readings b{font-weight:500}.motor-readings small{color:var(--muted)}details{font-size:13px;color:var(--muted)}summary{cursor:pointer;min-height:32px;line-height:32px}pre{font-size:12px;line-height:1.6;max-height:250px;overflow:auto;background:#f4f5f8;padding:12px;border-radius:6px}h3,p{overflow-wrap:anywhere}.inline-note{background:#f4f7fb;padding:12px;font-size:14px;border-radius:6px}.test-status{background:#f5f6f9;padding:11px 12px;border-radius:5px;font-size:13px;color:#616b7c;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}label{font-size:13px;color:#4e5867;display:flex;flex-direction:column;gap:8px}input,select,textarea{border:1px solid #d6dae4;background:#fff;border-radius:5px;padding:10px 12px;min-height:42px;width:100%;color:#202b3d;min-width:0}input:disabled,select:disabled{background:#f7f8fa;color:#969baa}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--blue);flex-shrink:0}textarea{resize:vertical;min-height:85px;line-height:1.7;font-size:14px}.test-action{display:grid;grid-template-columns:1fr 125px;gap:14px;align-items:end;margin:14px 0}.permit-button{background:#e8f2ff;color:#005fca;border:1px solid #c0dbff;margin-top:14px}.distance-test{padding-top:2px;border-top:1px solid var(--border);margin-top:18px}.distance-test small{font-size:12px;color:var(--muted);line-height:1.8}.safety-footnote{display:block;margin-top:12px;color:#8b655b;font-size:12px;line-height:1.7}.chat-panel{display:flex;flex-direction:column;min-height:580px}.messages{flex:1;max-height:500px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:10px 0 28px}.message{font-size:14px;line-height:1.8;padding:15px;border-radius:6px;overflow-wrap:anywhere}.message.system{background:#f2f4f8;color:#596576;margin-right:10px}.message strong{color:#303b4c;font-weight:500}.message p{margin:10px 0 0}.message.user{background:#e6f1ff;color:#164b89;margin-left:20px}.chat-compose{border-top:1px solid var(--border);padding-top:16px}.chat-plan{padding:16px;margin:0 0 16px;border:1px solid #b7d5f3;border-radius:8px;background:#f3f8ff;font-size:14px}.chat-plan ol{margin:12px 0;padding-left:24px;line-height:1.8}.chat-plan p{color:#596576;line-height:1.6}.chat-plan>div{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.chat-panel .message{white-space:pre-wrap}.chat-compose>div{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:10px}.chat-compose small{font-size:12px;color:var(--muted)}.compose-actions{flex-wrap:wrap}.compose-info{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:4px}.compose-info .token-quota{gap:4px 10px}.compose-info .token-quota button{white-space:nowrap}.compose-buttons{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin-left:auto}.voice-input{display:flex;flex-direction:column;align-items:flex-end;max-width:100%}.compose-buttons>button,.compose-buttons .voice-button{width:6rem;height:2.125rem;min-height:2.125rem;padding:0 .5rem;gap:.25rem;font-size:.875rem;line-height:1;white-space:nowrap;flex-shrink:0}.voice-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6dae4;background:#f4f6fa;color:#214766}.voice-button svg{width:1rem;height:1rem;flex-shrink:0}.voice-button.is-listening{color:#b32424;background:#fff0f0;border-color:#e9b0b0}.voice-status{max-width:220px;margin-top:7px;font-size:14px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.voice-status.has-error{color:#a12c26}.history-panel{margin-top:20px}.history-empty{text-align:center;color:#8a909e;font-size:14px;padding:28px 12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{color:#727987;font-weight:500;background:#f7f8fb;padding:10px 12px}td{padding:12px;border-bottom:1px solid #edf0f5;vertical-align:top}td small{display:block;margin-top:5px;color:var(--muted)}td.params{font-size:12px;max-width:260px;overflow-wrap:anywhere}td details{min-width:90px;max-width:350px}code{font-size:11px;overflow-wrap:anywhere}.job-state{display:inline-block;padding:4px 7px;border-radius:4px;white-space:nowrap;background:#f0f1f5;color:#676f7b}.job-state.completed{background:#e4f5ee;color:#147c5f}.job-state.running{background:#e5f0ff;color:#0069d4}.job-state.failed,.job-state.interrupted{background:#fff0e8;color:#ae502c}.feedback{background:#eaf4ff;border:1px solid #bedfff;padding:12px 16px;border-radius:6px;margin-bottom:18px;font-size:14px;line-height:1.7;display:flex;align-items:center;gap:12px;overflow-wrap:anywhere}.feedback.alert{background:#fff4eb;border-color:#f4cfad;color:#8d4620}.feedback button{white-space:nowrap;flex-shrink:0}footer{text-align:center;font-size:12px;color:#828896;padding:23px 0 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{border:0;border-radius:7px;padding:0;background:#fcfcfd;color:#121318;box-shadow:0 10px 18px #0004;max-height:calc(100dvh - 36px);overflow-y:auto}dialog::backdrop{background:#26344932}.connection-modal{max-height:calc(100dvh - 130px);width:min(792px,calc(100vw - 36px));margin:112px auto auto;padding:18px}.connection-heading{position:sticky;top:-18px;z-index:3;background:#fcfcfd;padding:8px 0;display:flex;align-items:center;gap:12px;margin:2px 0 20px}.connection-heading .icon{width:28px;height:28px}.connection-heading h2{font-size:23px;font-weight:500;margin:0}.close-button{margin-left:auto;color:#747b89}.hardware-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hardware-option{height:192px;background:#e5e5ed;border:2px solid transparent;padding:22px 12px;display:flex;flex-direction:column;justify-content:center;gap:26px;border-radius:6px;font-size:18px;color:#101114;font-weight:400}.hardware-option .device-image{width:120px;max-width:100%;height:74px;object-fit:contain}.hardware-option .device-image.single,.hardware-option .device-image.double,.hardware-option .device-image.color{width:100px}.hardware-option.chosen{border-color:var(--blue);background:#e6f1ff}.hardware-option:focus-visible{outline:2px solid #73b6ff;outline-offset:3px}.connection-footer{position:sticky;bottom:-18px;z-index:3;background:#fcfcfd;padding-bottom:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-top:1px solid #e7e9ee;margin-top:18px;padding-top:18px;gap:12px}.connection-footer>span{font-size:13px;color:#7c8493}.connection-footer button{height:48px;min-width:114px;font-size:19px}.connection-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#f4f6fa;padding:14px;margin-top:16px;border-radius:5px}.connection-settings p{font-size:13px;line-height:1.8;color:#657083;margin:0;align-self:center}.scan-results{grid-column:1 / -1;display:grid;gap:12px;min-width:0;overflow-wrap:anywhere}.scan-results select{width:100%;min-width:0}.device-address{overflow-wrap:anywhere;font-size:10px!important}.device-rail-heading{width:100%;min-height:64px;padding:14px 16px;border-radius:8px 8px 0 0;background:#fff;justify-content:flex-start;border-bottom:1px solid var(--border)}.panel.devices-panel{padding:0;overflow:hidden}.devices-panel.is-empty .device-rail-heading{border:0;border-radius:inherit;opacity:1;cursor:default;background:#fff!important}.device-rail-heading>span{font-size:23px;font-weight:400;color:#182435}.device-rail-heading small{color:#647d98;font-size:21px}.device-rail-heading>svg:last-child{margin-left:auto}.device-rail-heading .collapsed{transform:rotate(-90deg)}.connected-tiles{display:grid;gap:14px;padding:12px}.device-tile{display:flex;flex-direction:column;width:100%;padding:6px 6px 10px;gap:0;background:#fff;border:1px solid #edeef1;border-radius:7px;box-shadow:0 3px 8px #15234512;min-width:0}.device-tile.selected{outline:2px solid #006ee4;outline-offset:1px}.tile-picture{width:100%;height:90px;display:flex;align-items:center;justify-content:center;border-radius:3px;position:relative}.tile-picture .device-image{width:110px;height:76px;object-fit:contain}.card-badge{display:inline-flex;flex-direction:column;width:36px;border:1px solid var(--card-color);border-radius:3px;overflow:hidden;flex-shrink:0;align-self:flex-start}.card-badge>span{display:flex;justify-content:center;align-items:center;height:32px;background:var(--card-color);color:#ffffffa6}.card-badge b{background:#fff;color:#111;text-align:center;line-height:31px;font-size:22px;font-weight:400}.tile-picture>.card-badge{position:absolute;top:6px;right:6px}.tile-device-number{position:absolute;top:8px;left:8px;display:grid;place-items:center;min-width:26px;height:26px;padding:0 5px;border-radius:6px;background:#fff;color:#243854;font-size:15px;font-weight:700;line-height:1}.tile-reading{margin-top:14px;font-size:23px;font-weight:400;color:#111;line-height:1.2}.tile-label{color:#687080;font-size:11px;margin-top:6px}.saved-devices{padding:12px 14px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.saved-devices summary{cursor:pointer;padding:5px 0}.saved-device-list{display:grid;gap:5px;margin-top:8px}.saved-device-row{justify-content:flex-start;text-align:left;padding:6px;background:#f0f2f6;width:100%}.saved-device-row .device-image{width:34px;height:30px;object-fit:contain}.saved-device-row b,.saved-device-row small{display:block;font-size:12px}.saved-device-row small{margin-top:3px;color:#697282}.selected-summary{position:relative}.selected-summary>.card-badge{margin-left:auto}.detail-address{display:block;font-size:11px;color:#697282;overflow-wrap:anywhere;margin-top:7px}.device-live-reading{display:flex;background:#e8e8ef;border-radius:6px;overflow:hidden;margin:14px 0;align-items:center;min-height:150px}.device-live-reading>div{width:55%;align-self:stretch;background:#f1f1f5;padding:20px;display:flex;flex-direction:column;justify-content:center}.device-live-reading span{color:#505767;font-size:14px}.device-live-reading strong{font-size:44px;line-height:1.3;font-weight:400;margin-top:9px;color:#111}.device-live-reading .device-image{width:35%;max-height:112px;object-fit:contain;margin:auto}.battery-value{display:flex;align-items:center;gap:8px;color:#125b31}.connection-cards{border:0;margin:0;padding:0;grid-column:1/-1;min-width:0}.connection-cards legend{font-size:16px;padding:0;margin-bottom:14px}.connection-card-palette{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.connection-card{display:flex;flex-direction:column;padding:6px 6px 9px;gap:10px;min-width:0;border:1px solid #e1e3eb;border-radius:5px;background:#fff;box-shadow:0 3px 5px #131c3210}.connection-card>span{display:flex;align-items:center;justify-content:center;height:92px;width:100%;border-radius:2px;color:#ffffffa6}.connection-card.selected{outline:2px solid #006ee4;outline-offset:1px;transform:translateY(-4px)}.connection-card small{font-size:12px}.connection-cards p{margin-top:14px}.disconnect-toasts{position:fixed;top:112px;right:24px;z-index:8;width:min(500px,calc(100vw - 32px));display:grid;gap:14px;max-height:50dvh;overflow:auto;pointer-events:none;padding:4px}.disconnect-toast{display:flex;align-items:center;gap:18px;border-left:6px solid #ffd500;border-radius:3px;background:#fff;box-shadow:0 5px 13px #141d3530;padding:17px 18px;pointer-events:auto}.disconnect-toast>div{border-left:1px solid #d7dae3;padding-left:16px;min-width:0}.disconnect-toast strong{display:block;font-size:17px;color:#15191e;font-weight:400}.disconnect-toast small{display:block;font-size:11px;color:#737b87;margin-top:5px;overflow-wrap:anywhere}.disconnect-toast button{margin-left:auto;background:transparent;padding:4px;min-height:32px}.panel.devices-panel{position:relative;overflow:visible}.device-tile{position:relative}.device-tile.inspecting>:not(.tile-dismiss){filter:blur(2px)}.tile-dismiss{position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:5px;background:#162c3099;color:#fff;display:flex;align-items:center;justify-content:center}.motor-inspector{position:absolute;right:calc(100% + 12px);top:0;z-index:25;width:496px;padding:12px 12px 0;border-radius:9px;background:#fff;color:#101114;box-shadow:0 12px 30px #18202b26}.metric-picker{position:relative}.metric-trigger{width:100%;height:60px;display:flex;align-items:center;gap:24px;padding:0 22px 0 28px;background:#fcfcfd;border:1px solid #d5d7e3;border-radius:5px;font-size:20px;font-weight:400;color:#101114;text-align:left}.metric-trigger>span:nth-child(2){flex:1}.metric-trigger .card-badge{flex-shrink:0;align-self:center}.metric-trigger>.card-badge{position:static}.metric-trigger .card-badge b{display:none}.metric-trigger .rotated{transform:rotate(180deg)}.metric-options{position:absolute;z-index:2;top:calc(100% + 7px);left:-6px;right:-6px;padding:12px 6px;max-height:280px;overflow-y:auto;overscroll-behavior:contain;border-radius:5px;background:#fff;box-shadow:0 8px 17px #17202c33}.metric-options button{justify-content:flex-start;width:100%;min-height:60px;padding:12px 18px;border:0;background:#fff;text-align:left;color:#101114;font-size:20px;font-weight:400}.metric-options button:hover,.metric-options button:focus-visible{background:#eef5fb}.metric-options button[aria-selected=true]{color:#0067c7;background:#eef5fb}.inspector-motor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.inspector-motor-grid.is-single{grid-template-columns:minmax(0,1fr)}.inspector-motor-card{min-width:0;overflow:hidden;border-radius:7px;background:#f2f4f8}.inspector-motor-card .inspector-motor{min-height:150px;background:#edf0f6}.inspector-motor-value{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 10px;color:#24344c}.inspector-motor-value>span{flex-shrink:0;font-size:14px}.inspector-motor-value output{font-size:23px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}.inspector-power-gauge{width:100%;padding:20px 12px}.inspector-power-gauge meter{display:block;width:100%;height:20px;accent-color:#587ea7}.inspector-power-gauge meter::-webkit-meter-bar{background:#dce4ef;border:0}.inspector-power-gauge meter::-webkit-meter-optimum-value{background:#6d8fb4}.inspector-power-gauge meter[data-missing=true]{visibility:hidden}.inspector-power-gauge>div{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:#67758b}.inspector-imu{margin:14px 0 0;padding:16px;border-radius:7px;background:#f2f4f8}.inspector-imu>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:10px 12px;border:1px solid #dce2ec}.inspector-imu>div+div{border-top:0}.inspector-imu>div:first-child{border-radius:5px 5px 0 0}.inspector-imu>div:last-child{border-radius:0 0 5px 5px}.inspector-imu dt{font-size:16px;color:#3c4c63}.inspector-imu dd{margin:0;text-align:right;font-size:20px;color:#24344c;font-variant-numeric:tabular-nums}.inspector-reading{display:grid;grid-template-columns:1fr 1fr;min-height:180px;margin-top:14px;border-radius:7px;overflow:hidden;background:#f0f0f4}.inspector-reading output{min-width:0;display:flex;align-items:center;justify-content:center;padding:15px 8px;font-size:46px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.inspector-motor{display:flex;align-items:center;justify-content:center;background:#e5e5ed}.inspector-motor .device-image{width:160px;height:140px;max-width:90%;object-fit:contain}.inspector-footer{display:flex;align-items:center;gap:10px;margin:12px -12px 0;padding:12px 12px 12px 22px;border-top:1px solid #e9e9ef}.inspector-footer button{border:0;background:transparent;color:#101114}.inspector-disconnect{display:flex;align-items:center;gap:12px;margin-right:auto;padding:10px 6px;font-size:20px;font-weight:400}.inspector-info-button{display:flex;align-items:center;justify-content:center;width:40px;min-height:44px;padding:6px}.inspector-battery{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:7px;background:#d9f0d9;color:#00562b;font-size:20px;white-space:nowrap}.inspector-battery-label{font-size:13px}.inspector-battery.is-unknown{color:#67758b;background:#eef1f6}.inspector-battery.is-low{color:#a8442d;background:#fff0e9}.inspector-battery output{font-variant-numeric:tabular-nums}.inspector-info{display:flex;flex-direction:column;gap:8px;padding:10px 8px 18px;border-top:1px solid #e9e9ef;font-size:13px;overflow-wrap:anywhere}.inspector-info pre{max-height:220px;overflow:auto}.inspector-stale{padding:8px 6px 0;color:#6b7280;font-size:13px}.inspector-axes{display:flex;gap:8px;margin-top:12px}.inspector-axes button{flex:1;min-height:38px;border:1px solid #e0e3ea;background:#fff}.inspector-axes button[aria-pressed=true]{color:#0067c7;background:#eaf4ff;border-color:#8abde9}@media(min-width:651px)and (max-width:850px){.motor-inspector{width:calc(100vw - 300px)}.metric-trigger{padding:0 12px;gap:14px}.inspector-reading output{font-size:34px}.inspector-footer{padding:10px;gap:4px;flex-wrap:wrap}.inspector-disconnect{font-size:16px;gap:6px}.inspector-battery{font-size:16px;padding:8px}}@media(max-width:650px){.panel.devices-panel{display:flex;flex-direction:column}.motor-inspector{position:relative;order:2;width:auto;right:auto;top:auto;margin:0 10px 10px;padding:10px 10px 0;box-shadow:0 3px 14px #18202b1a}.metric-trigger{padding:0 12px;gap:14px;font-size:18px;height:54px}.metric-options button{font-size:18px;min-height:54px}.inspector-reading{min-height:140px}.inspector-reading output{font-size:34px}.inspector-footer{margin:10px -10px 0;padding:8px;gap:4px;flex-wrap:wrap}.inspector-disconnect{font-size:16px;gap:6px}.inspector-battery{font-size:16px;padding:8px}}@media(min-width:1101px){.workspace-grid{grid-template-columns:minmax(340px,1.3fr) minmax(280px,1fr) 248px}.control-column{grid-column:1;grid-row:1}.chat-panel{grid-column:2;grid-row:1}.devices-panel{grid-column:3;grid-row:1;padding:0;align-self:start}}@media(min-width:651px)and (max-width:1100px){.workspace-grid{grid-template-columns:minmax(320px,1fr) 240px!important}.control-column{grid-column:1;grid-row:1}.devices-panel{grid-column:2;grid-row:1;padding:0;align-self:start}}@media(max-width:650px){.devices-panel{padding:0!important}.connected-tiles{grid-template-columns:1fr 1fr;gap:10px}.connection-card-palette{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.connection-card>span{height:65px}.disconnect-toasts{top:125px;right:12px}.disconnect-toast{padding:13px 12px;gap:10px}.disconnect-toast strong{font-size:15px}}.connection-mode{display:flex;align-items:center;gap:14px;margin-bottom:18px;font-size:14px}.connection-mode select{width:auto;max-width:100%}.real-confirmation{grid-column:1 / -1}.arm-modal{width:min(470px,calc(100vw - 32px));padding:26px}.arm-modal h2{font-size:22px;line-height:1.5;margin:0 0 16px}.arm-modal p{font-size:14px;color:#657083;line-height:1.8}.confirmation{flex-direction:row;align-items:flex-start;background:#f0f5fc;padding:14px;line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.modal-error{font-size:14px;line-height:1.7;color:#ab3e24;background:#fff1ed;padding:10px;border-radius:5px}@media(min-width:1500px){.workspace-grid{grid-template-columns:minmax(420px,1.3fr) minmax(300px,1fr) 248px}.workspace{padding:28px}.chat-panel{min-height:640px}}@media(max-width:1100px){.workspace-grid{grid-template-columns:210px minmax(320px,1fr)}.chat-panel{grid-column:1/-1;min-height:260px}.messages{max-height:280px}.device-row{flex-wrap:wrap}.device-status{margin-left:50px}.topbar{padding:12px 18px;height:auto;min-height:90px;flex-wrap:wrap}.workspace{padding:18px}.top-actions{gap:8px}}@media(max-width:650px){body{min-width:280px}.topbar{height:auto;min-height:112px;flex-wrap:wrap;padding:12px;gap:12px}.brand{flex:1;gap:12px}.brand-platform{font-size:1.125rem}.brand-logo{width:140px}.workspace-mode-badge{padding:8px 10px}.top-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.top-actions>.badge{margin-right:auto}.connect-top{height:45px;min-width:150px;font-size:16px}.stop-button{height:45px;min-width:70px;font-size:16px}.workspace{padding:12px}.workspace-grid{display:flex;flex-direction:column;gap:12px}.workspace-grid>*{width:100%}.panel{padding:16px}.device-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.device-row{flex-wrap:nowrap;padding:10px 8px;gap:8px}.device-row .device-image{width:32px}.device-row strong{font-size:13px}.device-status{display:none}.control-column{gap:12px}.chat-panel{min-height:320px}.connection-modal{max-height:calc(100dvh - 88px);margin:70px auto auto;padding:16px;width:calc(100vw - 24px)}.connection-heading{margin-bottom:16px}.connection-heading h2{font-size:21px}.hardware-options{grid-template-columns:1fr 1fr;gap:10px}.hardware-option{height:142px;font-size:16px;gap:14px;padding:16px 8px}.hardware-option .device-image{height:58px;width:100px}.connection-settings{grid-template-columns:1fr;gap:12px}.connection-footer{padding-top:14px;margin-top:16px}.feedback{flex-direction:column;align-items:flex-start}.history-panel .panel-heading{align-items:flex-start;flex-direction:column;gap:6px}.test-action{grid-template-columns:1fr 112px}.selected-summary{gap:16px}.hardware-stage{width:105px;height:100px}.hardware-stage img{width:85px}.motor-readings>div{gap:8px;flex-wrap:wrap}.table-scroll th,.table-scroll td{padding:10px 8px}footer{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}:root{--pook-blue:#0069fa;--pook-blue-hover:#0057d6;--pook-ink:#0d2054;--pook-muted:#586580;--pook-line:#dfe6f0;--pook-canvas:#f5f8fd;--pook-tint:#eaf2ff;--pook-danger:#b32e3c;--pook-success:#246447}:where(.app-shell,.admin-page,.competition-access,.login-page,.home-shell:not([data-section=home])){--blue:var(--pook-blue);--muted:var(--pook-muted);--border:var(--pook-line);--radius:16px;color:var(--pook-ink);font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif;line-height:1.6}:where(.app-shell,.admin-page,.competition-access,.login-page) ::selection{background:#d9eaff;color:var(--pook-ink)}:where(.app-shell,.admin-page,.competition-access,.login-page) :is(input,textarea){caret-color:var(--pook-blue)}:where(.app-shell,.admin-page,.competition-access,.login-page) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--pook-blue);outline-offset:3px}:where(.app-shell,.admin-page,.competition-access,.login-page) button{font-family:inherit;transition:background-color .16s ease,color .16s ease,border-color .16s ease}:where(.app-shell,.admin-page,.competition-access,.login-page) button:disabled{cursor:not-allowed}.pook-brand-mark{display:block;width:200px;height:auto;flex-shrink:0}.app-shell{min-height:100svh;background:var(--pook-canvas)}.app-shell.app-shell--with-nav{--workspace-nav-width:0px}.app-shell .topbar{min-height:76px;height:76px;padding:10px 2.8%;border-color:var(--pook-line);position:relative;z-index:10;flex-wrap:nowrap}.app-shell .brand{gap:24px}.app-shell .brand-logo{width:200px}.app-shell .brand-platform{font-family:inherit;font-size:15px;font-weight:500;top:0;color:var(--pook-muted);padding-left:24px;border-left:1px solid var(--pook-line)}.app-shell .workspace-mode-badge{border-radius:24px;padding:8px 16px;background:var(--pook-tint);color:#1956a2}.app-shell .workspace-mode-badge--competition{background:#fff0c6;color:#885700}.app-shell .workspace-mode-badge strong{font-size:15px}.app-shell .workspace-nav{position:relative;inset:auto;width:100%;display:flex;flex-direction:row;gap:8px;align-items:center;padding:10px 2.8%;background:#fff;border:0;border-bottom:1px solid var(--pook-line);overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c7d6ee transparent}.app-shell .workspace-nav button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:44px;min-height:44px;padding:10px 16px;border-radius:10px;color:var(--pook-muted);font-size:14px;margin:0;border:0;background:transparent;white-space:nowrap}.app-shell .workspace-nav .workspace-nav-home{color:var(--pook-ink);margin-right:auto}.app-shell .workspace-nav button:hover:not([aria-disabled=true]),.app-shell .workspace-nav button[aria-expanded=true]{background:var(--pook-tint);color:var(--pook-blue)}.app-shell .workspace-nav button[aria-disabled=true]{color:#67758b;opacity:.65}.app-shell .workspace{width:100%;max-width:1920px;padding:28px 2.8% 40px;margin:0 auto}.app-shell.app-shell--with-nav>.workspace{margin-left:auto}.workspace-introduction{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px}.workspace-introduction h1{font-size:26px;line-height:1.4;margin:0 0 6px;letter-spacing:-.025em;overflow-wrap:anywhere}.workspace-introduction p{margin:0;color:var(--pook-muted);font-size:14px}.workspace-connection-state{flex-shrink:0;color:#1956a2;background:#eaf2ff;padding:8px 14px;border-radius:24px;font-size:13px}.app-shell .workspace-grid.workspace-grid--two-panels.workspace-grid--flow{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.12fr) minmax(250px,.64fr);gap:20px;--workspace-panel-height:clamp(600px, calc(100dvh - 276px) ,850px)}.app-shell .workspace-grid>.control-column,.app-shell .workspace-grid>.chat-panel{height:var(--workspace-panel-height);min-height:0;min-width:0;align-self:start}.app-shell .workspace-grid>.control-column{grid-column:1;grid-row:1}.app-shell .workspace-grid>.chat-panel{grid-column:2;grid-row:1}.app-shell .workspace-grid>.workspace-task-column{grid-column:3;grid-row:1;height:var(--workspace-panel-height);min-width:0}.app-shell .panel{border:1px solid var(--pook-line);border-radius:16px;box-shadow:none;background:#fff}.app-shell .simulation-panel{padding:20px}.app-shell .simulation-panel .panel-heading{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}.app-shell .panel-heading h2,.app-shell .task-flow-heading h2{color:var(--pook-ink);font-size:18px;font-weight:700;line-height:1.4}.app-shell .simulation-actions{gap:6px;flex-wrap:wrap}.app-shell .simulation-actions button{padding:8px 10px;min-height:40px;border-radius:8px;background:var(--pook-tint);color:#1956a2;font-size:13px}.app-shell .simulation-actions button:disabled{background:#f0f3f8;color:#67758b}.app-shell .simulation-stage{border-radius:12px;border:1px solid #e3ebf5;background:#f9fbff}.app-shell .simulation-empty{fill:var(--pook-muted);font-family:inherit}.app-shell .simulation-legend{padding-top:12px;color:var(--pook-muted);font-size:13px}.app-shell .chat-panel{padding:0;overflow:hidden;display:flex;flex-direction:column}.app-shell .workspace-grid>.chat-panel:has(.session-timer){overflow-y:auto}.app-shell .chat-heading{padding:12px 16px;margin:0;border-bottom:1px solid var(--pook-line);min-height:90px;gap:12px}.app-shell .chat-header-actions{gap:4px;align-items:center}.app-shell .chat-header-actions .chat-connect,.app-shell .chat-header-actions .chat-run-control{min-width:48px;padding:0 4px;gap:4px;font-size:12px}.app-shell .chat-connect-circle{width:36px;height:36px;background:var(--pook-tint);color:var(--pook-blue);border:0}.app-shell .chat-connect-label{font-size:12px;color:var(--pook-muted)}.app-shell .messages{padding:20px;margin:0;gap:16px;flex:1;min-height:120px;max-height:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7d6ee transparent}.app-shell .message{padding:14px 16px;border-radius:12px;font-size:14px;line-height:1.8;max-width:94%;border:0;box-shadow:none;overflow-wrap:anywhere}.app-shell .message.system{background:#f0f5fd;color:#344967;align-self:flex-start}.app-shell .message.user{background:#0069fa;color:#fff;align-self:flex-end}.app-shell .message p{margin:8px 0 0}.app-shell .chat-compose{padding:16px 20px;margin:0;background:#fff;border-top:1px solid var(--pook-line);flex-shrink:0}.app-shell .chat-compose textarea{min-height:96px;max-height:150px;border:1px solid #cbd8eb;border-radius:12px;background:#f9fbfe;padding:14px;font:inherit;font-size:15px;color:var(--pook-ink)}.app-shell .chat-compose textarea::placeholder{color:#64728a}.app-shell .compose-actions{gap:12px;align-items:center;flex-wrap:wrap}.app-shell .compose-actions small{color:var(--pook-muted);font-size:12px}.app-shell .compose-buttons{margin-left:auto}.app-shell .compose-buttons button{min-height:42px;border-radius:24px;padding:8px 18px}.app-shell .compose-buttons .primary{background:var(--pook-blue);color:#fff;min-width:80px}.app-shell .compose-buttons .primary:disabled{background:#e9edf4;color:#56647a}.app-shell .message .conversation-time{padding:8px 0 0;border-top:1px solid #d8e4f5;font-size:12px;color:var(--pook-muted);font-variant-numeric:tabular-nums}.app-shell .chat-panel>:is(.modal-error,.archive-notice){margin:12px 16px 0}.app-shell .task-flow-panel{border-radius:16px}.app-shell .task-flow-heading{min-height:72px;padding:20px;color:#1956a2}.app-shell .task-flow-content{padding:16px}.app-shell .task-flow-empty{padding:40px 12px;font-size:14px;line-height:1.9}.app-shell .task-flow-empty>svg{color:#8aa4c7}.app-shell .task-flow-empty small{padding-top:10px;font-size:12px}.app-shell .task-flow-status{border-radius:20px;padding:5px 10px}.app-shell .task-flow-note{font-size:12px}.app-shell .workspace-task-column>.workspace-device-status.workspace-device-rail{position:relative;inset:auto;margin:0;flex-shrink:0;background:#fff;box-shadow:none;border:1px solid var(--pook-line);border-radius:16px}.app-shell .workspace-device-rail .device-rail-heading{min-height:56px;background:#fff;border-radius:16px}.app-shell .workspace-device-rail .motor-inspector{box-shadow:0 16px 44px #1633541a;border:0;border-radius:16px;color:var(--pook-ink)}.app-shell .feedback{border-radius:12px;margin-bottom:20px;font-size:14px}.app-shell dialog{font-family:inherit;color:var(--pook-ink);border:0;border-radius:16px;box-shadow:0 24px 80px #1633542b}.app-shell dialog::backdrop{background:#12254480}.app-shell .connection-modal{width:min(900px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:32px;margin:auto}.app-shell .connection-heading{gap:12px;padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid var(--pook-line);color:var(--pook-blue)}.app-shell .connection-heading h2{color:var(--pook-ink);font-size:24px}.app-shell .connection-heading .close-button{min-height:44px;border-radius:24px;background:#f0f5fd;color:var(--pook-muted)}.app-shell .connection-mode{font-size:14px;font-weight:600;color:var(--pook-ink)}.app-shell .connection-selectors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:0 0 20px}.app-shell .connection-selectors>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;min-width:0;font-size:14px;font-weight:600;color:var(--pook-ink)}.app-shell .connection-selectors select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #cbd8eb;border-radius:10px;background:#f9fbfe;color:var(--pook-ink);font:inherit}.app-shell .connection-product-unavailable{padding:24px;border:1px solid #dbe5f4;border-radius:12px;background:#f5f8fd;color:var(--pook-ink)}.app-shell .connection-product-unavailable p{margin:10px 0 0;line-height:1.6}@media(max-width:600px){.app-shell .connection-selectors{gap:12px}.app-shell .connection-selectors select{font-size:13px;padding:10px 6px}}.app-shell .connection-mode select,.app-shell .connection-settings input:not([type=checkbox]),.app-shell .connection-settings select{min-height:48px;border:1px solid #cbd8eb;border-radius:10px;background:#f9fbfe;color:var(--pook-ink);font:inherit}.app-shell .hardware-option{border:1px solid var(--pook-line);border-radius:12px;box-shadow:none;background:#fff;color:var(--pook-ink);font-size:16px}.app-shell .hardware-option.chosen{background:#edf5ff;border:2px solid var(--pook-blue);color:#1956a2}.app-shell .connection-settings{gap:20px}.app-shell .connection-settings :is(label,legend){color:var(--pook-ink);font-size:14px}.app-shell .connection-settings p{color:var(--pook-muted);font-size:13px;line-height:1.8}.app-shell .scan-results{border-radius:12px;padding:18px;background:#f5f8fd}.app-shell .scan-results>button,.app-shell .connection-footer>button,.app-shell .modal-actions>button{border-radius:28px;min-height:46px;padding:10px 24px;font-size:15px}.app-shell .connection-footer{margin-top:24px;border-top:1px solid var(--pook-line);padding-top:20px}.app-shell .workspace-feature-modal{width:min(1240px,calc(100vw - 48px));height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);background:#f5f8fd}.app-shell .workspace-feature-modal-close{position:sticky;float:right;top:16px;margin:16px 16px 0 0;right:auto;z-index:5;border-radius:50%;background:#eaf2ff;color:#1956a2}.app-shell :is(.project-archives,.api-call-history,.api-directory,.session-overview--embedded){padding:36px;color:var(--pook-ink);background:transparent;min-width:0}.app-shell :is(.project-archives,.api-call-history,.api-directory) h2,.app-shell .overview-heading h2{font:700 26px/1.4 Arial,Microsoft YaHei,PingFang SC,sans-serif;color:var(--pook-ink);margin:0}.app-shell :is(.archive-intro,.archive-muted,.api-history-note,.overview-note){color:var(--pook-muted);font-size:14px;line-height:1.8}.app-shell .archive-row{border:1px solid var(--pook-line);background:#fff;border-radius:12px;box-shadow:none}.app-shell .archive-row>summary{padding:20px;gap:16px}.app-shell .archive-row-main>strong{font-size:16px;color:var(--pook-ink)}.app-shell .archive-row-main>span,.app-shell .archive-row time{color:var(--pook-muted)}.app-shell :is(.archive-empty,.api-history-empty){padding:48px 24px;background:#fff;border-radius:16px;color:var(--pook-muted);font-size:15px}.app-shell .archive-download{min-height:44px;border-radius:24px;color:#1956a2;background:#eaf2ff;border:0}.app-shell .archive-detail{padding:24px;border-top:1px solid var(--pook-line)}.app-shell .overview-card{border:1px solid var(--pook-line);box-shadow:none;border-radius:12px;background:#fff}.app-shell .overview-card h3{color:var(--pook-ink);font-size:17px}.app-shell .overview-stats dd{color:var(--pook-ink);font-variant-numeric:tabular-nums}.app-shell .api-history-table-wrap{border-radius:12px;border:1px solid var(--pook-line);background:#fff;overflow:auto}.app-shell .api-history-table-wrap :is(th,td){padding:16px;border-color:var(--pook-line);color:var(--pook-ink)}.app-shell .api-history-table-wrap th{background:#edf4ff}.app-shell .api-directory details{background:#fff;border:1px solid var(--pook-line);border-radius:12px;margin:12px 0;padding:16px}.app-shell .api-directory summary{color:var(--pook-ink);font-size:16px}.app-shell .thinking-report{color:var(--pook-ink)}.admin-page{padding:0;min-height:100svh;background:var(--pook-canvas)}.admin-page .admin-header{min-height:76px;display:flex;align-items:center;gap:24px;padding:10px 2.8%;background:#fff;border-bottom:1px solid var(--pook-line)}.admin-header-account{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:14px}.admin-header-account span{color:var(--pook-muted)}.admin-page .admin-header>button{border:1px solid var(--pook-line);border-radius:24px;padding:8px 18px;min-height:44px;background:#fff;color:var(--pook-ink)}.admin-layout{display:grid;grid-template-columns:246px minmax(0,1fr);max-width:1680px;margin:0 auto;min-height:calc(100svh - 76px)}.admin-sidebar{padding:36px 24px;border-right:1px solid var(--pook-line)}.admin-sidebar h1{margin:0 0 8px;font-size:23px;color:var(--pook-ink)}.admin-sidebar>p{margin:0;font-size:13px;color:var(--pook-muted)}.admin-page .admin-sidebar nav{display:flex;flex-direction:column;gap:8px;margin:32px 0 0}.admin-page .admin-sidebar nav button{display:flex;align-items:center;gap:12px;min-height:50px;padding:12px 16px;border-radius:12px;text-align:left;justify-content:flex-start;background:transparent;color:var(--pook-muted);font-size:15px}.admin-page .admin-sidebar nav button.active{background:var(--pook-blue);color:#fff}.admin-page .admin-sidebar nav button:hover:not(.active){color:var(--pook-blue);background:#e8f0ff}.admin-content{padding:40px;min-width:0}.admin-content h2{font-size:28px;line-height:1.4;margin:0 0 12px;color:var(--pook-ink)}.admin-content h3{color:var(--pook-ink)}.admin-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.admin-section-heading p{color:var(--pook-muted);margin:0;font-size:15px}.admin-content button{min-height:44px;padding:10px 18px;border-radius:10px;background:#eaf2ff;color:#1956a2;font-size:14px}.admin-content button:hover:not(:disabled){background:#dceaff;filter:none}.admin-content button:disabled{color:#56647a;background:#e9edf4}.admin-content .admin-users{background:#fff;border:1px solid var(--pook-line);border-radius:16px;gap:0;margin:0;overflow:hidden}.admin-content .admin-users:empty{display:none}.admin-content .admin-users article{display:flex;align-items:center;gap:16px;padding:22px 24px;border:0;border-radius:0;box-shadow:none}.admin-content .admin-users article+article{border-top:1px solid var(--pook-line)}.admin-user-avatar{width:48px;height:48px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;color:#1956a2;background:#eaf2ff}.admin-users article>div{display:grid;gap:4px}.admin-users article strong{font-size:16px}.admin-users article>div span,.admin-users article>small{font-size:14px;color:var(--pook-muted)}.admin-users article>small{margin-left:auto}.admin-empty{text-align:center;color:var(--pook-muted);padding:60px 24px;background:#fff;border-radius:16px}.admin-empty>svg{color:#8aa4c7}.admin-content .admin-scan{max-width:800px}.admin-scan>p{color:var(--pook-muted);font-size:15px}.admin-content .admin-scan :is(input,textarea){min-height:48px;font:inherit;border:1px solid #cbd8eb;border-radius:10px;padding:12px 14px}.admin-content .admin-scan video{width:min(100%,480px);border-radius:16px}.admin-content .admin-manual-scan{background:#fff;border:1px solid var(--pook-line);border-radius:12px;padding:20px;margin-top:28px}.admin-content .admin-manual-scan summary{color:var(--pook-muted);cursor:pointer}.admin-content .admin-candidate{padding:24px;border:1px solid #cbded1;box-shadow:none;border-radius:16px;background:#f0f9f3}.admin-content .admin-candidate button{background:var(--pook-blue);color:#fff;border-radius:28px;min-height:48px}.admin-content .question-bank{max-width:none}.admin-content .question-bank .bank-heading h2{margin:0}.admin-content .bank-summary{margin-top:8px}.admin-content .bank-list{gap:0;border:1px solid var(--pook-line);border-radius:12px;overflow:hidden}.admin-content .bank-list article{border:0;border-radius:0;padding:22px}.admin-content .bank-list article+article{border-top:1px solid var(--pook-line)}.admin-content .bank-list article.is-selected{background:#edf5ff}.admin-content .question-bank .bank-primary{color:#fff;background:var(--pook-blue);border-radius:28px}.admin-content .question-bank .bank-primary:disabled{color:#56647a;background:#e9edf4}.admin-content .bank-publish{background:#eaf2ff;border-radius:12px}.admin-content .bank-help{font-size:13px;line-height:1.8}.admin-content .bank-question-content>p{font-size:16px}.admin-content .bank-editor{background:#f9fbfe;padding:20px;border:1px solid var(--pook-line);border-radius:12px}.competition-access .competition-header{min-height:76px}.competition-access .competition-qr-stage{max-width:600px;margin:48px auto;padding:0 24px}.competition-access .competition-qr-stage h1{font-size:30px}.competition-access .competition-qr-stage>p{color:var(--pook-muted);line-height:1.8}.competition-access .competition-qr{box-shadow:0 16px 40px #1633540d;padding:28px;gap:20px}.competition-access .competition-qr>svg{width:min(100%,320px);height:auto}.competition-access .competition-backup{width:100%;text-align:left;background:#f5f8fd;padding:14px 16px;border-radius:10px;font-size:14px}.competition-access .competition-question-page{max-width:980px}.competition-access .competition-quiz h1{font-size:30px}.competition-access .quiz-progress{padding:16px 20px;border-radius:12px;background:#eaf2ff}.competition-access .quiz-progress button{background:#fff;border-radius:24px;min-height:44px;color:#1956a2}.competition-access .quiz-question{padding:28px;margin:28px 0;border-radius:16px}.competition-access .quiz-question textarea{font-size:16px;border-radius:10px;min-height:120px}.competition-access .quiz-options label{color:var(--pook-ink);font-size:16px;padding:14px 16px;border-radius:10px}.competition-access .quiz-submit{border-top:1px solid var(--pook-line);padding-top:24px}.home-shell:not([data-section=home]) .home-page{background:var(--pook-canvas);min-height:calc(100svh - 76px)}.home-shell:not([data-section=home]) .home-section-panel{width:min(1200px,100%);margin:auto;padding:48px 40px;color:var(--pook-ink)}.home-shell:not([data-section=home]) .home-section-panel h1{font-size:32px;margin:0 0 16px;letter-spacing:-.025em}.home-shell:not([data-section=home]) .home-section-panel>p{color:var(--pook-muted);max-width:72ch}.resource-empty{margin-top:36px;padding:64px 32px;border:1px solid var(--pook-line);border-radius:16px;background:#fff;text-align:center}.resource-empty>svg{color:#4979b4;margin-bottom:16px}.resource-empty h2{margin:0 0 12px;color:var(--pook-ink);font-size:22px}.resource-empty p{color:var(--pook-muted);margin:0 auto 24px;max-width:48ch}.resource-empty button{background:var(--pook-blue);color:#fff;border-radius:28px;padding:10px 24px;min-height:48px}.home-shell .home-help-steps{max-width:880px;list-style:decimal;padding:8px 0 0 26px;counter-reset:none}.home-shell .home-help-steps li{padding:22px 0 22px 12px;border-bottom:1px solid var(--pook-line);color:#344967;font-size:16px;line-height:1.9}.home-shell .home-help-steps li::marker{color:var(--pook-blue);font-weight:700}.home-shell .home-language-setting{max-width:800px;padding:28px;margin-top:30px;border:1px solid var(--pook-line);border-radius:16px;background:#fff;color:var(--pook-ink)}.home-shell .home-language-setting .language-switch{border:0;padding:4px;border-radius:28px;background:#edf4ff}.home-shell .home-language-setting .language-switch button{min-height:44px;border-radius:24px;padding:8px 20px}.home-shell .home-account-page{width:min(960px,calc(100% - 64px));margin:0 auto;padding:44px 0 60px;display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.home-shell .home-account-page-heading{grid-column:1/-1;margin:0}.home-shell .home-account-page-heading h1{font-size:30px}.home-shell .home-account-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-self:start;gap:0 40px;padding:8px 28px;background:#fff;border:1px solid var(--pook-line);border-radius:16px;margin:0}.home-shell .home-account-details>div{min-width:0;padding:18px 0;background:transparent;border:0;border-bottom:1px solid var(--pook-line);border-radius:0;gap:6px}.home-shell .home-account-details>div:nth-last-child(-n+2){border-bottom:0}.home-shell .home-account-details span{font-size:13px;color:var(--pook-muted)}.home-shell .home-account-details strong{overflow-wrap:anywhere;line-height:1.6}.home-shell .home-account-form{padding:28px;gap:22px}.home-shell .home-account-form h2{margin:0;font-size:21px}.home-shell .home-account-save{border-radius:28px;min-height:48px;padding:10px 24px}.home-shell .home-signout-button{border-radius:28px;min-height:48px}.home-shell .home-account-actions{flex-wrap:wrap;align-self:start}.home-shell .home-account-exit-note{margin:0;color:var(--pook-muted);font-size:14px;line-height:1.6}.home-shell .projects-page{max-width:1400px;margin:0 auto;padding:44px 40px 60px;color:var(--pook-ink)}.projects-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.home-shell .projects-page-heading h1{font:700 30px/1.4 Arial,Microsoft YaHei,PingFang SC,sans-serif;margin:0 0 8px}.projects-page-heading p{color:var(--pook-muted);font-size:15px;margin:0}.home-shell .project-create-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 24px;color:#fff;background:var(--pook-blue);border-radius:28px;flex-shrink:0}.home-shell .projects-toolbar{gap:16px;padding:16px;border:1px solid var(--pook-line);background:#fff;border-radius:12px;margin-bottom:28px}.home-shell .projects-search{min-height:44px;border-radius:8px;border-color:var(--pook-line);background:#f9fbfe}.home-shell .projects-toolbar button{min-height:44px;border-radius:8px;color:var(--pook-muted)}.home-shell .projects-toolbar button:disabled{color:#66758c!important;background:transparent!important;opacity:.7}.home-shell .projects-views button[aria-pressed=true]{background:#eaf2ff;color:var(--pook-blue)}.home-shell .projects-collection--grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px}.home-shell .project-card{min-width:0}.home-shell .project-select{opacity:1;width:20px;height:20px;top:14px;left:14px;accent-color:var(--pook-blue)}.home-shell .project-open{gap:0;border:1px solid var(--pook-line);border-radius:16px;overflow:hidden;background:#fff}.home-shell .project-preview{height:174px;border:0;border-radius:0;background:#eef5ff;padding:24px;gap:12px}.home-shell .project-preview img{width:80px;height:64px}.home-shell .project-preview>span{color:var(--pook-muted);font-size:14px}.home-shell .project-card-info{padding:18px 20px;gap:8px;text-align:left}.home-shell .project-card-name{color:var(--pook-ink);font-size:17px}.home-shell .project-card time{color:var(--pook-muted);font-size:13px}.home-shell .project-card--selected .project-open{border-color:var(--pook-blue)}.home-shell .project-card--selected .project-preview{border:0;background:#e2eeff}.home-shell .projects-collection--list .project-card{border:0;padding:6px 0}.home-shell .projects-collection--list .project-preview{width:110px;height:100px}.home-shell .projects-empty{background:#fff;border:1px solid var(--pook-line);border-radius:16px;color:var(--pook-muted);padding:70px 24px}.home-shell .projects-empty button{color:#fff;background:var(--pook-blue);border-radius:28px;min-height:48px;padding:10px 24px}.login-page{background:#f5f8fd;color:var(--pook-ink)}.login-page--modal{background:#12254470;-webkit-backdrop-filter:none;backdrop-filter:none}.login-page .login-card{width:min(100%,520px);padding:36px;border-radius:16px;box-shadow:0 24px 70px #1633541f}.login-page .login-brand{flex-direction:column;align-items:flex-start;gap:20px;margin:0 0 28px}.login-page .login-logo{width:200px}.login-page .login-brand-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.login-page .login-brand h1{font-size:18px;font-weight:600;color:var(--pook-ink);white-space:normal;margin:0}.login-page .login-version{font-size:12px;padding:3px 10px}.login-page .login-tabs{padding:4px;border-radius:12px;background:#edf3fc;margin-bottom:24px}.login-page .login-tabs button{border-radius:8px;min-height:46px;color:var(--pook-muted)}.login-page .login-tabs button[aria-selected=true]{color:var(--pook-blue);box-shadow:0 2px 6px #1633540d}.login-page .login-card label{font-size:14px;font-weight:600;color:var(--pook-ink)}.login-page .login-card input{min-height:52px;padding:12px 14px;border-radius:10px;border-color:#cbd8eb;font-size:16px;color:var(--pook-ink);background:#f9fbfe;margin-bottom:20px}.login-page .login-card input::placeholder{color:#64728a}.login-page .login-submit{min-height:50px;border-radius:28px;font-size:17px;background:var(--pook-blue)}.login-page .login-submit:disabled{background:#e9edf4;color:#56647a}.login-page .login-forgot{font-size:14px;min-height:44px}.login-page .login-dismiss{min-width:40px;min-height:40px;top:16px;right:16px}@media(max-width:1200px)and (min-width:761px){.app-shell .workspace-grid.workspace-grid--two-panels.workspace-grid--flow{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important}.app-shell .workspace-grid>.workspace-task-column{grid-column:1/-1;grid-row:2;height:420px}.app-shell .workspace-grid>.control-column,.app-shell .workspace-grid>.chat-panel{height:640px}.app-shell .chat-heading{padding:16px}.app-shell .chat-heading h2{width:100%}.app-shell .chat-header-actions{margin-left:0;width:100%;justify-content:flex-end}.app-shell .task-flow-empty{padding:48px 16px}.admin-layout{grid-template-columns:200px minmax(0,1fr)}.admin-sidebar{padding:30px 16px}.admin-content{padding:32px 24px}.admin-section-heading{align-items:flex-start}.admin-content .bank-heading{flex-wrap:wrap}}@media(max-width:1000px){.home-shell .home-account-profile-fields,.admin-layout{grid-template-columns:1fr}.admin-sidebar{padding:24px 28px 0;border:0}.admin-sidebar h1{font-size:24px}.admin-sidebar>p{display:none}.admin-page .admin-sidebar nav{flex-direction:row;margin:20px 0 0;gap:8px;flex-wrap:wrap}.admin-page .admin-sidebar nav button{min-height:46px;padding:10px 16px}.admin-content{padding:28px}}@media(max-width:760px){.app-shell .topbar{height:66px;min-height:66px;padding:10px 20px;gap:12px}.app-shell .brand-logo{width:155px}.app-shell .brand-platform,.app-shell .workspace-mode-badge>span{display:none}.app-shell .workspace-mode-badge{padding:6px 10px}.app-shell .workspace-mode-badge strong{font-size:13px}.app-shell .workspace-nav{padding:8px 16px;gap:4px}.app-shell .workspace-nav button{padding:8px 12px;gap:6px;font-size:13px}.app-shell .workspace-nav .workspace-nav-home{margin-right:0}.app-shell .workspace{padding:24px 20px 36px}.workspace-introduction{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:20px}.workspace-introduction h1{font-size:24px}.workspace-connection-state{font-size:12px;padding:6px 12px}.app-shell .workspace-grid.workspace-grid--two-panels.workspace-grid--flow{display:flex;flex-direction:column;gap:20px}.app-shell .workspace-grid>.chat-panel{order:0;height:620px;width:100%}.app-shell .workspace-grid>.chat-panel:has(.session-timer){height:auto;min-height:760px}.app-shell .chat-panel:has(.session-timer) .messages{flex:1 1 auto;max-height:300px}.app-shell .workspace-grid>.control-column{order:1;height:460px;width:100%}.app-shell .workspace-grid>.workspace-task-column{order:2;height:440px;width:100%}.app-shell .chat-heading{padding:16px}.app-shell .chat-heading h2{font-size:17px}.app-shell .chat-header-actions{gap:0}.app-shell .chat-header-actions .chat-connect,.app-shell .chat-header-actions .chat-run-control{min-width:44px;padding:0 2px}.app-shell .messages{padding:16px}.app-shell .message{font-size:14px;padding:12px 14px}.app-shell .chat-compose{padding:14px 16px}.app-shell .compose-actions small{flex-basis:100%}.app-shell .compose-buttons{justify-content:flex-end}.app-shell .simulation-panel{padding:16px}.app-shell .task-flow-heading{padding:18px}.app-shell .workspace-device-rail .motor-inspector{position:relative;inset:auto;width:100%}.app-shell .connection-modal{width:calc(100vw - 24px);padding:24px 20px;max-height:calc(100dvh - 24px);margin:auto}.app-shell .connection-heading h2{font-size:22px}.app-shell .connection-settings{grid-template-columns:1fr}.app-shell .connection-card-palette{flex-wrap:wrap}.app-shell .connection-footer{gap:12px;flex-wrap:wrap}.app-shell .hardware-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .workspace-feature-modal{width:calc(100vw - 20px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.app-shell :is(.project-archives,.api-call-history,.api-directory,.session-overview--embedded){padding:28px 20px}.app-shell :is(.project-archives,.api-call-history,.api-directory) h2,.app-shell .overview-heading h2{font-size:23px;padding-right:30px}.app-shell .archive-row>summary{padding:16px;flex-wrap:wrap}.app-shell .archive-detail{padding:16px}.app-shell .overview-content{grid-template-columns:1fr}.admin-page .admin-header{min-height:66px;padding:12px 20px;gap:12px;flex-wrap:wrap}.admin-header .pook-brand-mark{width:155px}.admin-header-account{margin-left:auto;font-size:13px}.admin-header-account>span{display:none}.admin-page .admin-header>button{padding:6px 12px;font-size:13px}.admin-sidebar{padding:24px 20px 0}.admin-page .admin-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.admin-page .admin-sidebar nav button{justify-content:center;flex-direction:column;gap:6px;padding:10px 4px;font-size:13px}.admin-content{padding:28px 20px 40px}.admin-content h2{font-size:24px}.admin-section-heading{align-items:flex-start;flex-direction:column}.admin-content .admin-users article{flex-wrap:wrap;padding:20px}.admin-users article>small{margin-left:64px;flex-basis:100%}.admin-content .bank-list article{padding:18px}.admin-content .bank-editor{padding:16px}.competition-access .competition-header{min-height:66px}.competition-access .competition-qr-stage{margin:32px auto;padding:0 20px}.competition-access .competition-qr-stage h1,.competition-access .competition-quiz h1{font-size:26px}.competition-access .competition-qr{padding:20px}.competition-access .competition-question-page{padding:24px 20px 40px}.competition-access .quiz-progress{padding:12px 14px;gap:8px}.competition-access .quiz-question{padding:20px}.competition-access .quiz-prompt{font-size:16px}.competition-access .quiz-options label{font-size:15px}.home-shell:not([data-section=home]) .home-section-panel{padding:32px 24px}.home-shell:not([data-section=home]) .home-section-panel h1{font-size:28px}.resource-empty{padding:44px 24px}.home-shell .home-help-steps{padding-left:20px}.home-shell .home-help-steps li{font-size:15px;padding:18px 0 18px 8px}.home-shell .home-language-setting{padding:20px}.home-shell .home-account-page{width:calc(100% - 40px);padding:32px 0 40px;grid-template-columns:1fr;gap:24px}.home-shell .home-account-page-heading{gap:14px}.home-shell .home-account-page-heading h1{font-size:28px}.home-shell .home-account-details{gap:0 24px;padding:8px 20px}.home-shell .home-account-form{padding:22px 20px}.home-shell .home-account-page-heading p{font-size:14px}.home-shell .projects-page{padding:32px 24px 40px}.projects-page-heading{flex-direction:column;align-items:flex-start;gap:20px}.home-shell .projects-page-heading h1{font-size:28px}.home-shell .projects-toolbar{padding:12px;gap:10px}.home-shell .projects-actions{flex-wrap:wrap}.home-shell .projects-actions button{padding:6px 10px}.home-shell .projects-collection--grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.login-page .login-card{padding:32px 24px 24px}.login-page .login-logo{width:180px}.login-page .login-brand h1{font-size:16px}.login-page .login-tabs button{padding:12px 4px;font-size:13px;white-space:nowrap}}@media(max-width:600px){.home-shell .home-account-details{grid-template-columns:minmax(0,1fr)}.home-shell .home-account-details>div:nth-last-child(2){border-bottom:1px solid var(--pook-line)}.home-shell .home-account-page-heading{align-items:flex-start}.home-shell .home-account-avatar--hero{width:56px;height:56px;flex-shrink:0}}@media(prefers-reduced-motion:reduce){:where(.app-shell,.admin-page,.competition-access,.login-page) *{transition:none!important;scroll-behavior:auto!important}}.app-shell .workspace-task-column{display:flex;flex-direction:column;gap:16px}.app-shell .workspace-task-column>.task-flow-panel{flex:1;height:auto;min-height:260px}.app-shell .workspace-device-rail .connected-tiles{max-height:210px;overflow-y:auto}.app-shell .chat-stop:not(:disabled) .chat-connect-circle{background:#fff0f0;color:var(--pook-danger)}.app-shell .chat-stop:not(:disabled) .chat-connect-label{color:var(--pook-danger)}.home-shell .home-account-form>label{align-self:start}.app-shell .api-directory-group{background:#fff;border:1px solid var(--pook-line);border-radius:12px;padding:24px}.app-shell .api-directory-group h3{color:var(--pook-ink)}.app-shell .api-directory-group li{color:#344967;border-color:var(--pook-line);line-height:1.8}.app-shell .compact-report-block{border-color:var(--pook-line);border-radius:12px;background:#fff}.app-shell .compact-report-block h4{color:var(--pook-ink)}.app-shell .compact-report-block h4>span{display:none}@media(max-width:1200px){.app-shell .workspace-grid>.workspace-task-column{height:auto;min-height:440px}.app-shell .workspace-task-column>.task-flow-panel{min-height:440px}}.app-shell .topbar{padding-block:0;gap:42px}.app-shell .workspace-brand{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell .workspace-brand[aria-disabled=true]{cursor:not-allowed}.app-shell .workspace-navigation{flex:1;min-width:0;height:100%}.app-shell .workspace-nav-toggle{display:none}.app-shell .topbar .workspace-nav{height:100%;padding:0;gap:24px;align-items:stretch;border:0;overflow:visible}.app-shell .topbar .workspace-nav button{position:relative;height:100%;padding:0 10px;border-radius:0;color:var(--pook-ink);font-size:17px}.app-shell .topbar .workspace-nav button>svg{display:none}.app-shell .topbar .workspace-nav button:hover:not([aria-disabled=true]){background:#f2f7ff}.app-shell .topbar .workspace-nav button[data-selected=true]{color:var(--pook-blue);background:transparent;font-weight:700}.app-shell .topbar .workspace-nav button:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--pook-blue);opacity:0;pointer-events:none}.app-shell .topbar .workspace-nav button[data-selected=true]:after,.app-shell .topbar .workspace-nav button:hover:not([aria-disabled=true]):after,.app-shell .topbar .workspace-nav button:focus-visible:after{opacity:1}.app-shell .topbar .workspace-mode-badge{flex-shrink:0}@media(max-width:1200px)and (min-width:1001px){.app-shell .topbar{gap:20px}.app-shell .topbar .workspace-nav{gap:4px}.app-shell .topbar .workspace-nav button{padding-inline:8px;font-size:16px}}@media(max-width:1000px){.app-shell .topbar{gap:12px}.app-shell .workspace-navigation{display:flex;align-items:center;justify-content:flex-end}.app-shell .workspace-nav-toggle{display:grid;place-items:center;width:44px;height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--pook-ink)}.app-shell .topbar .workspace-nav{display:none;position:absolute;top:100%;left:0;right:0;height:auto;width:100%;padding:14px 20px;background:#fff;border-bottom:1px solid var(--pook-line);box-shadow:0 12px 24px #12305912}.app-shell .workspace-navigation.is-open .workspace-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .topbar .workspace-nav button{min-height:48px;padding:10px 8px;white-space:normal;font-size:15px}.app-shell .topbar .workspace-nav button>svg{display:block;flex-shrink:0}}@media(max-width:760px){.admin-page .admin-sidebar nav:has(button:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}.app-shell .chat-panel .chat-heading{display:flex;align-items:center;justify-content:space-between}.app-shell .chat-panel .chat-heading h2{width:auto;margin:0}.app-shell .workspace-grid>.control-column:has(.simulation-panel--mapped){height:auto}@media(min-width:761px){.app-shell .workspace-grid>.chat-panel{height:var(--simulation-column-height,var(--workspace-panel-height))}}@media(min-width:1201px){.app-shell .workspace-grid>.workspace-task-column{height:var(--simulation-column-height,var(--workspace-panel-height))}.app-shell .workspace-task-column>.task-flow-panel{min-height:0}}.app-shell .chat-panel .chat-header-actions{width:auto;margin-left:auto}
