/* Change One, Change All — styles.
   Base copied from ../learning-outcomes/css/styles.css (same SEA-EU thinking-surface family,
   same tokens); everything prefixed co- belongs to this page. */

:root {
  /* text-only shades of the accent colours, 4.5:1 or better on every course background (30 Sep 2026) */
  --text-ochre: #855c15; --text-green: #4c6a3a; --text-brown: #8e4f22;
  --paper: #f5f2ea;
  --card: #fcfaf4;
  --inset: #efeadd;
  --ink: #23261f;
  --ink-soft: #474b40;
  --muted: #6b6557;
  --hair: #ddd6c4;
  --hair-strong: #c9c1ab;
  --danger: #a8442c;
  --danger-soft: #f4e6df;
  --ok: #587d4b;
  --ok-soft: #e9eedd;
  --warn: #b7822f;
  --warn-soft: #f5ecd8;
  --ai: #6c58a8;
  --ai-soft: #ece7f4;
  /* the alignment triad, as on the course home */
  --c-out: #34708b;
  --c-act: #587d4b;
  --c-ass: #a25e2e;
  --font-ui: "Schibsted Grotesk", system-ui, sans-serif;
  --font-display: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- masthead ---------- */

.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 26px 44px 0 44px;
  border-bottom: 1px solid var(--hair-strong);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.masthead-id { padding-bottom: 18px; }

.masthead-eyebrow {
  margin: 0 0 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.lens-tabs { display: flex; gap: 4px; }

.lens-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-ui);
  transition: color 0.15s ease;
}

.lens-tab:hover { color: var(--ink-soft); }

.lens-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.lens-tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lens-tab-name { font-size: 15.5px; font-weight: 600; }

/* ---------- layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(380px, 5fr) minmax(420px, 6fr);
  gap: 48px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 44px 64px 44px;
  flex: 1;
  align-items: start;
}

.stage { position: sticky; top: 28px; }

.stage-caption {
  margin: 6px auto 0 auto;
  max-width: 420px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.panel { min-width: 0; }

.lens-panel { display: flex; flex-direction: column; gap: 18px; }

/* ---------- cards (shared vocabulary) ---------- */

.detail-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 26px 28px;
}

