/**
 * 100x Life Planning System - Foundation Assessment (worlds) + peer ratings
 * Segmented 0-10 radios with an optional per-area band definition, in the 100x
 * teal/gold light theme. Reuses tokens from variables.css.
 */

/* ===== Page shell ===== */
.worlds-page {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.worlds-header {
  margin-bottom: var(--spacing-xl);
}

.worlds-eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: calc(0.8rem + var(--text-bump));
  color: var(--teal-ink);
  margin: 0 0 0.35rem;
}

.worlds-title {
  font-family: var(--font-heading);
  font-size: calc(2.1rem + var(--text-bump));
  color: var(--navy-primary);
  margin: 0 0 0.4rem;
  line-height: 1.1;
}

.worlds-subtitle {
  color: var(--text-secondary);
  font-size: calc(0.95rem + var(--text-bump));
  margin: 0;
  max-width: 60ch;
  line-height: 1.5;
}

/* ===== World panel ===== */
.worlds-world {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.worlds-world-title {
  font-family: var(--font-heading);
  font-size: calc(1.4rem + var(--text-bump));
  color: var(--navy-primary);
  margin: 0 0 var(--spacing-md);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--teal-light);
}

/* ===== One rated area ===== */
.worlds-area {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.worlds-world .worlds-area:last-child {
  border-bottom: none;
  padding-bottom: var(--spacing-xs);
}

.worlds-area-name {
  font-family: var(--font-body);
  font-size: calc(1.05rem + var(--text-bump));
  font-weight: 600;
  color: var(--navy-primary);
}

.worlds-area-prompt {
  color: var(--text-secondary);
  font-size: calc(0.95rem + var(--text-bump));
  line-height: 1.5;
  margin: 0.25rem 0 var(--spacing-md);
}

/* ===== Segmented 0-10 radios ===== */
.worlds-radios {
  display: flex;
  gap: 0.4rem;
}

.worlds-radio {
  position: relative;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0; /* allow the 10 pills to shrink to fit one row on any width */
}

.worlds-radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.worlds-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0;
  font-family: var(--font-ui);
  font-size: calc(1.05rem + var(--text-bump));
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.worlds-radio:hover span {
  border-color: var(--teal-accent);
  color: var(--navy-primary);
}

.worlds-radio:has(input:checked) span {
  background: var(--teal-fill);
  border-color: var(--teal-accent);
  color: var(--text-on-accent);
  font-weight: 600;
}

.worlds-radio:has(input:focus-visible) span {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: 2px;
}

/* ===== Band definition (shown when the toggle is on) ===== */
.worlds-definition {
  margin-top: var(--spacing-md);
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-left: 3px solid var(--gold);
  color: var(--text-dark);
  font-size: calc(0.95rem + var(--text-bump));
  line-height: 1.5;
}

.worlds-definition.is-empty {
  display: none;
}

/* ===== Save button ===== */
.worlds-save,
.worlds-page > form > .btn {
  margin-top: var(--spacing-sm);
}

/* ===== Peers section ===== */
.worlds-peers {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.worlds-peers > p {
  color: var(--text-secondary);
  font-size: calc(0.92rem + var(--text-bump));
  line-height: 1.5;
  margin: 0 0 var(--spacing-md);
  max-width: 64ch;
}

.worlds-peer-list {
  list-style: none;
  margin: 0 0 var(--spacing-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.worlds-peer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--border-medium);
  border-radius: 8px;
  background: var(--bg-tertiary);
}

.worlds-peer.is-completed {
  border-left-color: var(--teal-accent);
}

/* button_to renders a <form>; collapse it so its button aligns with the others. */
.worlds-peer > form {
  display: contents;
  margin: 0;
}

.worlds-peer .btn {
  margin: 0;
}

.worlds-peer-label {
  font-weight: 600;
  color: var(--navy-primary);
  margin-right: auto;
}

.worlds-peer-status {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: calc(0.72rem + var(--text-bump));
  padding: 0.2rem 0.55rem;
  border-radius: 50rem;
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.worlds-peer.is-completed .worlds-peer-status {
  background: var(--teal-light);
  color: var(--teal-ink);
}

.worlds-peer-link {
  flex: 1 1 100%;
  order: 3;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: calc(0.82rem + var(--text-bump));
  font-family: var(--font-ui);
}

.worlds-peer-link:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

/* Add-peer form: one row per remaining invite slot, stacked. */
.worlds-peer-add {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-light);
}

.worlds-peer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.worlds-peer-add input[type="submit"] {
  align-self: flex-start;
}

.worlds-peer-add input[type="email"],
.worlds-peer-add input[type="text"],
.worlds-peer-add select {
  box-sizing: border-box;
  height: 2.75rem;
  padding: 0 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: calc(0.9rem + var(--text-bump));
}

.worlds-peer-add input[type="email"],
.worlds-peer-add input[type="text"] {
  flex: 1 1 12rem;
}

/* Native select, restyled to match the inputs with a custom caret. */
.worlds-peer-add select {
  flex: 0 1 10rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2383A9B2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 0.7rem;
}

.worlds-peer-add input:focus,
.worlds-peer-add select:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.worlds-peers-errors:not(:empty) {
  margin-bottom: var(--spacing-md);
  padding: 0.6rem 0.85rem;
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  color: var(--text-dark);
  font-size: calc(0.9rem + var(--text-bump));
}

.worlds-peer-limit {
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* ===== Results table ===== */
.worlds-results {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.worlds-results > p {
  color: var(--text-secondary);
  font-size: calc(0.92rem + var(--text-bump));
  margin: 0 0 var(--spacing-md);
  max-width: 64ch;
  line-height: 1.5;
}

.worlds-results-scroll {
  overflow-x: auto;
}

.worlds-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(0.9rem + var(--text-bump));
}

.worlds-results-table th,
.worlds-results-table td {
  padding: 0.55rem 0.7rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.worlds-results-table thead th {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: calc(0.78rem + var(--text-bump));
  color: var(--text-secondary);
  background: var(--bg-secondary);
  font-weight: 600;
}

.worlds-results-table th:first-child,
.worlds-results-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy-primary);
}

.worlds-results-table tbody td {
  font-variant-numeric: tabular-nums;
  color: var(--text-dark);
}

.worlds-delta {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 50rem;
  font-size: calc(0.78rem + var(--text-bump));
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.worlds-delta.up {
  background: var(--teal-light);
  color: var(--teal-ink);
}

.worlds-delta.down {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.worlds-delta.zero {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* ===== Public peer page ===== */
.public-body {
  background: var(--bg-secondary);
  min-height: 100dvh;
  margin: 0;
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-primary);
}

.public-logo-img {
  height: 68px;
  width: auto;
}

.public-main {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.peer-rating {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
}

.peer-rating > h1 {
  font-family: var(--font-heading);
  font-size: calc(1.8rem + var(--text-bump));
  color: var(--navy-primary);
  margin: 0 0 0.4rem;
  line-height: 1.15;
}

.peer-rating > p {
  color: var(--text-secondary);
  font-size: calc(0.95rem + var(--text-bump));
  margin: 0 0 var(--spacing-lg);
}

.peer-alert {
  margin: 0;
  padding: 0.6rem 0.85rem;
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  color: var(--text-dark);
  font-size: calc(0.9rem + var(--text-bump));
}

/* Validation: warning sits with the Submit button, and missing items are
   lightly outlined in amber so they're easy to find. */
.peer-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.peer-submit-row .peer-alert {
  align-self: stretch;
}

.worlds-area.is-missing .worlds-radios {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 8px;
}

.peer-identity label.is-missing input,
.peer-identity label.is-missing select {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(223, 154, 50, 0.25);
}

.peer-identity {
  border: none;
  margin: 0 0 var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.peer-identity label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 14rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: calc(0.78rem + var(--text-bump));
  color: var(--teal-ink);
}

.peer-identity input,
.peer-identity select {
  box-sizing: border-box;
  width: 100%;
  height: 2.75rem;
  padding: 0 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: calc(0.95rem + var(--text-bump));
  text-transform: none;
  letter-spacing: normal;
}

.peer-identity input:focus,
.peer-identity select:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

/* Inside the peer card, soften the world panels (they're already in a card). */
.peer-rating .worlds-world {
  border: none;
  border-top: 1px solid var(--border-light);
  border-radius: 0;
  padding: var(--spacing-md) 0 0;
  margin: 0 0 var(--spacing-md);
}

.peer-rating .worlds-submit {
  margin-top: var(--spacing-md);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .worlds-world,
  .worlds-peers,
  .worlds-results,
  .peer-rating {
    padding: var(--spacing-md);
  }

  /* Keep all 10 on one row on phones: tighter gap, smaller text, no side padding. */
  .worlds-radios {
    gap: 0.3rem;
  }

  .worlds-radio span {
    padding: 0.5rem 0.1rem;
    font-size: calc(0.85rem + var(--text-bump));
    border-radius: 5px;
  }

  .worlds-title {
    font-size: calc(1.7rem + var(--text-bump));
  }
}

/* ===== About-you step (profile facts gating Marriage/Parenting) ===== */
.worlds-about-you .worlds-radios {
  max-width: 240px;
}

/* ===== Redesign chrome (2026-08-10) =====
   The Foundation Assessment page now lays its panels out as the design
   language's cards (.module-card, see modules/module-page.css) under uppercase
   section labels. The standalone peer-rating page still uses .worlds-world,
   .worlds-peers and .worlds-results on their own, so their panel styling above
   stays put and is reset only where a .module-card is also present. */
.module-card.worlds-world,
.module-card.worlds-peers,
.module-card.worlds-results {
  background: var(--bg-primary);
  border: none;
  border-radius: 0;
  padding: 1.3rem var(--card-x);
  margin: 0;
}

/* Each rated area reads as a row in the capture's type scale. */
.module-card .worlds-area:first-child { padding-top: 0; }

.module-card .worlds-area-name {
  font-family: var(--font-heading);
  font-size: calc(18.5px * var(--text-scale));
  font-weight: 500;
  color: var(--navy-primary);
}

.module-card .worlds-area-prompt {
  font-size: calc(15px * var(--text-scale));
  line-height: 1.6;
}

.module-card.worlds-peers > p,
.module-card.worlds-results > p {
  font-family: var(--font-body);
  font-size: calc(15px * var(--text-scale));
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--spacing-md);
}

/* ===== Wizard pacing (2026-08-11) =====
   The assessment is walked one section at a time: the About-you gate, a page
   per world, then the summary. The page needs a path across the top, a serif
   world heading, a Back/Next row, and the compact recap on the last page.

   The path is the journey map's idiom (see modules/guide-chrome.css,
   .journey-map): numbered nodes on a connecting line, a dashed circle where
   the work has not started, a teal fill and a check once it is done, and a
   ring on the section you are standing in. Same geometry (28px dots on a 2px
   rail at top: 13px) so the two paths read as one family. */

.worlds-path {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto 1.2rem;
}

.worlds-path-node {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-height: var(--tap);
  padding: 0;
  border: none;
  background: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

span.worlds-path-node {
  cursor: default;
}

.worlds-path-line {
  position: absolute;
  top: 13px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border-light);
}

.worlds-path-node.is-complete .worlds-path-line {
  background: var(--teal-accent);
}

.worlds-path-dot {
  position: relative; /* sits over the connecting line, as the journey map does */
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: calc(13.5px * var(--text-scale));
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 2px dashed var(--border-medium);
}

.worlds-path-node.is-complete .worlds-path-dot,
.worlds-path-node.is-current .worlds-path-dot {
  color: #fff;
  background: var(--teal-fill);
  border: none;
}

.worlds-path-node.is-current .worlds-path-dot {
  box-shadow: 0 0 0 6px rgba(72, 156, 184, 0.22);
}

.worlds-path-title {
  display: block;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: calc(13px * var(--text-scale));
  line-height: 1.35;
  color: var(--text-muted);
}

.worlds-path-node.is-complete .worlds-path-title,
.worlds-path-node.is-current .worlds-path-title {
  color: var(--navy-primary);
}

.worlds-path-node.is-current .worlds-path-title {
  font-weight: 600;
}

.worlds-path-state {
  display: block;
  font-family: var(--font-body);
  font-size: calc(13px * var(--text-scale));
  color: var(--text-muted);
  margin-top: 2px;
}

.worlds-path-node.is-complete .worlds-path-state {
  color: var(--teal-ink);
}

a.worlds-path-node:hover .worlds-path-title,
button.worlds-path-node:hover .worlds-path-title {
  color: var(--navy-primary);
}

a.worlds-path-node:hover .worlds-path-dot,
button.worlds-path-node:hover .worlds-path-dot {
  border-color: var(--teal-accent);
  color: var(--navy-primary);
}

a.worlds-path-node:focus-visible,
button.worlds-path-node:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: 3px;
}

/* Phones: the nodes wrap into rows and the connecting line drops out, exactly
   as the journey map does at the same width. */
@media (max-width: 768px) {
  .worlds-path {
    flex-wrap: wrap;
    gap: 1rem 0;
  }

  .worlds-path-node {
    flex: 0 0 33.333%;
  }

  .worlds-path-line {
    display: none;
  }
}

.worlds-step-title {
  font-family: var(--font-heading);
  font-size: calc(24px * var(--text-scale));
  font-weight: 500;
  color: var(--navy-primary);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.worlds-step-nav {
  justify-content: space-between;
}

/* ===== Summary recap ===== */

.worlds-recap-world + .worlds-recap-world {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
}

.worlds-recap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.worlds-recap-title {
  font-family: var(--font-heading);
  font-size: calc(17px * var(--text-scale));
  font-weight: 500;
  color: var(--navy-primary);
  margin: 0;
}

.worlds-recap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.3rem 1.2rem;
}

.worlds-recap-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px dotted var(--border-light);
  font-size: calc(14.5px * var(--text-scale));
  color: var(--text-secondary);
}

.worlds-recap-score {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy-primary);
}

.worlds-recap-item.is-unrated .worlds-recap-score {
  font-weight: 400;
  font-size: calc(12.5px * var(--text-scale));
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* "What does the email look like?" — the invite preview under the four rows. */
.worlds-peer-preview { margin-top: 0.9rem; }
.worlds-peer-preview summary {
  cursor: pointer;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: calc(0.75rem + var(--text-bump));
  color: var(--teal-ink);
}
.worlds-peer-preview__frame {
  margin-top: 0.6rem;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
}
.worlds-peer-preview__meta {
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--border-light);
  font-size: calc(0.8rem + var(--text-bump));
  color: var(--text-muted);
}
.worlds-peer-preview__body { padding: 0.75rem 0.9rem; }
.worlds-peer-preview__body p { margin: 0 0 0.6rem; font-size: calc(0.9rem + var(--text-bump)); line-height: 1.6; }
.worlds-peer-preview__body p:last-child { margin-bottom: 0; }

/* ===== Binder intro (Member Guide p. 17) =====
 * The exercise's own framing, shown above the wizard on the taking pages.
 * Tokens only, so dark mode follows variables.css. */
.worlds-intro {
  max-width: 68ch;
  margin: 0 0 var(--spacing-lg);
}

.worlds-intro p {
  font-family: var(--font-body);
  font-size: calc(15px * var(--text-scale));
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 0.6rem;
}

.worlds-intro p:last-child {
  margin-bottom: 0;
}

/* == Upload / by-hand round-trip outcome ============================== *
 * Shown when the member comes back from an upload or the manual form
 * (?assessment_upload=). Both themes follow because it is all tokens. */

.worlds-upload-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--status-success);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: calc(15px * var(--text-scale, 1));
}

