/* ============================================================
   Vaxa Idea Flow, 3.0 Idea Details, with inline editing
   Visual spec: docs/frontend-build-brief.md section 4 (revised
   2026-09-17). Figma nodes: Idea Details 181:4221, drafts section
   276:1433 (Roadmap confirm 276:1282, Inline field 279:1293, Details
   footer 279:1378), star icon 132:1223.
   Behaviour: R-3.0-1 to R-3.0-11, R-3.1-1 onward (inline editing,
   replaces the old edit screen), R-PRI-1 to R-PRI-6, Exports, all in
   docs/functionality-v3.md (amended 2026-09-17).

   Every value below is cited to its source, per CLAUDE.md.
   ============================================================ */

@keyframes details-fade-rise {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Overlay + shell, 181:4221 ---------- */

.details-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: var(--modal-backdrop); /* Cam 2026-09-17: was --forest-dark 60% */ /* brief section 4, "Entry" */
}

.details-shell {
  position: relative;
  box-sizing: border-box;
  width: 600px;
  max-width: 100%;
  max-height: calc(100vh - 48px); /* this step's brief */
  display: flex;
  flex-direction: column;
  padding: var(--space-3) 10px var(--space-sm); /* 181:4219/4220, 12/10/8, 10px literal like the floating card's own side padding */
  border-radius: var(--radius-lg); /* 12px */
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 color-mix(in srgb, var(--text-on-dark) 18%, transparent),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12); /* same literals as the floating card's shell, 3B */
  animation: details-fade-rise 160ms ease-out; /* brief section 4 */
}

@media (prefers-reduced-motion: reduce) {
  .details-shell {
    animation: none; /* fade only under reduced motion: no rise, and no motion at all is closer to "fade only" than a translate with instant jump */
  }
}

.details-shell[data-priority='false'] {
  border: 1px solid color-mix(in srgb, var(--scrim) 40%, transparent); /* 181:4220, corrected raw rgba(107,127,120,.4) */
}

.details-shell[data-priority='true'] {
  border: 1px solid var(--color-brand-accnet-B); /* 181:4219 */
}

.details-backdrop-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  backdrop-filter: blur(12px);
  background: var(--modal-surface); /* darker, more solid surface, Cam 2026-09-17 (was #6b7f78 at 20%, Figma 181:4220) */ /* corrected raw rgba(107,127,120,.2); KNOWN CORRECTIONS maps this fill to --color-text-muted, not --scrim, even though both hold #6b7f78 */
}

/* ---------- Header: priority line, title, close (fixed, doesn't scroll) ---------- */

.details-header {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 0;
  padding: 32px 32px 0; /* 181:4080's own p-32, top only here; the rest is picked up by .details-body */
  display: flex;
  flex-direction: column;
  /* Cam 2026-09-17: close (×) moved out to the shell's own corner, so
     this row no longer shares space with it (181:4081 is now just the
     title column, full width) — no gap/align-items needed any more. */
}

.details-priority-line {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs); /* 4px, 181:4157 */
  width: fit-content;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer; /* this step's brief: "It is a native button" */
}

.details-priority-line .details-star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
}

.details-priority-line .details-star svg {
  width: 100%;
  height: 100%;
}

/* Same three-variant star treatment as the floating card, capture bar
   and list row (node 132:1223). Priority is always "on" here when the
   label/border show it, so only the selected fill matters; kept as two
   paths for consistency with the other three surfaces. */
.details-star-outline {
  fill: var(--color-text-muted);
}

.details-star-fill {
  fill: var(--color-brand-accnet-B);
  opacity: 0;
}

.details-shell[data-priority='true'] .details-star-outline,
.details-shell[data-priority='true'] .details-star-fill {
  opacity: 1;
  fill: var(--color-brand-accnet-B);
}

.details-priority-label {
  font-family: var(--type-priority-label-family); /* Geist Mono SemiBold 10, tokens.css, same role as the card's */
  font-size: var(--type-priority-label-size);
  font-weight: var(--type-priority-label-weight);
  line-height: 1;
  letter-spacing: -0.2px; /* 181:4160 */
  text-transform: uppercase;
  color: var(--color-brand-accnet-B);
}

