:root{--dev-ink:#15263c;--dev-muted:#54637a;--dev-accent:#b94d22;--dev-line:#d5dde7;--dev-soft:#f3f5f8;--dev-radius:12px;color-scheme:light}*{box-sizing:border-box}.developer-page{margin:0;background:#eaf0f5;color:var(--dev-ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.developer-page button,.developer-page input,.developer-page select,.developer-page textarea{font:inherit}.developer-page button{cursor:pointer;background:#fff;color:var(--dev-ink);border:1px solid #bdc9d7;padding:8px 12px;border-radius:7px;min-height:40px;font-weight:600;line-height:1.35}.developer-page button:hover{background:#f0f4f8;border-color:#7087a0}.developer-page button:disabled{opacity:.5;cursor:default}.developer-page a{color:#8f3919;text-underline-offset:3px}.developer-page :focus-visible{outline:3px solid #0878e8;outline-offset:3px}[hidden]{display:none!important}.dev-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.dev-skip{position:absolute;top:-80px;background:#fff;padding:12px;z-index:20}.dev-skip:focus{top:5px}.dev-header{display:flex;align-items:center;gap:28px;padding:13px 26px;background:white;border-bottom:1px solid var(--dev-line)}.dev-brand{font-size:25px;letter-spacing:-1.3px;font-weight:850;text-decoration:none;color:#192a3f!important}.dev-brand span{color:#c5512b}.dev-header h1{font-size:16px;margin:0}.dev-header p{font-size:12px;margin:0;color:var(--dev-muted)}.dev-header nav{margin-left:auto;display:flex;gap:20px;font-size:13px}.dev-workspace{padding:20px 22px;max-width:1900px;margin:auto}.dev-projectbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.dev-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--dev-muted);margin:0 0 6px}.dev-projectbar strong{font-size:20px;letter-spacing:-.025em;overflow-wrap:anywhere}.dev-project-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.dev-project-actions button{font-size:12px}.dev-statusbar{display:flex;align-items:center;gap:15px;justify-content:space-between;font-size:12px;color:var(--dev-muted);min-height:44px}.dev-statusbar p{margin:8px 0}#save-status:before{content:'';display:inline-block;width:7px;height:7px;background:#3c7d5c;border-radius:50%;margin-right:8px}#save-status[data-state=error]:before{background:#b25324}.dev-panels{display:grid;grid-template-columns:minmax(275px,.88fr) minmax(340px,1.1fr) minmax(345px,1.08fr);gap:13px;align-items:start}.dev-panel{border:1px solid var(--dev-line);border-radius:var(--dev-radius);overflow:hidden;background:#fff;min-width:0}.dev-panel-top{height:45px;padding:8px 14px;border-bottom:1px solid var(--dev-line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:700;background:#f8fafc}.dev-panel-top button{font-size:11px;border:0;background:none;min-height:28px;padding:4px}.dev-panel-top #editor-position{font-size:10px;font-weight:400;max-width:165px}.dev-mission-content{padding:19px;max-height:calc(100vh - 243px);min-height:560px;overflow:auto}.dev-select-label{font-size:12px;color:var(--dev-muted);display:block;margin-bottom:4px}#mission-picker{width:100%;border:1px solid var(--dev-line);padding:9px 5px;background:#f8fafc;color:var(--dev-ink);border-radius:6px;font-size:12px;margin-bottom:24px}.dev-mission h2{font-size:27px;line-height:1.15;letter-spacing:-.04em;margin:10px 0}.dev-mission h3{font-size:14px;margin:23px 0 8px}.dev-mission p{font-size:13px;line-height:1.7}.dev-mission .dev-objective{font-size:15px;color:#874827;background:#fff5e9;padding:12px;border-radius:7px;font-weight:600}.dev-small{font-size:11px!important;color:var(--dev-muted)}.dev-mission li{font-size:12px;line-height:1.6;margin:8px 0}.dev-mission ul,.dev-mission ol{padding-left:20px}.dev-mission details{margin:18px 0;font-size:12px}.dev-mission summary{cursor:pointer;font-weight:600;padding:7px 0}.dev-check-actions{display:flex;flex-direction:column;gap:8px;margin:18px 0}.developer-page .dev-primary{background:#193c5c;border-color:#193c5c;color:white}.developer-page .dev-primary:hover{background:#265271}.dev-help{border:1px solid #ead9c9;border-radius:8px;padding:0 13px 13px;background:#fffaf3}.dev-help h3{margin-top:13px}.dev-help button{font-size:12px}.dev-text-button{background:none!important;border:0!important;text-decoration:underline;font-weight:500!important}.dev-help .dev-text-button{display:block;margin-top:8px}.dev-file-tabs{display:flex;flex-wrap:wrap;gap:3px;padding:8px;border-bottom:1px solid var(--dev-line);background:#f8fafc}.dev-file-tabs button{border:1px solid transparent;background:transparent;font:11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;min-height:30px;padding:5px 7px}.dev-file-tabs button[aria-selected=true]{background:#fff;border-color:#becada;box-shadow:0 1px 3px #182d4222}.dev-file-description{font-size:11px;color:var(--dev-muted);margin:0;padding:9px 13px;background:#fdf9f3;border-bottom:1px solid #eadfd1;min-height:49px}.dev-editor .CodeMirror{font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;height:calc(100vh - 390px);min-height:425px;max-height:900px;background:#fff}.dev-editor .CodeMirror-gutters{background:#f7f9fb;border-right:1px solid #e7edf4}.dev-editor .CodeMirror-linenumber{color:#7c8a9b}.dev-editor textarea#code-editor{width:100%;min-height:420px;border:0;padding:12px;font-family:monospace;tab-size:2}.dev-editor-help{font-size:10px;color:var(--dev-muted);padding:9px 12px;margin:0;border-top:1px solid var(--dev-line)}.dev-editor-tools{padding:10px;display:flex;gap:4px;flex-wrap:wrap;background:#f8fafc}.dev-editor-tools button{font-size:10px;padding:6px 8px;min-height:31px}.dev-runbar{display:flex;gap:6px;padding:11px 12px}.dev-runbar button{font-size:12px}.dev-switch{font-weight:400;display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.dev-preview-status{padding:0 13px;margin:0 0 9px;font-size:11px;color:var(--dev-muted)}.dev-preview-host{background:#d6dfe9;min-height:535px;display:flex;justify-content:center;overflow:auto}.dev-preview-host iframe{border:0;width:100%;height:590px;background:#102034}.dev-preview-host.small iframe{width:375px;flex:none}.dev-preview-empty{padding:75px 25px;text-align:center;background:radial-gradient(ellipse at 50% 20%,#213d57,#101d30);color:#ecf6ff;width:100%}.dev-preview-empty>span{font-size:60px;font-weight:200;color:#86cbdc}.dev-preview-empty h3{font-size:21px;letter-spacing:-.035em}.dev-preview-empty p{font-size:13px;color:#b9cfe0;max-width:26ch;margin:auto}.dev-console{padding:12px;border-top:1px solid var(--dev-line);font-size:12px;max-height:280px;overflow:auto}.dev-console summary{cursor:pointer;font-weight:600}.dev-console ol{list-style:none;padding:0;font:11px/1.5 monospace}.dev-console li{padding:7px 4px;border-bottom:1px solid #e4eaf1;overflow-wrap:anywhere}.dev-console li[data-level=error]{color:#ac291f}.dev-console button{font-size:11px;min-height:29px}.dev-notice{background:#fffaef;border:1px solid #dcc5a5;border-radius:9px;margin:7px 0 15px;padding:12px 16px;font-size:13px}.dev-notice p{margin:0 0 8px}.dev-notice button,.dev-notice a{display:inline-block;margin-right:8px;font-size:12px}.dev-notice a{padding:7px}.dev-storage-note{font-size:11px;color:var(--dev-muted);max-width:100ch;margin:18px 0}.dev-mobile-tabs{display:none}.dev-workspace[data-collapsed=true] .dev-mission-content{display:none}.dev-workspace[data-collapsed=true] .dev-panels{grid-template-columns:100px 1fr 1fr}.dev-workspace[data-collapsed=true] .dev-mission .dev-panel-top{height:auto;flex-direction:column;gap:3px}#test-results{font-size:12px}#test-results ul{list-style:none;padding-left:0}#test-results li{padding:7px 9px;border-radius:5px;background:#fbece8;color:#783b2d}#test-results li[data-pass=true]{background:#eaf5ee;color:#245338}.dev-result-title{font-weight:700;font-size:13px!important}#workshop-dialog{border:1px solid #a6b6c9;border-radius:15px;max-width:min(960px,94vw);width:800px;max-height:90vh;padding:22px;color:var(--dev-ink);box-shadow:0 25px 90px #0b1c4a4d}#workshop-dialog::backdrop{background:#12253cb3}#workshop-dialog>header{display:flex;align-items:start;gap:20px;justify-content:space-between}#workshop-dialog h2{font-size:23px;line-height:1.2;margin:0 0 18px;letter-spacing:-.025em}#workshop-dialog h3{font-size:16px}#workshop-dialog p{font-size:14px;line-height:1.65}#workshop-dialog pre{background:#10243a;color:#f0f6ff;overflow:auto;padding:15px;border-radius:8px;font-size:12px;tab-size:2}#dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}#dialog-content label{display:block;font-size:13px;font-weight:650;margin:12px 0 4px}#dialog-content input,#dialog-content textarea,#dialog-content select{width:100%;border:1px solid #b4c4d5;border-radius:7px;padding:10px;box-sizing:border-box;color:#15263c;background:white}#dialog-content textarea{min-height:110px;resize:vertical}#dialog-content input[type=checkbox]{width:auto;margin-right:10px}.dev-dialog-row{border-top:1px solid #d9e2ec;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-dialog-row p{margin:0}.dev-dialog-row button{font-size:12px}.dev-share-frame{width:100%;height:550px;border:1px solid #abc;border-radius:10px}.dev-count-chip{background:#e6edf5;padding:5px 8px;border-radius:5px;font-size:11px}@media(max-width:1180px) and (min-width:761px){.dev-panels{grid-template-columns:300px minmax(360px,1fr)}.dev-mission{grid-row:span 2}.dev-preview{grid-column:2}.dev-editor .CodeMirror{height:380px;min-height:300px}.dev-mission-content{max-height:none}.dev-header{gap:18px}.dev-projectbar{align-items:flex-start}.dev-workspace[data-collapsed=true] .dev-panels{grid-template-columns:95px 1fr}.dev-workspace[data-collapsed=true] .dev-editor,.dev-workspace[data-collapsed=true] .dev-preview{grid-column:2}}@media(max-width:760px){.dev-header{padding:12px 14px;gap:14px;flex-wrap:wrap}.dev-brand{font-size:23px}.dev-header h1{font-size:13px}.dev-header nav{gap:12px;font-size:11px}.dev-header nav a:first-child{display:none}.dev-header p{font-size:10px}.dev-workspace{padding:14px 10px}.dev-projectbar{display:block}.dev-projectbar strong{font-size:19px}.dev-project-actions{justify-content:flex-start;margin-top:12px;gap:5px}.dev-project-actions button{font-size:11px;padding:7px 9px;min-height:39px}.dev-statusbar{display:block;font-size:11px;padding:3px 2px}.dev-statusbar p{margin:6px 0}.dev-mobile-tabs{display:flex;gap:5px;margin:10px 0}.dev-mobile-tabs button{flex:1;font-size:12px}.dev-mobile-tabs button[aria-selected=true]{background:#193c5c;color:white;border-color:#193c5c}.dev-panels{display:block!important}.dev-workspace[data-panel=mission] .dev-editor,.dev-workspace[data-panel=mission] .dev-preview,.dev-workspace[data-panel=editor] .dev-mission,.dev-workspace[data-panel=editor] .dev-preview,.dev-workspace[data-panel=preview] .dev-mission,.dev-workspace[data-panel=preview] .dev-editor{display:none}.dev-mission-content{max-height:none;min-height:0;padding:19px}.dev-mission .dev-panel-top button{display:none}.dev-workspace[data-collapsed=true] .dev-mission-content{display:block}.dev-workspace[data-collapsed=true] .dev-mission .dev-panel-top{flex-direction:row}.dev-mission h2{font-size:28px}.dev-mission p{font-size:14px}.dev-mission li{font-size:13px}.dev-editor .CodeMirror{height:53vh;min-height:370px;font-size:13px}.dev-editor-tools button{font-size:11px}.dev-preview-host{min-height:500px}.dev-preview-host iframe{height:650px}.dev-preview-host.small iframe{width:min(375px,100%)}.dev-storage-note{font-size:11px}.dev-panel-top{padding:10px 12px}#workshop-dialog{padding:16px;max-width:96vw}#workshop-dialog h2{font-size:21px}.dev-dialog-row{flex-wrap:wrap}.dev-dialog-row button{width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#workshop-dialog[open]{display:flex;flex-direction:column;max-height:calc(100vh - 32px);overflow:hidden}#workshop-dialog>header,#dialog-actions{flex-shrink:0}#dialog-content{min-height:0;overflow:auto}
#dialog-actions .dev-share-confirm{display:flex;align-items:flex-start;gap:8px;flex:1 0 100%;font-size:12px;text-align:left}#dialog-actions .dev-share-confirm input{width:18px;height:18px;flex:none;margin:2px 0}

/* Optional subscription entry; never overlays the learner's workspace. */
.dev-header nav { align-items: center; }
.dev-subscription { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--dev-line); }
.dev-subscription-note { max-width: 15ch; color: var(--dev-muted); font-size: 11px; line-height: 1.45; }
.developer-page .dev-header nav .dev-subscribe {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 44px; padding: 10px 17px; border: 1px solid #9d411f; border-radius: 7px;
  background: #a74722; color: #fff; font-size: 13px; font-weight: 700;
  line-height: 1.4; text-decoration: none; white-space: nowrap;
}
.developer-page .dev-header nav .dev-subscribe:hover { background: #883718; }
@media (max-width: 1100px) {
  .dev-subscription { padding-left: 14px; gap: 10px; }
}
@media (max-width: 760px) {
  .developer-page .dev-header nav { flex: 1 0 100%; justify-content: space-between; gap: 10px; }
  .developer-page .dev-header nav > a { min-height: 44px; display: inline-flex; align-items: center; }
  .developer-page .dev-header nav > a:first-child { display: none; }
  .dev-subscription { border: 0; padding: 0; }
  .dev-subscription-note { max-width: 15ch; font-size: 10px; }
}

/* First steps, 2026-09-08. Keep the existing workshop and its native controls. */
.developer-page { background: #f1f3f5; }
.dev-workspace { padding: 20px 24px 14px; max-width: 1800px; }
.dev-header { padding: 14px 24px; }
.dev-header nav a { padding: 8px 0; }
.dev-projectbar strong { font-size: 23px; }
.dev-project-actions { align-items: center; }
.dev-project-menu { position: relative; }
.dev-project-menu > summary {
  min-height: 44px; display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border: 1px solid #bdc9d7; border-radius: 8px;
  background: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
  list-style: none;
}
.dev-project-menu > summary::-webkit-details-marker { display: none; }
.dev-project-menu > summary::after { content: '⌄'; font-size: 16px; }
.dev-project-menu[open] > summary { border-color: #193c5c; }
.dev-project-menu-content {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 10;
  display: grid; gap: 4px; width: 250px; max-width: calc(100vw - 32px);
  padding: 8px; border: 1px solid var(--dev-line); border-radius: 12px;
  background: #fff; box-shadow: 0 12px 32px #19304924;
}
.dev-project-menu-content button { text-align: left; border-color: transparent; }
.dev-project-menu-content #reset-project { border-top-color: var(--dev-line); border-radius: 0 0 7px 7px; }
.dev-project-actions button { min-height: 44px; }
.dev-statusbar { min-height: 38px; gap: 12px; }
.dev-journey {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin: 5px 0 16px; padding: 13px 16px;
  background: #fff; border: 1px solid var(--dev-line); border-radius: 12px;
}
.dev-journey > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dev-journey .dev-select-label { margin: 0; white-space: nowrap; font-weight: 650; }
.dev-journey #mission-picker { margin: 0; width: 330px; max-width: 100%; min-height: 44px; background: #f5f7fa; padding: 9px 12px; }
.dev-access-note { margin: 0; font-size: 12px; color: #394d63; }
.dev-access-note span { color: var(--dev-muted); font-size: 11px; }
.dev-panels { grid-template-columns: minmax(270px,.82fr) minmax(370px,1.18fr) minmax(345px,1.08fr); gap: 14px; }
.dev-panel { border-radius: 14px; box-shadow: 0 3px 12px #162b4010; }
.dev-panel-top { height: 47px; background: #fff; }
.dev-panel-top button { min-height: 32px; }
.dev-panel-top #editor-position { max-width: none; color: var(--dev-muted); }
.dev-mission-content { padding: 20px; max-height: calc(100vh - 310px); min-height: 530px; }
.dev-mission-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dev-mission-meta .dev-eyebrow { margin: 0; letter-spacing: .035em; }
.dev-language { padding: 4px 8px; border-radius: 5px; background: #edf2f8; color: #2f4e70; font: 600 11px/1.5 ui-monospace,monospace; }
.dev-mission h2 { font-size: 29px; line-height: 1.16; letter-spacing: -.035em; margin: 15px 0 12px; }
.dev-mission .dev-task-title { font-size: 15px; line-height: 1.55; color: #63442d; margin: 0 0 18px; }
.dev-task-steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 0 0 16px; }
.dev-task-steps li { counter-increment: step; position: relative; padding-left: 30px; font-size: 13px; margin: 14px 0; line-height: 1.65; }
.dev-task-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 21px; height: 21px;
  border-radius: 50%; background: #e9eff5; color: #244664; font-size: 11px; font-weight: 700;
}
#go-to-code { width: 100%; min-height: 44px; border-color: #bdccda; background: #f6f9fc; font-size: 13px; }
.dev-check-actions { margin: 10px 0 18px; }
.dev-check-actions button { min-height: 44px; font-size: 13px; }
.dev-mission details { margin: 9px 0; border-top: 1px solid #e5eaf0; }
.dev-mission details > summary { min-height: 44px; display: list-item; padding: 12px 0 10px; line-height: 1.6; }
.dev-mission details p { font-size: 13px; }
.dev-mission .dev-help { padding: 0 12px 4px; margin-top: 10px; border: 1px solid #e5d7c8; background: #fffaf3; }
.dev-help[open] { padding-bottom: 12px; }
.dev-help button { min-height: 44px; }
.dev-prediction { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.dev-prediction legend { padding: 0; font-size: 13px; font-weight: 650; line-height: 1.6; }
.dev-prediction-choice { display: flex; gap: 9px; align-items: flex-start; min-height: 44px; padding: 10px; margin-top: 8px; background: #f1f5fa; border: 1px solid #dce4ed; border-radius: 7px; font-size: 12px; cursor: pointer; }
.dev-prediction-choice input { flex: none; margin: 4px 0 0; accent-color: #193c5c; }
#prediction-feedback:empty { display: none; }
#prediction-feedback { color: #24465a; background: #edf6f7; border-left: 3px solid #44868d; padding: 10px; }
.dev-filebar { min-height: 89px; background: #f5f7fa; border-bottom: 1px solid var(--dev-line); }
.dev-file-tabs { border: 0; padding: 7px 8px 0; background: none; }
.dev-file-tabs button { min-height: 42px; padding: 8px 10px; border-radius: 6px 6px 0 0; font-size: 12px; }
.dev-file-tabs button[aria-selected=true] { border-bottom-color: #fff; box-shadow: none; }
#show-all-files { min-height: 40px; padding: 6px 10px; border: 0; background: transparent; border-radius: 0; font-size: 11px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: #405d7c; }
.dev-file-description { background: #fff; border: 0; min-height: 57px; font-size: 12px; line-height: 1.6; padding: 12px 14px 6px; }
.dev-code-location { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 0 10px 7px 14px; font-size: 10px; color: var(--dev-muted); }
.dev-code-location span { white-space: nowrap; }
#find-mission-code { min-height: 40px; font-size: 10px; border: 0; background: none; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.dev-editor .CodeMirror,
.dev-editor textarea#code-editor { min-height: 320px; height: clamp(320px,calc(100vh - 620px),600px); font-size: 13px; background: #fbfcfe; border-top: 1px solid #e7edf4; }
.dev-editor textarea#code-editor { display: block; }
.dev-editor .CodeMirror-gutters { background: #f3f6fa; }
.dev-editor-help { line-height: 1.6; background: #fff; }
.dev-editor-footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; border-top: 1px solid var(--dev-line); background: #f7f9fc; }
.dev-editor-footer button { min-height: 44px; font-size: 12px; }
.dev-editor-footer .dev-primary { flex: 1; }
.dev-runbar { gap: 7px; }
.dev-runbar button { min-height: 44px; }
.dev-preview-status { min-height: 34px; line-height: 1.6; padding-bottom: 5px; }
.dev-switch { min-height: 44px; }
.dev-preview-host { min-height: 430px; background: #102034; }
.dev-preview-host iframe { height: clamp(430px,calc(100vh - 510px),670px); }
.dev-preview-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 36px 22px; }
.dev-preview-empty > span { font: 50px/1.5 ui-monospace,monospace; color: #8ac6d0; }
.dev-preview-empty h3 { font-size: 23px; line-height: 1.3; max-width: 18ch; }
.dev-preview-empty p { line-height: 1.7; margin: 0; }
.dev-observe { font-size: 12px; line-height: 1.65; color: #3d5268; margin: 0; padding: 13px 15px; background: #eef5f6; border-top: 1px solid #d1e1e4; }
.dev-console summary { min-height: 30px; }
.dev-storage-note { font-size: 11px; line-height: 1.7; }

@media (max-width: 1180px) and (min-width: 901px) {
  .dev-workspace { padding: 18px; }
  .dev-panels { grid-template-columns: 300px minmax(0,1fr); }
  .dev-mission { grid-row: span 2; }
  .dev-preview { grid-column: 2; }
  .dev-mission-content { max-height: none; min-height: 0; }
  .dev-journey #mission-picker { width: 285px; }
  .dev-editor .CodeMirror,.dev-editor textarea#code-editor { height: 330px; min-height: 300px; }
}
@media (max-width: 900px) {
  .dev-workspace { padding: 14px 16px; }
  .dev-header { padding: 12px 16px; gap: 18px; }
  .dev-projectbar { display: flex; align-items: center; }
  .dev-projectbar strong { font-size: 20px; }
  .dev-project-actions { margin: 0; flex-wrap: nowrap; }
  .dev-statusbar { display: block; font-size: 11px; padding: 4px 0; }
  .dev-statusbar p { margin: 5px 0; }
  .dev-journey { gap: 12px; padding: 11px 13px; margin-bottom: 12px; }
  .dev-journey > div { display: block; flex: 1; }
  .dev-journey .dev-select-label { font-size: 11px; margin-bottom: 5px; }
  .dev-journey #mission-picker { width: 100%; }
  .dev-access-note { flex: 1; font-size: 11px; }
  .dev-mobile-tabs { display: flex; gap: 6px; margin: 10px 0; }
  .dev-mobile-tabs button { flex: 1; min-height: 44px; font-size: 12px; }
  .dev-mobile-tabs button[aria-selected=true] { background: #193c5c; color: #fff; border-color: #193c5c; }
  .dev-panels { display: block !important; }
  .dev-workspace[data-panel=mission] .dev-editor,
  .dev-workspace[data-panel=mission] .dev-preview,
  .dev-workspace[data-panel=editor] .dev-mission,
  .dev-workspace[data-panel=editor] .dev-preview,
  .dev-workspace[data-panel=preview] .dev-mission,
  .dev-workspace[data-panel=preview] .dev-editor { display: none; }
  .dev-mission-content { max-height: none; min-height: 0; padding: 20px; }
  .dev-mission .dev-panel-top button { display: none; }
  .dev-workspace[data-collapsed=true] .dev-mission-content { display: block; }
  .dev-workspace[data-collapsed=true] .dev-mission .dev-panel-top { flex-direction: row; }
  .dev-task-steps li { font-size: 14px; }
  .dev-editor .CodeMirror,.dev-editor textarea#code-editor { height: 43vh; min-height: 300px; }
  .dev-preview-host iframe { height: 660px; }
  .dev-preview-host.small iframe { width: min(375px,100%); }
  .dev-preview-status { min-height: 0; }
}
@media (max-width: 560px) {
  .dev-workspace { padding: 12px 10px; }
  .dev-header { padding: 11px 12px; gap: 14px; }
  .dev-header h1 { font-size: 12px; }
  .dev-header p { font-size: 10px; }
  .dev-header nav { margin-left: auto; }
  .dev-header nav a:first-child { display: none; }
  .dev-projectbar { display: block; }
  .dev-projectbar strong { display: block; font-size: 21px; line-height: 1.3; }
  .dev-eyebrow { font-size: 10px; }
  .dev-project-actions { margin-top: 10px; justify-content: flex-start; }
  .dev-project-menu > summary { font-size: 11px; }
  .dev-project-menu-content { left: auto; right: 0; width: 210px; }
  .dev-journey { display: block; padding: 10px 12px; }
  .dev-journey > div { display: flex; gap: 10px; }
  .dev-journey .dev-select-label { margin: 0; }
  .dev-journey #mission-picker { flex: 1; min-width: 0; font-size: 11px; padding: 8px 4px; }
  .dev-access-note { margin-top: 9px; line-height: 1.6; }
  .dev-mission h2 { font-size: 29px; }
  .dev-mission-content { padding: 18px; }
  .dev-task-steps li { margin: 12px 0; }
  .dev-code-location { flex-wrap: wrap; column-gap: 4px; }
  .dev-code-location span { white-space: normal; }
  .dev-editor-footer { padding: 10px; gap: 6px; }
  .dev-editor-footer button { font-size: 11px; }
  .dev-preview-host iframe { height: 680px; }
}
