/* Compat wrapper para o framework legado. */
@import url('./tokens.css');
@import url('./m3-atoms.css');

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--boot-body-bg, #f1f5f9);
  color: #0f172a;
}

body.boot-theme-escolaflow {
  --boot-body-bg: #eef3fb;
  --boot-card-border: #dbe7ff;
}

#app-root {
  min-height: 100vh;
}

.boot-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  gap: 10px;
}

.boot-card {
  max-width: 540px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--boot-card-border, #cbd5e1);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.boot-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.boot-text {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.boot-error {
  color: #b91c1c;
  margin-top: 10px;
  white-space: pre-wrap;
  text-align: left;
}


/* Global UI kit: reutilizável em todos os apps */
.app-metric-card{border-radius:12px;border-color:#dbe4f0;background:#fff;}
.app-metric-card .MuiCardContent-root{padding:12px!important;display:grid;gap:4px;}
.app-metric-card__label{font-size:11px!important;font-weight:800!important;color:#64748b;text-transform:uppercase;letter-spacing:.06em;}
.app-metric-card__value{font-size:24px!important;font-weight:900!important;color:#0f172a;line-height:1.1;}
.app-metric-card__helper{font-size:11px!important;color:#334155;}
.app-section-card{border-radius:14px!important;border-color:#dbe4f0!important;background:#fff;}
.app-section-card__content{display:grid;gap:12px;padding:14px!important;}
.app-section-card__title{font-size:13px!important;font-weight:800!important;color:#0f172a;}
.app-section-card__subtitle{font-size:11px!important;color:#64748b;}
