/* ============================================================
   CLIENT PORTAL — Tax on the House
   ============================================================ */

/* DaisyUI primary = navy #4A547A */
[data-theme="light"] { --p: 39% 0.077 265; --pc: 98% 0 0; }

:root {
  --navy:        #4A547A;
  --navy-dark:   #353d5e;
  --navy-light:  #6b78a8;
  --body-bg:     #F8F9FB;
  --white:       #ffffff;
  --ink:         #1C1C2E;
  --gray-600:    #6b7280;
  --gray-200:    #e5e7eb;
  --gray-100:    #f3f4f6;
  --green:       #2d9e6b;
  --green-pale:  #e8f7f1;
  --amber:       #d97706;
  --amber-pale:  #fef3c7;
  --red:         #dc2626;
  --red-pale:    #fee2e2;

  --font-sans:   'Work Sans', sans-serif;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--body-bg);
  color: var(--ink);
  min-height: 100vh;
  font-size: 14px;
}

/* ---- NAV ---- */
.portal-nav {
  background: #fff;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.portal-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.portal-nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.portal-nav__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .85;
}

.portal-nav__logo span {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: .01em;
}

.portal-nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---- BUTTONS ---- */
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: .45rem 1.1rem;
  transition: background .15s, opacity .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
}

.portal-btn--primary {
  background: var(--ink);
  color: #fff;
}
.portal-btn--primary:hover { background: #2d2d42; }

.portal-btn--donate {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: var(--ink);
  font-weight: 600;
}
.portal-btn--donate:hover { background: var(--body-bg); }

.portal-btn--outline {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: var(--ink);
}
.portal-btn--outline:hover { background: var(--body-bg); }

.portal-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.12);
  color: var(--ink);
}
.portal-btn--ghost:hover { background: var(--body-bg); }

.portal-btn--full { width: 100%; justify-content: center; }

.portal-btn--sm { font-size: .78rem; padding: .3rem .75rem; }

.portal-btn--upload {
  background: var(--body-bg);
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: .35rem .85rem;
  font-size: .8rem;
  cursor: pointer;
}
.portal-btn--upload:hover { background: #dfe0ea; }

.portal-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ---- USER DROPDOWN ---- */
.portal-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 500;
  padding: .35rem .6rem;
  border-radius: 8px;
  transition: background .15s;
  user-select: none;
}
.portal-user:hover { background: var(--body-bg); }

.portal-user__caret { font-size: .65rem; opacity: .7; }

.portal-user__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 150px;
  overflow: hidden;
  z-index: 100;
}
.portal-user__dropdown.open { display: block; }

.portal-user__dropdown a {
  display: block;
  padding: .65rem 1rem;
  font-size: .85rem;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background .12s;
}
.portal-user__dropdown a:hover { background: var(--gray-100); }

.logout-link { color: var(--red) !important; }

/* ---- MAIN LAYOUT ---- */
.portal-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3rem;
}

.portal-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* ---- STEPPER PANEL ---- */
.stepper-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
  padding: 1.25rem 1rem 1.5rem;
  position: sticky;
  top: 78px;
}

.stepper-panel__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  padding-left: .25rem;
}

.stepper { display: flex; flex-direction: column; gap: 0; }

.stepper__item {
  display: flex;
  gap: .75rem;
  cursor: pointer;
}

.stepper__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
}

.stepper__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}

.stepper__line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: var(--gray-200);
  margin: 3px 0;
  transition: background .2s;
}

.stepper__content {
  padding: .15rem 0 1rem;
  min-width: 0;
}

.stepper__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  transition: color .2s;
}

.stepper__sub {
  font-size: .72rem;
  color: var(--gray-600);
  margin-top: .15rem;
  line-height: 1.4;
}

/* Stepper states */
.stepper__item--active .stepper__circle {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.stepper__item--active .stepper__label { color: var(--ink); }

.stepper__item--done .stepper__circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.stepper__item--done .stepper__circle::after { content: '✓'; }
.stepper__item--done .stepper__circle { font-size: 0; }
.stepper__item--done .stepper__circle::after { font-size: .75rem; }
.stepper__item--done .stepper__line { background: var(--green); }

/* ---- CONTENT PANEL ---- */
.content-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
  min-height: 500px;
}

