/* ============================================================
   Account, dashboard & billing pages.
   Tokens mirror landing.css: ink #333639, accent #008CCF, canvas #EDEFF3.
   ============================================================ */

:root {
  --acc: #008CCF;
  --acc-strong: #015E8F;
  --ink: #333639;
  --ink-soft: #5B5E69;
  --ink-muted: #333639;
  --line: #E2E4EB;
  --card: rgba(255, 255, 255, 0.82);
}

/* ---------- shared page shell ---------- */
.auth-page,
.dash-page {
  position: relative;
  min-height: calc(100vh - 70px);
  /* Top padding clears the fixed nav (~72px: 12px offset + 60px bar) so the
     first banner/card doesn't tuck under it. Matches the marketing hero. */
  padding: 104px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dash-page {
  align-items: stretch;
}

.auth-page .page-aura,
.dash-page .page-aura {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* ---------- auth card ---------- */
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 36px 34px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px -28px rgba(20, 30, 50, 0.35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.auth-card-center {
  text-align: center;
}

.auth-head {
  margin-bottom: 22px;
}

.auth-title {
  font-family: "Montserrat Alternates", ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.auth-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.auth-optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.auth-field input,
.auth-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  /* >=16px stops iOS Safari zooming on focus */
  transition: border-color .15s, box-shadow .15s;
}

.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(0, 140, 207, 0.16);
}

.auth-field input:disabled {
  background: rgba(20, 30, 50, 0.04);
  color: var(--ink-muted);
  cursor: not-allowed;
}

.auth-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 6px 0 0;
}

/* One-time code input. */
.auth-field input.auth-otp {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 14px;
  padding-left: 14px;
  /* offset trailing letter-spacing so digits look centred */
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* "Keep me logged in" checkbox */
.auth-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 18px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.auth-remember input {
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Textarea matches the input styling (branding blurb). */
.auth-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
  min-height: 84px;
  transition: border-color .15s, box-shadow .15s;
}

.auth-field textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(0, 140, 207, 0.16);
}

/* Notification on/off toggle row. */
.dash-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.dash-toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--acc);
}

.dash-lock .dash-panel-note {
  max-width: 52ch;
}

/* Inline save feedback for AJAX settings forms. */
.dash-form-msg {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.dash-form-msg.is-ok {
  color: #126C3E;
}

.dash-form-msg.is-error {
  color: #B42318;
}

.btn-primary.is-loading {
  opacity: 0.65;
  cursor: progress;
}

/* Logo dropzone. */
.logo-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-muted);
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}

.logo-drop:hover,
.logo-drop:focus-visible {
  outline: none;
  border-color: var(--acc);
  color: var(--ink-soft);
}

.logo-drop.is-drag {
  border-color: var(--acc);
  background: rgba(0, 140, 207, 0.07);
  color: var(--accent-strong);
}

.logo-drop-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-drop-cta span {
  font-size: 13.5px;
}

.logo-drop-cta strong {
  color: var(--accent-strong);
}

