:root {
  --dinamo-red: #d4001f;
  --dinamo-red-dark: #7f0014;
  --dinamo-red-deep: #3a0008;
  --dinamo-black: #0a0a0a;
  --dinamo-graphite: #1a1a1a;
  --dinamo-ink: #111111;
  --dinamo-bone: #fafafa;
  --dinamo-mute: #6b7280;
  --dinamo-line: rgba(255,255,255,0.08);
  --dinamo-line-soft: rgba(0,0,0,0.08);
  --dinamo-card: #ffffff;
  --dinamo-card-soft: #fbf7f7;
  --dinamo-shadow: 0 30px 60px -25px rgba(0,0,0,0.45);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dinamo-ink);
  color: var(--dinamo-bone);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* Topbar */
.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.app-mobile { display: none; }

.sidebar {
  background: linear-gradient(180deg, #0a0a0a 0%, #140a0a 100%);
  border-right: 1px solid var(--dinamo-line);
  padding: 22px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 18px 6px;
  border-bottom: 1px solid var(--dinamo-line);
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--dinamo-red), var(--dinamo-red-dark));
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 22px;
  box-shadow: 0 12px 24px -12px rgba(212,0,31,0.8);
  border: 1px solid rgba(255,255,255,0.08);
}
.brand-text, .brand > div:not(.brand-mark) { line-height: 1.1; min-width: 0; }
.brand-text b, .brand > div:not(.brand-mark) b { display: block; font-size: 16px; letter-spacing: 0.02em; }
.brand-text span, .brand > div:not(.brand-mark) span { display: block; font-size: 11px; color: #c8a3a8; text-transform: uppercase; letter-spacing: 0.24em; margin-top: 3px; }

.nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.nav a, .sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav a .ico, .sidebar nav a .ico { width: 22px; height: 22px; display: grid; place-items: center; color: #c2c2c2; }
.nav a:hover, .sidebar nav a:hover { background: rgba(255,255,255,0.04); }
.nav a.active, .sidebar nav a.active {
  background: linear-gradient(135deg, rgba(212,0,31,0.18), rgba(127,0,20,0.1));
  border-color: rgba(212,0,31,0.45);
  color: #fff;
}
.nav a.active .ico, .sidebar nav a.active .ico { color: var(--dinamo-red); }

.sidebar-footer { margin-top: auto; color: #6b7280; font-size: 12px; }
.sidebar-footer b { color: #f3f4f6; }

.main { padding: 28px 32px 60px; max-width: 100%; overflow-x: hidden; }
.page-head {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; padding: 14px 18px;
  background: #fff; color: #0a0a0a;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px -22px rgba(0,0,0,0.35);
  border: 1px solid var(--dinamo-line-soft);
}
.topbar h2 { margin: 0; font-size: 18px; font-weight: 900; }
.topbar .crumb { margin: 0; font-size: 11px; color: var(--dinamo-mute); text-transform: uppercase; letter-spacing: 0.25em; font-weight: 800; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #f3f4f6; color: #111827; font-size: 12px; font-weight: 700; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--dinamo-red), var(--dinamo-red-dark)); border: 2px solid #fff; box-shadow: 0 8px 18px -10px rgba(212,0,31,0.6); }
.page-head .eyebrow { text-transform: uppercase; letter-spacing: 0.3em; color: #fca5a5; font-size: 11px; font-weight: 800; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); margin: 4px 0 0; line-height: 1.1; font-weight: 900; }
.page-head p { color: #c2c2c2; max-width: 640px; margin: 8px 0 0; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Hero / banner */
.hero {
  position: relative;
  background: linear-gradient(135deg, #d4001f 0%, #7f0014 55%, #050505 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  overflow: hidden;
  box-shadow: var(--dinamo-shadow);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.hero::after {
  content: "D";
  position: absolute;
  right: -20px; bottom: -80px;
  font-size: 320px; font-weight: 900; color: rgba(255,255,255,0.05);
  line-height: 1; pointer-events: none; user-select: none;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 4px 0 8px; line-height: 1.05; }
.hero p { color: #fecaca; max-width: 540px; }
.hero .actions { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero .meta { display: flex; gap: 16px; margin-top: 24px; color: #fecaca; font-size: 13px; flex-wrap: wrap; }
.hero .meta span b { color: #fff; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-stat { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 14px; }
.hero-stat p { margin: 0; font-size: 11px; color: #fecaca; text-transform: uppercase; letter-spacing: 0.25em; }
.hero-stat b { display: block; font-size: 28px; margin-top: 4px; }

/* Cards & grids */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.kpi {
  background: #fff; color: #0a0a0a;
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--dinamo-line-soft);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.25);
  position: relative; overflow: hidden;
}
.kpi::before { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(212,0,31,0.18), transparent 60%); }
.kpi p { margin: 0; font-size: 12px; color: var(--dinamo-mute); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; }
.kpi b { display: block; font-size: 36px; margin-top: 6px; }
.kpi small { display: block; margin-top: 8px; color: var(--dinamo-mute); }
.kpi .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: #fee2e2; color: #991b1b; font-size: 12px; font-weight: 700; margin-top: 8px; }
.kpi .pill.green { background: #dcfce7; color: #166534; }
.kpi .pill.blue { background: #dbeafe; color: #1e40af; }
.kpi .pill.dark { background: #111; color: #fff; }

.section { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 24px; }
.section.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.section.split { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--dinamo-card);
  color: #0a0a0a;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dinamo-line-soft);
  overflow: hidden;
  box-shadow: 0 20px 40px -25px rgba(0,0,0,0.35);
}
.card.dark { background: #0a0a0a; color: #f5f5f5; border: 1px solid var(--dinamo-line); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--dinamo-line-soft); }
.card-head h2 { font-size: 18px; margin: 0; font-weight: 900; }
.card-head .pill { background: #fee2e2; color: #991b1b; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.card-body { padding: 20px; }
.card.dark .card-head { border-color: var(--dinamo-line); }
.card.dark .card-head h2 { color: #fff; }
.card.dark .card-body { color: #e5e7eb; }

.bullet-list { list-style: none; margin: 0; padding: 0; }
.bullet-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--dinamo-line-soft); }
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list a { color: inherit; }
.bullet-list a b { font-weight: 800; }
.bullet-list .meta { color: var(--dinamo-mute); font-size: 12px; margin-top: 2px; }

.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--dinamo-mute); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 999px; background: var(--dinamo-red); display: inline-block; }
.legend i.green { background: #16a34a; }
.legend i.blue { background: #2563eb; }
.legend i.amber { background: #f59e0b; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--dinamo-red), var(--dinamo-red-dark)); color: #fff; box-shadow: 0 12px 24px -16px rgba(212,0,31,0.9); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(212,0,31,1); }
.btn-light { background: #fff; color: #0a0a0a; }
.btn-light:hover { background: #f3f4f6; }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.12); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: #0a0a0a; color: #fff; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.kpi { transition: transform .2s ease, box-shadow .2s ease; }
.kpi:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px rgba(212,0,31,0.4); }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { box-shadow: 0 30px 50px -25px rgba(0,0,0,0.45); }
.bullet-list li a { transition: color .12s ease; }
.bullet-list li a:hover b { color: var(--dinamo-red); }
.nav a, .sidebar nav a { transition: background .15s ease, color .15s ease, transform .15s ease; }
.nav a:hover, .sidebar nav a:hover { transform: translateX(2px); }
.tag { transition: transform .12s ease; }
.tag:hover { transform: translateY(-1px); }

/* Tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; color: #0a0a0a; }
table.t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dinamo-mute); background: #f7f7f7; padding: 14px 16px; border-bottom: 1px solid var(--dinamo-line-soft); }
table.t td { padding: 14px 16px; border-bottom: 1px solid var(--dinamo-line-soft); }
table.t tr:hover td { background: #fafafa; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.tag.red { background: #fee2e2; color: #991b1b; }
.tag.green { background: #dcfce7; color: #166534; }
.tag.gray { background: #f3f4f6; color: #374151; }
.tag.dark { background: #0a0a0a; color: #fff; }

/* Progress bar */
.bar { background: #f3f4f6; border-radius: 999px; height: 8px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--dinamo-red), var(--dinamo-red-dark)); border-radius: 999px; }
.bar.green > span { background: linear-gradient(90deg, #16a34a, #15803d); }
.bar.blue > span { background: linear-gradient(90deg, #2563eb, #1d4ed8); }
.bar.amber > span { background: linear-gradient(90deg, #f59e0b, #d97706); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 13px; color: #0a0a0a; }
.field input, .field select, .field textarea {
  background: #fff; color: #0a0a0a;
  border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px;
  font: inherit;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dinamo-red); box-shadow: 0 0 0 3px rgba(212,0,31,0.15); }
.field .hint { font-size: 12px; color: var(--dinamo-mute); }
.field.span-2 { grid-column: span 2; }

/* Sheet */
.sheet {
  background: #fff; color: #0a0a0a;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45);
}
.sheet .stripes { height: 6px; background: repeating-linear-gradient(135deg, #d4001f 0 14px, #7f0014 14px 28px); }
.sheet .head { display: flex; gap: 20px; justify-content: space-between; padding: 28px; border-bottom: 4px solid var(--dinamo-red); }
.sheet .head h1 { font-size: 32px; margin: 0; }
.sheet .head .meta { text-align: right; font-size: 13px; color: var(--dinamo-mute); }
.sheet .head .meta b { display: block; color: #0a0a0a; font-size: 16px; margin-bottom: 2px; }
.sheet-section { padding: 24px 28px; border-top: 1px solid var(--dinamo-line-soft); }
.sheet-section h2 { margin: 0 0 12px; font-size: 16px; }
.sheet-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }

/* Calendar mini */
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar .cell { background: #f9fafb; border: 1px solid var(--dinamo-line-soft); border-radius: 10px; padding: 8px; min-height: 80px; font-size: 12px; color: #0a0a0a; display: flex; flex-direction: column; gap: 4px; }
.calendar .cell.dim { color: #c2c2c2; background: #fafafa; }
.calendar .cell b { font-size: 13px; }
.calendar .cell .evt { background: linear-gradient(135deg, #d4001f, #7f0014); color: #fff; border-radius: 6px; padding: 3px 6px; font-size: 11px; font-weight: 700; }
.calendar .cell .evt.soft { background: #fee2e2; color: #991b1b; }

/* Donut (CSS only) */
.donut {
  --pct: 0;
  --color: #d4001f;
  width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(var(--color) calc(var(--pct)*1%), #f3f4f6 0);
  display: grid; place-items: center; margin: 0 auto;
}
.donut::after { content: ""; position: absolute; }
.donut .inner { width: 110px; height: 110px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.donut .inner b { font-size: 26px; }
.donut .inner span { display: block; color: var(--dinamo-mute); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

/* Bar chart (CSS) */
.bar-chart { display: flex; gap: 10px; align-items: stretch; height: 200px; padding-top: 8px; }
.bar-chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bar-chart .col b { width: 70%; background: linear-gradient(180deg, var(--dinamo-red), var(--dinamo-red-dark)); border-radius: 8px 8px 0 0; min-height: 4px; }
.bar-chart .col span { font-size: 11px; color: var(--dinamo-mute); }

/* Push-to-talk assistant */
.push-to-talk { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ptt-button { width: 74px; height: 74px; border: none; border-radius: 999px; color: #fff; background: radial-gradient(circle at 35% 25%, #ff5b70, var(--dinamo-red) 52%, var(--dinamo-red-dark)); box-shadow: 0 18px 40px -14px rgba(212,0,31,.95); cursor: pointer; position: relative; display: grid; place-items: center; }
.ptt-button:hover { transform: translateY(-2px); }
.ptt-icon { position: relative; z-index: 2; font-size: 28px; }
.ptt-pulse { position: absolute; inset: -5px; border-radius: inherit; border: 2px solid rgba(255,255,255,.55); opacity: 0; }
.push-to-talk.listening .ptt-pulse { animation: pulse 1s infinite; opacity: 1; }
@keyframes pulse { 0%{ transform: scale(.9); opacity:.9 } 100%{ transform: scale(1.28); opacity:0 } }
.ptt-panel { width: min(360px, calc(100vw - 32px)); background: rgba(10,10,10,.94); color: #fff; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 70px -32px #000; border-radius: 22px; overflow: hidden; transform: translateY(10px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; backdrop-filter: blur(14px); }
.ptt-panel.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ptt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--dinamo-red), var(--dinamo-red-dark)); }
.ptt-head b { display: block; font-size: 15px; }
.ptt-head span { display: block; font-size: 11px; opacity: .82; margin-top: 2px; }
.ptt-close { border: none; border-radius: 999px; width: 30px; height: 30px; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer; }
.ptt-log { padding: 14px 16px; font-size: 13px; line-height: 1.45; color: #e5e7eb; }

/* Parent/client portal */
.parents-page .hero-compact { min-height: auto; }
.parents-page .grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.parents-page .card { padding: 22px; color: var(--dinamo-ink); }
.parents-page .card h2, .parents-page .card h3, .parents-page .card b { color: var(--dinamo-ink); }
.parents-page .section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.parents-page .section-title h2 { margin: 0; }
.parents-page .section-title .pill { background: #fee2e2; color: #991b1b; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.filter-card { min-width: min(360px, 100%); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 18px; backdrop-filter: blur(12px); position: relative; z-index: 1; }
.filter-card label { display: block; color: rgba(255,255,255,.72); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.filter-card select { width: 100%; border: none; border-radius: 14px; padding: 13px 14px; background: #fff; color: var(--dinamo-ink); font-weight: 800; }
.parent-profile { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-bottom: 18px; }
.premium-card { border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff, #fff7f8); box-shadow: 0 20px 40px -25px rgba(0,0,0,.35); border: 1px solid rgba(212,0,31,.08); padding: 24px; color: var(--dinamo-ink); }
.premium-card h2 { color: var(--dinamo-ink); margin: 0 0 6px; }
.premium-card p { color: var(--dinamo-mute); margin: 0; }
.premium-card .eyebrow { color: var(--dinamo-red); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; font-weight: 900; margin-bottom: 8px; }
.profile-card { display: flex; align-items: center; gap: 20px; }
.player-avatar { width: 86px; height: 86px; border-radius: 26px; background: linear-gradient(135deg, var(--dinamo-red), var(--dinamo-red-dark)); color: #fff; display: grid; place-items: center; font-size: 42px; font-weight: 950; box-shadow: 0 16px 35px -18px var(--dinamo-red); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.sub-grid div { background: rgba(17,17,17,.04); border-radius: 16px; padding: 12px; }
.sub-grid span { display: block; color: var(--dinamo-mute); font-size: 12px; margin-bottom: 6px; }
.sub-grid b { display: inline-flex; color: var(--dinamo-ink); }
.parent-bars { height: 250px; align-items: stretch; }
.parent-bars .col b { min-height: 18px; box-shadow: 0 12px 26px -18px rgba(212,0,31,.8); }
.parent-bars .col strong { margin-top: 6px; font-size: 13px; color: var(--dinamo-red); }
.attendance-card { display: flex; flex-direction: column; align-items: center; }
.attendance-ring { --pct: 0; width: 190px; height: 190px; border-radius: 999px; display: grid; place-items: center; margin: 16px auto; background: conic-gradient(var(--dinamo-red) calc(var(--pct) * 1%), #f0f0f0 0); position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.attendance-ring::after { content: ''; position: absolute; inset: 20px; background: #fff; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.attendance-ring span { position: relative; z-index: 1; font-size: 38px; font-weight: 950; color: var(--dinamo-ink); }
.center { text-align: center; }
.timeline-list { display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 16px; background: #fafafa; border: 1px solid var(--dinamo-line); }
.timeline-item p { margin: 4px 0 0; color: var(--dinamo-mute); font-size: 13px; }
.dot { width: 11px; height: 11px; border-radius: 999px; margin-top: 4px; background: var(--dinamo-mute); }
.dot.green { background: #16a34a; }
.dot.red-dot { background: var(--dinamo-red); }
.parent-calendar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.event-card { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: start; padding: 15px; border-radius: 20px; border: 1px solid var(--dinamo-line); background: linear-gradient(135deg, #fff, #fff); }
.event-card.future { border-color: rgba(212,0,31,.24); box-shadow: 0 16px 32px -28px var(--dinamo-red); }
.event-card.past { opacity: .82; background: #fafafa; }
.event-date { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--dinamo-ink); color: #fff; }
.event-date b { font-size: 22px; line-height: 1; }
.event-date span { font-size: 12px; margin-top: -10px; color: #ffb3be; }
.event-card h3 { margin: 0 0 4px; font-size: 15px; }
.event-card p { margin: 0 0 8px; color: var(--dinamo-mute); font-size: 13px; }

@media (max-width: 900px) { .parent-profile, .parent-calendar, .parents-page .grid.two { grid-template-columns: 1fr; } .profile-card { align-items: flex-start; } }

@media (max-width: 760px) { .push-to-talk { right: 16px; bottom: 16px; } .ptt-button { width: 66px; height: 66px; } .sub-grid { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .app-mobile { display: flex; }
  .app-mobile .brand { border-bottom: 0; padding-bottom: 0; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .nav a { padding: 10px 12px; font-size: 13px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .section { grid-template-columns: 1fr; }
  .section.three { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: span 1; }
  .sheet-grid { grid-template-columns: 1fr; }
  .main { padding: 18px 14px 60px; }
}
@media (max-width: 600px) {
  .kpis { grid-template-columns: 1fr; }
  .calendar { grid-template-columns: repeat(3, 1fr); }
}
@media print {
  .sidebar, .app-mobile, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .main { padding: 0; }
}
