:root {
  --bg: #06111f;
  --bg-2: #0a1627;
  --panel: rgba(17, 31, 50, 0.9);
  --panel-2: rgba(22, 42, 66, 0.9);
  --line: rgba(84, 112, 143, 0.32);
  --line-strong: rgba(141, 164, 190, 0.38);
  --text: #d8e5f4;
  --muted: #8ea3ba;
  --ink: #f8fbff;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --orange: #f97316;
  --green: #22c55e;
  --red: #ef4444;
  --violet: #8b5cf6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(42, 70, 105, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 70, 105, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 80% 12%, rgba(59, 130, 246, 0.18), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(249, 115, 22, 0.12), transparent 28%),
    var(--bg);
  background-size: 80px 80px, 80px 80px, auto, auto, auto;
  color: var(--text);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(6, 17, 31, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 6px 4px 18px;
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  width: min(190px, 100%);
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.nav-item:hover,
.nav-item.is-active {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.nav-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.16);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.task-card,
.panel-large,
.completion-card,
.sync-mock,
.decision-result,
.decision-question,
.checkpoint-panel,
.quality-grid button,
.feedback-grid article,
.signal-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}

.crumbs {
  display: grid;
  gap: 2px;
}

.crumbs span {
  color: var(--muted);
  font-size: 12px;
}

.crumbs strong {
  color: var(--ink);
}

.top-actions,
.hero-actions,
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.primary-button,
.secondary-button,
.ghost-button,
.chip,
.segmented button {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-button {
  padding: 0 16px;
  border-color: rgba(249, 115, 22, 0.55);
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  color: #101827;
  font-weight: 800;
}

.copy-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
}

.secondary-button,
.ghost-button,
.chip,
.segmented button {
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.ghost-button {
  width: 100%;
  margin-top: 14px;
}

.topbar .ghost-button {
  width: auto;
  margin: 0;
}

button:hover {
  transform: translateY(-1px);
}

.page {
  display: none;
  min-height: calc(100vh - 77px);
  padding: 52px clamp(28px, 6vw, 78px) 72px;
}

.page.is-active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

#overview .hero-grid {
  justify-items: stretch;
}

#overview .hero-copy {
  width: 100%;
  max-width: 1040px;
  text-align: left;
}

#overview .hero-copy h1 {
  max-width: 1040px;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 1;
}

#overview .hero-copy > p {
  max-width: 900px;
  margin-right: 0;
  margin-left: 0;
}

#overview .hero-actions {
  justify-content: flex-start;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  color: var(--ink);
  font-size: 22px;
}

p {
  color: var(--text);
  line-height: 1.45;
}

.hero-copy > p {
  max-width: 720px;
  margin: 24px 0 32px;
  color: var(--text);
  font-size: 21px;
}

.card-heading,
.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
}

.quality-grid button {
  padding: 12px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--text);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.roadmap article {
  min-height: 162px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.7);
  cursor: pointer;
}

.roadmap article:hover {
  border-color: rgba(249, 115, 22, 0.7);
}

.roadmap span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.roadmap strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.roadmap p {
  color: var(--muted);
  font-size: 14px;
}

.welcome-title > p {
  max-width: 880px;
}

.role-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.role-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.72);
  box-shadow: var(--shadow);
}

.role-card-primary {
  border-color: rgba(249, 115, 22, 0.42);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), transparent 48%),
    rgba(17, 31, 50, 0.76);
}

.role-label {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-card h3 {
  margin: 12px 0 8px;
  font-size: 25px;
}

.role-card > p {
  color: var(--muted);
}

.role-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.role-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.4;
}

.role-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.prehire-path {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(59, 130, 246, 0.42);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.66);
  box-shadow: var(--shadow);
}

.prehire-path-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.prehire-path-heading h3 {
  margin: 8px 0 7px;
  color: var(--ink);
  font-size: 28px;
}

.prehire-path-heading p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.5;
}

.prehire-path-marker {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.prehire-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.prehire-steps::before {
  position: absolute;
  top: 18px;
  right: 11%;
  left: 11%;
  height: 1px;
  background: var(--line);
  content: "";
}

.prehire-steps button {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 10px;
  min-height: 92px;
  padding: 0 12px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.prehire-steps button > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--panel);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
}

