:root{color-scheme:dark;--bg:#080a0d;--panel:#151619;--line:#2b2d33;--text:#f0f1f6;--muted:#9ca6b4;--blue:#215cff;--green:#43db83;--amber:#ffc42b;--red:#ff867d;--violet:#b69bff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{min-height:100dvh;background:radial-gradient(ellipse 100% 340px at 50% -60px,#142346 0%,#080a0d 80%)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;min-height:44px}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus,textarea:focus,select:focus,summary:focus-visible{outline:2px solid #7eacff;outline-offset:3px}.shell{padding-bottom:calc(106px + env(safe-area-inset-bottom));min-height:100dvh}.top{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:960px;margin:auto;padding:calc(46px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 18px max(20px,env(safe-area-inset-left))}.top h1{font-size:1.6rem;letter-spacing:-.035em;line-height:1.2;margin:0;font-weight:750}.connection{border:1px solid var(--line);background:#1b202bcc;padding:12px 14px;border-radius:999px;font-size:.8rem;font-weight:600;white-space:nowrap}.connection.ok{color:#d1d6e1}.connection.bad{color:var(--red);white-space:normal}.round{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:44px;height:44px;flex:none;background:linear-gradient(#1c2028,#181b21);border:1px solid var(--line);font-size:1.6rem}.icon{width:22px;height:22px;vertical-align:middle;flex:none}main{max-width:960px;margin:auto;padding:0 max(16px,env(safe-area-inset-right)) 30px max(16px,env(safe-area-inset-left));min-width:0}.card{background:linear-gradient(145deg,#18191c,#111316);border:1px solid var(--line);border-radius:24px;padding:20px;margin:10px 0 12px;min-width:0}.card h2{font-size:1.4rem;letter-spacing:-.025em;line-height:1.2;margin:12px 0}.card h3{font-size:1rem;margin:20px 0 10px}.card p:last-child{margin-bottom:0}.muted,.hint{color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.hint{font-size:.82rem}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:.9rem}.section-head p{margin:5px 0 0}.section-head h3{margin:0;font:inherit;font-weight:600}.section-label{color:var(--muted);font-size:.9rem;font-weight:500;margin:24px 6px 8px}.status{font-weight:650;font-size:1rem}.status.ready,.tone.pass{color:var(--green)}.status.running,.tone.running,.tone.stopping{color:#a8c7ff}.status.offline,.tone.failed{color:var(--red)}.tone.partial{color:var(--amber)}.tone.blocked{color:var(--violet)}.tone.cancelled{color:var(--muted)}.active-card{background:linear-gradient(140deg,#172342,#111317 85%);border-color:#293b61}.timer{font-size:3rem;letter-spacing:-.025em;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;margin:14px 0}.primary,.secondary,.danger{border-radius:999px;padding:13px 16px;font-weight:650;min-height:48px;transition:filter .15s;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary{background:linear-gradient(#2463ff,#1e54fa);border:1px solid #477dff;box-shadow:0 8px 24px #194eff40;color:white;min-height:60px;font-size:1.1rem}.secondary{background:linear-gradient(#26282c,#1f2024);border:1px solid #36383d;color:#ecedf2}.danger{background:#291c1c;border:1px solid #613936;color:var(--red);min-height:60px;font-size:1.15rem}.wide{width:100%;margin-top:12px}.link{background:none;color:var(--muted);padding:8px;line-height:1.5;min-height:44px}.section-head .link{color:#a8c7ff}.center{text-align:center}.bottom{position:fixed;z-index:3;bottom:calc(12px + env(safe-area-inset-bottom));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));height:66px;display:flex;align-items:center;justify-content:space-around;padding:4px;border:1px solid var(--line);background:#191c23ee;border-radius:999px;backdrop-filter:blur(18px)}.bottom button{background:none;color:#929cac;min-width:44px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 8px;border-radius:999px}.bottom button.selected{background:#30343d;color:white}.bottom small{font-size:.66rem}.bottom .new{color:#fff;background:var(--blue);width:48px;height:48px;min-height:48px;padding:10px}.bottom .new small{display:none}.bottom .new .icon{width:26px;height:26px}.screen-new .bottom,.screen-running .bottom,.screen-technical .bottom,.screen-result .bottom,.screen-devices .bottom{display:none}.screen-new,.screen-running,.screen-technical,.screen-result,.screen-devices{padding-bottom:env(safe-area-inset-bottom)}.task-row{width:100%;display:flex;align-items:center;text-align:left;gap:12px;background:none;border-bottom:1px solid #232529;padding:14px 0;min-height:72px}.task-row:first-child{padding-top:0}.task-row:last-child{border-bottom:0;padding-bottom:0}.row-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.row-main b{font-size:1rem;overflow-wrap:anywhere}.row-main small{color:var(--muted);font-size:.79rem;line-height:1.4}.marker{font-weight:750;font-size:.65rem;letter-spacing:.04em;padding:5px 6px;border-radius:7px;background:#282b33;color:#bfc7d3;max-width:90px;overflow-wrap:anywhere;flex:none}.marker.pass{background:#173b28;color:var(--green)}.marker.partial{background:#47371c;color:var(--amber)}.marker.blocked{background:#30283f;color:var(--violet)}.marker.failed{background:#482822;color:var(--red)}.result-symbol{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:12px;background:#272c38;font-weight:700;color:#cbd1dc}.result-symbol.pass{color:var(--green);background:#1b3929}.result-symbol.partial{color:var(--amber);background:#40351b}.result-symbol.blocked{color:var(--violet);background:#2f2845}.result-symbol.failed{color:var(--red);background:#402824}.dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none;background:var(--muted)}.dot.ready{background:var(--green)}.dot.running{background:#548bff}.dot.offline{background:var(--red)}label{display:block;color:var(--muted);font-size:.85rem;margin:8px 0}input,textarea,select{width:100%;min-width:0;min-height:48px;background:#16181d;border:1px solid #30333a;border-radius:14px;padding:12px;margin-top:6px}select{max-width:100%}textarea{resize:vertical;min-height:280px;line-height:1.5;font-size:1.1rem}.form-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:8px;margin-bottom:12px}.form-top button{font-size:.85rem;color:#a8c7ff;background:#12203c;border-color:#2b3f65;padding:8px}.project-picker{margin:0}.project-picker select{border-radius:999px;margin:0;height:100%}.prompt-card{padding:16px;display:flex;flex-direction:column;align-items:flex-end}.prompt-card label{align-self:flex-start;margin:0}.prompt-card textarea{background:none;border:0;padding:6px 0;min-height:300px;margin:6px 0 14px}.prompt-card button{font-size:.85rem}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode{background:linear-gradient(#17181b,#121416);border:1px solid #34353b;border-radius:22px;padding:18px 14px;text-align:left;min-height:80px}.mode.active{border:1.5px solid #598aff;background:#13213e}.mode b,.mode small{display:block}.mode b{font-size:1.05rem}.mode small{font-size:.8rem;color:var(--muted);margin-top:5px;line-height:1.4}.advanced-details{margin:16px 0}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;color:var(--muted);font-size:.9rem}summary span:last-child{text-align:right;overflow-wrap:anywhere;font-size:.82rem}.advanced{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.advanced select{font-size:.85rem}.facts{margin:0}.facts>div{display:flex;align-items:baseline;gap:15px;border-bottom:1px solid #25262c;padding:12px 0}.facts>div:last-child{border:0}.facts dt{color:var(--muted);flex:1;min-width:0}.facts dd{margin:0;max-width:65%;text-align:right;font-weight:600;overflow-wrap:anywhere}.timer-orb{position:relative;display:flex;align-items:center;justify-content:center;width:208px;height:208px;margin:12px auto 24px;border:1px solid #34456b;border-radius:50%;background:radial-gradient(at 35% 25%,#4a608d,#132754 55%,#0c1b39);box-shadow:0 0 0 14px #14224477,0 0 0 15px #29395a,0 0 70px #164be94d}.timer-orb:after{content:"";position:absolute;inset:-16px;border:2px solid transparent;border-bottom-color:#7da5ff;border-radius:50%;transform:rotate(40deg)}.timer-orb.stopping{filter:saturate(.4)}.running-primary{padding:24px 0 4px}.running-primary h2{font-size:1.5rem;letter-spacing:-.03em}.report{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:inherit;line-height:1.55;margin:12px 4px 24px;max-width:100%}.card .report{margin:0}.result-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.result-heading>div{flex:1;min-width:130px}.result-heading h2{margin:0;font-size:1.6rem}.result-heading p{font-size:.85rem;margin:4px 0;color:#b5bdcc}.result-heading .result-symbol{width:48px;height:48px;font-size:1.8rem;border-radius:15px}.outcome.pass{border-color:#214631;background:linear-gradient(135deg,#112c20,#121617)}.outcome.blocked{border-color:#473b62;background:linear-gradient(135deg,#242032,#131518)}.outcome.partial{border-color:#5b4b23;background:linear-gradient(135deg,#302a18,#141617)}.outcome.failed{border-color:#633931;background:linear-gradient(135deg,#32211e,#141517)}.outcome.cancelled{border-color:#3c424c}.actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:24px}.actions>.primary{grid-column:1/-1}.actions>.secondary{margin-top:0}.actions>.secondary:only-child{grid-column:1/-1}.actions>.round{width:48px;height:48px;padding:10px}.project-row,.setting,.device-card{display:flex;align-items:center;gap:12px;border-bottom:1px solid #28292d;padding:16px 0;min-height:64px}.project-row:last-of-type,.setting:last-of-type{border:0}.project-row span:nth-child(2),.setting span,.device-card div{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px;overflow-wrap:anywhere}.project-row small,.setting small,.device-card small{color:var(--muted);font-size:.8rem;line-height:1.4}.project-row em{font-style:normal;color:var(--green);font-size:.8rem}.project-row em.unavailable{color:var(--muted)}.setting-button{width:100%;text-align:left;background:none;color:inherit;font-size:1rem}.setting button{padding:10px 14px;font-size:.85rem}.model-row{display:flex;flex-direction:column;gap:6px;padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.model-row:last-child{border:0}.model-row small,.model-row span{font-size:.8rem;color:var(--muted);line-height:1.5}.device-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#182847;color:#9bbaff}.filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.filters select{font-size:.85rem}.alert{background:#302121;border:1px solid #643936;border-radius:16px;padding:12px 14px;color:#ffb3a9;margin:12px 0;line-height:1.5;overflow-wrap:anywhere}.notice{color:#a8c7ff;font-size:.85rem;line-height:1.5;padding:4px;overflow-wrap:anywhere}.auth{min-height:100dvh;padding:calc(68px + env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));max-width:480px;margin:auto}.brand{display:flex;gap:8px;align-items:center;justify-content:center;font-size:.95rem;margin-bottom:32px}.pair{padding:0;margin:0;width:100%}.pair h2{font-size:2rem;letter-spacing:-.035em;line-height:1.14;margin:0 0 16px}.pair>.muted{font-size:1rem;margin-bottom:24px}.pair .hint{margin-top:22px}.code-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:12px 0 16px}.code-grid input{margin:0;padding:8px 0;text-align:center;font-size:1.6rem;font-weight:600;height:60px;border-radius:16px;background:linear-gradient(#1c1d20,#131416)}.pair>label{margin-top:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.copy-fallback{position:fixed;left:-9999px;top:0}.home-secondary .card{padding-top:14px;padding-bottom:14px}
@media(min-width:700px) and (max-width:999px){main{max-width:680px}.top{max-width:680px;padding-top:calc(52px + env(safe-area-inset-top))}.bottom{max-width:620px;margin:auto}.top h1{font-size:2rem}.prompt-card textarea{min-height:380px}.card{padding:24px}.auth{max-width:540px;padding-top:100px}}
@media(min-width:1000px){.shell{padding-left:168px;padding-bottom:24px}.top{padding-top:40px;max-width:1000px}.top h1{font-size:1.8rem}.bottom,.screen-new .bottom,.screen-running .bottom,.screen-technical .bottom,.screen-result .bottom,.screen-devices .bottom{display:flex;position:fixed;top:20px;bottom:20px;left:16px;right:auto;width:144px;height:auto;border-radius:24px;flex-direction:column;justify-content:flex-start;gap:12px;padding:32px 10px}.bottom button{width:100%;display:flex;flex-direction:row;justify-content:flex-start;gap:12px;padding:12px}.bottom small{font-size:.82rem}.bottom .new{width:100%;height:48px}.bottom .new small{display:block}.top{padding-left:28px;padding-right:28px}main{padding:0 28px 30px;max-width:1000px}.screen-home main,.screen-running main,.screen-result main,.screen-settings main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.screen-home main>.alert,.screen-home main>.notice,.screen-running main>.alert,.screen-running main>.notice,.screen-result main>.alert,.screen-result main>.notice,.screen-settings main>.alert,.screen-settings main>.notice{grid-column:1/-1}.home-secondary>.section-label:first-child{margin-top:12px}.running-primary{padding-top:54px}.running-secondary{padding-top:20px}.result-secondary>.section-label{margin-top:12px}.task-form{max-width:740px;margin:auto}.prompt-card textarea{min-height:260px}.history-page{max-width:850px;margin:auto}.auth{max-width:520px;padding-top:70px}.pair h2{font-size:2.1rem}.actions .primary{font-size:1rem}}
@media(max-width:380px){.top{flex-wrap:wrap}.form-top{grid-template-columns:1fr}.advanced{grid-template-columns:1fr}.marker{max-width:70px}.bottom small{font-size:.58rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.top{flex-wrap:wrap}.connection{max-width:100%}
