/* Guidance stays within the native document and reads the native experiment. */
body[data-experience=guided] .qbar,
body[data-experience=guided] .shell { display: none; }
#guided-investigation { max-width: 1140px; margin: 0 auto; padding: 0 24px 32px; }
.guide-modes { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:12px 0; border-bottom:1px solid var(--rule); }
.guide-modes span { margin-left:auto; font-size:13px; color:var(--ink-2); }
.guide-body { max-width:940px; margin:24px auto 0; }
.guide-body h2 { text-transform:none; letter-spacing:0; font-size:25px; margin-bottom:16px; }
.guide-body h3 { font-size:20px; margin:0 0 12px; }
.guide-body nav { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:20px; }
.guide-body nav button { border:0; border-bottom:3px solid transparent; border-radius:0; font-size:13px; padding:6px 10px; }
.guide-body nav [aria-current=step] { border-bottom-color:var(--cue); font-weight:700; }
.guide-body section { padding:20px 0; border-top:1px solid var(--rule); }
.guide-body section[hidden], .guide-body[hidden] { display:none; }
.guide-body section > button { margin:10px 8px 8px 0; }
.guide-body p { max-width:85ch; line-height:1.65; }
.guide-probes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:24px 0; }
.guide-probe { display:flex; flex-direction:column; gap:12px; padding:18px; border:1px solid var(--rule); background:var(--well); }
.guide-probe > span { font-family:var(--mono); }
.guide-probe select { width:100%; }
.guide-signs { font-size:38px; letter-spacing:.2em; color:var(--cue); }
.guide-body fieldset { border:0; padding:0; margin:20px 0; }
.guide-body legend { font-weight:600; margin-bottom:10px; }
.guide-body fieldset label { display:flex; gap:12px; align-items:center; min-height:48px; padding:8px 12px; border-bottom:1px solid var(--rule); }
.guide-body input[type=radio] { width:18px; height:18px; flex:none; accent-color:var(--cue); }
.guide-editor { display:grid; gap:8px; margin:18px 0; font-weight:600; }
.guide-editor textarea { font-weight:400; }
.guide-settings, .guide-prediction { padding:12px 16px; background:var(--paper-2); border-left:3px solid var(--cue); font-size:14px; overflow-wrap:anywhere; }
.guide-results { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:24px 0; }
.guide-metric, .guide-probability { display:flex; flex-direction:column; gap:12px; padding:22px; border:1px solid var(--rule); background:var(--well); min-width:0; }
.guide-metric strong, .guide-probability strong { font:500 38px var(--mono); }
.guide-probability meter { width:100%; height:24px; accent-color:var(--cue); }
.guide-probability h3 { font:600 18px var(--mono); }
.guide-probability p { margin:0; }
.guide-small { color:var(--ink-2); font-size:13px; }
.guide-remedies { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.guide-status { overflow-wrap:anywhere; }
#guide-evidence-text { font-family:var(--mono); font-size:14px; overflow-wrap:anywhere; }
#guide-panel-5 > a { display:inline-block; padding:12px 0; }
body[data-experience=guided] .lab-retention { max-width:1092px; margin:0 auto; }
@media(max-width:760px) {
  #guided-investigation { padding:0 16px 20px; }
  .guide-modes span { width:100%; margin:0; }
  .guide-body { margin-top:18px; }
  .guide-body h2 { text-transform:none; letter-spacing:0; font-size:22px; }
  .guide-body nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .guide-body nav button { justify-content:flex-start; text-align:left; }
  .guide-probes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0; }
  .guide-probe { padding:12px; font-size:12px; }
  .guide-probe select { font-size:12px; padding:5px; }
  .guide-results { gap:10px; }
  .guide-metric, .guide-probability { padding:12px; font-size:13px; }
  .guide-metric strong, .guide-probability strong { font-size:21px; }
  .guide-remedies { grid-template-columns:1fr; }
}