.prehire-steps button strong {
  max-width: 180px;
  font-size: 14px;
  line-height: 1.3;
}

.prehire-steps button.is-active {
  border-bottom-color: var(--orange);
  color: var(--ink);
}

.prehire-steps button.is-active > span {
  border-color: var(--orange);
  background: var(--orange);
  color: #101827;
}

.prehire-steps button:focus-visible {
  border-radius: 7px;
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.prehire-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
  gap: 28px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 17, 31, 0.5);
}

.detail-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.prehire-detail h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.prehire-detail p {
  color: var(--text);
  line-height: 1.5;
}

.prehire-result {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.prehire-result strong {
  color: var(--green);
  font-size: 15px;
  line-height: 1.45;
}

.prehire-benefit {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 13px 16px;
  border-left: 3px solid var(--orange);
  background: rgba(249, 115, 22, 0.07);
}

.prehire-benefit strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.prehire-benefit p {
  color: var(--muted);
  line-height: 1.45;
}

.adaptation-team {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.adaptation-team-heading {
  max-width: 760px;
}

.adaptation-team-heading h3 {
  margin-top: 8px;
  font-size: 28px;
}

.adaptation-team-heading p {
  margin-top: 8px;
  color: var(--muted);
}

.adaptation-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.adaptation-team-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.62);
}

.adaptation-team-grid article.mentor-responsibility {
  border-color: rgba(249, 115, 22, 0.42);
}

.adaptation-team-grid h4 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.adaptation-team-grid .role-list {
  margin-top: 16px;
  padding-top: 16px;
}

.responsibility-note {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  background: rgba(249, 115, 22, 0.08);
}

.responsibility-note strong {
  color: var(--ink);
}

.responsibility-note p {
  color: var(--text);
}

.readiness-header {
  margin: 34px 0 16px;
}

.readiness-header h3 {
  margin-top: 8px;
  font-size: 28px;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.readiness-grid article {
  min-height: 132px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.readiness-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.readiness-grid p {
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 12px 0 14px;
}

.section-title p {
  color: var(--muted);
  font-size: 20px;
}

.tooltip-term {
  position: relative;
  display: inline-block;
  border-bottom: 1px dashed var(--cyan);
  color: var(--text);
  cursor: help;
  outline: none;
}

.tooltip-term:focus-visible {
  border-radius: 3px;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.access-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 20;
  display: grid;
  gap: 10px;
  width: min(390px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #101f32;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: var(--shadow);
}

.access-tooltip::before {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: #101f32;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.access-tooltip strong,
.access-tooltip span {
  display: block;
}

.access-tooltip > strong {
  color: var(--orange);
  font-size: 15px;
}

.access-tooltip > span {
  padding-left: 10px;
  border-left: 2px solid rgba(34, 211, 238, 0.48);
}

.access-tooltip > span b {
  margin-right: 3px;
  color: var(--cyan);
}

.access-tooltip b {
  color: var(--ink);
}

.tooltip-term:hover .access-tooltip,
.tooltip-term:focus .access-tooltip,
.tooltip-term:focus-within .access-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.daily-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 17, 31, 0.44);
}

.daily-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.daily-tabs button.is-active {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.16);
  color: var(--ink);
}

.split-layout,
.two-column,
.final-layout,
.sync-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.day1-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.task-card,
.panel-large,
.completion-card {
  padding: 26px;
}

.day1-main {
  min-height: 100%;
}

.day1-group + .day1-group {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.day1-group h3 {
  margin-top: 8px;
}

.day1-group > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.employee-tasks .role-label {
  color: var(--cyan);
}

.day1-result {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.15), transparent 46%),
    rgba(17, 31, 50, 0.72);
}

.day1-result h3 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: 24px;
}

.day1-result ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day1-result li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  line-height: 1.45;
}

.day1-result li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.task-card {
  min-height: 360px;
}

.accent-orange {
  border-color: rgba(249, 115, 22, 0.45);
}

