
:root {
  --bg: #f5f2ed;
  --surface: #ffffff;
  --surface-2: #f8f5f1;
  --surface-3: #fff9f4;
  --text: #17212b;
  --muted: #6b7280;
  --border: #ece4da;
  --accent: #c56a2d;
  --accent-dark: #a9541e;
  --accent-soft: rgba(197, 106, 45, 0.10);
  --success: #1f8f55;
  --danger: #c24141;
  --dark-chip: #273240;
  --shadow-sm: 0 8px 22px rgba(23, 33, 43, 0.05);
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(197,106,45,0.08), transparent 26%),
    linear-gradient(180deg, #f8f5f1 0%, #f3eee7 100%);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.app-shell-inner {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(252, 250, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(236, 228, 218, 0.8);
  z-index: 1020;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #bf6a2f, #e3a05f);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(197, 106, 45, 0.24);
}

.brand-mark span,
.auth-mark span {
  display: inline-block;
}

.brand-logo-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.brand-mark.has-logo,
.auth-mark.has-logo {
  background: var(--surface);
  padding: 0.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  min-width: 0;
}

.brand-subtext {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.eyebrow {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.app-title {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-badge {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.status-badge.online { background: rgba(31,143,85,0.10); color: var(--success); border-color: rgba(31,143,85,0.16); }
.status-badge.offline { background: rgba(194,65,65,0.10); color: var(--danger); border-color: rgba(194,65,65,0.16); }

body.logged-out .topbar {
  display: none;
}

.auth-wrap {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 430px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.auth-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, white));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 18px 34px rgba(197,106,45,0.25);
}

.card, .welcome-strip {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.hero-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,249,244,0.96));
  overflow: hidden;
}
.hero-title {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
}
.hero-text {
  max-width: 730px;
  color: var(--muted);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-badge,
.mini-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  color: var(--dark-chip);
}
.welcome-strip {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,245,241,0.95));
}
.welcome-name {
  font-size: 1rem;
}

.metric-card { overflow: hidden; }
.metric-card .card-body { padding: 1rem; }
.metric-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.metric-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--accent-dark);
  font-size: 1rem;
}
.metric-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0;
}
.metric-value {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.tone-warm { background: linear-gradient(135deg, rgba(255,250,245,1), rgba(252,238,226,1)); }
.tone-neutral { background: linear-gradient(135deg, rgba(255,255,255,1), rgba(246,245,243,1)); }
.tone-cool { background: linear-gradient(135deg, rgba(247,250,252,1), rgba(237,244,248,1)); }
.tone-soft { background: linear-gradient(135deg, rgba(250,248,244,1), rgba(244,239,232,1)); }

.section-nav {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.nav-pill {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(23,33,43,0.02);
}
.nav-pill.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.quick-btn {
  min-height: 54px;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: none;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.section-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}
.chart-wrap {
  min-height: 280px;
  position: relative;
}

.recent-expense-feed {
  display: grid;
  gap: 0.85rem;
}

.recent-expense-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #fcfaf7);
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.05);
}

.recent-expense-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.recent-expense-meta {
  min-width: 0;
}

.recent-expense-item {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  word-break: break-word;
}

.recent-expense-sub {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.recent-expense-amount {
  flex: 0 0 auto;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.recent-expense-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.recent-stat {
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.7rem 0.75rem;
}

.recent-stat-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.recent-stat-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  word-break: break-word;
}

.recent-empty {
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.75);
}

.data-table-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.report-table-wrap { max-height: 360px; }

.btn {
  border-radius: 14px;
  font-weight: 700;
}
.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-focus-shadow-rgb: 197,106,45;
}
.btn-outline-dark {
  --bs-btn-color: #1f2937;
  --bs-btn-border-color: #d7cec3;
  --bs-btn-hover-bg: #1f2937;
  --bs-btn-hover-border-color: #1f2937;
}
.btn-outline-secondary {
  --bs-btn-border-color: #d9d4cd;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #425061;
}
.form-control, .form-select {
  border-radius: 14px;
  border-color: var(--border);
  min-height: 48px;
  box-shadow: none !important;
  background: #fff;
}
.form-control::placeholder { color: #9aa3af; }
.form-control:focus, .form-select:focus {
  border-color: rgba(197, 106, 45, 0.45);
}

.table-professional { margin-bottom: 0; }
.table-professional > :not(caption) > * > * {
  padding: 0.95rem 0.85rem;
  border-bottom-color: var(--border);
  vertical-align: middle;
  background: #fff;
}
.table-professional thead th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  background: #fcfbfa;
}
.table-professional tbody tr:hover td {
  background: #fcfaf7;
}
.table-professional td.text-end .btn,
.table-professional td:last-child .btn {
  white-space: nowrap;
}

