/* Shared visual system for every book-club meeting. */
:root {
  --ink: #102b47;
  --bg: #eaf3f7;
  --paper: #fafdff;
  --line: #b8d0dd;
  --muted: #527087;
  --teal: #176b82;
  --blue: #15579a;
  --rust: #15579a;
  --gold: #4b91bd;
  --soft: #dff1f5;
  --soft2: #e1ebf6;
  --warn: #e5f0f6;
  --bad: #fdeeee;
  --good: #dff1f5;
  --shadow: 0 14px 34px rgba(12, 55, 92, .10);
  --font: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
  --serif: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
}

body {
  background-color: var(--bg) !important;
  background-image:
    linear-gradient(rgba(21, 87, 154, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 87, 154, .07) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
  color: var(--ink);
  font-family: var(--font);
}

.home-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: #15579a;
  background: rgba(250,253,255,.94);
  border: 1px solid rgba(184,208,221,.9);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(12,55,92,.14);
  backdrop-filter: blur(10px);
}

.home-link:hover { color: #fff; background: #15579a; }
.home-link svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

body > header,
.wrap > header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0d5596;
  color: #fff;
  border: 0;
}

body > header {
  padding: 62px 24px 58px;
}

.wrap > header {
  padding: 46px 38px 42px;
  margin-bottom: 28px;
}

body > header::before,
.wrap > header::before {
  content: "";
  position: absolute;
  inset: -45% -8% -15% 34%;
  z-index: -2;
  background: repeating-radial-gradient(
    ellipse at 62% 48%,
    transparent 0 13px,
    rgba(255, 255, 255, .18) 14px 15px,
    transparent 16px 25px
  );
  transform: rotate(-8deg);
}

body > header::after,
.wrap > header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 48, 91, .87), rgba(10, 78, 141, .68), rgba(24, 109, 169, .16));
}

.head { position: relative; }

.label {
  color: #bfe7f5 !important;
  font-size: .72rem !important;
  letter-spacing: .14em !important;
}

h1 {
  max-width: 820px;
  color: #fff;
  font-family: var(--font) !important;
  font-size: clamp(2.45rem, 7vw, 5rem) !important;
  font-weight: 500;
  line-height: 1.02 !important;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 em {
  color: #fff !important;
  font-style: normal !important;
  font-weight: 700;
}

.sub {
  max-width: 680px;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 1.05rem;
  line-height: 1.65;
}

.pill {
  color: #e8f6fb !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .28) !important;
}

.panel,
.wrap section {
  background: rgba(250, 253, 255, .97);
  border-color: var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.panel h2,
.wrap section h2 {
  color: #103f69;
  font-family: var(--font);
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead,
.card p,
.card li,
.footer { color: var(--muted); }

.step,
.exercise { border-left-color: #1680a2 !important; }

.role,
.roleplay { border-left-color: #15579a !important; }

.btn,
.case-btn,
.chip,
.option-card,
.drag-card,
.drop-zone,
.card-bank,
.trainer-card,
.card,
.cell,
.quote,
.good,
.bad,
.note,
.reveal,
details,
textarea,
.round,
.summary-item,
section { border-radius: 4px !important; }

.btn,
.case-btn.active {
  background: var(--blue);
  border-color: var(--blue);
}

.btn.rust {
  background: #123e62 !important;
  border-color: #123e62 !important;
}

.btn.secondary,
.case-btn {
  color: var(--blue);
  border-color: var(--blue);
}

.reveal,
details {
  border-color: #79a9c3;
  background: rgba(225, 239, 247, .76);
}

.quote {
  color: var(--ink);
  background: #e8f1f6;
  border-left-color: #4b91bd !important;
}

.counter,
.card h3,
.cell strong,
.drop-zone h3,
summary,
.time b { color: #176b82 !important; }

.good,
.note.good,
.drag-card.correct,
.dialogue-line.good-line,
.option-card.best {
  color: #174f6a !important;
  background: #dff1f5 !important;
  border-color: #72abc4 !important;
}

.bad,
.note.bad,
.drag-card.wrong,
.dialogue-line.risky-line,
.option-card.risky {
  color: #7a1f1a !important;
  background: #fdeeee !important;
  border-color: #c0392b !important;
}

.dialogue-line strong,
.round b { color: #15579a !important; }

textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 87, 154, .12);
}

@media (max-width: 620px) {
  body > header { padding: 44px 20px 42px; }
  .wrap > header { padding: 34px 22px 32px; }
  h1 { font-size: 2.3rem !important; }
  .container,
  .wrap { padding-inline: 14px; }
  .panel,
  .wrap section { padding: 18px; }
}

/* Exercise library homepage */
.library-page { min-height: 100vh; }

.library-page .library-hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 1.5rem 0;
}

.library-hero__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: end;
}

.library-hero__copy { padding-bottom: clamp(2.5rem, 7vw, 5rem); }

.library-page h1 strong { font-weight: 700; }

.creator-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .18rem;
  width: fit-content;
  margin-top: 1.35rem;
  color: rgba(255,255,255,.74);
  font-size: .82rem;
}

.creator-mark strong {
  position: relative;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.creator-mark strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.3rem;
  height: 2px;
  background: #8ed0e8;
}

.library-primary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(5,34,66,.18);
}

.library-primary:hover { background: #eaf5fa; }
.library-primary svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }

.book-cover {
  margin: 0;
  align-self: end;
  filter: drop-shadow(0 20px 32px rgba(5,34,66,.28));
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
  object-position: bottom;
}

.library-main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0 5rem;
}

