:root {
  --bg: #f3eee2;
  --paper: rgba(255, 251, 245, 0.8);
  --ink: #1f2721;
  --muted: #5e675f;
  --accent: #0f766e;
  --accent-2: #cb7a1f;
  --line: rgba(31, 39, 33, 0.12);
  --shadow: 0 24px 55px rgba(31, 39, 33, 0.1);
  --app-bg: #18211d;
  --app-panel: rgba(246, 242, 232, 0.06);
  --app-line: rgba(241, 236, 224, 0.1);
  --app-text: #f7f3ea;
  --app-muted: #b7c0b9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(203, 122, 31, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.45), transparent 36%),
    linear-gradient(180deg, #fbf8f3, var(--bg));
}

.shell {
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-mark,
.topbar-links a {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.topbar-links a {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 10px;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.02;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 13ch;
}

h2 {
  font-size: 1.5rem;
}

.lede,
.muted,
.label {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-band {
  margin-bottom: 28px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.status-card,
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.status-card {
  display: grid;
  gap: 16px;
}

.feature-card p,
.status-card strong,
.muted {
  line-height: 1.5;
}

.quick-proof {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--muted);
  margin-bottom: 30px;
}

.quick-proof p {
  margin: 0;
}

.wide {
  grid-column: 1 / -1;
}

.hidden {
  display: none !important;
}

.stack {
  display: grid;
  gap: 12px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.96rem;
}

.inline {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

input,
select,
button,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(31, 39, 33, 0.16);
  background: rgba(255, 255, 255, 0.75);
  padding: 11px 13px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(94, 103, 95, 0.82);
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent), #155e75);
  color: white;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

button.secondary {
  background: linear-gradient(135deg, #52525b, #3f3f46);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent), #155e75);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.secondary-link {
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.app-hero {
  margin-top: 8px;
}

.console-grid {
  gap: 24px;
}

.single-panel-grid {
  grid-template-columns: 1fr;
}

#app-shell .highlight-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.03)),
    var(--app-panel);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.auth-copy {
  padding-top: 18px;
}

.auth-card {
  max-width: 520px;
  width: 100%;
}

.auth-feedback {
  min-height: 1.5em;
  margin: 10px 0 0;
}

.auth-feedback.error {
  color: #b42318;
}

.auth-feedback.success {
  color: #0f766e;
}

.auth-switch a {
  color: var(--accent);
}

#app-shell {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 24%),
    radial-gradient(circle at top left, rgba(203, 122, 31, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(15, 22, 19, 0.96), rgba(24, 33, 29, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(10, 14, 12, 0.2);
}

#app-shell .brand-mark,
#app-shell h1,
#app-shell h2,
#app-shell strong,
#app-shell .summary-item strong,
#app-shell .info-head h3,
#app-shell .detail-card h3 {
  color: var(--app-text);
}

#app-shell .topbar-links a,
#app-shell .lede,
#app-shell .muted,
#app-shell .label,
#app-shell label,
#app-shell .detail-note,
#app-shell .cell-stack span,
#app-shell .feed-time,
#app-shell .summary-text,
#app-shell .summary-risk,
#app-shell .info-head p,
#app-shell .note-list p,
#app-shell .subpanel p {
  color: var(--app-muted);
}

#app-shell .card,
#app-shell .status-card {
  background: var(--app-panel);
  border-color: var(--app-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#app-shell .metric,
#app-shell .detail-card,
#app-shell .table-shell,
#app-shell .summary-panel,
#app-shell .info-card,
#app-shell .feed-card,
#app-shell .empty-state {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

#app-shell .hero-list span,
#app-shell .meta-pill,
#app-shell .field-chip,
#app-shell .summary-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#app-shell input,
#app-shell select,
#app-shell textarea {
  color: var(--app-text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

#app-shell input::placeholder,
#app-shell textarea::placeholder {
  color: rgba(183, 192, 185, 0.78);
}

#app-shell .secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  color: var(--app-text);
}

#app-shell .topbar-links .secondary {
  border-radius: 999px;
  padding: 9px 14px;
}

#app-shell .topbar {
  justify-content: flex-end;
  margin-bottom: 16px;
}

#app-shell .topbar-links {
  gap: 10px;
}

#app-shell .nav-primary,
#app-shell .nav-secondary,
#app-shell .nav-utility {
  font-size: 0.9rem;
  padding: 9px 14px;
}

#app-shell .nav-primary {
  background: linear-gradient(135deg, #0f766e, #155e75);
  color: #fff;
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.22);
}

#app-shell .nav-secondary {
  background: transparent;
  color: var(--app-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#app-shell .nav-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

#app-shell .nav-utility {
  background: transparent;
  border: 0;
  color: var(--app-muted);
  padding-inline: 8px;
}

#app-shell .nav-utility:hover {
  color: var(--app-text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

#app-shell .nav-utility:focus-visible,
#app-shell .nav-secondary:focus-visible,
#app-shell .nav-primary:focus-visible,
.master-details-toggle:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.55);
  outline-offset: 2px;
}

