/* ═══════════════════ SEE IT IN ACTION · STATE 3 = THE REAL ANSWER EDIT ═══════════════════
   dx-sim-fix-final-answer-edit.html only, loaded after seek-next-hsys.css.

   "Change your last answer" now shows the interview's own answer flow, the one the
   SEEK app ships (matching-app-mobile, src/components/interview/
   InterviewTranscriptDrawer.tsx, opened from the interview's "Review answers"):
   a bottom sheet over the interview, "Your answers", each question with the answer
   given, and on the latest answer "Add more to this answer" / "Change answer".
   "Change answer" turns the foot of that sheet into the editor: "Change this
   answer", the question, the app's warning (replaceExplain), the answer itself
   pre-filled for rewriting (useInterviewSession openReplace: replaceDraft =
   pair.answer), "Save changes" and "Cancel". The Quick-learn fact editor that
   stood here before (Everyday life / Edit fact) is gone.

   Geometry is the component's own: sheet radius 24 (radii.xl) with a 1px top
   edge, padding 16 / 24 / 24 + the 34px home-indicator inset, header 800/24 at
   -0.02em with a 44px close target (CloseIcon 20, stroke 2), turns 12px apart on
   a 1px rule, labels 800/11 at .118em, body 600/15 on 22, the composer's gap 8,
   the field 600/15 on 22 at min 88 with radius 14, padding 16 and a 1px edge,
   buttons 52 tall at radius 14 (Button: primary = teal, ghost = raised surface
   + 1px edge), label 800/15. Colours: dark = the app's own palette exactly
   (veil, floating, surface, surfaceRaised, hairline); light = the page's Light ·
   bone values for the same roles, as every other app screen on this page.

   WHICH PHONE IS THE HERO. On desktop the upper-right device is in front and
   whole; on phones the left one is. The editor has to be on the whole, front
   device, so each phone carries both sheets and the stylesheet shows the editor
   on whichever device is in front at that width, and the list on the other. */
.q-tr { --tr-veil: rgba(5,4,10,.74); --tr-sheet: rgba(26,22,38,.86); --tr-edge: rgba(247,242,246,.16);
        --tr-surface: #141020; --tr-raised: #1A1520; }
html[data-theme="light"] .q-tr { --tr-veil: rgba(27,23,28,.42); --tr-sheet: #FFFFFF; --tr-edge: rgba(27,23,28,.12);
        --tr-surface: #FBFAF7; --tr-raised: #FFFFFF; }

.q-tr { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; justify-content: flex-end; }
.q-tr__veil { position: absolute; inset: 0; background: var(--tr-veil); }
.q-tr__sheet {
  position: relative; max-height: 85%; overflow: hidden;
  border-radius: 24px 24px 0 0; border-top: 1px solid var(--tr-edge);
  background: var(--tr-sheet);
  padding: 16px 24px 58px;
}
.q-tr__head { display: flex; align-items: center; justify-content: space-between; }
.q-tr__h { font: 800 24px 'Nunito', system-ui, sans-serif; letter-spacing: -.02em; color: var(--q-ink); }
.q-tr__x { width: 44px; height: 44px; margin-right: -10px; display: flex; align-items: center; justify-content: center; }
.q-tr__x svg { display: block; stroke: var(--q-ink2); }
.q-tr__turn { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--tr-edge); }
.q-tr__lbl { font: 800 11px 'Nunito', system-ui, sans-serif; letter-spacing: .118em; text-transform: uppercase; color: var(--q-ink2); }
.q-tr__lbl--sp { margin-top: 8px; }
.q-tr__b { font: 600 15px/22px 'Nunito', system-ui, sans-serif; color: var(--q-ink); }
.q-tr__more { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.q-tr__ct { font: 800 15px 'Nunito', system-ui, sans-serif; color: var(--q-ink); }
.q-tr__cq { font: 600 13px/22px 'Nunito', system-ui, sans-serif; color: var(--q-ink2); }
.q-tr__cx { font: 600 13px/22px 'Nunito', system-ui, sans-serif; color: var(--q-muted); }
.q-tr__in {
  min-height: 88px; padding: 16px; border-radius: 14px; border: 1px solid var(--tr-edge);
  background: var(--tr-surface);
  font: 600 15px/22px 'Nunito', system-ui, sans-serif; color: var(--q-ink);
}
.q-tr__btn {
  min-height: 52px; border-radius: 14px; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
  font: 800 15px 'Nunito', system-ui, sans-serif; white-space: nowrap;
}
.q-tr__btn--primary { background: var(--q-teal); color: var(--q-on-teal); }
.q-tr__btn--ghost { background: var(--tr-raised); border: 1px solid var(--tr-edge); color: var(--q-ink); }

/* the editor on the front device, the list on the other */
.stage--3 .phone--left  .q-tr--edit,
.stage--3 .phone--right .q-tr--list { display: none; }
@media (max-width: 759.98px) {
  .stage--3 .phone--left  .q-tr--edit,
  .stage--3 .phone--right .q-tr--list { display: flex; }
  .stage--3 .phone--left  .q-tr--list,
  .stage--3 .phone--right .q-tr--edit { display: none; }
}

/* THE PROFILE TAB KEEPS ITS PLACE. The app's bottom navigation has five
   destinations; the fifth drew the viewer's photo. It is the app's own profile
   glyph now (navGlyphs.tsx GLYPHS.profile — the glyph BottomNav draws when there
   is no photo — 21px, stroke 1.9), in the nav's icon colour like the other tabs. */
