placeholder
/* =========================================================
   I Connect SSC Bamboo - PHP MySQL System
   Design tokens
   ========================================================= */
:root {
  --green-950: #0f172a;
  --green-900: #1e293b;
  --green-800: #3b82f6;
  --green-700: #60a5fa;
  --green-600: #93c5fd;
  --green-500: #bfdbfe;
  --green-200: #dbeafe;
  --green-100: #eff8ff;
  --green-50: #f8fafc;
  --gold-600: #f59e0b;
  --gold-500: #eab308;
  --gold-400: #fcd34d;
  --gold-100: #fdf0e5;
  --cream: #faf8f6;
  --cream-dark: #e2dcd4;
  --paper: #f8fafc;
  --ink: #1e293b;
  --ink-soft: #64748b;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --line-dark: #cbd5e1;
  --red-700: #ef4444;
  --red-600: #f87171;
  --red-100: #fecaca;
  --amber-700: #f59e0b;
  --amber-100: #fcd34d;
  --blue-700: #3b82f6;
  --blue-100: #bfdbfe;
  --purple-700: #a78bfa;
  --purple-100: #e9d8fd;
  --shadow-sm: 0 1px 2px rgba(30,41,59,0.04), 0 4px 14px rgba(30,41,59,0.035);
  --shadow-md: 0 2px 4px rgba(30,41,59,0.04), 0 14px 38px rgba(30,41,59,0.08);
  --shadow-lg: 0 30px 80px rgba(15,23,42,0.22);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --background: var(--paper);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, input, select, textarea { font-family: var(--font-sans); font-size: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
/* =========================================================
   App shell
   ========================================================= */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  background: var(--green-950);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 32px; height: 32px; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.75rem; color: var(--gold-300); text-transform: uppercase; letter-spacing: 0.12em; }
.topbar-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: #e8eadf;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.btn-logout {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 8px;
}
.btn-logout:hover { background: rgba(255,255,255,0.2); }
.page-content {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
}
.app-footer {
  background: var(--cream-dark);
  color: var(--muted);
  text-align: center;
  padding: 16px 24px;
  font-size: 0.75rem;
  border-top: 1px solid var(--line);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex-shrink: 0; }
::selection { color: var(--green-950); background: var(--gold-100); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* =========================================================
   Utilities
   ========================================================= */
.page-stack { display: flex; flex-direction: column; gap: 20px; animation: page-enter 0.35s ease both; }
@keyframes page-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  margin-bottom: 8px;
  color: var(--gold-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.text-muted { color: var(--muted); font-size: 0.85rem; }
.mono { font-family: "Cascadia Code", Consolas, monospace; }
/* =========================================================
   Alerts
   ========================================================= */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert-success { background: var(--green-50); color: var(--green-800); border-color: var(--green-100); }
.alert-error { background: var(--red-100); color: var(--red-700); border-color: #f4c9c2; }
.alert-info { background: var(--blue-100); color: var(--blue-700); border-color: #d2e4ef; }
/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-pad { padding: 24px; }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.card-header-inline { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.card-kicker { color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.card-header-icon { color: var(--muted-light); }
/* =========================================================
/* =========================================================
    Badge colors - Corporate professional palette
    ========================================================= */
:root {
  --badge-open: var(--amber-700);
  --badge-in_progress: var(--blue-700);
  --badge-resolved: var(--success);
  --badge-closed: var(--muted);
  --badge-reported: var(--red-700);
  --badge-under_review: var(--amber-700);
  --badge-dismissed: var(--muted);
  --badge-active: var(--green-700);
  --badge-inactive: var(--muted);
  --badge-graduated: var(--purple-700);
  --badge-minor: var(--green-700);
  --badge-major: var(--amber-700);
  --badge-severe: var(--red-700);
  --badge-low: var(--muted);
  --badge-medium: var(--amber-700);
  --badge-high: var(--red-700);
  --badge-urgent: var(--red-700);
}

/* =========================================================
    Donut charts - Corporate professional styles
    ========================================================= */
.donut-wrap {
  position: relative;
  width: 160px;
  height: 160px;
}
.donut {
  position: absolute;
  inset: 0;
  margin: auto;
  clip: rect(0px, 160px, 160px, 0px);
}
.donut-hole {
  position: absolute;
  width: 80px;
  height: 80px;
  margin: auto;
  top: 0; bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  z-index: 2;
}
.donut-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}
.donut-legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================
    Cards
    ========================================================= */
.card {
   Stat cards
   ========================================================= */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stat-icon-green { background: var(--green-100); color: var(--green-700); }
.stat-icon-blue { background: var(--blue-100); color: var(--blue-700); }
.stat-icon-amber { background: var(--amber-100); color: var(--amber-700); }
.stat-icon-red { background: var(--red-100); color: var(--red-700); }
.stat-copy span { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.stat-copy strong { font-size: 1.5rem; font-weight: 700; }
.stat-copy small { color: var(--muted-light); font-size: 0.7rem; }