/* kimibuilt bundle style safety net */
:root {
  --kb-bg: #f5f7fb;
  --kb-surface: #ffffff;
  --kb-panel: #eef3f8;
  --kb-text: #172033;
  --kb-muted: #5d6b7f;
  --kb-accent: #2563eb;
  --kb-accent-2: #0f766e;
  --kb-border: #d8e0ea;
  --kb-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--kb-bg); }
body {
  margin: 0;
  color: var(--kb-text);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(245,247,251,0.95)), var(--kb-bg);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}
body > header, body > main, body > section, body > article, body > footer {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
body > main, body > article { padding: 32px 0 64px; }
header, .hero, [data-dashboard-zone="hero"] { padding: 36px 0 24px; }
h1, h2, h3 { color: #0f172a; line-height: 1.06; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4.4rem); margin: 0 0 16px; max-width: 13ch; }
h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); margin: 0 0 14px; }
h3 { font-size: 1.08rem; margin: 0 0 10px; }
p { color: var(--kb-muted); margin: 0 0 14px; }
a { color: var(--kb-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 22px; }
nav a, button, .button, [role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--kb-border);
  border-radius: 8px;
  background: var(--kb-surface);
  color: var(--kb-text);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
button, .button, [role="button"] {
  background: var(--kb-accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}
section, article, aside, .card, .panel, .tile, .widget, .metric, .kpi, [data-dashboard-zone] {
  border: 1px solid var(--kb-border);
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  box-shadow: var(--kb-shadow);
  padding: 22px;
  margin: 0 0 18px;
}
header section, main section section, article section section { box-shadow: none; }
.grid, .cards, .dashboard-grid, .metrics, .kpis, [data-dashboard-zone="kpi-rail"], [data-dashboard-zone="chart-grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
  background: var(--kb-surface);
}
th, td { border-bottom: 1px solid var(--kb-border); padding: 10px 12px; text-align: left; vertical-align: top; }
th { color: #0f172a; background: var(--kb-panel); font-weight: 750; }
input, select, textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--kb-border);
  border-radius: 8px;
  padding: 9px 11px;
  background: #ffffff;
  color: var(--kb-text);
  font: inherit;
}
img, video, canvas, svg { max-width: 100%; height: auto; }
img { border-radius: 12px; display: block; }
pre {
  overflow: auto;
  padding: 14px;
  border-radius: 10px;
  background: #111827;
  color: #e5e7eb;
}
@media (max-width: 720px) {
  body > header, body > main, body > section, body > article, body > footer { width: min(100% - 24px, 1120px); }
  section, article, aside, .card, .panel, .tile, .widget, .metric, .kpi, [data-dashboard-zone] { padding: 16px; }
  nav { align-items: stretch; }
}
