/* Customer Portal — minimal tenant-branded theme */

:root {
  --canvas: #F7F5F2;
  --surface: #FFFFFF;
  --surface-2: #F2EFE9;
  --border: #E2DDD6;
  --border-light: #EDE9E3;
  --text-primary: #1C1A17;
  --text-secondary: #6B6459;
  --text-muted: #9B9189;
  --brand: #8B6F47;
  --brand-dark: #5C4730;
  --brand-light: #C4A882;
  --brand-bg: #F5EFE6;
  --stage-done: #4A7C59;
  --stage-done-bg: #EBF5EF;
  --stage-warn: #D4860A;
  --stage-blocked: #C0392B;
}

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

body {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--canvas);
  min-height: 100vh;
}

.portal-shell {
  padding: 0 28px;
}

.portal-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.portal-topbar .inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}
.portal-topbar .mark {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.portal-topbar .brand {
  display: flex; flex-direction: column; line-height: 1.15;
}
.portal-topbar .brand .primary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600;
  color: var(--text-primary);
}
.portal-topbar .brand .secondary {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.portal-topbar .user {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}
.portal-topbar .name { font-size: 13px; color: var(--text-secondary); }
.portal-topbar .logout {
  background: var(--surface-2);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.portal-topbar .logout:hover { background: var(--border); }

.portal-main { padding: 28px 0 60px; }

.hero-card {
  background: linear-gradient(135deg, var(--brand-bg), #fff);
  border: 1px solid var(--brand-light);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.hero-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.hero-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-secondary);
}
.hero-phase {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 12px; font-weight: 500;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.phase-list { display: flex; flex-direction: column; gap: 8px; }
.phase-row {
  display: grid;
  grid-template-columns: 24px 1fr 100px 80px;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}
.phase-icon {
  width: 24px; height: 24px;
  border-radius: 4px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.phase-row.current .phase-icon { background: var(--brand); color: #fff; }
.phase-name { font-size: 13px; font-weight: 500; }
.phase-row.current .phase-name { font-weight: 600; color: var(--brand-dark); }
.phase-progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.phase-progress-fill { height: 100%; background: var(--stage-done); }
.phase-count { font-size: 11px; color: var(--text-muted); text-align: right; font-family: 'JetBrains Mono', monospace; }

.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .15s;
  cursor: pointer;
}
.doc-row:hover { background: var(--brand-bg); }
.doc-title { font-size: 13px; font-weight: 500; }
.doc-meta { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.doc-size { font-size: 11px; color: var(--text-muted); }

.ship-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ship-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 10px 14px;
}
.ship-card.red         { border-left-color: #C0392B; }
.ship-card.green       { border-left-color: #4A7C59; }
.ship-card.orange      { border-left-color: #D4860A; }
.ship-card.black       { border-left-color: #1C1A17; }
.ship-card.yellow      { border-left-color: #F2C94C; }
.ship-card.payment_hold{ border-left-color: #C0392B; background: #FDF2F0; }
.ship-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); }
.ship-title { font-size: 13px; font-weight: 500; margin-top: 4px; }
.ship-status { font-size: 10px; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }

.sel-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 6px 0; font-size: 13px; }
.sel-packet { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.sel-pending { color: var(--stage-warn); font-weight: 600; }

/* Login page */
.login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-bg), var(--canvas));
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(28,26,23,.06);
}
.login-card .mark {
  width: 56px; height: 56px;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.login-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600;
  text-align: center; margin-bottom: 6px;
}
.login-card .sub { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.login-card label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.login-card input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 14px;
  font-family: inherit;
}
.login-card input:focus { outline: none; border-color: var(--brand); }
.login-card button {
  width: 100%;
  padding: 12px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.login-card button:hover { background: var(--brand-dark); }
.login-error { background: #FDE8E8; color: var(--stage-blocked); padding: 10px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; display: none; }

.loading-screen { display: flex; align-items: center; justify-content: center; height: 100vh; width: 100vw; position: fixed; top: 0; left: 0; background: var(--canvas); z-index: 999; }
.loader { width: 30px; height: 30px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Portal tabs ─────────────────────────────────────────── */
.portal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.portal-tab {
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -2px;
  font-family: inherit;
  transition: color .15s, border-color .15s;
}
.portal-tab:hover { color: var(--text-primary); }
.portal-tab.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
  font-weight: 600;
}

/* ── Ballpark tab content ────────────────────────────────── */
.bk-section { margin-bottom: 28px; }
.bk-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.bk-table { display: flex; flex-direction: column; }
.bk-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  gap: 12px;
}
.bk-row:last-of-type { border-bottom: none; }
.bk-row.total {
  font-weight: 600;
  color: var(--brand-dark);
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin-top: 4px;
  padding-top: 10px;
}
.bk-row.bold { font-weight: 600; }
.bk-row.subhead {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 14px;
  border-bottom: none;
}
.bk-label { color: var(--text-primary); flex: 1; }
.bk-hint  { font-size: 11px; color: var(--text-muted); margin-left: 6px; }
.bk-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
}
.bk-row.total .bk-value { color: var(--brand-dark); }
.bk-hint-line {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  padding-left: 2px;
}

.bk-range {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding: 16px 20px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-light);
  border-radius: 10px;
}
.bk-range-col { flex: 1; }
.bk-range-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.bk-range-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.1;
}

.bk-notes { margin-top: 24px; }
.bk-note {
  background: #FAF6EC;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.55;
}
.bk-note-header {
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 5px;
}

.bk-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.bk-download-btn:hover { background: var(--brand-dark); }
.bk-download-btn:disabled { opacity: .6; cursor: default; }

/* ══════════════════════════════════════════════════════════════
   Documents Tab — card grid
   ══════════════════════════════════════════════════════════════ */

.doc-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.doc-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 4px 16px rgba(139,111,71,.08);
}
.doc-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.doc-card-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--brand-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 3px;
}
.doc-card-desc  { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.doc-card-meta  { margin-top: 6px; font-size: 12px; color: var(--text-secondary); }
.doc-card-count { color: var(--stage-done); font-weight: 600; }
.doc-card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.doc-card-btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}
.doc-card-btn-primary:hover { background: var(--brand-dark); }
.doc-card-btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}
.doc-card-btn-secondary:hover { background: var(--border); }