.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.library-heading h2,
.library-note h2 {
  margin: 0;
  color: #103f69;
  font-family: var(--font);
}

.library-heading h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.library-heading > p { max-width: 46ch; margin: 0; color: var(--muted); }

.library-kicker {
  margin: 0 0 .35rem;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.cycle-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
  margin: 0 0 1.75rem;
}
.cycle-map a {
  display: grid;
  gap: .2rem;
  padding: .85rem .9rem;
  text-decoration: none;
  color: var(--ink);
  background: rgba(250,253,255,.96);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 5.4rem;
}
.cycle-map a strong { color: #15579a; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.cycle-map a span { font-size: .92rem; font-weight: 750; line-height: 1.3; }
.cycle-map a.current { border-color: #15579a; background: #dff1f5; box-shadow: 0 0 0 2px rgba(21,87,154,.18); }
.cycle-map a:hover { border-color: #176b82; }
.cycle-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: space-between;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: .92rem;
}
.cycle-nav a { color: var(--blue); font-weight: 750; text-decoration: none; }
.meeting-list { display: grid; gap: 1.25rem; }
@media (max-width: 860px) {
  .cycle-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.meeting-card {
  display: grid;
  grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
  min-height: 285px;
  overflow: hidden;
  background: rgba(250,253,255,.98);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.meeting-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.4rem;
  color: #fff;
  background: #0d5596;
  text-decoration: none;
}

.meeting-preview::before {
  content: "";
  position: absolute;
  inset: -40% -45% -35% 5%;
  z-index: -2;
  background: repeating-radial-gradient(ellipse at 60% 50%, transparent 0 11px, rgba(255,255,255,.2) 12px 13px, transparent 14px 22px);
  transform: rotate(-10deg);
}

.meeting-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(6,48,91,.85), rgba(18,111,165,.28));
}

.meeting-preview--two { background: #176b82; }
.meeting-preview--three { background: #123e62; }

.meeting-preview svg {
  width: 4.2rem;
  height: 4.2rem;
  align-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meeting-preview > span:last-child {
  max-width: 22ch;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.preview-index { font-size: .75rem; font-weight: 800; letter-spacing: .14em; }

.meeting-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.meeting-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.meeting-meta span { padding: .22rem .48rem; color: #15506f; background: #dff1f5; border: 1px solid #b8d9e4; border-radius: 3px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.meeting-content h3 { margin: 0 0 .65rem; color: #103f69; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.2; }
.meeting-content p { margin: 0 0 .85rem; color: var(--muted); }
.exercise-list { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.exercise-list li { position: relative; padding-left: 1rem; color: #345b72; font-size: .86rem; }
.exercise-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: .36rem; height: .36rem; background: #4b91bd; }
.meeting-link { display: inline-flex; gap: .55rem; align-items: center; margin-top: auto; color: var(--blue); font-weight: 800; text-decoration: none; }
.meeting-link:hover { text-decoration: underline; }

.library-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #dff1f5;
  border-left: 5px solid #176b82;
}

.library-note svg { width: 2rem; height: 2rem; fill: none; stroke: #176b82; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.library-note h2 { margin-bottom: .3rem; font-size: 1.15rem; }
.library-note p { margin: 0; color: var(--muted); }

.library-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
  color: #5f7c8e;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}

.library-footer strong { color: #15579a; font-weight: 700; }

@media (max-width: 760px) {
  .library-hero__inner { grid-template-columns: 1fr; }
  .library-hero__copy { padding-bottom: 0; }
  .book-cover { width: min(260px, 72vw); justify-self: center; }
  .library-heading { align-items: start; flex-direction: column; gap: .75rem; }
  .meeting-card { grid-template-columns: 1fr; }
  .meeting-preview { min-height: 230px; }
}

@media (max-width: 480px) {
  .library-main { width: min(100% - 1.25rem, 1100px); }
  .meeting-content { padding: 1.15rem; }
  .library-footer { align-items: flex-start; flex-direction: column; }
}

/* Meeting workbench components */
* { box-sizing: border-box; }
.hidden { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 42px 24px 72px; }
.wrap section { background: var(--paper); border: 1px solid var(--line); padding: 24px; margin: 18px 0; box-shadow: var(--shadow); }
.wrap h2 { margin: 0 0 12px; }
.lead { max-width: 82ch; }
.route { display: grid; gap: 0; }
.route div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.route div:last-child { border: 0; }
.exercise { border-left: 6px solid var(--teal); }
.roleplay { border-left: 6px solid var(--blue); }
.instruction { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 14px 0; padding: 14px; background: var(--soft); border: 1px solid var(--line); }
.instruction > b { display: grid; place-items: center; width: 30px; height: 30px; color: #fff !important; background: var(--blue); border-radius: 3px; }
.instruction strong { display: block; color: #103f69; }
.instruction p { margin: 2px 0 0; color: var(--muted); }
.btn { appearance: none; border: 1px solid var(--blue); background: var(--blue); color: #fff; border-radius: 4px; padding: 10px 14px; font: 700 .92rem var(--font); cursor: pointer; margin: 6px 8px 6px 0; }
.btn.secondary { background: #fff; color: var(--blue); }
.btn.small { padding: 6px 10px; font-size: .78rem; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 14px; border: 1px solid var(--line); background: #fff; }
.card h3 { margin: 0 0 8px; color: #15506f; font-size: 1rem; }
.card p { margin: 0 0 9px; color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 19px; }
.quote { margin: 12px 0; padding: 14px; border-left: 5px solid #4b91bd; background: #e8f1f6; font-style: italic; }
.feedback { margin-top: 10px; padding: 12px; border-left: 5px solid var(--teal); background: var(--soft); color: #174f6a; }
.mini-task { margin-top: 10px; padding: 12px; border: 1px dashed #8cb7cc; background: #f8fbfd; }
.mini-task strong { color: #15506f; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.tab { border: 1px solid var(--blue); background: #fff; color: var(--blue); border-radius: 4px; padding: 9px 12px; font-weight: 750; cursor: pointer; }
.tab.active { background: var(--blue); color: #fff; }
.case-box { padding: 16px; border: 1px solid var(--line); background: #fff; }
.case-title { color: var(--teal); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { padding: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; font: inherit; }
.choice.correct { border-color: #176b82; background: #dff1f5; color: #174f6a; }
.choice.incorrect { border-color: #c0392b; background: #fdeeee; color: #7a1f1a; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.check-card { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; padding: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.check-card input { margin-top: 5px; }
.check-card.correct { border-color: #176b82; background: #dff1f5; color: #174f6a; }
.check-card.incorrect { border-color: #c0392b; background: #fdeeee; color: #7a1f1a; }
.check-card.missed { border: 2px dashed #4b91bd; }
.case-tools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.action-choice { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 12px; font: inherit; cursor: pointer; text-align: left; }
.action-choice.correct { border-color: #176b82; background: #dff1f5; color: #174f6a; }
.action-choice.incorrect { border-color: #c0392b; background: #fdeeee; color: #7a1f1a; }
.result-summary { display: grid; gap: 7px; margin-top: 10px; }
.result-summary div { padding: 9px 11px; background: #fff; border: 1px solid var(--line); }
.sort-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 14px; margin-top: 14px; }
.marker-bank, .marker-board { display: grid; gap: 10px; }
.marker-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.marker-board.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.marker-card { padding: 12px; border: 1px solid var(--line); background: #fff; cursor: grab; line-height: 1.45; }
.marker-card:active { cursor: grabbing; }
.marker-card.selected { outline: 3px solid #8cb7cc; }
.marker-card.correct { border-color: #176b82; background: #dff1f5; color: #174f6a; }
.marker-card.incorrect { border-color: #c0392b; background: #fdeeee; color: #7a1f1a; }
.marker-card.disputed { border: 2px dashed #b8860b; background: #fdf6e3; }
.marker-zone { min-height: 132px; padding: 12px; border: 1px dashed #8cb7cc; background: #f8fbfd; }
.marker-zone h3 { margin: 0 0 8px; color: #15506f; font-size: .94rem; }
.marker-zone.over { background: #dff1f5; }
.marker-zone .marker-card { margin: 8px 0 0; }
.matrix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cell { padding: 13px; border: 1px solid var(--line); background: #fff; }
.cell strong { display: block; color: var(--teal); margin-bottom: 6px; }
textarea { width: 100%; min-height: 90px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; resize: vertical; }
details { border: 1px dashed #8cb7cc; background: #f8fbfd; margin-top: 10px; }
summary { cursor: pointer; padding: 11px 13px; font-weight: 800; color: #15506f; }
.details-body { padding: 0 13px 13px; }
.role-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.role-step { padding: 12px; border: 1px solid var(--line); background: #fff; }
.role-step span { display: inline-block; margin-bottom: 6px; padding: 3px 7px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 800; }
.footer { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 24px; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 3px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.badge.core { background: var(--blue); color: #fff; }
.badge.opt { background: var(--soft2); color: #15506f; border: 1px solid var(--line); }
.badge.home { background: var(--soft); color: #176b82; border: 1px solid #8cb7cc; }
.route .time { color: var(--muted); font-weight: 400; font-size: .88rem; margin-left: 6px; }
.format { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .87rem; color: var(--muted); }
.format b { color: #176b82 !important; }
.vote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.vote { padding: 13px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; font: inherit; }
.vote.chosen { border-color: #176b82; background: #dff1f5; outline: 3px solid #8cb7cc; }
.cheat { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.cheat th, .cheat td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.cheat th { background: var(--soft); color: #15506f; }
.timer-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; padding: 12px; border: 1px solid var(--line); background: #fff; }
.timer-display { min-width: 96px; text-align: center; font-size: 1.5rem; font-weight: 800; color: #103f69; font-variant-numeric: tabular-nums; }
.timer-display.over { color: #a33; }
.observer-list { display: grid; gap: 8px; margin-top: 10px; }
.wild-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.compass-item { padding: 14px; border: 1px solid var(--line); background: #fff; margin-top: 10px; }
.compass-item .quote { margin-top: 0; }
.ticket-out { margin-top: 12px; padding: 14px; border-left: 5px solid var(--teal); background: var(--soft); white-space: pre-line; }
.match-layout { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.5fr); gap: 14px; align-items: start; }
.match-col { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 12px; }
.match-item { text-align: left; width: 100%; height: auto; min-height: 0; padding: 12px 14px; white-space: normal; overflow: visible; line-height: 1.45; overflow-wrap: break-word; }
.choice.active { outline: 3px solid var(--teal); outline-offset: 1px; }
.choice.paired { border-style: dashed; opacity: 0.85; }
.scale-num { display: inline-flex; min-width: 26px; height: 26px; margin-right: 8px; border: 2px solid var(--teal); border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; color: var(--teal); }
select[data-gap6],
select[data-gap7],
select[data-gap8],
select[data-gap9] { margin: 0 4px; padding: 4px 8px; border: 2px solid var(--line); border-radius: 8px; font: inherit; max-width: 240px; }
select[data-gap6].correct,
select[data-gap7].correct,
select[data-gap8].correct,
select[data-gap9].correct { border-color: #2e8b57; background: #eef9f2; }
select[data-gap6].incorrect,
select[data-gap7].incorrect,
select[data-gap8].incorrect,
select[data-gap9].incorrect { border-color: #c0392b; background: #fdeeee; }

/* Meeting 10 · conceptualization */
.video-slot .video-placeholder {
  display: grid;
  gap: .5rem;
  place-items: center;
  text-align: center;
  min-height: 200px;
  padding: 2rem 1.25rem;
  border: 2px dashed #8cb7cc;
  border-radius: 8px;
  background: linear-gradient(160deg, #0d5596 0%, #176b82 55%, #15579a 100%);
  color: #fff;
}
.video-slot .video-placeholder strong { font-size: 1.1rem; }
.video-slot .video-placeholder span { max-width: 36rem; font-size: .92rem; opacity: .92; line-height: 1.45; }
.concept-canvas { display: grid; gap: 12px; margin-top: 12px; }
.concept-field { padding: 12px 14px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.concept-field label {
  display: block;
  margin-bottom: 8px;
  color: #15506f;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.35;
}
.concept-field textarea { margin-top: 0; min-height: 72px; }
.formulation-doc {
  font-family: var(--font);
  line-height: 1.55;
  white-space: pre-wrap;
}
@media print {
  .wrap > *:not(#canvasSection):not(#finalSection) { display: none !important; }
  #canvasSection, #finalSection { display: block !important; box-shadow: none; border: 1px solid #999; }
  #canvasSection button, #finalSection button, .home-link { display: none !important; }
  #formulationOut, #finalPack { display: block !important; }
}

@media (max-width: 860px) {
  .grid, .grid.three, .matrix, .choices, .choices.three, .check-grid, .sort-layout, .marker-board, .marker-board.three, .role-steps, .vote-grid, .wild-cards, .match-layout, .match-col { grid-template-columns: 1fr; }
  .wrap { padding-inline: 14px; }
}

@media print {
  .home-link, .wrap > header, .footer { display: none !important; }
  .wrap > *:not(#roleplaySection) { display: none !important; }
  #roleplaySection { box-shadow: none; border: 1px solid #999; }
  #roleplaySection .hidden { display: block !important; }
  #roleplaySection button, #roleplaySection textarea, #roleplaySection .timer-box { display: none !important; }
}