.detail-kicker {
  margin: 0 0 6px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0 0 12px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.detail-body {
  margin: 0 0 12px 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.detail-body:last-child { margin-bottom: 0; }

.detail-craft {
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.detail-craft li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.detail-craft li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--hair-strong);
}
.detail-craft:last-child { margin-bottom: 0; }

.detail-example {
  background: var(--inset);
  border-radius: 6px;
  padding: 16px 18px;
}
.detail-example-kicker {
  margin: 0 0 6px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-example-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  font-style: italic;
}

.detail-hint {
  margin: 14px 0 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.footnote {
  margin: 8px 0 0 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.bq { margin: 0 0 12px 0; padding: 4px 0 0 0; }
.bq p {
  margin: 0 0 8px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.bq cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}


.approach-card { border-left-width: 4px; }
.approach-card[data-tone="ai"] { border-left-color: var(--ai); }

/* ---------- next / link cards ---------- */

.next-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--inset);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
  transition: border-color 0.15s ease;
}
.next-link:first-of-type { margin-top: 4px; }
.next-link:hover { border-color: var(--ink); }
.next-link-kicker {
  margin: 0 0 4px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.next-link-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- colophon ---------- */

.colophon {
  border-top: 1px solid var(--hair-strong);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 44px 26px 44px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.colophon p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}


/* ======================= this page (co-) ======================= */

/* ---------- stage: the map ---------- */

.co-map { width: 100%; height: auto; display: block; }
.co-ring { fill: none; stroke: var(--hair-strong); stroke-width: 1.5; stroke-dasharray: 4 6; }
.co-tri { fill: none; stroke: var(--hair-strong); stroke-width: 2; }
.co-el { cursor: default; outline: none; }
.co-el .co-shape { fill: var(--card); stroke: var(--hair-strong); stroke-width: 1.5; transition: fill 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease; }
.co-node .co-shape { stroke: var(--nc, var(--hair-strong)); stroke-width: 2.5; }
.co-core .co-shape { fill: var(--ink); stroke: var(--ink); }
.co-num { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; fill: var(--muted); }
.co-name { font-family: var(--font-display); font-size: 18px; fill: var(--ink); }
.co-core .co-num { fill: #c9c1ab; }
.co-core .co-name { fill: #fcfaf4; font-size: 20px; }

/* 01: touched, start, focus */
.co-el.is-touched .co-shape { fill: var(--ok-soft); }
.co-core.is-touched .co-shape { fill: #3d4a36; }
.co-el.is-start .co-shape { stroke: var(--warn); stroke-width: 4.5; }
.co-el.is-focus .co-shape { stroke: var(--ink); stroke-width: 4.5; }
.co-core.is-focus .co-shape { stroke: #b7822f; }
.stage[data-tab="ripple"] .co-el { cursor: pointer; }
.stage[data-tab="ripple"] .co-el:focus-visible .co-shape { stroke: var(--ink); stroke-width: 4.5; }

/* 02: pulling apart */
.co-pull { stroke: var(--danger); stroke-width: 4; stroke-dasharray: 10 6; }
.co-pull-mark circle { fill: var(--danger); }
.co-pull-mark text { fill: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 16px; }
.co-el.is-pull .co-shape { fill: var(--danger-soft); stroke: var(--danger); stroke-width: 3.5; }
.co-core.is-pull .co-shape { fill: #5a2a1e; }

/* 03: asked */
.co-el.is-asked .co-shape { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 3; }
.co-core.is-asked .co-shape { fill: #3d4a36; stroke: var(--ok); }
.co-badge circle { fill: var(--ok); }
.co-badge text { fill: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 600; }

/* 04: filled or empty on your course on one page */
.co-el.is-filled .co-shape { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 3; }
.co-core.is-filled .co-shape { fill: #3d4a36; stroke: var(--ok); }
.co-el.is-empty .co-shape { stroke-dasharray: 5 4; }
.co-core.is-empty .co-shape { fill: #6b6e63; stroke-dasharray: none; }

/* ---------- panel ---------- */

.co-reflect { margin: 14px 0 0 0; padding: 10px 12px; background: var(--inset); border-radius: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.co-activity { border-left: 4px solid var(--ok); }

.co-eltag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--inset);
  border-radius: 4px;
  padding: 2px 7px;
}
.co-neq { margin: 0 8px; font-weight: 700; color: var(--danger); }

.co-scenarios { display: flex; flex-wrap: wrap; gap: 6px; }
.co-scenario {
  appearance: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.co-scenario:hover { border-color: var(--ink); color: var(--ink); }
.co-scenario.is-on { background: var(--ink); border-color: var(--ink); color: var(--card); }
.co-scenario.is-yours { border-style: dashed; }
.co-scenario.is-yours.is-on { background: var(--ok); border-color: var(--ok); border-style: solid; }

.co-ripple, .co-pairs { list-style: none; margin: 4px 0 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.co-ripple li, .co-pairs li { padding: 12px 0 12px 12px; border-top: 1px solid var(--hair); border-left: 3px solid transparent; transition: background 0.2s ease, border-color 0.2s ease; }
.co-ripple li.is-start { border-left-color: var(--warn); }
.co-ripple li.is-focus { background: var(--inset); border-left-color: var(--ink); }
.co-ripple-head { margin: 0 0 6px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.co-ripple-text { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.co-ripple-q { margin: 0; font-size: 13.5px; color: var(--muted); }
.co-start { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-ochre); }

.co-examples { display: flex; flex-direction: column; gap: 8px; }
.co-example {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-family: var(--font-ui);
  background: var(--card);
  border: 1px solid var(--hair);
  border-left: 4px solid var(--hair-strong);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.co-example:hover { border-color: var(--hair-strong); }
.co-example.is-on { border-color: var(--danger); background: #fdf7f4; }
.co-example-pair { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 2px; }
.co-example-row { display: grid; grid-template-columns: 9em 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.co-example-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.co-example-note { font-size: 15px; line-height: 1.5; color: var(--muted); }
.co-example-row.is-learns span:last-child { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--danger); }

.co-checks { display: flex; flex-direction: column; gap: 6px; }
.co-check {
  appearance: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  font-family: var(--font-ui);
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.co-check:hover { border-color: var(--hair-strong); }
.co-check.is-on { background: var(--ok-soft); border-color: var(--ok); }
.co-check-box { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--hair-strong); border-radius: 4px; background: #fff; position: relative; }
.co-check.is-on .co-check-box { background: var(--ok); border-color: var(--ok); }
.co-check.is-on .co-check-box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.co-check-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.co-check-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.co-check-q { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.co-mine { display: flex; flex-direction: column; gap: 0; margin-bottom: 4px; }
.co-mine-sec { padding: 10px 0; border-top: 1px solid var(--hair); }
.co-mine-h { margin: 0 0 6px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.co-mine ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.co-mine li { font-size: 15px; line-height: 1.5; color: var(--ink); }
.co-mine li b { font-weight: 600; }

.co-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.co-textarea, .co-select {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 9px 11px;
}
.co-textarea { display: block; margin-top: 8px; resize: vertical; line-height: 1.5; }
.co-label .co-textarea { margin-top: 0; }
.co-ripple-yours .co-textarea { margin-top: 6px; }
.co-textarea:focus, .co-select:focus { outline: 2px solid var(--ok); outline-offset: 1px; border-color: var(--ok); }

.co-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.co-btn {
  appearance: none;
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.co-btn:hover { border-color: var(--ink); }
.co-btn-primary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.co-btn-primary:hover { background: #3a3e33; }
.co-btn.is-done { background: var(--ok); border-color: var(--ok); color: var(--card); }

.co-small { margin: 8px 0 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.co-privacy { color: var(--ai); }
.co-prompt {
  margin: 12px 0 0 0;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.co-subhead { margin: 18px 0 8px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.co-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.co-list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.co-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ai); }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; gap: 24px; padding: 24px 24px 48px 24px; }
  .stage { position: static; max-width: 520px; margin: 0 auto; width: 100%; }
  .masthead { padding: 22px 24px 0 24px; }
  .lens-tabs { overflow-x: auto; width: 100%; }
  .colophon { padding: 16px 24px 22px 24px; }
}

@media (max-width: 640px) {
  .layout { padding: 20px 16px 40px 16px; }
  .masthead { padding: 20px 16px 0 16px; }
  .colophon { padding: 16px 16px 22px 16px; }
  .masthead-title { font-size: 27px; }
  .lens-tab { padding: 10px 10px 12px 10px; }
  .lens-tab-name { font-size: 14px; }
  .detail-card { padding: 20px 18px; }
  .co-example-row { grid-template-columns: 1fr; gap: 2px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* closing: what you take with you (the course outcomes as self-check questions) */
.co-take-group { border-top: 1px solid var(--hair); margin-top: 12px; padding-top: 4px; }
.co-take-list { margin: 0; padding-left: 22px; }
.co-take-list li { margin: 0 0 12px 0; }
.co-take-q { margin: 0 0 6px 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.co-take-links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.co-take-write { width: 100%; margin: 4px 0 8px 0; }
.co-take-link { appearance: none; font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--hair-strong); border-radius: 999px; padding: 4px 11px; text-decoration: none; cursor: pointer; }
.co-take-link:hover { border-color: var(--ink); color: var(--ink); }

/* closing the loop: the first sketch, then and now (29 Sep 2026) */
.co-loop-list { list-style: none; margin: 12px 0 0 0; padding: 0; }
.co-loop-row { padding: 12px 0; border-top: 1px solid var(--hair); }
.co-loop-then { margin: 8px 0 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.co-loop-tag {
  display: inline-block; min-width: 44px; margin-right: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.co-loop-none { font-style: italic; color: var(--muted); }
.co-loop-rate {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px;
  font-size: 12px; border: 1px solid var(--hair-strong); color: var(--ink-soft); white-space: nowrap;
}
.co-loop-rate[data-r="clear"] { border-color: var(--ok); color: var(--text-green); }
.co-loop-now { display: flex; align-items: center; margin-top: 6px; }
.co-input {
  box-sizing: border-box; flex: 1; min-width: 0;
  font-family: var(--font-ui); font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--hair-strong); border-radius: 6px; padding: 7px 10px;
}
.co-input:focus { outline: 2px solid var(--ok); outline-offset: 1px; border-color: var(--ok); }
.co-loop-whole { margin: 4px 0 0 0; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