.card-heading {
  margin-bottom: 18px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.check-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}

.check-item:hover {
  border-color: var(--line-strong);
}

.check-item input {
  width: 22px;
  height: 22px;
  accent-color: var(--orange);
}

.check-copy {
  color: var(--text);
  line-height: 1.35;
}

.check-copy label {
  cursor: pointer;
}

.check-copy.has-tooltip {
  display: inline;
}

.check-copy.has-tooltip > label {
  margin-right: 4px;
}

.check-item:has(input:checked) > .check-copy {
  color: var(--muted);
}

.check-item:has(input:checked) > label.check-copy {
  text-decoration: line-through;
}

.compact {
  gap: 10px;
}

.numbered-flow {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.flow-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
}

.flow-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--ink);
  font-weight: 900;
}

.warm .flow-item span {
  background: rgba(249, 115, 22, 0.18);
  color: var(--orange);
}

.callout {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.1);
}

.callout.warning {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.11);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.task-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.task-criteria span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}

.daily-phase-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.daily-phase-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.72);
  color: var(--text);
  text-align: left;
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.daily-phase-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.daily-phase-card.is-active {
  border-color: rgba(249, 115, 22, 0.42);
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.1), transparent 38%),
    rgba(17, 31, 50, 0.76);
}

.daily-phase-card span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-phase-card strong {
  color: var(--ink);
  font-size: 24px;
}

.daily-phase-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.daily-phase-panels {
  margin-top: 18px;
}

.daily-phase-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.6);
  box-shadow: var(--shadow);
}

.daily-phase-panel[hidden] {
  display: none;
}

.daily-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.daily-panel-head h3 {
  margin-top: 8px;
  font-size: 28px;
}

.daily-phase-panel > p {
  max-width: 820px;
  margin-top: 12px;
  color: var(--muted);
}

.daily-phase-panel .checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.daily-phase-panel .check-item {
  min-height: 76px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.column-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.column-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.column-link::after {
  margin-left: 7px;
  content: "→";
}

.column-link:hover {
  color: var(--ink);
}

.daily-stops {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.daily-stops-head h3 {
  margin-top: 8px;
}

.daily-stops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.daily-stops-grid article {
  padding-left: 16px;
  border-left: 3px solid rgba(249, 115, 22, 0.62);
}

.daily-stops-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
}

.daily-stops-grid p {
  color: var(--muted);
  font-size: 13px;
}

.quality-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chip.is-active,
.segmented button.is-active {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.16);
  color: var(--ink);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.quality-grid button {
  min-height: 62px;
  color: var(--ink);
  text-align: left;
}

.quality-grid button.is-selected {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.16);
}

.quality-detail {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid rgba(249, 115, 22, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), transparent 40%),
    rgba(17, 31, 50, 0.82);
}

.quality-detail-header {
  max-width: 820px;
  margin-bottom: 20px;
}

.quality-detail-header h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 32px;
}

.quality-detail-header p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.quality-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quality-detail-grid section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 17, 31, 0.38);
}

.quality-detail-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.quality-detail-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quality-detail-grid li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.4;
}

.quality-detail-grid li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.quality-detail-grid .risk li::before {
  background: var(--orange);
}

.quality-detail-grid .question {
  border-color: rgba(59, 130, 246, 0.42);
}

.quality-detail-grid .question p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
}

.feedback-grid,
.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feedback-grid article,
.signal-grid article {
  min-height: 178px;
  padding: 20px;
}

.feedback-grid h3 {
  margin: 0 0 10px;
}

.signal-grid h3 {
  margin: 14px 0 10px;
}

.warning-card {
  border-color: rgba(249, 115, 22, 0.46) !important;
}

.sync-layout {
  grid-template-columns: minmax(0, 1.25fr) 360px;
}

.sync-mock {
  overflow: hidden;
}