#angel-form-panel.hidden {
  display: none;
}

.master-page {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
}

.master-page-header {
  display: grid;
  gap: 2px;
  margin-bottom: 4px;
}

.master-page h2 {
  margin-bottom: 0;
}

.master-page .muted {
  font-size: 0.95rem;
}

.master-summary-shell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.account-row-shell {
  width: 100%;
}

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  transition: background-color 140ms ease;
}

.account-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.account-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-cell strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-row-meta {
  display: inline-flex;
  align-items: center;
}

.account-row-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.danger-text-button {
  background: transparent;
  border: 1px solid rgba(248, 113, 113, 0.32);
  color: #fecaca;
  padding: 7px 12px;
  border-radius: 999px;
}

.danger-text-button:hover {
  background: rgba(248, 113, 113, 0.12);
  transform: none;
  box-shadow: none;
}

.master-details-toggle {
  min-height: 36px;
  border-radius: 10px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--app-text);
}

.master-details-toggle:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.09);
}

.details-label {
  font-size: 0.84rem;
  color: var(--app-muted);
}

.master-details-toggle .chevron-icon {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.master-details-toggle .chevron-icon.is-expanded {
  transform: rotate(180deg);
}

.account-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.account-details.is-expanded {
  grid-template-rows: 1fr;
}

.account-details-grid {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px;
}

.account-details.is-expanded .account-details-grid {
  padding: 0 14px 12px;
}

.account-detail-item {
  display: grid;
  gap: 2px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 10px;
}

.account-detail-item strong {
  font-size: 0.92rem;
}

.child-accounts-section {
  display: grid;
  gap: 10px;
}

.child-accounts-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.child-accounts-header h3 {
  margin: 0 0 2px;
  font-size: 1.2rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--app-text);
}

.child-accounts-header .muted {
  margin: 0;
  font-size: 0.92rem;
}

.child-cta-button {
  background: linear-gradient(135deg, #0f766e, #155e75);
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.2);
}

.child-empty-state {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 10px;
}

.child-empty-state h4 {
  margin: 0;
  color: var(--app-text);
  font-size: 1rem;
}

.child-empty-state p {
  margin: 0;
  color: var(--app-muted);
  max-width: 66ch;
  line-height: 1.5;
}

.child-empty-state .child-cta-button {
  justify-self: start;
}

.child-rows-list {
  display: grid;
  gap: 8px;
}

.child-account-row-shell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.child-account-row {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr) auto auto;
  align-items: center;
  gap: 10px;
  transition: background-color 140ms ease;
}

.child-account-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.child-account-cell {
  display: grid;
  gap: 2px;
}

.child-account-cell strong {
  color: var(--app-text);
  font-size: 0.92rem;
}

.child-row-toggle {
  justify-self: end;
  min-height: 34px;
  border-radius: 10px;
  padding: 7px 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--app-text);
}

.child-row-toggle:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.09);
}

.child-row-detail-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px 12px;
}

#child-form-panel {
  margin-top: 4px;
}

.master-form {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.master-raw-response {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.master-raw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.master-close-button {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--app-text);
}

.master-close-button:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.14);
}

.subpanel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

#app-shell .subpanel {
  color: var(--app-text);
}

.subpanel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.subpanel-head h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.subpanel-head p {
  margin: 0;
  color: inherit;
  line-height: 1.5;
}

.pricing-strip {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}

.pricing-strip span {
  display: block;
  border-left: 3px solid var(--accent-2);
  padding-left: 12px;
  color: var(--app-muted);
}

