/* ==========================================================================
   CNA Matching 2026 — Design tokens + stili globali
   Derivati da ui_assets/export-synthesis/src/tokens.js
   ========================================================================== */

:root {
  /* Brand */
  --blue: #005CA9;
  --blue-deep: #004682;
  --blue-soft: #E6EFF7;

  /* Neutri */
  --ink: #111111;
  --ink-70: #4a4a4a;
  --ink-40: #8a8a8a;
  --white: #FFFFFF;

  /* Editoriali */
  --cream: #F5EFE3;
  --paper: #FBF6EA;
  --border: #1a1a1a;
  --border-soft: #d8d2c4;

  /* Font stacks */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #e9e4d5;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

/* ==========================================================================
   Frame contenitore — fluid su mobile, centrato e con max-width crescente
   da tablet in su.
   ========================================================================== */

.frame {
  width: 100%;
  min-height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 100%;       /* default: tutto schermo (mobile) */
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Tablet: il frame si centra ma resta abbastanza largo per leggere bene */
@media (min-width: 600px) {
  html, body { padding: 24px 0; }
  .frame {
    max-width: 600px;
    border-radius: 12px;
    min-height: auto;
  }
}

/* Desktop: ulteriore breathing room */
@media (min-width: 1024px) {
  .frame { max-width: 720px; }
}

/* Body interno: padding più generoso quando lo spazio c'è */
@media (min-width: 600px) {
  .body { padding: 36px 40px; }
  .preview-body { padding: 36px 40px; }
}

/* Admin ha layout full-width desktop */
.frame--admin {
  max-width: none;
  min-height: 100vh;
  box-shadow: none;
}

/* ==========================================================================
   Masthead editoriale
   ========================================================================== */

.mast-bar {
  padding: 10px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  gap: 10px;
  background: var(--cream);
}

.mast-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mast-bar__accent { color: var(--blue); }

.cna-badge {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero editoriale (blu)
   ========================================================================== */

.hero {
  padding: 28px 22px 24px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
  background: var(--blue);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero__bg-logo {
  position: absolute;
  right: -24px;
  top: -24px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  position: relative;
}

.hero__title {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-style: italic;
  font-weight: 400;
  position: relative;
  margin: 0;
}

.hero__title--small { font-size: 38px; }
.hero__title .plain { font-style: normal; }

/* ==========================================================================
   Body standard delle schermate
   ========================================================================== */

.body {
  flex: 1;
  overflow: auto;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.body h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.body p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
  color: var(--ink-70);
}

.body p strong { color: var(--ink); }

/* ==========================================================================
   Card informativa (landing)
   ========================================================================== */

.info-card {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
  background: var(--white);
}

.info-card__label {
  font-size: 13px;
  color: var(--ink-40);
  margin-bottom: 4px;
}

.info-card__value {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

.info-card__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
}

.info-card__row-label { color: var(--ink-70); }

/* ==========================================================================
   Bottoni
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  border: none;
  width: 100%;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover { background: var(--blue-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink-70);
  text-decoration: underline;
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
}

.btn--outline {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--border-soft);
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
}

.btn--sm { padding: 16px; font-size: 15px; }

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-row .btn--outline { flex: 1; }
.btn-row .btn--primary { flex: 2; padding: 16px; font-size: 15px; }

.footnote {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  color: var(--ink-40);
  text-align: center;
}

/* ==========================================================================
   Questionario — header + progresso
   ========================================================================== */

.q-header {
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
  background: var(--cream);
}

.q-header__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}

.q-header__title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: italic;
  margin: 0 0 14px;
}

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress__bar {
  flex: 1;
  height: 6px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  background: var(--blue);
  transition: width 0.3s ease;
}

.progress__pct {
  font-size: 12px;
  color: var(--ink-70);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Questionario — blocchi domanda, chip, slider, role card
   ========================================================================== */

.q-block {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-soft);
}

.q-block__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.q-block__num {
  font-size: 13px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 22px;
}

.q-block__label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.q-block__required {
  color: var(--blue);
  margin-left: 2px;
}

.q-block__sub {
  font-size: 13px;
  color: var(--ink-70);
  margin-left: 34px;
  margin-bottom: 14px;
  margin-top: -8px;
}

.q-block__content { margin-left: 34px; }

/* Chip */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  border: 1.5px solid var(--border-soft);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink);
  user-select: none;
  transition: all 0.15s ease;
}