.mock-top {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.sync-mock label {
  display: grid;
  gap: 8px;
  padding: 16px 20px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.sync-mock input,
.sync-mock textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: rgba(5, 12, 24, 0.72);
  color: var(--ink);
  padding: 12px;
  text-transform: none;
}

.sync-mock textarea {
  min-height: 72px;
}

.sync-mock input:focus,
.sync-mock textarea:focus {
  border-color: var(--orange);
}

.sync-mock .form-actions {
  padding: 18px 20px 22px;
}

.stack {
  display: grid;
  align-content: start;
  gap: 16px;
}

.toast {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.12);
  color: var(--ink);
}

.toast.is-visible {
  display: block;
}

.checkpoint-title {
  margin-bottom: 22px;
}

.checkpoint-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.checkpoint-stage button {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
}

.checkpoint-stage button > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(59, 130, 246, 0.14);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.checkpoint-stage button strong {
  color: var(--ink);
  font-size: 17px;
}

.checkpoint-stage button.is-active {
  border-color: rgba(249, 115, 22, 0.62);
  background: rgba(249, 115, 22, 0.11);
}

.checkpoint-stage button.is-active > span {
  background: var(--orange);
  color: var(--ink);
}

.checkpoint-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkpoint-focus {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(249, 115, 22, 0.12), rgba(59, 130, 246, 0.07));
}

.focus-question {
  align-self: center;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.focus-question h3 {
  max-width: 470px;
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.12;
}

.focus-question p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.focus-goal strong {
  color: #ffad66;
  font-weight: 750;
}

.focus-goal strong[hidden] {
  display: none;
}

.focus-details {
  display: grid;
  gap: 20px;
}

.focus-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.focus-quality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-quality-list span {
  padding: 7px 10px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.09);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.focus-observation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-observation-list li {
  position: relative;
  padding-left: 17px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.42;
}

.focus-observation-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.third-month-prep {
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid rgba(249, 115, 22, 0.52);
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.09);
}

.third-month-prep[hidden] {
  display: none;
}

.third-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.third-month-head h3 {
  margin: 6px 0 7px;
  color: var(--ink);
  font-size: 22px;
}

.third-month-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.third-month-head button {
  flex: 0 0 auto;
}

.checkpoint-context > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.context-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

#checkpointPeriodLabel {
  color: var(--ink);
  font-size: 20px;
}

.participant-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.participant-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checkpoint-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: start;
}

.checkpoint-template {
  margin-bottom: 24px;
  border: 1px solid rgba(59, 130, 246, 0.48);
  border-radius: var(--radius);
  background: rgba(17, 31, 50, 0.74);
  overflow: hidden;
}

.template-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
}

.template-heading h3 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 24px;
}

.template-heading p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.template-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.template-volume {
  display: grid;
  flex: 0 0 150px;
  gap: 3px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.template-volume strong {
  color: var(--cyan);
  font-size: 28px;
}

.template-volume span {
  color: var(--muted);
  font-size: 12px;
}

.template-toggle-label {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.template-toggle-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(59, 130, 246, 0.34);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
  cursor: pointer;
}

.template-toggle-button:hover {
  border-color: rgba(59, 130, 246, 0.62);
  background: rgba(59, 130, 246, 0.14);
}

.template-toggle-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.template-chevron {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease;
}

.template-toggle-button[aria-expanded="true"] .template-chevron {
  transform: rotate(180deg);
}

.assessment-template-body {
  padding: 0 24px 24px;
}

.assessment-template-body[hidden] {
  display: none;
}

.assessment-view-tabs {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.44);
}

.assessment-view-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.assessment-view-tabs button.is-active {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.15);
  color: var(--ink);
}

.assessment-view-tabs button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.assessment-view-panel[hidden] {
  display: none;
}

.assessment-guide-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: rgba(59, 130, 246, 0.08);
}

.assessment-guide-intro strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.assessment-guide-intro p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.assessment-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.assessment-matrix {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}

.assessment-guide-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
}

.assessment-guide-table th,
.assessment-guide-table td {
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.38;
}

.assessment-guide-table thead th {
  background: rgba(249, 204, 90, 0.16);
  color: var(--ink);
  font-size: 13px;
}

.assessment-guide-table th:first-child {
  width: 185px;
}

.assessment-guide-table tbody th {
  background: rgba(98, 154, 96, 0.17);
  color: var(--text);
  font-size: 13px;
}

