/* UI refresh for App3 staging. Safe CSS-only styling. */
:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--blue); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; }

h2 { font-size: 34px; letter-spacing: -0.04em; margin-bottom: 8px; }
h3 { font-size: 22px; letter-spacing: -0.03em; }

button {
  border: none !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  background: var(--blue) !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}
button:hover { background: var(--blue-dark) !important; }
button:active { transform: translateY(1px); }

.dash-tabs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.tab {
  padding: 24px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  background: white !important;
  border: none !important;
}

.tab--selected {
  color: var(--blue) !important;
  background: #eff6ff !important;
  border-top: 4px solid var(--blue) !important;
}

.dash-table-container {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.dash-spreadsheet-container th { background: #f8fafc !important; font-weight: 800 !important; }
.dash-spreadsheet-container td { font-size: 13px !important; }
details { box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }
