/* Option C, Asked By A Classmate. Layers on survey.css then wellness.css. Phone first: Nathan on top, the scale under him. */
.cwrap { display: grid; gap: 16px; align-items: start; padding-top: 4px; }
.cframe { display: grid; gap: 10px; min-width: 0; }
.cpanel { min-width: 0; }

/* chapter progress */
.cpro { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; margin: 0; padding: 0; }
.cpro li { display: block; min-width: 0; }
.cch { display: grid; gap: 5px; align-content: start; width: 100%; min-height: 44px; padding: 8px 0 4px; text-align: left; color: inherit; border-radius: 4px; }
.cch:hover span { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.cch:focus-visible { outline: 3px solid var(--pl1); outline-offset: 2px; }
.cpro i { display: block; height: 5px; border-radius: 3px; background: rgb(244 247 250 / .24); }
.cpro .done i { background: var(--paper); }
.cpro .on i { background: var(--pl1); }
.cch span { font-size: 11.5px; line-height: 1.2; color: var(--paper-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpro .on .cch span { color: var(--paper); font-weight: 700; }

/* Nathan */
.cmedia { position: relative; aspect-ratio: 16 / 10; max-height: 31svh; width: 100%; background: #000; border-radius: 10px; overflow: hidden; }
.cmedia img, .cmedia video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.cmedia video { cursor: pointer; }
.cmedia:not(.live) .cmeter { display: none; }
.cmeter { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: flex-end; gap: 3px; height: 26px; padding: 4px 8px; background: rgb(10 45 75 / .62); border-radius: 999px; }
.cmeter i { width: 3px; height: 3px; border-radius: 2px; background: var(--pl2); }
.cbig { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / .4); }
.cbig[hidden] { display: none; }
.cbig svg { width: 32px; height: 32px; margin-left: 4px; }
.cbig:hover { background: #fff; }
.ccaps { font-size: clamp(17px, 4.6vw, 24px); line-height: 1.3; letter-spacing: -.01em; min-height: 3.9em; margin: 0; text-wrap: pretty; }
.ccaps .w { color: var(--paper-dim); transition: color .12s; }
.ccaps .w.said { color: var(--paper); }
.cscrub { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; }
.cpp { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgb(244 247 250 / .5); color: var(--paper); flex: none; }
.cpp svg { width: 20px; height: 20px; }
.cpp:hover { border-color: var(--pl1); background: rgb(244 247 250 / .08); }
.ctime { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--paper-dim); white-space: nowrap; min-width: 5.6em; text-align: right; }
.cskip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px 0 18px; border-radius: 999px; background: var(--paper); color: var(--navy); font-weight: 700; font-size: 15px; }
.cskip svg { width: 16px; height: 16px; }
.cskip:hover { background: #fff; }
.cskip[hidden] { display: none; }
/* scrubber: native range, so pointer drag, touch and the arrow keys all work */
.cseek { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.cseek::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--pl1) var(--p), rgb(244 247 250 / .28) var(--p)); }
.cseek::-moz-range-track { height: 8px; border-radius: 4px; background: rgb(244 247 250 / .28); }
.cseek::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--pl1); }
.cseek::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; background: var(--paper); border: 3px solid var(--pl1); box-shadow: 0 2px 8px rgb(0 0 0 / .4); }
.cseek::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--pl1); }
.cseek:focus-visible { outline: 3px solid var(--pl1); outline-offset: 0; border-radius: 6px; }
.cnote { grid-column: 1 / -1; }
.cnote { font-size: 13px; line-height: 1.4; color: var(--paper-dim); flex: 1 1 14em; }
.cnote .eng { color: var(--pl1); font-weight: 700; margin-left: 6px; }

/* panel */
.chead { font-size: clamp(30px, 8.4vw, 52px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; outline: none; }
.chead span { display: block; }
.clist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 17px; color: var(--paper-dim); max-width: 30em; }
.clist b { color: var(--paper); font-weight: 600; }
.cacts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.go--sm { padding: 12px 22px 12px 24px; font-size: 17px; min-height: 48px; }
.go--ghost { background: transparent; color: var(--paper); border: 2px solid rgb(244 247 250 / .45); }
.go--ghost:hover { background: rgb(244 247 250 / .1); transform: none; }
.link { min-height: 44px; display: inline-flex; align-items: center; }
.csample { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 14px; color: var(--paper-dim); }
.csample .link { font-size: 16px; }
.csamplenote { margin-top: 14px; font-size: 14px; color: var(--pl1); }

.cq { display: grid; gap: 12px; }
.ceyebrow { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 14px; font-weight: 700; color: var(--petal-l); letter-spacing: .02em; }
.cq__q { font-size: clamp(22px, 6vw, 38px); line-height: 1.14; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; outline: none; }
.opts { display: grid; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.opt { width: 100%; min-height: 52px; display: grid; grid-template-columns: 2.2em 1fr; align-items: center; gap: 4px 10px; text-align: left; padding: 6px 14px 6px 10px; border-radius: 8px; border: 2px solid rgb(244 247 250 / .22); background: rgb(244 247 250 / .05); transition: background .15s, border-color .15s; }
.opt .num { font-size: 28px; font-weight: 300; line-height: 1; color: var(--paper-dim); text-align: center; font-variant-numeric: tabular-nums; }
.opt .lbl { font-size: 18px; line-height: 1.2; font-weight: 500; }
.opt:hover:not([disabled]) { border-color: var(--petal-l); background: rgb(244 247 250 / .1); }
.opt.on { border-color: var(--petal-l); background: rgb(244 247 250 / .16); }
.opt.on .num { color: var(--paper); font-weight: 700; } .opt.on .lbl { font-weight: 700; }
.opt[disabled] { opacity: .6; cursor: default; }
.hint { font-size: 14px; color: var(--paper-dim); }
.why { margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--petal-l); display: grid; gap: 8px; }
.why h2 { font-size: clamp(24px, 5vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.whyp { font-size: 16px; color: var(--paper-dim); }
.why .cacts { margin-top: 8px; }
.tlabel { font-size: 15px; color: var(--paper-dim); }
#c-ans { width: 100%; font: inherit; font-size: 18px; line-height: 1.4; color: var(--paper); background: rgb(244 247 250 / .07); border: 1px solid rgb(244 247 250 / .35); border-radius: 8px; padding: 12px 14px; resize: vertical; min-height: 7em; }
#c-ans:focus { outline: 3px solid var(--pl1); outline-offset: 2px; }
.rec { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rec__t { font-size: 34px; font-weight: 200; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.rec__s { font-size: 14px; color: var(--pl2); font-weight: 700; }
.meter { display: flex; align-items: center; gap: 3px; height: 30px; width: 130px; }
.meter i { flex: 1; height: 4px; border-radius: 2px; background: rgb(244 247 250 / .3); }
.meter.live i { background: var(--pl2); }
.cnav { margin-top: 2px; }
.chead.wait { margin-top: 4px; }
.err { color: var(--pl0); }
.item__draft { font-size: 12.5px; color: var(--pl1); border: 1px solid rgb(255 210 122 / .5); padding: 2px 10px; border-radius: 999px; font-weight: 500; letter-spacing: 0; }

@media (min-width: 900px) {
  .cwrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-top: 10px; }
  .cframe { position: sticky; top: 8px; }
  .cmedia { aspect-ratio: 16 / 9; max-height: none; }
  .cch span { font-size: 13px; }
  .ccaps { min-height: 3.9em; }
  .opt { min-height: 54px; }
}
@media (max-width: 899px) {
  .cch span { font-size: 11px; }
  /* phone: Nathan sticks to the top while you scroll the scale */
}
@media (prefers-reduced-motion: reduce) { .ccaps .w, .opt { transition: none; } }
