:root {
  --bg: #F7F3EC;
  --bg-soft: #F1EBE0;
  --card: #FFFFFF;
  --ink: #1C1816;
  --ink-2: #3D352D;
  --ink-3: #6E635A;
  --line: #E5DDD0;
  --line-strong: #C9BFAE;
  --terra: #C45A2C;
  --terra-soft: #F2DBC9;
  --terra-deep: #8E3F1E;
  --plum: #5E4961;
  --plum-soft: #E6DCEA;
  --sage: #5C7A5B;
  --warn: #B85A3A;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

#root {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* App shell */
.app {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
}

.app-top {
  padding: 18px 22px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  font-style: italic;
}

.progress {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--terra);
  border-radius: 99px;
  transition: width 600ms cubic-bezier(.4,0,.2,1);
}

.phase {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 22px 120px;
  animation: phase-in 500ms cubic-bezier(.4,0,.2,1) both;
}
@keyframes phase-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}

h1.display, h2.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: pretty;
  margin: 0 0 16px;
}

h1.display { font-size: 38px; }
h2.display { font-size: 28px; }

.lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 24px;
  text-wrap: pretty;
}

.caption {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* Buttons */
.btn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  cursor: pointer;
  transition: transform 120ms ease, background 200ms ease, opacity 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--terra-deep); }
.btn-primary:disabled {
  background: var(--line-strong);
  color: var(--bg);
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 12px 16px;
  min-height: 44px;
}
.btn-ghost:hover { color: var(--terra); }

.btn-block { width: 100%; }

/* Bottom action area */
.actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--bg) 30%);
  padding: 24px 22px max(22px, env(safe-area-inset-bottom));
  margin: 0 -22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}

/* Snapshot — likert chips */
.likert {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.likert button {
  font-family: var(--sans);
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 180ms ease;
}
.likert button:hover { border-color: var(--line-strong); }
.likert button.selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.likert .dot {
  width: 18px;
  height: 18px;
  border-radius: 99px;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
}
.likert button.selected .dot {
  border-color: var(--bg);
  background: var(--terra);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.qcount {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-3);
  font-size: 14px;
  margin-bottom: 8px;
}

.qtext {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
  text-wrap: pretty;
}

/* Gauge */
.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0 24px;
}
.gauge {
  position: relative;
  width: 240px;
  height: 240px;
}
.band-label {
  font-family: var(--serif);
  font-size: 32px;
  text-align: center;
  margin: 8px 0 6px;
  font-weight: 500;
}
.band-sub {
  font-size: 14px;
  color: var(--ink-3);
  text-align: center;
  max-width: 320px;
}

/* Reality check */
.bucket {
  background: var(--card);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 14px;
  min-height: 90px;
  transition: all 180ms ease;
}
.bucket.over {
  background: var(--terra-soft);
  border-color: var(--terra);
  border-style: solid;
}
.bucket-title {
  font-family: var(--serif);
  font-size: 17px;
  margin: 0 0 4px;
  font-weight: 500;
}
.bucket-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  margin: 4px 4px 0 0;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 200ms ease;
}
.chip.dragging {
  cursor: grabbing;
  box-shadow: 0 12px 30px -10px rgba(28,24,22,0.3);
  background: #fff;
  transform: scale(1.04);
  z-index: 1000;
}
.chip.in-mine { background: #fff; border-color: var(--terra); color: var(--terra-deep); }
.chip.in-not-mine { background: #fff; border-color: var(--plum); color: var(--plum); }
.chip.in-simplify { background: #fff; border-color: var(--sage); color: var(--sage); }

.input {
  font-family: var(--sans);
  font-size: 15px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease;
}
.input:focus { border-color: var(--terra); }
.input.text-display {
  font-family: var(--serif);
  font-size: 22px;
  padding: 14px 16px;
}

textarea.input { resize: vertical; min-height: 80px; }

/* Body diagram */
.body-zones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.zone-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 180ms ease;
}
.zone-row.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.zone-row.on .zone-sub { color: rgba(247,243,236,0.7); }
.zone-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--terra);
}
.zone-row.on .zone-icon { background: var(--terra); color: #fff; }
.zone-name { font-weight: 500; font-size: 15px; }
.zone-sub { font-size: 13px; color: var(--ink-3); }

/* Breathing orb */
.orb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  min-height: 380px;
}
.orb-frame {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E89A6A, var(--terra) 60%, var(--terra-deep));
  position: absolute;
  box-shadow: 0 30px 80px -20px rgba(196,90,44,0.5);
  transition: transform 4000ms cubic-bezier(.4,0,.2,1);
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  width: 240px;
  height: 240px;
}
.breath-label {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  margin-top: 28px;
  color: var(--ink);
  min-height: 36px;
}
.breath-count {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Load sort rows */
.task-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  margin-bottom: 10px;
}
.label-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.label-pill {
  font-family: var(--sans);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-3);
  cursor: pointer;
  transition: all 180ms ease;
}
.label-pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.label-pill.on.l-today { background: var(--terra); border-color: var(--terra); }
.label-pill.on.l-sched { background: var(--plum); border-color: var(--plum); }
.label-pill.on.l-simp { background: var(--sage); border-color: var(--sage); }
.label-pill.on.l-rel { background: var(--ink-3); border-color: var(--ink-3); }

