/* Daily Check-In · optional, adaptive, one question at a time. */
.dci-scrim {
  --dci-cyan: #54ecf2;
  --dci-violet: #b79cff;
  --dci-rose: #ff7ca8;
  --dci-amber: #ffd26b;
  --dci-blue: #78a7ff;
  --dci-green: #58e6a9;
  --dci-orange: #ff9d69;
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 12, .84);
  backdrop-filter: blur(18px) saturate(115%);
  animation: dciFade .22s ease-out both;
}
.dci-shell {
  position: relative;
  overflow: hidden;
  width: min(980px, calc(100vw - 32px));
  max-height: min(880px, calc(100vh - 32px));
  border: 1px solid color-mix(in srgb, var(--dci-cyan) 28%, var(--hair));
  border-radius: 28px;
  background:
    radial-gradient(760px 460px at 10% -10%, rgba(84,236,242,.12), transparent 60%),
    radial-gradient(640px 440px at 106% 12%, rgba(183,156,255,.13), transparent 62%),
    linear-gradient(150deg, color-mix(in srgb, var(--surface) 96%, #07131c), color-mix(in srgb, var(--surface) 96%, #0e0b19));
  box-shadow: 0 44px 120px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.09), 0 0 70px -48px var(--dci-cyan);
  animation: dciRise .34s cubic-bezier(.18,.82,.27,1) both;
}
.dci-shell::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(115deg, black, transparent 72%);
}
.dci-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px 15px; border-bottom: 1px solid var(--hair); }
.dci-brand { display: flex; align-items: center; gap: 11px; }
.dci-brand > i { width: 34px; height: 34px; border: 1px solid color-mix(in srgb, var(--dci-cyan) 54%, transparent); border-radius: 50%; background: radial-gradient(circle, #fff 0 4%, var(--dci-cyan) 12%, rgba(84,236,242,.10) 50%, transparent 53%); box-shadow: 0 0 25px -5px var(--dci-cyan); }
.dci-brand > span { display: grid; gap: 3px; }
.dci-brand b { color: var(--text); font-family: var(--ff-display); font-size: 17px; letter-spacing: -.02em; }
.dci-brand small { color: var(--text-faint); font: 600 8.5px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; }
.dci-top-actions { display: flex; align-items: center; gap: 8px; }
.dci-leave, .dci-close { border: 0; background: transparent; color: var(--text-mute); cursor: pointer; }
.dci-leave { padding: 7px 10px; border-radius: 8px; font: 600 9px/1 var(--ff-mono); letter-spacing: .035em; }
.dci-leave:hover { color: var(--text); background: rgba(255,255,255,.04); }
.dci-close { width: 32px; height: 32px; border: 1px solid var(--hair); border-radius: 50%; font-size: 20px; line-height: 1; }
.dci-close:hover { color: var(--text); border-color: var(--hair-strong); }
.dci-progress { position: relative; z-index: 2; height: 2px; background: rgba(255,255,255,.04); }
.dci-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--dci-cyan), var(--dci-violet)); box-shadow: 0 0 14px var(--dci-cyan); transition: width .35s cubic-bezier(.2,.8,.2,1); }