.details-title-row {
  padding-top: var(--space-3); /* 181:4087, pt-12 */
  /* Room for the close button, now pinned to the shell corner rather
     than sharing a flex row with this column (181:4081 no longer
     gives a gap value for it). Reuses the 16px gap the pre-restructure
     layout used between the title column and the close button, plus
     the button's own 32px width, rather than a fresh invented number. */
  padding-right: 48px;
}

.details-close {
  /* Cam 2026-09-17: "pinned to the popup shell's top-right corner...
     outside the scrolling body. It never moves." Figma draws it at
     15px; Cam's own number here (16px) is the one to build. */
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-on-dark);
}

.details-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
  opacity: 0.4; /* 181:4090's exported asset: stroke-opacity 0.4 */
  transition: opacity 120ms;
}

.details-close:hover svg,
.details-close:focus-visible svg {
  opacity: 1; /* this step's brief: "hover takes the icon to 100%" */
}

.details-close:focus-visible {
  outline: 2px solid var(--color-brand-accent); /* 1B focus ring */
  outline-offset: 3px;
}

/* ---------- Body: everything below the header, scrolls ---------- */

.details-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 0 32px 32px; /* 181:4080's own p-32, sides + bottom; top handled by each block's own pt-* below */
}

.details-meta {
  display: flex;
  align-items: center;
  gap: 16px; /* 181:4092 */
  padding-top: var(--space-lg); /* 24px, 181:4092 */
  font-family: var(--type-meta-family); /* Geist Mono Regular 11, tokens.css */
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
}

.details-meta-author {
  color: color-mix(in srgb, var(--mint-pale) 60%, transparent); /* corrected raw rgba(200,240,216,.6) */
}

.details-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-on-dark) 20%, transparent); /* corrected raw rgba(245,242,237,.2) */
  flex-shrink: 0;
}

.details-meta-date {
  color: color-mix(in srgb, var(--text-on-dark) 30%, transparent); /* corrected raw rgba(245,242,237,.3) */
}

/* ---------- Header actions: Send to roadmap, More menu ----------
   Cam 2026-09-17, revised: moved out of the footer, right-aligned on
   the meta row (author/date stay left), per Idea Details 181:4221's
   revised description. */

.details-meta-spacer {
  flex: 1 1 auto;
}

.details-header-actions {
  position: relative; /* anchors .details-more-menu below .details-more-btn */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm); /* 8px, 287:1269 "Actions" gap */
}

.details-send-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px; /* 1B, button size sm */
  border: 1px solid var(--border-strong); /* 287:1265, Figma var color/border-strong */
  border-radius: var(--radius-md); /* 8px */
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-geist); /* Geist Regular, 287:1266 — not the SemiBold button role */
  font-size: 12px; /* 1B, button size sm */
  line-height: 18px; /* 287:1266, 18/12 */
  cursor: pointer;
  transition: background 120ms;
}

.details-send-btn:hover {
  background: var(--forest-deep); /* same dark-outline hover fill already used for .details-btn-outline, 1B */
}

.details-send-btn:disabled {
  opacity: 0.3; /* 1B disabled; "available whenever there are no unsaved changes" */
  cursor: default;
}

.details-send-btn:focus-visible {
  outline: 2px solid var(--color-brand-accent); /* 1B focus ring */
  outline-offset: 3px;
}

.details-more-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-geist);
  font-weight: 600; /* Geist SemiBold, 287:1268 */
  font-size: 16px;
  color: color-mix(in srgb, var(--text-on-dark) 40%, transparent); /* 287:1268, "styled like close" */
  transition: color 120ms;
}

.details-more-btn:hover,
.details-more-btn:focus-visible {
  color: var(--text-on-dark); /* full opacity, matching .details-close's own hover */
}

.details-more-btn:disabled {
  opacity: 0.3; /* 1B disabled, same gate as Send to roadmap */
  cursor: default;
}

.details-more-btn:focus-visible {
  outline: 2px solid var(--color-brand-accent); /* 1B focus ring */
  outline-offset: 3px;
}

.details-more-menu {
  position: absolute;
  top: calc(100% + var(--space-xs)); /* 4px gap: not given by 287:1274's standalone frame, smallest scale step rather than a lifted value */
  right: 0;
  z-index: 5;
  box-sizing: border-box;
  width: 160px; /* 287:1274 */
  padding: var(--space-xs); /* 4px */
  border-radius: var(--radius-md); /* 8px */
  background: var(--bg-surface); /* 287:1274, color/bg-surface, solid — not --modal-surface's 90% */
  border: 1px solid color-mix(in srgb, var(--scrim) 40%, transparent); /* 287:1274, #6b7f78 at 40% */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); /* 287:1274's own literal, distinct from the shell's 0 8px 40px */
}

