body[data-guided-page] {
  min-width: 0;
  margin: 0;
  color: var(--text, #e9f1ff);
  background: var(--bg, #101926);
  font-family: system-ui, sans-serif;
}
.guided-shell {
  max-width: 720px;
  margin: auto;
  padding: clamp(12px, 3vw, 28px);
}
.guided { color: var(--text, #e9f1ff); }
.guided[hidden], .guided [hidden], .guided-back[hidden] { display: none !important; }
.guided a, .guided-back { color: var(--blue, #a9d1ff); }
.guided-header { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.guided-header h1 { margin: 3px 0 0; font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.16; }
.guided-eyebrow, .guided-progress, .guided-note, .guided-label, .guided-card h2 { color: var(--muted, #b1c3db); }
.guided-eyebrow { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.guided-progress { font-size: .88rem; margin: 10px 0; }
.guided-time {
  padding: 5px 9px;
  border: 1px solid var(--line, #446284);
  border-radius: 7px;
  color: var(--text, #e9f1ff);
  font: 600 .86rem system-ui;
  font-variant-numeric: tabular-nums;
}
.guided-card { background: var(--panel, #19283b); padding: 14px; border: 1px solid var(--line, #354f6b); border-radius: 12px; }
.guided-card h2 { margin: 0 0 8px; font-size: .93rem; font-weight: 600; }
.guided-prompt { margin: 8px 0 0; font-size: clamp(1.12rem, 4vw, 1.35rem); font-weight: 650; overflow-wrap: anywhere; }
.guided-prompt:empty { display: none; }
.guided-example { border-inline-start: 2px solid var(--line-bright, #648ab8); padding-inline-start: 10px; margin: 9px 0; white-space: pre-line; }
.guided form { margin-top: 12px; }
.guided-label { display: block; margin-bottom: 4px; font-size: .85rem; }
.guided input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid #5a7495;
  border-radius: 7px;
  background: #101926;
  color: #f1f6ff;
  font: 1rem system-ui;
}
.guided input::placeholder { color: var(--muted, #a0b3c8); }
.guided input:disabled { opacity: .86; }
.guided button {
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid #4b6789;
  border-radius: 7px;
  background: #243952;
  color: #edf5ff;
  font: 600 .88rem system-ui;
  cursor: pointer;
}
.guided button:hover { background: #335276; }
.guided button:disabled { opacity: .65; cursor: default; }
.guided button.guided-primary { background: #2268b9; border-color: #6daafb; }
.guided button.guided-primary:hover { background: #317bcf; }
.guided :is(button,input,select,a):focus-visible { outline: 2px solid #a3d0ff; outline-offset: 2px; }
.guided-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.guided-main-actions, .guided-secondary { margin-top: 8px; }
.guided-secondary { justify-content: space-between; }
.guided-secondary button { background: transparent; }
.guided-note { margin: 9px 0 7px; font-size: .9rem; overflow-wrap: anywhere; }
.guided-note[data-check] {border-inline-start: 3px solid var(--line); padding-inline-start: 9px;}
.guided-note[data-check="independent"] {border-inline-start-color:var(--green,#55c9a7);}
.guided-note[data-check="missed"] {border-inline-start-color:var(--yellow,#f0bf70);}
.guided-run-progress {width:100%;height:6px;display:block;accent-color:var(--blue,#54cbb7);}
.guided-run-progress[hidden] {display:none;}
[data-guide="memory-status"] {color:var(--muted,#b1c3db);font-variant-numeric:tabular-nums;}
.guided-model-answer { margin: 4px 0 12px; font-size: 1.15rem; font-weight: 650; white-space: pre-line; overflow-wrap: anywhere; }
.guided-back { display: inline-block; margin-bottom: 12px; font-size: .9rem; }
.guided-source { margin: 5px 0 0; color: var(--muted, #b1c3db); font-size: .83rem; overflow-wrap: anywhere; }
.guided-settings-card { padding: 10px; }
.guided-settings-options { margin-top: 8px; align-items: end; }
.guided-settings-options label { min-width: 0; margin: 0; }
.guided-settings-options select {
  display: block;
  min-height: 36px;
  max-width: 100%;
  margin-top: 2px;
  padding: 4px 6px;
  border: 1px solid #4b6789;
  border-radius: 7px;
  background: #243952;
  color: #edf5ff;
  font: 500 .87rem system-ui;
}
#workoutSettings button[data-skill][aria-pressed="true"] {
  background: var(--selected, #20557f) !important;
  color: var(--text, #edf5ff) !important;
  border-color: var(--line-bright, #8ebff0) !important;
}
.guided-skill-mark { display: inline-block; width: .95em; text-align: start; }
.guided button[aria-pressed="false"] .guided-skill-mark { visibility: hidden; }
.guided-choices { display: grid; gap: 5px; }
.guided-choices button { text-align: start; white-space: normal; overflow-wrap: anywhere; }
#moviePracticeDialog {
  box-sizing: border-box;
  width: min(96vw, 590px);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid #4b6789;
  border-radius: 12px;
  padding: 14px;
  color: var(--text, #edf5ff);
  background: var(--bg, #101926);
}
#moviePracticeDialog::backdrop { background: #061222b8; }


[data-guide="transfer-task"] > p { margin-block: .5rem; }
[data-guide="transfer-draft"] { display:block; width:100%; margin-top:.25rem; resize:vertical; }