/* Boundary cards */
.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.boundary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 180ms ease;
}
.boundary-card .b-context {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.boundary-card .b-phrase {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: pretty;
}
.boundary-card.saved {
  background: var(--ink);
  border-color: var(--ink);
}
.boundary-card.saved .b-context { color: rgba(247,243,236,0.6); }
.boundary-card.saved .b-phrase { color: var(--bg); }
.boundary-card .b-check {
  font-size: 12px;
  margin-top: 8px;
  color: var(--ink-3);
}
.boundary-card.saved .b-check { color: var(--terra-soft); }

/* Guided reset constellation */
.dark-canvas {
  background: #0E1F14;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(168, 214, 158, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(217, 119, 87, 0.12), transparent 50%);
  color: #F7F3EC;
  margin: 0 -22px;
  padding: 40px 22px 32px;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0;
}
.dark-canvas .breath-label { color: #F7F3EC; }
.dark-canvas .breath-count { color: rgba(247,243,236,0.5); }
.dark-canvas .orb {
  background: radial-gradient(circle at 30% 30%, #F2C39A, var(--terra) 60%, var(--terra-deep));
  box-shadow: 0 0 80px 20px rgba(196,90,44,0.4);
}
.dark-canvas .orb-ring { border-color: rgba(247,243,236,0.1); }

.constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.anchor-board {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 220px;
  margin: 18px auto 0;
  border: 1px dashed rgba(247, 243, 236, 0.12);
  border-radius: 14px;
  background: rgba(247, 243, 236, 0.03);
  overflow: hidden;
}
.anchor-board-label {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.4);
  z-index: 1;
}
.star-word {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(247,243,236,0.55);
  font-size: 14px;
  animation: star-fade 8000ms ease-in-out forwards;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(247,243,236,0.15);
}
.star-word.you {
  color: #F2C39A;
  font-size: 22px;
  font-style: normal;
  text-shadow: 0 0 20px rgba(242,195,154,0.6);
}
@keyframes star-fade {
  0% { opacity: 0; transform: translateY(8px) scale(0.96); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-8px) scale(1); }
}

.anchor-input {
  font-family: var(--serif);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(247,243,236,0.3);
  color: #F7F3EC;
  font-size: 32px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  outline: none;
  padding: 12px 0;
}
.anchor-input::placeholder { color: rgba(247,243,236,0.25); font-style: italic; }

/* Action plan */
.plan-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.plan-row:last-child { border-bottom: none; }
.plan-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.plan-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: pretty;
}
.plan-value.empty {
  color: var(--ink-3);
  font-style: italic;
}

/* Quote blocks */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.35;
  color: var(--terra-deep);
  border-left: 2px solid var(--terra);
  padding-left: 14px;
  margin: 18px 0;
  text-wrap: pretty;
}

/* Close screen */
.compass-bridge {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-top: 18px;
}
.compass-bridge h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
}
.compass-bridge p {
  color: rgba(247,243,236,0.75);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}