/* ---- VIEWS ---- */
.view { display: none; padding: 2rem; }
.view.active { display: block; }

.view-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.view-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}

/* ---- FORM STYLES ---- */
.form-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1.5px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-section-label .inline-check {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--gray-600);
  margin-top: 0;
}

.field-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: .75rem;
}
.field-grid--2 { grid-template-columns: repeat(2, 1fr); }
.field-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Material floating label */
.field {
  position: relative;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select {
  width: 100%;
  padding: 1.15rem .75rem .45rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus {
  border-color: var(--navy);
}

.field input[readonly],
.field select:disabled {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* All field labels always sit at the top — consistent across text inputs and selects */
.field > label:not(.inline-check):not(.select-label),
.select-label {
  position: absolute;
  left: .75rem;
  top: .45rem;
  transform: translateY(0);
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray-600);
  pointer-events: none;
  white-space: nowrap;
  transition: color .15s;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus ~ label:not(.inline-check) {
  color: var(--navy);
}

/* Inline "same as" checkbox */
.inline-check {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--gray-600);
  margin-top: .35rem;
  cursor: pointer;
  user-select: none;
}
.inline-check input[type="checkbox"] {
  width: 13px;
  height: 13px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--navy);
  border: none;
}

.field--with-check {
  display: flex;
  flex-direction: column;
}

/* Tooltip */
.field--tooltip-wrap { position: relative; }

.tooltip-trigger {
  position: absolute;
  right: .6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.tooltip-card {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
  padding: 1rem;
  z-index: 20;
  font-size: .82rem;
}
.tooltip-card.open { display: block; }
.tooltip-card strong { display: block; margin-bottom: .35rem; color: var(--ink); }
.tooltip-card p { color: var(--gray-600); margin-bottom: .75rem; }
.tooltip-actions { display: flex; gap: .5rem; }

/* ---- PROPERTY CARDS ---- */
.properties-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  margin-bottom: .85rem;
}

.property-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: .85rem;
  background: var(--gray-100);
}

.property-card__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
}

.property-card__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  flex: 1;
}

.property-card__badge {
  font-size: .7rem;
  font-weight: 600;
  background: #e0f2fe;
  color: #0369a1;
  padding: .2rem .55rem;
  border-radius: 20px;
}

.property-card__remove {
  background: none;
  border: none;
  color: var(--red);
  font-size: .78rem;
  cursor: pointer;
  opacity: .7;
  padding: .2rem .4rem;
  font-family: var(--font-sans);
}
.property-card__remove:hover { opacity: 1; }

.property-card .field input,
.property-card .field select {
  background: var(--white);
}

/* ---- AOA VIEW ---- */
.aoa-doc {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  max-height: 380px;
  overflow-y: auto;
  margin-bottom: 1rem;
  background: #fafafa;
}

.aoa-doc__inner {
  padding: 1.5rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ink);
}

.aoa-doc__inner h3 { font-size: .95rem; margin-bottom: .75rem; text-align: center; }
.aoa-doc__inner .doc-row { display: flex; gap: .5rem; margin-bottom: .35rem; }
.aoa-doc__inner .doc-label { font-weight: 600; min-width: 130px; color: var(--gray-600); }

.aoa-agree {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  margin-bottom: 1.25rem;
}
.aoa-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.aoa-agree a { color: var(--navy); }

/* ---- DOCUMENT SIGNATURE VIEW ---- */
.doc-sig-progress {
  margin-bottom: 1.5rem;
}

.doc-sig-progress__bar {
  height: 5px;
  background: var(--gray-200);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: .5rem;
}

.doc-sig-progress__fill {
  height: 100%;
  background: var(--navy);
  border-radius: 99px;
  transition: width .4s ease;
  width: 0%;
}

.doc-sig-progress__label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
}

.doc-sig-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--gray-600);
  font-size: .85rem;
  gap: 1rem;
}

.doc-sig-loading__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.doc-sig-error {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray-600);
  font-size: .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ---- CASE VIEW ---- */
.case-status-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: .85rem 1rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.case-status-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
}