.sync-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e2954a);
  color: white;
  box-shadow: 0 16px 40px rgba(197, 106, 45, 0.35);
  z-index: 1060;
  display: grid;
  place-items: center;
}
.sync-fab .sync-icon {
  font-size: 1.45rem;
  font-weight: 700;
}
.sync-fab.syncing .sync-icon {
  animation: spin 0.9s linear infinite;
}
.sync-fab.success { background: linear-gradient(135deg, #1f8f55, #43b37a); }
.sync-fab.failed { background: linear-gradient(135deg, #c24141, #dc6a6a); }

.toast {
  border-radius: 14px;
  background: #1f2937;
  color: white;
  box-shadow: var(--shadow);
}

.badge-soft {
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 0.75rem;
}

.modal-content {
  border-radius: 22px;
}
.modal-header, .modal-footer {
  border-color: var(--border);
}

.list-group-item {
  border-color: var(--border);
}

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

@media (min-width: 992px) {
  main.container-fluid {
    padding-left: 1.4rem !important;
    padding-right: 1.4rem !important;
  }
}

@media (max-width: 991.98px) {
  .quick-actions-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 767.98px) {
  .topbar {
    padding: 0.8rem 0.85rem;
    align-items: center;
  }
  .topbar-brand {
    gap: 0.7rem;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }
  .topbar-actions {
    width: auto;
    justify-content: flex-end;
  }
  .auth-wrap {
    min-height: 100vh;
    padding-block: 1.5rem;
  }
  .hero-card .card-body,
  .card .card-body {
    padding: 1rem !important;
  }
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  .nav-pill {
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
  }
  .metric-card .card-body {
    padding: 0.9rem;
  }
  .metric-icon {
    width: 36px;
    height: 36px;
  }
  .data-table-wrap {
    border: 0;
    overflow: visible;
    background: transparent;
  }
  .table-professional,
  .table-professional thead,
  .table-professional tbody,
  .table-professional th,
  .table-professional td,
  .table-professional tr {
    display: block;
    width: 100%;
  }
  .table-professional thead {
    display: none;
  }
  .table-professional tbody tr {
    margin-bottom: 0.85rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .table-professional tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    text-align: right !important;
    border-bottom: 1px solid #f1ebe4;
  }
  .table-professional tbody td:last-child {
    border-bottom: 0;
  }
  .table-professional tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    flex: 0 0 42%;
  }
  .table-professional tbody td > div.d-inline-flex {
    justify-content: flex-end;
    width: 100%;
    flex-wrap: wrap;
  }
  .table-professional .empty-state {
    display: block;
    text-align: center !important;
  }
  .table-professional .empty-state::before {
    content: none;
  }
  .recent-expense-card {
    padding: 0.9rem;
  }
  .recent-expense-top {
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
  }
  .recent-expense-amount {
    text-align: left;
    font-size: 1.25rem;
  }
  .recent-expense-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .recent-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
  }
  .recent-stat-label {
    margin-bottom: 0;
  }
  .recent-stat-value {
    text-align: right;
    max-width: 62%;
  }
  .sync-fab {
    width: 56px;
    height: 56px;
    right: 0.85rem;
    bottom: 0.85rem;
  }
  .toast-container {
    width: calc(100% - 1.25rem);
    left: 50% !important;
    transform: translateX(-50%);
  }
}


.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.category-summary-grid {
  display: grid;
  gap: 0.85rem;
}

.category-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  color: #1f2937;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 10px 26px rgba(23,33,43,0.05);
}

.category-summary-item:nth-child(1) { background: linear-gradient(135deg, #fff4eb, #ffe2c9); }
.category-summary-item:nth-child(2) { background: linear-gradient(135deg, #f2f8ff, #dcecff); }
.category-summary-item:nth-child(3) { background: linear-gradient(135deg, #f3fff7, #daf5e5); }
.category-summary-item:nth-child(4) { background: linear-gradient(135deg, #fff8ef, #ffeacc); }
.category-summary-item:nth-child(5) { background: linear-gradient(135deg, #f7f3ff, #e8defc); }
.category-summary-item:nth-child(6) { background: linear-gradient(135deg, #f8fafc, #e8edf3); }

.category-summary-main {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.category-summary-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.72);
  color: var(--accent-dark);
  font-size: 1rem;
  flex: 0 0 42px;
}

.category-summary-name {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.category-summary-note {
  color: #5b6777;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.category-summary-amount {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.category-summary-empty {
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .topbar-actions {
    gap: 0.5rem;
  }
  .category-summary-item {
    padding: 0.9rem;
    align-items: flex-start;
    flex-direction: column;
  }
  .category-summary-main {
    width: 100%;
  }
  .category-summary-amount {
    width: 100%;
    padding-left: 3.05rem;
  }
}


.report-filter-card {
  background: linear-gradient(135deg, #ffffff 0%, #fcfaf7 100%);
}
.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.report-main-title {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 800;
}
.report-subtitle {
  color: var(--muted);
  max-width: 620px;
}
.report-header-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.report-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.report-preset-btn {
  border-radius: 12px;
  min-height: 46px;
  font-weight: 700;
}
.report-stat-card {
  overflow: hidden;
  position: relative;
}
.report-stat-card::after {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}
.report-stat-total { background: linear-gradient(135deg, #fff5ea 0%, #fde7d3 100%); }
.report-stat-average { background: linear-gradient(135deg, #edf6ff 0%, #dcecff 100%); }
.report-stat-top-category { background: linear-gradient(135deg, #eefcf4 0%, #dff6e9 100%); }
.report-stat-top-user { background: linear-gradient(135deg, #f7efff 0%, #ebe0ff 100%); }
.report-metric-value {
  font-size: clamp(1.2rem, 3.3vw, 1.8rem);
}
.report-highlight-text {
  font-size: 1rem;
  font-weight: 800;
}
.report-highlight-amount {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.report-overview-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
}
.report-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.report-insight-chip {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #fff;
}
.report-insight-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.report-breakdown-list {
  display: grid;
  gap: 0.75rem;
}
.report-breakdown-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #fff;
}
.report-breakdown-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.report-breakdown-name {
  font-weight: 700;
}
.report-breakdown-amount {
  font-weight: 800;
}
.report-breakdown-bar {
  height: 8px;
  border-radius: 999px;
  background: #f0ebe4;
  overflow: hidden;
}
.report-breakdown-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #e6a266);
}
.report-empty-state {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff7ef;
  border: 1px dashed rgba(197,106,45,0.35);
  color: var(--muted);
}
.report-table-modern tbody tr:last-child td {
  border-bottom: 0;
}
.report-row-label {
  font-weight: 700;
}
.report-row-sub {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.78rem;
}
@media (max-width: 767.98px) {
  .report-header {
    flex-direction: column;
  }
  .report-header-actions {
    width: 100%;
  }
  .report-header-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
  }
  .report-insights-grid {
    grid-template-columns: 1fr;
  }
  .report-table-wrap {
    max-height: none;
  }
}


.report-footer-note {
  padding: 0.35rem 0.2rem 0;
}

.report-stat-sales { background: linear-gradient(135deg, #eefcf4 0%, #dff6e9 100%); }
.report-stat-expenses { background: linear-gradient(135deg, #fff5ea 0%, #fde7d3 100%); }
.report-stat-profit { background: linear-gradient(135deg, #edf3ff 0%, #dce8ff 100%); }
.report-stat-active-days { background: linear-gradient(135deg, #f7efff 0%, #ebe0ff 100%); }
.report-stat-best-sales { background: linear-gradient(135deg, #eefcf4 0%, #d9f8e4 100%); }
.report-stat-highest-expense { background: linear-gradient(135deg, #fff5ea 0%, #fbdcc2 100%); }
.report-stat-best-profit { background: linear-gradient(135deg, #eaf7ff 0%, #dcecff 100%); }
.report-stat-worst-profit { background: linear-gradient(135deg, #fff1f1 0%, #ffdede 100%); }
.report-insights-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.report-table-modern tfoot th {
  background: #faf6f0;
  font-weight: 800;
  border-top: 1px solid var(--border);
}
@media (max-width: 767.98px) {
  .report-insights-grid-compact {
    grid-template-columns: 1fr;
  }
}


.report-table-modern tbody td {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .report-table-modern tbody td {
    white-space: normal;
  }

  .report-table-modern tfoot,
  .report-table-modern tfoot tr,
  .report-table-modern tfoot th {
    display: none;
  }

  .report-table-modern tbody td::before {
    flex: 0 0 36%;
  }

  .report-breakdown-top {
    align-items: flex-start;
  }
}

.settings-actions .btn {
  min-width: 140px;
}

.settings-diagnostic-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1rem;
}

.settings-diagnostic-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.settings-diagnostic-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}

.settings-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
}