/* Compass showcase */
.compass-showcase {
  background: #0F3520;
  background-image:
    radial-gradient(ellipse at top right, rgba(217, 119, 87, 0.12), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.04), transparent 50%);
  color: #F7F3EC;
  border-radius: 18px;
  padding: 26px 22px 22px;
  margin-top: 18px;
  box-shadow: 0 24px 60px -28px rgba(15, 53, 32, 0.6);
}
.compass-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.compass-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 119, 87, 0.4);
  color: #D9A877;
  font-size: 22px;
  line-height: 1;
}
.compass-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  margin-bottom: 2px;
}
.compass-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  color: #F7F3EC;
}
.compass-lede {
  color: rgba(247, 243, 236, 0.78);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.compass-strip {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.compass-strip:last-of-type { margin-bottom: 18px; }
.compass-strip img {
  width: 100%;
  height: auto;
  display: block;
}
.compass-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.compass-feat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.compass-feat span {
  font-family: var(--serif);
  font-size: 14px;
  color: #F7F3EC;
}
.compass-feat em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 236, 0.55);
}
.compass-cta {
  background: #D9A877 !important;
  color: #0F3520 !important;
  font-weight: 600;
}
.compass-cta:hover {
  background: #E5B888 !important;
}
.compass-foot {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 236, 0.5);
  margin: 10px 0 0;
}

/* Legacy compass-bridge (unused but kept) */
.compass-bridge a.btn {
  background: var(--terra);
  color: #fff;
  text-decoration: none;
}

/* Small UI bits */
.tiny-link {
  background: none;
  border: none;
  color: var(--terra);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
}

.divider-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 28px 0 14px;
  position: relative;
}
.divider-label::before, .divider-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--line);
}
.divider-label::before { left: 0; }
.divider-label::after { right: 0; }

/* Reset method badge */
.reset-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-deep);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 18px;
}

/* Welcome hero */
.welcome-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 24px;
}
.welcome-hero .mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--terra);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* Step indicator for reset */
.reset-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.reset-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.reset-dot.done { background: var(--terra); }
.reset-dot.current { background: var(--ink); }

/* Anchor word reveal */
.anchor-final {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  color: var(--terra);
  text-align: center;
  margin: 24px 0;
  line-height: 1;
}

.anchor-howto {
  width: 100%;
  max-width: 360px;
  margin: 24px auto 0;
  padding: 18px 18px 16px;
  background: rgba(247, 243, 236, 0.06);
  border: 1px solid rgba(247, 243, 236, 0.12);
  border-radius: 12px;
}
.anchor-howto-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  margin-bottom: 12px;
}
.anchor-howto-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.anchor-howto-list li {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(247, 243, 236, 0.82);
  padding-left: 14px;
  position: relative;
  text-wrap: pretty;
}
.anchor-howto-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 600;
}
.anchor-howto-list strong {
  color: #F7F3EC;
  font-weight: 500;
}
.anchor-howto-foot {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(247, 243, 236, 0.55);
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(247, 243, 236, 0.15);
}

@media (min-width: 600px) {
  h1.display { font-size: 44px; }
  .qtext { font-size: 28px; }
}

/* Signal Ladder */
.ladder-wrap {
  margin: 24px 0 8px;
  padding: 22px 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.ladder-q {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  margin: 4px 0 6px;
  color: var(--ink);
}
.ladder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.ladder-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 0;
  border-right: 1px dashed var(--line);
  padding-right: 10px;
}
.axis-top, .axis-bot {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.axis-top { color: #B84A3E; }
.axis-bot { color: #6B8F7A; }
.ladder-rungs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rung {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #FDFBF6;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  transition: all 220ms ease;
}
.rung:hover {
  border-color: var(--terra);
  transform: translateX(2px);
}
.rung-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  color: #fff;
}
.rung-label { flex: 1; text-wrap: pretty; }
/* tone gradient — top (breakdown) hot, bottom (whisper) cool */
.rung-whisper .rung-num { background: #6B8F7A; }
.rung-murmur  .rung-num { background: #8AA37A; }
.rung-mutter  .rung-num { background: #C8A35C; }
.rung-raised  .rung-num { background: #D9824A; }
.rung-shout   .rung-num { background: #C25A3E; }
.rung-break   .rung-num { background: #8E2F26; }
.rung-break, .rung-shout, .rung-raised {
  background: #FBF4EE;
}
.rung.is-picked {
  border-color: var(--terra);
  background: #FFF;
  box-shadow: 0 8px 22px -10px rgba(217, 119, 87, 0.45);
  transform: translateX(2px);
}
.rung.is-dim {
  opacity: 0.42;
}
.ladder-reveal {
  margin-top: 14px;
  padding: 14px 16px;
  background: #FBF4EE;
  border-left: 3px solid var(--terra);
  border-radius: 10px;
  animation: fadeUp 320ms ease;
}
.ladder-reveal p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin: 4px 0 8px;
  text-wrap: pretty;
}
.ladder-redo {
  background: none;
  border: none;
  color: var(--terra);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