/* ══════════════════════════════════════════════════════════════
   ACH Auth page — layout & header
   ══════════════════════════════════════════════════════════════ */

.ach-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.ach-page-header {
  padding: 28px 0 20px;
}
.ach-back {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
  transition: color .15s;
}
.ach-back:hover { color: var(--brand); }
.ach-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.ach-page-sub { font-size: 13px; color: var(--text-secondary); }

.ach-history-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.ach-new-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.ach-new-btn:hover { background: var(--brand-dark); }

/* Step indicator */
.ach-steps {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 4px;
}
.ach-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s;
}
.ach-step.active { color: var(--brand-dark); }
.ach-step.done   { color: var(--stage-done); }
.ach-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
.ach-step.active .ach-step-num {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.ach-step.done .ach-step-num {
  background: var(--stage-done);
  border-color: var(--stage-done);
  color: #fff;
}
.ach-step.done .ach-step-num::before { content: '✓'; }
.ach-step.done .ach-step-num > * { display: none; }
.ach-step-line {
  flex: 1;
  min-width: 20px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
}

/* Form sections */
.ach-section { margin-bottom: 0; }
.ach-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--brand-dark);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

/* Fields */
.ach-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.ach-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-secondary);
}
.ach-req  { color: var(--stage-blocked); margin-left: 2px; }
.ach-hint { font-size: 10px; color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; margin-left: 5px; }

.ach-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.ach-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139,111,71,.1);
}
.ach-input[readonly] {
  background: var(--surface-2);
  color: var(--text-secondary);
  cursor: default;
}

.ach-input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ach-input-prefix {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
}
.ach-input-prefixed { padding-left: 24px; }

.ach-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}
@media (max-width: 520px) { .ach-row-2 { grid-template-columns: 1fr; } }

/* Radio group */
.ach-radio-group { display: flex; gap: 20px; flex-wrap: wrap; padding: 4px 0; }
.ach-radio {
  display: flex; align-items: center; gap: 7px;
  cursor: pointer; font-size: 13px; color: var(--text-primary);
}
.ach-radio input[type="radio"] { accent-color: var(--brand); width: 16px; height: 16px; }

/* Tips and legal */
.ach-tip {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
}
.ach-tip-icon { flex-shrink: 0; color: var(--brand); font-size: 14px; }

.ach-legal-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.ach-sig-input {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--brand-dark);
  letter-spacing: .01em;
}

/* Checkbox */
.ach-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  cursor: pointer;
}
.ach-checkbox-label input[type="checkbox"] {
  accent-color: var(--brand);
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Actions row */
.ach-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}
.ach-btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.ach-btn-primary:hover { background: var(--brand-dark); }
.ach-btn-ghost {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.ach-btn-ghost:hover { background: var(--border); }
.ach-btn-submit {
  background: var(--stage-done);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .01em;
}
.ach-btn-submit:hover { background: #3a6647; }
.ach-btn-submit:disabled { opacity: .6; cursor: default; }

/* Error */
.ach-err {
  background: #FDE8E8;
  color: var(--stage-blocked);
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 8px;
}

/* History list */
.ach-history-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ach-history-item:hover { border-color: var(--brand-light); }
.ach-history-main { flex: 1; min-width: 0; }
.ach-history-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.ach-history-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-secondary);
  margin-bottom: 4px;
}
.ach-history-meta span::before { content: '·'; margin-right: 10px; }
.ach-history-meta span:first-child::before { content: ''; margin: 0; }
.ach-history-date { font-size: 11px; color: var(--text-muted); }
.ach-history-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0;
}
.ach-history-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-dark);
}
.ach-history-ref { font-size: 11px; color: var(--text-muted); }

.ach-status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ach-status-badge.submitted { background: var(--stage-done-bg); color: var(--stage-done); }

.ach-pdf-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-primary);
}
.ach-pdf-btn:hover { background: var(--border); }

/* Empty state */
.ach-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.ach-empty-icon   { font-size: 36px; margin-bottom: 12px; }
.ach-empty-title  {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; color: var(--brand-dark);
  margin-bottom: 6px;
}
.ach-empty-body { font-size: 13px; color: var(--text-muted); }

/* Confirmation */
.ach-confirm-card {
  text-align: center;
  padding: 48px 32px;
  max-width: 520px;
  margin: 32px auto;
}
.ach-confirm-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--stage-done-bg);
  color: var(--stage-done);
  font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.ach-confirm-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600; color: var(--brand-dark);
  margin-bottom: 10px;
}
.ach-confirm-body {
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
  max-width: 400px; margin: 0 auto 24px;
}
.ach-confirm-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.ach-btn-ghost-link {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px; text-decoration: none;
  font-family: inherit;
}
.ach-btn-ghost-link:hover { background: var(--border); }
.ach-confirm-note {
  font-size: 11px; color: var(--text-muted); line-height: 1.5;
}

/* portal-main shell without enforced shell padding for ach page */
.ach-shell .panel { margin-bottom: 0; }