.chip:hover { border-color: var(--blue); }

/* Solid variant (Q1 settori) — full blue quando on */
.chip--solid.is-on {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  font-weight: 600;
}

/* Soft variant (multi select) — blue chiaro quando on */
.chip--soft.is-on {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}

.chip__check {
  font-size: 14px;
  display: none;
}

.chip.is-on .chip__check { display: inline; }

/* Settori (Q1): griglia 2×2 con chip uniformi per larghezza e altezza.
   1fr/1fr → stessa larghezza; align-items default (stretch) →
   tutte le chip prendono l'altezza della più alta. */
.chip-group[data-field="sector"] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* Stack variant — name in cima + (sub) sotto in piccolo grigio.
   `height` fisso (NON 100% e NON `min-height`): garantisce che tutte
   le 4 chip abbiano la stessa altezza, anche se i sub hanno
   lunghezze molto diverse fra loro. */
.chip--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  white-space: normal;
  width: 100%;
  height: 110px;
  overflow: hidden;
}

.chip--stack .chip__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.chip--stack .chip__sub {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-40);
}

/* Quando la chip è selezionata (sfondo blu) il sub resta leggibile in cream */
.chip--solid.chip--stack.is-on .chip__sub {
  color: var(--cream);
  opacity: 0.85;
}

/* Role card */
.role-card-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-card {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  user-select: none;
  transition: all 0.15s ease;
}

.role-card.is-on {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.role-card__check {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.role-card.is-on .role-card__check {
  border-color: var(--blue);
  background: var(--blue);
}

.role-card__check::before { content: ''; }
.role-card.is-on .role-card__check::before { content: '✓'; }

.role-card__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.role-card.is-on .role-card__label { color: var(--blue); }

.role-card__sub {
  font-size: 13px;
  color: var(--ink-70);
}

/* Lista aziende selezionabili (Step 8).
   Markup: <label class="company-row"> wrappa <input type="checkbox"> + info.
   Click sul label → toggle automatico del checkbox (semantica HTML nativa).
   Stato selezionato: usiamo `:has()` per dipendere dal checkbox nativo. */
.company-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Etichetta di sezione dentro lo step 8 (Aziende / Desk CNA) */
.picker-section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  margin-bottom: 6px;
}

/* Contatore "X di Y selezionate" — diventa rosso quando raggiungi il tetto */
.company-list__counter {
  font-size: 12px;
  color: var(--ink-70);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.company-list__counter.is-full {
  color: var(--blue);
  font-weight: 600;
}

/* Riga "disabilitata" — selezione bloccata (limite raggiunto) */
.company-row.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.company-row.is-disabled:hover {
  border-color: var(--border-soft);  /* niente hover blu su disabilitate */
}

.company-row {
  display: flex;
  align-items: flex-start;   /* checkbox in alto, allineato con il nome */
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s ease;
}

.company-row:hover { border-color: var(--blue); }

.company-row:has(.company-row__checkbox:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}

/* Checkbox classico — colorato di blu CNA via accent-color */
.company-row__checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  margin-top: 2px;          /* allinea il box col baseline del nome */
  accent-color: var(--blue);
  cursor: pointer;
}

.company-row__info {
  flex: 1;
  min-width: 0;  /* permette il troncamento del testo */
}

.company-row__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.company-row:has(.company-row__checkbox:checked) .company-row__name {
  color: var(--blue);
}

/* Il <a> dentro al name eredita il colore: niente sottolineatura,
   solo l'icona ↗ in più che indica "apre in nuova scheda" */
.company-row__name a {
  color: inherit;
  text-decoration: none;
}

.company-row__name a:hover { text-decoration: underline; }

.company-row__ext {
  font-size: 11px;
  color: var(--ink-40);
  margin-left: 4px;
}

.company-row:has(.company-row__checkbox:checked) .company-row__ext {
  color: var(--blue);
}

.company-row__meta {
  font-size: 12px;
  color: var(--ink-70);
}

/* Slider dimensione */
.size-slider {
  position: relative;
  height: 40px;
  margin-bottom: 10px;
}

.size-slider__track {
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-soft);
}

.size-slider__fill {
  position: absolute;
  top: 19px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.size-slider__dot {
  position: absolute;
  top: 11px;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.size-slider__dot-inner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-soft);
  transition: all 0.15s ease;
}