.assessment-guide-table tbody td {
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 13px;
}

.trust-summary-row > th,
.trust-summary-row > td {
  border-top: 3px solid var(--orange) !important;
}

.assessment-matrix th,
.assessment-matrix td {
  height: 34px;
  padding: 7px 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.assessment-matrix th:first-child {
  width: 190px;
  text-align: left;
}

.assessment-matrix thead th {
  background: rgba(249, 204, 90, 0.16);
  color: var(--text);
  font-size: 12px;
}

.assessment-matrix .period-row th:not(:first-child),
.assessment-matrix .name-row th:not(:first-child) {
  color: var(--ink);
  font-size: 14px;
}

.assessment-matrix tbody th {
  background: rgba(98, 154, 96, 0.17);
  color: var(--text);
  font-size: 13px;
}

.assessment-matrix tbody td {
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.assessment-matrix .total-row th,
.assessment-matrix .total-row td {
  font-weight: 850;
}

.assessment-matrix .pace-row th,
.assessment-matrix .pace-row td {
  border-top: 8px solid rgba(6, 17, 31, 0.9);
}

.assessment-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.assessment-scale strong {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 5px;
  border-radius: 5px;
  background: rgba(59, 130, 246, 0.16);
  color: var(--cyan);
}

.checkpoint-panel {
  padding: 24px;
}

.draft-warning {
  display: grid;
  gap: 4px;
  margin: -6px 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  border-radius: 0 7px 7px 0;
  background: rgba(249, 115, 22, 0.08);
}

.draft-warning strong {
  color: var(--ink);
  font-size: 13px;
}

.draft-warning span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.checkpoint-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.checkpoint-panel-head h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 23px;
}

.prep-question-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep-question-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  line-height: 1.4;
}

.prep-question-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.14);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
}

.prep-question-list p {
  margin: 5px 0 0;
  font-weight: 700;
}

.mentor-question-list li {
  grid-template-columns: 34px minmax(0, 1fr);
}

.mentor-question-list label {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mentor-question-list label > strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.mentor-question-list textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: rgba(6, 17, 31, 0.52);
  color: var(--ink);
  line-height: 1.4;
}

.mentor-question-list textarea::placeholder {
  color: rgba(151, 166, 184, 0.72);
}

.mentor-question-list textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.panel-note {
  margin: -8px 0 16px;
  color: var(--muted);
}

.checkpoint-panel .copy-button {
  width: 100%;
  margin-top: 18px;
}

.checkpoint-panel .toast {
  margin-top: 10px;
}

.checkpoint-callout {
  margin-top: 24px;
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.09);
}

.trust-definition {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.11), transparent 46%),
    rgba(17, 31, 50, 0.7);
  box-shadow: var(--shadow);
}

.trust-definition-main h3 {
  max-width: 800px;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.25;
}

.trust-definition-note {
  align-self: stretch;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.trust-definition-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.trust-definition-note p {
  color: var(--muted);
}

.trust-reasons {
  margin-top: 30px;
}

.trust-reasons-head h3,
.trust-decision-head h3 {
  margin-top: 8px;
  font-size: 28px;
}

.trust-reasons-head p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
}

.trust-reasons-layout {
  margin-top: 20px;
}

.trust-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-reason-grid button {
  display: flex;
  min-height: 72px;
  padding: 15px 16px;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--ink);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.trust-reason-grid button:hover {
  border-color: rgba(249, 115, 22, 0.55);
  transform: translateY(-1px);
}

.trust-reason-grid button.is-selected {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.16);
}


.trust-reason-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) minmax(0, 1.25fr);
  min-height: 0;
  margin-top: 18px;
  padding: 24px;
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(249, 115, 22, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.1), transparent 48%),
    rgba(17, 31, 50, 0.72);
  box-shadow: var(--shadow);
}

.trust-reason-detail-head {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.trust-reason-detail h4 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 25px;
}

.trust-reason-answer {
  margin-top: 0;
  padding: 4px 0;
}

.trust-reason-answer span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.trust-reason-answer strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.trust-reason-answer.is-action {
  padding: 16px 18px;
  border-left: 3px solid var(--cyan);
  background: rgba(34, 211, 238, 0.07);
}