.logo-drop-cta small {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.logo-drop-preview {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.logo-drop-remove {
  align-self: flex-start;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #B42318;
  cursor: pointer;
}

.logo-drop-remove:hover {
  text-decoration: underline;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  cursor: pointer;
}

.auth-check input {
  accent-color: var(--acc);
}

.auth-link,
.auth-foot a,
.dash-card-link {
  color: var(--acc);
  text-decoration: none;
  font-weight: 600;
}

.auth-link:hover,
.auth-foot a:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
  text-align: center;
}

.auth-submit.is-busy {
  pointer-events: none;
  opacity: 0.9;
}

.auth-submit[disabled] {
  cursor: progress;
  opacity: 0.9;
}

.auth-foot {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* alerts */
.auth-alert {
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 14px;
  margin: 0 0 18px;
}

.auth-alert-error {
  background: #FDECEC;
  color: #B42318;
  border: 1px solid #F6C9C6;
}

.auth-alert-ok {
  background: #E7F6EE;
  color: #126C3E;
  border: 1px solid #BFE6CF;
}

.auth-alert-warn {
  background: #FEF6E7;
  color: #93600B;
  border: 1px solid #F6E2B8;
}

/* verify / status badges */
.auth-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.auth-badge-ok {
  background: #E7F6EE;
  color: #1A9E5C;
}

.auth-badge-err {
  background: #FDECEC;
  color: #D9402A;
}

/* ---------- dashboard ---------- */
.dash-wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.dash-banner {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin: 0 0 18px;
}

.dash-banner-ok {
  background: #E7F6EE;
  color: #126C3E;
  border: 1px solid #BFE6CF;
}

.dash-banner-warn {
  background: #FEF6E7;
  color: #93600B;
  border: 1px solid #F6E2B8;
}

.dash-banner-error {
  background: #FDECEC;
  color: #B42318;
  border: 1px solid #F6C9C6;
}

/* ---------- dashboard: settings & subscription ---------- */
.dash-settings {
  margin-top: 36px;
}

.dash-settings-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .dash-settings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dash-panel {
  padding: 22px 22px 24px;
  border-radius: 16px;
}

.dash-panel-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.dash-panel-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.dash-panel-btn {
  width: auto;
  margin-top: 8px;
}

.btn-ghost-danger {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #B42318;
  background: #FDECEC;
  border: 1px solid #F6C9C6;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn-ghost-danger:hover {
  background: #FBD9D6;
  transform: translateY(-1px);
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.dash-title {
  font-family: "Montserrat Alternates", ui-sans-serif, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}

.dash-send {
  text-decoration: none;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.dash-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 40px -28px rgba(20, 30, 50, 0.3);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.dash-card-k {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 8px;
  font-weight: 600;
}

.dash-card-v {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-card-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.dash-card-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
}

.dash-h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}

/* ---------- dashboard: collapsible sections (native <details>) ---------- */
.dash-acc {
  margin-top: 18px;
}

/* The summary is a glossy, clearly-clickable header bar. */
.dash-acc-sum {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 15px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px -22px rgba(20, 30, 50, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-acc-sum::-webkit-details-marker {
  display: none;
}

.dash-acc-sum::marker {
  content: "";
}

/* Accent tick on the left edge - signals a section header. */
.dash-acc-sum::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(var(--accent-soft), var(--accent));
}

.dash-acc-sum .dash-h2 {
  margin: 0;
}

.dash-acc-sum:hover {
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.8));
  border-color: rgba(0, 140, 207, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -22px rgba(0, 140, 207, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dash-acc-sum:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Open state: accent-tinted so it reads as "active". */
.dash-acc[open] .dash-acc-sum {
  margin-bottom: 14px;
  border-color: rgba(0, 140, 207, 0.35);
  background: linear-gradient(180deg, rgba(233, 247, 253, 0.95), rgba(255, 255, 255, 0.82));
}

.dash-acc-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  background: rgba(20, 30, 50, 0.06);
  padding: 2px 9px;
  border-radius: 999px;
  line-height: 1.6;
}

/* Chevron in a circular chip so it clearly reads as a toggle. */
.dash-acc-chev {
  margin-left: auto;
  width: 30px;
  height: 30px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(0, 140, 207, 0.08);
  color: var(--accent-strong);
  flex: none;
  transition: transform 0.25s var(--ease), background 0.15s ease;
}

.dash-acc-sum:hover .dash-acc-chev {
  background: rgba(0, 140, 207, 0.16);
}

.dash-acc[open] .dash-acc-chev {
  transform: rotate(180deg);
  background: rgba(0, 140, 207, 0.16);
}

.dash-empty {
  padding: 44px 24px;
  border-radius: 18px;
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dash-empty p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.dash-table {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dash-tr {
  display: grid;
  grid-template-columns: 2.4fr 0.7fr 0.9fr 1fr 0.9fr 1fr 1.1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}

.dash-tr:last-child {
  border-bottom: 0;
}

.dash-tr-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.4);
}

.dash-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
}

.dash-name small {
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 12px;
}

.st-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.st-active {
  background: #E7F6EE;
  color: #157F49;
}

.st-expired {
  background: #F0F1F4;
  color: #8A8D98;
}

.st-pending {
  background: #FEF6E7;
  color: #93600B;
}

.dash-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.dash-copy,
.dash-open {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--acc-strong);
}

.dash-copy:hover,
.dash-open:hover {
  border-color: var(--acc);
}

.dash-muted {
  color: var(--ink-muted);
}

/* ---------- upgrade ---------- */
.upgrade-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 36px 34px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px -28px rgba(20, 30, 50, 0.35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  text-align: center;
}

.upgrade-head {
  margin-bottom: 20px;
}

.upgrade-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.upgrade-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.upgrade-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E7F6EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%231A9E5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.paypal-box {
  margin: 8px 0 12px;
  min-height: 50px;
}

.upgrade-fine {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 4px 0 0;
}

.upgrade-skip {
  margin: 14px 0 0;
  text-align: center;
}

.upgrade-skip a {
  font-size: 12.5px;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}

.upgrade-skip a:hover {
  color: var(--ink-soft);
  border-bottom-color: var(--line);
}

/* shared pro tag */
.pro-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  /* both ends >= 4.5:1 with white (the old #31A0D9 end was 2.9:1) */
  background: linear-gradient(135deg, #007CB8, #006FA6);
  color: #fff;
  letter-spacing: .02em;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }

  .dash-tr-head {
    display: none;
  }

  .dash-tr {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    padding: 16px 18px;
  }

  .dash-name {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .dash-tr span[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 600;
  }

  .dash-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 8px;
  }
}

/* ============================================================
   Dark mode overrides (account / dashboard pages)
   Must come after :root above so it wins the cascade.
   ============================================================ */
[data-theme="dark"] {
  --ink: #F4F4F6;
  --ink-soft: #B8BBC8;
  --ink-muted: #848592;
  --acc: #008CCF;
  --acc-strong: #31A0D9;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(39, 39, 42, 0.9);
}

[data-theme="dark"] .auth-card,
[data-theme="dark"] .upgrade-card {
  background: #27272A;
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .auth-field input,
[data-theme="dark"] .auth-field select,
[data-theme="dark"] .auth-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

[data-theme="dark"] .auth-field input::placeholder,
[data-theme="dark"] .auth-field textarea::placeholder {
  color: var(--ink-muted);
}

[data-theme="dark"] .auth-field input:focus,
[data-theme="dark"] .auth-field select:focus,
[data-theme="dark"] .auth-field textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 140, 207, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 140, 207, 0.14);
}

