/* Toss-inspired business UI using OmD reference tokens; independent of Toss. */
@media screen {
  :root {
    --bg: #f2f4f6; --panel: #fff; --panel-strong: #f9fafb;
    --text: #191f28; --nav: #333d4b; --muted: #6b7684;
    --line: #e5e8eb; --blue: #3182f6; --teal: #168575;
    --red: #e42939; --shadow: none;
  }
  body { min-width: 760px; background: var(--bg); font-size: 14px; line-height: 1.6; }
  .app-shell { grid-template-columns: 232px minmax(0, 1fr); }
  .sidebar {
    padding: 24px 16px 16px; background: #fff; border-right: 1px solid #e5e8eb;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow-y: auto;
  }
  .brand { gap: 12px; margin-bottom: 24px; }
  .brand strong { color: #191f28; font-size: 18px; }
  .brand small { color: #6b7684; font-size: 12px; }
  .nav-list { gap: 4px; align-content: start; grid-auto-rows: min-content; }
  .nav-list button {
    min-height: 44px; padding: 11px 12px; font-size: 14px;
    border: 0; border-radius: 8px; color: #4e5968; background: transparent; box-shadow: none;
  }
  .nav-list button:hover { background: #f2f4f6; color: #191f28; }
  .nav-list button.active { background: #e8f3ff; color: #1b64da; box-shadow: none; font-weight: 800; }
  .topbar {
    align-items: center; padding: 20px 0; margin: 0 0 12px; border: 0;
    background: transparent; box-shadow: none; border-radius: 0; backdrop-filter: none;
  }
  .topbar h1 { font-size: 28px; line-height: 1.35; color: #191f28; }
  .eyebrow { color: #6b7684; font-size: 11px; }
  .top-actions { gap: 10px; }
  .top-actions label { font-size: 12px; color: #4e5968; }
  button, .file-button {
    min-height: 40px; padding: 0 14px; color: #4e5968; background: #fff;
    border: 1px solid #e5e8eb; border-radius: 8px; box-shadow: none;
    transition: background 140ms ease, color 140ms ease;
  }
  button:hover, .file-button:hover { background: #f2f4f6; border-color: #d1d6db; }
  .primary-button { color: #fff; background: #3182f6; border-color: #3182f6; }
  .primary-button:hover { color: #fff; background: #2272eb; border-color: #2272eb; }
  button:disabled { opacity: .45; cursor: not-allowed; }
  button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #3182f6; outline-offset: 3px;
  }
  input, select, textarea {
    color: #333d4b; background: #fff; border-color: #d1d6db; border-radius: 8px;
    min-height: 40px;
  }
  .panel, .metric-card, .person-card, .coach-card, .rank-card, .graph-card,
  .forecast-card, .health-item, .brief-line {
    background: #fff; border-color: #e5e8eb; border-radius: 8px; box-shadow: none;
  }
  .section.view-section { background: transparent; border: 0; box-shadow: none; }
  .panel { padding: 22px; }
  .panel-title h3 { color: #333d4b; font-size: 17px; }
  .panel-title span { color: #6b7684; font-size: 12px; }
  .metric-card { padding: 18px; }
  .metric-card strong { color: #191f28; font-variant-numeric: tabular-nums; }
  .chart-kpi-strip span { background: #f9fafb; color: #6b7684; }
  .chart-kpi-strip strong { color: #333d4b; }
  thead th { background: #f9fafb; color: #6b7684; font-weight: 600; }
  tbody td { color: #333d4b; font-variant-numeric: tabular-nums; }
  tbody tr:hover { background: #f9fafb; }
  .report-paper { background: #fff; }
  .admin-login-panel { border-top: 1px solid #e5e8eb; padding-top: 14px; }
  .capture-button { color: #1b64da; background: #e8f3ff; border-color: transparent; }
  .capture-button:hover:not(:disabled) { background: #d9eaff; }
  @media (max-width: 1100px) {
    .app-shell { grid-template-columns: 196px minmax(0, 1fr); }
    .sidebar { padding: 20px 10px; }
    .topbar { align-items: flex-start; flex-direction: column; gap: 16px; }
    .top-actions { width: 100%; justify-content: flex-start; }
    .panel { padding: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  }
}
