.guided-journey{margin:14px 0 18px;background:#fff;border:1px solid #d7dde4;border-radius:16px;padding:16px}
.guided-journey-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.guided-journey-head strong{font-size:1.08rem}.guided-journey-head p{margin:4px 0 0;color:#64707c;font-size:.88rem}.guided-review-btn{border:1px solid #1f2933;background:#1f2933;color:#fff;border-radius:10px;padding:9px 12px;font:inherit}
.guided-stage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.guided-stage{border:1px solid #d7dde4;border-radius:13px;background:#fff;overflow:hidden}.guided-stage.current{border-color:#52606d;box-shadow:0 0 0 1px #52606d inset}.guided-stage header{display:flex;gap:9px;align-items:flex-start;padding:11px;background:#fafbfc}.stage-number{display:grid;place-items:center;min-width:30px;height:30px;border-radius:50%;background:#e9eef4;font-weight:800}.guided-stage.current .stage-number{background:#1f2933;color:#fff}.guided-stage header strong{display:block;font-size:.84rem;line-height:1.25}.stage-status{display:inline-block;margin-top:6px;border-radius:999px;padding:3px 7px;font-size:.7rem}.stage-status.stage-complete{background:#e8f7ed;color:#17633d}.stage-status.stage-progress{background:#fff3ce;color:#8b6200}.stage-status.stage-missing{background:#eef1f4;color:#66717c}
.guided-subsections{padding:5px 9px 9px}.guided-subsection{width:100%;display:flex;gap:8px;align-items:center;border:0;border-top:1px solid #edf0f3;background:transparent;padding:8px 3px;text-align:left;font:inherit;cursor:pointer;color:#27313b}.guided-subsection:first-child{border-top:0}.guided-subsection.current{background:#eef5ff;border-radius:7px;padding-left:7px}.guided-subsection small{display:block;color:#75808b;font-size:.68rem}.guided-subsection span:last-child{font-size:.78rem;line-height:1.2}.status-dot{width:12px;height:12px;border:2px solid #aeb8c2;border-radius:50%;flex:0 0 auto}.guided-subsection.state-complete .status-dot{border-color:#1f9d55;background:#1f9d55;box-shadow:inset 0 0 0 2px white}.guided-subsection.state-progress .status-dot{border-color:#d89a00;background:#fff}.guided-subsection.state-missing{color:#68737e}
.guided-section-note{margin:0 0 14px;border:0;background:transparent;padding:0;display:grid;gap:2px}.guided-section-note span{color:#6b7680;font-size:.78rem}.guided-section-note strong{font-size:.9rem}
body.guided-mode #nav{display:none!important}body.guided-mode .sources{display:none}body.guided-mode #clear{display:none}.guided-tech{margin-top:12px}.guided-tech summary{cursor:pointer;font-size:.84rem;color:#56616c}
.comparison-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.comparison-cards article{border:1px solid #d7dde4;border-radius:12px;padding:12px;background:#fff}
@media(max-width:1050px){.guided-stage-grid{grid-template-columns:repeat(2,1fr)}.guided-stage:last-child{grid-column:1/-1}}
@media(max-width:650px){.guided-stage-grid{grid-template-columns:1fr}.guided-stage:last-child{grid-column:auto}.guided-journey-head{display:block}.guided-review-btn{width:100%;margin-top:8px}.comparison-cards{grid-template-columns:1fr}}
.didactic-flow{display:grid;gap:12px}
.didactic-intro{border:1px solid var(--line);background:#f8fafb;border-radius:12px;padding:11px 12px;max-width:760px}
.didactic-intro p{margin:4px 0 0;color:var(--muted);font-size:.88rem}
.didactic-progress{font-size:.8rem;color:var(--muted)}
.didactic-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;display:grid;gap:11px}
.didactic-card>small,.didactic-suggestion small{color:var(--muted)}
.didactic-context{border-left:3px solid #9aa5b1;padding:8px 10px;background:#f8fafb;border-radius:0 8px 8px 0;font-size:.9rem}
.didactic-question{font-size:1.08rem;font-weight:780;line-height:1.3;margin-top:2px}
.didactic-main-label{display:grid;gap:5px;font-size:.86rem;font-weight:700}
.didactic-main-label textarea,.didactic-detail textarea,.didactic-detail select{width:100%;border:1px solid #b8c2cc;border-radius:9px;padding:9px;font:inherit;background:#fff}
.didactic-main-label textarea{min-height:78px}
.didactic-choice-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.didactic-choice-row button,.didactic-actions button,.didactic-nav button{border:1px solid #aeb8c2;background:#fff;border-radius:10px;padding:10px 11px;font:inherit}
.didactic-choice-row button.selected{background:#eef5ff;border-color:#52606d;font-weight:750}
.didactic-suggestion{border:1px solid #cbd8e5;background:#f7fbff;border-radius:11px;padding:10px 11px}
.didactic-suggestion p{margin:4px 0;color:#56616d;font-size:.86rem}
.didactic-detail{border-top:1px solid #edf0f3;padding-top:9px}
.didactic-detail summary{cursor:pointer;color:#596673;font-size:.86rem}
.didactic-detail>p{color:var(--muted);font-size:.84rem}
.didactic-actions{display:flex;gap:8px;flex-wrap:wrap}
.didactic-nav{display:flex;justify-content:space-between;gap:8px}
body.guided-mode .completion-wrap .completion-note+ .completion-card{margin-top:0}
@media(max-width:700px){.didactic-choice-row{grid-template-columns:1fr}.didactic-actions,.didactic-nav{display:grid}.didactic-actions button,.didactic-nav button{width:100%}}

.writing-help{display:grid;gap:8px}
.writing-help>button{justify-self:start;border:1px solid #7f8b96;background:#fff;border-radius:9px;padding:9px 11px;font:inherit}
.writing-help-panel{border:1px solid #cbd8e5;background:#f8fbff;border-radius:12px;padding:11px;display:grid;gap:10px}
.writing-help-explain p{margin:4px 0;color:#56616d;font-size:.86rem}
.writing-source{border-left:3px solid #9fb5ca;padding:7px 10px;background:#fff;border-radius:0 8px 8px 0}
.writing-source small{color:var(--muted)}.writing-source p{margin:4px 0;font-size:.84rem}
.writing-proposals{display:grid;gap:8px}.writing-proposals article{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px}
.writing-proposals article p{margin:5px 0 8px;line-height:1.4}.writing-proposals article small{color:var(--muted)}
.writing-proposals button{border:1px solid #aeb8c2;background:#fff;border-radius:8px;padding:8px 10px;font:inherit}
@media(max-width:700px){.writing-help>button,.writing-proposals button{width:100%}}

.indicator-card{display:grid;gap:12px}
.indicator-level{display:flex;justify-content:space-between;gap:12px;align-items:center}
.indicator-level small{color:var(--muted)}
.indicator-level strong{font-size:.82rem;border:1px solid #cbd8e5;background:#f7fbff;border-radius:999px;padding:5px 8px}
.indicator-step{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;display:grid;gap:9px}
.indicator-step h4{margin:0;font-size:1.02rem}.indicator-step p{margin:0;color:var(--muted);font-size:.88rem}
.indicator-step-tag{font-size:.74rem;color:#52606d;font-weight:700}
.indicator-help{display:grid;gap:8px}.indicator-help>button{justify-self:start;border:1px solid #aeb8c2;background:#fff;border-radius:9px;padding:8px 10px;font:inherit}
.indicator-step-nav{display:flex;justify-content:space-between;gap:8px}.indicator-step-nav button{border:1px solid #aeb8c2;background:#fff;border-radius:9px;padding:9px 11px;font:inherit}
.indicator-baseline-note{border:1px solid #eadc9b;background:#fff8df;border-radius:9px;padding:9px;font-size:.84rem;color:#5d646b}
.indicator-quality{border-radius:10px;padding:10px 11px}.indicator-quality.ok{background:#eef8f1;border:1px solid #bddfc7}.indicator-quality.pending{background:#fff8df;border:1px solid #eadc9b}.indicator-quality ul{margin:6px 0 0;padding-left:18px}.indicator-quality p{margin:4px 0}
@media(max-width:700px){.indicator-level{display:grid}.indicator-step-nav{display:grid}.indicator-step-nav button,.indicator-help>button{width:100%}}

/* Assisted S11-S12 2026-10-06 */
.trace-context{border:1px solid #d8e5dd;background:#fbfdfb;border-radius:12px;padding:10px 12px}
.trace-context summary{cursor:pointer;font-weight:800;color:#205e43}.trace-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-top:8px}
.trace-context-grid p{margin:0;display:grid;gap:3px;padding:7px 0;border-top:1px solid #edf2ef}.trace-context-grid b{font-size:.76rem;color:#60706a}.trace-context-grid span{font-size:.88rem;line-height:1.35}
.assistant-lead{margin:-3px 0 0;color:var(--muted);font-size:.9rem}.activity-ai-actions{display:flex;gap:8px;flex-wrap:wrap}
.activity-ai-actions button,.activity-suggestion-pills button,.battery-overview button,.verification-suggestions button{border:1px solid #aeb8c2;background:#fff;border-radius:999px;padding:8px 11px;font:inherit}
.activity-ai-actions button:first-child{border-color:#2b7a58;color:#155c3e;background:#f1faf5;font-weight:750}
.activity-suggestion-pills{display:flex;gap:7px;flex-wrap:wrap}.activity-suggestion-pills button{background:#f3f8f5;border-color:#d3e4da}
.proposal-box{border:1px solid #cfe2d7;background:#f7fcf9;border-radius:12px;padding:11px;display:grid;gap:8px}.proposal-box>small{color:#39745b;font-weight:800}.proposal-box>p{margin:0;color:var(--muted);font-size:.82rem}
.activity-warning{border:1px solid #eadc9b;background:#fff8df;border-radius:10px;padding:10px}.activity-warning p{margin:4px 0;color:#5d646b;font-size:.84rem}
.didactic-question.compact{font-size:.98rem}.battery-overview{border:1px solid #e1e7e3;background:#fbfcfb;border-radius:11px;padding:10px;display:grid;gap:8px}.battery-overview small{color:var(--muted);font-weight:700}.battery-overview>div{display:flex;gap:7px;flex-wrap:wrap}.battery-overview button.selected{background:#1f7a50;color:#fff;border-color:#1f7a50}
.indicator-tech-detail{border-top:1px solid #edf0f3;padding-top:9px}.indicator-tech-detail summary{cursor:pointer;font-weight:700;color:#52606d}.indicator-tech-detail .completion-grid{margin-top:10px}
.verification-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.verification-suggestions small{width:100%;color:var(--muted)}
@media(max-width:700px){.trace-context-grid{grid-template-columns:1fr}.activity-ai-actions{display:grid}.activity-ai-actions button{width:100%}.battery-overview>div,.verification-suggestions{display:grid}.battery-overview button,.verification-suggestions button{width:100%;text-align:left}}


/* Unified visual language 2026-10-06 */
.guided-journey{
  border-color:#d9e5de;
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 22px rgba(16,33,58,.05);
  padding:18px;
}
.guided-journey-head strong{color:#10213a;font-size:1.12rem}
.guided-journey-head p{color:#6a776f}
.guided-review-btn{background:#176b49;border-color:#176b49;border-radius:12px}
.guided-stage{border-color:#dce7e1;border-radius:15px;box-shadow:0 3px 10px rgba(16,33,58,.035)}
.guided-stage.current{border-color:#2f9468;box-shadow:0 0 0 2px rgba(47,148,104,.12)}
.guided-stage header{background:linear-gradient(180deg,#fbfdfc,#f6faf7)}
.stage-number{background:#eaf6ef;color:#216447}
.guided-stage.current .stage-number{background:#176b49;color:#fff}
.stage-status.stage-complete{background:#e9f7ef;color:#17633d}
.stage-status.stage-progress{background:#fff6dc;color:#7d5c00}
.guided-subsection{color:#30433a}
.guided-subsection.current{background:#edf8f2;color:#194f39}
.guided-subsection.state-complete .status-dot{border-color:#2fa56f;background:#2fa56f}
.didactic-intro{
  border-color:#dce7e1;
  background:linear-gradient(180deg,#fbfdfc,#f7faf8);
  border-radius:16px;
  padding:13px 14px;
}
.didactic-card{
  border-color:#dbe6df;
  border-radius:18px;
  padding:16px;
  box-shadow:0 5px 16px rgba(16,33,58,.045);
}
.didactic-context{
  border-left-color:#55a47e;
  background:#f3faf6;
  border-radius:0 10px 10px 0;
  color:#31473c;
}
.didactic-question{color:#10213a;letter-spacing:-.01em}
.didactic-main-label textarea,.didactic-detail textarea,.didactic-detail select{
  border-color:#cbd9d1;
  border-radius:12px;
}
.didactic-main-label textarea:focus,.didactic-detail textarea:focus,.didactic-detail select:focus{
  outline:0;border-color:#3d9b72;box-shadow:0 0 0 4px rgba(47,165,111,.11)
}
.didactic-choice-row button,.didactic-actions button,.didactic-nav button{
  border-color:#c8d7cf;
  border-radius:12px;
  color:#234d3a;
}
.didactic-choice-row button.selected{
  background:#edf8f2;
  border-color:#2d8b62;
  color:#145239;
}
.didactic-suggestion{
  border-color:#d4e7dc;
  background:#f4fbf7;
  border-radius:13px;
}
.didactic-suggestion small{color:#2c6d4e;font-weight:800}
.writing-help>button,.indicator-help>button{
  border-color:#8ebca4;
  color:#1d6747;
  background:#f4fbf7;
  border-radius:11px;
  font-weight:700;
}
.writing-help-panel{
  border-color:#d2e5d9;
  background:#f7fcf9;
  border-radius:15px;
}
.writing-source{border-left-color:#6ead8c;background:#fff}
.writing-proposals article{border-color:#dce7e1;border-radius:13px}
.writing-proposals button{
  border-color:#92bea8;
  color:#1a6546;
  background:#f7fcf9;
  border-radius:10px;
}
.indicator-level strong{
  border-color:#cfe4d8;
  background:#edf8f2;
  color:#1d6848;
}
.indicator-quality.ok{background:#edf8f2;border-color:#c7e2d1}
.indicator-quality.pending{background:#fff8df;border-color:#eadc9b}
.trace-context{border-color:#d5e7dc;background:#f8fcfa;border-radius:15px}
.trace-context summary{color:#1a6546}
.activity-ai-actions button:first-child{background:#edf8f2;border-color:#72ad8d;color:#165f41}
.activity-suggestion-pills button{background:#f1f9f4;border-color:#d5e6dc;color:#245b43}
.proposal-box{border-color:#cae1d3;background:#f5fbf7;border-radius:15px}
.battery-overview{border-color:#dce7e1;background:#fbfdfc;border-radius:14px}
.battery-overview button.selected{background:#176b49;border-color:#176b49}
.indicator-tech-detail summary{color:#2d664e}
@media(max-width:700px){
  .guided-journey{border-radius:17px;padding:14px}
  .didactic-card{border-radius:16px;padding:14px}
  .didactic-intro{border-radius:14px}
}


/* Section headers S05-S16 2026-10-06 */
.visually-replaced{display:none!important}
.section-screen-header{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:start;
  margin:0 0 22px;
  padding:2px 0 4px;
}
.section-screen-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#e8fbf0,#dff5e8);
  color:#176b49;
  box-shadow:inset 0 0 0 1px #d4ecdf;
}
.section-screen-icon svg{width:29px;height:29px}
.section-screen-copy{min-width:0;display:grid;gap:5px}
.section-screen-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.section-screen-title-row h2{
  margin:0;
  color:#0e1830;
  font-size:clamp(1.55rem,4vw,2rem);
  line-height:1.08;
  letter-spacing:-.025em;
}
.section-screen-title-row p{
  margin:5px 0 0;
  max-width:720px;
  color:#667085;
  font-size:.98rem;
  line-height:1.4;
}
.section-screen-copy>small{
  color:#68798f;
  font-size:.82rem;
  font-weight:700;
}
.section-progress-dots{
  display:flex;
  align-items:center;
  gap:0;
  padding-top:9px;
  flex:0 0 auto;
}
.section-progress-dots span{
  width:17px;
  height:17px;
  border-radius:50%;
  background:#dce2e4;
  position:relative;
}
.section-progress-dots span+span{margin-left:18px}
.section-progress-dots span+span:before{
  content:"";
  position:absolute;
  right:17px;
  top:7px;
  width:18px;
  height:3px;
  background:#dce2e4;
}
.section-progress-dots span.done{background:#31ad72}
.section-progress-dots span.done:before{background:#31ad72}
body.guided-mode #question{
  margin:0 0 6px;
  font-size:clamp(1.35rem,4vw,1.9rem);
  line-height:1.18;
  font-weight:820;
  letter-spacing:-.02em;
  color:#101a31;
}
@media(max-width:720px){
  .section-screen-header{grid-template-columns:52px 1fr;gap:12px;margin-bottom:18px}
  .section-screen-icon{width:52px;height:52px}
  .section-screen-icon svg{width:27px;height:27px}
  .section-screen-title-row{display:grid;gap:9px}
  .section-screen-title-row h2{font-size:1.55rem}
  .section-screen-title-row p{font-size:.93rem}
  .section-progress-dots{padding-top:2px}
  .section-progress-dots span{width:14px;height:14px}
  .section-progress-dots span+span{margin-left:15px}
  .section-progress-dots span+span:before{right:14px;top:6px;width:15px;height:3px}
}

/* S11 assisted relinking */
.activity-linker{display:grid;gap:9px}
.activity-linker>p{margin:0;color:#655f4a;font-size:.86rem}
.activity-link-options{display:grid;gap:8px}
.activity-link-options button{display:grid;gap:4px;text-align:left;border:1px solid #c9d8d0;background:#fff;border-radius:12px;padding:11px 12px;font:inherit;color:#173b2b}
.activity-link-options button:hover{background:#f4fbf7;border-color:#7fb99a}
.activity-link-options button small{color:#39745b;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.activity-link-options button b{line-height:1.35}
.activity-link-options button span{color:#66756d;font-size:.82rem;line-height:1.35}
.activity-link-empty{display:grid;gap:3px;border:1px dashed #d7c979;background:#fffdf3;border-radius:11px;padding:10px}
.activity-link-empty span{color:#6d6650;font-size:.84rem}