.table-form {
  margin-top: 8px;
}

.setup-table td {
  min-width: 140px;
}

.setup-table input,
.setup-table select {
  min-width: 140px;
}

.checkbox-cell {
  white-space: nowrap;
}

.compact-inline {
  gap: 8px;
}

.architecture-grid .info-card {
  min-height: 100%;
}

#app-shell .account-table th,
#app-shell .account-table td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

#app-shell .detail-row td {
  background: rgba(255, 255, 255, 0.03);
}

#app-shell pre {
  background: rgba(7, 11, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.child-empty {
  padding: 16px 0 4px;
  color: var(--muted);
}

.structured-output,
.summary-panel {
  margin-top: 18px;
}

.structured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.structured-stack {
  display: grid;
  gap: 14px;
}

.info-card,
.feed-card,
.summary-panel,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.info-head,
.feed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.info-head h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.info-head p,
.feed-copy {
  margin: 0;
  line-height: 1.5;
}

.field-list,
.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-list {
  margin-top: 14px;
}

.field-chip,
.meta-pill,
.summary-item {
  display: grid;
  gap: 3px;
  border-radius: 14px;
  padding: 10px 12px;
}

.meta-pill strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.note-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.note-list p {
  margin: 0;
  padding-left: 14px;
  position: relative;
}

.note-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-text,
.summary-risk {
  margin: 14px 0 0;
}

.summary-risk {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state {
  color: var(--muted);
}

.feed-time {
  font-size: 0.85rem;
  white-space: nowrap;
}

.raw-toggle {
  margin-top: 14px;
}

.raw-toggle summary {
  cursor: pointer;
  color: var(--accent-2);
}

.table-shell {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.account-table th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-table tbody tr:last-child td {
  border-bottom: 0;
}

.cell-stack {
  display: grid;
  gap: 4px;
}

.cell-stack strong {
  font-size: 0.98rem;
}

.cell-stack span {
  color: var(--muted);
  font-size: 0.88rem;
}

.row-actions {
  width: 1%;
  white-space: nowrap;
}

.inline-button {
  padding: 9px 14px;
  font-size: 0.92rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: capitalize;
  background: rgba(95, 102, 95, 0.12);
}

.status-approved,
.status-active,
.status-paid,
.status-authenticated,
.status-captured {
  background: rgba(15, 118, 110, 0.12);
  color: #0f5f58;
}

.status-pending,
.status-pending_payment {
  background: rgba(217, 119, 6, 0.12);
  color: #9a5a07;
}

.status-rejected,
.status-cancelled,
.status-failed {
  background: rgba(180, 35, 24, 0.12);
  color: #9a2419;
}

#app-shell .status-approved,
#app-shell .status-active,
#app-shell .status-paid,
#app-shell .status-authenticated,
#app-shell .status-captured {
  background: rgba(16, 185, 129, 0.2);
  color: #d1fae5;
}

#app-shell .status-pending,
#app-shell .status-pending_payment {
  background: rgba(245, 158, 11, 0.24);
  color: #fef3c7;
}

#app-shell .status-rejected,
#app-shell .status-cancelled,
#app-shell .status-failed {
  background: rgba(239, 68, 68, 0.22);
  color: #fee2e2;
}

.detail-row td {
  background: rgba(255, 255, 255, 0.24);
}

.detail-panel {
  display: grid;
  gap: 14px;
}

.detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.detail-card pre {
  min-height: 120px;
  max-height: 260px;
}

.detail-note {
  color: var(--muted);
  font-size: 0.9rem;
}

pre {
  margin: 0;
  min-height: 140px;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  border-radius: 16px;
  background: rgba(26, 32, 26, 0.94);
  color: #d8e1d6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .feature-band,
  .auth-layout,
  .structured-grid,
  .summary-grid,
  .signal-grid,
  .metrics,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  #app-shell {
    padding: 22px;
    border-radius: 28px;
  }

  .account-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .child-accounts-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .child-account-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .child-row-toggle {
    justify-self: start;
  }

  .account-row-actions {
    justify-self: start;
    width: 100%;
    justify-content: space-between;
  }

  .account-row-meta {
    justify-content: flex-start;
  }

  .account-details-grid {
    grid-template-columns: 1fr;
  }

  .account-table th,
  .account-table td {
    min-width: 140px;
  }
}