.size-slider__dot--reached .size-slider__dot-inner {
  background: var(--blue);
  border-color: var(--blue);
}

.size-slider__dot--active .size-slider__dot-inner {
  width: 18px;
  height: 18px;
}

.size-slider__labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-40);
}

.size-slider__labels span.is-active {
  color: var(--ink);
  font-weight: 700;
}

.size-slider__hint {
  font-size: 12px;
  color: var(--ink-40);
  margin-top: 10px;
  text-align: center;
}

/* Textarea/input */
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--sans);
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
  font-family: var(--sans);
}

.char-count {
  font-size: 12px;
  color: var(--ink-40);
  margin-top: 6px;
  text-align: right;
}

/* Multi-step: mostra solo step attivo */
.q-step { display: none; }
.q-step.is-active { display: block; }

/* ==========================================================================
   Profile preview
   ========================================================================== */

.preview-body { padding: 26px 26px 28px; }

.preview-intro {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-70);
  margin-bottom: 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 10px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 500;
}

.tag--offer { background: var(--blue-soft); color: var(--blue); }
.tag--seek { background: var(--ink); color: var(--white); }

.detail-box {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.detail-row:last-child { border-bottom: none; }
.detail-row__label { color: var(--ink-70); }

.note-card {
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
}

.note-card__icon { font-size: 16px; }
.note-card__title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.note-card__body {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.5;
}

/* ==========================================================================
   Admin dashboard
   ========================================================================== */

.admin-hero {
  padding: 22px 28px;
  border-bottom: 1.5px solid var(--border);
  background: var(--blue);
  color: var(--cream);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.admin-hero__bg-logo {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: 0.14;
  mix-blend-mode: screen;
  pointer-events: none;
}

.admin-hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-hero__title {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.025em;
  font-style: italic;
  margin: 0;
}

.admin-hero__actions {
  display: flex;
  gap: 8px;
}

.btn--hero-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  border-radius: 6px;
  width: auto;
}

.btn--hero-solid {
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--cream);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  border-radius: 6px;
  width: auto;
  text-decoration: none;
  display: inline-block;
}

.admin-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  overflow: hidden;
}

.admin-col {
  border-right: 1px solid var(--border-soft);
  overflow: auto;
  padding: 24px 26px;
}

.admin-col:last-child {
  border-right: none;
  background: var(--cream);
}

.col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.featured__title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-style: italic;
}

.featured__title .times {
  font-family: var(--sans);
  font-style: normal;
  font-size: 20px;
  color: var(--ink-40);
}

.featured__meta {
  font-size: 13px;
  color: var(--ink-70);
  margin-bottom: 20px;
}

.featured__meta strong { color: var(--blue); }

.featured__desc {
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
}

.score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}

.score-row__label { flex: 1.3; font-size: 13px; }
.score-row__bar {
  flex: 2;
  height: 6px;
  background: var(--cream);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.score-row__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--blue);
}
.score-row__value {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  width: 34px;
  text-align: right;
  font-weight: 600;
}

/* Top affinità */
.top-match {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.top-match__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.top-match__names {
  font-size: 14px;
  font-weight: 600;
}

.top-match__names .times { color: var(--ink-40); font-weight: 400; }

.top-match__score {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.top-match__meta { font-size: 12px; color: var(--ink-70); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.stat {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}

.stat__value {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-style: italic;
}

.stat__label { font-size: 12px; color: var(--ink-70); }

.agenda-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-40);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agenda-row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}

.agenda-row:last-child { border-bottom: none; }

.agenda-row__time {
  font-size: 13px;
  font-weight: 700;
  min-width: 48px;
  font-variant-numeric: tabular-nums;
}

.agenda-row__label { font-size: 13px; }

.warning-card {
  margin-top: 22px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}

.warning-card__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.warning-card__body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-70);
}

.warning-card__body strong { color: var(--ink); }

/* Responsive — mobile admin a colonna */
@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-col {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }
}

/* ==========================================================================
   Debug / utility
   ========================================================================== */

.companies-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.companies-table th,
.companies-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.companies-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-40);
  font-weight: 700;
}

.status-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-invited { background: var(--cream); color: var(--ink-70); }
.status-submitted { background: var(--blue-soft); color: var(--blue); }
.status-confirmed { background: #e7f5e9; color: #2e7d32; }