.details-more-menu-item {
  box-sizing: border-box;
  width: 100%;
  padding: var(--space-sm) var(--space-3); /* 8/12, 287:1275 */
  border: none;
  border-radius: var(--radius-sm); /* 6px */
  background: none;
  text-align: left;
  font-family: var(--font-geist);
  font-size: 14px; /* 287:1276 */
  line-height: 21px; /* 1.5 */
  color: var(--color-text-error-on-dark);
  cursor: pointer;
}

.details-more-menu-item:hover,
.details-more-menu-item:focus-visible {
  background: var(--mint-subtle); /* 287:1274, "hover/keyboard focus fill color/mint-subtle" */
  outline: none; /* the fill itself is the focus indicator here, per Figma */
}

/* ---------- Details / Links blocks ---------- */

.details-block {
  padding-top: var(--space-lg); /* 24px, both 238:5408 and 238:5414 in Figma */
}

.details-block-inner {
  box-sizing: border-box;
  width: 100%;
  padding: var(--space-md); /* 16px */
  border-radius: var(--radius-md); /* 8px */
  background: color-mix(in srgb, var(--text-on-dark) 3%, transparent); /* corrected raw rgba(245,242,237,.03) */
  border: 1px solid color-mix(in srgb, var(--text-on-dark) 8%, transparent); /* corrected raw rgba(245,242,237,.08) */
}

.details-block-label {
  margin: 0 0 var(--space-sm); /* 8px, the field's own pt-8 in Figma */
  font-family: var(--type-section-label-family); /* Geist Mono Bold 11, tokens.css */
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  letter-spacing: 0.08em; /* 0.88px/11, no existing token carries this tracking */
  text-transform: uppercase;
  color: color-mix(in srgb, var(--mint-pale) 60%, transparent); /* corrected raw rgba(200,240,216,.6) */
}

/* ---------- Inline field, 279:1293 ----------
   rest/hover/focus share one constant 1px border + a -1px margin, so
   the border never changes the box's footprint or shifts the text:
   rest is transparent, hover/focus render it, nothing else moves. This
   is the outcome this step's brief asks for ("same padding... offset
   with a negative margin"); border-width stays fixed rather than
   varying 0/1/2px so a single constant margin covers every state. */
.detail-field {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: -1px;
  padding: 4px 8px; /* 279:1293, px-8 py-4 */
  border: 1px solid transparent;
  border-radius: var(--radius-md); /* 8px */
  background: transparent;
  resize: none;
  overflow: hidden;
  cursor: text;
}

.detail-field:hover,
.detail-field.is-focused {
  background: color-mix(in srgb, var(--text-on-dark) 10%, transparent); /* Input hover fill, 1B */
  border-color: color-mix(in srgb, var(--text-on-dark) 60%, transparent); /* Input hover stroke, 1B */
}

.detail-field:focus-visible,
.detail-field:focus {
  outline: 2px solid var(--color-brand-accnet-B); /* corrected focus ring, this step's KNOWN CORRECTIONS */
  outline-offset: 3px;
}

.detail-field--title {
  font-family: var(--type-modal-heading-family); /* Outfit Bold 28, tokens.css, same role as the old modal heading */
  font-size: var(--type-modal-heading-size);
  font-weight: var(--type-modal-heading-weight);
  line-height: 1.1; /* 30.8/28, 181:4088 */
  letter-spacing: -0.02em; /* -0.56px/28 */
  color: var(--text-on-dark);
}

.detail-field--title::placeholder {
  color: var(--color-text-muted); /* 279:1282/1283, flat #6b7f78, not an opacity of text-on-dark */
}

.detail-field--text {
  font-family: var(--type-body-small-family); /* Geist Regular 15, tokens.css, "Details block" role already covers this */
  font-size: var(--type-body-small-size);
  font-weight: var(--type-body-small-weight);
  line-height: 24px; /* 279:1293 */
  color: color-mix(in srgb, var(--text-on-dark) 70%, transparent); /* corrected raw rgba(245,242,237,.7) */
}