.trust-decision-head {
  margin: 34px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.decision-tree {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.decision-question {
  padding: 24px;
  text-align: center;
}

.decision-question strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 28px;
}

.segmented {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.decision-result {
  min-height: 170px;
  padding: 28px;
  border-color: rgba(249, 115, 22, 0.42);
}

.decision-result strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 26px;
}

.signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.signal-grid article {
  min-height: 126px;
}

.final-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.completion-card {
  display: grid;
  align-content: center;
  gap: 18px;
}

.icon-button,
.mobile-only {
  display: none;
}

@media (max-width: 1080px) {
  .daily-stops-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: 292px;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .mobile-only,
  .icon-button {
    display: inline-grid;
  }

  .icon-button {
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
  }

  .icon-button span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .top-actions {
    display: none;
  }
}

@media (max-width: 860px) {
  .page {
    padding: 34px 18px 52px;
  }

  .daily-phase-nav,
  .daily-phase-panel .checklist {
    grid-template-columns: 1fr;
  }

  .daily-phase-card {
    min-height: auto;
  }

  .daily-phase-panel {
    padding: 22px;
  }

  .daily-panel-head {
    display: grid;
    align-items: start;
  }

  .trust-definition-note {
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-grid,
  .split-layout,
  .two-column,
  .adaptation-team-grid,
  .trust-definition,
  .trust-reasons-layout,
  .decision-tree,
  .role-overview,
  .day1-layout,
  .sync-layout,
  .final-layout,
  .feedback-grid,
  .quality-detail-grid,
  .signal-grid,
  .checkpoint-grid {
    grid-template-columns: 1fr;
  }

  .prehire-path {
    padding: 20px;
  }

  .prehire-path-heading,
  .prehire-benefit {
    align-items: flex-start;
    flex-direction: column;
  }

  .prehire-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prehire-steps::before {
    display: none;
  }

  .prehire-detail {
    grid-template-columns: 1fr;
  }

  .prehire-result {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .readiness-grid {
    grid-template-columns: 1fr;
  }

  .roadmap,
  .quality-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-reason-detail {
    grid-template-columns: 1fr;
  }

  .trust-reason-detail-head {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .daily-stops-grid {
    grid-template-columns: 1fr;
  }

  .task-criteria {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .checkpoint-context {
    align-items: flex-start;
    flex-direction: column;
  }

  .participant-list {
    justify-content: flex-start;
  }

  .third-month-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-volume {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0;
    border: 0;
  }

}

@media (max-width: 560px) {
  .trust-reason-grid {
    grid-template-columns: 1fr;
  }

  .assessment-view-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .assessment-view-tabs button {
    padding: 7px 9px;
  }

  .assessment-guide-intro {
    align-items: flex-start;
  }

  .prehire-steps {
    grid-template-columns: 1fr;
  }

  .prehire-steps button {
    min-height: 74px;
  }

  .access-tooltip {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 50%;
    width: auto;
    transform: translateY(calc(-50% - 4px));
  }

  .access-tooltip::before {
    display: none;
  }

  .tooltip-term:hover .access-tooltip,
  .tooltip-term:focus .access-tooltip,
  .tooltip-term:focus-within .access-tooltip {
    transform: translateY(-50%);
  }

  .checkpoint-stage {
    grid-template-columns: 1fr;
  }

  .checkpoint-focus {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px;
  }

  .focus-question {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-question h3 {
    font-size: 26px;
  }

  .focus-observation-list {
    grid-template-columns: 1fr;
  }

  .checkpoint-template {
    padding: 0;
  }

  .template-heading {
    align-items: flex-start;
    padding: 18px;
  }

  .template-volume {
    display: none;
  }

  .template-toggle-label {
    display: none;
  }

  .assessment-template-body {
    padding: 0 18px 18px;
  }
}

@media print {
  .sidebar,
  .topbar {
    display: none;
  }

  .app-shell {
    display: block;
  }

  .page {
    display: block;
    min-height: auto;
    page-break-after: always;
  }
}