[data-theme="dark"] .auth-field input:disabled {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .logo-drop {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .logo-drop-preview {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .auth-alert-error {
  background: rgba(180, 35, 24, 0.15);
  border-color: rgba(180, 35, 24, 0.3);
  color: #F4827A;
}

[data-theme="dark"] .auth-alert-ok {
  background: rgba(26, 158, 92, 0.15);
  border-color: rgba(26, 158, 92, 0.3);
  color: #5BC991;
}

[data-theme="dark"] .auth-alert-warn {
  background: rgba(147, 96, 11, 0.15);
  border-color: rgba(147, 96, 11, 0.3);
  color: #D4A24E;
}

[data-theme="dark"] .dash-cards .dash-card,
[data-theme="dark"] .dash-empty,
[data-theme="dark"] .dash-table {
  background: #27272A;
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

[data-theme="dark"] .dash-acc-sum {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

[data-theme="dark"] .dash-acc-sum:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border-color: rgba(0, 140, 207, 0.4);
  box-shadow: none;
}

[data-theme="dark"] .dash-acc[open] .dash-acc-sum {
  background: linear-gradient(180deg, rgba(0, 140, 207, 0.12), rgba(0, 140, 207, 0.06));
  border-color: rgba(0, 140, 207, 0.3);
}

[data-theme="dark"] .dash-tr-head {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .dash-copy,
[data-theme="dark"] .dash-open {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #31A0D9;
}

[data-theme="dark"] .dash-copy:hover,
[data-theme="dark"] .dash-open:hover {
  border-color: var(--acc);
}

[data-theme="dark"] .st-active {
  background: rgba(26, 158, 92, 0.15);
  color: #5BC991;
}

[data-theme="dark"] .st-expired {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
}

[data-theme="dark"] .st-pending {
  background: rgba(147, 96, 11, 0.15);
  color: #D4A24E;
}

[data-theme="dark"] .dash-banner-ok {
  background: rgba(26, 158, 92, 0.15);
  color: #5BC991;
  border-color: rgba(26, 158, 92, 0.3);
}

[data-theme="dark"] .dash-banner-warn {
  background: rgba(147, 96, 11, 0.15);
  color: #D4A24E;
  border-color: rgba(147, 96, 11, 0.3);
}

[data-theme="dark"] .dash-banner-error {
  background: rgba(180, 35, 24, 0.15);
  color: #F4827A;
  border-color: rgba(180, 35, 24, 0.3);
}