.dci-question { --q: var(--dci-cyan); position: relative; z-index: 1; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 28px; align-items: start; overflow-y: auto; max-height: calc(100vh - 152px); padding: 34px 48px 38px; scrollbar-width: thin; }
.dci-question.accent-violet { --q: var(--dci-violet); }
.dci-question.accent-rose { --q: var(--dci-rose); }
.dci-question.accent-amber { --q: var(--dci-amber); }
.dci-question.accent-blue { --q: var(--dci-blue); }
.dci-question.accent-green { --q: var(--dci-green); }
.dci-question.accent-orange { --q: var(--dci-orange); }
.dci-q-orbit { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: 0; width: 108px; height: 108px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--q) 30%, transparent); border-radius: 50%; }
.dci-q-orbit::before, .dci-q-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.dci-q-orbit::before { inset: 11px; border: 1px dashed color-mix(in srgb, var(--q) 42%, transparent); animation: dciOrbit 20s linear infinite; }
.dci-q-orbit::after { inset: 27px; background: radial-gradient(circle at 38% 33%, white 0 3%, var(--q) 12%, color-mix(in srgb, var(--q) 28%, #0a1018) 68%); box-shadow: 0 0 32px color-mix(in srgb, var(--q) 42%, transparent); }
.dci-q-orbit > span { position: relative; z-index: 2; color: #071016; font: 800 13px/1 var(--ff-mono); }
.dci-q-copy, .dci-scale-wrap, .dci-chips, .dci-freeform, .dci-q-actions { grid-column: 2; }
.dci-q-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--q); font: 750 9px/1 var(--ff-mono); letter-spacing: .16em; }
.dci-q-kicker em { color: var(--text-faint); font-style: normal; letter-spacing: .08em; }
.dci-q-copy h2 { max-width: 720px; margin: 13px 0 0; color: var(--text); font-family: var(--ff-display); font-size: clamp(31px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -.052em; text-wrap: balance; }
.dci-q-copy p { max-width: 680px; margin: 14px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.dci-scale-wrap { margin-top: 24px; }
.dci-scale-label { display: flex; justify-content: space-between; color: var(--text-mute); font: 650 9px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; }
.dci-scale-label em { color: var(--q); font-style: normal; }
.dci-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.dci-scale button { min-height: 58px; display: grid; place-items: center; gap: 2px; border: 1px solid var(--hair); border-radius: 12px; color: var(--text-mute); background: color-mix(in srgb, var(--surface-2) 76%, transparent); cursor: pointer; transition: transform .14s ease, border-color .14s ease, background .14s ease; }
.dci-scale button:hover { transform: translateY(-2px); color: var(--text); border-color: color-mix(in srgb, var(--q) 46%, var(--hair)); }
.dci-scale button.on { color: var(--q); border-color: color-mix(in srgb, var(--q) 70%, var(--hair)); background: color-mix(in srgb, var(--q) 11%, var(--surface-2)); box-shadow: 0 14px 28px -22px var(--q), inset 0 1px 0 rgba(255,255,255,.08); }
.dci-scale b { font: 700 17px/1 var(--ff-display); }
.dci-scale small { min-height: 9px; font: 600 7.5px/1 var(--ff-mono); text-transform: uppercase; }
.dci-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.dci-chips button { padding: 8px 11px; border: 1px solid var(--hair); border-radius: 999px; color: var(--text-mute); background: rgba(255,255,255,.02); font: 600 9.5px/1 var(--ff-mono); cursor: pointer; transition: .14s ease; }
.dci-chips button:hover { color: var(--text); border-color: color-mix(in srgb, var(--q) 38%, var(--hair)); }
.dci-chips button.on { color: var(--q); border-color: color-mix(in srgb, var(--q) 58%, var(--hair)); background: color-mix(in srgb, var(--q) 9%, transparent); box-shadow: 0 0 18px -12px var(--q); }
.dci-freeform { display: grid; gap: 8px; margin-top: 19px; }
.dci-freeform > span { color: var(--text-2); font: 650 9px/1 var(--ff-mono); letter-spacing: .07em; text-transform: uppercase; }
.dci-freeform > span em { margin-left: 5px; color: var(--text-faint); font-style: normal; font-weight: 500; }
.dci-freeform textarea { width: 100%; min-height: 112px; resize: vertical; padding: 15px 16px; border: 1px solid var(--hair-strong); border-radius: 14px; outline: none; color: var(--text); caret-color: var(--q); background: color-mix(in srgb, var(--surface-2) 78%, rgba(4,10,16,.78)); font: 450 15px/1.55 var(--ff-body); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); transition: border-color .15s ease, box-shadow .15s ease; }
.dci-freeform textarea:focus { border-color: color-mix(in srgb, var(--q) 60%, var(--hair)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--q) 8%, transparent), inset 0 1px 0 rgba(255,255,255,.05); }
.dci-freeform textarea::placeholder { color: var(--text-faint); }
.dci-freeform > small { color: var(--text-faint); font: 500 8px/1 var(--ff-mono); }
.dci-q-actions, .dci-finish-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 23px; }
.dci-back, .dci-next, .dci-skip-go { min-height: 41px; border-radius: 10px; padding: 0 15px; font: 700 10px/1 var(--ff-mono); cursor: pointer; }
.dci-back { border: 1px solid var(--hair); color: var(--text-mute); background: transparent; }
.dci-back:hover:not(:disabled) { color: var(--text); border-color: var(--hair-strong); }
.dci-back:disabled { opacity: .3; cursor: default; }
.dci-next { border: 1px solid var(--q, var(--dci-cyan)); color: #071014; background: var(--q, var(--dci-cyan)); box-shadow: 0 14px 30px -18px var(--q, var(--dci-cyan)); }
.dci-next span { margin-left: 8px; }
.dci-next:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.dci-next:disabled { opacity: .55; cursor: wait; }
.dci-error { position: relative; z-index: 4; margin: 0 22px 18px; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--critical) 45%, var(--hair)); border-radius: 9px; color: var(--critical); background: color-mix(in srgb, var(--critical) 8%, var(--surface)); font-size: 11px; }
.dci-loading { min-height: 520px; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--text-mute); font: 600 10px/1 var(--ff-mono); letter-spacing: .08em; }
.dci-loading i { width: 42px; height: 42px; border: 2px solid color-mix(in srgb, var(--dci-cyan) 25%, transparent); border-top-color: var(--dci-cyan); border-radius: 50%; animation: dciOrbit 1s linear infinite; }
.dci-skip-panel { position: absolute; z-index: 8; inset: auto 18px 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--dci-violet) 34%, var(--hair)); border-radius: 15px; background: color-mix(in srgb, var(--surface) 96%, #0c0a16); box-shadow: 0 22px 54px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07); }
.dci-skip-panel small { color: var(--dci-violet); font: 700 8px/1 var(--ff-mono); letter-spacing: .11em; }
.dci-skip-panel h3 { margin: 5px 0 3px; color: var(--text); font-family: var(--ff-display); font-size: 18px; }
.dci-skip-panel p { margin: 0; color: var(--text-mute); font-size: 11px; }
.dci-skip-panel > div:last-child { display: flex; gap: 8px; flex: none; }
.dci-skip-go { border: 1px solid color-mix(in srgb, var(--dci-violet) 70%, var(--hair)); color: var(--dci-violet); background: color-mix(in srgb, var(--dci-violet) 9%, transparent); }

.dci-finish { --q: var(--dci-cyan); position: relative; z-index: 1; overflow-y: auto; max-height: calc(100vh - 112px); padding: 28px 42px 34px; }
.dci-finish-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 14px; border: 1px solid color-mix(in srgb, var(--dci-green) 50%, transparent); border-radius: 50%; color: var(--dci-green); background: radial-gradient(circle, color-mix(in srgb, var(--dci-green) 18%, transparent), transparent 68%); box-shadow: 0 0 36px -10px var(--dci-green); font-size: 22px; }
.dci-finish-copy { text-align: center; }
.dci-finish-copy small { color: var(--dci-green); font: 750 8px/1 var(--ff-mono); letter-spacing: .14em; }
.dci-finish-copy h2 { margin: 8px 0 0; color: var(--text); font-family: var(--ff-display); font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; }
.dci-finish-copy p { margin: 8px auto 0; max-width: 620px; color: var(--text-mute); font-size: 12px; }
.dci-snapshot { margin-top: 24px; padding: 16px; border: 1px solid color-mix(in srgb, var(--dci-cyan) 24%, var(--hair)); border-radius: 17px; background: linear-gradient(140deg, color-mix(in srgb, var(--dci-cyan) 5%, transparent), color-mix(in srgb, var(--dci-violet) 4%, transparent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); }
.dci-snapshot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.dci-snapshot-head span { color: var(--text); font-family: var(--ff-display); font-size: 15px; }
.dci-snapshot-head em { color: var(--text-faint); font: 600 8px/1 var(--ff-mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.dci-snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.dci-snap-row { display: grid; grid-template-columns: 3px minmax(0,1fr); gap: 10px; min-height: 64px; padding: 10px 11px; border: 1px solid var(--hair); border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.dci-snap-row > i { border-radius: 99px; background: var(--dci-cyan); box-shadow: 0 0 12px -2px var(--dci-cyan); }
.dci-snap-target > i, .dci-snap-flag > i { background: var(--dci-violet); box-shadow: 0 0 12px -2px var(--dci-violet); }
.dci-snap-radar > i { background: var(--dci-orange); box-shadow: 0 0 12px -2px var(--dci-orange); }
.dci-snap-arrow > i { background: var(--dci-green); box-shadow: 0 0 12px -2px var(--dci-green); }
.dci-snap-row > span { display: grid; align-content: center; gap: 5px; min-width: 0; }
.dci-snap-row small { color: var(--text-faint); font: 700 7.5px/1 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; }
.dci-snap-row b { color: var(--text-2); font-size: 11.5px; line-height: 1.35; }
.dci-finish-actions { margin-top: 14px; }

/* Home — a compact door in the system/status row, never another dashboard card. */
.dci-home-launch { --door: var(--dci-cyan, #54ecf2); min-height: 43px; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--door) 34%, var(--hair)); border-radius: 999px; color: var(--text); background: color-mix(in srgb, var(--door) 5%, var(--surface)); cursor: pointer; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 26px -24px var(--door); }
.dci-home-launch > i { width: 8px; height: 8px; border-radius: 50%; background: var(--door); box-shadow: 0 0 10px var(--door); }
.dci-home-launch > span { display: grid; gap: 2px; text-align: left; }
.dci-home-launch small { color: var(--text-faint); font: 700 6.5px/1 var(--ff-mono); letter-spacing: .11em; }
.dci-home-launch b { font: 650 10px/1 var(--ff-body); }
.dci-home-launch > em { color: var(--door); font-style: normal; }
.dci-home-launch:hover { border-color: color-mix(in srgb, var(--door) 65%, var(--hair)); transform: translateY(-1px); }
.dci-home-launch.tone-complete { --door: var(--health-green, #58e6a9); }
.dci-home-launch.tone-progress { --door: var(--health-violet, #b79cff); }
.dci-home-launch.tone-skipped { --door: var(--text-faint); }

/* Health today card. */
.dci-health-card { --dci-tone: var(--health-cyan, #54ecf2); position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--dci-tone) 28%, var(--hair)); background: linear-gradient(118deg, color-mix(in srgb, var(--dci-tone) 8%, transparent), transparent 44%), var(--card-grad); }
.dci-health-card.tone-complete { --dci-tone: var(--health-green, #58e6a9); }
.dci-health-card.tone-progress { --dci-tone: var(--health-violet, #b79cff); }
.dci-health-card.tone-skipped { --dci-tone: var(--text-faint); }
.dci-health-glow { position: absolute; pointer-events: none; width: 250px; height: 250px; right: -95px; top: -150px; border-radius: 50%; background: var(--dci-tone); opacity: .06; filter: blur(10px); }
.dci-health-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dci-health-head small { color: var(--dci-tone); font: 750 8px/1 var(--ff-mono); letter-spacing: .14em; }
.dci-health-head h2 { margin: 8px 0 0; color: var(--text); font-family: var(--ff-display); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.035em; }
.dci-status { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 9px; border: 1px solid color-mix(in srgb, var(--dci-tone) 40%, var(--hair)); border-radius: 999px; color: var(--dci-tone); background: color-mix(in srgb, var(--dci-tone) 7%, transparent); font: 700 8px/1 var(--ff-mono); letter-spacing: .07em; text-transform: uppercase; }
.dci-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.dci-health-note { position: relative; max-width: 700px; margin: 13px 0 0; color: var(--text-mute); font-size: 11.5px; line-height: 1.5; }
.dci-health-card .dci-snapshot { position: relative; margin-top: 14px; }
.dci-snapshot.is-compact .dci-snapshot-head { display: none; }
.dci-snapshot.is-compact .dci-snap-row { min-height: 54px; padding: 8px 9px; }
.dci-health-actions { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Health history and correlation view. */
.dci-history-stack { display: grid; gap: 12px; }
.dci-history-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: var(--text-mute); font: 600 9px/1 var(--ff-mono); }
.dci-history-summary span { display: flex; align-items: baseline; gap: 4px; }
.dci-history-summary b { color: var(--text); font-family: var(--ff-display); font-size: 17px; }
.dci-history-summary em { margin-left: auto; color: var(--text-faint); font-style: normal; }
.dci-trend-chart { padding: 10px 12px 7px; border: 1px solid var(--hair); border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
.dci-trend-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; color: var(--text-faint); font: 650 8px/1 var(--ff-mono); }
.dci-trend-legend span::before { content: ""; display: inline-block; width: 13px; height: 2px; margin: 0 5px 2px 0; background: currentColor; }
.dci-trend-legend .mind { color: var(--health-violet, #b79cff); }
.dci-trend-legend .body { color: var(--health-rose, #ff7ca8); }
.dci-trend-legend .energy { color: var(--health-green, #58e6a9); }
.dci-trend-legend .sleep { color: var(--health-cyan, #54ecf2); opacity: .5; }
.dci-trend-chart svg { width: 100%; height: 180px; overflow: visible; }
.dci-trend-chart .grid { stroke: color-mix(in srgb, var(--hair) 80%, transparent); stroke-width: 1; }
.dci-trend-chart .sleepbar { fill: color-mix(in srgb, var(--health-cyan, #54ecf2) 10%, transparent); }
.dci-trend-chart .trace { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dci-trend-chart .trace.mental, .dci-trend-chart .dot.mental { stroke: var(--health-violet, #b79cff); fill: var(--surface); }
.dci-trend-chart .trace.physical, .dci-trend-chart .dot.physical { stroke: var(--health-rose, #ff7ca8); fill: var(--surface); }
.dci-trend-chart .trace.energy, .dci-trend-chart .dot.energy { stroke: var(--health-green, #58e6a9); fill: var(--surface); }
.dci-trend-axis { display: flex; justify-content: space-between; color: var(--text-faint); font: 550 7.5px/1 var(--ff-mono); }
.dci-correlation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.dci-correlation { padding: 10px 11px; border: 1px solid var(--hair); border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
.dci-correlation > small { display: block; color: var(--text-faint); font: 700 7.5px/1 var(--ff-mono); letter-spacing: .07em; text-transform: uppercase; }
.dci-correlation > b { display: block; margin-top: 7px; color: var(--health-cyan, #54ecf2); font-family: var(--ff-display); font-size: 18px; }
.dci-correlation.is-building > b { color: var(--text-mute); }
.dci-correlation p { margin: 5px 0; color: var(--text-2); font-size: 10.5px; line-height: 1.4; }
.dci-correlation em { color: var(--text-faint); font: 500 7.5px/1.3 var(--ff-mono); font-style: normal; }
.dci-history-list { display: grid; gap: 6px; }
.dci-history-row { --row-tone: var(--health-cyan, #54ecf2); overflow: hidden; border: 1px solid var(--hair); border-left: 2px solid var(--row-tone); border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
.dci-history-row.tone-complete { --row-tone: var(--health-green, #58e6a9); }
.dci-history-row.tone-progress { --row-tone: var(--health-violet, #b79cff); }
.dci-history-row.tone-skipped { --row-tone: var(--text-faint); }
.dci-history-door { width: 100%; display: grid; grid-template-columns: 146px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; padding: 10px 12px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.dci-history-door:hover { background: rgba(255,255,255,.025); }
.dci-history-date { display: grid; gap: 3px; }
.dci-history-date b { color: var(--text); font-size: 10.5px; }
.dci-history-date small { color: var(--row-tone); font: 650 7.5px/1 var(--ff-mono); text-transform: uppercase; letter-spacing: .07em; }
.dci-history-read { min-width: 0; overflow: hidden; color: var(--text-2); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.dci-history-read.muted { color: var(--text-faint); }
.dci-history-ratings { display: flex; gap: 4px; }
.dci-history-ratings i { padding: 4px 6px; border: 1px solid var(--hair); border-radius: 6px; color: var(--text-mute); font: 650 7.5px/1 var(--ff-mono); font-style: normal; }
.dci-history-door > em { color: var(--row-tone); font-size: 16px; font-style: normal; }
.dci-history-detail { padding: 0 12px 12px; border-top: 1px solid var(--hair); }
.dci-history-detail .dci-snapshot { margin-top: 12px; }
.dci-raw-answers { margin-top: 11px; padding: 12px; border: 1px solid var(--hair); border-radius: 10px; }
.dci-raw-answers > small { display: block; margin-bottom: 9px; color: var(--health-violet, #b79cff); font: 700 7.5px/1 var(--ff-mono); letter-spacing: .11em; }
.dci-raw-answers > div { display: grid; grid-template-columns: minmax(160px,.8fr) minmax(0,1.7fr); gap: 14px; padding: 8px 0; border-top: 1px solid var(--hair); }
.dci-raw-answers b { color: var(--text-mute); font-size: 9.5px; line-height: 1.4; }
.dci-raw-answers p { margin: 0; color: var(--text-2); font-size: 10.5px; line-height: 1.5; white-space: pre-wrap; }
.dci-history-empty { padding: 24px; color: var(--text-faint); font-size: 11px; text-align: center; }

@keyframes dciFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dciRise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes dciOrbit { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .dci-scrim, .dci-shell, .dci-q-orbit::before, .dci-loading i { animation: none; }
  .dci-progress > span, .dci-scale button, .dci-chips button { transition: none; }
}
@media (max-width: 760px) {
  .dci-scrim { padding: 0; }
  .dci-shell { width: 100vw; max-height: 100vh; min-height: 100vh; border: 0; border-radius: 0; }
  .dci-top { padding: 14px 15px 12px; }
  .dci-brand small { display: none; }
  .dci-leave { font-size: 8px; }
  .dci-question { grid-template-columns: 1fr; max-height: calc(100vh - 76px); padding: 24px 18px 32px; }
  .dci-q-orbit { position: relative; grid-column: 1; grid-row: auto; width: 58px; height: 58px; margin-bottom: 18px; }
  .dci-q-orbit::before { inset: 6px; }
  .dci-q-orbit::after { inset: 15px; }
  .dci-q-copy, .dci-scale-wrap, .dci-chips, .dci-freeform, .dci-q-actions { grid-column: 1; }
  .dci-q-copy h2 { font-size: clamp(30px, 10vw, 42px); }
  .dci-scale button { min-height: 52px; }
  .dci-snapshot-grid, .dci-correlation-grid { grid-template-columns: 1fr; }
  .dci-finish { max-height: calc(100vh - 70px); padding: 24px 16px 30px; }
  .dci-skip-panel { align-items: stretch; flex-direction: column; }
  .dci-skip-panel > div:last-child { justify-content: flex-end; }
  .dci-history-door { grid-template-columns: 110px minmax(0,1fr) 16px; }
  .dci-history-ratings { grid-column: 2; }
  .dci-history-door > em { grid-column: 3; grid-row: 1 / span 2; }
  .dci-raw-answers > div { grid-template-columns: 1fr; gap: 4px; }
  .dci-history-summary { flex-wrap: wrap; }
  .dci-history-summary em { width: 100%; margin-left: 0; }
}
@media (max-width: 1180px) {
  .home-os-v4 .hos-status { flex-wrap: wrap; }
}