.detail-field--text::placeholder {
  color: var(--color-text-muted); /* 279:1291/1292, flat #6b7f78 */
}

/* The links block's empty state is a plain div, not a textarea (it has
   no native placeholder), so its muted colour is a class rather than
   the pseudo-element above. */
.detail-field--placeholder {
  color: var(--color-text-muted);
}

/* ---------- Links block: rendered view vs. editing textarea ---------- */

.details-links-view {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs); /* not given by Figma (only one sample link); smallest scale step, a reasonable default rather than a lifted value */
  cursor: text;
}

.detail-link {
  font-family: var(--type-body-small-family);
  font-size: var(--type-body-small-size);
  font-weight: var(--type-body-small-weight);
  line-height: 24px;
  color: var(--color-brand-accnet-B); /* 238:5353 */
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-link:hover {
  text-decoration: underline;
}

/* ---------- Notes ---------- */

.details-notes {
  padding-top: var(--space-xl); /* 32px, 238:5420 */
}

.details-notes-count {
  margin: 0;
  font-family: var(--type-section-label-family); /* Geist Mono Bold 11 */
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--mint-pale) 50%, transparent); /* corrected raw rgba(200,240,216,.5); note this is 50%, not the 60% used by the Details/Links labels */
}

.details-note {
  display: flex;
  gap: var(--space-3); /* 12px */
  padding-top: var(--space-3); /* 12px, 238:5423 */
}

.details-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--avatar-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--type-section-label-family); /* Geist Mono Bold 11, same size/weight role as the block labels */
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  color: var(--color-text-heading-inverse-subtle); /* 181:4112, a real bound Figma variable here, not raw hex; same value as --mint-pale but a different token */
}

.details-note-body-col {
  flex: 1 1 0%;
  min-width: 0;
}

.details-note-line {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm); /* 8px; Figma absolute-positions these, translated to a normal inline gap */
}

.details-note-author {
  font-family: var(--type-comment-author-family); /* Geist Medium 13, tokens.css */
  font-size: var(--type-comment-author-size);
  font-weight: var(--type-comment-author-weight);
  color: color-mix(in srgb, var(--text-on-dark) 70%, transparent); /* corrected raw rgba(245,242,237,.7) */
}

.details-note-date {
  font-family: var(--type-note-date-family); /* Geist Mono Regular 10, tokens.css, new this step */
  font-size: var(--type-note-date-size);
  font-weight: var(--type-note-date-weight);
  color: color-mix(in srgb, var(--text-on-dark) 25%, transparent); /* corrected raw rgba(245,242,237,.25) */
}

.details-note-text {
  margin: 4px 0 0; /* 181:4117, pt-4 */
  font-family: var(--type-comment-body-family); /* Geist Regular 14, tokens.css */
  font-size: var(--type-comment-body-size);
  font-weight: var(--type-comment-body-weight);
  color: color-mix(in srgb, var(--text-on-dark) 60%, transparent); /* corrected raw rgba(245,242,237,.6) */
}

.details-add-note {
  display: flex;
  gap: var(--space-sm); /* 8px, 238:5433 */
  padding-top: var(--space-lg); /* 24px */
}

.details-add-note-input {
  flex: 1 1 0%;
  min-width: 0;
  box-sizing: border-box;
  padding: var(--space-sm) var(--space-3); /* 8/12 */
  border: 1px solid color-mix(in srgb, var(--text-on-dark) 11%, transparent); /* corrected raw rgba(245,242,237,.11) */
  border-radius: var(--radius-md);
  background: none;
  resize: none;
  overflow: hidden;
  font-family: var(--type-comment-body-family); /* Geist Regular 14 */
  font-size: var(--type-comment-body-size);
  font-weight: var(--type-comment-body-weight);
  color: color-mix(in srgb, var(--text-on-dark) 80%, transparent);
}

.details-add-note-input::placeholder {
  color: color-mix(in srgb, var(--text-on-dark) 25%, transparent); /* corrected raw rgba(245,242,237,.25) */
}

.details-add-note-input:focus-visible,
.details-add-note-input:focus {
  outline: 2px solid var(--color-brand-accent); /* 1B focus ring; this field isn't an Inline field, so it keeps the ordinary button/field ring */
  outline-offset: 3px;
}

/* ---------- Footer, 279:1378 ---------- */

