:root {
  color-scheme: light;
  --ink: #172027;
  --muted: #5c6670;
  --line: #d8e0e1;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --teal: #0e7c7b;
  --teal-dark: #095f5d;
  --coral: #e15f4f;
  --sun: #f2b84b;
  --leaf: #7aa95c;
  --shadow: 0 18px 45px rgba(23, 32, 39, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.susan-entry-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(244, 248, 245, .96)),
    #fbfaf6;
  color: var(--ink);
}

.susan-entry-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 0;
}

.susan-entry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  min-height: min(620px, calc(100vh - 96px));
}

.susan-entry-copy {
  display: grid;
  gap: 14px;
}

.susan-entry-copy .eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 850;
}

.susan-entry-copy h1 {
  margin: 0;
  color: #162127;
  font-size: clamp(48px, 8vw, 86px);
  line-height: .98;
}

.susan-entry-copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: #43505a;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.34;
}

.susan-entry-actions {
  display: grid;
  gap: 14px;
}

.susan-entry-primary,
.susan-entry-free,
.susan-entry-lane a,
.susan-entry-adult a {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 16px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.susan-entry-primary {
  background: #0e7c7b;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(14, 124, 123, .22);
}

.susan-entry-free {
  border-color: #d7e1d7;
  background: #ffffff;
  color: #172027;
}

.susan-entry-primary span,
.susan-entry-free span,
.susan-entry-lane span {
  font-size: 14px;
  font-weight: 850;
}

.susan-entry-primary strong,
.susan-entry-free strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.susan-entry-primary:focus-visible,
.susan-entry-free:focus-visible,
.susan-entry-lane a:focus-visible,
.susan-entry-adult summary:focus-visible,
.susan-entry-adult a:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 4px;
}

.susan-entry-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: #56626b;
  font-size: 15px;
}

.susan-entry-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.susan-entry-lanes-secondary {
  grid-template-columns: minmax(0, 1fr);
}

.susan-entry-lane {
  display: grid;
  gap: 8px;
  min-height: 214px;
  padding: 18px;
  border: 1px solid #d8e0e1;
  border-radius: 8px;
  background: #ffffff;
}

.susan-entry-lane.is-active {
  border-color: #7aa95c;
  box-shadow: inset 0 0 0 2px rgba(122, 169, 92, .28);
}

.susan-entry-lane[data-lane="doubao-native-video"] {
  background: #f5fbf8;
}

.susan-entry-lane strong {
  font-size: 22px;
  line-height: 1.15;
}

.susan-entry-lane p,
.susan-entry-adult p {
  margin: 0;
  color: #5c6670;
  line-height: 1.55;
}

.susan-entry-lane a,
.susan-entry-adult a {
  align-self: end;
  min-height: 46px;
  padding: 11px 13px;
  border-color: #d8e0e1;
  background: #f8fbf8;
  color: #0b5f5d;
  font-weight: 850;
}

.susan-entry-lane a[aria-disabled="true"],
.susan-entry-adult a[aria-disabled="true"] {
  color: #6b7280;
}

.susan-entry-adult {
  margin-top: 16px;
  border: 1px solid #d8e0e1;
  border-radius: 8px;
  background: #ffffff;
}

.susan-entry-adult > summary {
  padding: 16px 18px;
  color: #172027;
  font-weight: 900;
  cursor: pointer;
}

.susan-entry-adult-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.susan-entry-adult-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.susan-entry-adult strong {
  font-size: 18px;
}

.susan-call-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: #102033;
  color: #f8fbfb;
}

.susan-call-page *,
.susan-call-page *::before,
.susan-call-page *::after {
  box-sizing: border-box;
}

.susan-call-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(12px, 1.8vw, 20px);
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  padding: clamp(12px, 2vw, 22px);
  padding-bottom: calc(clamp(12px, 2vw, 22px) + 78px);
}

.susan-call-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  min-width: 0;
  min-height: calc(100vh - clamp(24px, 4vw, 44px));
}

.susan-call-evidence,
.susan-call-stage__header,
.susan-call-video-grid,
.susan-call-actions,
.susan-call-susan,
.susan-call-course-card,
.susan-call-child {
  min-width: 0;
}

.susan-call-stage__header,
.susan-call-actions,
.susan-call-evidence > div {
  border: 1px solid rgba(248, 251, 251, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.susan-call-stage__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}

.susan-call-stage__header p,
.susan-call-stage__header h1 {
  margin: 0;
}

.susan-call-stage__header p {
  color: #9ad8d2;
  font-size: 14px;
  font-weight: 850;
}

.susan-call-stage__header h1 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.04;
}

.susan-call-stage__header strong {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f2b84b;
  color: #172027;
  font-size: 15px;
}

.susan-call-video-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .86fr) minmax(320px, 1.45fr) minmax(190px, .72fr);
  grid-template-rows: minmax(280px, 1fr) auto auto auto auto;
  grid-template-areas:
    "susan course child"
    "insert insert insert"
    "coach coach coach"
    "signals signals signals"
    "loop loop loop";
  gap: 10px;
  min-height: 0;
  padding: 46px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(248, 251, 251, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 124, 123, .24), rgba(16, 32, 51, .88)),
    #0b1722;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.susan-call-video-grid__chrome {
  position: absolute;
  inset: 12px 14px auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.susan-call-video-grid__chrome span {
  max-width: 48%;
  padding: 8px 10px;
  border: 1px solid rgba(248, 251, 251, .18);
  border-radius: 999px;
  background: rgba(11, 23, 34, .72);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.susan-call-course-backdrop {
  position: absolute;
  inset: 46px 12px 12px;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.susan-call-course-backdrop img {
  width: 100%;
  height: 100%;
  max-width: min(76vw, 760px);
  max-height: 58vh;
  object-fit: contain;
  object-position: center;
  opacity: .28;
  filter: saturate(1.18) contrast(1.08);
  transform-origin: center;
  animation: susan-call-course-backdrop-breathe 3600ms ease-in-out infinite;
}

@keyframes susan-call-course-backdrop-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

.susan-call-susan,
.susan-call-course-card,
.susan-call-child,
.susan-call-frame-insert-layer,
.susan-call-coach-rail,
.susan-call-signal-strip,
.susan-call-realtime-loop {
  overflow: hidden;
  border: 1px solid rgba(248, 251, 251, .16);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
  position: relative;
  z-index: 1;
}

.susan-call-susan {
  grid-area: susan;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, .94);
  color: #172027;
}

.susan-call-avatar {
  display: grid;
  place-items: center;
  width: 80px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0e7c7b;
  color: #ffffff;
  font-size: 52px;
  font-weight: 950;
}

.susan-call-susan span,
.susan-call-course-card p,
.susan-call-evidence span {
  color: #0b5f5d;
  font-size: 14px;
  font-weight: 900;
}

.susan-call-susan strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.08;
}

.susan-call-susan p {
  margin: 8px 0 0;
  color: #5c6670;
  font-size: 16px;
  line-height: 1.35;
}

.susan-call-course-card {
  grid-area: course;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(14px, 2vw, 22px);
  background: rgba(255, 255, 255, .95);
  color: #172027;
}

.susan-call-course-card__image-wrap {
  position: relative;
  min-height: 0;
}

.susan-call-course-card img {
  width: 100%;
  height: 100%;
  max-height: 42vh;
  object-fit: contain;
  border-radius: 8px;
  background: #f6fbfb;
}

.susan-call-course-card__image-wrap span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  color: #0b5f5d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 10px 26px rgba(16, 32, 51, .18);
}

.susan-call-course-card__text {
  display: grid;
  gap: 8px;
  padding-top: 14px;
}

.susan-call-course-card p {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
}

.susan-call-course-card strong {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.12;
}

.susan-call-course-card span,
.susan-call-child span {
  color: #5c6670;
  font-size: 17px;
  line-height: 1.35;
}

.susan-call-frame-insert-layer {
  grid-area: insert;
  display: grid;
  grid-template-columns: .78fr 1fr 1.25fr 1.2fr;
  gap: 10px;
  padding: 10px;
  background: #fffbea;
  color: #172027;
}

.susan-call-frame-insert-layer div {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 64px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(14, 124, 123, .1);
}

.susan-call-frame-insert-layer span {
  color: #0b5f5d;
  font-size: 13px;
  font-weight: 900;
}

.susan-call-frame-insert-layer strong {
  color: #172027;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.susan-call-child {
  grid-area: child;
  position: relative;
  min-height: 260px;
  background: #0b1722;
  color: #ffffff;
}

.susan-call-child video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #0b1722;
}

.susan-call-child__empty {
  position: absolute;
  inset: 14px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, .34);
  border-radius: 8px;
  color: #dbeafe;
  text-align: center;
}

.susan-call-child__empty[hidden] {
  display: none;
}

.susan-call-child > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(16, 32, 51, .86);
  color: #ffffff;
}

.susan-call-coach-rail {
  grid-area: coach;
  display: grid;
  grid-template-columns: 1.08fr 1.2fr .92fr 1fr;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, .92);
  color: #172027;
}

.susan-call-coach-rail div {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 66px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f6fbfb;
}

.susan-call-coach-rail span {
  color: #0b5f5d;
  font-size: 13px;
  font-weight: 900;
}

.susan-call-coach-rail strong {
  color: #172027;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.susan-call-signal-strip {
  grid-area: signals;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
}

.susan-call-signal-strip div {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
}

.susan-call-signal-strip span {
  color: #9ad8d2;
  font-size: 13px;
  font-weight: 900;
}

.susan-call-signal-strip strong {
  color: #ffffff;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.susan-call-realtime-loop {
  grid-area: loop;
  display: grid;
  grid-template-columns: .85fr 1.05fr 1fr 1.05fr;
  gap: 10px;
  padding: 10px;
  background: rgba(154, 216, 210, .12);
  color: #ffffff;
}

.susan-call-realtime-loop div {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(11, 23, 34, .42);
}

.susan-call-realtime-loop span {
  color: #9ad8d2;
  font-size: 13px;
  font-weight: 900;
}

.susan-call-realtime-loop strong {
  color: #ffffff;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.susan-call-cue {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f2b84b;
  color: #172027;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 850;
  line-height: 1.28;
}

.susan-call-cue[data-state="warn"],
.susan-call-cue[data-state="error"] {
  background: #f9e6e0;
  color: #7a2d1d;
}

.susan-call-actions {
  position: fixed;
  right: clamp(360px, 30vw, 390px);
  bottom: clamp(10px, 1.6vw, 18px);
  left: clamp(12px, 2vw, 22px);
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr);
  gap: 10px;
  padding: 8px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
}

.susan-call-actions button,
.susan-call-actions a {
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
  cursor: pointer;
}

.susan-call-actions button:first-child {
  background: #0e7c7b;
  color: #ffffff;
}

.susan-call-actions button:nth-child(2),
.susan-call-actions a {
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #172027;
}

.susan-call-actions button:disabled {
  opacity: .56;
  cursor: default;
}

.susan-call-actions:has(#susan-call-start:disabled) {
  grid-template-columns: minmax(0, .95fr) minmax(0, .95fr);
}

#susan-call-start:disabled {
  display: none;
}

.susan-call-actions button:focus-visible,
.susan-call-actions a:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 3px;
}

.susan-call-evidence {
  display: grid;
  align-content: start;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.susan-call-evidence > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 76px;
  padding: 12px;
}

.susan-call-evidence span {
  color: #9ad8d2;
}

.susan-call-evidence strong {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .susan-call-shell {
    grid-template-columns: 1fr;
  }

  .susan-call-stage {
    min-height: 0;
  }

  .susan-call-evidence {
    max-width: none;
  }

  .susan-call-video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto auto;
    grid-template-areas:
      "susan"
      "course"
      "child"
      "insert"
      "coach"
      "signals"
      "loop";
  }

  .susan-call-course-card {
    grid-row: auto;
  }

  .susan-call-course-card img {
    max-height: 34vh;
  }

  .susan-call-actions {
    grid-template-columns: 1fr;
    right: clamp(12px, 4vw, 22px);
  }

  .susan-call-frame-insert-layer {
    grid-template-columns: 1fr;
  }

  .susan-call-coach-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .susan-call-signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .susan-call-realtime-loop {
    grid-template-columns: 1fr;
  }
}

.tv-phone-receiver-page {
  min-height: 100vh;
  background: #15251f;
  color: #f8faf8;
}

.tv-phone-receiver {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  min-height: 100vh;
  padding: clamp(16px, 2.4vw, 28px);
}

.tv-phone-receiver__stage,
.tv-phone-receiver__panel {
  min-width: 0;
}

.tv-phone-receiver__stage {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
}

.tv-phone-receiver__copy {
  display: grid;
  gap: 8px;
}

.tv-phone-receiver__eyebrow {
  margin: 0;
  color: #a7f3d0;
  font-size: 20px;
  font-weight: 800;
}

.tv-phone-receiver h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

.tv-phone-receiver__lead {
  max-width: 980px;
  margin: 0;
  color: #dce8df;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.tv-phone-receiver__room {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 680px);
  padding: 12px 16px;
  border: 2px solid #facc15;
  border-radius: 8px;
  background: #fff7cc;
  color: #1f2933;
}

.tv-phone-receiver__room span {
  font-size: 22px;
  font-weight: 900;
}

.tv-phone-receiver__room strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(48px, 6.4vw, 84px);
  letter-spacing: 0;
  line-height: .9;
}

.tv-phone-receiver__video-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(280px, 1fr) minmax(150px, 200px);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "susan card child"
    "cue cue cue";
  gap: 12px;
  width: min(100%, 1120px);
  min-height: 0;
  height: clamp(360px, 52vh, 500px);
  padding: 14px;
  border: 3px solid #d8e9de;
  border-radius: 8px;
  background: #0d1f2b;
  box-shadow: inset 0 0 0 2px rgba(167, 243, 208, .18), 0 18px 40px rgba(0, 0, 0, .24);
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__stage {
  gap: 10px;
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__copy {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  column-gap: 14px;
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__eyebrow {
  grid-column: 1;
  margin-bottom: 4px;
  font-size: 16px;
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver h1 {
  grid-column: 1;
  font-size: clamp(34px, 4vw, 50px);
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__lead {
  grid-column: 2;
  max-width: none;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.25;
  text-align: right;
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__room {
  width: min(100%, 460px);
  padding: 8px 12px;
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__room span {
  font-size: 16px;
}

.tv-phone-receiver-page[data-classroom-material="seen"] .tv-phone-receiver__room strong {
  font-size: clamp(38px, 4.2vw, 56px);
}

.tv-phone-receiver__virtual-susan {
  grid-area: susan;
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  padding: 14px;
  border: 2px solid #a7f3d0;
  border-radius: 8px;
  background: #f2fbf6;
  color: #122019;
}

.tv-phone-receiver__susan-avatar {
  display: grid;
  place-items: center;
  width: min(100%, 160px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: #24524a;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
}

.tv-phone-receiver__susan-copy {
  display: grid;
  gap: 8px;
}

.tv-phone-receiver__susan-copy span {
  color: #0f766e;
  font-size: 16px;
  font-weight: 900;
}

.tv-phone-receiver__susan-copy strong {
  color: #111827;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.08;
}

.tv-phone-receiver__susan-copy small {
  color: #52635b;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 800;
  line-height: 1.25;
}

.tv-phone-receiver__child-video-frame {
  grid-area: child;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}

.tv-phone-receiver__video {
  width: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
  border: 2px solid #d8e9de;
  border-radius: 8px;
  background: #0b1220;
  object-fit: contain;
}

.tv-phone-receiver__child-video-frame span,
.tv-phone-receiver__frame-cue {
  color: #cfeadd;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.tv-phone-receiver__frame-cue {
  grid-area: cue;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(167, 243, 208, .12);
}

.tv-phone-receiver__classroom {
  grid-area: card;
  display: grid;
  grid-template-rows: minmax(140px, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 12px;
  border: 2px solid #d8e9de;
  border-radius: 8px;
  background: #f8faf8;
  color: #172033;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.tv-phone-receiver__classroom img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 6 / 5;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.tv-phone-receiver__classroom-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.tv-phone-receiver__classroom-copy #receiver-classroom-status,
.tv-phone-receiver__classroom-copy #receiver-classroom-prompt {
  display: none;
}

.tv-phone-receiver__classroom-copy p {
  margin: 0;
  color: #246b49;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 900;
}

.tv-phone-receiver__classroom-copy strong {
  color: #172033;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
}

.tv-phone-receiver__classroom-copy span {
  color: #172033;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.08;
}

.tv-phone-receiver__classroom-copy small {
  color: #52635b;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  line-height: 1.15;
}

.tv-phone-receiver__auto-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 980px);
}

.tv-phone-receiver__auto-flow div {
  display: grid;
  gap: 6px;
  min-height: 90px;
  padding: 12px;
  border: 2px solid rgba(167, 243, 208, .72);
  border-radius: 8px;
  background: #0f3d34;
  color: #ffffff;
}

.tv-phone-receiver__auto-flow span {
  color: #a7f3d0;
  font-size: 16px;
  font-weight: 900;
}

.tv-phone-receiver__auto-flow strong {
  color: #ffffff;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.18;
}

.tv-phone-receiver__panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(216, 233, 222, .45);
  border-radius: 8px;
  background: #f8faf8;
  color: #172033;
}

.tv-phone-receiver__primary {
  min-height: 76px;
  border: 0;
  border-radius: 8px;
  background: #246b49;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.tv-phone-receiver__primary:focus-visible {
  outline: 5px solid #facc15;
  outline-offset: 4px;
}

.tv-phone-receiver__status {
  min-height: 82px;
  padding: 14px;
  border-radius: 8px;
  background: #e7f6ed;
  color: #14532d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.tv-phone-receiver__status[data-state="warn"] {
  background: #fff7ed;
  color: #9a3412;
}

.tv-phone-receiver__status[data-state="error"] {
  background: #fef3f2;
  color: #b42318;
}

.tv-phone-receiver__family-note,
.tv-phone-receiver__family-boundary {
  margin: 0;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.tv-phone-receiver__family-note {
  background: #e0f2fe;
  color: #075985;
}

.tv-phone-receiver__family-boundary {
  background: #fff7cc;
  color: #5f4100;
}

.tv-phone-receiver__debug {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9e4dd;
  border-radius: 8px;
  background: #ffffff;
}

.tv-phone-receiver__debug summary {
  cursor: pointer;
  color: #2454a6;
  font-size: 18px;
  font-weight: 900;
  list-style-position: inside;
}

.tv-phone-receiver__debug summary:focus-visible {
  outline: 4px solid #facc15;
  outline-offset: 4px;
}

.tv-phone-receiver__debug[open] summary {
  margin-bottom: 10px;
}

.tv-phone-receiver__stats {
  display: grid;
  gap: 8px;
  margin: 0;
}

.tv-phone-receiver__stats div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #d9e4dd;
}

.tv-phone-receiver__stats dt {
  color: #52635b;
  font-size: 17px;
  font-weight: 800;
}

.tv-phone-receiver__stats dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  line-height: 1.35;
}

.tv-phone-receiver__pairing {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #eef4ff;
  color: #1e3a8a;
}

.tv-phone-receiver__pairing p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.tv-phone-receiver__pairing code,
.tv-phone-receiver__pairing a {
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1e3a8a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
}

.tv-phone-receiver__boundary {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff7cc;
  color: #5f4100;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .tv-phone-receiver {
    grid-template-columns: 1fr;
  }

  .tv-phone-receiver__video-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "susan"
      "card"
      "child"
      "cue";
    min-height: 0;
  }

  .tv-phone-receiver__video {
    min-height: 220px;
    max-height: none;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .tv-phone-receiver-page {
    overflow: hidden;
  }

  .tv-phone-receiver {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 14px;
    min-height: 100vh;
    padding: 14px;
  }

  .tv-phone-receiver__stage {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .tv-phone-receiver__eyebrow {
    font-size: 18px;
  }

  .tv-phone-receiver h1 {
    font-size: clamp(36px, 5vw, 54px);
  }

  .tv-phone-receiver__lead {
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.25;
  }

  .tv-phone-receiver__room {
    width: 100%;
    padding: 12px 16px;
  }

  .tv-phone-receiver__room span {
    font-size: 22px;
  }

  .tv-phone-receiver__room strong {
    font-size: clamp(52px, 7vw, 74px);
  }

  .tv-phone-receiver__video-stage {
    grid-template-columns: minmax(126px, 180px) minmax(0, 1fr) minmax(112px, 168px);
    gap: 10px;
    min-height: 260px;
    padding: 10px;
  }

  .tv-phone-receiver__virtual-susan {
    gap: 8px;
    padding: 10px;
  }

  .tv-phone-receiver__susan-avatar {
    width: min(100%, 104px);
    font-size: 26px;
  }

  .tv-phone-receiver__susan-copy strong {
    font-size: clamp(18px, 2.5vw, 24px);
  }

  .tv-phone-receiver__susan-copy small,
  .tv-phone-receiver__child-video-frame span,
  .tv-phone-receiver__frame-cue {
    font-size: 12px;
  }

  .tv-phone-receiver__video {
    min-height: 0;
    max-height: 220px;
    aspect-ratio: 9 / 16;
  }

  .tv-phone-receiver__classroom {
    gap: 12px;
    padding: 10px;
  }

  .tv-phone-receiver__classroom img {
    min-height: 132px;
  }

  .tv-phone-receiver__classroom-copy p {
    font-size: 14px;
  }

  .tv-phone-receiver__classroom-copy strong {
    font-size: clamp(34px, 5vw, 46px);
  }

  .tv-phone-receiver__classroom-copy span {
    font-size: clamp(20px, 3vw, 28px);
  }

  .tv-phone-receiver__classroom-copy small {
    font-size: 14px;
  }

  .tv-phone-receiver__auto-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tv-phone-receiver__auto-flow div {
    min-height: 68px;
    padding: 8px;
  }

  .tv-phone-receiver__auto-flow span {
    font-size: 12px;
  }

  .tv-phone-receiver__auto-flow strong {
    font-size: 16px;
  }

  .tv-phone-receiver__panel {
    gap: 9px;
    overflow: hidden;
    padding: 12px;
  }

  .tv-phone-receiver__primary {
    min-height: 56px;
    font-size: 22px;
  }

  .tv-phone-receiver__status {
    min-height: 60px;
    padding: 10px;
    font-size: 16px;
  }

  .tv-phone-receiver__stats {
    gap: 4px;
  }

  .tv-phone-receiver__stats div {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0;
  }

  .tv-phone-receiver__stats dt,
  .tv-phone-receiver__stats dd,
  .tv-phone-receiver__status,
  .tv-phone-receiver__pairing p,
  .tv-phone-receiver__pairing code,
  .tv-phone-receiver__pairing a,
  .tv-phone-receiver__boundary {
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .tv-phone-receiver__pairing,
  .tv-phone-receiver__boundary {
    padding: 9px;
  }

  .tv-phone-receiver__pairing a {
    display: none;
  }
}

.phone-page {
  min-height: 100vh;
  background: #f7f4ec;
}

.practice-page {
  min-height: 100vh;
  background: #f7f4ec;
}

.companion-page {
  min-height: 100vh;
  background: #f7f4ec;
  overflow-x: hidden;
  padding-bottom: 150px;
}

.teacher-page {
  min-height: 100vh;
  background: #f7f4ec;
}

.course-owner-page {
  min-height: 100vh;
  background: #f7f4ec;
}

.principal-page {
  min-height: 100vh;
  background: #f7f4ec;
  overflow-x: hidden;
  padding-bottom: 152px;
}

.evidence-page {
  min-height: 100vh;
  background: #f7f4ec;
}

.platform-page {
  min-height: 100vh;
  background: #f7f4ec;
  overflow-x: hidden;
  padding-bottom: 168px;
}

.index-page {
  padding-bottom: 132px;
}

.index-page .quick-start-mvp-strip,
.index-page .adult-advanced-entry-panel,
.index-page .tomorrow-phase1-field-card,
.index-page .orchestration-strip,
.index-page .next-command-strip,
.index-page .start-card-ledger-strip {
  order: 1;
}

.index-page .workbench {
  order: 20;
}

.global-rescue-strip {
  position: sticky;
  top: 0;
  z-index: 60;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(150px, 0.42fr) minmax(180px, 0.46fr) minmax(240px, 0.78fr);
  gap: 8px;
  align-items: stretch;
  padding: 8px 18px;
  border-bottom: 1px solid #c7ddd7;
  background: #fffdf7;
  box-shadow: 0 10px 24px rgba(23, 32, 39, 0.08);
  pointer-events: none;
}

.global-rescue-copy,
.global-rescue-actions,
.global-rescue-boundary,
.global-rescue-advanced,
.global-rescue-strip p {
  min-width: 0;
}

.global-rescue-copy {
  display: grid;
  align-content: center;
  gap: 2px;
}

.global-rescue-copy strong,
.global-rescue-copy span,
.global-rescue-actions strong,
.global-rescue-actions span,
.global-rescue-boundary,
.global-rescue-strip p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.global-rescue-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.08;
}

.global-rescue-copy span,
.global-rescue-strip p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.global-rescue-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.global-rescue-actions a {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  pointer-events: auto;
}

.global-rescue-actions a:first-child {
  border-color: rgba(15, 118, 110, 0.42);
  background: var(--teal);
  color: #ffffff;
}

.global-rescue-actions a:only-child {
  grid-column: 1 / -1;
}

.global-rescue-actions a:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.global-rescue-actions span {
  color: inherit;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  opacity: 0.78;
}

.global-rescue-actions strong {
  font-size: 15px;
  line-height: 1.1;
}

.global-rescue-advanced {
  display: grid;
  align-content: center;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  pointer-events: auto;
}

.global-rescue-advanced summary {
  min-height: 58px;
  display: grid;
  align-content: center;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
  cursor: pointer;
}

.global-rescue-advanced summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.global-rescue-advanced:not([open]) > :not(summary) {
  display: none;
}

.global-rescue-advanced-links {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px;
}

.global-rescue-advanced-links a {
  min-height: 38px;
  display: grid;
  align-content: center;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f6faf7;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.18;
  text-decoration: none;
}

.global-rescue-advanced-boundary {
  padding: 0 10px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.global-rescue-boundary {
  display: grid;
  align-content: center;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid #e5c572;
  border-radius: 8px;
  background: #fff7d6;
  color: #584214;
}

.global-rescue-strip p {
  margin: 0;
  align-self: center;
}

.today-relay-return-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 8px;
  align-items: stretch;
  padding: 8px 18px;
  border-bottom: 1px solid #d9e7df;
  background: #f4fbf8;
}

.today-relay-return-copy,
.today-relay-return-actions {
  min-width: 0;
}

.today-relay-return-copy {
  display: grid;
  align-content: center;
  gap: 2px;
}

.today-relay-return-copy strong,
.today-relay-return-copy span,
.today-relay-return-actions strong,
.today-relay-return-actions span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.today-relay-return-copy strong {
  color: #173f38;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.12;
}

.today-relay-return-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.today-relay-return-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.today-relay-return-actions a {
  min-width: 0;
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #bfd9d2;
  border-radius: 8px;
  background: #ffffff;
  color: #173f38;
  text-decoration: none;
}

.today-relay-return-actions a:first-child {
  border-color: #173f38;
  background: #173f38;
  color: #ffffff;
}

.today-relay-return-actions a:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 2px;
}

.today-relay-return-actions span {
  color: inherit;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  opacity: 0.8;
}

.today-relay-return-actions strong {
  color: inherit;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
}

.index-guided-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 80;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(220px, 0.46fr) minmax(220px, 0.56fr);
  gap: 10px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #a9d3c9;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 22px 54px rgba(23, 32, 39, 0.2);
  pointer-events: none;
}

.index-guided-copy,
.index-guided-actions,
.index-guided-button,
.index-guided-tv-button,
.index-guided-safe-row {
  min-width: 0;
}

.index-guided-copy {
  display: grid;
  align-content: center;
  gap: 3px;
}

.index-guided-copy span,
.index-guided-copy strong,
.index-guided-copy p,
.index-guided-button span,
.index-guided-button strong,
.index-guided-button small,
.index-guided-tv-button span,
.index-guided-tv-button strong,
.index-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.index-guided-copy span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: #e9f8f3;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.index-guided-dock[data-started="true"] .index-guided-copy span {
  background: #fff1cd;
  color: #7d4c08;
}

.index-guided-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.08;
}

.index-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.24;
}

.index-guided-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.index-guided-button,
.index-guided-tv-button {
  min-height: 84px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 0 #163c36;
  pointer-events: auto;
}

.index-guided-button {
  min-height: 84px;
}

.index-guided-backup {
  min-width: 0;
  pointer-events: auto;
}

.index-guided-backup > summary {
  display: grid;
  gap: 3px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cfe5df;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  cursor: pointer;
  list-style-position: inside;
  text-align: center;
}

.index-guided-backup > summary span,
.index-guided-backup > summary strong,
.index-guided-backup > p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.index-guided-backup > summary span {
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.index-guided-backup > summary strong {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
}

.index-guided-backup > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.index-guided-tv-button {
  margin-top: 8px;
  min-height: 48px;
  padding: 10px;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
  border: 1px solid #cfe5df;
}

.index-guided-button span,
.index-guided-tv-button span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.index-guided-button strong,
.index-guided-tv-button strong {
  font-size: 26px;
  font-weight: 950;
  line-height: 1.02;
}

.index-guided-tv-button strong {
  font-size: 16px;
}

.index-guided-button small {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.16;
}

.index-guided-button:focus-visible,
.index-guided-tv-button:focus-visible,
.index-guided-backup > summary:focus-visible {
  outline: 5px solid var(--sun);
  outline-offset: 4px;
}

.index-guided-dock[data-smart-state="reinforcement_ready"] {
  border-color: #9fbfd9;
  background: #f4f9ff;
}

.index-guided-dock[data-smart-state="reinforcement_ready"] .index-guided-copy span {
  background: #e2f0ff;
  color: #244b75;
}

.index-guided-dock[data-smart-state="reinforcement_ready"] .index-guided-button {
  background: #244b75;
  box-shadow: 0 8px 0 #153252;
}

.index-guided-dock[data-smart-state="teacher_card_ready"] {
  border-color: #dfc26d;
  background: #fffaf0;
}

.index-guided-dock[data-smart-state="teacher_card_ready"] .index-guided-copy span {
  background: #fff1cd;
  color: #735f2a;
}

.index-guided-dock[data-smart-state="teacher_card_ready"] .index-guided-button {
  background: #735f2a;
  box-shadow: 0 8px 0 #4e3d13;
}

.index-guided-dock[data-smart-state="second_review_required"] {
  border-color: #d79a90;
  background: #fff4f1;
}

.index-guided-dock[data-smart-state="second_review_required"] .index-guided-copy span {
  background: #ffe2dc;
  color: #8a3d31;
}

.index-guided-dock[data-smart-state="second_review_required"] .index-guided-button {
  background: #8a3d31;
  box-shadow: 0 8px 0 #5c221b;
}

.index-guided-safe-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-content: center;
}

.index-guided-safe-row span {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid #cfe5df;
  border-radius: 8px;
  background: #f6fffb;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.16;
  text-align: center;
}

.companion-shell {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.companion-guided-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 85;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(220px, 0.58fr) minmax(190px, 0.5fr) minmax(210px, 0.62fr);
  gap: 8px;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #a9d3c9;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 20px 48px rgba(23, 32, 39, 0.2);
}

.companion-guided-copy,
.companion-guided-actions,
.companion-guided-backup,
.companion-guided-safe-row {
  min-width: 0;
}

.companion-guided-copy {
  display: grid;
  align-content: center;
  gap: 3px;
}

.companion-guided-copy span,
.companion-guided-copy strong,
.companion-guided-copy p,
.companion-guided-action strong,
.companion-guided-action span,
.companion-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-guided-copy span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: #e9f8f3;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.companion-guided-dock[data-room-ready="true"] .companion-guided-copy span {
  background: #fff1cd;
  color: #7d4c08;
}

.companion-guided-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.companion-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.24;
}

.companion-guided-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.companion-guided-action {
  min-width: 0;
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.companion-guided-primary {
  border-color: rgba(14, 124, 123, 0.48);
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 7px 0 #163c36;
}

.companion-guided-action:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.companion-guided-action strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.08;
}

.companion-guided-action span {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.14;
  opacity: 0.82;
}

.companion-guided-backup {
  align-self: stretch;
  border: 1px solid #d7e6dd;
  border-radius: 8px;
  background: #fbfff8;
}

.companion-guided-backup summary {
  min-height: 44px;
  display: grid;
  align-items: center;
  padding: 8px 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.16;
  cursor: pointer;
}

.companion-guided-backup-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0 8px 8px;
}

.companion-guided-backup .companion-guided-action {
  min-height: 52px;
  box-shadow: none;
}

.companion-guided-backup p {
  margin: 0;
  padding: 0 9px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  line-height: 1.24;
}

.companion-guided-safe-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.companion-guided-safe-row span {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border: 1px solid #d8e7ce;
  border-radius: 8px;
  background: #f7fcf1;
  color: #37672f;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.companion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.companion-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.companion-hero,
.companion-start,
.companion-relay,
.companion-blueprint,
.companion-selfcheck,
.companion-room,
.companion-board,
.companion-operating,
.companion-runtime,
.companion-scene-scale,
.companion-dispatch,
.companion-workspace,
.companion-field,
.companion-boundary {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.companion-start {
  display: grid;
  gap: 12px;
  border-color: #c8dfd8;
  background: #fbfffd;
}

.companion-simple-start {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 260px);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f1faf8;
  box-shadow: 0 16px 42px rgba(36, 82, 74, 0.16);
}

.companion-simple-start-copy,
.companion-simple-code,
.companion-simple-start-boundary {
  min-width: 0;
}

.companion-simple-start-copy {
  display: grid;
  align-content: center;
  gap: 7px;
}

.companion-simple-start-copy span,
.companion-simple-start-copy h3,
.companion-simple-start-copy p,
.companion-simple-start-primary,
.companion-simple-start-adult,
.companion-simple-code summary,
.companion-simple-start-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-simple-start-copy span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.companion-simple-start-copy h3 {
  color: var(--ink);
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.companion-simple-start-copy p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.38;
}

.companion-simple-start-primary,
.companion-simple-start-adult {
  box-sizing: border-box;
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 116px;
  height: auto;
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
}

.companion-simple-start-primary {
  background: #24524a;
  color: #fff;
}

.companion-simple-start-primary strong,
.companion-simple-start-adult strong {
  font-size: 28px;
  line-height: 1.06;
}

.companion-simple-start-primary span,
.companion-simple-start-adult span {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  opacity: 0.86;
}

.companion-simple-choice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.companion-today-default-card {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid #b9dbd2;
  border-radius: 8px;
  background: #ffffff;
}

.companion-unique-primary-card {
  border-width: 2px;
  border-color: #24524a;
  box-shadow: 0 14px 34px rgb(36 82 74 / 14%);
}

.companion-today-default-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.companion-today-default-copy span,
.companion-today-default-copy strong,
.companion-today-default-copy p,
.companion-today-default-primary,
.companion-today-default-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-today-default-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-today-default-copy strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
}

.companion-today-default-copy p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.36;
}

.companion-today-default-primary {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 15px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.companion-today-default-primary span,
.companion-today-default-primary strong,
.companion-today-default-primary small {
  color: inherit;
  line-height: 1.1;
}

.companion-today-default-primary span,
.companion-today-default-primary small {
  font-size: 13px;
  font-weight: 900;
  opacity: 0.88;
}

.companion-today-default-primary strong {
  font-size: 26px;
  font-weight: 950;
}

.companion-today-default-boundary {
  grid-column: 1 / -1;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffaf0;
  color: #6a4a15;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.32;
}

.companion-first-screen-backup {
  grid-column: 1 / -1;
  min-width: 0;
}

.companion-first-screen-backup > summary {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) minmax(180px, 0.62fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #c9dfd9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.companion-first-screen-backup > summary::-webkit-details-marker {
  display: none;
}

.companion-first-screen-backup > summary span,
.companion-first-screen-backup > summary strong,
.companion-first-screen-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.companion-first-screen-backup > summary span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
}

.companion-first-screen-backup > summary strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.companion-first-screen-backup > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.companion-first-screen-backup > summary::after {
  content: "展开";
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef9f6;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.companion-first-screen-backup[open] > summary::after {
  content: "收起";
}

.companion-first-screen-backup > summary:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.companion-first-screen-backup-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.companion-simple-choice-item {
  box-sizing: border-box;
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.companion-simple-choice-primary {
  border-color: #24524a;
  background: #24524a;
  color: #fff;
}

.companion-simple-choice-adult {
  border-color: #efd28f;
  background: #fffaf0;
}

.companion-simple-choice-item strong,
.companion-simple-choice-item span {
  min-width: 0;
  color: inherit;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.companion-simple-choice-item strong {
  font-size: 19px;
  font-weight: 950;
}

.companion-simple-choice-item span {
  font-size: 13px;
  font-weight: 900;
  opacity: 0.84;
}

.companion-first-loop-rail {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #c9dfd6;
  border-radius: 8px;
  background: #fff;
}

.companion-first-loop-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.companion-first-loop-copy span,
.companion-first-loop-copy strong,
.companion-first-loop-copy p,
.companion-first-loop-steps span,
.companion-first-loop-steps strong,
.companion-first-loop-steps small,
.companion-first-loop-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-first-loop-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-first-loop-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.14;
}

.companion-first-loop-copy p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

.companion-first-loop-steps {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-first-loop-steps li {
  min-width: 0;
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 10px;
  border: 1px solid #dce8e2;
  border-radius: 8px;
  background: #f7fbf9;
}

.companion-first-loop-steps span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #24524a;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}

.companion-first-loop-steps strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.16;
}

.companion-first-loop-steps small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.companion-first-loop-boundary {
  grid-column: 1 / -1;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffaf0;
  color: #6a4a15;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.32;
}

.companion-simple-code,
.companion-simple-start-adult,
.companion-simple-start-boundary {
  grid-column: 1 / -1;
}

.companion-simple-code {
  padding: 12px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.companion-simple-code summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
}

.companion-simple-code .companion-start-room-form {
  margin-top: 10px;
}

.companion-simple-start-adult {
  min-height: 76px;
  border: 1px solid #efd28f;
  background: #fffaf0;
  color: var(--ink);
}

.companion-simple-start-boundary {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.companion-simple-start[data-simple-state="recoverable"] {
  border-color: #d99a55;
  background: #fff8ec;
}

.companion-simple-start[data-simple-state="room_ready"] {
  border-color: #0e7c7b;
}

.companion-start-advanced {
  min-width: 0;
  padding: 12px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.companion-start-advanced summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.companion-start-advanced-body {
  min-width: 0;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.companion-elder-mode {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #0e7c7b;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(14, 124, 123, 0.14);
}

.companion-elder-mode-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.companion-elder-mode-copy span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-elder-mode-copy h3,
.companion-elder-mode-copy p,
.companion-elder-mode-note,
.companion-elder-mode-action strong,
.companion-elder-mode-action span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-elder-mode-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.companion-elder-mode-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-elder-mode-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.companion-elder-mode-action {
  min-width: 0;
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 15px;
  border: 1px solid #c8dfd8;
  border-radius: 8px;
  background: #f5fcfa;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.companion-elder-mode-action-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.companion-elder-mode-action-adult {
  background: #fffaf0;
  border-color: #efd28f;
}

.companion-elder-mode-action strong {
  font-size: 23px;
  line-height: 1.08;
}

.companion-elder-mode-action span {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  opacity: 0.82;
}

.companion-elder-mode-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.companion-course-growth {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #d5e5dc;
  border-radius: 8px;
  background: #ffffff;
}

.companion-course-growth-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.companion-course-growth-copy span,
.companion-course-growth-copy strong,
.companion-course-growth-copy p,
.companion-course-growth-metrics dt,
.companion-course-growth-metrics dd,
.companion-course-growth-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-course-growth-copy span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-course-growth-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
}

.companion-course-growth-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

.companion-course-growth-metrics {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-course-growth-metrics div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #dce8e2;
  border-radius: 8px;
  background: #f7fbf9;
}

.companion-course-growth-metrics dt,
.companion-course-growth-metrics dd {
  margin: 0;
}

.companion-course-growth-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.companion-course-growth-metrics dd {
  color: #173f38;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.companion-course-growth-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f5fcfa;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.32;
}

.companion-safe-default {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid #b9dcd4;
  border-radius: 8px;
  background: #eef9f6;
}

.companion-safe-default-primary {
  min-width: 0;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}

.companion-safe-default-primary strong,
.companion-safe-default-primary span,
.companion-safe-default p,
.companion-safe-default-status span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-safe-default-primary strong {
  font-size: 22px;
  line-height: 1.12;
}

.companion-safe-default-primary span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-safe-default-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.companion-safe-default-status span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-safe-default p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-three-choice {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(36, 82, 74, 0.13);
}

.companion-three-choice-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.companion-three-choice-heading div,
.companion-three-choice-heading h3,
.companion-three-choice-heading p,
.companion-three-choice-heading span,
.companion-three-choice-card strong,
.companion-three-choice-card p,
.companion-three-choice-card a,
.companion-three-choice-card small,
.companion-three-choice > p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-three-choice-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
}

.companion-three-choice-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-three-choice-heading > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f6f2;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
}

.companion-three-choice-safe-copy {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.companion-three-choice-safe-copy span {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #c8dfd8;
  border-radius: 8px;
  background: #f5fcfa;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.companion-three-choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-three-choice-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: stretch;
  padding: 13px;
  border: 1px solid #c8dfd8;
  border-radius: 8px;
  background: #f7fbf9;
}

.companion-three-choice-card-ready {
  border-color: var(--teal);
  background: #e8f6f2;
}

.companion-three-choice-card-hold {
  border-color: #e5c46d;
  background: #fff8e7;
}

.companion-three-choice-card-heading {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.companion-three-choice-card-heading strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
}

.companion-three-choice-card-heading span {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}

.companion-three-choice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-three-choice-card a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.companion-three-choice-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-three-choice-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.companion-three-choice-actions button,
.companion-three-choice-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.companion-three-choice-actions button {
  background: var(--teal);
  color: #fff;
}

.companion-three-choice-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.companion-three-choice-actions a {
  background: #ffffff;
  color: var(--teal-dark);
}

.companion-three-choice > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.companion-family-loop-progress {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #ffffff;
}

.companion-family-loop-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.companion-family-loop-copy span,
.companion-family-loop-copy strong,
.companion-family-loop-copy p,
.companion-family-loop-step strong,
.companion-family-loop-step small,
.companion-family-loop-step a,
.companion-family-loop-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-family-loop-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-family-loop-copy strong {
  color: #173f38;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
}

.companion-family-loop-copy p {
  margin: 0;
  color: #51635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.companion-family-loop-steps {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-family-loop-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 9px;
  border: 1px solid #dde9e3;
  border-radius: 8px;
  background: #f7faf8;
}

.companion-family-loop-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ed;
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
}

.companion-family-loop-step strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.16;
}

.companion-family-loop-step small {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.26;
}

.companion-family-loop-step a {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.companion-family-loop-step[data-status="done"] {
  border-color: #b9d9ca;
  background: #eef8f1;
}

.companion-family-loop-step[data-status="active"] {
  border-color: #24524a;
  background: #e8f6f2;
  box-shadow: 0 0 0 2px rgba(36, 82, 74, 0.08);
}

.companion-family-loop-step[data-status="blocked"] {
  border-color: #ead9bf;
  background: #fff8ec;
}

.companion-family-loop-step[data-status="blocked"] a {
  background: #6d4d1e;
}

.companion-family-loop-boundary {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f5fcfa;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-now-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #eef8f5;
  box-shadow: 0 10px 28px rgba(23, 63, 56, 0.08);
}

.companion-now-copy,
.companion-now-action,
.companion-now-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-now-copy {
  display: grid;
  gap: 5px;
}

.companion-now-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-now-copy strong {
  color: #173f38;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.companion-now-copy p {
  margin: 0;
  color: #4c625c;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.34;
}

.companion-now-action {
  min-height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(23, 63, 56, 0.18);
}

.companion-now-action span,
.companion-now-action strong,
.companion-now-action small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-now-action span {
  font-size: 12px;
  font-weight: 900;
  opacity: 0.82;
}

.companion-now-action strong {
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
}

.companion-now-action small {
  font-size: 12px;
  font-weight: 850;
  opacity: 0.86;
}

.companion-now-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #ffffff;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.32;
}

.companion-now-card[data-smart-state="home_handoff_ready"] {
  border-color: #4b6a85;
  background: #eef6fb;
}

.companion-now-card[data-smart-state="teacher_card_ready"] {
  border-color: #7b5b23;
  background: #fff8ec;
}

.companion-now-card[data-smart-state="second_review_required"] {
  border-color: #7c3d32;
  background: #fff3f0;
}

.companion-result-triad {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
}

.companion-result-triad[hidden] {
  display: none !important;
}

.companion-result-triad-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.companion-result-triad-copy span,
.companion-result-triad-copy strong,
.companion-result-triad-copy p,
.companion-result-triad-item span,
.companion-result-triad-item strong,
.companion-result-triad-item small,
.companion-result-triad-backup summary,
.companion-result-triad-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-result-triad-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-result-triad-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
}

.companion-result-triad-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.companion-result-triad-list {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.companion-result-triad-item {
  min-width: 0;
  min-height: 84px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 11px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink);
  text-decoration: none;
}

.companion-result-triad-item span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-result-triad-item strong {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-result-triad-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.26;
}

.companion-result-triad-primary {
  border-color: #24524a;
  background: #e8f6f2;
  min-height: 96px;
  align-content: center;
  padding: 14px;
}

.companion-result-triad[data-smart-state="teacher_card_ready"] .companion-result-triad-primary {
  border-color: #7b5b23;
  background: #fff8ec;
}

.companion-result-triad[data-smart-state="second_review_required"] .companion-result-triad-primary,
.companion-result-triad[data-smart-state="reinforcement_replay_ready"] .companion-result-triad-primary {
  border-color: #7c3d32;
  background: #fff3f0;
}

.companion-result-triad-backup {
  min-width: 0;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fbfdfb;
}

.companion-result-triad-backup summary {
  cursor: pointer;
  padding: 10px 12px;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-result-triad-backup-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 10px;
}

.companion-result-triad-boundary {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f5fcfa;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-situation-router {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #c8dfd8;
  border-radius: 8px;
  background: #f5fcfa;
}

.companion-situation-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-situation-heading div,
.companion-situation-heading h3,
.companion-situation-heading p,
.companion-situation-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-situation-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.companion-situation-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-situation-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #e7f5f1;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-situation-safe-copy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.companion-situation-safe-copy span {
  min-width: 0;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #cfe5df;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.companion-situation-route-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-situation-route {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 190px;
  padding: 10px;
  border: 1px solid #d5e6df;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
}

.companion-situation-route-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-situation-route-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-situation-route-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.companion-situation-route-heading strong,
.companion-situation-route-heading span,
.companion-situation-route a,
.companion-situation-route p,
.companion-situation-route small,
.companion-situation-route button {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-situation-route-heading strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-situation-route-heading span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-align: right;
}

.companion-situation-route a,
.companion-situation-route button {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.companion-situation-route a {
  background: var(--teal);
  color: #fff;
}

.companion-situation-route button {
  border: 1px solid #cfe1b3;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.companion-situation-route p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-situation-route small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-situation-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.companion-situation-actions button,
.companion-situation-actions a {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 12px;
  border: 1px solid #cfe1b3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.companion-situation-actions button {
  flex: 1;
  cursor: pointer;
}

.companion-situation-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.companion-situation-actions a {
  background: var(--teal);
  color: #fff;
}

.companion-situation-router > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.companion-zero-training {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d6dfc2;
  border-radius: 8px;
  background: #fcfff2;
}

.companion-zero-training-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-zero-training-heading div,
.companion-zero-training-heading h3,
.companion-zero-training-heading p,
.companion-zero-training-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-zero-training-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-zero-training-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-zero-training-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #eef7dc;
  color: #4e6f17;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-zero-training-prompts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.companion-zero-training-prompts span {
  min-width: 0;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #dfe9bf;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.companion-zero-training-route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-zero-training-route {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 148px;
  padding: 10px;
  border: 1px solid #dde5c7;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
}

.companion-zero-training-route-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-zero-training-route-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-zero-training-route-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.companion-zero-training-route-heading strong,
.companion-zero-training-route-heading span,
.companion-zero-training-route a,
.companion-zero-training-route p,
.companion-zero-training-route small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-zero-training-route-heading strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-zero-training-route-heading span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-align: right;
}

.companion-zero-training-route a {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.companion-zero-training-route p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-zero-training-route small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-friction-scorecard {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce7bf;
  border-radius: 8px;
  background: #fff;
}

.companion-friction-scorecard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.companion-friction-scorecard-heading strong,
.companion-friction-scorecard-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-friction-scorecard-heading strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-friction-scorecard-heading span {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-friction-targets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-friction-targets div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #e4ebcf;
  border-radius: 8px;
  background: #fcfff2;
}

.companion-friction-targets dt,
.companion-friction-targets dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.companion-friction-targets dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.companion-friction-targets dd {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-friction-rule-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-friction-rule {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  padding: 8px;
  border: 1px solid #dfe9bf;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
}

.companion-friction-rule-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-friction-rule strong,
.companion-friction-rule span,
.companion-friction-rule p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-friction-rule strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-friction-rule span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-align: right;
}

.companion-friction-rule p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-zero-training-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.companion-zero-training-actions button,
.companion-zero-training-actions a {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 12px;
  border: 1px solid #cfe1b3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.companion-zero-training-actions button {
  flex: 1;
  cursor: pointer;
}

.companion-zero-training-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.companion-zero-training-actions a {
  background: var(--teal);
  color: #fff;
}

.companion-zero-training > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.companion-pairing-auto-open {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #cbdfe8;
  border-radius: 8px;
  background: #f5fbfd;
}

.companion-pairing-auto-open-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-pairing-auto-open-heading div,
.companion-pairing-auto-open-heading h3,
.companion-pairing-auto-open-heading p,
.companion-pairing-auto-open-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-pairing-auto-open-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-pairing-auto-open-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-pairing-auto-open-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #e6f3f8;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-pairing-auto-open-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.companion-pairing-auto-open-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d6e6ea;
  border-radius: 8px;
  background: #fff;
}

.companion-pairing-auto-open-metrics dt,
.companion-pairing-auto-open-metrics dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.companion-pairing-auto-open-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.companion-pairing-auto-open-metrics dd {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-pairing-visible-copy {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.companion-pairing-visible-copy span {
  min-width: 0;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #d6e6ea;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.companion-pairing-method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-pairing-method {
  min-width: 0;
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 10px;
  border: 1px solid #d9e6ea;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
}

.companion-pairing-method-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-pairing-method-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-pairing-method strong,
.companion-pairing-method span,
.companion-pairing-method p,
.companion-pairing-method small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-pairing-method strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-pairing-method span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-pairing-method p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-pairing-method small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
}

.companion-pairing-auto-open-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.companion-pairing-auto-open-actions button,
.companion-pairing-auto-open-actions a {
  min-width: 0;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.companion-pairing-auto-open-actions button {
  border: 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
}

.companion-pairing-auto-open-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.companion-pairing-auto-open-actions a {
  border: 1px solid #cfdedc;
  background: #fff;
  color: var(--teal-dark);
}

.companion-pairing-auto-open > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.companion-domestic-rehearsal {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d5ddd0;
  border-radius: 8px;
  background: #fffdf6;
}

.companion-domestic-rehearsal-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-domestic-rehearsal-heading div,
.companion-domestic-rehearsal-heading h3,
.companion-domestic-rehearsal-heading p,
.companion-domestic-rehearsal-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-domestic-rehearsal-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.companion-domestic-rehearsal-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-domestic-rehearsal-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #fff3d6;
  color: #7b5107;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-domestic-rehearsal-metrics,
.companion-domestic-entry-list,
.companion-domestic-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.companion-domestic-rehearsal-metrics {
  margin: 0;
}

.companion-domestic-rehearsal-metrics div {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px;
  border: 1px solid #eadbb8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.companion-domestic-rehearsal-metrics dt,
.companion-domestic-rehearsal-metrics dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.companion-domestic-rehearsal-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.companion-domestic-rehearsal-metrics dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.companion-domestic-entry-list,
.companion-domestic-evidence-list,
.companion-domestic-blocked-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-domestic-entry {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  padding: 10px;
  border: 1px solid #eadbb8;
  border-left: 4px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.companion-domestic-entry-ready {
  border-left-color: var(--leaf);
  background: #f8fff5;
}

.companion-domestic-entry-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-domestic-entry strong,
.companion-domestic-entry span,
.companion-domestic-entry p,
.companion-domestic-entry small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-domestic-entry strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-domestic-entry span {
  color: #7b5107;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-domestic-entry p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-domestic-entry small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-domestic-evidence-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}

.companion-domestic-evidence-grid > div {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.companion-domestic-evidence-grid > div > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-domestic-evidence-list,
.companion-domestic-blocked-list {
  display: grid;
  gap: 7px;
}

.companion-domestic-evidence,
.companion-domestic-blocked {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 9px;
  border: 1px solid #eadbb8;
  border-left: 4px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.companion-domestic-evidence-ready {
  border-left-color: var(--leaf);
}

.companion-domestic-evidence-hold,
.companion-domestic-blocked {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-domestic-evidence strong,
.companion-domestic-evidence span,
.companion-domestic-evidence p,
.companion-domestic-evidence small,
.companion-domestic-blocked {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-domestic-evidence strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-domestic-evidence span {
  color: #7b5107;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-domestic-evidence p,
.companion-domestic-evidence small,
.companion-domestic-blocked {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.28;
}

.companion-domestic-blocked {
  color: #7a2f26;
}

.companion-domestic-rehearsal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.45fr);
  gap: 8px;
}

.companion-domestic-rehearsal-actions button,
.companion-domestic-rehearsal-actions a {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 12px;
  border: 1px solid #eadbb8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.companion-domestic-rehearsal-actions button {
  cursor: pointer;
}

.companion-domestic-rehearsal-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.companion-domestic-rehearsal-actions a {
  background: var(--teal);
  color: #fff;
}

.companion-domestic-rehearsal > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-start-lifeline {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #f0cf9c;
  border-radius: 8px;
  background: #fff8e7;
}

.companion-start-lifeline strong,
.companion-start-lifeline span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-start-lifeline strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.companion-start-lifeline span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-start-lifeline-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.companion-start-lifeline-actions a,
.companion-start-lifeline-actions button {
  min-width: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #e7c789;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.companion-start-lifeline-actions button {
  cursor: pointer;
}

.companion-elder-rescue {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e7ce;
  border-radius: 8px;
  background: #f8fcf2;
}

.companion-elder-rescue-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.companion-elder-rescue-heading strong,
.companion-elder-rescue-heading span,
.companion-elder-rescue p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-elder-rescue-heading strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-elder-rescue-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #eaf6e6;
  color: #3d6f31;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-elder-rescue p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-elder-rescue-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-elder-rescue-item {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 84px;
  padding: 10px;
  border: 1px solid #d8e2cf;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
}

.companion-elder-rescue-item-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-elder-rescue-item-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-elder-rescue-item strong,
.companion-elder-rescue-item span,
.companion-elder-rescue-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-elder-rescue-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-elder-rescue-item span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.companion-elder-rescue-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-platform-auto-entry {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce8eb;
  border-radius: 8px;
  background: #f8fcfa;
}

.companion-platform-auto-entry-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-platform-auto-entry-heading div,
.companion-platform-auto-entry-heading h3,
.companion-platform-auto-entry-heading p,
.companion-platform-auto-entry-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-platform-auto-entry-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-platform-auto-entry-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-platform-auto-entry-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #e7f2f5;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-platform-auto-entry-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.companion-platform-auto-entry-metrics div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.companion-platform-auto-entry-metrics dt,
.companion-platform-auto-entry-metrics dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.companion-platform-auto-entry-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.companion-platform-auto-entry-metrics dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.companion-platform-auto-route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-platform-auto-route {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 126px;
  padding: 10px;
  border: 1px solid #dbe4e5;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.companion-platform-auto-route-current {
  box-shadow: inset 0 0 0 2px rgba(36, 82, 74, 0.12);
}

.companion-platform-auto-route-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-platform-auto-route-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-platform-auto-route-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.companion-platform-auto-route-heading strong,
.companion-platform-auto-route-heading span,
.companion-platform-auto-route a,
.companion-platform-auto-route p,
.companion-platform-auto-route small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-platform-auto-route-heading strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-platform-auto-route-heading span {
  padding: 3px 6px;
  border-radius: 8px;
  background: #e7f2f5;
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.companion-platform-auto-route a {
  justify-self: start;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
}

.companion-platform-auto-route p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.companion-platform-auto-route small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.companion-platform-auto-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.companion-platform-auto-entry-actions button,
.companion-platform-auto-entry-actions a {
  min-width: 0;
  flex: 1 1 150px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.companion-platform-auto-entry-actions button {
  border: 0;
  background: var(--ink);
  color: #fff;
}

.companion-platform-auto-entry-actions button:disabled {
  opacity: 0.52;
}

.companion-platform-auto-entry-actions a {
  background: #e7f2f5;
  color: var(--teal);
  text-decoration: none;
}

.companion-platform-auto-entry > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-device-launcher {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce8eb;
  border-radius: 8px;
  background: #f6fbfc;
}

.companion-device-launcher-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-device-launcher-heading div,
.companion-device-launcher-heading h3,
.companion-device-launcher-heading p,
.companion-device-launcher-heading span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-device-launcher-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-device-launcher-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-device-launcher-heading span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #e7f2f5;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.companion-device-launcher-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.companion-device-launcher-metrics span {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.companion-device-launcher-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-device-launcher-item {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 118px;
  padding: 10px;
  border: 1px solid #dbe4e5;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.companion-device-launcher-item-watch {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-device-launcher-item-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-device-launcher-item strong,
.companion-device-launcher-item span,
.companion-device-launcher-item small,
.companion-device-launcher-item em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-device-launcher-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-device-launcher-item span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.companion-device-launcher-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-device-launcher-item em {
  align-self: end;
  color: var(--teal);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
}

.companion-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.companion-guide-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 8px;
  padding: 12px;
  border: 1px solid #e3ebe7;
  border-radius: 8px;
  background: #fffdf7;
}

.companion-guide-step span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--sun);
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.companion-guide-step strong,
.companion-guide-step small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-guide-step strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.companion-guide-step small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.companion-guide-step-ready {
  border-color: #cfe4ca;
  background: #f5fbf2;
}

.companion-guide-step-ready span {
  background: var(--leaf);
  color: #fff;
}

.companion-guide-step-watch {
  border-color: #f2dcaa;
  background: #fffaf0;
}

.companion-guide-step-hold {
  border-color: #f2c8bc;
  background: #fff7f3;
}

.companion-guide-step-hold span {
  background: var(--coral);
  color: #fff;
}

.companion-role-picker {
  display: grid;
  gap: 8px;
}

.companion-role-picker h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.companion-role-choice-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.companion-role-choice {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dce8e5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 32, 39, 0.06);
}

.companion-role-choice-primary {
  border-color: var(--teal);
  background: #eef9f6;
}

.companion-role-choice-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.companion-role-choice strong,
.companion-role-choice em,
.companion-role-choice > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-role-choice strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.companion-role-choice em {
  flex: 0 1 auto;
  max-width: 72px;
  padding: 4px 6px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.companion-role-choice > span:not(.companion-role-choice-heading) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.companion-relay {
  display: grid;
  gap: 10px;
  border-color: #ead5a9;
  background: #fffdf7;
}

.companion-relay-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-relay-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.companion-relay-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.companion-relay-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e9e2d2;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.companion-relay-item-ready {
  border-left-color: var(--leaf);
  background: #f5fbf2;
}

.companion-relay-item-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-relay-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#companion-copy-relay {
  min-height: 44px;
  justify-self: start;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

#companion-copy-relay:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.companion-field-return-quick {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f0cf9c;
  border-radius: 8px;
  background: #fffaf0;
}

.companion-field-return-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-field-return-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.companion-field-return-quick p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.companion-field-return-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-field-return-metrics div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.companion-field-return-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-field-return-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.companion-field-return-priority-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-field-return-priority {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e9e2d2;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffdf7;
}

.companion-field-return-priority-ready {
  border-left-color: var(--leaf);
  background: #f5fbf2;
}

.companion-field-return-priority-hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-field-return-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.companion-field-return-actions button,
.companion-field-return-actions a {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.companion-field-return-actions a {
  background: #edf6f5;
  color: var(--teal-dark);
}

.companion-field-return-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.companion-real-remote-quick {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #f1d7a6;
  border-radius: 8px;
  background: #fffaf0;
}

.companion-real-remote-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.companion-real-remote-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-real-remote-quick p {
  min-width: 0;
  margin: 0;
  color: #6c5a2d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.companion-real-remote-machine-boundary {
  padding: 10px 12px;
  border: 1px solid #f1c66f;
  border-radius: 8px;
  background: #fff4d9;
}

.companion-real-remote-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-real-remote-metrics div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #fffdf8;
  text-align: center;
}

.companion-real-remote-metrics dt {
  margin-bottom: 4px;
  color: #74644e;
  font-size: 12px;
  font-weight: 900;
}

.companion-real-remote-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.companion-real-remote-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-real-remote-step {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #f1d7a6;
  border-left: 5px solid #d8991d;
  border-radius: 8px;
  background: #fffdf8;
}

.companion-real-remote-step p {
  margin: 0;
  color: #6c5a2d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.companion-real-remote-step .companion-real-remote-forbidden {
  color: #8c4a16;
}

.companion-real-remote-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(126px, 1fr));
  gap: 8px;
}

.companion-real-remote-actions button {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.companion-real-remote-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.companion-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  gap: 10px;
}

.companion-start-card,
.companion-start-room-form {
  min-width: 0;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 32, 39, 0.08);
}

.companion-start-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
  text-decoration: none;
}

.companion-start-card-primary {
  background: var(--teal);
  color: #fff;
}

.companion-start-button {
  cursor: pointer;
}

.companion-start-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.companion-start-card svg {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(14, 124, 123, 0.1);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.companion-start-card-primary svg {
  background: rgba(255, 255, 255, 0.16);
}

.companion-start-card strong,
.companion-start-card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-start-card strong {
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.16;
}

.companion-start-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.companion-start-card-primary small {
  color: rgba(255, 255, 255, 0.78);
}

.companion-start-room-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.companion-start-room-form button {
  min-height: 52px;
  min-width: 116px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.companion-last-code {
  grid-column: 1 / -1;
  min-height: 44px;
  justify-self: stretch;
  padding: 10px 12px;
  border: 1px solid #b9dcd4;
  border-radius: 8px;
  background: #eef9f6;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.companion-last-code:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.companion-start-status-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-start-status-item {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e3ebe7;
  border-left: 4px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.companion-start-status-item.ready {
  border-left-color: var(--leaf);
  background: #f5fbf2;
}

.companion-start-status-item.hold {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-start-status-item strong,
.companion-start-status-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-start-status-item strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.companion-start-status-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.companion-hero {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 240px);
  gap: 16px;
  align-items: end;
}

.companion-hero h2 {
  margin: 6px 0 8px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.companion-hero p,
.companion-room p,
.companion-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.companion-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  background: #edf3ef;
  text-align: center;
}

.companion-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.companion-blueprint {
  display: grid;
  gap: 14px;
}

.companion-selfcheck {
  display: grid;
  gap: 14px;
}

.companion-selfcheck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.companion-selfcheck-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.companion-selfcheck-item {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e5eceb;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.companion-selfcheck-item-warn {
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-selfcheck-item-pending {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-selfcheck-item strong,
.companion-selfcheck-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-selfcheck-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-selfcheck-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.companion-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.companion-blueprint-block {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.companion-blueprint-block h3,
.companion-priority-title {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.companion-blueprint-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-blueprint-list li {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid #e8ecec;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.companion-blueprint-list strong {
  color: var(--ink);
  font-size: 14px;
}

.companion-priority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.companion-priority-chip {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: #f7fafb;
}

.companion-priority-chip strong,
.companion-priority-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-priority-chip strong {
  color: var(--teal-dark);
  font-size: 13px;
}

.companion-priority-chip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.companion-operating {
  display: grid;
  gap: 14px;
}

.companion-runtime {
  display: grid;
  gap: 14px;
}

.companion-scene-scale {
  display: grid;
  gap: 14px;
  border-color: #dfd9ea;
  background: #fbf9ff;
}

.companion-operating-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

.companion-runtime-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
}

.companion-scene-scale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.companion-runtime-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-runtime-metrics div {
  min-width: 0;
  padding: 11px 8px;
  border-radius: 8px;
  background: #f6f2e8;
  text-align: center;
}

.companion-runtime-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-runtime-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.companion-scene-scale-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-scene-scale-metrics div {
  min-width: 0;
  padding: 11px 8px;
  border-radius: 8px;
  background: #f2edf8;
  text-align: center;
}

.companion-scene-scale-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-scene-scale-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.companion-lane-list,
.companion-wave-list,
.companion-turn-list,
.companion-game-list,
.companion-rehearsal-list,
.companion-scene-scale-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.companion-lane-item,
.companion-wave-item,
.companion-turn-item,
.companion-game-item,
.companion-rehearsal-item,
.companion-scene-scale-item {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #e6ecea;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.companion-wave-item {
  border-left-color: var(--sun);
}

.companion-turn-item {
  border-left-color: var(--teal);
}

.companion-game-item {
  border-left-color: var(--leaf);
}

.companion-rehearsal-item {
  border-left-color: var(--coral);
}

.companion-scene-scale-item {
  border-left-color: #8b6bb3;
}

.companion-scene-scale-item-hold {
  border-color: #edd6c9;
  border-left-color: var(--coral);
  background: #fff7f3;
}

.companion-lane-item p,
.companion-wave-item p,
.companion-turn-item p,
.companion-game-item p,
.companion-rehearsal-item p,
.companion-scene-scale-item p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.companion-turn-item strong,
.companion-game-item strong,
.companion-rehearsal-item strong,
.companion-scene-scale-item strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.companion-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.companion-action {
  min-width: 0;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
}

.companion-action-primary {
  background: var(--teal);
  color: #fff;
}

.companion-action svg {
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(14, 124, 123, 0.1);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.companion-action-primary svg {
  background: rgba(255, 255, 255, 0.16);
}

.companion-action strong,
.companion-action small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.companion-action strong {
  margin-bottom: 3px;
  font-size: 19px;
  line-height: 1.15;
}

.companion-action small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.companion-action-primary small {
  color: rgba(255, 255, 255, 0.78);
}

.companion-room {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  align-items: end;
  gap: 14px;
}

.companion-room h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.companion-room-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.companion-code-field {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.companion-code-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-code-field input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
}

.companion-room-form button {
  min-height: 52px;
  min-width: 86px;
  align-self: end;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.companion-board {
  display: grid;
  gap: 12px;
}

.companion-dispatch,
.companion-record,
.companion-workspace,
.companion-field {
  display: grid;
  gap: 12px;
}

.companion-record {
  border-color: #d9e4d2;
  background: #fdfffb;
}

.companion-dispatch-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-dispatch-progress div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #fff1df;
  text-align: center;
}

.companion-dispatch-progress dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-dispatch-progress dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.companion-dispatch-now {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #f3d2a4;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fff8ec;
}

.companion-dispatch-now strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.companion-dispatch-now p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.companion-record-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.companion-record-metrics div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #eef6ec;
  text-align: center;
}

.companion-record-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.companion-record-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.companion-section-note,
.companion-workspace-path {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.companion-workspace-path {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2f5f7;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.companion-course-owner-one-tap {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 2px solid #c9d9e8;
  border-radius: 8px;
  background: #f3f9ff;
}

.companion-course-owner-one-tap-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.companion-course-owner-one-tap-copy strong,
.companion-course-owner-one-tap-copy p,
.companion-course-owner-one-tap-button span,
.companion-course-owner-one-tap-button strong,
.companion-course-owner-one-tap-button small,
.companion-course-owner-one-tap-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.companion-course-owner-one-tap-copy strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.16;
}

.companion-course-owner-one-tap-copy p,
.companion-course-owner-one-tap-boundary {
  color: var(--muted);
  line-height: 1.45;
}

.companion-course-owner-one-tap-button {
  width: 100%;
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  text-align: left;
}

.companion-course-owner-one-tap-button span {
  color: #d6f0ed;
  font-size: 13px;
  font-weight: 950;
}

.companion-course-owner-one-tap-button strong {
  font-size: 24px;
  line-height: 1.1;
}

.companion-course-owner-one-tap-button small {
  color: #fff4bf;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.companion-course-owner-one-tap-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.companion-course-owner-one-tap-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.companion-private-concierge-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #eadfbf;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.companion-private-concierge-copy,
.companion-private-concierge-item {
  min-width: 0;
}

.companion-private-concierge-copy span {
  display: block;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.companion-private-concierge-copy strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.companion-private-concierge-copy p,
.companion-private-concierge-boundary,
.companion-private-concierge-item p,
.companion-private-concierge-item small {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.42;
}

.companion-private-concierge-copy p,
.companion-private-concierge-boundary,
.companion-private-concierge-item small {
  color: var(--muted);
}

.companion-private-concierge-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.companion-private-concierge-flags span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.companion-private-concierge-flags strong {
  color: var(--ink);
  font-size: 15px;
}

.companion-private-concierge-card button {
  min-height: 44px;
  justify-self: start;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 950;
}

.companion-private-concierge-role-list,
.companion-private-concierge-flow-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-private-concierge-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e6ecea;
  border-left: 4px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.companion-private-concierge-item strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.companion-card-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.companion-role-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.companion-role-card-primary {
  border-left-color: var(--coral);
  background: #fff7f5;
}

.companion-role-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.companion-role-heading strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.companion-role-heading span {
  max-width: 96px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.companion-role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.companion-role-card .companion-role-quick {
  color: var(--ink);
  font-weight: 900;
}

.companion-field-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: #fff7f5;
}

.companion-record-card,
.companion-record-command {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  background: #f7fbf4;
}

.companion-record-command {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.companion-record-card p,
.companion-record-command p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.companion-record-command strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.companion-field-card-paused {
  border-left-color: var(--muted);
  background: #f6f7f8;
}

.companion-field-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.companion-inline-actions,
.companion-role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.companion-inline-actions button,
.companion-inline-actions a,
.companion-role-actions button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.companion-inline-actions button:disabled,
.companion-role-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.companion-inline-actions a {
  background: #edf6f5;
  color: var(--teal-dark);
}

.companion-boundary {
  background: #fff8df;
}

.teacher-shell {
  width: min(100%, 760px);
  min-width: 0;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.teacher-header {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.teacher-header > div {
  min-width: 0;
}

.teacher-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.teacher-hero,
.teacher-one-minute,
.teacher-panel,
.teacher-boundary {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.teacher-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 16px;
  align-items: end;
}

.teacher-hero > div {
  min-width: 0;
}

.teacher-hero h2 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.teacher-hero p,
.teacher-note,
.teacher-boundary p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-guided-dock {
  position: sticky;
  top: 88px;
  z-index: 70;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f8fffd;
  box-shadow: 0 12px 28px rgba(36, 82, 74, 0.12);
}

.teacher-now-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 280px);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f1faf8;
  box-shadow: 0 14px 32px rgba(36, 82, 74, 0.13);
}

.teacher-now-copy,
.teacher-now-why,
.teacher-now-safe-row {
  min-width: 0;
}

.teacher-now-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.teacher-now-copy span,
.teacher-now-copy h2,
.teacher-now-copy p,
.teacher-now-button,
.teacher-now-why strong,
.teacher-now-why span,
.teacher-now-safe-row span {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-now-copy span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-now-copy h2 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.teacher-now-copy p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.42;
}

.teacher-now-button {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
}

.teacher-now-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-now-why {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-now-why strong {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-now-why span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.32;
}

.teacher-now-safe-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.teacher-now-safe-row span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.teacher-now-card[data-now-action="fix_home_handoff"],
.teacher-now-card[data-now-action="complete_teacher_fields"] {
  border-color: #d99a55;
  background: #fff8ec;
}

.teacher-now-card[data-now-action="copy_replay_decision"] {
  border-color: #8b5a7a;
  background: #fff4fb;
}

.teacher-now-card[data-now-action="open_home_family_preview"] {
  border-color: #2f8a69;
  background: #f0fff7;
}

.teacher-guided-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.teacher-guided-copy span,
.teacher-guided-copy strong,
.teacher-guided-copy p,
.teacher-guided-button span,
.teacher-guided-button strong,
.teacher-guided-button small,
.teacher-guided-safe-row span {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-guided-copy span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-guided-copy strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
}

.teacher-guided-copy p {
  color: var(--muted);
  line-height: 1.4;
}

.teacher-guided-button {
  min-width: 0;
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  text-align: left;
}

.teacher-guided-button span {
  color: #d6f0ed;
  font-size: 12px;
  font-weight: 950;
}

.teacher-guided-button strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.teacher-guided-button small {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.teacher-guided-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-guided-actions {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-guided-actions-backup {
  grid-column: 1 / -1;
  min-width: 0;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-guided-actions-backup > summary {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  list-style: none;
}

.teacher-guided-actions-backup > summary::-webkit-details-marker {
  display: none;
}

.teacher-guided-actions-backup > summary span,
.teacher-guided-actions-backup > summary strong,
.teacher-guided-actions-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-guided-actions-backup > summary span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-guided-actions-backup > summary strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.teacher-guided-actions-backup > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.teacher-guided-actions-backup > summary::after {
  content: "+";
  justify-self: end;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-weight: 950;
}

.teacher-guided-actions-backup[open] > summary::after {
  content: "-";
}

.teacher-guided-actions-backup > summary:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-guided-actions-backup .teacher-guided-actions {
  padding: 0 10px 10px;
}

.teacher-guided-smart-next {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-guided-smart-next span,
.teacher-guided-smart-next strong,
.teacher-guided-smart-next p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-guided-smart-next span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-guided-smart-next strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
}

.teacher-guided-smart-next p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

.teacher-guided-smart-boundary {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f1faf8;
  color: var(--teal-dark) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.teacher-guided-action {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 3px 8px;
  align-content: center;
  align-items: center;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.teacher-guided-action span {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
}

.teacher-guided-action strong,
.teacher-guided-action small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-guided-action strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.teacher-guided-action small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.teacher-guided-action[data-ready="false"] {
  background: #f8faf9;
  color: var(--muted);
}

.teacher-guided-action[data-ready="false"] span {
  background: #edf3ef;
  color: var(--muted);
}

.teacher-guided-primary {
  border-color: #24524a;
  background: #f1faf8;
}

.teacher-guided-action:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-guided-safe-row {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-guided-safe-row span {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
}

.teacher-family-loop-progress {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f8fffd;
  box-shadow: 0 12px 28px rgba(36, 82, 74, 0.1);
}

.teacher-family-loop-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.teacher-family-loop-copy span,
.teacher-family-loop-copy h2,
.teacher-family-loop-copy p,
.teacher-family-loop-step strong,
.teacher-family-loop-step small,
.teacher-family-loop-step a,
.teacher-family-loop-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-family-loop-copy span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-family-loop-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0;
}

.teacher-family-loop-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.teacher-family-loop-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-family-loop-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 96px;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-family-loop-step > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
}

.teacher-family-loop-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.teacher-family-loop-step small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.teacher-family-loop-step a {
  display: inline-grid;
  align-items: center;
  min-height: 32px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.teacher-family-loop-step[data-status="done"] {
  border-color: #b8d8c2;
  background: #f5fbf6;
}

.teacher-family-loop-step[data-status="active"] {
  border-color: #24524a;
  background: #f1faf8;
  box-shadow: inset 0 0 0 2px rgba(36, 82, 74, 0.18);
}

.teacher-family-loop-step[data-status="blocked"] {
  border-color: #e3bab2;
  background: #fff4f1;
}

.teacher-family-loop-step[data-status="blocked"] a {
  background: #8a3d31;
}

.teacher-family-loop-boundary {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.teacher-first-day-mvp {
  scroll-margin-top: 196px;
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 12px 28px rgba(36, 82, 74, 0.08);
}

.teacher-first-day-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.teacher-first-day-head > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.teacher-first-day-head span,
.teacher-first-day-head h2,
.teacher-first-day-head p,
.teacher-first-day-head strong,
.teacher-first-day-course,
.teacher-first-day-action,
.teacher-first-day-route strong,
.teacher-first-day-route small,
.teacher-first-day-step strong,
.teacher-first-day-step p,
.teacher-first-day-step small,
.teacher-first-day-policy-card p,
.teacher-first-day-policy-card small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-first-day-head span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-first-day-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.teacher-first-day-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.teacher-first-day-head > strong {
  flex: 0 0 auto;
  max-width: 132px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.teacher-first-day-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.teacher-first-day-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d5e1ed;
  border-radius: 8px;
  background: #fff;
}

.teacher-first-day-metrics dt,
.teacher-first-day-metrics dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.teacher-first-day-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.teacher-first-day-metrics dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
}

.teacher-first-day-course,
.teacher-first-day-action {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.38;
}

.teacher-first-day-course {
  background: #eef8ff;
}

.teacher-first-day-action {
  background: #fff8e8;
  color: #764823;
}

.teacher-first-day-route-list,
.teacher-first-day-step-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-first-day-route-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.teacher-first-day-route {
  min-width: 0;
}

.teacher-first-day-route a {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 11px;
  border: 1px solid #c8d8eb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.teacher-first-day-route span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.teacher-first-day-route strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.teacher-first-day-route small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.28;
}

.teacher-first-day-step-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.teacher-first-day-step {
  min-width: 0;
  min-height: 124px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid #d7e5df;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.teacher-first-day-step[data-status="review_required"],
.teacher-first-day-step[data-status="field_pending"] {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.teacher-first-day-step > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #24524a;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.teacher-first-day-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
}

.teacher-first-day-step p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.34;
}

.teacher-first-day-step small {
  display: block;
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.24;
}

.teacher-first-day-policy {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-first-day-policy-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #fff;
}

.teacher-first-day-policy-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
}

.teacher-first-day-policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.34;
}

.teacher-first-day-policy-card small {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.22;
}

.teacher-first-day-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-first-day-actions button,
.teacher-first-day-actions a {
  scroll-margin-top: 196px;
  min-width: 0;
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #24524a;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
}

.teacher-first-day-actions a {
  background: #fff;
  color: var(--teal-dark);
}

.teacher-first-day-actions button:focus-visible,
.teacher-first-day-actions a:focus-visible,
.teacher-first-day-route a:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-course-evidence-card {
  scroll-margin-top: 196px;
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #4d6f9f;
  border-radius: 8px;
  background: #f7f9ff;
  box-shadow: 0 12px 28px rgba(77, 111, 159, 0.08);
}

.teacher-course-evidence-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.teacher-course-evidence-head > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.teacher-course-evidence-head span,
.teacher-course-evidence-head h2,
.teacher-course-evidence-head p,
.teacher-course-evidence-head strong,
.teacher-course-evidence-item-head strong,
.teacher-course-evidence-item-head span,
.teacher-course-evidence-item p,
.teacher-course-evidence-item dt,
.teacher-course-evidence-item dd,
.teacher-course-evidence-boundary p,
.teacher-course-evidence-action {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-course-evidence-head span {
  color: #294e79;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-course-evidence-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.teacher-course-evidence-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.teacher-course-evidence-head > strong {
  flex: 0 0 auto;
  max-width: 132px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e5eefb;
  color: #294e79;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.teacher-course-evidence-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.teacher-course-evidence-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d5e1ed;
  border-radius: 8px;
  background: #fff;
}

.teacher-course-evidence-metrics dt,
.teacher-course-evidence-metrics dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.teacher-course-evidence-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.teacher-course-evidence-metrics dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
}

.teacher-course-evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-course-evidence-item {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #c8d8eb;
  border-left: 5px solid #4d6f9f;
  border-radius: 8px;
  background: #fff;
}

.teacher-course-evidence-item-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.teacher-course-evidence-item-head strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.teacher-course-evidence-item-head span {
  flex: 0 0 auto;
  max-width: 108px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e5eefb;
  color: #294e79;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.teacher-course-evidence-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.38;
}

.teacher-course-evidence-item-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.teacher-course-evidence-item-meta div {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #f3f7fb;
}

.teacher-course-evidence-item-meta dt,
.teacher-course-evidence-item-meta dd {
  margin: 0;
}

.teacher-course-evidence-item-meta dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.teacher-course-evidence-item-meta dd {
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.22;
}

.teacher-course-evidence-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-course-evidence-steps li {
  min-width: 0;
  padding: 7px;
  border-radius: 8px;
  background: #eef8ff;
  color: #294e79;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.teacher-course-evidence-fields,
.teacher-course-evidence-family,
.teacher-course-evidence-action {
  padding: 10px 12px;
  border-radius: 8px;
}

.teacher-course-evidence-fields {
  background: #fff8e8;
  color: #764823;
}

.teacher-course-evidence-family {
  background: #eef8ff;
  color: #294e79;
}

.teacher-course-evidence-boundaries {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-course-evidence-boundary {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #d9e3f1;
  border-radius: 8px;
  background: #fff;
}

.teacher-course-evidence-boundary strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
}

.teacher-course-evidence-boundary p {
  margin: 0;
  color: #294e79;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.28;
}

.teacher-course-evidence-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-course-evidence-actions button,
.teacher-course-evidence-actions a {
  scroll-margin-top: 196px;
  min-width: 0;
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #294e79;
  border-radius: 8px;
  background: #294e79;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
}

.teacher-course-evidence-actions a {
  background: #fff;
  color: #294e79;
}

.teacher-course-evidence-action {
  margin: 0;
  background: #fff8e8;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.38;
}

.teacher-course-evidence-actions button:focus-visible,
.teacher-course-evidence-actions a:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-play-loop-replay-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #6d7f4f;
  border-radius: 8px;
  background: #fbfcf4;
  box-shadow: 0 12px 28px rgba(82, 106, 46, 0.08);
}

.teacher-play-loop-replay-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.teacher-play-loop-replay-head > div,
.teacher-play-loop-ticket,
.teacher-play-loop-replay-item {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.teacher-play-loop-replay-head span,
.teacher-play-loop-replay-head h2,
.teacher-play-loop-replay-head p,
.teacher-play-loop-replay-head strong,
.teacher-play-loop-replay-item-head strong,
.teacher-play-loop-replay-item-head span,
.teacher-play-loop-replay-item p,
.teacher-play-loop-replay-meta dt,
.teacher-play-loop-replay-meta dd,
.teacher-play-loop-ticket span,
.teacher-play-loop-ticket strong,
.teacher-play-loop-ticket p,
.teacher-play-loop-replay-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-play-loop-replay-head span {
  color: #526a2e;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-play-loop-replay-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.teacher-play-loop-replay-head p,
.teacher-play-loop-replay-item p,
.teacher-play-loop-ticket p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.teacher-play-loop-replay-head > strong {
  flex: 0 0 auto;
  max-width: 132px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4da;
  color: #526a2e;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.teacher-play-loop-replay-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-play-loop-replay-item {
  padding: 12px;
  border: 1px solid #d7dfb8;
  border-left: 5px solid #6d7f4f;
  border-radius: 8px;
  background: #fff;
}

.teacher-play-loop-replay-item-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.teacher-play-loop-replay-item-head strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.teacher-play-loop-replay-item-head span {
  flex: 0 0 auto;
  max-width: 96px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4da;
  color: #526a2e;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.teacher-play-loop-replay-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.teacher-play-loop-replay-meta div {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #f4f7ec;
}

.teacher-play-loop-replay-meta dt,
.teacher-play-loop-replay-meta dd {
  margin: 0;
}

.teacher-play-loop-replay-meta dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.teacher-play-loop-replay-meta dd {
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.22;
}

.teacher-play-loop-replay-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.teacher-play-loop-replay-steps li {
  color: #526a2e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.teacher-play-loop-replay-item-boundary,
.teacher-play-loop-replay-boundary {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.38;
}

.teacher-play-loop-ticket {
  padding: 12px;
  border: 1px solid #d7dfb8;
  border-radius: 8px;
  background: #fff;
}

.teacher-play-loop-ticket span {
  color: #526a2e;
  font-size: 12px;
  font-weight: 950;
}

.teacher-play-loop-ticket strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.teacher-play-loop-replay-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-play-loop-replay-actions button,
.teacher-play-loop-replay-actions a {
  min-width: 0;
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #526a2e;
  border-radius: 8px;
  background: #526a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
}

.teacher-play-loop-replay-actions a {
  background: #fff;
  color: #526a2e;
}

.teacher-play-loop-replay-actions button:focus-visible,
.teacher-play-loop-replay-actions a:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-one-minute {
  display: grid;
  gap: 12px;
  border-color: #b8dfd6;
  background: #f3fbf9;
}

.teacher-one-minute h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.teacher-one-minute-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.teacher-one-minute-grid span {
  min-width: 0;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.teacher-minute-flow,
.teacher-decision-strip {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.teacher-minute-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-minute-flow-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 116px;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-left: 4px solid var(--leaf);
  border-radius: 8px;
  background: #fff;
}

.teacher-minute-flow-item strong {
  min-width: 0;
  color: var(--teal-dark);
  font-size: 13px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.teacher-minute-flow-item div,
.teacher-minute-flow-item span,
.teacher-minute-flow-item p,
.teacher-minute-flow-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.teacher-minute-flow-item span {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-minute-flow-item p {
  margin: 5px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.teacher-minute-flow-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.teacher-decision-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teacher-decision-strip span {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #d6dfc2;
  border-radius: 8px;
  background: #fcfff2;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.teacher-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.teacher-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  background: #edf3ef;
  text-align: center;
}

.teacher-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.teacher-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.teacher-panel {
  display: grid;
  gap: 12px;
}

.teacher-family-card-send-preflight {
  padding: 14px;
  border: 1px solid #d99a55;
  border-radius: 8px;
  background: #fff8ec;
}

.teacher-family-card-send-preflight[data-send-state="blocked"] {
  border-color: #d99a55;
  background: #fff8ec;
}

.teacher-family-card-send-preflight[data-send-state="ready_for_human_send_review"] {
  border-color: #2f8a69;
  background: #f0fff7;
}

.teacher-family-card-send-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.teacher-family-card-send-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-handoff-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #b8dfd6;
  border-radius: 8px;
  background: #f3fbf9;
}

.teacher-home-handoff-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.teacher-home-handoff-box textarea {
  min-height: 132px;
  background: #fff;
}

.teacher-family-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #fff;
}

.teacher-replay-decision {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f0d6a1;
  border-radius: 8px;
  background: #fffaf0;
}

.teacher-next-chapter-decision {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #c8d8eb;
  border-radius: 8px;
  background: #f7fbff;
}

.teacher-next-chapter-decision h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.teacher-next-chapter-decision .teacher-card[data-status="ready"] {
  border-color: #abcfe3;
  background: #f4fbff;
}

.teacher-next-chapter-decision .teacher-card[data-status="hold"] {
  border-color: #ead9a9;
  background: #fffdf4;
}

.teacher-next-chapter-decision .teacher-card[data-status="review"] {
  border-color: #d5e1ed;
  background: #fff;
}

.teacher-family-preview h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.teacher-family-preview-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #88c8a6;
  border-radius: 8px;
  background: #f1fbf5;
}

.teacher-family-preview-open[data-open-state="waiting_precheck"],
.teacher-family-preview-open[data-open-state="blocked_handoff"],
.teacher-family-preview-open[data-open-state="replay_review_required"] {
  border-color: #d5c08a;
  background: #fff9e8;
}

.teacher-family-preview-open strong,
.teacher-family-preview-open p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.teacher-family-preview-open strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-family-preview-open p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

#teacher-home-family-preview-open-button {
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

#teacher-home-family-preview-open-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

#teacher-home-family-preview-open-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

#teacher-open-home-family-preview {
  border-color: #136f63;
  background: #f3fbf9;
  color: #123f3a;
  font-weight: 800;
}

.teacher-replay-decision h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.teacher-replay-next-card {
  scroll-margin-top: 244px;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid #e2c782;
  border-radius: 8px;
  background: #fffdf6;
}

.teacher-replay-next-card[data-next-card-state="ready_hold_teacher_confirmation"] {
  border-color: #2f7a69;
  background: #f3fbf9;
}

.teacher-replay-next-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.teacher-replay-next-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

#teacher-open-home-replay-next {
  min-height: 54px;
  border-color: #136f63;
  background: #eaf8f4;
  color: #123f3a;
  font-weight: 900;
}

#teacher-open-home-replay-next:disabled {
  border-color: #dfd6c7;
  background: #f4eee3;
  color: #8b7664;
}

#teacher-home-handoff-boundary {
  color: var(--teal-dark);
  font-size: 16px;
}

.teacher-home-relay-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 280px);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f1faf8;
  box-shadow: 0 12px 28px rgba(36, 82, 74, 0.12);
}

.teacher-home-relay-copy,
.teacher-home-relay-steps {
  min-width: 0;
}

.teacher-home-relay-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.teacher-home-relay-copy span,
.teacher-home-relay-copy h3,
.teacher-home-relay-copy p,
.teacher-home-relay-button,
.teacher-home-relay-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-relay-copy span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-home-relay-copy h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.teacher-home-relay-copy p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.teacher-home-relay-button {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.teacher-home-relay-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-home-relay-quality {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-home-relay-quality strong,
.teacher-home-relay-quality li,
.teacher-home-relay-quality span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.teacher-home-relay-quality > strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-home-relay-quality ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.teacher-home-relay-quality li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f6fbfa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.teacher-home-relay-quality li strong {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-home-relay-quality li[data-status="blocked"] {
  background: #fff8ec;
  color: #7a4b13;
}

.teacher-home-relay-quality li[data-status="blocked"] strong {
  color: #9b4d0e;
}

.teacher-home-relay-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.teacher-home-relay-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-home-relay-step[data-status="active"] {
  border-color: #24524a;
  background: #f8fffd;
}

.teacher-home-relay-step[data-status="done"] {
  background: #f0f7ea;
}

.teacher-home-relay-step[data-status="blocked"] {
  border-color: #d99a55;
  background: #fff8ec;
}

.teacher-home-relay-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.teacher-home-relay-step strong,
.teacher-home-relay-step small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-relay-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}

.teacher-home-relay-step small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.teacher-home-relay-boundary {
  grid-column: 1 / -1;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.28;
}

.teacher-home-ticket {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #c8ded6;
  border-radius: 8px;
  background: #fff;
}

.teacher-home-ticket span,
.teacher-home-ticket strong,
.teacher-home-ticket p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-ticket span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.teacher-home-ticket strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-home-ticket p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.32;
}

#teacher-home-ticket-boundary {
  color: var(--teal-dark);
  font-weight: 950;
}

.teacher-home-ticket-disposition {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  background: #f4fbf9;
}

.teacher-home-ticket-disposition span,
.teacher-home-ticket-disposition strong,
.teacher-home-ticket-disposition p,
.teacher-home-ticket-disposition li {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-ticket-disposition > span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.teacher-home-ticket-disposition > strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-home-ticket-disposition > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.teacher-home-ticket-flow-contract {
  padding: 8px 10px;
  border: 1px solid #c9ded8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.teacher-home-ticket-flow-contract[data-review-flow-lane="repeat_115"] {
  border-color: #dbbf7b;
  background: #fff8df;
  color: #6f5610;
}

.teacher-home-ticket-flow-contract[data-review-flow-lane="continue_116"] {
  border-color: #88c8a6;
  background: #effbf4;
}

.teacher-home-ticket-flow-contract[data-review-flow-lane="pending_review"] {
  border-color: #c9ded8;
  background: #f7fbfa;
}

.teacher-home-ticket-next {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #5ba99b;
  border-radius: 8px;
  background: #ecfbf7;
}

.teacher-home-ticket-next span,
.teacher-home-ticket-next strong,
.teacher-home-ticket-next p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-ticket-next span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
}

.teacher-home-ticket-next strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-home-ticket-next p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.28;
}

#teacher-home-ticket-next-action {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
}

#teacher-home-ticket-next-action:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-home-ticket-next[data-next-action="return_family_fix"] {
  border-color: #db9f90;
  background: #fff4ef;
}

.teacher-home-ticket-next[data-next-action="return_family_fix"] #teacher-home-ticket-next-action {
  background: #9b4d0e;
}

.teacher-home-ticket-next[data-next-action="copy_tv116_pending_draft"],
.teacher-home-ticket-next[data-next-action="copy_teacher_draft"],
.teacher-home-ticket-next[data-next-action="copy_replay_disposition"] {
  border-color: #88c8a6;
  background: #f1fbf5;
}

#teacher-home-ticket-next-boundary {
  color: var(--teal-dark);
  font-weight: 950;
}

.teacher-home-ticket-disposition ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-home-ticket-disposition li {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #c8ded6;
  border-radius: 8px;
  background: #fff;
}

.teacher-home-ticket-disposition li[data-status="active"] {
  border-color: #5ba99b;
  background: #ecfbf7;
}

.teacher-home-ticket-disposition li[data-status="done"] {
  border-color: #88c8a6;
  background: #f1fbf5;
}

.teacher-home-ticket-disposition li[data-status="blocked"] {
  border-color: #db9f90;
  background: #fff4ef;
}

.teacher-home-ticket-disposition li[data-status="hold"] {
  border-color: #d5c08a;
  background: #fff9e8;
}

.teacher-home-ticket-disposition li strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.18;
}

.teacher-home-ticket-disposition li span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.teacher-tv116-review-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #b8dfd6;
  border-radius: 8px;
  background: #f8fffd;
}

.teacher-tv116-review-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.teacher-tv116-review-head div,
.teacher-tv116-review-head span,
.teacher-tv116-review-head h3,
.teacher-tv116-review-head strong,
#teacher-tv116-review-summary,
.teacher-tv116-review-step,
.teacher-tv116-review-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-tv116-review-head span {
  display: block;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.teacher-tv116-review-head h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

#teacher-tv116-review-state {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e4f2ef;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

#teacher-tv116-review-summary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.teacher-tv116-review-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.teacher-tv116-review-step {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 10px;
  border: 1px solid #d8e6e1;
  border-radius: 8px;
  background: #fff;
}

.teacher-tv116-review-step[data-status="active"] {
  border-color: #24524a;
  background: #f1faf8;
}

.teacher-tv116-review-step[data-status="done"] {
  background: #f0f7ea;
}

.teacher-tv116-review-step[data-status="blocked"] {
  border-color: #d99a55;
  background: #fff8ec;
}

.teacher-tv116-review-step strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-tv116-review-step span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.teacher-tv116-review-draft {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, auto);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #c8ded6;
  border-radius: 8px;
  background: #ffffff;
}

.teacher-tv116-review-draft div,
.teacher-tv116-review-draft strong,
.teacher-tv116-review-draft p,
.teacher-tv116-review-draft button {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-tv116-review-draft strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
}

.teacher-tv116-review-draft p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.teacher-tv116-review-draft button {
  border: 0;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  cursor: pointer;
}

.teacher-tv116-review-draft button:disabled {
  background: #d8e6e1;
  color: #55766f;
  cursor: not-allowed;
}

.teacher-tv116-review-draft button:focus-visible {
  outline: 3px solid #f4b84a;
  outline-offset: 2px;
}

.teacher-tv116-review-boundary {
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.35;
}

.teacher-handoff-command-index {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e6e1;
  border-radius: 8px;
  background: #fbfdfb;
}

.teacher-handoff-command-index > strong,
.teacher-handoff-command-index > p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.teacher-handoff-command-index > strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
}

.teacher-handoff-command-index > p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.teacher-handoff-command-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.teacher-handoff-command-item {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-handoff-command-item strong,
.teacher-handoff-command-item span,
.teacher-handoff-command-item code {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-handoff-command-item strong {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}

.teacher-handoff-command-item span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.teacher-handoff-command-item code {
  padding: 5px 6px;
  border-radius: 6px;
  background: #eef7f4;
  color: #17433d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.teacher-home-relay-card[data-relay-state="handoff_blocked"],
.teacher-home-relay-card[data-relay-state="teacher_fields_pending"] {
  border-color: #d99a55;
  background: #fff8ec;
}

.teacher-home-relay-card[data-relay-state="second_review_ready"] {
  border-color: #8b5a7a;
  background: #fff4fb;
}

.teacher-home-relay-card[data-relay-state="family_preview_open_ready"] {
  border-color: #2f8a69;
  background: #f0fff7;
}

.teacher-step-list,
.teacher-card-list,
.teacher-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e6ecea;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.teacher-card[data-status="review"] {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.teacher-card strong,
.teacher-card p,
.teacher-card span,
.teacher-simple-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.22;
}

.teacher-card p,
.teacher-card span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.teacher-simple-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e6ecea;
  border-radius: 8px;
  background: #f9fbfb;
}

.teacher-simple-item strong {
  max-width: 96px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.teacher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.teacher-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-home-primary-action {
  align-items: stretch;
}

.teacher-home-primary-action button {
  width: 100%;
}

.teacher-advanced-actions {
  min-width: 0;
  padding: 10px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
}

.teacher-advanced-actions summary {
  min-width: 0;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-advanced-actions p {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#teacher-one-tap-home-review {
  min-height: 52px;
  background: var(--teal);
  font-size: 15px;
}

.teacher-reply-box {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.teacher-reply-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.teacher-reply-box textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.teacher-boundary {
  background: #fff8df;
}

.course-owner-shell {
  width: min(100%, 780px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.course-owner-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.course-owner-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.course-owner-hero,
.course-owner-panel,
.course-owner-boundary {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.course-owner-hero {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: 16px;
  align-items: end;
}

.course-owner-hero h2 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.course-owner-hero p,
.course-owner-note,
.course-owner-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.course-owner-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.course-owner-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  background: #edf3ef;
  text-align: center;
}

.course-owner-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.course-owner-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.course-owner-panel {
  display: grid;
  gap: 12px;
}

.course-owner-adult-workbench-backup,
.principal-adult-workbench-backup {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.course-owner-adult-workbench-backup > summary,
.principal-adult-workbench-backup > summary {
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-content: center;
  padding: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.course-owner-adult-workbench-backup > summary::-webkit-details-marker,
.principal-adult-workbench-backup > summary::-webkit-details-marker {
  display: none;
}

.course-owner-adult-workbench-backup > summary span,
.course-owner-adult-workbench-backup > summary strong,
.course-owner-adult-workbench-backup > summary small,
.principal-adult-workbench-backup > summary span,
.principal-adult-workbench-backup > summary strong,
.principal-adult-workbench-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.course-owner-adult-workbench-backup > summary span,
.principal-adult-workbench-backup > summary span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.course-owner-adult-workbench-backup > summary strong,
.principal-adult-workbench-backup > summary strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.08;
}

.course-owner-adult-workbench-backup > summary small,
.principal-adult-workbench-backup > summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.course-owner-adult-workbench-backup > summary::after,
.principal-adult-workbench-backup > summary::after {
  content: "+";
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.course-owner-adult-workbench-backup[open] > summary::after,
.principal-adult-workbench-backup[open] > summary::after {
  content: "-";
}

.course-owner-adult-workbench-backup > summary:focus-visible,
.principal-adult-workbench-backup > summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.course-owner-adult-workbench-body,
.principal-adult-workbench-body {
  display: grid;
  gap: 18px;
  padding: 0 16px 16px;
}

.course-owner-now-card,
.principal-now-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #bdd9d5;
  border-radius: 8px;
  background: #f2fbfa;
}

.course-owner-now-copy,
.course-owner-now-why,
.course-owner-now-safe-row,
.principal-now-copy,
.principal-now-why,
.principal-now-safe-row {
  min-width: 0;
}

.course-owner-now-copy,
.principal-now-copy {
  display: grid;
  gap: 7px;
}

.course-owner-now-copy span,
.course-owner-now-copy h2,
.course-owner-now-copy p,
.course-owner-now-button,
.course-owner-now-why strong,
.course-owner-now-why span,
.course-owner-now-safe-row span,
.principal-now-copy span,
.principal-now-copy h2,
.principal-now-copy p,
.principal-now-button,
.principal-now-why strong,
.principal-now-why span,
.principal-now-safe-row span {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.course-owner-now-copy span,
.principal-now-copy span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 8px;
  background: #dcefeb;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.course-owner-now-copy h2,
.principal-now-copy h2 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.course-owner-now-copy p,
.principal-now-copy p {
  color: var(--muted);
  line-height: 1.45;
}

.course-owner-now-button,
.principal-now-button {
  width: 100%;
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.principal-now-button {
  background: #21433d;
}

.course-owner-now-button:focus-visible,
.principal-now-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.course-owner-now-why,
.principal-now-why {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.course-owner-now-why strong,
.principal-now-why strong {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.course-owner-now-why span,
.principal-now-why span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.course-owner-now-safe-row,
.principal-now-safe-row,
.principal-session-safe-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.course-owner-now-safe-row span,
.principal-now-safe-row span,
.principal-session-safe-row span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #eaf3f0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.principal-session-summary {
  min-width: 0;
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d8e8e3;
}

.principal-session-summary span,
.principal-session-summary strong,
.principal-session-summary p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.principal-session-summary > span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.principal-session-summary > strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.principal-session-summary > p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.course-owner-now-card[data-now-action="precheck_reply"],
.course-owner-now-card[data-now-action="save_reply_instruction"],
.principal-now-card[data-now-action="precheck_reply"],
.principal-now-card[data-now-action="save_approval_instruction"] {
  border-color: #d9c775;
  background: #fffaf0;
}

.course-owner-one-tap {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #c9d9e8;
  border-radius: 8px;
  background: #f3f9ff;
}

.course-owner-one-tap-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.course-owner-one-tap-copy h2,
.course-owner-one-tap-copy p,
.course-owner-one-tap-button span,
.course-owner-one-tap-button strong,
.course-owner-one-tap-button small,
.course-owner-one-tap-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.course-owner-one-tap-copy h2 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.course-owner-one-tap-copy p,
.course-owner-one-tap-boundary {
  color: var(--muted);
  line-height: 1.45;
}

.course-owner-one-tap-button {
  width: 100%;
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  text-align: left;
}

.course-owner-one-tap-button span {
  color: #d6f0ed;
  font-size: 13px;
  font-weight: 950;
}

.course-owner-one-tap-button strong {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.course-owner-one-tap-button small {
  color: #fff4bf;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.course-owner-one-tap-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.course-owner-reply-one-tap {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 2px solid #d9c775;
  border-radius: 8px;
  background: #fffaf0;
}

.course-owner-reply-one-tap-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.course-owner-reply-one-tap-copy h3,
.course-owner-reply-one-tap-copy p,
.course-owner-reply-one-tap-button span,
.course-owner-reply-one-tap-button strong,
.course-owner-reply-one-tap-button small,
.course-owner-reply-one-tap-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.course-owner-reply-one-tap-copy h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.course-owner-reply-one-tap-copy p,
.course-owner-reply-one-tap-boundary {
  color: var(--muted);
  line-height: 1.45;
}

.course-owner-reply-one-tap-button {
  width: 100%;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: #765b12;
  color: #fff;
  text-align: left;
}

.course-owner-reply-one-tap-button span {
  color: #fff2bf;
  font-size: 13px;
  font-weight: 950;
}

.course-owner-reply-one-tap-button strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.course-owner-reply-one-tap-button small {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.course-owner-reply-one-tap-button:focus-visible {
  outline: 4px solid #24524a;
  outline-offset: 3px;
}

.course-owner-guided-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 84;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(160px, 0.58fr) minmax(150px, 0.46fr) minmax(220px, 0.82fr) minmax(180px, 0.5fr);
  gap: 8px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #b9d2e8;
  border-radius: 8px;
  background: #f3f9ff;
  box-shadow: 0 20px 48px rgba(23, 32, 39, 0.2);
}

.course-owner-guided-copy,
.course-owner-guided-main,
.course-owner-guided-actions-backup,
.course-owner-guided-actions,
.course-owner-guided-safe-row {
  min-width: 0;
}

.course-owner-guided-copy {
  display: grid;
  align-content: center;
  gap: 3px;
}

.course-owner-guided-copy span,
.course-owner-guided-copy strong,
.course-owner-guided-copy p,
.course-owner-guided-main span,
.course-owner-guided-main strong,
.course-owner-guided-main small,
.course-owner-guided-action strong,
.course-owner-guided-action span,
.course-owner-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.course-owner-guided-copy span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: #e1f0fd;
  color: #225176;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.course-owner-guided-dock[data-reply-state="ready"] .course-owner-guided-copy span {
  background: #e9f8f3;
  color: var(--teal-dark);
}

.course-owner-guided-dock[data-reply-state="active"] .course-owner-guided-copy span {
  background: #fff1cd;
  color: #7d4c08;
}

.course-owner-guided-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.course-owner-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.24;
}

.course-owner-guided-main {
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(36, 82, 74, 0.42);
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 7px 0 #163c36;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.course-owner-guided-main:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.course-owner-guided-main:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.course-owner-guided-main strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
}

.course-owner-guided-main span,
.course-owner-guided-main small {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.14;
  opacity: 0.86;
}

.course-owner-guided-actions-backup {
  min-width: 0;
  display: grid;
  align-content: center;
}

.course-owner-guided-actions-backup > summary {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  align-content: center;
  padding: 10px;
  border: 1px dashed #b9d2e8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.course-owner-guided-actions-backup > summary::-webkit-details-marker {
  display: none;
}

.course-owner-guided-actions-backup > summary span,
.course-owner-guided-actions-backup > summary strong,
.course-owner-guided-actions-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.course-owner-guided-actions-backup > summary span {
  color: #225176;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.14;
}

.course-owner-guided-actions-backup > summary strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
}

.course-owner-guided-actions-backup > summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.18;
}

.course-owner-guided-actions-backup > summary::after {
  content: "+";
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.course-owner-guided-actions-backup[open] > summary::after {
  content: "-";
}

.course-owner-guided-actions-backup > summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.course-owner-guided-actions-backup .course-owner-guided-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
}

.course-owner-guided-action {
  min-width: 0;
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid #c8dceb;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.course-owner-guided-primary {
  border-color: rgba(36, 82, 74, 0.42);
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 7px 0 #163c36;
}

.course-owner-guided-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.course-owner-guided-action:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.course-owner-guided-action strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.08;
}

.course-owner-guided-action span {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.14;
  opacity: 0.82;
}

.course-owner-guided-safe-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.course-owner-guided-safe-row span {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border: 1px solid #d4e4ef;
  border-radius: 8px;
  background: #ffffff;
  color: #225176;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.teacher-reply-one-tap,
.teacher-record-one-tap {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 2px solid #a9c7c2;
  border-radius: 8px;
  background: #f2fbf9;
}

.teacher-reply-one-tap-copy,
.teacher-record-one-tap-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.teacher-reply-one-tap-copy h3,
.teacher-reply-one-tap-copy p,
.teacher-reply-one-tap-button span,
.teacher-reply-one-tap-button strong,
.teacher-reply-one-tap-button small,
.teacher-reply-one-tap-boundary,
.teacher-record-one-tap-copy h3,
.teacher-record-one-tap-copy p,
.teacher-record-one-tap-button span,
.teacher-record-one-tap-button strong,
.teacher-record-one-tap-button small,
.teacher-record-one-tap-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.teacher-reply-one-tap-copy h3,
.teacher-record-one-tap-copy h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.teacher-reply-one-tap-copy p,
.teacher-reply-one-tap-boundary,
.teacher-record-one-tap-copy p,
.teacher-record-one-tap-boundary {
  color: var(--muted);
  line-height: 1.45;
}

.teacher-reply-one-tap-button,
.teacher-record-one-tap-button {
  width: 100%;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  text-align: left;
}

.teacher-reply-one-tap-button span,
.teacher-record-one-tap-button span {
  color: #d6f0ed;
  font-size: 13px;
  font-weight: 950;
}

.teacher-reply-one-tap-button strong,
.teacher-record-one-tap-button strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.teacher-reply-one-tap-button small,
.teacher-record-one-tap-button small {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.teacher-reply-one-tap-button:focus-visible,
.teacher-record-one-tap-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.teacher-record-one-tap {
  background: #fff8e6;
  border-color: #d9bd72;
}

.teacher-record-one-tap-button {
  background: #5a4410;
}

.teacher-record-one-tap-button span {
  color: #fff0bd;
}

.course-owner-step-list,
.course-owner-card-list,
.course-owner-column-list,
.course-owner-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-owner-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e6ecea;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.course-owner-card[data-asset-id="reply-template"] {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.course-owner-card strong,
.course-owner-card p,
.course-owner-card span,
.course-owner-simple-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.course-owner-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.22;
}

.course-owner-card p,
.course-owner-card span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.course-owner-simple-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e6ecea;
  border-radius: 8px;
  background: #f9fbfb;
}

.course-owner-simple-item strong {
  max-width: 96px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.course-owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-owner-actions button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.course-owner-reply-box {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.course-owner-reply-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.course-owner-reply-box textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.manual-copy-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cddfe3;
  border-radius: 8px;
  background: #f7fbfc;
}

.manual-copy-box[hidden] {
  display: none;
}

.manual-copy-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.manual-copy-heading strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.manual-copy-heading span {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 8px;
  background: #e5f2f5;
  color: #315f72;
  font-size: 12px;
  font-weight: 900;
}

.manual-copy-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.manual-copy-box textarea {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #bfd3d7;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  resize: vertical;
}

.manual-copy-box[data-copy-state="ready"] {
  border-color: #9fcfc3;
  background: #f4fbf8;
}

.manual-copy-box[data-copy-state="fallback"] {
  border-color: #bfd3d7;
  background: #f7fbfc;
}

.page-copy-fallback {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: min(520px, calc(100vw - 32px));
  max-height: min(440px, calc(100vh - 32px));
  overflow: auto;
  box-shadow: 0 16px 38px rgba(18, 38, 48, 0.18);
}

.page-copy-fallback textarea {
  max-height: 240px;
}

.course-owner-boundary {
  background: #fff8df;
}

.principal-shell {
  width: min(100%, 800px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.principal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.principal-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.principal-hero,
.principal-now,
.principal-panel,
.principal-boundary {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.principal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 16px;
  align-items: end;
}

.principal-hero h2 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.principal-hero p,
.principal-note,
.principal-boundary p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.principal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.principal-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  background: #edf3ef;
  text-align: center;
}

.principal-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.principal-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.principal-now {
  display: grid;
  gap: 12px;
  border-color: #cbdcbf;
  background: #f8fbf2;
}

.principal-one-tap {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #cbdcbf;
  border-radius: 8px;
  background: #fff8df;
}

.principal-one-tap-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.principal-one-tap-copy h2,
.principal-one-tap-copy p,
.principal-one-tap-button span,
.principal-one-tap-button strong,
.principal-one-tap-button small,
.principal-one-tap-secondary,
.principal-one-tap-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.principal-one-tap-copy h2 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.principal-one-tap-copy p,
.principal-one-tap-boundary {
  color: var(--muted);
  line-height: 1.45;
}

.principal-role-choice-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.principal-one-tap-button {
  width: 100%;
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-align: left;
}

.principal-role-release {
  background: #21433d;
}

.principal-role-principal {
  background: #725821;
}

.principal-one-tap-secondary {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9c775;
  border-radius: 8px;
  background: #fffdf5;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.principal-one-tap-button span {
  color: #cfe7db;
  font-size: 13px;
  font-weight: 950;
}

.principal-one-tap-button strong {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.principal-one-tap-button small {
  color: #fff4bf;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.principal-one-tap-button:focus-visible {
  outline: 4px solid #f4c542;
  outline-offset: 3px;
}

.principal-now h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.principal-now-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.principal-now-grid span {
  min-width: 0;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #d7e5cc;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.principal-panel {
  display: grid;
  gap: 12px;
}

.principal-step-list,
.principal-card-list,
.principal-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principal-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e6ecea;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.principal-card[data-status="hold"] {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.principal-card[data-status="review"] {
  border-left-color: var(--leaf);
  background: #f8fbf2;
}

.principal-card strong,
.principal-card p,
.principal-card span,
.principal-simple-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.principal-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.22;
}

.principal-card p,
.principal-card span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.principal-simple-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e6ecea;
  border-radius: 8px;
  background: #f9fbfb;
}

.principal-simple-item strong {
  max-width: 96px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.principal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.principal-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.principal-reply-box {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.principal-reply-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.principal-reply-box textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.principal-boundary {
  background: #fff8df;
}

.principal-guided-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 85;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(160px, 0.56fr) minmax(150px, 0.46fr) minmax(220px, 0.82fr) minmax(180px, 0.5fr);
  gap: 8px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #cbdcbf;
  border-radius: 8px;
  background: #f8fbf2;
  box-shadow: 0 20px 48px rgba(23, 32, 39, 0.2);
}

.principal-guided-copy,
.principal-guided-main,
.principal-guided-actions-backup,
.principal-guided-actions,
.principal-guided-safe-row {
  min-width: 0;
}

.principal-guided-copy {
  display: grid;
  align-content: center;
  gap: 3px;
}

.principal-guided-copy span,
.principal-guided-copy strong,
.principal-guided-copy p,
.principal-guided-main span,
.principal-guided-main strong,
.principal-guided-main small,
.principal-guided-action strong,
.principal-guided-action span,
.principal-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.principal-guided-copy span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: #eaf3e1;
  color: #365f20;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.principal-guided-dock[data-approval-state="ready"] .principal-guided-copy span {
  background: #e9f8f3;
  color: var(--teal-dark);
}

.principal-guided-dock[data-approval-state="active"] .principal-guided-copy span {
  background: #fff1cd;
  color: #7d4c08;
}

.principal-guided-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.principal-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.24;
}

.principal-guided-main {
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(36, 82, 74, 0.42);
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 7px 0 #163c36;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.principal-guided-main:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.principal-guided-main:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.principal-guided-main strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
}

.principal-guided-main span,
.principal-guided-main small {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.14;
  opacity: 0.86;
}

.principal-guided-actions-backup {
  min-width: 0;
  display: grid;
  align-content: center;
}

.principal-guided-actions-backup > summary {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  align-content: center;
  padding: 10px;
  border: 1px dashed #cbdcbf;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.principal-guided-actions-backup > summary::-webkit-details-marker {
  display: none;
}

.principal-guided-actions-backup > summary span,
.principal-guided-actions-backup > summary strong,
.principal-guided-actions-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.principal-guided-actions-backup > summary span {
  color: #365f20;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.14;
}

.principal-guided-actions-backup > summary strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
}

.principal-guided-actions-backup > summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.18;
}

.principal-guided-actions-backup > summary::after {
  content: "+";
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.principal-guided-actions-backup[open] > summary::after {
  content: "-";
}

.principal-guided-actions-backup > summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.principal-guided-actions-backup .principal-guided-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
}

.principal-guided-action {
  min-width: 0;
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid #d7e5cc;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.principal-guided-primary {
  border-color: rgba(36, 82, 74, 0.42);
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 7px 0 #163c36;
}

.principal-guided-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.principal-guided-action:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.principal-guided-action strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.08;
}

.principal-guided-action span {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.14;
  opacity: 0.82;
}

.principal-guided-safe-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.principal-guided-safe-row span {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border: 1px solid #d7e5cc;
  border-radius: 8px;
  background: #ffffff;
  color: #365f20;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.evidence-shell {
  width: min(100%, 860px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.evidence-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.evidence-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.evidence-hero,
.evidence-now,
.evidence-panel,
.evidence-boundary {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.evidence-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 16px;
  align-items: end;
}

.evidence-tomorrow-phase1-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #c9ddd8;
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  background: #f7fcfb;
}

.evidence-tomorrow-phase1-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.evidence-tomorrow-phase1-head h2,
.evidence-tomorrow-phase1-head p,
.evidence-tomorrow-phase1-steps strong,
.evidence-tomorrow-phase1-steps p,
.evidence-tomorrow-phase1-save p,
.evidence-tomorrow-phase1-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-tomorrow-phase1-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.evidence-tomorrow-phase1-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
}

.evidence-tomorrow-phase1-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.evidence-tomorrow-phase1-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #d8e7e2;
  border-radius: 8px;
  background: #ffffff;
}

.evidence-tomorrow-phase1-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
}

.evidence-tomorrow-phase1-metrics dd {
  margin: 5px 0 0;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.evidence-tomorrow-phase1-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-tomorrow-phase1-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #d8e7e2;
  border-radius: 8px;
  background: #ffffff;
}

.evidence-tomorrow-phase1-steps li[data-surface="phone_camera"],
.evidence-tomorrow-phase1-steps li[data-surface="c920_xiaomi_box"] {
  border-left: 5px solid var(--sun);
  background: #fffdf6;
}

.evidence-tomorrow-phase1-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f4f1;
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.evidence-tomorrow-phase1-steps strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.evidence-tomorrow-phase1-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 830;
  line-height: 1.38;
}

.evidence-tomorrow-phase1-steps a {
  color: var(--teal-dark);
  font-weight: 950;
}

.evidence-tomorrow-phase1-save {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.evidence-tomorrow-phase1-save p {
  margin: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px dashed #cfded9;
  border-radius: 8px;
  background: #fffef8;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.28;
}

.evidence-tomorrow-phase1-save code {
  min-width: 0;
  padding: 6px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.evidence-tomorrow-phase1-boundary {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  color: #764823;
  font-size: 12px;
  font-weight: 920;
  line-height: 1.42;
}

.evidence-fast-field-intake {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8c5a4;
  border-left: 6px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.evidence-fast-field-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.evidence-fast-field-heading h2,
.evidence-fast-field-heading p,
.evidence-fast-field-item strong,
.evidence-fast-field-item span,
.evidence-fast-field-item em,
.evidence-fast-field-hint,
.evidence-fast-field-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-fast-field-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.evidence-fast-field-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
}

.evidence-fast-field-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.evidence-fast-field-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #ecdcbf;
  border-radius: 8px;
  background: #fff;
}

.evidence-fast-field-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
}

.evidence-fast-field-metrics dd {
  margin: 5px 0 0;
  color: #875a1e;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.evidence-fast-field-guide {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #b8d7c9;
  border-radius: 8px;
  background: #f5fff9;
}

.evidence-fast-field-guide[data-guide-status="pass"] {
  border-left: 6px solid var(--teal);
}

.evidence-fast-field-guide[data-guide-status="blocked"],
.evidence-fast-field-guide[data-guide-status="fail"] {
  border-color: #e0b9ae;
  border-left: 6px solid #b55d45;
  background: #fff8f4;
}

.evidence-fast-field-guide-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.evidence-fast-field-guide-copy span,
.evidence-fast-field-guide-copy h3,
.evidence-fast-field-guide-copy p,
.evidence-fast-field-guide-copy small,
.evidence-fast-field-guide-detail-input span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-fast-field-guide-copy span {
  color: #2c725f;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.evidence-fast-field-guide-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.evidence-fast-field-guide-copy p,
.evidence-fast-field-guide-copy small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
}

.evidence-fast-field-guide-copy small {
  color: #5f451f;
}

.evidence-fast-field-guide-controls,
.evidence-fast-field-guide-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.evidence-fast-field-guide-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evidence-fast-field-guide-controls button,
.evidence-fast-field-guide-actions button {
  min-width: 0;
  min-height: 48px;
  padding: 11px 10px;
  border: 1px solid #b8d7c9;
  border-radius: 8px;
  background: #fff;
  color: #24524a;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.14;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.evidence-fast-field-guide-controls button[aria-pressed="true"],
.evidence-fast-field-guide-actions button:first-child {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.evidence-fast-field-guide-detail-input {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.evidence-fast-field-guide-detail-input textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #b8d7c9;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.38;
  resize: vertical;
}

.evidence-fast-field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evidence-fast-field-item {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid #eadbbf;
  border-radius: 8px;
  background: #fff;
}

.evidence-fast-field-item[data-fast-field-id="phone_camera"],
.evidence-fast-field-item[data-fast-field-id="c920"] {
  background: #fffef8;
}

.evidence-fast-field-item[data-status="pass"] {
  border-color: #b8d7c9;
  border-left: 5px solid var(--teal);
}

.evidence-fast-field-item[data-status="blocked"],
.evidence-fast-field-item[data-status="fail"] {
  border-color: #e0b9ae;
  border-left: 5px solid #b55d45;
}

.evidence-fast-field-item-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.evidence-fast-field-item-head div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.evidence-fast-field-item-head strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.evidence-fast-field-item-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.evidence-fast-field-item-head em {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 8px;
  background: #f2eadc;
  color: #764823;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
}

.evidence-fast-field-buttons {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.evidence-fast-field-buttons button,
.evidence-fast-field-actions button {
  min-height: 42px;
  padding: 9px 8px;
  border-radius: 8px;
  border: 1px solid #d8c5a4;
  background: #fff;
  color: #5f451f;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.evidence-fast-field-buttons button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.evidence-fast-field-detail,
.evidence-fast-field-note {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.evidence-fast-field-detail textarea,
.evidence-fast-field-note textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8c5a4;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.38;
  resize: vertical;
}

.evidence-fast-field-hint,
.evidence-fast-field-boundary {
  margin: 0;
  color: #764823;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.38;
}

.evidence-fast-field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evidence-fast-field-actions button:first-child {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.evidence-fast-field-boundary {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff3dc;
}

.evidence-single-next-card {
  min-width: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.86fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f7faf2;
}

.evidence-single-next-card h3,
.evidence-single-next-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.evidence-single-next-card h3 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.evidence-single-next-card p,
.evidence-single-next-card li {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
}

.evidence-single-next-card ul {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-single-next-card li {
  padding: 8px;
  border: 1px solid #d6dfca;
  border-radius: 8px;
  background: #ffffff;
}

#evidence-single-next-boundary {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.evidence-remote-one-tap-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.95fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #c9ddd8;
  border-radius: 8px;
  background: #f6fbfa;
}

.evidence-remote-one-tap-copy,
.evidence-remote-one-tap-actions {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.evidence-remote-one-tap-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.evidence-remote-one-tap-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-remote-one-tap-checks {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-remote-one-tap-checks li {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 8px;
  border: 1px solid #d7e6e1;
  border-radius: 8px;
  background: #ffffff;
}

.evidence-remote-one-tap-checks strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f4f1;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.evidence-remote-one-tap-checks span {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.evidence-remote-one-tap-actions {
  grid-template-columns: 1fr;
}

.evidence-remote-one-tap-actions button,
.evidence-remote-one-tap-actions a {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.evidence-remote-one-tap-actions > button[data-unique-primary-action="true"] {
  min-height: 72px;
  background: var(--teal-dark);
  font-size: 17px;
}

.evidence-remote-one-tap-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.evidence-remote-one-tap-backup {
  min-width: 0;
  border: 1px solid #c9ddd8;
  border-radius: 8px;
  background: #ffffff;
}

.evidence-remote-one-tap-backup summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  list-style-position: inside;
}

.evidence-remote-one-tap-backup-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 10px;
}

.evidence-remote-one-tap-backup-actions button,
.evidence-remote-one-tap-backup-actions a {
  border: 1px solid #d7e6e1;
  background: #f7fbf9;
  color: var(--teal-dark);
}

.evidence-remote-one-tap-boundary {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.evidence-remote-guided-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 86;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(190px, 0.62fr) minmax(280px, 0.95fr) minmax(210px, 0.55fr);
  gap: 8px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #e0c16a;
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 20px 48px rgba(23, 32, 39, 0.2);
}

.evidence-remote-guided-copy,
.evidence-remote-guided-prompt,
.evidence-remote-guided-actions,
.evidence-remote-guided-safe-row {
  min-width: 0;
}

.evidence-remote-guided-copy {
  display: grid;
  align-content: center;
  gap: 3px;
}

.evidence-remote-guided-copy span,
.evidence-remote-guided-copy strong,
.evidence-remote-guided-copy p,
.evidence-remote-guided-action strong,
.evidence-remote-guided-action span,
.evidence-remote-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-remote-guided-copy span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff1cd;
  color: #7d4c08;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.evidence-remote-guided-dock[data-draft-state="ready"] .evidence-remote-guided-copy span {
  background: #e9f8f3;
  color: var(--teal-dark);
}

.evidence-remote-guided-dock[data-draft-state="active"] .evidence-remote-guided-copy span {
  background: #edf6f5;
  color: var(--teal-dark);
}

.evidence-remote-guided-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.evidence-remote-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.24;
}

.evidence-remote-guided-contract {
  min-width: 0;
  margin: 0;
  color: #7d4c08;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.evidence-remote-guided-prompt {
  display: grid;
  gap: 6px;
}

.evidence-remote-guided-prompt p {
  min-width: 0;
  display: grid;
  gap: 3px;
  align-content: center;
  margin: 0;
  padding: 8px;
  border: 1px solid #ead9aa;
  border-radius: 8px;
  background: #fffdf7;
}

.evidence-remote-guided-fill-line {
  border-color: #d9c072;
  background: #fff7df;
}

.evidence-remote-guided-prompt span,
.evidence-remote-guided-prompt strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-remote-guided-prompt span {
  color: #7d4c08;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.evidence-remote-guided-prompt strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.16;
}

.evidence-remote-guided-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.evidence-remote-guided-action {
  min-width: 0;
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid #dfd0a4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.evidence-remote-guided-primary {
  border-color: rgba(36, 82, 74, 0.42);
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 7px 0 #163c36;
}

.evidence-remote-guided-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.evidence-remote-guided-action:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.evidence-remote-guided-action strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.08;
}

.evidence-remote-guided-action span {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.14;
  opacity: 0.82;
}

.evidence-remote-guided-safe-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.evidence-remote-guided-safe-row span {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border: 1px solid #ead9aa;
  border-radius: 8px;
  background: #fffdf7;
  color: #7d4c08;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.evidence-hero h2 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.evidence-hero p,
.evidence-note,
.evidence-boundary p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.evidence-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.evidence-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  background: #edf3ef;
  text-align: center;
}

.evidence-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.evidence-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.evidence-now {
  display: grid;
  gap: 12px;
  border-color: #d6d9bd;
  background: #fffdf3;
}

.evidence-panel {
  display: grid;
  gap: 12px;
}

.evidence-route-panel {
  border-color: #d5c6a5;
  background: #fffdf7;
}

.evidence-triage-panel {
  border-color: #c5cfde;
  background: #f8fbff;
}

.evidence-priority-collector-panel {
  border-color: #bfd9c0;
  background: #f8fff7;
}

.evidence-first-wave-panel {
  border-color: #b9d8d3;
  background: #f7fcfb;
}

.evidence-unified-draft-panel[data-machine-contract="field_evidence_live_merge_v1"] {
  border-color: #b8d7c9;
  background: #f8fffb;
}

.evidence-unified-draft-panel[data-machine-contract="field_evidence_live_merge_v1"] .evidence-unified-draft-boundary {
  color: var(--teal-dark);
  font-weight: 950;
}

.evidence-first-wave-intake-panel {
  border-color: #d6c39e;
  background: #fffaf2;
}

.evidence-first-wave-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evidence-first-wave-card {
  min-width: 0;
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 13px;
  border: 1px solid #d6e7e2;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.evidence-first-wave-card[data-role="teacher"] {
  border-left-color: var(--sun);
}

.evidence-first-wave-card p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.evidence-first-wave-card button {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.evidence-first-wave-intake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evidence-first-wave-intake-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 13px;
  border: 1px solid #eadbbf;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.evidence-first-wave-intake-card[data-role="course_owner"] {
  border-left-color: var(--teal);
}

.evidence-first-wave-intake-card textarea {
  width: 100%;
  min-height: 180px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  resize: vertical;
}

.evidence-first-wave-intake-route {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.evidence-first-wave-intake-route div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: #f8fbff;
}

.evidence-first-wave-intake-route dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.evidence-first-wave-intake-route dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.evidence-first-wave-intake-ok,
.evidence-first-wave-intake-missing {
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.evidence-first-wave-intake-ok {
  background: #eff8ef;
  color: #245f3d;
}

.evidence-first-wave-intake-missing {
  background: #fff3e0;
  color: #7a4b11;
}

.evidence-closure-panel {
  border-color: #b8d5dd;
  background: #f7fcff;
}

.evidence-chapter-room-panel {
  border-color: #c9d9b9;
  background: #fbfff7;
}

.evidence-field-return-panel {
  border-color: #e1c58d;
  background: #fffaf1;
}

.evidence-field-return-panel .evidence-metrics div {
  background: #fff4d8;
}

.evidence-field-return-panel .evidence-slot-card {
  border-left-color: #d99b26;
  background: #fffdf7;
}

.evidence-field-return-panel .evidence-slot-card[data-status="ready"] {
  border-left-color: var(--leaf);
  background: #f6fbf1;
}

.evidence-gap-refill-panel {
  border-color: #b8d4cd;
  background: #f6fbf8;
}

.evidence-gap-refill-panel .evidence-metrics div {
  background: #edf7f1;
}

.evidence-gap-refill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-gap-refill-list .evidence-slot-card {
  min-height: 188px;
  border-left-color: #3b7b66;
  background: #fbfffc;
}

.evidence-gap-refill-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.evidence-gap-refill-card-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #25564d;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.evidence-gap-refill-card-actions button + button {
  background: #fff;
  color: #25564d;
  box-shadow: inset 0 0 0 1px rgba(37, 86, 77, 0.35);
}

.evidence-gap-refill-boundary {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff6e5;
  color: #684512;
  font-size: 14px;
  line-height: 1.65;
}

.evidence-role-list,
.evidence-slot-list,
.evidence-priority-list,
.evidence-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-priority-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evidence-priority-list .evidence-slot-card {
  min-height: 176px;
}

.evidence-role-card,
.evidence-slot-card {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e6ecea;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.evidence-role-card[data-status="ready"],
.evidence-slot-card[data-status="ready"] {
  border-left-color: var(--leaf);
  background: #f5fbf2;
}

.evidence-role-card[data-status="hold"],
.evidence-slot-card[data-status="hold"] {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.evidence-card-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.evidence-card-heading strong,
.evidence-slot-card strong,
.evidence-role-card p,
.evidence-slot-card p,
.evidence-slot-card span,
.evidence-simple-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.evidence-card-heading strong,
.evidence-slot-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.22;
}

.evidence-card-heading span {
  max-width: 96px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.evidence-role-card p,
.evidence-slot-card p,
.evidence-slot-card span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.evidence-mini-actions,
.evidence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.evidence-mini-actions button,
.evidence-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.evidence-mini-actions button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
}

.evidence-simple-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e6ecea;
  border-radius: 8px;
  background: #f9fbfb;
}

.evidence-simple-item strong {
  max-width: 96px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.evidence-reply-box {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.evidence-reply-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.evidence-reply-box textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.evidence-route-suggestion {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #c5cfde;
  border-radius: 8px;
  background: #f8fbff;
}

.evidence-route-suggestion-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.evidence-route-suggestion-heading strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.evidence-route-suggestion-heading span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.evidence-route-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.evidence-route-suggestion-grid div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: #fff;
}

.evidence-route-suggestion-grid dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.evidence-route-suggestion-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.evidence-route-suggestion p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-route-suggestion button {
  min-height: 44px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.evidence-route-suggestion button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.evidence-field-inbox-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #b7d4c9;
  border-radius: 8px;
  background: #f4fbf7;
}

.evidence-field-inbox-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.evidence-field-inbox-heading strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.evidence-field-inbox-heading span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.evidence-field-inbox-card p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-field-inbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.evidence-field-inbox-grid div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: #fff;
}

.evidence-field-inbox-grid dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.evidence-field-inbox-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.evidence-field-inbox-note {
  color: var(--teal-dark);
}

.evidence-field-inbox-guard-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-field-inbox-guard-list li {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e6d1b6;
  border-radius: 8px;
  background: #fff8ec;
  color: #5f3d14;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.evidence-field-inbox-guard-list strong,
.evidence-field-inbox-guard-list span {
  display: block;
  min-width: 0;
}

.evidence-field-inbox-guard-list strong {
  color: #3f2a0f;
  font-size: 12px;
  font-weight: 950;
}

.evidence-remote-reply-audit {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1c8ba;
  border-radius: 8px;
  background: #fff8f3;
}

.evidence-remote-reply-audit-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.evidence-remote-reply-audit-heading strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.evidence-remote-reply-audit-heading span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #8a3b30;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.evidence-remote-reply-audit p {
  margin: 0;
  color: #8a3b30;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-remote-reply-audit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.evidence-remote-reply-audit-metrics div {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.evidence-remote-reply-audit-metrics dt {
  margin-bottom: 3px;
  color: #8a3b30;
  font-size: 11px;
  font-weight: 900;
}

.evidence-remote-reply-audit-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.evidence-remote-reply-audit-action {
  padding: 9px 10px;
  border: 1px solid #efcabc;
  border-radius: 8px;
  background: #fff;
}

.evidence-remote-reply-audit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-remote-reply-audit-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 5px solid #aeb7c4;
  border-radius: 8px;
  background: #fff;
}

.evidence-remote-reply-audit-item.ready {
  border-left-color: var(--teal);
}

.evidence-remote-reply-audit-item.warning {
  border-left-color: #c68b2d;
}

.evidence-remote-reply-audit-item.blocking {
  border-left-color: #b24b3f;
}

.evidence-remote-reply-audit-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.evidence-remote-reply-audit-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.evidence-remote-reply-audit-item > span {
  max-width: 96px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff1ed;
  color: #8a3b30;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.evidence-boundary {
  background: #fff8df;
}

.platform-shell {
  width: min(100%, 960px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.platform-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.platform-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.platform-page .status-pill {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.platform-hero,
.platform-panel,
.platform-boundary {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 16px;
  align-items: end;
}

.platform-hero h2 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.platform-hero p,
.platform-card p,
.platform-card span,
.platform-boundary p,
.platform-boundary-item {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-hero p,
.platform-card p,
.platform-card span,
.platform-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.platform-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  background: #edf3ef;
  text-align: center;
}

.platform-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.platform-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.platform-wave-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-wave-metrics div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #f3f7f3;
  text-align: center;
}

.platform-wave-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.platform-wave-metrics dd {
  margin: 0;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.platform-panel {
  display: grid;
  gap: 12px;
}

.platform-teacher-wave-panel {
  border-color: #cfe4ca;
  background: #fbfffd;
}

.platform-scene-panel {
  border-color: #d7dcc1;
  background: #fffefa;
}

.platform-scene-metrics div {
  background: #f5f3df;
}

.platform-scene-metrics dd {
  color: #6a5a12;
}

.platform-machine-panel {
  border-color: #cbdedc;
  background: #fbfefe;
}

.platform-first-usable-readonly {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #cbdedc;
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  background: #f4fbf8;
}

.platform-first-usable-readonly-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.platform-first-usable-readonly-copy span,
.platform-first-usable-readonly-copy strong,
.platform-first-usable-readonly-copy p,
.platform-first-usable-readonly code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-first-usable-readonly-copy span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
}

.platform-first-usable-readonly-copy strong {
  color: var(--teal-dark);
}

.platform-first-usable-readonly-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.platform-first-usable-readonly code {
  display: block;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.platform-first-usable-readonly button {
  min-width: 136px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.platform-command-deck-panel {
  border-color: #c6dad2;
  background: #fbfffc;
}

.platform-command-deck-metrics div {
  background: #eef6f0;
}

.platform-command-deck-callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.platform-command-deck-callout div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d9e7df;
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  background: #f7fbf7;
}

.platform-command-deck-callout span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.platform-command-deck-callout strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.platform-proof-highlight-callout {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d2dfda;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f7fbfa;
}

.platform-proof-highlight-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.platform-proof-highlight-head span,
.platform-proof-highlight-metrics dt,
.platform-proof-highlight-callout p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-proof-highlight-head strong,
.platform-proof-highlight-metrics dd {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.platform-proof-highlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-proof-highlight-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #dce8e5;
  border-radius: 8px;
  background: #ffffff;
}

.platform-proof-highlight-metrics dt,
.platform-proof-highlight-metrics dd {
  margin: 0;
}

.platform-proof-highlight-callout p {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.platform-local-gate-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 10px;
  min-width: 0;
}

.platform-local-gate-callout div {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #efd1bd;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: #fff7f1;
}

.platform-local-gate-callout span,
.platform-local-gate-ladder h3 {
  color: #7d3a28;
  font-size: 12px;
  font-weight: 950;
}

.platform-local-gate-callout strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.platform-operator-action-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d7dfcf;
  border-left: 5px solid #5d7f3f;
  border-radius: 8px;
  background: #fcfff8;
}

.platform-operator-action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.platform-operator-action-head h3 {
  margin: 0;
  line-height: 1.2;
}

.platform-action-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.platform-action-card-grid div {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e2e4d1;
  border-radius: 8px;
  background: #fffef5;
}

.platform-action-card-grid span {
  color: #6a5a12;
  font-size: 12px;
  font-weight: 950;
}

.platform-action-card-grid strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.platform-action-card-first-gap {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d5e5de;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f7fffd;
}

.platform-action-card-first-gap-copy,
.platform-action-card-first-gap-copy strong,
.platform-action-card-first-gap-copy p,
.platform-action-card-first-gap-meta dd,
.platform-action-card-first-gap-step strong,
.platform-action-card-first-gap-step p,
.platform-action-card-first-gap-step small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-action-card-first-gap-copy {
  display: grid;
  gap: 4px;
}

.platform-action-card-first-gap-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-action-card-first-gap-copy strong {
  color: #173f38;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.16;
}

.platform-action-card-first-gap-copy p {
  margin: 0;
  color: #51635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.platform-action-card-first-gap-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-action-card-first-gap-meta div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #dce8e5;
  border-radius: 8px;
  background: #fff;
}

.platform-action-card-first-gap-meta dt,
.platform-action-card-first-gap-meta dd {
  margin: 0;
}

.platform-action-card-first-gap-meta dt {
  color: #24524a;
  font-size: 11px;
  font-weight: 950;
}

.platform-action-card-first-gap-meta dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.32;
}

.platform-action-card-first-gap-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-action-card-first-gap-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce8e5;
  border-radius: 8px;
  background: #fff;
}

.platform-action-card-first-gap-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f3ef;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-action-card-first-gap-step strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.platform-action-card-first-gap-step p,
.platform-action-card-first-gap-step small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.32;
}

.platform-action-card-first-gap-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 8px;
}

.platform-action-card-first-gap-actions button {
  min-width: 0;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.platform-action-card-first-gap-actions button:last-child {
  border: 1px solid #bcd8d1;
  background: #fff;
  color: #24524a;
}

.platform-local-gate-ladder {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.platform-local-gate-ladder h3 {
  margin: 0;
  line-height: 1.2;
}

.platform-family-launcher-panel {
  border-color: #cddfcd;
  background: #fbfff9;
}

.platform-notification-panel {
  border-color: #d8d7bd;
  background: #fffef6;
}

.platform-notification-metrics div {
  background: #f7f3dc;
}

.platform-notification-metrics dd {
  color: #6d5617;
}

.platform-notification-card-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-notification-card {
  align-content: start;
}

.platform-notification-card a {
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.platform-notification-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.platform-dispatch-panel {
  border-color: #e4d3a3;
  background: #fffdf7;
}

.platform-clean-handoff-panel {
  border-color: #c7d9e7;
  background: #fbfdff;
}

.platform-clean-alert-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d7e4ee;
  border-left: 5px solid #527e9d;
  border-radius: 8px;
  background: #f5f9fc;
}

.platform-clean-alert-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.platform-clean-alert-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.platform-runtime-selfcheck {
  border-color: #cfe1dc;
  background: #fbfffd;
}

.platform-runtime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-runtime-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.platform-runtime-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.platform-runtime-item {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e2ece9;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f9fcfb;
}

.platform-runtime-item-warn {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.platform-runtime-item strong,
.platform-runtime-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-runtime-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.platform-runtime-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.platform-room-panel {
  border-color: #d8ddc4;
  background: #fffefa;
}

.platform-room-quickstart {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8e3d7;
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  background: #f8fcf4;
}

.platform-room-cheatsheet {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1d8bf;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.platform-room-lesson-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d5dfd9;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f7fbfa;
}

.platform-room-quickstart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.platform-room-quickstart-head button,
.platform-room-lesson-card-actions button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  cursor: pointer;
}

.platform-room-lesson-card-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 8px;
}

.platform-room-quickstart-head h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.platform-room-quickstart-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.platform-room-quickstart-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-room-quickstart-metrics div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #edf5e8;
  text-align: center;
}

.platform-room-quickstart-metrics dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.platform-room-quickstart-metrics dd {
  margin: 0;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.platform-room-quickstart-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-room-cheatsheet-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-room-lesson-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-room-cheatsheet-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #eadfbd;
  border-radius: 8px;
  background: #fff;
}

.platform-room-lesson-card-item {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d6e3df;
  border-radius: 8px;
  background: #fff;
}

.platform-room-cheatsheet-card h4,
.platform-room-cheatsheet-card p,
.platform-room-cheatsheet-card small,
.platform-room-lesson-card-item h4,
.platform-room-lesson-card-item p,
.platform-room-lesson-card-item small {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.platform-room-cheatsheet-card h4,
.platform-room-lesson-card-item h4 {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.platform-room-cheatsheet-card p,
.platform-room-lesson-card-item p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.platform-room-cheatsheet-card b,
.platform-room-lesson-card-item b {
  color: var(--teal-dark);
  font-weight: 950;
}

.platform-room-cheatsheet-card small {
  padding-top: 6px;
  border-top: 1px solid #efe6ce;
  color: #8a4d2d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-room-lesson-card-item small {
  padding-top: 6px;
  border-top: 1px solid #dfe9e5;
  color: #335f5a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-teacher-wave-summary {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.platform-wave-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.platform-wave-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
}

.platform-action-grid,
.platform-card-list,
.platform-boundary-list,
.platform-command-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-launch-item,
.platform-launcher-role-item,
.platform-card,
.platform-boundary-item {
  min-width: 0;
}

.platform-device-prompt-list {
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.platform-device-zero-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #eadfbf;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.platform-device-zero-entry span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.platform-device-zero-entry strong,
.platform-device-zero-entry p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-device-zero-entry strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.platform-device-zero-entry p {
  margin: 6px 0 0;
  color: var(--muted);
}

.platform-device-zero-entry-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #bfdad5;
  border-radius: 8px;
  background: #e7f5f1;
  color: #17423b;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.platform-device-tomorrow-trial {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #cfe3ef;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #f4fbff;
}

.platform-device-tomorrow-trial span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.platform-device-tomorrow-trial strong,
.platform-device-tomorrow-trial p,
.platform-device-tomorrow-trial button {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-device-tomorrow-trial strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.platform-device-tomorrow-trial p {
  margin: 0;
  color: var(--muted);
}

.platform-device-tomorrow-flags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-device-tomorrow-flags div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dde9ef;
  border-radius: 8px;
  background: #fff;
}

.platform-device-tomorrow-flags dt {
  color: var(--muted);
  font-size: 12px;
}

.platform-device-tomorrow-flags dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.platform-device-tomorrow-track-list {
  max-height: 420px;
  overflow: auto;
}

.platform-launch-card,
.platform-card,
.platform-boundary-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e6ecea;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f9fbfb;
}

.platform-launch-card {
  min-height: 118px;
  color: inherit;
  text-decoration: none;
}

.platform-launch-card[data-status="ready"],
.platform-card[data-status="ready"] {
  border-left-color: var(--leaf);
  background: #f5fbf2;
}

.platform-launch-card[data-status="hold"],
.platform-card[data-status="hold"],
.platform-boundary-item {
  border-left-color: var(--sun);
  background: #fffaf0;
}

.platform-surface-trace-card {
  align-content: start;
}

.platform-surface-trace-link {
  justify-self: start;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-decoration: none;
}

.platform-surface-trace-link:focus-visible {
  outline: 3px solid rgba(36, 82, 74, 0.26);
  outline-offset: 2px;
}

.platform-launch-card strong,
.platform-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.platform-launch-card span,
.platform-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-today-relay-panel {
  border-color: #173f38;
  background: #fffdf7;
}

.platform-return-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 10px;
  align-items: stretch;
  border-color: #173f38;
  background: #edf8f3;
}

.platform-return-copy,
.platform-return-status-card,
.platform-return-backup,
.platform-return-flags,
.platform-return-boundary {
  min-width: 0;
}

.platform-return-copy {
  display: grid;
  align-content: center;
  gap: 5px;
}

.platform-return-copy span,
.platform-return-copy strong,
.platform-return-copy p,
.platform-return-status-card span,
.platform-return-status-card strong,
.platform-return-status-card small,
.platform-return-button span,
.platform-return-button strong,
.platform-return-button small,
.platform-return-boundary,
.platform-return-flags dt,
.platform-return-flags dd {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-return-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-return-copy strong {
  color: #173f38;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.04;
}

.platform-return-copy p {
  max-width: 800px;
  margin: 0;
  color: #24524a;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.platform-return-status-card {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid #badcc4;
  border-radius: 8px;
  background: #ffffff;
  color: #173f38;
  text-align: left;
  box-shadow: inset 0 0 0 3px rgba(186, 220, 196, 0.34);
}

.platform-return-status-card span,
.platform-return-button span {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  opacity: 0.82;
}

.platform-return-status-card strong,
.platform-return-button strong {
  color: inherit;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-return-status-card small,
.platform-return-button small {
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.88;
}

.platform-return-backup {
  grid-column: 1 / -1;
  min-width: 0;
  border: 1px solid #cfe2d8;
  border-radius: 8px;
  background: #ffffff;
}

.platform-return-backup > summary {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr) minmax(140px, 0.55fr);
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  color: #24524a;
  cursor: pointer;
  list-style: none;
}

.platform-return-backup > summary::-webkit-details-marker {
  display: none;
}

.platform-return-backup > summary span,
.platform-return-backup > summary strong,
.platform-return-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-return-backup > summary span {
  color: #667a76;
  font-size: 12px;
  font-weight: 950;
}

.platform-return-backup > summary strong {
  color: #173f38;
  font-size: 15px;
  font-weight: 950;
}

.platform-return-backup > summary small {
  color: #667a76;
  font-size: 12px;
  font-weight: 850;
}

.platform-return-backup .platform-return-button {
  margin: 0 12px 12px;
}

.platform-return-button {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  background: #173f38;
  color: #ffffff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(23, 63, 56, 0.18);
}

.platform-return-button:focus-visible {
  outline: 5px solid #f2b84b;
  outline-offset: 3px;
}

.platform-return-flags {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-return-flags div {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #cfe2d8;
  border-radius: 8px;
  background: #ffffff;
}

.platform-return-flags dt {
  color: #5d726e;
  font-size: 11px;
  font-weight: 950;
}

.platform-return-flags dd {
  margin: 3px 0 0;
  color: #173f38;
  font-size: 16px;
  font-weight: 950;
}

.platform-return-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #24524a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-first-use-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 12px;
  align-items: stretch;
  border-color: #173f38;
  background: #f5fbf8;
}

.platform-first-use-copy,
.platform-first-use-button,
.platform-first-use-public-boundary,
.platform-first-use-public-note,
.platform-first-use-boundary {
  min-width: 0;
}

.platform-first-use-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.platform-first-use-copy span,
.platform-first-use-copy h2,
.platform-first-use-copy p,
.platform-first-use-button span,
.platform-first-use-button strong,
.platform-first-use-button small,
.platform-first-use-public-boundary dt,
.platform-first-use-public-boundary dd,
.platform-first-use-public-note,
.platform-first-use-boundary,
.platform-first-use-step strong,
.platform-first-use-step small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-first-use-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-first-use-copy h2 {
  margin: 0;
  color: #173f38;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.06;
}

.platform-first-use-copy p {
  max-width: 760px;
  margin: 0;
  color: #24524a;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.38;
}

.platform-first-use-button {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 18px;
  border: 0;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(23, 63, 56, 0.18);
}

.platform-first-use-button span {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  opacity: 0.82;
}

.platform-first-use-button strong {
  color: inherit;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-first-use-button small {
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.88;
}

.platform-first-use-button:focus-visible {
  outline: 5px solid #f2b84b;
  outline-offset: 3px;
}

.platform-first-use-public-boundary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}

.platform-first-use-public-boundary div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid #cddfd8;
  border-radius: 8px;
  background: #ffffff;
}

.platform-first-use-public-boundary dt,
.platform-first-use-public-boundary dd {
  margin: 0;
}

.platform-first-use-public-boundary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.platform-first-use-public-boundary dd {
  color: #173f38;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.18;
}

.platform-first-use-public-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  padding: 9px 11px;
  border: 1px dashed #b9d6cc;
  border-radius: 8px;
  background: #ffffff;
  color: #24524a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-first-use-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-first-use-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8e7df;
  border-radius: 8px;
  background: #fff;
}

.platform-first-use-step > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ed;
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
}

.platform-first-use-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.platform-first-use-step small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.platform-first-use-step[data-status="done"] {
  border-color: #b9d9ca;
  background: #eef8f1;
}

.platform-first-use-step[data-status="active"] {
  border-color: #24524a;
  background: #e8f6f2;
  box-shadow: 0 0 0 2px rgba(36, 82, 74, 0.08);
}

.platform-first-use-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #24524a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-public-scale-status {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: 12px;
  align-items: stretch;
  border-color: #8b5e12;
  background: #fffaf0;
}

.platform-public-scale-copy,
.platform-public-scale-flags,
.platform-public-scale-commerce,
.platform-public-scale-next,
.platform-public-scale-gates,
.platform-public-scale-boundary {
  min-width: 0;
}

.platform-public-scale-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.platform-public-scale-copy span,
.platform-public-scale-copy h2,
.platform-public-scale-copy p,
.platform-public-scale-next span,
.platform-public-scale-next strong,
.platform-public-scale-next p,
.platform-public-scale-commerce span,
.platform-public-scale-commerce strong,
.platform-public-scale-commerce p,
.platform-public-scale-commerce li,
.platform-public-scale-flags dt,
.platform-public-scale-flags dd,
.platform-public-scale-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-public-scale-copy span {
  color: #6a4a15;
  font-size: 12px;
  font-weight: 950;
}

.platform-public-scale-copy h2 {
  margin: 0;
  color: #4c340b;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-public-scale-copy p {
  margin: 0;
  color: #65450e;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.38;
}

.platform-public-scale-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-public-scale-flags div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #ead7ae;
  border-radius: 8px;
  background: #fff;
}

.platform-public-scale-flags dt,
.platform-public-scale-flags dd {
  margin: 0;
}

.platform-public-scale-flags dt {
  color: #6a4a15;
  font-size: 12px;
  font-weight: 950;
}

.platform-public-scale-flags dd {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
}

.platform-public-scale-next {
  min-height: 148px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid #ead7ae;
  border-radius: 8px;
  background: #fff;
}

.platform-public-scale-commerce {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid #ead7ae;
  border-radius: 8px;
  background: #fff;
}

.platform-public-scale-commerce span,
.platform-public-scale-next span {
  color: #6a4a15;
  font-size: 12px;
  font-weight: 950;
}

.platform-public-scale-commerce strong,
.platform-public-scale-next strong {
  color: #4c340b;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
}

.platform-public-scale-commerce p,
.platform-public-scale-next p {
  margin: 0;
  color: #65450e;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.platform-public-scale-commerce ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.platform-public-scale-commerce li {
  color: #173f38;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.platform-public-scale-commerce button,
.platform-public-scale-next button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.platform-public-scale-gates {
  grid-column: 1 / -1;
}

.platform-public-scale-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #6a4a15;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.platform-public-welfare-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #b8d7c0;
  border-radius: 8px;
  background: #f4fbf1;
}

.platform-public-welfare-copy,
.platform-public-welfare-flags,
.platform-public-welfare-card,
.platform-zero-bill-router-card,
.platform-public-welfare-loop-grid,
.platform-public-welfare-loop,
.platform-zero-bill-route-list,
.platform-sponsor-channel-list,
.platform-public-welfare-layer-list,
.platform-public-welfare-boundary {
  min-width: 0;
}

.platform-public-welfare-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.platform-public-welfare-copy span,
.platform-public-welfare-copy h2,
.platform-public-welfare-copy p,
.platform-public-welfare-card span,
.platform-public-welfare-card strong,
.platform-public-welfare-card p,
.platform-public-welfare-card button,
.platform-public-welfare-loop h3,
.platform-public-welfare-flags dt,
.platform-public-welfare-flags dd,
.platform-public-welfare-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-public-welfare-copy span {
  color: #2e5e31;
  font-size: 12px;
  font-weight: 950;
}

.platform-public-welfare-copy h2 {
  margin: 0;
  color: #173f38;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-public-welfare-copy p {
  margin: 0;
  color: #315f4a;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.38;
}

.platform-public-welfare-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-public-welfare-flags div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #cce5d2;
  border-radius: 8px;
  background: #fff;
}

.platform-public-welfare-flags dt,
.platform-public-welfare-flags dd {
  margin: 0;
}

.platform-public-welfare-flags dt {
  color: #2e5e31;
  font-size: 12px;
  font-weight: 950;
}

.platform-public-welfare-flags dd {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
}

.platform-public-welfare-card {
  min-height: 166px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid #cce5d2;
  border-radius: 8px;
  background: #fff;
}

.platform-public-welfare-card span {
  color: #2e5e31;
  font-size: 12px;
  font-weight: 950;
}

.platform-public-welfare-card strong {
  color: #173f38;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
}

.platform-public-welfare-card p {
  margin: 0;
  color: #315f4a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.platform-public-welfare-card button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.platform-public-welfare-loop-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-public-welfare-loop {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cce5d2;
  border-radius: 8px;
  background: #fff;
}

.platform-public-welfare-loop h3 {
  margin: 0;
  color: #173f38;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.18;
}

.platform-sponsor-channel-list {
  grid-column: 1 / -1;
}

.platform-public-welfare-layer-list {
  grid-column: 1 / -1;
}

.platform-public-welfare-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #2e5e31;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.platform-private-concierge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #cfe2dc;
  border-radius: 8px;
  background: #f7fbfa;
}

.platform-private-concierge-copy,
.platform-private-concierge-flags,
.platform-private-concierge-card,
.platform-private-concierge-roles,
.platform-private-concierge-flow,
.platform-private-concierge-boundary {
  min-width: 0;
}

.platform-private-concierge-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.platform-private-concierge-copy span,
.platform-private-concierge-copy h2,
.platform-private-concierge-copy p,
.platform-private-concierge-card span,
.platform-private-concierge-card strong,
.platform-private-concierge-card p,
.platform-private-concierge-card button,
.platform-private-concierge-flags dt,
.platform-private-concierge-flags dd,
.platform-private-concierge-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-private-concierge-copy span,
.platform-private-concierge-card span {
  color: #1d5c51;
  font-size: 12px;
  font-weight: 950;
}

.platform-private-concierge-copy h2 {
  margin: 0;
  color: #173f38;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-private-concierge-copy p,
.platform-private-concierge-card p {
  margin: 0;
  color: #355c55;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.platform-private-concierge-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-private-concierge-flags div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #cfe2dc;
  border-radius: 8px;
  background: #fff;
}

.platform-private-concierge-flags dt,
.platform-private-concierge-flags dd {
  margin: 0;
}

.platform-private-concierge-flags dt {
  color: #5b716d;
  font-size: 12px;
  font-weight: 900;
}

.platform-private-concierge-flags dd {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
}

.platform-private-concierge-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid #cfe2dc;
  border-radius: 8px;
  background: #fff;
}

.platform-private-concierge-card strong {
  color: #173f38;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
}

.platform-private-concierge-card button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.platform-private-pilot-launch-decision-card {
  border-color: #d7c6a6;
  background: #fffaf0;
}

.platform-private-pilot-launch-decision-card strong {
  color: #5b3d0f;
}

.platform-private-pilot-launch-decision-card p {
  color: #674a18;
}

.platform-private-concierge-roles,
.platform-private-concierge-flow {
  grid-column: 1 / -1;
}

.platform-private-concierge-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #355c55;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.platform-surface-responsibility-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.5fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #c8d5e6;
  border-radius: 8px;
  background: #f7fbff;
}

.platform-surface-responsibility-copy,
.platform-surface-responsibility-flags,
.platform-surface-responsibility-list,
.platform-surface-responsibility-card,
.platform-surface-responsibility-boundary {
  min-width: 0;
}

.platform-surface-responsibility-copy,
.platform-surface-responsibility-card {
  display: grid;
  align-content: start;
  gap: 7px;
}

.platform-surface-responsibility-copy span,
.platform-surface-responsibility-copy h2,
.platform-surface-responsibility-copy p,
.platform-surface-responsibility-card span,
.platform-surface-responsibility-card strong,
.platform-surface-responsibility-card p,
.platform-surface-responsibility-flags dt,
.platform-surface-responsibility-flags dd,
.platform-surface-responsibility-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-surface-responsibility-copy span,
.platform-surface-responsibility-card span {
  color: #214c74;
  font-size: 12px;
  font-weight: 950;
}

.platform-surface-responsibility-copy h2 {
  margin: 0;
  color: #173f38;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-surface-responsibility-copy p,
.platform-surface-responsibility-card p {
  margin: 0;
  color: #36556f;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.platform-surface-responsibility-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-surface-responsibility-flags div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d2deed;
  border-radius: 8px;
  background: #fff;
}

.platform-surface-responsibility-flags dt,
.platform-surface-responsibility-flags dd {
  margin: 0;
}

.platform-surface-responsibility-flags dt {
  color: #42617d;
  font-size: 12px;
  font-weight: 950;
}

.platform-surface-responsibility-flags dd {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
}

.platform-surface-responsibility-list {
  grid-column: 1 / -1;
}

.platform-surface-responsibility-card {
  padding: 14px;
  border: 1px solid #d2deed;
  border-radius: 8px;
  background: #fff;
}

.platform-surface-responsibility-card strong {
  color: #173f38;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
}

.platform-surface-responsibility-panel button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.platform-surface-responsibility-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #214c74;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.platform-ops-takeover-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #d6dfd2;
  border-radius: 8px;
  background: #fbfcf8;
}

.platform-ops-takeover-copy,
.platform-ops-takeover-grid,
.platform-ops-next-card,
.platform-ops-takeover-boundary {
  min-width: 0;
}

.platform-ops-takeover-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.platform-ops-takeover-copy span,
.platform-ops-takeover-copy h2,
.platform-ops-takeover-copy p,
.platform-ops-takeover-grid dt,
.platform-ops-takeover-grid dd,
.platform-ops-next-card span,
.platform-ops-next-card strong,
.platform-ops-next-card p,
.platform-ops-takeover-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-ops-takeover-copy span,
.platform-ops-next-card span {
  color: #48604a;
  font-size: 12px;
  font-weight: 950;
}

.platform-ops-takeover-copy h2 {
  margin: 0;
  color: #173f38;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-ops-takeover-copy p,
.platform-ops-next-card p {
  margin: 0;
  color: #4c6154;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.platform-ops-takeover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-ops-takeover-grid div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d6dfd2;
  border-radius: 8px;
  background: #fff;
}

.platform-ops-takeover-grid dt,
.platform-ops-takeover-grid dd {
  margin: 0;
}

.platform-ops-takeover-grid dt {
  color: #607060;
  font-size: 12px;
  font-weight: 950;
}

.platform-ops-takeover-grid dd {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
}

.platform-ops-next-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d6dfd2;
  border-radius: 8px;
  background: #fff;
}

.platform-ops-next-card strong {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.12;
}

.platform-ops-takeover-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #4c6154;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.platform-stuck-rescue-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 12px;
  align-items: stretch;
  border-color: #d7c089;
  background: #fffaf0;
}

.platform-stuck-rescue-copy,
.platform-stuck-rescue-actions,
.platform-stuck-rescue-list,
.platform-stuck-rescue-boundary {
  min-width: 0;
}

.platform-stuck-rescue-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.platform-stuck-rescue-copy span,
.platform-stuck-rescue-copy h2,
.platform-stuck-rescue-copy p,
.platform-stuck-rescue-action span,
.platform-stuck-rescue-action strong,
.platform-stuck-rescue-action small,
.platform-stuck-rescue-item strong,
.platform-stuck-rescue-item p,
.platform-stuck-rescue-item small,
.platform-stuck-rescue-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-stuck-rescue-copy span {
  color: #7a5711;
  font-size: 12px;
  font-weight: 950;
}

.platform-stuck-rescue-copy h2 {
  margin: 0;
  color: #3f3213;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-stuck-rescue-copy p {
  margin: 0;
  color: #6d5617;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.38;
}

.platform-stuck-rescue-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 8px;
}

.platform-stuck-rescue-backup,
.platform-role-launch-backup,
.platform-today-relay-backup {
  min-width: 0;
  display: grid;
}

.platform-stuck-rescue-backup > summary,
.platform-role-launch-backup > summary,
.platform-today-relay-backup > summary {
  min-width: 0;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px dashed #cbb675;
  border-radius: 8px;
  background: #ffffff;
  color: #6d5617;
  cursor: pointer;
  list-style: none;
}

.platform-stuck-rescue-backup > summary::-webkit-details-marker,
.platform-role-launch-backup > summary::-webkit-details-marker,
.platform-today-relay-backup > summary::-webkit-details-marker {
  display: none;
}

.platform-stuck-rescue-backup > summary span,
.platform-stuck-rescue-backup > summary strong,
.platform-stuck-rescue-backup > summary small,
.platform-role-launch-backup > summary span,
.platform-role-launch-backup > summary strong,
.platform-role-launch-backup > summary small,
.platform-today-relay-backup > summary span,
.platform-today-relay-backup > summary strong,
.platform-today-relay-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-stuck-rescue-backup > summary span,
.platform-role-launch-backup > summary span,
.platform-today-relay-backup > summary span {
  color: inherit;
  font-size: 11px;
  font-weight: 950;
  opacity: 0.72;
}

.platform-stuck-rescue-backup > summary strong,
.platform-role-launch-backup > summary strong,
.platform-today-relay-backup > summary strong {
  color: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

.platform-stuck-rescue-backup > summary small,
.platform-role-launch-backup > summary small,
.platform-today-relay-backup > summary small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.86;
}

.platform-stuck-rescue-backup > summary::after,
.platform-role-launch-backup > summary::after,
.platform-today-relay-backup > summary::after {
  content: "展开";
  width: fit-content;
  margin-top: 2px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f7edcf;
  color: #6d5617;
  font-size: 11px;
  font-weight: 950;
}

.platform-stuck-rescue-backup[open] > summary::after,
.platform-role-launch-backup[open] > summary::after,
.platform-today-relay-backup[open] > summary::after {
  content: "已展开";
}

.platform-stuck-rescue-backup > summary:focus-visible,
.platform-role-launch-backup > summary:focus-visible,
.platform-today-relay-backup > summary:focus-visible {
  outline: 5px solid #f2b84b;
  outline-offset: 3px;
}

.platform-stuck-rescue-backup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.platform-stuck-rescue-action {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #ddc883;
  border-radius: 8px;
  background: #ffffff;
  color: #3f3213;
  text-align: left;
  text-decoration: none;
}

.platform-stuck-rescue-primary {
  border-color: #173f38;
  background: #173f38;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(23, 63, 56, 0.15);
}

.platform-stuck-rescue-action span {
  color: inherit;
  font-size: 11px;
  font-weight: 950;
  opacity: 0.78;
}

.platform-stuck-rescue-action strong {
  color: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

.platform-stuck-rescue-action small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.86;
}

.platform-stuck-rescue-action:focus-visible {
  outline: 5px solid #f2b84b;
  outline-offset: 3px;
}

.platform-stuck-rescue-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-stuck-rescue-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #ead9a7;
  border-left: 5px solid #d69b1f;
  border-radius: 8px;
  background: #fff;
}

.platform-stuck-rescue-item[data-status="ready"] {
  border-left-color: #24524a;
  background: #f5fbf8;
}

.platform-stuck-rescue-item[data-status="blocked"] {
  border-left-color: #8a4d2d;
  background: #fff7f1;
}

.platform-stuck-rescue-item > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7edcf;
  color: #6d5617;
  font-size: 13px;
  font-weight: 950;
}

.platform-stuck-rescue-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.platform-stuck-rescue-item p,
.platform-stuck-rescue-item small {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.platform-stuck-rescue-item a {
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-grid;
  align-items: center;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #24524a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: none;
}

.platform-stuck-rescue-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #6d5617;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-role-launch-panel {
  border-color: #d2e7df;
  background: #ffffff;
}

.platform-role-launch-summary,
.platform-role-launch-boundary,
.platform-role-launch-link span,
.platform-role-launch-link strong,
.platform-role-launch-link small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-role-launch-summary {
  margin: 0;
  color: #24524a;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
}

.platform-role-launch-backup,
.platform-today-relay-backup {
  margin-top: 12px;
}

.platform-role-launch-backup > summary {
  min-height: 76px;
  border-color: #bfd9d2;
  background: #f7fbf9;
  color: #173f38;
}

.platform-today-relay-backup > summary {
  border-color: #bfd9d2;
  background: #f5fbf8;
  color: #24524a;
}

.platform-role-launch-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.platform-role-launch-link {
  min-width: 0;
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid #d8e7df;
  border-radius: 8px;
  background: #f7fbf9;
  color: #173f38;
  text-decoration: none;
}

.platform-role-launch-link[data-remote-selected="true"] {
  border-color: #f2b84b;
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.24);
}

.platform-role-launch-link span {
  color: #5d726e;
  font-size: 12px;
  font-weight: 950;
}

.platform-role-launch-link strong {
  color: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-role-launch-link small {
  color: #49625d;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.25;
}

.platform-role-launch-primary {
  border-color: #173f38;
  background: #173f38;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(23, 63, 56, 0.16);
}

.platform-role-launch-primary span,
.platform-role-launch-primary small {
  color: inherit;
  opacity: 0.88;
}

.platform-role-launch-link:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 3px;
}

.platform-role-launch-remote-hint {
  margin: 10px 0 0;
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.platform-role-launch-boundary {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7e6;
  color: #6f4e08;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-today-relay-actions,
.platform-today-relay-list {
  min-width: 0;
}

.platform-today-relay-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.platform-today-relay-action {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 9px;
  align-content: center;
  align-items: center;
  padding: 12px;
  border: 1px solid #bfd9d2;
  border-radius: 8px;
  background: #f5fbf8;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.platform-today-relay-primary {
  border-color: #173f38;
  background: #173f38;
  color: #fff;
}

.platform-today-relay-action span {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4f2ef;
  color: #173f38;
  font-size: 14px;
  font-weight: 950;
}

.platform-today-relay-primary span {
  background: #fff;
  color: #173f38;
}

.platform-today-relay-action strong,
.platform-today-relay-action small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-today-relay-action strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.platform-today-relay-action small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  opacity: 0.82;
}

.platform-today-relay-action:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 2px;
}

.platform-today-smart-next {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 10px;
  align-items: stretch;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #bfd9d2;
  border-radius: 8px;
  background: #f4fbf8;
}

.platform-today-smart-copy,
.platform-today-smart-status-card,
.platform-today-smart-backup,
.platform-today-smart-button,
.platform-today-smart-boundary {
  min-width: 0;
}

.platform-today-smart-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

.platform-today-smart-copy span,
.platform-today-smart-copy strong,
.platform-today-smart-copy p,
.platform-today-smart-status-card span,
.platform-today-smart-status-card strong,
.platform-today-smart-status-card small,
.platform-today-smart-button span,
.platform-today-smart-button strong,
.platform-today-smart-button small,
.platform-today-smart-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-today-smart-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-today-smart-copy strong {
  color: #173f38;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-today-smart-copy p {
  margin: 0;
  color: #24524a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.platform-today-smart-status-card {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #badcc4;
  border-radius: 8px;
  background: #ffffff;
  color: #173f38;
  box-shadow: inset 0 0 0 3px rgba(186, 220, 196, 0.34);
  text-align: left;
}

.platform-today-smart-status-card span,
.platform-today-smart-button span {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  opacity: 0.82;
}

.platform-today-smart-status-card strong,
.platform-today-smart-button strong {
  color: inherit;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
}

.platform-today-smart-status-card small,
.platform-today-smart-button small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.24;
  opacity: 0.86;
}

.platform-today-smart-backup {
  grid-column: 1 / -1;
  min-width: 0;
  border: 1px solid #cfe2d8;
  border-radius: 8px;
  background: #ffffff;
}

.platform-today-smart-backup > summary {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr) minmax(140px, 0.55fr);
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  color: #24524a;
  cursor: pointer;
  list-style: none;
}

.platform-today-smart-backup > summary::-webkit-details-marker {
  display: none;
}

.platform-today-smart-backup > summary span,
.platform-today-smart-backup > summary strong,
.platform-today-smart-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-today-smart-backup > summary span {
  color: #667a76;
  font-size: 12px;
  font-weight: 950;
}

.platform-today-smart-backup > summary strong {
  color: #173f38;
  font-size: 15px;
  font-weight: 950;
}

.platform-today-smart-backup > summary small {
  color: #667a76;
  font-size: 12px;
  font-weight: 850;
}

.platform-today-smart-backup .platform-today-smart-button {
  margin: 0 12px 12px;
}

.platform-today-smart-button {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  text-align: left;
  text-decoration: none;
}

.platform-today-smart-button:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 2px;
}

.platform-today-smart-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ffffff;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.platform-today-loop-progress {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #ffffff;
}

.platform-session-store-summary {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #f8fcfa;
}

.platform-session-store-summary span,
.platform-session-store-summary strong,
.platform-session-store-summary p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-session-store-summary > span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-session-store-summary > strong {
  color: #173f38;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.platform-session-store-summary > p {
  color: #51635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.platform-session-store-safe-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.platform-session-store-safe-row span {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #eaf3f0;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.platform-today-loop-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.platform-today-loop-copy span,
.platform-today-loop-copy strong,
.platform-today-loop-copy p,
.platform-today-loop-step strong,
.platform-today-loop-step small,
.platform-today-loop-step a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-today-loop-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.platform-today-loop-copy strong {
  color: #173f38;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.12;
}

.platform-today-loop-copy p {
  margin: 0;
  color: #51635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.platform-today-loop-steps {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-today-loop-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #dde9e3;
  border-radius: 8px;
  background: #f7faf8;
}

.platform-today-loop-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ed;
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
}

.platform-today-loop-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.16;
}

.platform-today-loop-step small {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.26;
}

.platform-today-loop-step a {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.platform-today-loop-step[data-status="done"] {
  border-color: #b9d9ca;
  background: #eef8f1;
}

.platform-today-loop-step[data-status="active"] {
  border-color: #24524a;
  background: #e8f6f2;
  box-shadow: 0 0 0 2px rgba(36, 82, 74, 0.08);
}

.platform-today-loop-step[data-status="blocked"] {
  border-color: #ead9bf;
  background: #fff8ec;
}

.platform-today-loop-step[data-status="blocked"] a {
  background: #6d4d1e;
}

.platform-today-relay-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.platform-today-relay-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e7df;
  border-radius: 8px;
  background: #fff;
}

.platform-today-relay-item > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef6f0;
  color: #24524a;
  font-size: 14px;
  font-weight: 950;
}

.platform-today-relay-item strong,
.platform-today-relay-item p,
.platform-today-relay-item small,
.platform-today-relay-item a,
.platform-today-relay-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-today-relay-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.18;
}

.platform-today-relay-item p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.platform-today-relay-item small {
  display: block;
  color: #24524a;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.28;
}

.platform-today-relay-item a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.platform-today-relay-boundary {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef6f0;
  color: #24524a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.platform-guided-dock {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.08fr);
  gap: 10px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  border: 2px solid #173f38;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 16px 40px rgba(23, 32, 39, 0.18);
  pointer-events: none;
}

.platform-guided-copy,
.platform-guided-actions,
.platform-guided-safe-row {
  min-width: 0;
}

.platform-guided-copy {
  display: grid;
  gap: 5px;
  align-content: center;
}

.platform-guided-copy span,
.platform-guided-copy strong,
.platform-guided-copy p,
.platform-guided-action strong,
.platform-guided-action span,
.platform-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-guided-copy span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.platform-guided-dock[data-guided-state="started"] .platform-guided-copy span {
  color: var(--leaf);
}

.platform-guided-dock[data-guided-state="human"] .platform-guided-copy span {
  color: var(--coral);
}

.platform-guided-copy strong {
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.12;
}

.platform-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.platform-guided-remote-hint {
  padding: 7px 9px;
  border-radius: 8px;
  background: #eef6f0;
  color: #24524a;
}

.platform-guided-actions {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(220px, 0.62fr);
  gap: 8px;
  pointer-events: auto;
}

.platform-guided-backup {
  min-width: 0;
  pointer-events: auto;
}

.platform-guided-backup > summary {
  min-height: 68px;
  display: grid;
  gap: 3px;
  align-content: center;
  padding: 10px 12px;
  border: 1px dashed #bfd9d2;
  border-radius: 8px;
  background: #f7fbf9;
  color: #24524a;
  cursor: pointer;
  list-style-position: inside;
}

.platform-guided-backup > summary span,
.platform-guided-backup > summary strong,
.platform-guided-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-guided-backup > summary span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.platform-guided-backup > summary strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.14;
}

.platform-guided-backup > summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.platform-guided-backup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.platform-guided-action {
  min-width: 0;
  min-height: 68px;
  display: grid;
  gap: 3px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid #bfd9d2;
  border-radius: 8px;
  background: #f5fbf8;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  pointer-events: auto;
}

.platform-guided-primary {
  border-color: #173f38;
  background: #173f38;
  color: #fff;
}

.platform-guided-action:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 2px;
}

.platform-guided-action strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.platform-guided-action span {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  opacity: 0.82;
}

.platform-guided-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.platform-guided-safe-row span {
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #eef6f0;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.platform-next-command {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d7e7e3;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f5fbfa;
}

.platform-next-command span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.platform-next-command strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.platform-next-command p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.platform-boundary {
  background: #fff8df;
}

.practice-shell {
  width: min(100%, 680px);
  min-width: 0;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 14px;
}

.practice-shell > * {
  min-width: 0;
  max-width: 100%;
}

.practice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.practice-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.practice-hero,
.practice-mvp-panel,
.practice-loop-panel,
.practice-course-panel,
.practice-teacher-preview-panel,
.practice-real-object-panel,
.practice-summary-panel,
.practice-boundary {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.practice-hero h2 {
  margin: 6px 0 8px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.practice-hero p,
.practice-zero-setup p,
.practice-family-guide p,
.practice-loop-panel p,
.practice-real-object-panel p,
.practice-summary-panel p,
.practice-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.practice-zero-setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #b9dcd4;
  border-radius: 8px;
  background: #eef9f6;
}

.practice-first-use-mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #173f38;
  border-radius: 8px;
  background: #f5fbf8;
  box-shadow: 0 12px 28px rgb(36 82 74 / 12%);
}

.practice-first-use-mode[hidden] {
  display: none;
}

.practice-page[data-initial-single-primary-mode="active"] .practice-first-use-mode {
  grid-template-columns: minmax(0, 1fr);
  border-style: dashed;
  background: #fbfffd;
  box-shadow: none;
}

.practice-page[data-initial-single-primary-mode="active"] .practice-first-use-button,
.practice-page[data-initial-single-primary-mode="active"] .practice-guided-dock,
.practice-page[data-initial-single-primary-mode="active"] .practice-family-smart-next,
.practice-page[data-initial-single-primary-mode="active"] .practice-actions,
.practice-page[data-initial-single-primary-mode="active"] .practice-family-result-choice {
  display: none;
}

.practice-page[data-initial-single-primary-mode="active"] .practice-first-use-boundary {
  grid-column: 1;
}

.practice-first-use-copy,
.practice-first-use-button,
.practice-first-use-boundary {
  min-width: 0;
}

.practice-first-use-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.practice-first-use-copy span,
.practice-first-use-copy h2,
.practice-first-use-copy p,
.practice-first-use-boundary {
  overflow-wrap: anywhere;
}

.practice-first-use-copy span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-first-use-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.practice-first-use-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.38;
}

.practice-first-use-button {
  width: 100%;
  min-height: 98px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 0;
  background: #173f38;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-first-use-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-first-use-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-first-use-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #24524a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.34;
}

.practice-now-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 3px solid #173f38;
  border-radius: 8px;
  background: #f2fbf7;
  box-shadow: 0 16px 34px rgb(23 63 56 / 14%);
}

.practice-voice-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  min-width: 0;
  margin-top: 12px;
  padding: 14px 16px;
  border: 2px solid #b8d8cc;
  border-radius: 8px;
  background: #f8fffb;
  color: #173f38;
}

.practice-voice-card[data-voice-state="text_fallback"] {
  border-color: #e1b645;
  background: #fff7d6;
  color: #584214;
}

.practice-voice-card span,
.practice-voice-card strong,
.practice-voice-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-voice-card span {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-voice-card strong {
  font-size: 26px;
  font-weight: 950;
  line-height: 1.12;
}

.practice-voice-card p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.practice-unique-primary-card {
  box-shadow: 0 18px 42px rgb(23 63 56 / 18%);
}

.practice-now-card[data-now-state="reinforcement_ready"],
.practice-now-card[data-now-state="reinforcement_replay_ready"],
.practice-now-card[data-now-state="soft_finish_ready"] {
  border-color: #244b75;
  background: #f5faff;
}

.practice-now-card[data-now-state="teacher_card_ready"],
.practice-now-card[data-now-state="second_review_required"] {
  border-color: #8a3d31;
  background: #fff7f3;
}

.practice-now-copy,
.practice-now-button,
.practice-now-why,
.practice-now-safe-row {
  min-width: 0;
}

.practice-now-copy {
  display: grid;
  gap: 7px;
}

.practice-now-copy span,
.practice-now-copy h2,
.practice-now-copy p,
.practice-now-why strong,
.practice-now-why span,
.practice-now-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-now-copy span {
  color: #24524a;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-now-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.practice-now-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.38;
}

.practice-now-button {
  width: 100%;
  min-height: 92px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-now-card[data-now-state="reinforcement_ready"] .practice-now-button,
.practice-now-card[data-now-state="reinforcement_replay_ready"] .practice-now-button,
.practice-now-card[data-now-state="soft_finish_ready"] .practice-now-button {
  background: #244b75;
}

.practice-now-card[data-now-state="teacher_card_ready"] .practice-now-button,
.practice-now-card[data-now-state="second_review_required"] .practice-now-button {
  background: #8a3d31;
}

.practice-now-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-now-button:focus-visible {
  outline: 6px solid #111827;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #f4c95d, 0 14px 0 #0f2f2a;
}

.practice-now-visual {
  min-width: 0;
  min-height: 320px;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto auto;
  gap: 12px;
  justify-items: center;
  align-content: center;
  padding: 16px;
  border: 2px solid #c9e3dc;
  border-radius: 8px;
  background: #fffdf7;
}

.practice-now-visual img {
  width: min(360px, 100%);
  max-height: 310px;
  aspect-ratio: 6 / 5;
  object-fit: contain;
  display: block;
}

.practice-now-visual strong {
  width: 100%;
  padding: 2px 8px;
  border-radius: 8px;
  background: #f0faf6;
  color: #123d37;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

.practice-now-visual span {
  width: 100%;
  padding: 8px 10px;
  border: 2px solid #b9d7c9;
  border-radius: 8px;
  background: #ffffff;
  color: #173f38;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.16;
  text-align: center;
}

.practice-now-card[data-tv-remote-focus="card"] .practice-now-visual {
  border-color: #111827;
  box-shadow: 0 0 0 8px #f4c95d;
}

.practice-now-card[data-tv-remote-focus="card"]:focus-visible {
  outline: none;
}

.practice-tv-remote-strip {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.practice-tv-remote-option {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 8px 10px;
  border: 2px solid #cfe2dc;
  border-radius: 8px;
  background: #ffffff;
  color: #173f38;
  text-align: center;
  overflow: hidden;
}

.practice-tv-remote-option strong,
.practice-tv-remote-option small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-tv-remote-option strong {
  font-size: 18px;
  font-weight: 950;
  line-height: 1.06;
}

.practice-tv-remote-option small {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.12;
}

.practice-tv-remote-option[data-tv-remote-hint-selected="true"] {
  border-color: #6b8f83;
  background: #edf8f3;
  color: #123d37;
}

.practice-tv-remote-option[data-tv-remote-selected="true"] {
  border-color: #24524a;
  background: #fff8d5;
  color: #123d37;
  box-shadow: inset 0 0 0 2px rgba(36, 82, 74, 0.42);
}

.practice-tv-remote-option:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 2px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-tv-remote-option[data-tv-remote-hint-selected="true"]:not([data-tv-remote-selected="true"]):focus-visible {
  outline: none;
}

.practice-page[data-tv-remote-mode="single_primary"] {
  background: #eef6f2;
}

.practice-page[data-tv-remote-mode="single_primary"] .global-rescue-strip,
.practice-page[data-tv-remote-mode="single_primary"] .today-relay-return-disclosure,
.practice-page[data-tv-remote-mode="single_primary"] .practice-first-use-mode,
.practice-page[data-tv-remote-mode="single_primary"] .practice-more-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-guided-dock,
.practice-page[data-tv-remote-mode="single_primary"] .practice-adult-script-card,
.practice-page[data-tv-remote-mode="single_primary"] .practice-one-tap-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-family-smart-next,
.practice-page[data-tv-remote-mode="single_primary"] .practice-family-loop-progress,
.practice-page[data-tv-remote-mode="single_primary"] .practice-family-result-choice,
.practice-page[data-tv-remote-mode="single_primary"] .practice-course-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-zero-setup,
.practice-page[data-tv-remote-mode="single_primary"] .practice-field-command-center,
.practice-page[data-tv-remote-mode="single_primary"] .practice-family-guide,
.practice-page[data-tv-remote-mode="single_primary"] .practice-loop-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-teacher-preview-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-real-object-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-summary-panel,
.practice-page[data-tv-remote-mode="single_primary"] .practice-actions {
  display: none;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-shell {
  width: min(100%, 1120px);
  min-height: 100vh;
  align-content: start;
  padding: 10px 22px 16px;
  gap: 8px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-header,
.practice-page[data-tv-remote-mode="single_primary"] .practice-hero {
  max-width: 980px;
  margin-inline: auto;
  width: 100%;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-card {
  width: min(100%, 980px);
  margin-inline: auto;
  max-height: calc(100vh - 22px);
  grid-template-columns: minmax(500px, 1.34fr) minmax(260px, 0.66fr);
  grid-template-areas:
    "visual copy"
    "visual button"
    "visual voice"
    "visual remote"
    "steps steps"
    "why why"
    "safe safe";
  align-content: start;
  padding: 18px;
  gap: 10px;
  border-width: 4px;
  overflow: hidden;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-tv-remote-strip {
  grid-area: remote;
  display: grid;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-button {
  grid-area: button;
  min-height: 112px;
  font-size: 30px;
  border: 4px solid #173f38;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-button:focus-visible {
  outline: 8px solid #111827;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #f4c95d, 0 14px 0 #0f2f2a;
  background: #173f38;
  color: #ffffff;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-copy {
  grid-area: copy;
  align-content: center;
  text-align: left;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-copy span {
  font-size: 13px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-copy h2 {
  font-size: 36px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-copy p {
  color: #173f38;
  font-size: 19px;
  line-height: 1.32;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-visual {
  grid-area: visual;
  min-height: 430px;
  grid-template-rows: minmax(430px, 1fr) auto auto;
  padding: 14px;
  gap: 8px;
  border-color: #173f38;
  background: #ffffff;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-visual img {
  width: min(660px, 100%);
  height: auto;
  max-height: 430px;
  aspect-ratio: 6 / 5;
  object-fit: contain;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-visual strong {
  width: 100%;
  padding: 2px 10px;
  font-size: 52px;
  line-height: 1.02;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-visual span {
  width: 100%;
  padding: 8px 10px;
  color: #173f38;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.08;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-card[data-tv-remote-focus="card"] .practice-now-visual {
  border-color: #111827;
  box-shadow: 0 0 0 8px #f4c95d;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-voice-card {
  grid-area: voice;
  margin-top: 0;
  padding: 10px 12px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-voice-card strong {
  font-size: 22px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-voice-card p {
  font-size: 12px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-steps {
  grid-area: steps;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-steps li {
  min-height: 54px;
  padding: 8px 10px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-steps strong {
  font-size: 18px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-why {
  grid-area: why;
  padding: 8px 10px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-safe-row {
  grid-area: safe;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-why span,
.practice-page[data-tv-remote-mode="single_primary"] .practice-now-safe-row span {
  font-size: 13px;
}

.practice-page[data-tv-remote-mode="single_primary"] .practice-now-safe-row span {
  min-height: 34px;
  padding: 6px 8px;
}

.practice-page[data-trial-one-tap-mode="active"] {
  background: #eef6f2;
}

.practice-page[data-trial-one-tap-mode="active"] .global-rescue-strip,
.practice-page[data-trial-one-tap-mode="active"] .today-relay-return-disclosure,
.practice-page[data-trial-one-tap-mode="active"] .practice-first-use-mode,
.practice-page[data-trial-one-tap-mode="active"] .practice-more-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-guided-dock,
.practice-page[data-trial-one-tap-mode="active"] .practice-adult-script-card,
.practice-page[data-trial-one-tap-mode="active"] .practice-one-tap-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-family-smart-next,
.practice-page[data-trial-one-tap-mode="active"] .practice-family-loop-progress,
.practice-page[data-trial-one-tap-mode="active"] .practice-course-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-zero-setup,
.practice-page[data-trial-one-tap-mode="active"] .practice-field-command-center,
.practice-page[data-trial-one-tap-mode="active"] .practice-family-guide,
.practice-page[data-trial-one-tap-mode="active"] .practice-loop-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-teacher-preview-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-real-object-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-summary-panel,
.practice-page[data-trial-one-tap-mode="active"] .practice-actions {
  display: none;
}

.practice-page[data-trial-one-tap-mode="active"] .practice-shell {
  width: min(100%, 960px);
  min-height: 100vh;
  align-content: center;
  padding: 18px;
}

.practice-page[data-trial-one-tap-mode="active"] .practice-header,
.practice-page[data-trial-one-tap-mode="active"] .practice-hero,
.practice-page[data-trial-one-tap-mode="active"] .practice-now-card,
.practice-page[data-trial-one-tap-mode="active"] .practice-card-grid {
  width: min(100%, 880px);
  margin-inline: auto;
}

.practice-page[data-trial-one-tap-mode="active"] .practice-card-button {
  pointer-events: none;
  cursor: default;
}

.practice-page[data-trial-one-tap-mode="active"] .practice-now-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px;
  border-width: 4px;
}

.practice-page[data-trial-one-tap-mode="active"] .practice-now-button {
  min-height: 112px;
  font-size: 28px;
}

.practice-page[data-trial-one-tap-mode="active"] .practice-now-button:focus-visible {
  outline: 7px solid #111827;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #f4c95d, 0 14px 0 #0f2f2a;
}

.practice-page[data-one-tap-simple-mode="active"] {
  min-height: 100vh;
  background: #eef6f2;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-shell {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-block: 10px 16px;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-header,
.practice-page[data-one-tap-simple-mode="active"] .practice-hero {
  display: none;
}

.practice-page[data-one-tap-simple-mode="active"][data-foolproof-surface="touch"] .practice-now-copy {
  display: none;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-card-grid,
.practice-page[data-one-tap-simple-mode="active"] .practice-boundary {
  display: none;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-card {
  min-height: auto;
  align-content: start;
  gap: 10px;
  background: #f8fffb;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-visual {
  min-height: min(46vh, 460px);
  padding: 12px;
  gap: 8px;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-visual img {
  width: min(520px, 100%);
  height: auto;
  max-height: none;
  aspect-ratio: 6 / 5;
  object-fit: contain;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-visual strong {
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.04;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-visual span {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  font-weight: 950;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-copy {
  text-align: center;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-copy h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-copy p {
  max-width: 680px;
  margin-inline: auto;
  color: #173f38;
  font-size: clamp(15px, 1.85vw, 20px);
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-button {
  min-height: clamp(92px, 13vh, 128px);
  font-size: clamp(27px, 4.6vw, 46px);
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-steps li {
  min-height: 72px;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-steps strong {
  font-size: clamp(16px, 2vw, 22px);
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-why {
  grid-template-columns: 1fr;
  text-align: center;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-why strong {
  display: none;
}

.practice-page[data-one-tap-simple-mode="active"] .practice-now-why span,
.practice-page[data-one-tap-simple-mode="active"] .practice-now-safe-row span {
  font-size: clamp(14px, 1.6vw, 18px);
}

.practice-page[data-foolproof-surface="tv_remote"] .practice-now-button {
  min-height: clamp(112px, 17vh, 160px);
}

.practice-page[data-foolproof-surface="tv_remote"] .practice-now-card {
  width: min(100%, 1040px);
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-shell {
  width: min(100%, 1160px);
  padding: 8px 18px 14px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-card {
  width: min(100%, 1120px);
  max-height: calc(100vh - 18px);
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 0.66fr);
  grid-template-areas:
    "visual copy"
    "visual button"
    "visual voice"
    "visual remote"
    "steps steps";
  align-content: center;
  padding: 16px;
  gap: 10px;
  overflow: hidden;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-tv-remote-strip {
  grid-area: remote;
  display: grid;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-visual {
  grid-area: visual;
  min-height: 430px;
  grid-template-rows: minmax(430px, 1fr) auto auto;
  padding: 12px;
  gap: 8px;
  border-color: #173f38;
  background: #ffffff;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-visual img {
  width: min(680px, 98%);
  height: auto;
  max-height: 430px;
  aspect-ratio: 6 / 5;
  object-fit: contain;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-visual strong {
  max-width: 100%;
  width: 100%;
  padding: 2px 10px;
  font-size: 54px;
  line-height: 1;
  white-space: nowrap;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-visual span {
  max-width: 100%;
  width: 100%;
  padding: 8px 10px;
  color: #173f38;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.08;
  white-space: nowrap;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-card[data-tv-remote-focus="card"] .practice-now-visual {
  border-color: #111827;
  box-shadow: 0 0 0 8px #f4c95d;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-card[data-tv-remote-focus="card"]:focus-visible {
  outline: none;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-copy {
  grid-area: copy;
  align-content: end;
  text-align: left;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-copy h2 {
  font-size: 40px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-copy p {
  color: #173f38;
  font-size: 19px;
  line-height: 1.28;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-button {
  grid-area: button;
  min-height: 112px;
  border: 4px solid #173f38;
  font-size: 31px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-button:focus-visible {
  outline: 8px solid #111827;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #f4c95d, 0 14px 0 #0f2f2a;
  background: #173f38;
  color: #ffffff;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-voice-card {
  grid-area: voice;
  margin-top: 0;
  padding: 10px 12px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-voice-card strong {
  font-size: 24px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-voice-card p {
  display: none;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-steps {
  grid-area: steps;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-steps li {
  min-height: 56px;
  padding: 8px 10px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-steps strong {
  font-size: 18px;
}

.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-why,
.practice-page[data-tv-remote-mode="single_primary"][data-trial-one-tap-mode="active"] .practice-now-safe-row {
  display: none;
}

.practice-now-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-now-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 50px;
  padding: 10px;
  border: 1px solid #b9d7c9;
  border-radius: 8px;
  background: #ffffff;
}

.practice-now-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #24524a;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.practice-now-step span {
  min-width: 0;
}

.practice-now-steps strong {
  min-width: 0;
  color: #173f38;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-now-why {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(74px, 0.16fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #cce2d9;
  border-radius: 8px;
  background: #fff;
}

.practice-now-why strong {
  color: #173f38;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-now-why span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.practice-now-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.practice-now-safe-row span {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-return-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr) minmax(240px, 0.42fr);
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid #b9d5cd;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 10px 22px rgb(23 32 39 / 7%);
}

.practice-return-strip[data-return-state="reinforcement_ready"],
.practice-return-strip[data-return-state="reinforcement_replay_ready"] {
  border-color: #b9cfe8;
  background: #f7fbff;
}

.practice-return-strip[data-return-state="teacher_card_ready"],
.practice-return-strip[data-return-state="second_review_required"] {
  border-color: #e4c1b6;
  background: #fff7f3;
}

.practice-return-strip-copy,
.practice-return-strip-button,
.practice-return-strip-boundary {
  min-width: 0;
}

.practice-return-strip-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

.practice-return-strip-copy span,
.practice-return-strip-copy strong,
.practice-return-strip-copy small,
.practice-return-strip-button span,
.practice-return-strip-button strong,
.practice-return-strip-button small,
.practice-return-strip-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.practice-return-strip-copy span {
  color: #2e5b44;
  font-size: 12px;
  font-weight: 950;
}

.practice-return-strip-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.practice-return-strip-copy small,
.practice-return-strip-boundary {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.practice-return-strip-button {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 74px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #2e5b44;
  color: #fff;
  text-align: center;
}

.practice-return-strip[data-return-state="reinforcement_ready"] .practice-return-strip-button,
.practice-return-strip[data-return-state="reinforcement_replay_ready"] .practice-return-strip-button {
  background: #244b75;
}

.practice-return-strip[data-return-state="teacher_card_ready"] .practice-return-strip-button,
.practice-return-strip[data-return-state="second_review_required"] .practice-return-strip-button {
  background: #8a3d31;
}

.practice-return-strip-button span {
  font-size: 11px;
  font-weight: 950;
  opacity: 0.88;
}

.practice-return-strip-button strong {
  font-size: 17px;
  font-weight: 950;
}

.practice-return-strip-button small {
  font-size: 11px;
  font-weight: 900;
  opacity: 0.9;
}

.practice-return-strip-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-return-strip-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-return-strip-boundary {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  color: #2e5b44;
  font-weight: 950;
}

.practice-return-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.44fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #2e5b44;
  border-radius: 8px;
  background: #f8fcf4;
  box-shadow: 0 12px 26px rgb(46 91 68 / 10%);
}

.practice-return-card[data-return-state="reinforcement_ready"],
.practice-return-card[data-return-state="reinforcement_replay_ready"] {
  border-color: #244b75;
  background: #f7fbff;
}

.practice-return-card[data-return-state="teacher_card_ready"],
.practice-return-card[data-return-state="second_review_required"] {
  border-color: #8a3d31;
  background: #fff7f3;
}

.practice-return-copy,
.practice-return-button,
.practice-return-boundary {
  min-width: 0;
}

.practice-return-copy {
  display: grid;
  align-content: center;
  gap: 7px;
}

.practice-return-copy span,
.practice-return-copy h2,
.practice-return-copy p,
.practice-return-button span,
.practice-return-button strong,
.practice-return-button small,
.practice-return-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-return-copy span {
  color: #2e5b44;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-return-card[data-return-state="reinforcement_ready"] .practice-return-copy span,
.practice-return-card[data-return-state="reinforcement_replay_ready"] .practice-return-copy span {
  color: #244b75;
}

.practice-return-card[data-return-state="teacher_card_ready"] .practice-return-copy span,
.practice-return-card[data-return-state="second_review_required"] .practice-return-copy span {
  color: #8a3d31;
}

.practice-return-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.practice-return-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-return-button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #2e5b44;
  color: #fff;
  text-align: center;
}

.practice-return-card[data-return-state="reinforcement_ready"] .practice-return-button,
.practice-return-card[data-return-state="reinforcement_replay_ready"] .practice-return-button {
  background: #244b75;
}

.practice-return-card[data-return-state="teacher_card_ready"] .practice-return-button,
.practice-return-card[data-return-state="second_review_required"] .practice-return-button {
  background: #8a3d31;
}

.practice-return-button span {
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  opacity: 0.9;
}

.practice-return-button strong {
  font-size: 21px;
  font-weight: 950;
  line-height: 1.12;
}

.practice-return-button small {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  opacity: 0.92;
}

.practice-return-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-return-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-return-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #2e5b44;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-more-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.practice-more-panel > summary {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) minmax(180px, 0.52fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #c9dfd9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.practice-more-panel > summary::-webkit-details-marker {
  display: none;
}

.practice-more-panel > summary span,
.practice-more-panel > summary strong,
.practice-more-panel > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.practice-more-panel > summary span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
}

.practice-more-panel > summary strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.practice-more-panel > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.practice-more-panel > summary::after {
  content: "展开";
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef9f6;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.practice-more-panel[open] > summary::after {
  content: "收起";
}

.practice-more-panel > summary:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-more-panel[open] {
  padding-bottom: 4px;
}

.practice-backup-panel > summary {
  border-style: dashed;
  background: #fbfffd;
}

.today-relay-return-disclosure > summary,
.practice-return-more > summary {
  border-style: dashed;
  background: #fffdf7;
}

.today-relay-return-disclosure .today-relay-return-strip,
.practice-return-more .practice-return-strip {
  margin-top: 12px;
}

.practice-today-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.34fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgb(36 82 74 / 12%);
}

.practice-today-copy,
.practice-today-target,
.practice-today-actions,
.practice-today-safe-row {
  min-width: 0;
}

.practice-today-copy {
  display: grid;
  gap: 7px;
}

.practice-today-copy span,
.practice-today-copy h2,
.practice-today-copy p,
.practice-today-target strong,
.practice-today-target span,
.practice-today-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-today-copy span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-today-card[data-today-state="teacher_handoff"] .practice-today-copy span,
.practice-today-card[data-today-state="second_review"] .practice-today-copy span {
  color: var(--coral);
}

.practice-today-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.practice-today-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
}

.practice-today-target {
  display: grid;
  gap: 7px;
  justify-items: center;
  align-content: center;
  min-height: 260px;
  padding: 14px;
  border-radius: 8px;
  background: #eef9f6;
  text-align: center;
}

.practice-today-target img {
  width: min(300px, 100%);
  max-height: 250px;
  aspect-ratio: 6 / 5;
  object-fit: contain;
}

.practice-today-target strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1.12;
}

.practice-today-target span {
  color: #24524a;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-today-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr));
  gap: 9px;
}

.practice-today-actions button {
  min-width: 0;
  min-height: 66px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #bfd9d2;
  background: #f5fbf8;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-today-main-button {
  border-color: #173f38;
  background: #173f38;
  color: #fff;
  font-size: 21px;
}

.practice-today-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-today-actions button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-today-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.practice-today-safe-row span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #eef9f6;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.22;
  text-align: center;
}

.practice-guided-dock {
  position: sticky;
  bottom: 10px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 2px solid #173f38;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgb(36 82 74 / 18%);
}

.practice-guided-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.practice-guided-copy span,
.practice-guided-copy strong,
.practice-guided-copy p,
.practice-guided-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-guided-copy span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-guided-copy strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.12;
}

.practice-guided-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.practice-guided-button {
  width: 100%;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #173f38;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-guided-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-guided-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-guided-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.practice-guided-safe-row span {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef9f6;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-mvp-panel {
  display: grid;
  gap: 12px;
  border-color: #c9dfd9;
  background: #fffdf6;
}

.practice-one-tap-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.48fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f5fbf8;
}

.practice-one-tap-panel h2,
.practice-one-tap-panel p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-one-tap-panel h2 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.practice-one-tap-panel p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.practice-one-tap-panel .eyebrow {
  margin-bottom: 5px;
}

.practice-one-tap-button {
  width: 100%;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-one-tap-note {
  grid-column: 1 / -1;
  padding-top: 4px;
}

.practice-stuck-rescue-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #8a3d31;
  border-radius: 8px;
  background: #fff7f3;
  box-shadow: 0 12px 28px rgb(138 61 49 / 10%);
}

.practice-stuck-rescue-copy,
.practice-stuck-rescue-actions,
.practice-stuck-rescue-boundary {
  min-width: 0;
}

.practice-stuck-rescue-copy {
  display: grid;
  align-content: center;
  gap: 7px;
}

.practice-stuck-rescue-copy span,
.practice-stuck-rescue-copy h2,
.practice-stuck-rescue-copy p,
.practice-stuck-rescue-action span,
.practice-stuck-rescue-action strong,
.practice-stuck-rescue-action small,
.practice-stuck-rescue-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-stuck-rescue-copy span {
  color: #8a3d31;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-stuck-rescue-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.practice-stuck-rescue-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-stuck-rescue-actions {
  display: grid;
  gap: 9px;
}

.practice-stuck-rescue-action {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 88px;
  padding: 12px;
  border: 1px solid #e6c4bc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.practice-stuck-rescue-primary {
  min-height: 104px;
  border: 2px solid #8a3d31;
  background: #fff;
  box-shadow: 0 10px 24px rgb(138 61 49 / 12%);
}

.practice-stuck-rescue-action span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f6ded8;
  color: #8a3d31;
  font-size: 13px;
  font-weight: 950;
}

.practice-stuck-rescue-action strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-stuck-rescue-action small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.practice-stuck-rescue-soft {
  border-color: #d8cfb4;
  background: #fffdf5;
}

.practice-stuck-rescue-teacher {
  border-color: #b8d8c2;
  background: #f5fbf6;
}

.practice-stuck-rescue-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.practice-stuck-rescue-action:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-stuck-rescue-backup {
  border: 1px solid #e6c4bc;
  border-radius: 8px;
  background: rgb(255 255 255 / 78%);
}

.practice-stuck-rescue-backup > summary {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  color: #8a3d31;
  cursor: pointer;
  font-weight: 950;
  list-style-position: inside;
}

.practice-stuck-rescue-backup > summary span,
.practice-stuck-rescue-backup > summary strong,
.practice-stuck-rescue-backup > summary small,
.practice-stuck-rescue-backup > p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-stuck-rescue-backup > summary strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.practice-stuck-rescue-backup > summary small,
.practice-stuck-rescue-backup > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.practice-stuck-rescue-backup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 10px;
}

.practice-stuck-rescue-backup > p {
  margin: 0;
  padding: 0 12px 12px;
}

.practice-stuck-rescue-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #8a3d31;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-family-smart-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.46fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 2px solid #244b75;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 12px 28px rgb(36 75 117 / 10%);
}

.practice-family-smart-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.practice-family-smart-copy span,
.practice-family-smart-copy h2,
.practice-family-smart-copy p,
.practice-family-safe-row span,
.practice-family-smart-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-family-smart-copy span {
  color: #244b75;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-smart-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.practice-family-smart-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-family-smart-button {
  width: 100%;
  min-height: 80px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #244b75;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-family-smart-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-family-smart-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-family-smart-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
}

.practice-family-smart-safe-row span {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #fff;
  color: #315f72;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-family-loop-progress {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid #735f2a;
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 12px 28px rgb(115 95 42 / 10%);
}

.practice-family-loop-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.practice-family-loop-copy span,
.practice-family-loop-copy h2,
.practice-family-loop-copy p,
.practice-family-loop-step strong,
.practice-family-loop-step small,
.practice-family-loop-step a,
.practice-family-loop-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-family-loop-copy span {
  color: #735f2a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-loop-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0;
}

.practice-family-loop-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-family-loop-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-family-loop-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 96px;
  padding: 10px;
  border: 1px solid #e1d8bd;
  border-radius: 8px;
  background: #fff;
}

.practice-family-loop-step > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f3e7c2;
  color: #604b16;
  font-size: 14px;
  font-weight: 950;
}

.practice-family-loop-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.practice-family-loop-step small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.practice-family-loop-step a {
  display: inline-grid;
  align-items: center;
  min-height: 32px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #735f2a;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.practice-family-loop-step[data-status="done"] {
  border-color: #b8d8c2;
  background: #f5fbf6;
}

.practice-family-loop-step[data-status="active"] {
  border-color: #735f2a;
  background: #fff7dd;
  box-shadow: inset 0 0 0 2px rgb(115 95 42 / 20%);
}

.practice-family-loop-step[data-status="blocked"] {
  border-color: #e3bab2;
  background: #fff4f1;
}

.practice-family-loop-step[data-status="blocked"] a {
  background: #8a3d31;
}

.practice-family-loop-boundary {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #604b16;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-family-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.44fr);
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f6fbf3;
  box-shadow: 0 12px 28px rgb(36 82 74 / 10%);
}

.practice-family-result-copy,
.practice-family-result-metrics,
.practice-family-result-loop,
.practice-family-result-safe-row {
  min-width: 0;
}

.practice-family-result-copy {
  display: grid;
  gap: 6px;
}

.practice-family-result-copy span,
.practice-family-result-copy h3,
.practice-family-result-copy p,
.practice-family-result-metrics dt,
.practice-family-result-metrics dd,
.practice-family-result-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-family-result-copy span {
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-result-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0;
}

.practice-family-result-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-family-result-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.practice-family-result-next-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.practice-family-result-feedback {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.practice-family-result-feedback div {
  min-width: 0;
  min-height: 86px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 10px;
  border: 2px solid #cfe1d8;
  border-radius: 8px;
  background: #ffffff;
}

.practice-family-result-feedback span,
.practice-family-result-feedback strong,
.practice-family-result-feedback small {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.practice-family-result-feedback span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #24524a;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}

.practice-family-result-feedback strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.22;
}

.practice-family-result-feedback small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.28;
}

.practice-family-result-choice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 1.18fr);
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 2px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
}

.practice-family-result-choice-copy,
.practice-family-result-choice-reason,
.practice-family-result-choice-primary-wrap,
.practice-family-result-choice-backup,
.practice-family-result-choice-grid {
  min-width: 0;
}

.practice-family-result-choice-copy {
  display: grid;
  align-content: center;
  gap: 5px;
}

.practice-family-result-choice-copy span,
.practice-family-result-choice-copy strong,
.practice-family-result-choice-copy p,
.practice-family-result-choice-reason dt,
.practice-family-result-choice-reason dd,
.practice-family-result-choice-primary-wrap button,
.practice-family-result-choice-grid button,
.practice-family-result-choice-boundary,
.practice-family-result-choice-backup > summary span,
.practice-family-result-choice-backup > summary strong,
.practice-family-result-choice-backup > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-family-result-choice-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-family-result-choice-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.18;
}

.practice-family-result-choice-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

.practice-family-result-choice-primary-wrap {
  display: grid;
  align-items: stretch;
}

.practice-family-result-choice-primary-wrap button,
.practice-family-result-choice-grid button,
.practice-family-result-choice-grid a {
  min-height: 62px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.practice-family-result-choice-primary {
  width: 100%;
  min-height: 84px;
  background: #24524a;
  color: #fff;
  font-size: 20px;
}

.practice-family-result-choice-grid button[data-recommended="false"],
.practice-family-result-choice-grid a[data-recommended="false"] {
  background: #fff;
  color: var(--ink);
}

.practice-family-result-choice-grid button[data-recommended="true"],
.practice-family-result-choice-grid a[data-recommended="true"] {
  border-color: #24524a;
  background: #24524a;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(82, 148, 135, 0.22);
}

.practice-family-result-choice-primary-wrap button[data-recommended="true"] {
  border-color: #24524a;
  background: #24524a;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(82, 148, 135, 0.22);
}

.practice-family-result-choice-primary-wrap button[data-recommended="true"]::before,
.practice-family-result-choice-grid button[data-recommended="true"]::before,
.practice-family-result-choice-grid a[data-recommended="true"]::before {
  content: "推荐";
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4c95d;
  color: #2a2212;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.practice-family-result-choice-backup {
  grid-column: 1 / -1;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #f8fffd;
}

.practice-family-result-choice-backup > summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 10px 42px 10px 12px;
  cursor: pointer;
  list-style: none;
}

.practice-family-result-choice-backup > summary::-webkit-details-marker {
  display: none;
}

.practice-family-result-choice-backup > summary::after {
  content: "展开";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.practice-family-result-choice-backup[open] > summary::after {
  content: "收起";
}

.practice-family-result-choice-backup > summary:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-family-result-choice-backup > summary span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-family-result-choice-backup > summary strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-result-choice-backup > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.practice-family-result-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.practice-family-result-choice-grid button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.practice-family-result-choice-grid button:focus-visible,
.practice-family-result-choice-grid a:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-family-result-choice-reason {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.practice-family-result-choice-reason div {
  min-width: 0;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 10px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #f7fbfa;
}

.practice-family-result-choice-reason dt,
.practice-family-result-choice-reason dd {
  margin: 0;
}

.practice-family-result-choice-reason dt {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-family-result-choice-reason dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.32;
}

.practice-family-result-choice-boundary {
  grid-column: 1 / -1;
  margin: 0;
  color: #6a4a15;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.32;
}

.practice-page[data-family-choice-mode="single"] .practice-first-use-mode,
.practice-page[data-family-choice-mode="single"] .practice-now-card,
.practice-page[data-family-choice-mode="single"] .practice-guided-dock,
.practice-page[data-family-choice-mode="single"] .practice-family-smart-next,
.practice-page[data-family-choice-mode="single"] .practice-family-result-loop,
.practice-page[data-family-choice-mode="single"] .practice-family-result-loop-boundary,
.practice-page[data-family-choice-mode="single"] .practice-family-result-next-grid,
.practice-page[data-family-choice-mode="single"] .practice-teacher-preview-actions,
.practice-page[data-family-choice-mode="single"] .practice-family-teacher-ticket,
.practice-page[data-family-choice-mode="single"] .practice-family-teacher-ticket-actions,
.practice-page[data-family-choice-mode="single"] .practice-family-teacher-ticket-return,
.practice-page[data-family-choice-mode="single"] .practice-family-result-button,
.practice-page[data-family-choice-mode="single"] .practice-next-chapter-card,
.practice-page[data-family-choice-mode="single"] .practice-next-chapter-button,
.practice-page[data-family-choice-mode="single"] .practice-teacher-one-copy-card,
.practice-page[data-family-choice-mode="single"] .practice-teacher-one-copy-actions,
.practice-page[data-family-choice-mode="single"] .practice-actions {
  display: none;
}

.practice-page[data-trial-one-tap-mode="active"][data-family-choice-mode="single"] .practice-now-card {
  display: grid;
}

.practice-page[data-family-choice-mode="single"] .practice-family-result-choice {
  border-color: #24524a;
  background: #f8fffd;
  box-shadow: 0 14px 32px rgba(36, 82, 74, 0.13);
}

.practice-family-teacher-ticket {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(210px, 0.42fr) minmax(260px, 1.08fr);
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #c8ded6;
  border-radius: 8px;
  background: #f8fffd;
}

.practice-family-teacher-ticket-copy,
.practice-family-teacher-ticket-actions,
.practice-family-teacher-ticket-grid,
.practice-family-teacher-ticket-grid div {
  min-width: 0;
}

.practice-family-teacher-ticket-copy {
  display: grid;
  align-content: center;
  gap: 5px;
}

.practice-family-teacher-ticket-copy span,
.practice-family-teacher-ticket-copy strong,
.practice-family-teacher-ticket-copy p,
.practice-family-teacher-ticket-grid dt,
.practice-family-teacher-ticket-grid dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.practice-family-teacher-ticket-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-family-teacher-ticket-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.18;
}

.practice-family-teacher-ticket-copy p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

.practice-family-teacher-ticket-actions {
  display: grid;
  gap: 8px;
  align-content: center;
}

.practice-family-teacher-ticket-primary,
.practice-family-teacher-ticket-copy-button {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 950;
  line-height: 1.16;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-family-teacher-ticket-primary {
  border: 0;
  background: #24524a;
  color: #fff;
  font-size: 18px;
}

.practice-family-teacher-ticket-copy-button {
  border: 2px solid #24524a;
  background: #fff;
  color: #24524a;
  font-size: 15px;
}

.practice-family-teacher-ticket-primary:disabled,
.practice-family-teacher-ticket-copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.practice-family-teacher-ticket-primary:focus-visible,
.practice-family-teacher-ticket-copy-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-family-teacher-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.practice-family-teacher-ticket-grid div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
}

.practice-family-teacher-ticket-grid dt {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-family-teacher-ticket-grid dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.32;
}

.practice-family-teacher-ticket-return {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d3dfd8;
  border-radius: 8px;
  background: #ffffff;
}

.practice-family-teacher-ticket-return span,
.practice-family-teacher-ticket-return strong,
.practice-family-teacher-ticket-return p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.practice-family-teacher-ticket-return span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.16;
}

.practice-family-teacher-ticket-return strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-teacher-ticket-return p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.34;
}

#practice-family-teacher-ticket-return-button {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: #2f6d59;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

#practice-family-teacher-ticket-return-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

#practice-family-teacher-ticket-return-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-family-result-loop {
  grid-column: 1 / -1;
  display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-family-result-metrics div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.practice-family-result-feedback div,
.practice-family-result-next-grid div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 70px;
  padding: 10px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
}

.practice-family-result-loop li {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 82px;
  padding: 10px;
  border: 1px solid #cfe1d8;
  border-radius: 8px;
  background: #fff;
}

.practice-family-result-metrics dt,
.practice-family-result-metrics dd {
  margin: 0;
}

.practice-family-result-next-grid span,
.practice-family-result-next-grid strong,
.practice-family-result-feedback span,
.practice-family-result-feedback strong,
.practice-family-result-feedback small,
.practice-family-result-loop span,
.practice-family-result-loop strong,
.practice-family-result-loop small,
.practice-family-result-loop-boundary {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.practice-family-result-loop span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #24524a;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}

.practice-family-result-loop strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-result-loop small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.practice-family-result-loop-boundary {
  grid-column: 1 / -1;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffaf0;
  color: #6a4a15;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.32;
}

.practice-family-result-next-grid span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-family-result-next-grid strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-family-result-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.practice-family-result-metrics dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-family-result-button {
  width: 100%;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-family-result-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-family-result-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-family-result-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.practice-family-result-safe-row span {
  display: grid;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #fff;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-next-chapter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.38fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  margin-bottom: 14px;
  padding: 16px;
  border: 2px solid #244b75;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 12px 28px rgb(36 75 117 / 10%);
}

.practice-next-chapter-card[data-relay-state="repeat_current"] {
  border-color: #735f2a;
  background: #fffaf0;
}

.practice-next-chapter-card[data-relay-state="teacher_card_ready"],
.practice-next-chapter-card[data-relay-state="second_review_required"] {
  border-color: #8a3d31;
  background: #fff7f3;
}

.practice-next-chapter-copy,
.practice-next-chapter-plan,
.practice-next-chapter-safe-row {
  min-width: 0;
}

.practice-next-chapter-copy {
  display: grid;
  gap: 6px;
}

.practice-next-chapter-copy span,
.practice-next-chapter-copy h3,
.practice-next-chapter-copy p,
.practice-next-chapter-plan strong,
.practice-next-chapter-plan span,
.practice-next-chapter-safe-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-next-chapter-copy span {
  color: #244b75;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-next-chapter-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0;
}

.practice-next-chapter-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-next-chapter-plan {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #fff;
}

.practice-next-chapter-plan strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-next-chapter-plan span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.practice-next-chapter-button {
  width: 100%;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #244b75;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-next-chapter-card[data-relay-state="repeat_current"] .practice-next-chapter-button {
  background: #735f2a;
}

.practice-next-chapter-card[data-relay-state="teacher_card_ready"] .practice-next-chapter-button,
.practice-next-chapter-card[data-relay-state="second_review_required"] .practice-next-chapter-button {
  background: #8a3d31;
}

.practice-next-chapter-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.practice-next-chapter-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-next-chapter-safe-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.practice-next-chapter-safe-row span {
  display: grid;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #fff;
  color: #244b75;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-teacher-one-copy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  margin-bottom: 14px;
  padding: 16px;
  border: 2px solid #d8c06b;
  border-radius: 8px;
  background: #fffbea;
}

.practice-teacher-one-copy-card[data-copy-state="review_ready"],
.practice-teacher-one-copy-card[data-copy-state="second_review_copy_ready"] {
  border-color: #24524a;
  background: #eef8f1;
  box-shadow: 0 12px 28px rgb(36 82 74 / 10%);
}

[data-copy-state="review_ready"] {
  --teacher-copy-ready: 1;
}

.practice-teacher-one-copy-copy,
.practice-teacher-one-copy-actions,
.practice-teacher-one-copy-status,
.practice-teacher-one-copy-boundary {
  min-width: 0;
}

.practice-teacher-one-copy-copy {
  display: grid;
  gap: 6px;
}

.practice-teacher-one-copy-copy span,
.practice-teacher-one-copy-copy h3,
.practice-teacher-one-copy-copy p,
.practice-teacher-one-copy-status,
.practice-teacher-one-copy-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-teacher-one-copy-copy span {
  color: #7a5b0f;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-teacher-one-copy-card[data-copy-state="review_ready"] .practice-teacher-one-copy-copy span,
.practice-teacher-one-copy-card[data-copy-state="second_review_copy_ready"] .practice-teacher-one-copy-copy span {
  color: #24524a;
}

.practice-teacher-one-copy-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.practice-teacher-one-copy-copy p,
.practice-teacher-one-copy-status,
.practice-teacher-one-copy-boundary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.practice-teacher-one-copy-actions {
  display: grid;
  gap: 8px;
}

.practice-teacher-one-copy-button {
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-teacher-one-copy-open-button {
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #fff;
  color: #24524a;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-teacher-one-copy-button:disabled,
.practice-teacher-one-copy-open-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.practice-teacher-one-copy-button:focus-visible,
.practice-teacher-one-copy-open-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-teacher-one-copy-status,
.practice-teacher-one-copy-boundary {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
}

.practice-teacher-one-copy-boundary {
  color: #604b16;
  font-weight: 950;
}

.practice-course-panel {
  display: grid;
  gap: 12px;
  border-color: #cbd8e6;
  background: #f7fbff;
}

.practice-course-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-course-panel p,
.practice-course-current span,
.practice-course-picker span,
.practice-course-boundary {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.practice-course-current {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fff;
}

.practice-course-current strong {
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.practice-course-autopilot {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #bdd7cf;
  border-radius: 8px;
  background: #f2fbf7;
}

.practice-course-autopilot[data-route-state="reinforcement_ready"],
.practice-course-autopilot[data-route-state="reinforcement_replay_ready"] {
  border-color: #b8cee3;
  background: #f5faff;
}

.practice-course-autopilot[data-route-state="teacher_card_ready"],
.practice-course-autopilot[data-route-state="second_review_required"] {
  border-color: #e2c0b7;
  background: #fff7f3;
}

.practice-course-autopilot-copy {
  display: grid;
  gap: 5px;
}

.practice-course-autopilot-copy span,
.practice-course-autopilot-copy h3,
.practice-course-autopilot-copy p,
.practice-course-route-item strong,
.practice-course-route-item small,
.practice-course-autopilot-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-course-autopilot-copy span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-course-autopilot-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.practice-course-autopilot-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.practice-course-route {
  display: grid;
  grid-template-columns: repeat(11, minmax(64px, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-course-route-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 96px;
  padding: 8px;
  border: 1px solid #d5e4de;
  border-radius: 8px;
  background: #fff;
}

.practice-course-route-item > span {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 28px;
  border-radius: 8px;
  background: #eef4f1;
  color: #24524a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.practice-course-route-item strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-course-route-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.practice-course-route-item[data-status="done"] {
  background: #f6f7f8;
  opacity: 0.76;
}

.practice-course-route-item[data-status="current"] {
  border-color: #24524a;
  background: #eaf7f2;
  box-shadow: inset 0 0 0 2px rgb(36 82 74 / 12%);
}

.practice-course-route-item[data-status="next"] {
  border-color: #244b75;
  background: #eef6ff;
}

.practice-course-autopilot-boundary {
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-course-picker {
  display: grid;
  grid-template-columns: minmax(72px, 0.2fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.practice-course-picker span {
  color: var(--teal-dark);
  font-weight: 950;
}

.practice-course-picker select {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cddbe8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.practice-course-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.practice-course-actions button {
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #315f72;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-course-actions button:disabled,
.practice-course-picker select:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.practice-mvp-panel .panel-heading {
  align-items: center;
}

.practice-mvp-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-mvp-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.practice-mvp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.practice-mvp-grid span {
  min-width: 0;
  display: grid;
  align-items: center;
  min-height: 50px;
  padding: 9px 10px;
  border: 1px solid #e3e0c8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-zero-setup h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-zero-setup p {
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.practice-zero-setup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.practice-zero-setup-list span {
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid #cfe4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-field-command-center {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8c6a8;
  border-radius: 8px;
  background: #fffaf1;
}

.practice-field-command-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 12px;
  align-items: stretch;
}

.practice-field-command-heading div,
.practice-field-command-heading span,
.practice-field-command-heading h2,
.practice-field-command-heading p,
.practice-field-command-entry-grid span,
.practice-field-command-item strong,
.practice-field-command-item p,
.practice-field-command-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-field-command-heading span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 8px;
  background: #f1e3ca;
  color: #72511d;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-field-command-heading h2 {
  margin: 7px 0 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-field-command-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.practice-field-command-heading a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.practice-field-command-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.practice-field-command-entry-grid span {
  display: grid;
  align-content: center;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #ead9bd;
  border-radius: 8px;
  background: #fff;
  color: #604b16;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-field-command-list,
.practice-field-command-deferred,
.practice-field-open-now-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-field-command-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
  border: 1px solid #ead9bd;
  border-radius: 8px;
  background: #fff;
}

.practice-field-open-now {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8e7e2;
  border-radius: 8px;
  background: #f8fffd;
}

.practice-field-open-now-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.practice-field-open-now-heading strong,
.practice-field-open-now-heading span,
.practice-field-open-now p,
.practice-field-open-now-item strong,
.practice-field-open-now-item p,
.practice-field-open-now-item small,
.practice-field-open-now-item em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-field-open-now-heading strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-field-open-now-heading span,
.practice-field-open-now-item em {
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.practice-field-open-now p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.practice-field-open-now-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.practice-field-open-now-actions button,
.practice-field-open-now-actions a {
  min-width: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.practice-field-open-now-actions a {
  border-color: #d8e7e2;
  background: #fff;
  color: var(--teal-dark);
}

.practice-field-open-now-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(92px, auto);
  gap: 8px;
  align-items: center;
  min-height: 78px;
  padding: 9px;
  border: 1px solid #d8e7e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.practice-field-open-now-item.is-super {
  border-left-color: var(--sun);
  background: #fffdf6;
}

.practice-field-open-now-item > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #dff0ea;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.practice-field-open-now-item.is-super > span {
  background: #fae8bd;
  color: #72511d;
}

.practice-field-open-now-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-field-open-now-item p,
.practice-field-open-now-item small {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.practice-field-open-now-primary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  margin-top: 5px;
  padding: 5px 8px;
  border: 1px solid #d8e7e2;
  border-radius: 8px;
  background: #f8fffd;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-decoration: none;
  white-space: normal;
}

.practice-field-open-now-item.is-super .practice-field-open-now-primary {
  border-color: #ead9bd;
  background: #fff8e5;
  color: #72511d;
}

.practice-field-open-now-item.is-super em {
  background: #9b6a1d;
}

.practice-field-command-item[data-status="field_pending"],
.practice-field-command-item[data-status="not_tested"] {
  background: #fffdf8;
}

.practice-field-command-item[data-status="blocked"],
.practice-field-command-item[data-status="fail"] {
  border-color: #e2b5aa;
  background: #fff7f5;
}

.practice-field-command-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.practice-field-command-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.practice-field-command-item > span {
  justify-self: end;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f1e3ca;
  color: #72511d;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.practice-field-command-boundary {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  color: #604b16;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.35;
}

.practice-family-guide {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d7e7e2;
  border-radius: 8px;
  background: #f8fcfa;
}

.practice-family-guide h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-family-guide ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-family-guide li {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e0ece8;
  border-radius: 8px;
  background: #fff;
}

.practice-family-guide strong,
.practice-family-guide span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-family-guide strong {
  color: var(--teal-dark);
  font-size: 14px;
  line-height: 1.2;
}

.practice-family-guide span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.practice-adult-script-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1.22fr);
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #244b75;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 12px 28px rgb(36 75 117 / 10%);
}

.practice-adult-script-copy,
.practice-adult-script-lines,
.practice-adult-script-boundary {
  min-width: 0;
}

.practice-adult-script-copy {
  display: grid;
  align-content: center;
  gap: 7px;
}

.practice-adult-script-copy span,
.practice-adult-script-copy h2,
.practice-adult-script-copy p,
.practice-adult-script-lines strong,
.practice-adult-script-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-adult-script-copy span {
  color: #244b75;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-adult-script-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0;
}

.practice-adult-script-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.practice-adult-script-lines {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-adult-script-lines li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #b9d5e6;
  border-radius: 8px;
  background: #fff;
}

.practice-adult-script-lines span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #e6f1fb;
  color: #244b75;
  font-size: 13px;
  font-weight: 950;
}

.practice-adult-script-lines strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.18;
}

.practice-adult-script-copy-button {
  grid-column: 1 / -1;
  min-height: 56px;
  border-radius: 8px;
  background: #244b75;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.practice-adult-script-copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.practice-adult-script-copy-button:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.practice-adult-script-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #244b75;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-loop-panel {
  display: grid;
  gap: 12px;
  border-color: #cddfc8;
  background: #fbfff8;
}

.practice-loop-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-loop-panel p {
  min-width: 0;
  font-size: 14px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.practice-loop-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.practice-loop-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 8px;
  border: 1px solid #d9e8d4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.practice-loop-metrics dt,
.practice-loop-metrics dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.practice-loop-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.practice-loop-metrics dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
}

.practice-sensor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.practice-sensor-grid span {
  min-width: 0;
  min-height: 40px;
  display: grid;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e4eadf;
  border-radius: 8px;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-loop-quality {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #f7fbff;
}

.practice-loop-quality span {
  min-width: 0;
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #dde7f0;
  border-radius: 8px;
  background: #fff;
  color: #315f72;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-reinforcement-list {
  margin-top: 0;
}

.practice-loop-replay-button {
  min-height: 56px;
  border-color: #24524a;
  background: #24524a;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.practice-loop-replay-button:disabled {
  border-color: #cfd8d2;
  background: #e9eee8;
  color: #65726d;
}

.practice-teacher-preview-panel {
  display: grid;
  gap: 12px;
  border-color: #e0d5b8;
  background: #fffaf0;
}

.practice-teacher-preview-panel h2,
.practice-teacher-preview-panel p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-teacher-preview-panel h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.practice-teacher-preview-panel p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.practice-teacher-preview-brief {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.practice-teacher-preview-brief div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #eadbb7;
  border-radius: 8px;
  background: #fffdf7;
}

.practice-teacher-preview-brief dt,
.practice-teacher-preview-brief dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-teacher-preview-brief dt {
  color: #7a6934;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.practice-teacher-preview-brief dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.3;
}

.practice-teacher-preview-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-teacher-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.practice-teacher-preview-actions button {
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-teacher-preview-actions button:first-child {
  background: #24524a;
  color: #fff;
}

.practice-teacher-preview-boundary {
  color: #6d5f32;
}

.practice-teacher-handoff-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #f9fdf8;
}

.practice-teacher-handoff-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.practice-teacher-handoff-heading strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.practice-teacher-handoff-heading span {
  display: inline-grid;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #bdd6ca;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.practice-teacher-handoff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.practice-teacher-handoff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.practice-teacher-handoff-grid span {
  min-width: 0;
  display: grid;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #dce8df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.practice-teacher-handoff-steps {
  margin-top: 0;
}

.practice-teacher-handoff-boundary {
  color: #3e6557;
}

.practice-real-object-panel {
  display: grid;
  gap: 12px;
}

.practice-real-object-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.practice-real-object-button {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid #dfe9e6;
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--ink);
  text-align: left;
}

.practice-real-object-button[data-selected="true"] {
  border-color: var(--sun);
  background: #fff8e8;
  box-shadow: inset 0 0 0 1px var(--sun);
}

.practice-real-object-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.practice-real-object-button strong,
.practice-real-object-button span,
.practice-real-object-boundary,
.practice-real-object-empty {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-real-object-button strong {
  font-size: 15px;
  line-height: 1.22;
}

.practice-real-object-button span,
.practice-real-object-boundary,
.practice-real-object-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.practice-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.practice-progress span {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #edf3ef;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.practice-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.practice-card-button {
  min-height: 220px;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 10px;
}

.practice-card-button[data-target="true"] {
  border-color: var(--sun);
}

.practice-card-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.practice-card-button img {
  width: min(46vw, 160px);
  height: min(46vw, 160px);
  object-fit: contain;
}

.practice-card-button span {
  font-size: 22px;
  font-weight: 900;
}

.practice-actions {
  display: grid;
  gap: 10px;
}

.practice-summary-heading {
  align-items: flex-start;
}

.practice-handoff-more {
  flex: 0 1 min(100%, 440px);
  min-width: min(100%, 260px);
}

.practice-handoff-more > summary {
  min-height: 54px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 10px;
  align-items: center;
  border: 1px solid #cdddc7;
  border-radius: 8px;
  background: #f7fbf4;
  color: var(--ink);
  cursor: pointer;
}

.practice-handoff-more > summary::-webkit-details-marker {
  display: none;
}

.practice-handoff-more > summary::after {
  content: "展开";
  justify-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e4f0dc;
  color: #315f72;
  font-size: 12px;
  font-weight: 900;
}

.practice-handoff-more[open] > summary::after {
  content: "收起";
}

.practice-handoff-more > summary span {
  color: #5d6b55;
  font-size: 12px;
  font-weight: 900;
}

.practice-handoff-more > summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.practice-handoff-more > summary small {
  grid-column: 1 / -1;
  color: #627064;
  line-height: 1.5;
}

.practice-handoff-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin-top: 10px;
}

.practice-primary,
.practice-actions > button,
.practice-response-grid button,
.practice-handoff-actions button,
.practice-link {
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.practice-actions > button {
  background: var(--ink);
}

.practice-handoff-actions button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.practice-handoff-actions button:nth-child(2) {
  background: #315f72;
}

.practice-handoff-actions button:nth-child(3) {
  background: #4b5d35;
}

.practice-handoff-actions button:nth-child(4) {
  background: var(--ink);
}

.practice-response-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.practice-response-grid button:nth-child(3) {
  background: #7d3441;
}

.practice-response-grid button:disabled,
.practice-handoff-actions button:disabled,
.practice-actions > button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.practice-summary-panel {
  display: grid;
  gap: 12px;
}

.practice-boundary {
  background: #fff8df;
}

.phone-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.phone-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 2px;
}

.phone-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.phone-safe-start {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #b9d5cd;
  border-radius: 8px;
  background: #eef7f3;
}

.phone-safe-start h2,
.phone-safe-start p,
.phone-safe-steps,
.phone-safe-backup p {
  margin: 0;
}

.phone-safe-start h2 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.phone-safe-kicker,
.phone-safe-boundary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.phone-safe-start > div > p:not(.phone-safe-kicker) {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.phone-safe-primary {
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid #1e7c68;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.phone-safe-primary span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.phone-safe-primary strong {
  font-size: 22px;
  font-weight: 950;
  line-height: 1.12;
}

.phone-safe-primary:focus-visible {
  outline: 4px solid rgba(36, 82, 74, 0.28);
  outline-offset: 3px;
}

.phone-safe-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.phone-safe-steps li {
  min-width: 0;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 4px;
  align-content: start;
}

.phone-safe-steps strong {
  color: var(--teal-dark);
  font-size: 15px;
  line-height: 1.2;
}

.phone-safe-steps span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phone-safe-backup {
  display: grid;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cfe2dc;
  border-radius: 8px;
  background: #fff;
}

.phone-safe-backup summary {
  cursor: pointer;
  min-height: 42px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
  display: flex;
  align-items: center;
}

.phone-safe-backup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.phone-safe-backup-grid a {
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
  overflow-wrap: anywhere;
}

.phone-safe-backup p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.phone-pairing-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #c8d6e3;
  border-radius: 8px;
  background: #f2f7fb;
}

.phone-pairing-card h2,
.phone-pairing-card p,
.phone-pairing-list {
  margin: 0;
}

.phone-pairing-card h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.phone-pairing-card > div > p:not(.phone-pairing-kicker) {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.phone-pairing-kicker,
.phone-pairing-boundary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.phone-pairing-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.phone-pairing-list li {
  min-width: 0;
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 4px;
  align-content: start;
}

.phone-pairing-list strong {
  color: #244b75;
  font-size: 15px;
  line-height: 1.2;
}

.phone-pairing-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phone-field-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #b7d2e2;
  border-radius: 8px;
  background: #f3f9fc;
}

.phone-field-card h2,
.phone-field-card p,
.phone-field-checklist {
  margin: 0;
}

.phone-field-card-heading,
.phone-field-copy-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.phone-field-card h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.phone-field-kicker,
.phone-field-boundary {
  color: #285571;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.phone-field-card-heading p:not(.phone-field-kicker) {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.phone-field-card-heading span {
  flex: 0 0 auto;
  max-width: 42%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: #285571;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.phone-field-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.phone-field-checklist li {
  min-width: 0;
  min-height: 76px;
  padding: 10px;
  border: 1px solid #c7deeb;
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  align-content: start;
}

.phone-field-checklist strong {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #285571;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  place-items: center;
}

.phone-field-checklist span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phone-field-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.phone-field-actions button,
.phone-field-actions a {
  min-width: 0;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
  overflow-wrap: anywhere;
}

.phone-field-actions button {
  border: 1px solid #285571;
  background: #285571;
  color: #fff;
}

.phone-field-actions a {
  border: 1px solid #b7d2e2;
  background: #fff;
  color: #285571;
}

.phone-field-copy-fallback {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #b7d2e2;
  border-radius: 8px;
  background: #fff;
}

.phone-field-copy-fallback[hidden] {
  display: none;
}

.phone-field-copy-heading strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.phone-field-copy-heading span {
  flex: 0 0 auto;
  color: #285571;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.phone-field-copy-fallback p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.phone-field-copy-fallback textarea {
  width: 100%;
  min-height: 168px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  color: var(--ink);
  font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  resize: vertical;
}

.phone-diagnostic-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d3c8e7;
  border-radius: 8px;
  background: #f7f4fb;
}

.phone-diagnostic-card h2,
.phone-diagnostic-card p,
.phone-diagnostic-steps {
  margin: 0;
}

.phone-diagnostic-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.phone-diagnostic-card h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.phone-diagnostic-kicker,
.phone-diagnostic-boundary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.phone-diagnostic-heading span {
  flex: 0 0 auto;
  max-width: 42%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: #5b3f8c;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.phone-diagnostic-summary,
#phone-diagnostic-summary {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.phone-diagnostic-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.phone-diagnostic-steps li {
  min-width: 0;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-content: start;
}

.phone-diagnostic-steps strong {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #5b3f8c;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  place-items: center;
}

.phone-diagnostic-steps span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phone-webrtc-diagnostic-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #b7d9d4;
  border-radius: 8px;
  background: #f1faf8;
}

.phone-webrtc-diagnostic-card h2,
.phone-webrtc-diagnostic-card p,
.phone-webrtc-samples {
  margin: 0;
}

.phone-webrtc-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.phone-webrtc-diagnostic-card h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.phone-webrtc-kicker,
.phone-webrtc-boundary {
  color: #1f6b62;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.phone-webrtc-heading span {
  flex: 0 0 auto;
  max-width: 44%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

#phone-webrtc-summary {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.phone-webrtc-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.phone-webrtc-samples li {
  min-width: 0;
  min-height: 74px;
  padding: 10px;
  border: 1px solid #cbe4df;
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-content: start;
}

.phone-webrtc-samples strong {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  place-items: center;
}

.phone-webrtc-samples span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phone-trouble-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e2c1a9;
  border-radius: 8px;
  background: #fff8f1;
}

.phone-trouble-card h2,
.phone-trouble-card p,
.phone-trouble-list {
  margin: 0;
}

.phone-trouble-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.phone-trouble-card h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.phone-trouble-kicker,
.phone-trouble-boundary {
  color: #6a4a15;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.phone-trouble-heading span {
  flex: 0 0 auto;
  max-width: 42%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: #7d3441;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.phone-trouble-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.phone-trouble-list li {
  min-width: 0;
  min-height: 78px;
  padding: 10px;
  border: 1px solid #efd4bd;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 4px;
  align-content: start;
}

.phone-trouble-list strong {
  color: #7d3441;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.phone-trouble-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phone-trouble-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.phone-trouble-actions a {
  min-width: 0;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #dca46f;
  border-radius: 8px;
  background: #fff;
  color: #7d3441;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
  overflow-wrap: anywhere;
}

.phone-card,
.phone-preview-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.phone-card {
  display: grid;
  gap: 12px;
}

.phone-room-badge {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  color: var(--muted);
  font-weight: 900;
}

.phone-room-badge strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(30px, 12vw, 48px);
  line-height: 1;
  letter-spacing: 0.08em;
}

.phone-field {
  display: grid;
  gap: 6px;
}

.phone-field span,
.phone-service-panel summary,
.phone-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.phone-field input {
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.phone-service-panel {
  display: grid;
  gap: 10px;
}

.phone-service-panel summary {
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.phone-preview-card {
  display: grid;
  gap: 10px;
}

.phone-preview-card video {
  width: 100%;
  min-height: 240px;
  aspect-ratio: 9 / 12;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101820;
  object-fit: cover;
}

.phone-preview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.phone-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.phone-metrics div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.phone-metrics dd {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.phone-actions button {
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.phone-actions button:nth-child(5) {
  grid-column: 1 / -1;
  background: #7d3441;
}

.phone-actions button:nth-child(6) {
  grid-column: 1 / -1;
  background: #244b75;
}

.phone-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.phone-recovery-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.phone-recovery-actions a {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
}

.phone-next-step {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d9c6a0;
  border-radius: 8px;
  background: #fff8df;
}

.phone-next-step-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phone-next-step-heading strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.phone-next-step-heading span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.phone-next-step p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.phone-next-step-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.phone-next-step-actions a,
.phone-next-step-actions button {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
}

.phone-next-step-actions button {
  border-color: var(--teal);
}

.phone-next-step-boundary {
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 850;
}

.phone-log {
  margin: 0;
}

@media (max-width: 420px) {
  .practice-page[data-one-tap-simple-mode="active"] .practice-shell {
    max-width: 100vw;
    padding: 8px 10px 12px;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-card {
    gap: 8px;
    padding: 12px;
    border-width: 3px;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-copy {
    display: none;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-visual {
    min-height: 286px;
    padding: 10px;
    gap: 4px;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-visual img {
    width: min(258px, 92%);
    max-height: none;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-visual strong {
    font-size: 38px;
    line-height: 1;
    white-space: nowrap;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-visual span {
    font-size: 25px;
    line-height: 1.06;
    white-space: nowrap;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-button {
    min-height: 86px;
    font-size: 25px;
    line-height: 1.08;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-voice-card {
    display: none;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-steps li {
    min-height: 48px;
    padding: 7px 8px;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-steps strong {
    font-size: 14px;
    line-height: 1.18;
  }

  .practice-page[data-one-tap-simple-mode="active"] .practice-now-why,
  .practice-page[data-one-tap-simple-mode="active"] .practice-now-safe-row {
    display: none;
  }

  .phone-shell {
    padding: 14px;
  }

  .phone-header h1 {
    font-size: 24px;
  }

  .phone-preview-card video {
    min-height: 210px;
  }

  .phone-safe-steps {
    grid-template-columns: 1fr;
  }

  .phone-safe-steps li {
    min-height: 0;
  }

  .phone-safe-primary {
    min-height: 82px;
  }

  .phone-safe-primary strong {
    font-size: 20px;
  }

  .phone-safe-backup-grid {
    grid-template-columns: 1fr;
  }

  .phone-pairing-list {
    grid-template-columns: 1fr;
  }

  .phone-pairing-list li {
    min-height: 0;
  }

  .phone-field-card-heading,
  .phone-field-copy-heading {
    display: grid;
  }

  .phone-field-card-heading span {
    max-width: none;
    justify-self: start;
  }

  .phone-field-checklist,
  .phone-field-actions {
    grid-template-columns: 1fr;
  }

  .phone-field-checklist li {
    min-height: 0;
  }

  .phone-diagnostic-heading {
    display: grid;
  }

  .phone-diagnostic-heading span {
    max-width: none;
    justify-self: start;
  }

  .phone-diagnostic-steps {
    grid-template-columns: 1fr;
  }

  .phone-diagnostic-steps li {
    min-height: 0;
  }

  .phone-webrtc-heading {
    display: grid;
  }

  .phone-webrtc-heading span {
    max-width: none;
    justify-self: start;
  }

  .phone-webrtc-samples {
    grid-template-columns: 1fr;
  }

  .phone-webrtc-samples li {
    min-height: 0;
  }

  .phone-trouble-heading {
    display: grid;
  }

  .phone-trouble-heading span {
    max-width: none;
    justify-self: start;
  }

  .phone-trouble-list,
  .phone-trouble-actions {
    grid-template-columns: 1fr;
  }

  .phone-trouble-list li {
    min-height: 0;
  }

  .phone-recovery-actions {
    grid-template-columns: 1fr;
  }

  .phone-next-step-actions {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.topbar h1,
.stage h2,
.panel h2,
.rail h2 {
  margin: 0;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: 24px;
  line-height: 1.15;
}

.topbar-adult-tools {
  min-width: min(100%, 420px);
  max-width: 720px;
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
}

.topbar-adult-tools > summary {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(84px, 0.28fr) minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
}

.topbar-adult-tools > summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 2px;
}

.topbar-adult-tools > summary span,
.topbar-adult-tools > summary strong,
.topbar-adult-tools > summary small,
.topbar-adult-tools-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.topbar-adult-tools > summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.topbar-adult-tools > summary strong {
  font-size: 15px;
  line-height: 1.15;
}

.topbar-adult-tools > summary small {
  color: #764823;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.topbar-adult-tools:not([open]) > :not(summary) {
  display: none;
}

.topbar-adult-tools[open] {
  max-width: min(100%, 980px);
}

.topbar-adult-tools .topbar-actions {
  padding: 10px 12px 0;
}

.topbar-adult-tools-boundary {
  margin: 0;
  padding: 8px 12px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.quick-entry-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(96px, 1fr));
  gap: 10px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: #f6faf7;
}

.adult-advanced-entry-panel {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: #fffdf7;
}

.adult-advanced-entry-panel > summary {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(120px, 0.26fr) minmax(0, 1fr) minmax(190px, 0.44fr);
  gap: 10px;
  align-items: center;
  padding: 12px 28px;
  color: var(--ink);
  cursor: pointer;
}

.adult-advanced-entry-panel > summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: -6px;
}

.adult-advanced-entry-panel > summary span,
.adult-advanced-entry-panel > summary strong,
.adult-advanced-entry-panel > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.adult-advanced-entry-panel > summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.adult-advanced-entry-panel > summary strong {
  font-size: 18px;
  line-height: 1.1;
}

.adult-advanced-entry-panel > summary small {
  color: #764823;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.adult-advanced-entry-panel:not([open]) > :not(summary) {
  display: none;
}

.adult-advanced-entry-panel:not([open]) .quick-entry-strip {
  display: none;
}

.quick-entry {
  display: grid;
  align-content: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.quick-entry:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.quick-entry-primary {
  border-color: rgba(15, 118, 110, 0.36);
  background: #e8f6f3;
}

#tv-default-start-entry:focus-visible {
  outline: 6px solid var(--sun);
  outline-offset: 5px;
  box-shadow: 0 0 0 6px rgba(242, 184, 75, 0.2), 0 14px 30px rgba(23, 32, 39, 0.18);
}

.quick-entry-watch {
  border-color: rgba(180, 83, 9, 0.36);
  background: #fff8ed;
}

.quick-entry-kicker,
.quick-entry small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.quick-entry strong {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.2;
}

.quick-entry small {
  margin-top: 6px;
}

.quick-start-mvp-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(520px, 1.55fr) minmax(220px, 0.5fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px 28px;
  border-bottom: 1px solid #c7ddd7;
  background: #eef8f5;
}

.quick-start-mvp-main,
.quick-start-mvp-proof,
.quick-start-mvp-copy-row,
.quick-start-role-picker,
.default-one-tap-start,
.first-day-next-card,
.first-day-visible-relay,
.tv-four-key-mode,
.no-role-rescue-strip,
.first-day-pipeline-strip,
.zero-learning-launchpad {
  min-width: 0;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
}

.quick-start-mvp-main {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
}

.quick-start-mvp-main h2,
.quick-start-mvp-main p,
.quick-start-mvp-action strong,
.quick-start-mvp-action small,
.quick-start-mvp-copy-row p,
.quick-start-mvp-proof dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.quick-start-mvp-main h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.quick-start-mvp-main p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.default-one-tap-start {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(240px, 0.62fr) minmax(360px, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 2px solid var(--teal);
  background: #f8fffd;
  box-shadow: 0 14px 38px rgba(14, 124, 123, 0.13);
}

.default-one-tap-copy,
.default-one-tap-remote-keys,
.default-one-tap-button,
.default-one-tap-secondary,
.default-one-tap-boundary {
  min-width: 0;
}

.default-one-tap-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px;
}

.default-one-tap-copy h3,
.default-one-tap-copy p,
.default-one-tap-remote-keys strong,
.default-one-tap-button span,
.default-one-tap-button strong,
.default-one-tap-button small,
.default-one-tap-secondary strong,
.default-one-tap-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.default-one-tap-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.default-one-tap-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.default-one-tap-remote-keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.default-one-tap-remote-keys li {
  min-width: 0;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
}

.default-one-tap-remote-keys li:first-child,
.default-one-tap-remote-keys li:nth-child(2) {
  border-color: var(--teal);
  background: #ebfaf6;
}

.default-one-tap-remote-keys span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.default-one-tap-remote-keys strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.08;
}

.default-one-tap-button {
  min-height: 148px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  text-align: left;
  text-decoration: none;
}

.default-one-tap-button:focus-visible {
  outline: 6px solid var(--sun);
  outline-offset: 4px;
}

.default-one-tap-button span {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  opacity: 0.86;
}

.default-one-tap-button strong {
  font-size: 44px;
  line-height: 1.02;
}

.default-one-tap-button small {
  color: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
  opacity: 0.84;
}

.default-one-tap-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
}

.default-one-tap-secondary a {
  min-width: 0;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
}

.default-one-tap-secondary a:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.default-one-tap-secondary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.default-one-tap-secondary strong {
  font-size: 20px;
  line-height: 1.08;
}

.default-one-tap-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.first-day-next-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 0.9fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border-color: #bddbd4;
  background: #ffffff;
}

.first-day-next-card-copy,
.first-day-next-button,
.first-day-next-boundary {
  min-width: 0;
}

.first-day-next-card-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 8px;
}

.first-day-next-card-copy h3,
.first-day-next-card-copy p,
.first-day-next-button span,
.first-day-next-button strong,
.first-day-next-button small,
.first-day-next-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-day-next-card-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.first-day-next-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.first-day-next-button {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  text-decoration: none;
}

.first-day-next-button:focus-visible {
  outline: 5px solid var(--sun);
  outline-offset: 4px;
}

.first-day-next-button span {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}

.first-day-next-button strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1.04;
}

.first-day-next-button small {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.22;
}

.first-day-next-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.first-day-visible-relay {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.48fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border-color: #bddbd4;
  background: #ffffff;
}

.first-day-visible-relay-copy,
.first-day-visible-relay-steps,
.first-day-visible-relay-boundary {
  min-width: 0;
}

.first-day-visible-relay-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 8px;
}

.first-day-visible-relay-copy h3,
.first-day-visible-relay-copy p,
.first-day-visible-relay-steps strong,
.first-day-visible-relay-steps small,
.first-day-visible-relay-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-day-visible-relay-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.first-day-visible-relay-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.first-day-visible-relay-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-day-visible-relay-steps li {
  min-width: 0;
}

.first-day-visible-relay-steps a {
  min-width: 0;
  min-height: 96px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid #bddbd4;
  border-radius: 8px;
  background: #f8fffd;
  color: var(--ink);
  text-decoration: none;
}

.first-day-visible-relay-steps li:first-child a {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.first-day-visible-relay-steps a:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.first-day-visible-relay-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sun);
  color: #172027;
  font-size: 13px;
  font-weight: 950;
}

.first-day-visible-relay-steps strong {
  color: inherit;
  font-size: 18px;
  line-height: 1.08;
}

.first-day-visible-relay-steps small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.82;
}

.first-day-visible-relay-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.tv-four-key-mode {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1.18fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border-color: #b5d2ec;
  background: #f4f9ff;
}

.tv-four-key-copy,
.tv-four-key-grid,
.tv-four-key-boundary {
  min-width: 0;
}

.tv-four-key-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 8px;
}

.tv-four-key-copy h3,
.tv-four-key-copy p,
.tv-four-key-grid strong,
.tv-four-key-grid small,
.tv-four-key-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tv-four-key-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: 0;
}

.tv-four-key-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.tv-four-key-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-four-key-grid li {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #bdd5e8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.tv-four-key-grid li:first-child {
  border-color: var(--teal);
  background: #ebfaf6;
}

.tv-four-key-grid span {
  color: #315363;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.tv-four-key-grid strong {
  font-size: 19px;
  line-height: 1.08;
}

.tv-four-key-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.22;
}

.tv-four-key-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.quick-start-more-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.quick-start-more-panel > summary {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 1fr) minmax(220px, 0.44fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.quick-start-more-panel > summary::-webkit-details-marker {
  display: none;
}

.quick-start-more-panel > summary span,
.quick-start-more-panel > summary strong,
.quick-start-more-panel > summary small {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.quick-start-more-panel > summary span {
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.quick-start-more-panel > summary strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.quick-start-more-panel > summary small {
  color: #764823;
  font-size: 12px;
  font-weight: 900;
}

.quick-start-more-panel > summary::after {
  content: "展开";
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef9f6;
  color: #24524a;
  font-size: 12px;
  font-weight: 950;
}

.quick-start-more-panel[open] > summary::after {
  content: "收起";
}

.quick-start-more-panel > summary:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.quick-start-more-panel:not([open]) > :not(summary) {
  display: none;
}

.zero-learning-launchpad {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.55fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: #ffffff;
}

.zero-learning-launchpad-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 8px;
}

.zero-learning-launchpad-copy h3,
.zero-learning-launchpad-copy p,
.zero-learning-lane strong,
.zero-learning-lane small,
.zero-learning-launchpad-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.zero-learning-launchpad-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: 0;
}

.zero-learning-launchpad-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.zero-learning-lane-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.zero-learning-lane {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #c9ddd2;
  border-radius: 8px;
  background: #f9fffd;
  color: var(--ink);
  text-decoration: none;
}

.zero-learning-lane.is-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.zero-learning-lane:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.zero-learning-lane span {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  opacity: 0.8;
}

.zero-learning-lane strong {
  font-size: 19px;
  line-height: 1.08;
}

.zero-learning-lane small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.78;
}

.zero-learning-launchpad-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.no-role-rescue-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(260px, 0.74fr) minmax(220px, 0.58fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: #fffaf0;
  border-color: #ead0a5;
}

.no-role-rescue-copy,
.no-role-rescue-button,
.no-role-rescue-steps,
.no-role-rescue-boundary {
  min-width: 0;
}

.no-role-rescue-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 8px;
}

.no-role-rescue-copy h3,
.no-role-rescue-copy p,
.no-role-rescue-button span,
.no-role-rescue-button strong,
.no-role-rescue-button small,
.no-role-rescue-steps strong,
.no-role-rescue-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.no-role-rescue-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.no-role-rescue-copy p {
  margin: 0;
  color: #764823;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.no-role-rescue-button {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: #172027;
  color: #fff;
  text-decoration: none;
}

.no-role-rescue-button:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.no-role-rescue-button span {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  opacity: 0.82;
}

.no-role-rescue-button strong {
  font-size: 31px;
  line-height: 1.03;
}

.no-role-rescue-button small {
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  opacity: 0.8;
}

.no-role-rescue-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.no-role-rescue-steps li {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 92px;
  padding: 10px;
  border: 1px solid #ead0a5;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.no-role-rescue-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sun);
  color: #172027;
  font-size: 13px;
  font-weight: 950;
}

.no-role-rescue-steps strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.12;
}

.no-role-rescue-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.first-day-pipeline-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.55fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: #f8fbff;
  border-color: #c6d8ee;
}

.first-day-pipeline-copy,
.first-day-pipeline-steps,
.first-day-pipeline-boundary {
  min-width: 0;
}

.first-day-pipeline-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 8px;
}

.first-day-pipeline-copy h3,
.first-day-pipeline-copy p,
.first-day-pipeline-steps strong,
.first-day-pipeline-steps small,
.first-day-pipeline-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-day-pipeline-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: 0;
}

.first-day-pipeline-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.first-day-pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-day-pipeline-steps li {
  min-width: 0;
}

.first-day-pipeline-steps a {
  min-width: 0;
  min-height: 106px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid #c6d8ee;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
}

.first-day-pipeline-steps li:first-child a {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.first-day-pipeline-steps a:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.first-day-pipeline-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sun);
  color: #172027;
  font-size: 13px;
  font-weight: 950;
}

.first-day-pipeline-steps strong {
  color: inherit;
  font-size: 19px;
  line-height: 1.08;
}

.first-day-pipeline-steps small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.8;
}

.first-day-pipeline-boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8e7;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.quick-start-mvp-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.quick-start-mvp-action {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid #bddbd4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.quick-start-mvp-action:focus-visible,
#quick-start-mvp-copy-button:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.quick-start-mvp-action.is-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.quick-start-mvp-action span {
  color: inherit;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  opacity: 0.82;
}

.quick-start-mvp-action strong {
  font-size: 21px;
  line-height: 1.08;
}

.quick-start-mvp-action small {
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0.8;
}

.quick-start-mvp-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #cfe2de;
}

.quick-start-mvp-proof div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  background: #ffffff;
}

.quick-start-mvp-proof dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
}

.quick-start-mvp-proof dd {
  margin: 0;
  color: var(--teal-dark);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.08;
}

.quick-start-mvp-copy-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
}

#quick-start-mvp-copy-button {
  min-width: 0;
  min-height: 56px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: #172027;
  color: #fff;
  font-weight: 950;
  line-height: 1.15;
  cursor: pointer;
}

.quick-start-mvp-copy-row p {
  margin: 0;
  color: #764823;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.quick-start-role-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: #f9fffd;
}

.quick-start-role-picker > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 4px 6px;
}

.quick-start-role-picker h3,
.quick-start-role-card strong,
.quick-start-role-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.quick-start-role-picker h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.quick-start-role-card {
  min-width: 0;
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid #c9ddd2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
}

.quick-start-role-card.is-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.quick-start-role-card:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.quick-start-role-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.quick-start-role-card span {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  opacity: 0.82;
}

.orchestration-strip {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(104px, 100%), 1fr));
  gap: 8px;
  padding: 10px 28px 12px;
  border-bottom: 1px solid var(--line);
  background: #fffdf6;
}

.orchestration-link {
  min-width: 0;
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e1e6df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.orchestration-link:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.orchestration-link-primary {
  border-color: rgba(15, 118, 110, 0.38);
  background: #edf7f4;
}

.orchestration-link span,
.orchestration-link strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.orchestration-link span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.orchestration-link strong {
  font-size: 14px;
  line-height: 1.18;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf3ef;
}

.mode-tabs button {
  min-width: 72px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.mode-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.switch,
.select-field,
.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.select-field span {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.select-field select {
  max-width: 280px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  outline: 0;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.next-command-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.55fr) minmax(300px, 0.9fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px 28px;
  border-bottom: 1px solid #b7d7d0;
  background: linear-gradient(90deg, #f8fffc 0%, #fffdf6 100%);
  box-shadow: 0 8px 22px rgba(14, 124, 123, 0.08);
}

.next-command-main,
.next-command-metrics,
.next-command-actions,
.next-command-list,
.next-command-boundary {
  min-width: 0;
}

.next-command-main h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.next-command-main p:last-child,
.next-command-boundary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.next-command-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.next-command-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #cfe2de;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.next-command-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.next-command-metrics dd {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
}

.next-command-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.next-command-actions button {
  min-width: 0;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.next-command-actions button:nth-child(4) {
  background: var(--ink);
}

.next-command-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.next-command-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-command-item {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d9e6dd;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.next-command-item strong,
.next-command-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.next-command-item strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.next-command-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.next-command-item em {
  justify-self: start;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.next-command-boundary {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  color: #764823;
  font-weight: 800;
}

.tomorrow-phase1-field-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr);
  gap: 14px;
  padding: 16px 28px;
  border-bottom: 1px solid #d8e2dd;
  background: #f5faf8;
}

.tomorrow-phase1-main,
.tomorrow-phase1-tracks {
  min-width: 0;
  padding: 14px;
  border: 1px solid #cfe2de;
  border-radius: 8px;
  background: #fff;
}

.tomorrow-phase1-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tomorrow-phase1-heading h2,
#tomorrow-phase1-summary,
.tomorrow-phase1-track-list strong,
.tomorrow-phase1-track-list p,
.tomorrow-phase1-track-list small,
.tomorrow-phase1-deferred-list strong,
.tomorrow-phase1-deferred-list span,
.tomorrow-phase1-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tomorrow-phase1-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

#tomorrow-phase1-summary,
.tomorrow-phase1-boundary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
}

.tomorrow-phase1-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.tomorrow-phase1-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #d8e7e2;
  border-radius: 8px;
  background: #f8fffd;
}

.tomorrow-phase1-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.tomorrow-phase1-metrics dd {
  margin: 5px 0 0;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
}

.tomorrow-open-now-panel {
  min-width: 0;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #d8e7e2;
  border-radius: 8px;
  background: #f8fffd;
}

.tomorrow-open-now-panel h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
}

.tomorrow-open-now-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tomorrow-open-now-item,
.tomorrow-open-now-item a {
  min-width: 0;
}

.tomorrow-open-now-item a {
  display: grid;
  gap: 5px;
  padding: 9px;
  border: 1px solid #d8e7e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.tomorrow-open-now-item.is-super a {
  border-left-color: var(--sun);
  background: #fffdf6;
}

.tomorrow-open-now-item strong,
.tomorrow-open-now-item p,
.tomorrow-open-now-item small,
.tomorrow-open-now-item em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tomorrow-open-now-item strong {
  font-size: 14px;
  line-height: 1.15;
}

.tomorrow-open-now-item p,
.tomorrow-open-now-item small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.32;
}

.tomorrow-open-now-item em {
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
}

.tomorrow-open-now-item.is-super em {
  background: #9b6a1d;
}

.tomorrow-phase1-tracks {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) minmax(210px, 0.62fr);
  gap: 10px;
}

.tomorrow-phase1-tracks section,
.tomorrow-phase1-boundary {
  min-width: 0;
}

.tomorrow-phase1-tracks h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
}

.tomorrow-phase1-track-list,
.tomorrow-phase1-deferred-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tomorrow-phase1-track,
.tomorrow-phase1-deferred-list li {
  min-width: 0;
}

.tomorrow-phase1-track a {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 11px;
  border: 1px solid #d8e7e2;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #fbfffd;
  color: var(--ink);
  text-decoration: none;
}

.tomorrow-phase1-track.is-super a {
  border-left-color: var(--sun);
  background: #fffdf6;
}

.tomorrow-phase1-track span,
.tomorrow-phase1-track em {
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.tomorrow-phase1-track span {
  background: #e7f5f1;
  color: var(--teal-dark);
}

.tomorrow-phase1-track.is-super span {
  background: #fff4d8;
  color: #6d4a1e;
}

.tomorrow-phase1-track strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
}

.tomorrow-phase1-track p,
.tomorrow-phase1-track small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.35;
}

.tomorrow-phase1-track em {
  color: #fff;
  background: var(--teal);
  font-style: normal;
}

.tomorrow-phase1-deferred-list li {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px dashed #d8e1dc;
  border-radius: 8px;
  background: #fbfaf6;
}

.tomorrow-phase1-deferred-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.tomorrow-phase1-deferred-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.35;
}

.tomorrow-phase1-boundary {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  color: #764823;
  font-weight: 900;
}

.start-card-ledger-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.62fr);
  gap: 14px;
  padding: 16px 28px;
  border-bottom: 1px solid #d8e2dd;
  background: #fbfaf6;
}

.start-card-ledger-main,
.start-card-proof {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d9e5dd;
  border-radius: 8px;
  background: #fff;
}

.start-card-ledger-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.start-card-ledger-heading h2,
.start-card-ledger-heading p,
#start-card-ledger-summary,
#start-card-ledger-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.start-card-ledger-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

#start-card-ledger-summary,
#start-card-ledger-boundary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.first-usable-mvp-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: #f3fbf8;
  box-shadow: 0 12px 28px rgba(14, 124, 123, 0.1);
}

.first-usable-mvp-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.first-usable-mvp-head h3,
.first-usable-mvp-head p,
#first-usable-mvp-status,
.first-usable-mvp-grid strong,
.first-usable-mvp-grid small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-usable-mvp-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

#first-usable-mvp-copy-button {
  min-width: 132px;
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 950;
  line-height: 1.15;
  cursor: pointer;
}

.first-usable-mvp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-usable-mvp-grid li {
  min-width: 0;
}

.first-usable-mvp-grid a {
  min-width: 0;
  min-height: 124px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid #bfddd6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.first-usable-mvp-grid span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.first-usable-mvp-grid strong {
  font-size: 18px;
  line-height: 1.12;
}

.first-usable-mvp-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.first-usable-mvp-grid em {
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  background: #fff4d8;
  color: #6d4a1e;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

#first-usable-mvp-status {
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8e8;
  color: #764823;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.foundation-loop-starter {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #cfe2de;
  border-radius: 8px;
  background: #ffffff;
}

.foundation-loop-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.foundation-loop-heading h4 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

.foundation-loop-heading span {
  flex: 0 0 auto;
  max-width: 104px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e4f6ef;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.foundation-loop-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.foundation-loop-block {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce7e0;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fbfffd;
}

.foundation-loop-block.is-current {
  border-left-color: var(--teal);
  background: #f2fbf8;
}

.foundation-loop-block > span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  background: #fff4d8;
  color: #7b5520;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.foundation-loop-block.is-current > span {
  background: #dff5ee;
  color: var(--teal-dark);
}

.foundation-loop-block > strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.foundation-loop-block p,
.foundation-loop-block li,
.foundation-loop-boundary,
.foundation-loop-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.foundation-loop-block ol,
.foundation-loop-steps {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foundation-loop-block li {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.foundation-loop-block li strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
}

.foundation-loop-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.foundation-loop-steps li {
  min-width: 0;
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #f7f7ff;
}

.foundation-loop-steps li > span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.foundation-loop-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
}

.foundation-loop-boundary {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8e8;
  color: #764823;
}

.start-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.start-card-actions a {
  min-width: 0;
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #cfe2de;
  border-radius: 8px;
  background: #eef9f6;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.start-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-card-item {
  min-width: 0;
  border: 1px solid #dce7e0;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.start-card-item.ready {
  border-left-color: var(--leaf);
}

.start-card-item.hold {
  border-left-color: var(--coral);
}

.start-card-item a {
  min-width: 0;
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}

.start-card-item-heading,
.start-card-item strong,
.start-card-item p,
.start-card-item em,
#start-card-ledger-next {
  min-width: 0;
  overflow-wrap: anywhere;
}

.start-card-item-heading {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.start-card-item strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
}

.start-card-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.35;
}

.start-card-item em,
#start-card-ledger-next {
  justify-self: start;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.15;
}

.start-card-proof {
  display: grid;
  align-content: start;
  gap: 10px;
}

.start-card-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.start-card-proof-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #cfe2de;
  border-radius: 8px;
  background: #f8fffc;
}

.start-card-proof-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.start-card-proof-metrics dd {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
}

.field-zero-training-strip {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e0c9b7;
  border-radius: 8px;
  background: #fffaf2;
}

.field-zero-training-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.field-zero-training-heading h3,
.field-zero-training-heading p,
#field-zero-training-state,
#field-zero-training-boundary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.field-zero-training-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

#field-zero-training-state {
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff0da;
  color: #764823;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

#field-zero-training-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-zero-training-item {
  min-width: 0;
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #eadccc;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.field-zero-training-item.ready {
  border-left-color: var(--teal);
}

.field-zero-training-item.hold {
  border-left-color: var(--coral);
}

.field-zero-training-item strong,
.field-zero-training-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.field-zero-training-item strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.field-zero-training-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.35;
}

.field-zero-training-item em {
  justify-self: start;
  padding: 5px 7px;
  border-radius: 8px;
  background: #f5efe2;
  color: #764823;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.15;
}

#field-zero-training-boundary {
  margin: 0;
  color: #764823;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  min-height: min(920px, max(720px, calc(100vh - 160px)));
  height: auto;
  overflow: visible;
}

.rail,
.coach {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #f4f7f4;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
}

.coach {
  border-right: 0;
  border-left: 1px solid var(--line);
  background: #f7f5ef;
  overflow: auto;
}

.index-page .rail,
.index-page .coach {
  order: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.index-page .rail {
  display: none;
}

.index-page .coach {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
  margin: 0 28px 28px;
  max-height: none;
  overflow: visible;
}

.rail h2,
.panel h2 {
  font-size: 15px;
}

.rail-subtitle {
  margin-top: 24px;
}

.rail ol {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
}

.rail li {
  border-radius: 8px;
}

.rail li button {
  width: 100%;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.rail li.active button {
  border-color: var(--teal);
  color: var(--ink);
  box-shadow: inset 4px 0 0 var(--teal);
}

.flow-list li button {
  min-height: 56px;
  font-size: 13px;
}

.flow-list .muted-flow {
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

.stage {
  display: grid;
  grid-template-rows: auto auto auto minmax(260px, 1fr) auto auto;
  gap: 22px;
  padding: 28px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.index-page .stage {
  overflow: visible;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stage-header h2 {
  font-size: 34px;
  line-height: 1.12;
}

.stage-actions {
  display: grid;
  grid-template-columns: minmax(104px, 1fr);
  gap: 10px;
  min-width: min(100%, 132px);
}

.tv-one-click-start {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 3px solid var(--teal);
  border-radius: 8px;
  background: #f6fffb;
  box-shadow: 0 18px 42px rgba(36, 82, 74, 0.12);
}

.tv-one-click-copy,
.tv-one-click-game-board,
.tv-one-click-actions,
.tv-one-click-status {
  min-width: 0;
}

.tv-one-click-copy h3,
.tv-one-click-copy p,
.tv-one-click-status {
  margin: 0;
  overflow-wrap: anywhere;
}

.tv-one-click-copy h3 {
  font-size: 28px;
  line-height: 1.08;
}

#tv-one-click-detail {
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.34;
}

.tv-one-click-game-board {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-rows: minmax(430px, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  min-height: 620px;
  padding: 16px;
  border: 3px solid #194c43;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(69, 153, 133, 0.08), 0 14px 30px rgba(23, 32, 39, 0.12);
}

.tv-one-click-picture {
  width: 100%;
  min-height: 430px;
  aspect-ratio: 6 / 5;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fffaf2;
  overflow: hidden;
}

.tv-one-click-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tv-one-click-cue {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f0faf6;
}

.tv-one-click-cue span,
.tv-one-click-cue strong,
.tv-one-click-cue em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tv-one-click-cue span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.tv-one-click-cue strong {
  color: var(--ink);
  font-size: 58px;
  font-weight: 950;
  line-height: 1.02;
  text-align: center;
}

.tv-one-click-cue em {
  justify-self: stretch;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #1d5a50;
  font-size: 40px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.16;
  text-align: center;
}

.tv-one-click-actions {
  display: grid;
  grid-template-rows: minmax(108px, auto) minmax(96px, auto);
  gap: 12px;
  align-self: stretch;
}

.tv-one-click-button,
.tv-one-click-response-button {
  scroll-margin-top: 180px;
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}

.tv-one-click-button {
  min-height: 128px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 0 #163c36;
}

.tv-one-click-response-button {
  min-height: 96px;
  border: 3px solid #123d37;
  background: #fff8d5;
  color: #172027;
  box-shadow: 0 10px 0 #a57b19;
}

.tv-one-click-response-button:disabled {
  border-color: #c8dfd8;
  background: #eef5f2;
  color: #6b7d78;
  box-shadow: none;
  cursor: not-allowed;
}

.tv-one-click-button span,
.tv-one-click-response-button span {
  font-size: 34px;
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.tv-one-click-button small,
.tv-one-click-response-button small {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.tv-one-click-button:focus-visible,
.tv-one-click-response-button:focus-visible {
  outline: 8px solid #111827;
  outline-offset: 5px;
  box-shadow: 0 0 0 7px #f4c95d, 0 12px 0 #163c36;
}

.tv-one-click-response-button:focus-visible {
  outline-color: #111827;
  background: #ffffff;
  color: #172027;
  box-shadow: 0 0 0 7px #24524a, 0 10px 0 #a57b19;
}

.tv-one-click-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-one-click-steps li {
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 2px solid #c8dfd8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.tv-one-click-steps li.current {
  border-color: var(--teal);
  background: #e7f7f2;
}

.tv-one-click-status {
  grid-column: 1 / -1;
  color: #74644e;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.tv-remote-guide {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.28fr);
  gap: 14px;
  align-items: stretch;
  padding: 14px 16px;
  border: 2px solid #c8dfd8;
  border-radius: 8px;
  background: #fbfffd;
}

.tv-remote-guide-main,
.tv-remote-guide-status {
  min-width: 0;
}

.tv-remote-guide h3,
.tv-remote-guide p {
  margin: 0;
  overflow-wrap: anywhere;
}

.tv-remote-guide h3 {
  font-size: 22px;
  line-height: 1.18;
}

#tv-remote-guide-detail {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.tv-remote-guide-status {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-height: 86px;
  padding: 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  text-align: center;
}

.tv-remote-guide-status strong {
  font-size: 30px;
  line-height: 1;
}

.tv-remote-guide-status span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tv-remote-box-mode {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #24524a;
  border-radius: 8px;
  background: #f5fbf8;
  box-shadow: 0 12px 30px rgba(36, 82, 74, 0.1);
}

.tv-remote-box-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.tv-remote-box-mode-head h3,
.tv-remote-box-mode-head p,
.tv-remote-box-mode-grid dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.tv-remote-box-mode-head h3 {
  font-size: 24px;
  line-height: 1.12;
}

#tv-remote-mode-key {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

.tv-remote-box-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tv-remote-box-mode-grid div {
  min-width: 0;
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid #c8dfd8;
  border-radius: 8px;
  background: #fff;
}

.tv-remote-box-mode-grid dt {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.tv-remote-box-mode-grid dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.22;
}

.tv-analysis-loop {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(220px, 0.52fr) minmax(230px, 0.42fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border: 2px solid #d1e4dc;
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: 0 12px 30px rgba(116, 100, 78, 0.1);
}

.tv-analysis-loop[data-loop-state="analysis_ready"] {
  border-color: var(--sun);
  background: #fffaf0;
}

.tv-analysis-loop-copy,
.tv-analysis-loop-metrics,
.tv-analysis-loop-button,
.tv-analysis-loop-steps,
.tv-analysis-loop-boundary {
  min-width: 0;
}

.tv-analysis-loop-copy h3,
.tv-analysis-loop-copy p {
  margin: 0;
  overflow-wrap: anywhere;
}

.tv-analysis-loop-copy h3 {
  font-size: 24px;
  line-height: 1.12;
}

#tv-analysis-summary {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
}

.tv-analysis-loop-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tv-analysis-loop-metrics div {
  display: grid;
  align-content: center;
  min-height: 78px;
  padding: 10px;
  border: 1px solid #e0d5c3;
  border-radius: 8px;
  background: #fff;
}

.tv-analysis-loop-metrics dt {
  color: #74644e;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.tv-analysis-loop-metrics dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.tv-analysis-loop-button {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #7b3f18;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 0 #4f260d;
}

.tv-analysis-loop-button[data-loop-locked="true"] {
  background: #f7f2ea;
  color: #4d3f31;
  box-shadow: inset 0 0 0 2px #d9cdbb;
}

.tv-analysis-loop-button span,
.tv-analysis-loop-button strong,
.tv-analysis-loop-button small {
  overflow-wrap: anywhere;
}

.tv-analysis-loop-button span {
  font-size: 13px;
  font-weight: 950;
  opacity: 0.86;
}

.tv-analysis-loop-button strong {
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
}

.tv-analysis-loop-button small {
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.tv-analysis-loop-button:focus-visible {
  outline: 5px solid var(--sun);
  outline-offset: 4px;
}

.tv-analysis-loop-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-analysis-loop-steps li {
  min-width: 0;
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid #e0d5c3;
  border-radius: 8px;
  background: #fff;
}

.tv-analysis-loop-steps li[data-status="done"] {
  border-color: #93cbbd;
  background: #f1fbf7;
}

.tv-analysis-loop-steps li[data-status="active"] {
  border-color: var(--sun);
  background: #fff6dc;
}

.tv-analysis-loop-steps li[data-status="hold"] {
  background: #f7f2ea;
}

.tv-analysis-loop-steps strong,
.tv-analysis-loop-steps small {
  overflow-wrap: anywhere;
}

.tv-analysis-loop-steps strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.tv-analysis-loop-steps small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.tv-analysis-loop-boundary {
  grid-column: 1 / -1;
  margin: 0;
  color: #74644e;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.tv-remote-acceptance {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #d9e8e2;
  border-radius: 8px;
  background: #fff;
}

.tv-remote-acceptance-head,
.tv-remote-acceptance-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.tv-remote-acceptance h3,
.tv-remote-acceptance p {
  margin: 0;
}

.tv-remote-acceptance h3 {
  font-size: 20px;
  line-height: 1.2;
}

#tv-remote-acceptance-state {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf7f6;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#tv-remote-acceptance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#tv-remote-acceptance-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
}

#tv-remote-acceptance-list li.ready {
  border-color: #93cbbd;
  background: #f2fbf7;
}

#tv-remote-acceptance-list strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

#tv-remote-acceptance-list li.ready strong {
  background: var(--teal);
}

#tv-remote-acceptance-list div {
  min-width: 0;
}

#tv-remote-acceptance-list span {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#tv-remote-acceptance-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#tv-remote-acceptance-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

#tv-remote-acceptance-log {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.tv-remote-acceptance-foot > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 8px;
  min-width: min(100%, 250px);
}

.tv-remote-acceptance-foot button {
  min-height: 56px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.tv-remote-acceptance-foot button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.tv-remote-acceptance-boundary {
  color: #74644e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.stage-live-room-quickstart {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 2px solid #d6c58f;
  border-radius: 8px;
  background: #fffdf4;
}

.stage-live-room-head,
.stage-live-room-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.stage-live-room-head h3,
.stage-live-room-quickstart p {
  margin: 0;
}

.stage-live-room-head h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#stage-live-room-state {
  flex: 0 1 auto;
  min-width: 0;
  padding: 6px 9px;
  border-radius: 8px;
  background: #fff;
  color: #7b5d13;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

#stage-live-room-summary,
#stage-live-room-action {
  color: #655635;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.stage-live-room-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.stage-live-room-metrics div {
  min-width: 0;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.stage-live-room-metrics dt {
  color: #7b5d13;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
}

.stage-live-room-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.stage-live-room-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-live-room-item,
.stage-live-room-gate {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #eadbb4;
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fff;
}

.stage-live-room-item {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 118px;
}

.stage-live-room-gate {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
}

.stage-live-room-item.ready,
.stage-live-room-gate.ready {
  border-left-color: var(--teal);
}

.stage-live-room-item.hold,
.stage-live-room-gate.hold {
  border-left-color: var(--coral);
}

.stage-live-room-item strong,
.stage-live-room-item span,
.stage-live-room-item p,
.stage-live-room-item small,
.stage-live-room-gate strong,
.stage-live-room-gate span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stage-live-room-item strong,
.stage-live-room-gate strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.stage-live-room-item p {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.stage-live-room-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.stage-live-room-item > span,
.stage-live-room-gate > span {
  align-self: start;
  max-width: 112px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #fff8dc;
  color: #7b5d13;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.stage-live-room-actions {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
}

.stage-live-room-actions button {
  min-height: 56px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #8a6a18;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stage-live-room-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.real-remote-drill-suite {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #f8fbfa;
}

.real-remote-drill-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.real-remote-drill-heading h4,
.real-remote-drill-suite p {
  margin: 0;
}

.real-remote-drill-heading h4 {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

#real-remote-drill-state {
  flex: 0 1 auto;
  max-width: min(100%, 220px);
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: right;
  white-space: normal;
  word-break: break-word;
}

#real-remote-drill-summary,
#real-remote-drill-action {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.real-remote-one-screen,
.real-remote-room-setup,
.real-remote-quick-script,
.teacher-review-one-screen {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #f1d7a6;
  border-radius: 8px;
  background: #fffaf0;
}

.teacher-review-one-screen {
  border-color: #b8dfd6;
  background: #f3fbf9;
}

.real-remote-quick-script {
  border-color: #d0dde7;
  background: #f7fbff;
}

.real-remote-room-setup {
  border-color: #c9d9ba;
  background: #f7fbf2;
}

.real-remote-one-screen-head,
.real-remote-room-setup-head,
.real-remote-quick-script-head,
.teacher-review-one-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.real-remote-one-screen-head strong,
.real-remote-room-setup-head strong,
.real-remote-quick-script-head strong,
.teacher-review-one-screen-head strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#real-remote-one-screen-state,
#real-remote-room-setup-state,
#real-remote-quick-script-state,
#teacher-review-one-screen-state {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #8b6a18;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

#teacher-review-one-screen-state {
  color: var(--teal-dark);
}

#real-remote-quick-script-state {
  color: #32658c;
}

#real-remote-room-setup-state {
  color: #53732d;
}

#real-remote-one-screen-rule,
#real-remote-room-setup-rule,
#real-remote-room-setup-capture,
#real-remote-room-setup-child,
#real-remote-quick-script-opening,
#real-remote-quick-script-closing,
#teacher-review-one-screen-rule {
  margin: 0;
  color: #6c5a2d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#teacher-review-one-screen-rule {
  color: var(--teal-dark);
}

#real-remote-quick-script-opening,
#real-remote-quick-script-closing {
  color: #32658c;
}

#real-remote-room-setup-rule,
#real-remote-room-setup-capture,
#real-remote-room-setup-child {
  color: #53732d;
}

#real-remote-one-screen-list,
#real-remote-room-setup-list,
#real-remote-quick-script-list,
#teacher-review-one-screen-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#real-remote-one-screen-list .mini-item {
  border-left-color: #d8991d;
  background: #fffdf8;
}

#real-remote-room-setup-list .mini-item {
  border-left-color: #78a64b;
  background: #fbfff8;
}

#real-remote-quick-script-list .mini-item {
  border-left-color: #5a9ac8;
  background: #fff;
}

#teacher-review-one-screen-list .mini-item {
  border-left-color: var(--teal);
  background: #f9fffd;
}

.teacher-review-one-screen-actions {
  display: grid;
  grid-template-columns: minmax(156px, 1fr);
  gap: 8px;
  min-width: 0;
}

.teacher-review-one-screen-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.teacher-review-one-screen-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.teacher-review-one-screen-output {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid #b8dfd6;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  font: 800 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

#real-remote-drill-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.real-remote-drill-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(126px, 1fr));
  gap: 8px;
}

.real-remote-drill-actions button {
  min-height: 50px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.real-remote-drill-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.real-remote-draft-builder {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #b8dfd6;
  border-radius: 8px;
  background: #f3fbf9;
}

.real-remote-draft-heading,
.real-remote-draft-meta,
.real-remote-draft-actions,
.real-remote-draft-step-controls {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.real-remote-draft-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.real-remote-draft-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

#real-remote-draft-state {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

#real-remote-draft-summary {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.real-remote-draft-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.real-remote-draft-progress div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid #cde4df;
  border-radius: 8px;
  background: #fff;
}

.real-remote-draft-progress dt,
.real-remote-draft-progress dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.real-remote-draft-progress dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.real-remote-draft-progress dd {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

.real-remote-acceptance-ladder {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #cde4df;
  border-radius: 8px;
  background: #fff;
}

.real-remote-acceptance-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.real-remote-acceptance-heading strong,
#real-remote-acceptance-summary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-acceptance-heading strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

#real-remote-acceptance-state {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#real-remote-acceptance-summary {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
}

#real-remote-acceptance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.real-remote-acceptance-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #d8e4e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.real-remote-acceptance-item.ready {
  border-color: #badcc4;
  border-left-color: var(--leaf);
  background: #f8fff7;
}

.real-remote-acceptance-item div,
.real-remote-acceptance-item strong,
.real-remote-acceptance-item p,
.real-remote-acceptance-item small,
.real-remote-acceptance-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-acceptance-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.real-remote-acceptance-item p,
.real-remote-acceptance-item small {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.real-remote-acceptance-item small {
  color: var(--muted);
}

.real-remote-acceptance-item span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.real-remote-next-step {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #cde4df;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.real-remote-next-step.blocking {
  border-color: #f0c4b7;
  border-left-color: var(--coral);
  background: #fff7f3;
}

.real-remote-next-step.ready {
  border-color: #badcc4;
  border-left-color: var(--leaf);
  background: #f8fff7;
}

.real-remote-next-step strong,
.real-remote-next-step p,
.real-remote-next-step small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-next-step strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.real-remote-next-step p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.real-remote-next-step small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.real-remote-pass-examples {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #f8fbfa;
}

.real-remote-pass-examples > strong,
.real-remote-pass-examples div,
.real-remote-pass-examples span,
.real-remote-pass-examples p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-pass-examples > strong {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.real-remote-pass-examples div {
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
}

.real-remote-pass-examples span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.real-remote-pass-examples p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.32;
}

.real-remote-pass-examples div:last-child {
  background: #fff7f3;
}

.real-remote-pass-examples div:last-child span,
.real-remote-pass-examples div:last-child p {
  color: #8d3426;
}

.real-remote-fill-choice {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d9e3dd;
  border-radius: 8px;
  background: #f9fcf8;
}

.real-remote-fill-choice-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.real-remote-fill-choice-heading strong,
.real-remote-fill-choice-heading span,
.real-remote-fill-choice p,
.real-remote-fill-choice small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-fill-choice-heading strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
}

.real-remote-fill-choice-heading span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff6d7;
  color: #7d4c08;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.real-remote-fill-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.real-remote-fill-choice p {
  display: grid;
  gap: 4px;
  min-height: 86px;
  margin: 0;
  padding: 10px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #fff;
}

.real-remote-fill-choice p:first-child {
  border-color: #b6d9c9;
  background: #f2fbf6;
}

.real-remote-fill-choice p:nth-child(2) {
  border-color: #e2c9a8;
  background: #fff9ef;
}

.real-remote-fill-choice p:nth-child(3) {
  border-color: #d0d8e3;
  background: #f8fafc;
}

.real-remote-fill-choice p strong {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
}

.real-remote-fill-choice p span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.real-remote-fill-choice small {
  color: #8d3426;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.real-remote-fill-checklist {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #ffffff;
}

.real-remote-fill-checklist-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.real-remote-fill-checklist-heading strong,
.real-remote-fill-checklist-heading span,
.real-remote-fill-checklist small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-fill-checklist-heading strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
}

.real-remote-fill-checklist-heading span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

#real-remote-fill-checklist-list {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.real-remote-fill-checklist-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid #d8e4e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f8fbfa;
}

.real-remote-fill-checklist-item.pending {
  border-left-color: var(--coral);
  background: #fff9ef;
}

.real-remote-fill-checklist-item div,
.real-remote-fill-checklist-item strong,
.real-remote-fill-checklist-item p,
.real-remote-fill-checklist-item small,
.real-remote-fill-checklist-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-fill-checklist-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
}

.real-remote-fill-checklist-item p,
.real-remote-fill-checklist-item small {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.real-remote-fill-checklist-item small {
  color: #8d3426;
}

.real-remote-fill-checklist-item > span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#real-remote-fill-checklist-copy {
  width: 100%;
}

.real-remote-fill-checklist small {
  color: #8d3426;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.real-remote-draft-risk-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.real-remote-draft-risk-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d8e4e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.real-remote-draft-risk-item.blocking {
  border-color: #f0c4b7;
  border-left-color: var(--coral);
  background: #fff7f3;
}

.real-remote-draft-risk-item span,
.real-remote-draft-risk-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.real-remote-draft-risk-item span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.real-remote-draft-risk-item strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.real-remote-draft-risk-item.blocking strong {
  background: rgba(198, 91, 75, 0.12);
  color: #8d3426;
}

.real-remote-draft-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.real-remote-draft-meta label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.real-remote-draft-meta input[type="text"],
.real-remote-draft-step-controls input,
.real-remote-draft-step-controls select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #b8dfd6;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.real-remote-draft-confirm {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
}

.real-remote-draft-confirm input {
  flex: 0 0 auto;
}

#real-remote-draft-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.real-remote-draft-step {
  align-items: stretch;
}

.real-remote-draft-step.current {
  border-color: #d5a73c;
  box-shadow: 0 0 0 2px rgba(213, 167, 60, 0.18);
}

.real-remote-draft-step.current > span {
  background: #fff5d6;
  color: #6d4a08;
}

.real-remote-draft-observation-hint {
  margin: 5px 0 0;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.real-remote-draft-step-controls {
  grid-template-columns: minmax(92px, 0.35fr) minmax(0, 1fr);
  margin-top: 8px;
}

.real-remote-draft-actions {
  grid-template-columns: repeat(5, minmax(112px, 1fr));
}

.real-remote-draft-actions button {
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.real-remote-draft-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.real-remote-draft-inbox-note {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d8efe9;
  border-radius: 8px;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.c920-field-draft-panel {
  display: grid;
  gap: 12px;
}

.c920-field-draft-heading,
.c920-field-draft-meta,
.c920-field-draft-actions,
.c920-field-draft-check-controls {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.c920-field-draft-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.c920-field-draft-heading h2 {
  margin: 0;
}

#c920-field-draft-state {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef7f5;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#c920-field-draft-summary,
#c920-field-draft-note {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.c920-field-draft-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c920-field-draft-meta label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.c920-field-draft-meta input[type="text"],
.c920-field-draft-check-controls input,
.c920-field-draft-check-controls select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #b8dfd6;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.c920-field-draft-confirm {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f3fbf9;
}

.c920-field-draft-confirm input {
  flex: 0 0 auto;
}

.c920-field-draft-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.c920-field-draft-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #fff;
}

.c920-field-draft-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.c920-field-draft-metrics dd {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.c920-field-draft-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.c920-field-draft-progress div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #fff;
}

.c920-field-draft-progress dt,
.c920-field-draft-progress dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.c920-field-draft-progress dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.c920-field-draft-progress dd {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

.c920-field-acceptance-ladder {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d8e4e2;
  border-radius: 8px;
  background: #f8fcfb;
}

.c920-field-acceptance-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.c920-field-acceptance-heading strong,
#c920-field-acceptance-summary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.c920-field-acceptance-heading strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

#c920-field-acceptance-state {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#c920-field-acceptance-summary {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
}

#c920-field-acceptance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c920-field-acceptance-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #d8e4e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.c920-field-acceptance-item.ready {
  border-color: #badcc4;
  border-left-color: var(--leaf);
  background: #f8fff7;
}

.c920-field-acceptance-item div,
.c920-field-acceptance-item strong,
.c920-field-acceptance-item p,
.c920-field-acceptance-item small,
.c920-field-acceptance-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.c920-field-acceptance-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.c920-field-acceptance-item p,
.c920-field-acceptance-item small {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.c920-field-acceptance-item small {
  color: var(--muted);
}

.c920-field-acceptance-item span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.c920-field-next-check {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #d8e4e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.c920-field-next-check.blocking {
  border-color: #f0c4b7;
  border-left-color: var(--coral);
  background: #fff7f3;
}

.c920-field-next-check.ready {
  border-color: #badcc4;
  border-left-color: var(--leaf);
  background: #f8fff7;
}

.c920-field-next-check strong,
.c920-field-next-check p,
.c920-field-next-check small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.c920-field-next-check strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.c920-field-next-check p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.c920-field-next-check small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.c920-field-draft-risk-list,
.c920-field-draft-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c920-field-draft-risk-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d8e4e2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.c920-field-draft-risk-item.blocking {
  border-color: #f0c4b7;
  border-left-color: var(--coral);
  background: #fff7f3;
}

.c920-field-draft-risk-item span,
.c920-field-draft-risk-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.c920-field-draft-risk-item span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.c920-field-draft-risk-item strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(36, 82, 74, 0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.c920-field-draft-risk-item.blocking strong {
  background: rgba(198, 91, 75, 0.12);
  color: #8d3426;
}

.c920-field-draft-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.c920-field-draft-check {
  align-items: stretch;
}

.c920-field-draft-detail-hint {
  margin: 5px 0 0;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.c920-field-draft-check-controls {
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  margin-top: 8px;
}

.c920-field-draft-actions {
  grid-template-columns: repeat(3, minmax(112px, 1fr));
}

.c920-field-draft-actions button {
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.c920-field-draft-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.primary-action {
  min-width: 116px;
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.secondary-action {
  min-width: 104px;
  min-height: 56px;
  padding: 10px 18px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-weight: 900;
}

.flow-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.flow-banner h3,
.flow-banner p {
  margin: 0;
}

.flow-banner h3 {
  font-size: 20px;
  line-height: 1.25;
}

#workflow-focus,
#workflow-success {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

#workflow-success {
  display: grid;
  align-content: center;
  min-height: 84px;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff4df;
  color: #7a4e00;
  font-weight: 800;
}

.primary-action:hover,
.response-grid button:hover,
.card-button:hover {
  transform: translateY(-1px);
}

.cards {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  align-content: center;
}

.card-button {
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto;
  gap: 16px;
  min-height: 318px;
  padding: 18px;
  border: 3px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.card-button.active {
  border-color: #111827;
  box-shadow: 0 0 0 6px #f4c95d, var(--shadow);
}

.card-button:focus-visible {
  outline: 8px solid #111827;
  outline-offset: 4px;
  border-color: #f4c95d;
  box-shadow: 0 0 0 7px #f4c95d, var(--shadow);
}

.card-button img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  aspect-ratio: 6 / 5;
  object-fit: contain;
}

.card-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}

.step-strip {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-strip ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-strip li {
  min-height: 68px;
  padding: 10px;
  border-radius: 8px;
  background: #f3f6f8;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.asset-strip {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.asset-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.asset-strip h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

#asset-status {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.asset-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 160px);
  gap: 12px;
  overflow-x: auto;
  padding-top: 14px;
}

.asset-item {
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: 100px auto;
  gap: 8px;
}

.asset-item img,
.asset-item audio {
  width: 100%;
  height: 100px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.asset-item figcaption,
.asset-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.panel {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  min-width: 0;
  overflow-wrap: anywhere;
}

.command-panel {
  border-color: #b7d7d0;
  background: #f8fffc;
  box-shadow: 0 10px 26px rgba(14, 124, 123, 0.1);
}

.module-router-panel {
  border-color: #c8d7e8;
  background: #f8fbff;
}

.module-router-now-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #c8d7e8;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f4fbff;
  box-shadow: 0 8px 22px rgba(33, 79, 105, 0.08);
}

.module-router-now-card[data-route-state="field"] {
  border-left-color: #b7791f;
  background: #fffaf0;
}

.module-router-now-card[data-route-state="approval"],
.module-router-now-card[data-route-state="paused"] {
  border-left-color: #8a3b30;
  background: #fff8f6;
}

.module-router-now-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.module-router-now-head > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.module-router-now-head span,
.module-router-now-head strong,
.module-router-now-head p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

#module-router-now-kicker,
#module-router-now-count {
  font-size: 12px;
  font-weight: 900;
  color: var(--teal-dark);
}

#module-router-now-title {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

#module-router-now-detail {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

#module-router-now-count {
  flex: 0 0 auto;
  max-width: 110px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  line-height: 1.25;
}

.module-router-now-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-router-now-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(64px, 0.22fr) minmax(0, 1fr) minmax(58px, auto);
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(33, 79, 105, 0.12);
  border-radius: 8px;
  background: #fff;
}

.module-router-now-item > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.module-router-now-item strong,
.module-router-now-item p,
.module-router-now-item small,
.module-router-now-badge,
.module-router-now-status,
.module-router-now-boundary span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.module-router-now-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.module-router-now-item p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.module-router-now-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.module-router-now-badge,
.module-router-now-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #eaf5f3;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.module-router-now-item.watch .module-router-now-badge,
.module-router-now-item.watch .module-router-now-status {
  background: #fff3d8;
  color: #7a4f00;
}

.module-router-now-item.hold .module-router-now-badge,
.module-router-now-item.hold .module-router-now-status {
  background: #ffe8e4;
  color: #8a3b30;
}

.module-router-now-boundary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.module-router-now-boundary span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.cross-system-panel {
  border-color: #b9d2c8;
  background: #f8fffb;
}

.local-self-check-panel {
  border-color: #c8d7e8;
  background: #f8fbff;
}

.role-evidence-panel {
  border-color: #ead28d;
  background: #fffdf5;
}

.human-inbox-panel {
  border-color: #c6d6a4;
  background: #fbfff4;
}

.human-preflight-router-panel {
  border-color: #d5c6a5;
  background: #fffdf7;
}

.today-closure-pack,
.gap-preflight-bridge-pack,
.preflight-result-handoff-card,
.preflight-execution-boundary-card {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #d9cfae;
  border-radius: 8px;
  background: #fffaf0;
}

.preflight-execution-boundary-card {
  border-color: #cda15c;
  background: #fff8e8;
}

.preflight-result-handoff-card {
  border-color: #b8c6a1;
  background: #fbfff4;
}

.today-closure-pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.today-closure-pack-head h3 {
  margin: 2px 0 0;
  font-size: 17px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#human-preflight-closure-state,
#human-preflight-result-handoff-state,
#human-preflight-gap-bridge-state {
  flex: 0 1 auto;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f1ead6;
  color: #67501e;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

#human-preflight-closure-summary,
#human-preflight-result-handoff-summary,
#human-preflight-human-decision-archive-summary,
#human-preflight-gap-bridge-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.domestic-entry-panel {
  border-color: #c7d6be;
  background: #fbfff8;
}

.activity-library-panel {
  border-color: #d4c4e7;
  background: #fbf9ff;
}

.activity-runtime-panel {
  border-color: #b9d7d0;
  background: #f8fffd;
}

.activity-dry-run-panel {
  border-color: #c7d2a5;
  background: #fcfff5;
}

.lesson-runtime-kernel-panel {
  border-color: #b7d7d0;
  background: #f7fffc;
  box-shadow: 0 12px 30px rgba(14, 124, 123, 0.08);
}

.multimodal-evidence-panel {
  border-color: #c6d9ba;
  background: #fbfff7;
}

.notification-deeplink-panel {
  border-color: #b8d5dd;
  background: #f7fcff;
}

.susan-interaction-eval-panel {
  border-color: #d2c59e;
  background: #fffdf5;
}

.panel-heading,
.operator-actions,
.command-actions,
.field-evidence-actions,
.c920-bridge-actions,
.room-service-actions,
.mobile-capture-actions,
.role-packet-actions,
.human-inbox-actions,
.human-preflight-router-actions,
.domestic-entry-actions,
.susan-operator-actions,
.teacher-handoff-actions,
.remediation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.panel-heading h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.status-pill,
.proof-chips span {
  flex: 0 1 auto;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.operator-progress,
#xiaoe-next-status,
.operator-warning,
.system-summary,
#command-action,
#local-self-check-action,
#role-evidence-action,
#human-inbox-action,
#local-workspace-action,
#human-preflight-router-action,
#domestic-entry-action,
#dispatch-plan-action,
#cross-platform-action,
#notification-deeplink-action,
#susan-interaction-eval-action,
#cross-thread-action,
#live-room-action,
#field-evidence-action,
#c920-bridge-action,
#teacher-handoff-action,
#susan-operator-action,
#field-evidence-precheck-summary,
#teacher-review-precheck-summary,
#susan-owner-precheck-summary,
#teacher-note,
#parent-note,
#next-action,
#onboarding-action,
#card-quality-action,
#guided-demo-action,
#privacy-guard-action,
#launch-action,
#pilot-action,
#week-review-action,
#workspace-action,
#teacher-action-safety,
#remediation-action,
#principal-action,
#kindergarten-action,
#publish-decision {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

[data-copy-state="ready"] {
  color: var(--teal-dark) !important;
  font-weight: 900;
}

[data-copy-state="hold"] {
  color: #945600 !important;
  font-weight: 900;
}

[data-copy-state="fallback"] {
  color: #315f72 !important;
  font-weight: 900;
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.proof-chips .empty-chip {
  background: #f3f6f8;
  color: var(--muted);
}

.local-self-check-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.local-self-check-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d6e2eb;
}

.local-self-check-metrics dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.local-self-check-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.local-self-check-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.local-self-check-diagnostic {
  margin: 10px 0 0;
  color: #667789;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.local-self-check-actions button {
  min-height: 56px;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.local-self-check-actions button:nth-child(2) {
  background: var(--ink);
}

.local-self-check-actions button:nth-child(3) {
  background: #7d3441;
}

.local-self-check-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.real-remote-evidence-guide {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.real-remote-evidence-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}

.real-remote-evidence-heading span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf7f6;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#real-remote-evidence-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.operator-next {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.operator-next h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.operator-actions {
  margin-top: 14px;
}

.command-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.command-actions,
.field-evidence-actions,
.c920-bridge-actions,
.room-service-actions,
.mobile-capture-actions,
.role-packet-actions,
.human-inbox-actions,
.human-preflight-router-actions,
.domestic-entry-actions,
.susan-operator-actions,
.teacher-handoff-actions {
  margin-top: 14px;
}

.operator-actions button {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.command-actions button {
  min-height: 56px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.module-router-actions button {
  min-height: 56px;
}

.field-evidence-actions button {
  min-height: 56px;
  flex: 1 1 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.c920-bridge-actions button {
  min-height: 56px;
  flex: 1 1 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.room-service-runner {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mobile-capture-runner {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mobile-capture-preview {
  display: grid;
  gap: 8px;
}

.mobile-capture-preview video {
  width: 100%;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101820;
  object-fit: cover;
}

.mobile-capture-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.room-service-url-field {
  display: grid;
  gap: 6px;
}

.room-service-url-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.room-service-url-field input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.room-service-phone-url-field input {
  font-size: 12px;
  font-weight: 800;
}

.room-service-entry-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.room-service-entry-actions {
  display: grid;
  margin-top: 8px;
}

.room-service-entry-actions button {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.room-service-entry-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.room-service-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.room-service-actions button {
  min-height: 52px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.room-service-actions button:nth-child(6) {
  background: #7d3441;
}

.room-service-log {
  margin-top: 12px;
}

.mobile-capture-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-capture-actions button {
  min-height: 56px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.mobile-capture-actions button:nth-child(5) {
  grid-column: 1 / -1;
  background: #7d3441;
}

.mobile-capture-log {
  margin-top: 0;
}

.role-packet-actions button {
  min-height: 56px;
  flex: 1 1 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.human-inbox-actions button {
  min-height: 44px;
  flex: 1 1 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.human-preflight-router-actions button {
  min-height: 56px;
}

.human-closure-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.susan-operator-actions button {
  min-height: 56px;
  flex: 1 1 140px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.susan-operator-actions {
  flex-wrap: wrap;
}

.teacher-handoff-actions button {
  min-height: 56px;
  flex: 1 1 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.domestic-entry-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-actions button:disabled,
.command-actions button:disabled,
.field-evidence-actions button:disabled,
.c920-bridge-actions button:disabled,
.room-service-actions button:disabled,
.mobile-capture-actions button:disabled,
.role-packet-actions button:disabled,
.human-closure-actions button:disabled,
.human-inbox-actions button:disabled,
.human-preflight-router-actions button:disabled,
.domestic-entry-actions button:disabled,
.susan-operator-actions button:disabled,
.teacher-handoff-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

#xiaoe-command {
  max-height: 170px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #f3f6f8;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.operator-warning {
  color: #8a3b30;
  font-weight: 800;
}

.system-metrics,
.command-metrics,
.module-router-metrics,
.domestic-entry-metrics,
.readiness-metrics,
.onboarding-metrics,
.card-quality-metrics,
.guided-demo-metrics,
.privacy-guard-metrics,
.handoff-metrics,
.field-evidence-metrics,
.human-closure-metrics,
.human-inbox-metrics,
.local-workspace-metrics,
.human-preflight-router-metrics,
.c920-bridge-metrics,
.realtime-agent-metrics,
.activity-runtime-metrics,
.activity-dry-run-metrics,
.pilot-retro-metrics,
.second-week-metrics,
.burn-down-metrics,
.remaining-gap-metrics,
.completion-proof-metrics,
.multimodal-evidence-metrics,
.chapter-agent-metrics,
.chapter-playtest-metrics,
.lesson-runtime-kernel-metrics,
.cross-platform-app-metrics,
.notification-deeplink-metrics,
.susan-interaction-eval-metrics,
.cross-thread-metrics,
.cross-system-metrics,
.live-room-metrics,
.room-service-metrics,
.live-room-state-machine-metrics,
.room-service-runtime-metrics,
.mobile-capture-metrics,
.susan-operator-metrics,
.unattended-metrics,
.unattended-next-metrics,
.teacher-handoff-metrics,
.remediation-metrics,
.launch-metrics,
.pilot-metrics,
.week-review-metrics,
.kindergarten-metrics,
.class-metrics,
.principal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.realtime-agent-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-library-metrics,
.activity-runtime-metrics,
.activity-dry-run-metrics,
.pilot-retro-metrics,
.second-week-metrics,
.burn-down-metrics,
.remaining-gap-metrics,
.chapter-agent-metrics,
.chapter-playtest-metrics,
.cross-platform-app-metrics,
.notification-deeplink-metrics,
.susan-interaction-eval-metrics,
.cross-thread-metrics,
.cross-system-metrics,
.legacy-thread-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-router-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.burn-down-decision-archive {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(14, 124, 123, 0.22);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f3fbfa;
}

.burn-down-decision-archive strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.burn-down-decision-archive p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#burn-down-decision-archive-state {
  flex: 0 1 auto;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #e5f2ef;
  color: #24524a;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.decision-archive-link-line {
  overflow-wrap: anywhere;
}

.unattended-next-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.machine-run-receipt {
  min-width: 0;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(14, 124, 123, 0.22);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f3fbfa;
}

.machine-run-receipt-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.machine-run-receipt-head h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.machine-run-receipt-head > span {
  max-width: 170px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
}

.machine-run-receipt-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}

.machine-run-receipt-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(14, 124, 123, 0.12);
}

.machine-run-receipt-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.machine-run-receipt-metrics dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.machine-run-receipt-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.machine-run-receipt-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

#machine-run-receipt-proof {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.domestic-entry-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.local-workspace-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.human-preflight-router-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.burn-down-metrics,
.remaining-gap-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.completion-proof-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.completion-proof-reconciliation,
.completion-proof-gap-bridge {
  min-width: 0;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(14, 124, 123, 0.2);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f3fbfa;
}

.completion-proof-reconciliation-head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.completion-proof-reconciliation-head strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.completion-proof-reconciliation-head span {
  max-width: 168px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.completion-proof-reconciliation-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.completion-proof-reconciliation-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(14, 124, 123, 0.12);
}

.completion-proof-reconciliation-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.completion-proof-reconciliation-metrics dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.completion-proof-reconciliation-list {
  margin-top: 10px;
}

.multimodal-evidence-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cross-system-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chapter-agent-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chapter-playtest-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chapter-playtest-current {
  min-width: 0;
  margin-top: 14px;
}

.chapter-playtest-current-inner {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f4fbfb;
}

.chapter-playtest-current-inner strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.chapter-playtest-current-inner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.chapter-playtest-current-inner > span {
  max-width: 112px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #fff1ed;
  color: #8a3b30;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.chapter-playtest-eyebrow {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
}

.chapter-playtest-matrix {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.chapter-playtest-agent-list {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.chapter-playtest-agent-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: #fff8f6;
}

.chapter-playtest-agent-item strong,
.chapter-playtest-agent-item span,
.chapter-playtest-agent-item p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.chapter-playtest-agent-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.chapter-playtest-agent-item > span {
  align-self: start;
  padding: 5px 7px;
  border-radius: 8px;
  background: #fff;
  color: #8a3b30;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.chapter-playtest-agent-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.chapter-playtest-matrix-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.chapter-playtest-matrix-row.ready {
  border-left-color: var(--leaf);
  background: #f7faf8;
}

.chapter-playtest-matrix-row.hold {
  border-left-color: var(--coral);
  background: #fff8f6;
}

.chapter-playtest-matrix-row strong,
.chapter-playtest-matrix-row span,
.chapter-playtest-matrix-row b,
.chapter-playtest-matrix-row em {
  min-width: 0;
}

.chapter-playtest-matrix-row strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.chapter-playtest-matrix-row span {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.chapter-playtest-matrix-row b {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
}

.chapter-playtest-matrix-row em {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.lesson-runtime-kernel-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.c920-bridge-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.remediation-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.live-room-metrics,
.room-service-metrics,
.room-service-runtime-metrics,
.mobile-capture-metrics,
.human-inbox-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.human-closure-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-metrics div,
.command-metrics div,
.module-router-metrics div,
.domestic-entry-metrics div,
.readiness-metrics div,
.onboarding-metrics div,
.card-quality-metrics div,
.guided-demo-metrics div,
.privacy-guard-metrics div,
.handoff-metrics div,
.field-evidence-metrics div,
.human-closure-metrics div,
.human-inbox-metrics div,
.local-workspace-metrics div,
.human-preflight-router-metrics div,
.c920-bridge-metrics div,
.realtime-agent-metrics div,
.activity-library-metrics div,
.activity-runtime-metrics div,
.activity-dry-run-metrics div,
.pilot-retro-metrics div,
.second-week-metrics div,
.burn-down-metrics div,
.remaining-gap-metrics div,
.completion-proof-metrics div,
.multimodal-evidence-metrics div,
.chapter-agent-metrics div,
.chapter-playtest-metrics div,
.lesson-runtime-kernel-metrics div,
.cross-platform-app-metrics div,
.notification-deeplink-metrics div,
.susan-interaction-eval-metrics div,
.cross-thread-metrics div,
.cross-system-metrics div,
.legacy-thread-metrics div,
.live-room-metrics div,
.room-service-metrics div,
.room-service-runtime-metrics div,
.mobile-capture-metrics div,
.susan-operator-metrics div,
.unattended-metrics div,
.unattended-next-metrics div,
.teacher-handoff-metrics div,
.remediation-metrics div,
.launch-metrics div,
.pilot-metrics div,
.week-review-metrics div,
.kindergarten-metrics div,
.class-metrics div,
.principal-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f3f6f8;
}

.system-metrics dt,
.command-metrics dt,
.module-router-metrics dt,
.domestic-entry-metrics dt,
.readiness-metrics dt,
.onboarding-metrics dt,
.card-quality-metrics dt,
.guided-demo-metrics dt,
.privacy-guard-metrics dt,
.handoff-metrics dt,
.field-evidence-metrics dt,
.human-closure-metrics dt,
.human-inbox-metrics dt,
.local-workspace-metrics dt,
.human-preflight-router-metrics dt,
.c920-bridge-metrics dt,
.realtime-agent-metrics dt,
.activity-library-metrics dt,
.activity-runtime-metrics dt,
.activity-dry-run-metrics dt,
.pilot-retro-metrics dt,
.second-week-metrics dt,
.burn-down-metrics dt,
.remaining-gap-metrics dt,
.completion-proof-metrics dt,
.multimodal-evidence-metrics dt,
.chapter-agent-metrics dt,
.chapter-playtest-metrics dt,
.lesson-runtime-kernel-metrics dt,
.cross-platform-app-metrics dt,
.notification-deeplink-metrics dt,
.susan-interaction-eval-metrics dt,
.cross-thread-metrics dt,
.cross-system-metrics dt,
.legacy-thread-metrics dt,
.live-room-metrics dt,
.room-service-metrics dt,
.room-service-runtime-metrics dt,
.mobile-capture-metrics dt,
.susan-operator-metrics dt,
.unattended-metrics dt,
.unattended-next-metrics dt,
.teacher-handoff-metrics dt,
.remediation-metrics dt,
.launch-metrics dt,
.pilot-metrics dt,
.week-review-metrics dt,
.kindergarten-metrics dt,
.class-metrics dt,
.principal-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.system-metrics dd,
.command-metrics dd,
.module-router-metrics dd,
.domestic-entry-metrics dd,
.readiness-metrics dd,
.onboarding-metrics dd,
.card-quality-metrics dd,
.guided-demo-metrics dd,
.privacy-guard-metrics dd,
.handoff-metrics dd,
.field-evidence-metrics dd,
.human-closure-metrics dd,
.human-inbox-metrics dd,
.local-workspace-metrics dd,
.human-preflight-router-metrics dd,
.c920-bridge-metrics dd,
.realtime-agent-metrics dd,
.activity-library-metrics dd,
.activity-runtime-metrics dd,
.activity-dry-run-metrics dd,
.pilot-retro-metrics dd,
.second-week-metrics dd,
.burn-down-metrics dd,
.remaining-gap-metrics dd,
.completion-proof-metrics dd,
.multimodal-evidence-metrics dd,
.chapter-agent-metrics dd,
.chapter-playtest-metrics dd,
.lesson-runtime-kernel-metrics dd,
.cross-platform-app-metrics dd,
.notification-deeplink-metrics dd,
.susan-interaction-eval-metrics dd,
.cross-thread-metrics dd,
.cross-system-metrics dd,
.legacy-thread-metrics dd,
.live-room-metrics dd,
.room-service-metrics dd,
.room-service-runtime-metrics dd,
.mobile-capture-metrics dd,
.susan-operator-metrics dd,
.unattended-metrics dd,
.unattended-next-metrics dd,
.teacher-handoff-metrics dd,
.remediation-metrics dd,
.launch-metrics dd,
.pilot-metrics dd,
.week-review-metrics dd,
.kindergarten-metrics dd,
.class-metrics dd,
.principal-metrics dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.onboarding-launch-deck {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(36, 82, 74, 0.18);
  border-radius: 8px;
  background: #f7fbf8;
}

.onboarding-launch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.onboarding-launch-head h3 {
  margin: 2px 0 4px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.onboarding-launch-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

#onboarding-launch-time {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #24524a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.onboarding-launch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.onboarding-launch-actions a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: #24524a;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.onboarding-launch-actions a + a {
  color: #24524a;
  background: #e1eee8;
}

.onboarding-launch-actions a:focus-visible {
  outline: 4px solid #f2b84b;
  outline-offset: 3px;
}

.onboarding-launch-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.onboarding-launch-steps li {
  min-width: 0;
  min-height: 112px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(36, 82, 74, 0.14);
}

.onboarding-launch-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.onboarding-launch-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.onboarding-launch-steps span {
  display: inline-flex;
  margin-top: 9px;
  padding: 4px 7px;
  border-radius: 8px;
  background: #f3f6f8;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

#onboarding-launch-boundary {
  margin: 10px 0 0;
  color: #6f5148;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.report-panel button {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.report-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.report-chips span {
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff4df;
  color: #7a4e00;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.week-review-workflow {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.review-field input,
.review-field select,
.review-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.review-field textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.4;
}

.week-review-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.week-review-actions button {
  min-height: 56px;
  border-radius: 8px;
  padding: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.week-review-actions button:nth-child(4) {
  background: var(--teal);
}

.week-review-actions button:nth-child(5) {
  grid-column: 1 / -1;
  background: #edf6f5;
  color: var(--teal-dark);
}

.review-queue,
.ops-board,
.quick-action-list,
.mini-board {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.role-packet-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.role-packet-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sun);
  border-radius: 8px;
  background: #fffaf0;
}

.role-packet-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.role-packet-heading strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.role-packet-heading span {
  max-width: 104px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.role-packet-card p,
.role-packet-evidence {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.role-packet-evidence {
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.review-item,
.ops-lane,
.quick-action,
.mini-item,
.review-empty {
  min-height: 58px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f7faf8;
}

.review-item,
.ops-lane,
.mini-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-left: 5px solid var(--leaf);
}

.teacher-primary-action {
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.teacher-primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quick-action {
  padding: 0;
}

.quick-action button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
  border-left: 5px solid var(--leaf);
  background: transparent;
  color: inherit;
  text-align: left;
}

.quick-action.do_now button,
.quick-action.watch button {
  border-left-color: var(--sun);
}

.quick-action.hold button {
  border-left-color: var(--coral);
}

.quick-action button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.review-item.watch,
.ops-lane.watch,
.mini-item.watch,
.mini-item.queued,
.mini-item.pending,
.mini-item.ready_to_send {
  border-left-color: var(--sun);
}

.local-self-check-panel .mini-item.watch {
  border-left-color: var(--teal);
  background: #f4fbfb;
}

.local-self-check-panel .mini-item.diagnostic {
  border-left-color: #b9c6d3;
  background: #f7f9fb;
}

.review-item.review,
.review-item.hold,
.ops-lane.review,
.ops-lane.hold,
.mini-item.hold,
.mini-item.blocked,
.mini-item.not_sent,
.mini-item.needs_followup {
  border-left-color: var(--coral);
}

.mini-item.active,
.mini-item.done,
.mini-item.completed,
.mini-item.continue,
.mini-item.ready,
.mini-item.sent {
  border-left-color: var(--leaf);
}

.review-item strong,
.ops-lane strong,
.quick-action strong,
.mini-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-item p,
.ops-lane p,
.quick-action button > span:first-child > span,
.mini-item p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-item .review-action,
.ops-lane .review-action {
  color: var(--ink);
  font-weight: 800;
}

.review-item span,
.ops-lane span,
.quick-action button > span:last-child,
.mini-item span {
  padding: 5px 7px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.mini-item span {
  max-width: 104px;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.publish-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.publish-actions button {
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.publish-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.review-empty {
  display: grid;
  align-items: center;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.response-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.response-grid button {
  min-height: 56px;
  border-radius: 8px;
  background: #edf6f5;
  color: var(--teal-dark);
  font-weight: 800;
}

.response-grid button[data-response="chinese"] {
  background: #fff4df;
  color: #8a5b00;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 0;
}

.metrics div {
  padding: 12px;
  border-radius: 8px;
  background: #f3f6f8;
}

.metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metrics dd {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 900;
}

#reinforcement {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

#event-log {
  max-height: 180px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #172027;
  color: #dff7ef;
  font-size: 12px;
  line-height: 1.45;
}

.print-root {
  display: none;
}

.print-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 16px;
  padding: 18px;
  border: 2px solid #172027;
  border-radius: 8px;
  background: #fff;
  color: #172027;
}

.print-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.print-card ul {
  margin: 0;
  padding-left: 22px;
}

.print-card li,
.print-card p {
  font-size: 16px;
  line-height: 1.45;
}

.print-card .print-note {
  margin-top: 12px;
  font-weight: 900;
}

@media print {
  body {
    background: #fff;
  }

  .app-shell {
    display: none;
  }

  .print-root {
    display: block;
    padding: 18mm;
  }
}

@media (max-width: 1080px) {
  .global-rescue-strip {
    grid-template-columns: 1fr;
  }

  .global-rescue-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .today-relay-return-strip {
    grid-template-columns: 1fr;
  }

  .index-guided-dock {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.62fr);
  }

  .index-guided-safe-row {
    grid-column: 1 / -1;
  }

  .quick-start-mvp-strip {
    grid-template-columns: 1fr;
  }

  .default-one-tap-start {
    grid-template-columns: 1fr;
  }

  .tv-four-key-mode {
    grid-template-columns: 1fr;
  }

  .tv-four-key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zero-learning-launchpad {
    grid-template-columns: 1fr;
  }

  .no-role-rescue-strip {
    grid-template-columns: 1fr;
  }

  .first-day-pipeline-strip {
    grid-template-columns: 1fr;
  }

  .first-day-pipeline-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zero-learning-lane-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-start-mvp-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-start-role-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-start-role-picker > div {
    grid-column: 1 / -1;
  }

  .next-command-strip {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  }

  .tomorrow-phase1-field-card {
    grid-template-columns: 1fr;
  }

  .tomorrow-phase1-tracks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-fast-field-list {
    grid-template-columns: 1fr;
  }

  .start-card-ledger-strip {
    grid-template-columns: 1fr;
  }

  .start-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .first-usable-mvp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foundation-loop-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #field-zero-training-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-command-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .next-command-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .coach {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 16px;
  }

  .panel {
    margin-bottom: 0;
  }

  .xiaoe-panel {
    grid-column: 1 / -1;
  }

  .step-strip ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-remote-guide {
    grid-template-columns: 1fr;
  }

  .tv-one-click-start {
    grid-template-columns: 1fr;
  }

  .tv-one-click-copy h3 {
    font-size: 28px;
  }

  .tv-one-click-button {
    scroll-margin-top: 150px;
    min-height: 108px;
  }

  .tv-one-click-actions {
    grid-template-rows: minmax(108px, auto) minmax(88px, auto);
  }

  .tv-one-click-response-button {
    scroll-margin-top: 150px;
    min-height: 88px;
  }

  .tv-one-click-game-board {
    min-height: 112px;
  }

  .tv-one-click-button span {
    font-size: 30px;
  }

  .tv-one-click-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv-remote-box-mode-head {
    align-items: stretch;
    flex-direction: column;
  }

  #tv-remote-mode-key {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .tv-remote-box-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-analysis-loop {
    grid-template-columns: 1fr;
  }

  .tv-analysis-loop-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-live-room-metrics,
  .stage-live-room-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #tv-remote-acceptance-list {
    grid-template-columns: 1fr;
  }

  .evidence-remote-one-tap-strip,
  .evidence-remote-one-tap-actions,
  .evidence-remote-guided-dock {
    grid-template-columns: 1fr;
  }

  .evidence-remote-one-tap-checks {
    grid-template-columns: 1fr;
  }

  .evidence-remote-guided-dock {
    max-width: calc(100vw - 24px);
  }

  .evidence-remote-guided-safe-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #real-remote-drill-step-list {
    grid-template-columns: 1fr;
  }

  #real-remote-one-screen-list,
  #real-remote-room-setup-list,
  #real-remote-quick-script-list,
  #teacher-review-one-screen-list {
    grid-template-columns: 1fr;
  }

  .tv-remote-acceptance-head,
  .tv-remote-acceptance-foot,
  .stage-live-room-head {
    align-items: stretch;
    flex-direction: column;
  }

  .tv-remote-acceptance-foot > div {
    width: 100%;
  }

  .stage-live-room-actions {
    grid-template-columns: 1fr;
  }

  .machine-run-receipt-head,
  .machine-run-receipt-actions {
    grid-template-columns: 1fr;
  }

  .machine-run-receipt-head > span {
    max-width: none;
  }

  .real-remote-drill-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .real-remote-drill-actions {
    grid-template-columns: 1fr;
  }

  .real-remote-draft-meta,
  .real-remote-draft-progress,
  .real-remote-pass-examples,
  .real-remote-fill-choice-grid,
  .real-remote-fill-checklist-heading,
  .real-remote-fill-checklist-item,
  #real-remote-acceptance-list,
  #real-remote-draft-list,
  .real-remote-draft-actions,
  .real-remote-draft-step-controls,
  .c920-field-draft-meta,
  .c920-field-draft-list,
  .c920-field-draft-progress,
  .c920-field-draft-actions,
  .c920-field-draft-check-controls {
    grid-template-columns: 1fr;
  }

  .c920-field-draft-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .companion-dispatch-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .companion-guided-dock {
    grid-template-columns: 1fr;
    max-width: calc(100vw - 24px);
  }

  .companion-guided-safe-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .companion-role-heading {
    grid-template-columns: 1fr;
  }

  .companion-role-heading span {
    max-width: none;
    width: fit-content;
  }

  .practice-course-route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .evidence-fast-field-heading {
    flex-direction: column;
  }

  .evidence-fast-field-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-fast-field-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-fast-field-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .global-rescue-strip {
    gap: 6px;
    padding: 7px 12px;
  }

  .global-rescue-copy strong {
    font-size: 16px;
  }

  .global-rescue-copy span,
  .global-rescue-strip p {
    font-size: 11px;
  }

  .global-rescue-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-rescue-actions a {
    min-height: 54px;
    padding: 7px 8px;
  }

  .global-rescue-actions strong {
    font-size: 14px;
  }

  .today-relay-return-strip {
    gap: 6px;
    padding: 7px 12px;
  }

  .today-relay-return-copy strong {
    font-size: 15px;
  }

  .today-relay-return-copy span {
    font-size: 11px;
  }

  .today-relay-return-actions a {
    min-height: 52px;
    padding: 7px 8px;
  }

  .today-relay-return-actions strong {
    font-size: 14px;
  }

  .index-page {
    padding-bottom: 246px;
  }

  .index-guided-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .index-guided-copy {
    gap: 4px;
  }

  .index-guided-copy strong {
    font-size: 18px;
  }

  .index-guided-button {
    min-height: 74px;
  }

  .index-guided-button strong {
    font-size: 24px;
  }

  .index-guided-safe-row {
    grid-template-columns: 1fr;
  }

  .index-guided-safe-row span {
    min-height: 34px;
  }

  .module-router-now-head,
  .module-router-now-item {
    grid-template-columns: 1fr;
  }

  .module-router-now-head {
    display: grid;
  }

  #module-router-now-count {
    max-width: none;
    width: fit-content;
  }

  .module-router-now-boundary {
    grid-template-columns: 1fr;
  }

  .app-shell {
    height: auto;
    min-height: 100vh;
  }

  .topbar,
  .stage-header {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    padding: 12px 18px;
    overflow-x: hidden;
  }

  .topbar-adult-tools {
    width: 100%;
    max-width: 100%;
  }

  .topbar-adult-tools > summary {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 58px;
    padding: 10px;
  }

  .quick-entry-strip {
    grid-template-columns: repeat(9, minmax(96px, 1fr));
    padding: 8px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .adult-advanced-entry-panel > summary {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 64px;
    padding: 10px 18px;
  }

  .quick-start-mvp-strip {
    gap: 8px;
    padding: 8px 18px;
    overflow-x: hidden;
  }

  .quick-start-mvp-main {
    gap: 4px;
    padding: 10px;
  }

  .quick-start-mvp-main h2 {
    font-size: 22px;
  }

  .quick-start-mvp-main p {
    font-size: 12px;
    line-height: 1.28;
  }

  .tomorrow-phase1-field-card {
    gap: 8px;
    padding: 8px 18px;
  }

  .tomorrow-phase1-main,
  .tomorrow-phase1-tracks {
    padding: 10px;
  }

  .tomorrow-phase1-heading {
    display: grid;
  }

  .tomorrow-phase1-heading h2 {
    font-size: 20px;
  }

  .tomorrow-phase1-metrics,
  .tomorrow-phase1-tracks {
    grid-template-columns: 1fr;
  }

  .tomorrow-phase1-track a {
    min-height: 0;
  }

  .default-one-tap-start {
    gap: 8px;
    padding: 8px;
  }

  .default-one-tap-copy {
    padding: 2px;
  }

  .default-one-tap-copy h3 {
    font-size: 22px;
  }

  .default-one-tap-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .default-one-tap-button {
    min-height: 120px;
    padding: 16px;
  }

  .default-one-tap-button span {
    font-size: 12px;
  }

  .default-one-tap-button strong {
    font-size: 28px;
  }

  .default-one-tap-button small {
    font-size: 12px;
  }

  .default-one-tap-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .default-one-tap-remote-keys {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    order: -1;
  }

  .default-one-tap-secondary a {
    min-height: 64px;
    padding: 10px;
  }

  .default-one-tap-secondary strong {
    font-size: 16px;
  }

  .default-one-tap-remote-keys li {
    min-height: 58px;
    padding: 8px;
  }

  .default-one-tap-remote-keys span {
    font-size: 10px;
  }

  .default-one-tap-remote-keys strong {
    font-size: 14px;
  }

  .default-one-tap-boundary {
    padding: 8px;
    font-size: 11px;
  }

  .first-day-next-card {
    gap: 8px;
    padding: 8px;
  }

  .first-day-next-card-copy {
    padding: 2px;
  }

  .first-day-next-card-copy h3 {
    font-size: 20px;
  }

  .first-day-next-card-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .first-day-next-button {
    min-height: 88px;
    padding: 14px;
  }

  .first-day-next-button strong {
    font-size: 24px;
  }

  .first-day-next-button span,
  .first-day-next-button small,
  .first-day-next-boundary {
    font-size: 11px;
  }

  .first-day-visible-relay {
    gap: 8px;
    padding: 8px;
  }

  .first-day-visible-relay-copy {
    padding: 2px;
  }

  .first-day-visible-relay-copy h3 {
    font-size: 20px;
  }

  .first-day-visible-relay-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .first-day-visible-relay-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .first-day-visible-relay-steps a {
    min-height: 72px;
    padding: 8px;
  }

  .first-day-visible-relay-steps strong {
    font-size: 16px;
  }

  .first-day-visible-relay-steps span,
  .first-day-visible-relay-steps small,
  .first-day-visible-relay-boundary {
    font-size: 11px;
  }

  .tv-four-key-mode {
    gap: 8px;
    padding: 8px;
  }

  .tv-four-key-copy {
    padding: 2px;
  }

  .tv-four-key-copy h3 {
    font-size: 20px;
  }

  .tv-four-key-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .tv-four-key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-four-key-grid li {
    min-height: 68px;
    padding: 8px;
  }

  .tv-four-key-grid strong {
    font-size: 16px;
  }

  .tv-four-key-grid span,
  .tv-four-key-grid small,
  .tv-four-key-boundary {
    font-size: 11px;
  }

  .zero-learning-launchpad {
    gap: 8px;
    padding: 8px;
  }

  .zero-learning-launchpad-copy {
    padding: 2px;
  }

  .zero-learning-launchpad-copy h3 {
    font-size: 20px;
  }

  .zero-learning-launchpad-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .zero-learning-lane-grid {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
  }

  .zero-learning-lane {
    min-height: 68px;
    padding: 8px;
  }

  .zero-learning-lane strong {
    font-size: 16px;
  }

  .zero-learning-lane span,
  .zero-learning-lane small {
    font-size: 10px;
  }

  .zero-learning-launchpad-boundary {
    padding: 8px;
    font-size: 11px;
  }

  .no-role-rescue-strip {
    gap: 8px;
    padding: 8px;
  }

  .no-role-rescue-copy {
    padding: 2px;
  }

  .no-role-rescue-copy h3 {
    font-size: 20px;
  }

  .no-role-rescue-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .no-role-rescue-button {
    min-height: 92px;
    padding: 12px;
  }

  .no-role-rescue-button strong {
    font-size: 24px;
  }

  .no-role-rescue-button span,
  .no-role-rescue-button small {
    font-size: 11px;
  }

  .no-role-rescue-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .no-role-rescue-steps li {
    min-height: 68px;
    padding: 7px;
  }

  .no-role-rescue-steps span {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .no-role-rescue-steps strong {
    font-size: 13px;
  }

  .no-role-rescue-boundary {
    padding: 8px;
    font-size: 11px;
  }

  .first-day-pipeline-strip {
    gap: 8px;
    padding: 8px;
  }

  .first-day-pipeline-copy {
    padding: 2px;
  }

  .first-day-pipeline-copy h3 {
    font-size: 20px;
  }

  .first-day-pipeline-copy p {
    font-size: 12px;
    line-height: 1.3;
  }

  .first-day-pipeline-steps {
    grid-template-columns: repeat(4, minmax(108px, 1fr));
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
  }

  .first-day-pipeline-steps a {
    min-height: 76px;
    padding: 8px;
  }

  .first-day-pipeline-steps span {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .first-day-pipeline-steps strong {
    font-size: 16px;
  }

  .first-day-pipeline-steps small {
    font-size: 10px;
  }

  .first-day-pipeline-boundary {
    padding: 8px;
    font-size: 11px;
  }

  .quick-start-mvp-actions {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
  }

  .quick-start-role-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .quick-start-role-picker > div {
    grid-column: 1 / -1;
    padding: 0 2px 2px;
  }

  .quick-start-role-picker h3 {
    font-size: 18px;
  }

  .quick-start-role-card {
    min-height: 62px;
    padding: 9px;
  }

  .quick-start-role-card strong {
    font-size: 16px;
  }

  .quick-start-role-card span {
    font-size: 11px;
  }

  .quick-start-mvp-copy-row {
    display: none;
  }

  .default-one-tap-start {
    gap: 8px;
  }

  .quick-start-mvp-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-start-mvp-action {
    min-height: 68px;
    padding: 8px;
  }

  .quick-start-mvp-action span {
    font-size: 10px;
  }

  .quick-start-mvp-action strong {
    font-size: 17px;
  }

  .quick-start-mvp-action small {
    font-size: 10px;
  }

  .quick-start-mvp-proof div {
    padding: 7px 6px;
  }

  .quick-start-mvp-proof dt {
    font-size: 10px;
  }

  .quick-start-mvp-proof dd {
    font-size: 16px;
  }

  .orchestration-strip {
    grid-template-columns: 1fr 1fr;
    padding: 10px 18px 12px;
    overflow-x: hidden;
  }

  .quick-entry {
    min-width: 0;
    min-height: 64px;
    padding: 8px;
  }

  .quick-entry strong {
    font-size: 15px;
  }

  .quick-entry small {
    font-size: 10px;
  }

  .orchestration-link {
    min-width: 0;
    min-height: 56px;
    padding: 9px 10px;
  }

  .quick-entry strong {
    font-size: 15px;
  }

  .orchestration-link strong {
    font-size: 13px;
  }

  .next-command-strip {
    grid-template-columns: 1fr;
    padding: 14px 18px;
    overflow-x: hidden;
  }

  .start-card-ledger-strip {
    grid-template-columns: 1fr;
    padding: 14px 18px;
    overflow-x: hidden;
  }

  .start-card-grid,
  .first-usable-mvp-grid,
  .foundation-loop-grid,
  .foundation-loop-steps,
  .start-card-actions,
  #field-zero-training-list,
  .stage-live-room-metrics,
  .stage-live-room-list {
    grid-template-columns: 1fr;
  }

  .first-usable-mvp-head,
  .foundation-loop-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .foundation-loop-heading span {
    width: fit-content;
    max-width: 100%;
  }

  #first-usable-mvp-copy-button {
    width: 100%;
  }

  .start-card-proof-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .next-command-actions {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .next-command-list {
    grid-template-columns: 1fr;
  }

  .next-command-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-command-item em {
    justify-self: start;
    white-space: normal;
  }

  .domestic-entry-metrics,
  .cross-system-metrics,
  .local-workspace-metrics,
  .human-preflight-router-metrics,
  .machine-run-receipt-metrics,
  .domestic-entry-actions {
    grid-template-columns: 1fr;
  }

  .human-preflight-router-actions {
    grid-template-columns: 1fr;
  }

  .onboarding-launch-head {
    flex-direction: column;
  }

  #onboarding-launch-time {
    width: 100%;
  }

  .onboarding-launch-actions,
  .onboarding-launch-steps {
    grid-template-columns: 1fr;
  }

  .onboarding-launch-actions a,
  .onboarding-launch-steps li {
    min-height: 72px;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .mode-tabs {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-tabs button {
    min-width: 0;
  }

.mode-tabs button,
.select-field,
.switch,
.practice-link,
.icon-button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.select-field,
.switch,
.practice-link {
  justify-content: flex-start;
}

.select-field {
  grid-column: 1 / -1;
}

  .workbench {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  body,
  .app-shell,
  .rail,
  .coach,
  .stage {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .rail,
  .coach,
  .stage {
    border: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }

  .coach {
    grid-template-columns: 1fr;
  }

  .stage {
    padding: 18px;
  }

  .stage-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .stage-actions {
    grid-template-columns: 1fr;
  }

  .stage-header h2 {
    font-size: 26px;
  }

  .flow-banner,
  .step-strip ol {
    grid-template-columns: 1fr;
  }

  .select-field select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    text-overflow: ellipsis;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .practice-shell {
    padding: 14px;
    max-width: calc(100vw - 16px);
  }

  .practice-header h1,
  .practice-hero h2 {
    font-size: 24px;
  }

  .practice-progress,
  .practice-first-use-mode,
  .practice-now-card,
  .practice-now-why,
  .practice-now-safe-row,
  .practice-return-strip,
  .practice-return-card,
  .practice-today-card,
  .practice-today-actions,
  .practice-today-safe-row,
  .practice-guided-dock,
  .practice-guided-safe-row,
  .practice-stuck-rescue-panel,
  .practice-stuck-rescue-actions,
  .practice-family-smart-next,
  .practice-family-smart-safe-row,
  .practice-family-loop-steps,
  .practice-family-result-card,
  .practice-family-result-metrics,
  .practice-family-result-safe-row,
  .practice-next-chapter-card,
  .practice-next-chapter-safe-row,
  .practice-teacher-one-copy-card,
  .practice-mvp-grid,
  .practice-loop-metrics,
  .practice-sensor-grid,
  .practice-loop-quality,
  .practice-teacher-handoff-grid,
  .practice-course-picker,
  .practice-course-actions,
  .practice-course-route,
  .practice-field-command-heading,
  .practice-field-command-entry-grid,
  .practice-field-command-item,
  .practice-family-guide ol,
  .practice-response-grid {
    grid-template-columns: 1fr;
  }

  .practice-card-grid {
    grid-template-columns: 1fr;
  }

  .companion-shell {
    padding: 14px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .companion-page {
    padding-bottom: 264px;
  }

  .companion-guided-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    gap: 8px;
  }

  .companion-guided-copy strong {
    font-size: 17px;
  }

  .companion-guided-actions,
  .companion-guided-safe-row {
    grid-template-columns: 1fr;
  }

  .companion-guided-action {
    min-height: 60px;
  }

  .companion-guided-backup-actions {
    grid-template-columns: 1fr;
  }

  .companion-header h1,
  .companion-hero h2 {
    font-size: 24px;
  }

  .companion-hero,
  .companion-now-card,
  .companion-result-triad-list,
  .companion-elder-mode-actions,
  .companion-today-default-card,
  .companion-course-growth,
  .companion-first-loop-rail,
  .companion-first-loop-steps,
  .companion-course-growth-metrics,
  .companion-safe-default,
  .companion-family-loop-steps,
  .companion-three-choice-safe-copy,
  .companion-three-choice-list,
  .companion-platform-auto-entry-metrics,
  .companion-platform-auto-route-list,
  .companion-situation-safe-copy,
  .companion-situation-route-list,
  .companion-zero-training-prompts,
  .companion-zero-training-route-list,
  .companion-friction-targets,
  .companion-friction-rule-list,
  .companion-pairing-auto-open-metrics,
  .companion-pairing-visible-copy,
  .companion-pairing-method-list,
  .companion-domestic-rehearsal-metrics,
  .companion-domestic-entry-list,
  .companion-domestic-evidence-grid,
  .real-remote-fill-choice-grid,
  .real-remote-fill-checklist-heading,
  .real-remote-fill-checklist-item,
  .c920-field-draft-metrics,
  .c920-field-draft-meta,
  .c920-field-draft-list,
  .c920-field-draft-actions,
  .c920-field-draft-check-controls,
  .companion-elder-rescue-list,
  .companion-device-launcher-metrics,
  .companion-device-launcher-list,
  .companion-guide,
  .companion-relay-list,
  .companion-role-choice-list,
  .companion-start-grid,
  .companion-start-status-list,
  .companion-field-return-priority-list,
  .companion-blueprint-grid,
  .companion-selfcheck-grid,
  .companion-operating-grid,
  .companion-runtime-grid,
  .companion-scene-scale-grid,
  .companion-scene-scale-metrics,
  .companion-room,
  .companion-actions,
  .companion-room-form {
    grid-template-columns: 1fr;
  }

  .companion-start-room-form {
    grid-template-columns: 1fr;
  }

  .companion-start-lifeline {
    grid-template-columns: 1fr;
  }

  .companion-three-choice-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-three-choice-actions {
    flex-direction: column;
  }

  .companion-three-choice-actions button,
  .companion-three-choice-actions a {
    width: 100%;
  }

  .companion-platform-auto-entry-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-platform-auto-entry-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .companion-situation-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-situation-actions {
    flex-direction: column;
  }

  .companion-situation-actions button,
  .companion-situation-actions a {
    width: 100%;
  }

  .companion-zero-training-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-pairing-auto-open-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-domestic-rehearsal-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-zero-training-actions {
    flex-direction: column;
  }

  .companion-zero-training-actions button,
  .companion-zero-training-actions a {
    width: 100%;
  }

  .companion-pairing-auto-open-actions {
    grid-template-columns: 1fr;
  }

  .companion-domestic-rehearsal-actions {
    grid-template-columns: 1fr;
  }

  .companion-start-lifeline-actions {
    grid-template-columns: 1fr;
  }

  .companion-field-return-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-field-return-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-zero-setup,
  .practice-first-use-mode,
  .practice-now-card,
  .practice-now-why,
  .practice-now-safe-row,
  .practice-return-strip,
  .practice-more-panel > summary,
  .practice-one-tap-panel,
  .practice-return-card,
  .practice-stuck-rescue-panel,
  .practice-stuck-rescue-actions,
  .practice-adult-script-card,
  .practice-adult-script-lines,
  .practice-family-smart-next,
  .practice-family-loop-steps,
  .practice-family-result-choice,
  .practice-family-result-choice-grid,
  .practice-family-result-choice-reason,
  .practice-family-teacher-ticket,
  .practice-family-teacher-ticket-grid,
  .practice-course-route,
  .practice-field-command-heading,
  .practice-field-command-entry-grid,
  .practice-field-command-item,
  .practice-zero-setup-list {
    grid-template-columns: 1fr;
  }

  .practice-today-copy h2 {
    font-size: 24px;
  }

  .practice-today-target {
    min-height: 132px;
  }

  .practice-today-actions button {
    min-height: 60px;
  }

  .practice-guided-dock {
    bottom: 6px;
  }

  .practice-guided-button {
    min-height: 72px;
  }

  .practice-first-use-button {
    min-height: 88px;
    font-size: 22px;
  }

  .practice-now-copy h2 {
    font-size: 26px;
  }

  .practice-now-button {
    min-height: 88px;
    font-size: 23px;
  }

  .practice-family-smart-button {
    min-height: 72px;
  }

  .companion-start-room-form button {
    width: 100%;
  }

  #companion-copy-relay {
    width: 100%;
  }

  .companion-field-return-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-field-return-actions button,
  .companion-field-return-actions a {
    width: 100%;
  }

  .companion-real-remote-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-real-remote-metrics,
  .companion-real-remote-step-list,
  .companion-real-remote-actions {
    grid-template-columns: 1fr;
  }

  .companion-action {
    min-height: 78px;
  }

  .companion-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .companion-priority-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .companion-room-form button {
    width: 100%;
  }

  .companion-inline-actions,
  .companion-role-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .companion-inline-actions button,
  .companion-inline-actions a,
  .companion-role-actions button {
    width: 100%;
  }

  .teacher-shell {
    padding: 14px;
  }

  .teacher-header h1,
  .teacher-hero h2 {
    font-size: 24px;
  }

  .teacher-hero,
  .teacher-now-card,
	  .teacher-now-safe-row,
	  .teacher-guided-dock,
	  .teacher-guided-actions-backup > summary,
	  .teacher-guided-actions,
  .teacher-guided-safe-row,
  .teacher-family-card-send-preflight,
  .teacher-family-card-send-actions,
  .teacher-home-relay-card,
  .teacher-family-preview-open,
  .teacher-replay-next-card,
  .teacher-home-relay-steps,
  .teacher-home-ticket-disposition ol,
  .teacher-tv116-review-steps,
  .teacher-family-loop-steps,
  .teacher-first-day-head,
  .teacher-first-day-metrics,
  .teacher-first-day-route-list,
  .teacher-first-day-step-list,
  .teacher-first-day-policy,
  .teacher-first-day-actions,
  .teacher-course-evidence-head,
  .teacher-course-evidence-metrics,
  .teacher-course-evidence-list,
  .teacher-course-evidence-item-head,
  .teacher-course-evidence-item-meta,
  .teacher-course-evidence-steps,
  .teacher-course-evidence-boundaries,
  .teacher-course-evidence-actions,
  .teacher-play-loop-replay-head,
  .teacher-play-loop-replay-list,
  .teacher-play-loop-replay-item-head,
  .teacher-play-loop-replay-meta,
  .teacher-play-loop-replay-actions,
  .teacher-one-minute-grid,
  .teacher-minute-flow,
  .teacher-decision-strip,
  .teacher-metrics {
    grid-template-columns: 1fr;
  }

  .teacher-guided-dock {
    position: static;
    top: auto;
  }

  .teacher-course-evidence-head,
  .teacher-course-evidence-item-head,
  .teacher-play-loop-replay-head,
  .teacher-play-loop-replay-item-head {
    display: grid;
  }

  .teacher-course-evidence-head > strong,
  .teacher-course-evidence-item-head span,
  .teacher-play-loop-replay-head > strong,
  .teacher-play-loop-replay-item-head span {
    max-width: none;
    width: fit-content;
  }

  .teacher-first-day-mvp,
  .teacher-first-day-actions button,
  .teacher-first-day-actions a,
  .teacher-course-evidence-card,
  .teacher-course-evidence-actions button,
  .teacher-course-evidence-actions a,
  .teacher-play-loop-replay-card,
  .teacher-play-loop-replay-actions button,
  .teacher-play-loop-replay-actions a {
    scroll-margin-top: 176px;
  }

  .teacher-guided-button {
    min-height: 78px;
  }

  .teacher-now-button {
    min-height: 82px;
    font-size: 22px;
  }

  .teacher-home-relay-button {
    min-height: 82px;
    font-size: 22px;
  }

  .teacher-now-copy h2 {
    font-size: 24px;
  }

  .teacher-home-relay-copy h3 {
    font-size: 22px;
  }

  .teacher-now-why {
    grid-template-columns: 1fr;
  }

  .teacher-guided-action {
    min-height: 64px;
  }

  .teacher-minute-flow-item {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .teacher-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .teacher-actions button {
    width: 100%;
  }

  .course-owner-shell {
    padding: 14px;
  }

  .course-owner-header h1,
  .course-owner-hero h2 {
    font-size: 24px;
  }

  .course-owner-hero,
  .course-owner-now-card,
  .course-owner-now-safe-row,
  .course-owner-one-tap,
  .course-owner-adult-workbench-backup > summary,
  .course-owner-guided-dock,
  .course-owner-guided-actions-backup > summary,
  .course-owner-metrics {
    grid-template-columns: 1fr;
  }

  .course-owner-guided-dock {
    max-width: calc(100vw - 24px);
  }

  .course-owner-guided-safe-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-owner-one-tap-button {
    min-height: 132px;
  }

  .course-owner-now-button {
    min-height: 82px;
    font-size: 22px;
  }

  .course-owner-one-tap-button strong {
    font-size: 24px;
  }

  .course-owner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .course-owner-actions button {
    width: 100%;
  }

  .course-owner-page {
    padding-bottom: 276px;
  }

  .course-owner-guided-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    gap: 8px;
  }

  .course-owner-guided-copy strong {
    font-size: 17px;
  }

  .course-owner-guided-actions,
  .course-owner-guided-safe-row {
    grid-template-columns: 1fr;
  }

  .course-owner-guided-main {
    min-height: 68px;
  }

  .course-owner-guided-action {
    min-height: 60px;
  }

  .principal-shell {
    padding: 14px;
  }

  .principal-header h1,
  .principal-hero h2 {
    font-size: 24px;
  }

  .principal-hero,
  .principal-now-card,
  .principal-now-safe-row,
  .principal-adult-workbench-backup > summary,
  .principal-one-tap,
  .principal-role-choice-grid,
  .principal-guided-dock,
  .principal-guided-actions-backup > summary,
  .principal-metrics,
  .principal-now-grid {
    grid-template-columns: 1fr;
  }

  .principal-guided-dock {
    max-width: calc(100vw - 24px);
  }

  .principal-guided-safe-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .principal-one-tap-button {
    min-height: 132px;
  }

  .principal-now-button {
    min-height: 82px;
    font-size: 22px;
  }

  .principal-one-tap-button strong {
    font-size: 24px;
  }

  .principal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .principal-actions button {
    width: 100%;
  }

  .principal-page {
    padding-bottom: 276px;
  }

  .principal-guided-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    gap: 8px;
  }

  .principal-guided-copy strong {
    font-size: 17px;
  }

  .principal-guided-actions,
  .principal-guided-safe-row {
    grid-template-columns: 1fr;
  }

  .principal-guided-main {
    min-height: 68px;
  }

  .principal-guided-action {
    min-height: 60px;
  }

  .evidence-shell {
    padding: 14px;
  }

  .evidence-page {
    padding-bottom: 276px;
  }

  .evidence-remote-guided-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    gap: 8px;
  }

  .evidence-remote-guided-copy strong {
    font-size: 17px;
  }

  .evidence-remote-guided-actions,
  .evidence-remote-guided-safe-row {
    grid-template-columns: 1fr;
  }

  .evidence-remote-guided-action {
    min-height: 60px;
  }

  .platform-page {
    padding-bottom: 336px;
  }

  .platform-guided-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    gap: 8px;
    max-width: calc(100vw - 16px);
  }

  .platform-guided-copy strong {
    font-size: 17px;
  }

  .platform-today-relay-actions,
  .platform-today-relay-list,
  .platform-return-card,
  .platform-return-flags,
  .platform-first-use-panel,
  .platform-first-use-public-boundary,
  .platform-first-use-steps,
  .platform-public-scale-status,
  .platform-public-scale-flags,
  .platform-public-welfare-panel,
  .platform-public-welfare-flags,
  .platform-public-welfare-loop-grid,
  .platform-private-concierge-panel,
  .platform-private-concierge-flags,
  .platform-stuck-rescue-panel,
  .platform-stuck-rescue-actions,
  .platform-stuck-rescue-list,
  .platform-role-launch-grid,
  .platform-today-loop-steps,
  .platform-action-card-first-gap-meta,
  .platform-action-card-first-gap-steps,
  .platform-action-card-first-gap-actions {
    grid-template-columns: 1fr;
  }

  .platform-first-use-copy h2 {
    font-size: 22px;
  }

  .platform-return-copy strong {
    font-size: 22px;
  }

  .platform-return-button {
    min-height: 92px;
  }

  .platform-return-button strong {
    font-size: 20px;
  }

  .platform-first-use-button {
    min-height: 96px;
  }

  .platform-first-use-button strong {
    font-size: 20px;
  }

  .platform-stuck-rescue-copy h2 {
    font-size: 21px;
  }

  .platform-stuck-rescue-action {
    min-height: 72px;
  }

  .platform-stuck-rescue-action strong {
    font-size: 18px;
  }

  .platform-stuck-rescue-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .platform-role-launch-link {
    min-height: 72px;
  }

  .platform-role-launch-link strong {
    font-size: 18px;
  }

  .platform-today-smart-next {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .platform-today-smart-copy strong,
  .platform-today-smart-button strong {
    font-size: 18px;
  }

  .platform-today-smart-button {
    min-height: 72px;
  }

  .platform-today-relay-action {
    min-height: 64px;
  }

  .platform-today-relay-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .platform-today-loop-step {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .platform-guided-actions,
  .platform-guided-safe-row {
    grid-template-columns: 1fr;
  }

  .companion-simple-start,
  .teacher-handoff-command-list {
    grid-template-columns: 1fr;
  }

  .companion-simple-choice {
    grid-template-columns: 1fr;
  }

  .companion-first-screen-backup > summary {
    grid-template-columns: 1fr;
  }

  .companion-today-default-card {
    grid-template-columns: 1fr;
  }

  .companion-first-loop-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-family-result-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .companion-simple-start-primary,
  .companion-simple-choice-item {
    min-height: 96px;
  }

  .platform-guided-action {
    min-height: 60px;
  }

  .evidence-header h1,
  .evidence-hero h2 {
    font-size: 24px;
  }

  .evidence-hero,
  .evidence-remote-one-tap-strip,
  .evidence-remote-one-tap-actions,
  .evidence-metrics,
  .evidence-gap-refill-list,
  .evidence-priority-list,
  .evidence-first-wave-grid,
  .evidence-first-wave-intake-grid,
  .evidence-first-wave-intake-route,
  .evidence-card-heading,
  .evidence-route-suggestion-heading,
  .evidence-route-suggestion-grid {
    grid-template-columns: 1fr;
  }

  .evidence-card-heading span {
    justify-self: start;
    max-width: 100%;
  }

  .evidence-actions,
  .evidence-mini-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .evidence-actions button,
  .evidence-mini-actions button {
    width: 100%;
  }

  .platform-shell {
    padding: 14px;
    max-width: calc(100vw - 16px);
  }

  .platform-header h1,
  .platform-hero h2 {
    font-size: 24px;
  }

  .platform-hero,
  .platform-metrics,
  .platform-wave-metrics,
  .platform-room-quickstart-metrics,
  .platform-room-quickstart-list,
  .platform-room-cheatsheet-list,
  .platform-runtime-grid,
  .platform-wave-grid,
  .platform-command-deck-callout,
  .platform-local-gate-callout,
  .platform-guided-dock,
  .platform-action-grid {
    grid-template-columns: 1fr;
  }

  .platform-action-card-grid {
    grid-template-columns: 1fr;
  }

  .platform-action-card-first-gap {
    padding: 10px;
  }

  .platform-action-card-first-gap-step {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .platform-room-quickstart-head {
    flex-direction: column;
  }

  .platform-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-actions button {
    width: 100%;
  }

  .platform-first-usable-readonly {
    grid-template-columns: 1fr;
  }

  .platform-first-usable-readonly button {
    width: 100%;
  }

  .platform-guided-safe-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-button {
    min-height: 240px;
  }

  .operator-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .review-item,
  .ops-lane,
  .mini-item,
  .quick-action button,
  .role-packet-heading,
  .chapter-playtest-current-inner,
  .chapter-playtest-agent-item,
  .chapter-playtest-matrix-row {
    grid-template-columns: 1fr;
  }

  .companion-role-heading {
    grid-template-columns: 1fr;
  }

  .review-item span,
  .ops-lane span,
  .quick-action button > span:last-child,
  .mini-item span,
  .chapter-playtest-current-inner > span,
  .chapter-playtest-agent-item > span {
    justify-self: start;
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }

  .role-packet-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .role-packet-heading span {
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .companion-role-heading span {
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .companion-priority-chip {
    min-height: 96px;
  }
}

@media (max-width: 760px) {
  .susan-entry-shell {
    width: min(100% - 24px, 560px);
    padding: 18px 0 30px;
  }

  .susan-entry-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .susan-entry-copy h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .susan-entry-actions,
  .susan-entry-lanes,
  .susan-entry-adult-grid {
    grid-template-columns: 1fr;
  }

  .susan-entry-primary,
  .susan-entry-free {
    min-height: 86px;
  }
}