.worlds-upload-outcome.is-bad {
  border-left-color: var(--status-danger);
}

.worlds-upload-outcome i {
  margin-top: 0.15rem;
  color: var(--status-success);
}

.worlds-upload-outcome.is-bad i {
  color: var(--status-danger);
}

/* == "Already completed the assessment?" offer ========================= */

.worlds-upload-offer {
  position: relative;
  margin: 1rem 0 1.25rem;
  padding: 1rem 3rem 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--teal-accent);
  border-radius: 10px;
  background: var(--teal-light);
}

.worlds-upload-offer-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.worlds-upload-offer-close:hover {
  color: var(--text-dark);
}

.worlds-upload-offer-head {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: calc(16px * var(--text-scale, 1));
  color: var(--navy-primary);
}

.worlds-upload-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.worlds-upload-offer-btn {
  min-height: 40px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--teal-accent);
  border-radius: 8px;
  background: transparent;
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: calc(14px * var(--text-scale, 1));
  cursor: pointer;
}

.worlds-upload-offer-btn.is-primary {
  background: var(--teal-accent);
  color: var(--bg-primary);
}

.worlds-upload-offer-btn:hover {
  border-color: var(--teal-ink);
}

.worlds-upload-offer-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.worlds-upload-offer-form[hidden] {
  display: none;
}

.worlds-upload-offer-file {
  color: var(--text-dark);
}

.worlds-upload-offer-confirm {
  margin: 0.4rem 0 0;
  color: var(--teal-ink);
}