.status-pill {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

.status-pill--intake    { background: #e0e7ff; color: #4338ca; }
.status-pill--aoa       { background: #fef3c7; color: #d97706; }
.status-pill--filed     { background: #dbeafe; color: #1d4ed8; }
.status-pill--pending   { background: #fef3c7; color: #d97706; }
.status-pill--settled   { background: #d1fae5; color: #065f46; }
.status-pill--closed    { background: var(--gray-200); color: var(--gray-600); }

.section-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
}

.section-heading-sm {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* History */
.history-list {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.history-item {
  display: flex;
  gap: .75rem;
  padding: .65rem .85rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  align-items: flex-start;
}

.history-item__date {
  font-size: .75rem;
  color: var(--gray-600);
  white-space: nowrap;
  font-weight: 500;
  min-width: 90px;
  padding-top: .05rem;
}

.history-item__text {
  font-size: .82rem;
  color: var(--ink);
  line-height: 1.5;
}

.empty-state-text {
  font-size: .82rem;
  color: var(--gray-600);
  font-style: italic;
  text-align: center;
  padding: 1.5rem 0;
}

/* Evidence */
.evidence-section { margin-top: .25rem; }

.evidence-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.evidence-desc {
  font-size: .8rem;
  color: var(--gray-600);
  margin-top: .25rem;
  line-height: 1.5;
  max-width: 500px;
}

.evidence-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.evidence-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.evidence-item {
  display: grid;
  grid-template-columns: 1fr 130px 1fr auto;
  gap: .5rem;
  align-items: center;
  padding: .5rem .75rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: .8rem;
}

.evidence-item__name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-item select {
  font-size: .78rem;
  padding: .25rem .4rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
}

.evidence-item input[type="text"] {
  font-size: .78rem;
  padding: .25rem .5rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  width: 100%;
}

.evidence-item__del {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: .15rem;
  opacity: .7;
  transition: opacity .15s;
}
.evidence-item__del:hover { opacity: 1; }

.evidence-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--gray-600);
}
.evidence-empty__icon { font-size: 2rem; margin-bottom: .5rem; }
.evidence-empty p { font-size: .82rem; }

/* ---- RESULTS VIEW ---- */
.results-container {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1.25rem;
  align-items: start;
}

.results-table-wrap {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}

.results-table th {
  background: var(--gray-100);
  padding: .6rem .85rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-600);
  border-bottom: 1.5px solid var(--gray-200);
}

.results-table td {
  padding: .6rem .85rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--ink);
}

.results-table tr:last-child td { border-bottom: none; }

.results-table td:first-child {
  font-weight: 600;
  color: var(--gray-600);
  font-size: .78rem;
}

.results-final-card {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
}

.results-final-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem .85rem;
  background: var(--navy-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.results-table--final td {
  border-bottom-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}
.results-table--final td:first-child { color: rgba(255,255,255,0.6); }

/* ---- FOOTER ---- */
.portal-footer {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-600);
  padding: 1.5rem;
}

/* ---- LOGIN PAGE ---- */
body.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--body-bg);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 400px;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.login-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: hue-rotate(200deg) saturate(0.8);
}

.login-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}

.login-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .35rem;
  color: var(--ink);
}

.login-sub {
  font-size: .82rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-error {
  background: var(--red-pale, #fee2e2);
  color: var(--red);
  font-size: .82rem;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.login-divider {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-600);
  margin: 1rem 0;
  position: relative;
}
.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--gray-200);
}
.login-divider::before { left: 0; }
.login-divider::after  { right: 0; }

.login-footer {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-600);
  margin-top: 1.5rem;
}
.login-footer a { color: var(--navy); }

.login-card .field { margin-bottom: .85rem; }

/* Adjust floating label for login (no placeholder trick needed, use :focus only) */
.login-card .field input {
  padding: .85rem .75rem .35rem;
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink);
  color: #fff;
  padding: .65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  z-index: 9999;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast--success { background: var(--green); }
.toast--error   { background: var(--red); }

/* ---- MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
}

.modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 1.25rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .portal-container { grid-template-columns: 1fr; }
  .stepper-panel { position: static; }
  .field-grid--3 { grid-template-columns: 1fr; }
  .field-grid--4 { grid-template-columns: 1fr 1fr; }
  .results-container { grid-template-columns: 1fr; }
}