.details-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 20px 32px;
  border-top: 1px solid color-mix(in srgb, var(--text-on-dark) 8%, transparent);
}

.details-footer-left {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-geist);
  font-size: 14px; /* 279:1372, no dedicated token */
}

/* A plain-text notice in this slot (a save failure, or a failed send/
   delete shown alongside "default"): 279:1372/282:1266's error copy. */
.details-footer-left.is-error {
  color: var(--color-text-error-on-dark);
}

.details-footer-right {
  flex-shrink: 0;
  min-height: 41px; /* height of the footer buttons (279:1378), so swapping to "✓ Saved" never changes the popup height */
  display: flex;
  align-items: center;
  gap: var(--space-sm); /* 8px, 279:1361 */
}

.details-saved-label {
  font-family: var(--type-button-family); /* Geist SemiBold 14, tokens.css */
  font-size: var(--type-button-size);
  font-weight: var(--type-button-weight);
  color: var(--color-brand-accnet-B);
}

/* Buttons: same dark-primary / dark-outline treatment already
   established in css/capture-bar.css's Capture Idea button, reused
   rather than re-derived (1B "Buttons on dark surfaces"). */
.details-btn {
  box-sizing: border-box;
  padding: 10px 20px; /* 1B lg size, close enough to Figma's literal 10/20 here */
  border-radius: var(--radius-md);
  font-family: var(--type-button-family);
  font-size: var(--type-button-size);
  font-weight: var(--type-button-weight);
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}

.details-btn-primary {
  border: none;
  background: var(--text-on-dark);
  color: var(--forest-deep);
}

.details-btn-primary:hover {
  background: var(--color-bg-primary-hover);
}

.details-btn-primary:disabled {
  background: color-mix(in srgb, var(--text-on-dark) 30%, transparent); /* 1B disabled */
  color: color-mix(in srgb, var(--forest-deep) 30%, transparent);
  cursor: default;
}

.details-btn-outline {
  border: 2px solid var(--text-on-dark);
  background: transparent;
  color: var(--text-on-dark);
}

.details-btn-outline:hover {
  background: var(--forest-deep); /* 1B dark outline hover fill */
}

.details-btn-outline:disabled {
  border-color: color-mix(in srgb, var(--text-on-dark) 30%, transparent);
  color: color-mix(in srgb, var(--text-on-dark) 30%, transparent);
  cursor: default;
}

.details-btn:focus-visible {
  outline: 2px solid var(--color-brand-accent); /* 1B focus ring */
  outline-offset: 3px;
}

/* Row/block flash on save, reusing the exact step-5 recipe: instant
   tint, class removed a frame later, eased back over flash_ms. */
.details-flash {
  transition: background 1400ms ease-out;
}

.details-flash.is-flash {
  transition: none;
  background: color-mix(in srgb, var(--brand-primary) 30%, transparent);
}

/* ---------- Roadmap confirm, 276:1282 ---------- */

.roadmap-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 110; /* above .details-overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: var(--modal-backdrop); /* Cam 2026-09-17: was --forest-dark 60% */ /* same 60% as the details backdrop */
}

.roadmap-confirm-shell {
  position: relative;
  box-sizing: border-box;
  width: 440px;
  max-width: 100%;
  padding: var(--space-3) 10px var(--space-sm);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--scrim) 40%, transparent); /* "same glass shell as Idea Details default" */
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 color-mix(in srgb, var(--text-on-dark) 18%, transparent),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  animation: details-fade-rise 160ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-confirm-shell {
    animation: none;
  }
}

.roadmap-confirm-body {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3); /* 12px */
}

.roadmap-confirm-heading {
  margin: 0;
  font-family: var(--type-modal-heading-family);
  font-size: var(--type-modal-heading-size);
  font-weight: var(--type-modal-heading-weight);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.roadmap-confirm-text {
  margin: 0;
  font-family: var(--type-body-family); /* Geist Regular 16, tokens.css, "Modal description" role */
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: 24px; /* 1.5, 276:1267 */
  color: color-mix(in srgb, var(--text-on-dark) 80%, transparent); /* corrected raw rgba(245,242,237,.8) */
}

.roadmap-confirm-footer {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md); /* 16px */
  padding: 20px 32px;
  border-top: 1px solid color-mix(in srgb, var(--text-on-dark) 8%, transparent);
}
