:root{color-scheme:light;font-family:Be Vietnam Pro,Noto Sans,Nunito Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16211d;background:#f4f6f8;--otto-green: #10b981;--otto-green-dark: #059669;--otto-green-deep: #047857;--otto-blue: #3b96ea;--otto-blue-dark: #2065d1;--otto-yellow: #f4c430;--otto-orange: #ff9500;--otto-ink: #172033;--otto-muted: #64748b;--otto-line: #dfe7ef;--otto-panel: #ffffff;--otto-soft: #f8fafc;--otto-shadow: 0 18px 42px rgba(15, 23, 42, .1);--otto-shadow-soft: 0 10px 26px rgba(15, 23, 42, .08)}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{overflow:hidden;background:#f4f6f8}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin-top:0}.eyebrow{margin:0 0 5px;color:var(--otto-muted);font-size:.73rem;font-weight:900;letter-spacing:.02em;text-transform:uppercase}.button,.icon-button,.map-back-button,.map-step-button,.challenge-dot,.current-challenge-summary,.current-map-chip,.map-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.button:focus-visible,.icon-button:focus-visible,.map-back-button:focus-visible,.map-step-button:focus-visible,.challenge-dot:focus-visible,.current-challenge-summary:focus-visible,.current-map-chip:focus-visible,.mobile-tabs button:focus-visible,.map-card:focus-visible,.logo-lockup:focus-visible{outline:3px solid rgba(59,150,234,.32);outline-offset:3px}.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid transparent;border-radius:8px;font-weight:900}.button{min-width:96px;gap:6px;padding:0 16px}.icon-button{width:44px;color:var(--otto-green-deep);background:#fff}.button:hover,.icon-button:hover,.map-back-button:hover,.map-step-button:hover,.challenge-dot:hover,.current-challenge-summary:hover,.current-map-chip:hover,.map-card:hover{transform:translateY(-1px)}.button:active,.icon-button:active,.map-back-button:active,.map-step-button:active,.challenge-dot:active,.current-challenge-summary:active,.current-map-chip:active,.map-card:active{transform:translateY(0) scale(.99)}.button:disabled{cursor:not-allowed;opacity:.52;transform:none}.primary{color:#fff;background:var(--otto-green);box-shadow:0 12px 24px #10b98140}.primary:hover{background:var(--otto-green-dark)}.secondary,.ghost{color:var(--otto-green-deep);border-color:#10b98142;background:#f0fdf4}.select-shell{position:relative;min-height:100dvh;overflow:auto;padding:18px clamp(14px,2.2vw,34px) 24px;background:radial-gradient(circle at 8% 12%,rgba(16,185,129,.16),transparent 30%),radial-gradient(circle at 92% 6%,rgba(59,150,234,.14),transparent 28%),linear-gradient(135deg,#f8fafc,#eef7f3 44%,#f7fbff)}.select-shell:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.32;background-image:linear-gradient(rgba(59,150,234,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(59,150,234,.1) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(circle at 52% 40%,#000 0%,transparent 76%);mask-image:radial-gradient(circle at 52% 40%,#000 0%,transparent 76%)}.select-atmosphere{position:fixed;right:-120px;bottom:-180px;width:520px;height:520px;border-radius:50%;background:#f4c4302e;filter:blur(12px);pointer-events:none}.select-topbar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;max-width:1360px;margin:0 auto 16px;gap:18px}.logo-lockup{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:9px 15px;border:1px solid rgba(16,185,129,.18);border-radius:8px;background:#ffffffd1;box-shadow:var(--otto-shadow-soft);text-decoration:none}.logo-lockup img{display:block;width:min(210px,48vw);height:38px;object-fit:contain}.select-progress{display:grid;min-width:210px;gap:8px;padding:10px 14px;border:1px solid rgba(59,150,234,.18);border-radius:8px;background:#fffc;box-shadow:var(--otto-shadow-soft);color:var(--otto-ink);font-weight:900}.select-progress div{height:7px;overflow:hidden;border-radius:999px;background:#e6edf4}.select-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--otto-green),var(--otto-blue))}.select-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(280px,.32fr) minmax(0,1fr);align-items:stretch;max-width:1360px;margin:0 auto;gap:clamp(16px,2vw,28px)}.mission-rail{position:relative;align-self:start;display:flex;min-height:0;flex-direction:column;padding:clamp(20px,2.2vw,28px);overflow:hidden;border:1px solid rgba(16,185,129,.24);border-radius:8px;color:#fff;background:linear-gradient(160deg,#047857fa,#10b981eb 54%,#3b96eae6),var(--otto-green);box-shadow:var(--otto-shadow)}.mission-rail:after{content:none}.robot-orb{position:relative;z-index:1;display:grid;place-items:center;width:96px;height:96px;margin-bottom:22px;border-radius:24px;background:#fff;box-shadow:inset 0 -12px 24px #10b98114,0 16px 32px #04785752}.robot-orb img{width:70px;height:70px;object-fit:contain}.rail-kicker{position:relative;z-index:1;margin-bottom:10px;color:#ffffffc7;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.mission-rail h2{position:relative;z-index:1;max-width:12ch;margin-bottom:14px;font-size:clamp(2.35rem,4.1vw,3.55rem);line-height:.96;letter-spacing:-.06em;text-wrap:balance}.mission-rail p:not(.rail-kicker){position:relative;z-index:1;max-width:32ch;margin-bottom:18px;color:#ffffffd6;line-height:1.55}.rail-stack{position:relative;z-index:1;display:grid;gap:10px;margin-top:auto}.rail-stack span{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 13px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#ffffff24;font-weight:800}.map-select-panel{min-width:0;padding:clamp(16px,2vw,28px);border:1px solid rgba(223,231,239,.9);border-radius:8px;background:#ffffffc2;box-shadow:var(--otto-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.select-copy{display:grid;max-width:780px;margin-bottom:18px}.select-copy h1{margin-bottom:8px;color:var(--otto-ink);font-size:clamp(2rem,3.7vw,4.2rem);line-height:.96;letter-spacing:-.065em;text-wrap:balance}.select-copy p:last-child{max-width:66ch;margin-bottom:0;color:var(--otto-muted);font-size:1rem;line-height:1.5}.map-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.map-card{display:flex;min-width:0;min-height:468px;flex-direction:column;justify-content:space-between;gap:10px;padding:10px;border:1px solid #dfe7ef;border-radius:8px;color:var(--otto-ink);background:linear-gradient(180deg,#fffffffa,#f8fafcf0),#fff;box-shadow:0 12px 26px #0f172a14;text-align:left}.map-card:hover{border-color:#10b98173;box-shadow:0 18px 36px #0f172a21}.map-card.complete{border-color:#10b9818c}.map-card-head,.map-card-action,.map-tags{display:flex;align-items:center;gap:8px}.map-card-head{justify-content:space-between}.map-number{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;color:#fff;background:var(--otto-green);font-weight:950;letter-spacing:-.03em}.map-status{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;color:var(--otto-blue-dark);background:#eaf4ff;font-size:.78rem;font-weight:900}.map-status.done{color:var(--otto-green-deep);background:#dcfce7}.map-preview{position:relative;display:grid;place-items:center;aspect-ratio:16 / 10;min-height:0;overflow:hidden;border:1px solid rgba(59,150,234,.16);border-radius:8px;background:radial-gradient(circle at 50% 42%,rgba(59,150,234,.11),transparent 46%),linear-gradient(180deg,#f4f9ff,#eef5f3)}.map-preview.cargo-preview{border-color:#a162073d;background:radial-gradient(circle at 48% 42%,rgba(202,138,4,.16),transparent 44%),linear-gradient(180deg,#fff8e8,#eef5f3)}.map-artwork{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.01)}.cargo-preview-badge{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 10px 4px 6px;border:1px solid rgba(133,77,14,.18);border-radius:999px;color:#713f12;background:#fffbebf0;box-shadow:0 8px 18px #78350f29;font-size:.78rem;font-weight:950}.cargo-target-badge{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 10px 4px 6px;border:1px solid rgba(6,95,70,.18);border-radius:999px;color:#064e3b;background:#f0fdf4f2;box-shadow:0 8px 18px #065f4624;font-size:.78rem;font-weight:950}.cargo-preview-badge img,.cargo-target-badge img{width:24px;height:24px;object-fit:contain}.map-card-copy h2{margin-bottom:7px;color:var(--otto-ink);font-size:clamp(1.35rem,1.8vw,1.78rem);line-height:1.02;letter-spacing:-.045em}.map-card-copy p{margin-bottom:0;color:var(--otto-muted);line-height:1.5}.map-tags{flex-wrap:wrap}.map-tags span,.budget-pill,.mission-metrics span{display:inline-flex;align-items:center;min-height:30px;gap:6px;padding:0 10px;border-radius:999px;color:#173228;background:#edf9f3;font-size:.82rem;font-weight:900;white-space:nowrap}.map-card-action{justify-content:space-between;min-height:46px;padding:0 13px;border-radius:8px;color:#fff;background:var(--otto-green);font-weight:950}.map-card-action svg{transform:rotate(180deg)}.app-shell{display:grid;grid-template-rows:auto 1fr;width:100%;height:100dvh;gap:0;padding:0;overflow:hidden;background:#f8f9fa}.studio-topbar,.mission-strip,.panel{border:1px solid var(--otto-line);background:var(--otto-panel);box-shadow:var(--otto-shadow-soft)}.studio-topbar{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;min-height:72px;padding:10px 16px;gap:12px;border-color:#059669;border-width:0 0 1px;border-radius:0;background:var(--otto-green);box-shadow:0 2px 8px #0000001a}.studio-brand-group{display:flex;align-items:center;gap:8px;min-width:0;flex-shrink:0}.map-back-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:7px;padding:0 13px;border:0;border-radius:8px;color:var(--otto-green);background:#fff;box-shadow:0 2px 8px #0000001a;font-weight:950}.studio-logo-card{display:grid;place-items:center;width:120px;height:44px;padding:8px 10px;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 2px 8px #0000001a}.studio-logo-card img{width:100%;height:100%;object-fit:contain}.studio-mode-tabs{display:flex;align-items:center;margin-left:8px;padding:4px;border:1px solid rgba(255,255,255,.22);border-radius:20px;background:#fff;box-shadow:0 2px 8px #0000001a}.mode-tab{display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:7px;padding:0 14px;border:0;border-radius:16px;color:#64748b;background:transparent;font-size:.86rem;font-weight:950;cursor:pointer}.mode-tab.active{color:var(--otto-green);background:#f0fdf4}.studio-map-switcher{display:grid;grid-template-columns:36px minmax(0,420px) 36px;align-items:center;justify-content:center;justify-self:center;min-width:0;width:min(100%,540px);max-width:100%;gap:6px;padding:4px;border-radius:9999px;background:#fff;box-shadow:0 2px 8px #0000001a}.map-step-button,.challenge-dot,.current-challenge-summary,.current-map-chip{min-height:36px;border:0;border-radius:999px;color:var(--otto-green-deep);background:transparent;box-shadow:none}.map-step-button{display:grid;place-items:center;width:36px;padding:0}.map-step-button:not(:disabled):hover{background:#f0fdf4}.map-step-button.next svg{transform:rotate(180deg)}.map-step-button:disabled{cursor:not-allowed;opacity:.46;transform:none}.challenge-dot-strip{display:flex;align-items:center;min-width:0;gap:6px;overflow:hidden}.challenge-dot{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;padding:0;border:1px solid var(--otto-green);color:var(--otto-green);background:transparent;font-size:.84rem;font-weight:950}.challenge-dot:hover{background:#f0fdf4}.challenge-dot.active{color:#fff;border-color:var(--otto-green);background:var(--otto-green);box-shadow:0 3px 8px #10b98147}.challenge-dot.complete:not(.active){background:#f0fdf4}.challenge-dot svg{font-size:1.05rem}.current-challenge-summary{display:grid;align-content:center;flex:1 1 220px;min-width:0;min-height:36px;margin-left:5px;padding:0 12px;background:#f8fafc;text-align:left}.current-challenge-summary:hover{background:#f8fafc}.current-challenge-summary strong,.current-challenge-summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-challenge-summary strong{color:var(--otto-ink);font-size:.87rem;font-weight:950}.current-challenge-summary small{color:var(--otto-muted);font-size:.78rem;font-weight:850}.current-map-chip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:0 12px 0 3px;background:#f8fafc;cursor:default;text-align:left}.current-map-chip:hover,.current-map-chip:active{transform:none}.current-map-chip span{display:grid;place-items:center;min-width:48px;height:32px;padding:0 9px;border-radius:999px;color:#fff;background:var(--otto-green);font-size:.82rem;font-weight:950;letter-spacing:-.02em}.current-map-chip strong,.current-map-chip small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-map-chip strong{color:var(--otto-ink);font-size:.9rem;font-weight:950}.current-map-chip small{color:var(--otto-muted);font-size:.78rem;font-weight:850}.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:4px;border-radius:20px;background:#fff;box-shadow:0 2px 8px #0000001a}.top-actions .icon-button,.top-actions .button{min-height:42px;border-radius:14px;box-shadow:none}.top-actions .icon-button{width:42px;border:0;background:transparent}.top-actions .secondary{min-width:92px;border-color:transparent;background:#f0fdf4}.top-actions .primary{min-width:92px;background:var(--otto-green);box-shadow:none}.mission-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:96px;padding:14px 18px;border-radius:8px}.mission-copy h1{margin-bottom:5px;color:var(--otto-ink);font-size:clamp(1.55rem,2.4vw,2.35rem);line-height:1.02;letter-spacing:-.055em}.mission-copy p:last-child{max-width:900px;margin-bottom:0;color:var(--otto-muted);line-height:1.45}.mission-metrics{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.mission-metrics .metric-warning,.budget-pill.over{color:#7c2d12;background:#fff0db}.mobile-tabs{display:none;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px 0;background:#f8f9fa}.mobile-tabs button{min-height:44px;border:1px solid var(--otto-line);border-radius:8px;color:var(--otto-ink);background:#fff;font-weight:900}.mobile-tabs .active{color:#fff;border-color:var(--otto-green);background:var(--otto-green)}.studio-grid{display:grid;grid-template-columns:clamp(540px,38vw,800px) minmax(0,1fr);height:100%;min-height:0;gap:16px;padding:12px;overflow:hidden;background:#f8f9fa}.panel{display:flex;min-width:0;min-height:0;height:100%;flex-direction:column;overflow:hidden;border-color:#e9ecef;border-radius:8px;background:#fff;box-shadow:0 2px 8px #00000014}.builder-panel{border-width:2px;background:#f8f9fa}.simulator-panel{position:relative;gap:0;border-width:1px}.panel-head{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;position:relative;min-height:48px;padding:9px 14px;border-bottom:1px solid #dee2e6;gap:10px;background:#fff}.builder-panel .panel-head{justify-content:center}.builder-panel .panel-head>div{text-align:center}.builder-panel .panel-head .eyebrow{display:none}.panel-head h2,.feedback-card h2{margin-bottom:0;color:#495057;font-size:.95rem;line-height:1.2}.budget-pill{position:absolute;right:12px;top:50%;transform:translateY(-50%)}.ottobit-workspace-shell{display:flex;flex:1 1 auto;min-width:0;min-height:360px;background:#fff}.builder-content-stack{display:grid;flex:1 1 auto;min-width:0;min-height:360px;background:#fff}.builder-workspace-view,.code-preview{grid-area:1 / 1;min-width:0;min-height:0}.builder-workspace-view{display:none}.builder-workspace-view.active{display:flex}.builder-workspace-view .ottobit-workspace-shell{flex:1 1 auto}.code-preview{display:none;flex-direction:column;overflow:hidden;background:linear-gradient(90deg,rgba(16,185,129,.06) 1px,transparent 1px),linear-gradient(rgba(16,185,129,.04) 1px,transparent 1px),#0f172a;background-size:32px 32px;color:#dbeafe}.code-preview.active{display:flex}.code-preview-head{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;min-height:44px;gap:12px;padding:0 14px;border-bottom:1px solid rgba(148,163,184,.28);background:#0f172ad1}.code-preview-head span{color:#fff;font-weight:950}.code-preview-head small{overflow:hidden;color:#94a3b8;font-size:.78rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.code-preview pre{flex:1 1 auto;min-height:0;margin:0;padding:18px;overflow:auto;color:#dbeafe;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92rem;line-height:1.65;-moz-tab-size:2;tab-size:2}.code-preview code{font:inherit;white-space:pre}.blockly-host{flex:1 1 auto;min-width:0;min-height:360px}.status-dot{width:12px;height:12px;flex:0 0 12px;border-radius:999px;background:#9ca3af;box-shadow:0 0 0 4px #9ca3af26}.status-dot.ready,.status-dot.success{background:var(--otto-green);box-shadow:0 0 0 4px #10b9812b}.status-dot.running{background:var(--otto-blue);box-shadow:0 0 0 4px #3b96ea2b}.status-dot.retry,.status-dot.error{background:var(--otto-orange);box-shadow:0 0 0 4px #ff95002b}.simulator-status-ribbon{position:absolute;top:12px;right:12px;z-index:2;display:inline-flex;align-items:center;gap:9px;min-height:36px;padding:0 12px;border:1px solid rgba(226,232,240,.8);border-radius:999px;color:#334155;background:#ffffffeb;box-shadow:0 8px 20px #0f172a14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.84rem;font-weight:950}.simulator-frame{position:relative;flex:1 1 auto;min-height:0;border-bottom:1px solid #dee2e6;background:#f8f9fa}.simulator-frame iframe{display:block;width:100%;height:100%;border:0;background:#f8f9fa}.feedback-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);gap:10px;flex:0 0 136px;max-height:154px;padding:12px 14px;overflow:auto;border-top:0;background:#f8f9fa}.feedback-card h2{margin-bottom:4px}.feedback-card p{margin-bottom:0;color:var(--otto-muted);line-height:1.45}.blockly-guide-note{display:inline-flex;align-items:center;justify-content:space-between;width:min(100%,360px);gap:12px;margin-top:8px;padding:8px 10px;border:0;border-left:3px solid var(--otto-green);border-radius:8px;color:#334155;background:#ffffffb8;font-size:.83rem;line-height:1.42;text-align:left;cursor:pointer;box-shadow:0 6px 16px #0f172a0f;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.blockly-guide-note:hover{transform:translateY(-1px);background:#fff;box-shadow:0 9px 20px #0f172a1a}.blockly-guide-note strong{color:var(--otto-green-deep)}.blockly-guide-note span{color:var(--otto-muted);font-size:.78rem;font-weight:850}.feedback-card ul{display:grid;gap:6px;margin:0;padding-left:18px;color:#24362f;font-size:.9rem}.feedback-card.warning{border-top-color:#fed7aa;background:#fff8ed}.feedback-card.success{border-top-color:#bbf7d0;background:#f0fdf4}.victory-dialog-backdrop,.lose-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#0f172a57;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.victory-dialog,.lose-dialog{position:relative;display:grid;width:min(460px,100%);gap:12px;padding:74px 28px 24px;overflow:hidden;border:1px solid rgba(16,185,129,.28);border-radius:18px;color:var(--otto-ink);background:radial-gradient(circle at 50% 0%,rgba(16,185,129,.18),transparent 42%),#fff;box-shadow:0 28px 70px #0f172a47;text-align:center}.victory-dialog:before,.lose-dialog:before{content:"";position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,var(--otto-green),var(--otto-blue),var(--otto-yellow))}.lose-dialog{border-color:#ff950052;background:radial-gradient(circle at 50% 0%,rgba(255,149,0,.18),transparent 42%),#fff}.lose-dialog:before{background:linear-gradient(90deg,var(--otto-orange),#ef4444,var(--otto-yellow))}.victory-dialog-orb,.lose-dialog-orb{position:absolute;top:18px;left:50%;display:grid;place-items:center;width:70px;height:70px;border:1px solid rgba(16,185,129,.18);border-radius:20px;background:#fff;box-shadow:0 14px 26px #10b98138;transform:translate(-50%)}.lose-dialog-orb{border-color:#ff950033;background:#fff7ed;box-shadow:0 14px 26px #ff950038}.victory-dialog-orb img,.lose-dialog-orb img{width:52px;height:52px;object-fit:contain}.victory-dialog .eyebrow,.lose-dialog .eyebrow{margin-top:8px;color:var(--otto-green-deep)}.lose-dialog .eyebrow{color:#c2410c}.victory-dialog h2,.lose-dialog h2{margin-bottom:0;color:var(--otto-ink);font-size:clamp(1.8rem,4vw,2.45rem);line-height:1;letter-spacing:-.055em}.victory-dialog p:not(.eyebrow),.lose-dialog p:not(.eyebrow){margin-bottom:0;color:var(--otto-muted);line-height:1.55}.victory-stats,.victory-actions,.lose-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.victory-stats{margin-top:4px}.victory-stats span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;color:#173228;background:#edf9f3;font-size:.82rem;font-weight:900}.victory-actions{margin-top:6px}.lose-tips{display:grid;gap:7px;margin:4px 0 0;padding:0;list-style:none}.lose-tips li{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:999px;color:#7c2d12;background:#fff7ed;font-size:.82rem;font-weight:900}.lose-actions{margin-top:6px}.coach-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:54;display:grid;place-items:center;padding:24px;background:#0f172a5c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.coach-dialog{display:grid;width:min(640px,100%);max-height:min(760px,calc(100dvh - 48px));gap:14px;padding:18px;overflow:auto;border:1px solid rgba(59,150,234,.22);border-radius:18px;color:var(--otto-ink);background:radial-gradient(circle at 18% 0%,rgba(59,150,234,.14),transparent 38%),radial-gradient(circle at 86% 0%,rgba(16,185,129,.12),transparent 34%),#fff;box-shadow:0 28px 70px #0f172a47}.coach-dialog-head,.coach-actions,.coach-form-grid{display:flex;align-items:center;gap:12px}.coach-dialog-head{justify-content:space-between}.coach-dialog-head h2{margin-bottom:0;color:var(--otto-ink);font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.05;letter-spacing:-.05em}.coach-dialog-head .icon-button{flex:0 0 auto;font-size:1.45rem}.coach-security-note{margin:0;padding:10px 12px;border:1px solid rgba(16,185,129,.18);border-radius:10px;color:#14532d;background:#f0fdf4;font-size:.86rem;line-height:1.5}.coach-form-grid{align-items:stretch}.coach-form-grid .coach-field{flex:1 1 0}.coach-field{display:grid;gap:7px;min-width:0}.coach-field span{color:#334155;font-size:.82rem;font-weight:950}.coach-field input,.coach-field textarea{width:100%;border:1px solid rgba(148,163,184,.34);border-radius:10px;color:var(--otto-ink);background:#fff;font:inherit;font-size:.92rem;outline:0}.coach-field input{min-height:44px;padding:0 12px}.coach-field textarea{min-height:86px;padding:11px 12px;resize:vertical}.coach-field input:focus,.coach-field textarea:focus{border-color:#3b96eab8;box-shadow:0 0 0 4px #3b96ea1f}.coach-actions{justify-content:flex-end;flex-wrap:wrap}.coach-answer{display:grid;gap:5px;padding:12px;border:1px solid rgba(59,150,234,.18);border-radius:12px;background:#f8fbff}.coach-answer p{margin:0;color:#334155;line-height:1.58}.coach-answer.error{border-color:#ef444438;background:#fff7f7}.coach-answer.error .eyebrow{color:#b91c1c}.guide-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:grid;place-items:center;padding:24px;background:#0f172a5c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.guide-dialog{display:grid;width:min(720px,100%);max-height:min(760px,calc(100dvh - 48px));gap:16px;padding:18px;overflow:hidden;border:1px solid rgba(16,185,129,.25);border-radius:18px;background:radial-gradient(circle at 20% 0%,rgba(16,185,129,.16),transparent 36%),#fff;box-shadow:0 28px 70px #0f172a47}.guide-dialog-head,.guide-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.guide-dialog-head h2{margin-bottom:0;color:var(--otto-ink);font-size:clamp(1.45rem,3vw,2rem);line-height:1.05;letter-spacing:-.045em}.guide-dialog-head .icon-button{flex:0 0 auto;font-size:1.45rem}.guide-dialog-actions{justify-content:flex-end;flex-wrap:wrap}.guide-recipe{display:grid;align-content:start;gap:8px;max-height:min(540px,calc(100dvh - 230px));padding:16px;overflow:auto;border:1px solid rgba(223,231,239,.92);border-radius:14px;background:radial-gradient(circle at 1px 1px,rgba(15,23,42,.08) 1px,transparent 0),#f8fafc;background-size:22px 22px}.guide-blockly-preview{width:100%;min-height:420px;max-height:min(540px,calc(100dvh - 230px));overflow:hidden;border:1px solid rgba(223,231,239,.92);border-radius:14px;background:radial-gradient(circle at 1px 1px,rgba(15,23,42,.08) 1px,transparent 0),#fff;background-size:22px 22px}.guide-block{position:relative;width:fit-content;min-width:172px;max-width:100%;min-height:42px;padding:10px 18px 10px 42px;border-radius:10px;color:#fff;background:var(--otto-blue);box-shadow:inset 0 -3px #00000021,0 8px 16px #0f172a1a;font-size:.96rem;font-weight:950}.guide-block:after{content:"";position:absolute;left:22px;bottom:-8px;width:46px;height:10px;border-radius:0 0 10px 10px;background:inherit;box-shadow:inset 0 -2px #0000001a}.guide-block:last-child:after,.guide-repeat-body .guide-block:last-child:after{display:none}.guide-block-notch,.guide-play-dot{position:absolute;left:10px;top:50%;display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#ffffffeb;color:inherit;transform:translateY(-50%)}.guide-block-notch:before{content:"";width:10px;height:10px;border-radius:999px;background:currentColor}.guide-play-dot{color:#2e7d32;font-size:.72rem}.guide-block.start{color:#111827;background:var(--otto-yellow)}.guide-block.move{background:var(--otto-blue)}.guide-block.collect.green{background:var(--otto-green)}.guide-block.collect.red{background:#ef4444}.guide-block.collect.yellow{color:#111827;background:#facc15}.guide-block.box{background:#a16207}.guide-block.repeat{display:grid;width:min(100%,420px);min-width:260px;gap:10px;padding:10px 12px 12px 42px;color:#111827;background:#ffbd3b}.guide-block-label{position:relative;min-height:24px}.guide-repeat-body{display:grid;gap:8px;margin-left:16px;padding:12px;border-radius:10px;background:#ffffff8c;box-shadow:inset 0 0 0 2px #ffffff85}.guide-repeat-body .guide-block{min-width:190px}.guide-block.empty{color:#64748b;background:#e2e8f0;box-shadow:none}.guide-block.empty:after{display:none}.blocklyToolboxDiv,.blocklyFlyoutBackground{border-right:1px solid #e0e0e0}@media (min-width: 1181px){.select-shell{height:100dvh;overflow:hidden}.select-layout{height:calc(100dvh - 106px);min-height:0}.mission-rail,.map-select-panel{height:100%;min-height:0}.map-select-panel{display:flex;flex-direction:column}.map-card-grid{flex:1 1 auto;min-height:0;align-items:stretch;align-content:start;overflow-y:auto;padding-right:6px;scrollbar-color:rgba(16,185,129,.45) rgba(226,232,240,.6)}.map-card{min-height:430px}.map-card-copy p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}}@media (max-height: 780px) and (min-width: 1181px){.mission-rail{padding:24px}.robot-orb{width:88px;height:88px;margin-bottom:18px}.robot-orb img{width:64px;height:64px}.mission-rail h2{font-size:clamp(2.25rem,3.45vw,3.15rem)}.mission-rail p:not(.rail-kicker){font-size:.95rem;line-height:1.45}.rail-stack span{min-height:38px}}@media (max-width: 1180px){.select-layout{grid-template-columns:1fr}.mission-rail{position:relative;top:auto;min-height:0}.mission-rail h2{max-width:18ch}.map-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-topbar{grid-template-columns:auto minmax(0,1fr)}.studio-map-switcher{grid-column:1 / -1;grid-template-columns:36px minmax(0,1fr) 36px;order:3;width:100%}}@media (max-width: 980px){body{overflow:auto}.app-shell{height:auto;min-height:100dvh;overflow:visible}.studio-grid{grid-template-columns:1fr}.panel{min-height:72dvh}.simulator-frame{min-height:420px}.mission-strip{grid-template-columns:1fr;align-items:stretch}.mission-metrics{justify-content:flex-start}}@media (max-width: 760px){.select-shell{padding:12px}.select-topbar{flex-direction:column;align-items:stretch}.logo-lockup,.select-progress{width:100%}.map-card-grid{grid-template-columns:1fr}.map-card{min-height:0}.mission-rail{padding:22px}.mission-rail h2{font-size:2.25rem}.app-shell{grid-template-rows:auto auto 1fr;padding:0}.studio-topbar{grid-template-columns:1fr;align-items:stretch}.studio-brand-group,.studio-map-switcher,.top-actions{width:100%}.top-actions{display:grid;grid-template-columns:44px repeat(4,1fr)}.studio-mode-tabs{margin-left:auto}.button{min-width:0}.coach-form-grid{display:grid;grid-template-columns:1fr}.mobile-tabs{display:grid}.studio-grid{display:block}.panel{display:none;min-height:0}.panel.mobile-active{display:flex}.builder-panel.mobile-active{min-height:calc(100dvh - 280px)}.blockly-host,.ottobit-workspace-shell{min-height:calc(100dvh - 360px)}.simulator-frame{aspect-ratio:7 / 4;flex:0 0 auto;min-height:0}}@media (max-width: 460px){.studio-logo-card{width:56px;padding:7px}.studio-mode-tabs{display:none}.challenge-dot{width:30px;height:30px;flex-basis:30px;font-size:.76rem}.current-challenge-summary small,.current-map-chip small{display:none}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
