:root{
  --blue:#0A4F73;--blue-d:#083D5A;--blue-pale:#E4F1F5;
  --accent:#0D8A9A;--gold:#F0C000;--ink:#163A4A;--muted:#475569;
  --line:rgba(10,79,115,.14);--bg:#F4F9FA;
  --font:"Plus Jakarta Sans",system-ui,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0}
body.aula-demo{
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  min-height:100vh;
}
.aula-demo-top{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  max-width:1100px;margin:0 auto;padding:1rem 1.25rem .4rem;
}
.aula-demo-brand img{height:40px;width:auto;display:block}
.aula-demo-top-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.aula-demo-btn{
  display:inline-flex;align-items:center;justify-content:center;
  font:700 .85rem var(--font);text-decoration:none;border-radius:.65rem;
  padding:.5rem 1rem;transition:transform .15s ease,background .15s ease;
}
.aula-demo-btn:hover{transform:translateY(-1px)}
.aula-demo-btn:active{transform:scale(.97)}
.aula-demo-btn--primary{background:var(--blue);color:#fff}
.aula-demo-btn--ghost{background:#fff;color:var(--blue);border:2px solid var(--blue)}
.aula-demo-main{max-width:1100px;margin:0 auto;padding:.4rem 1.25rem 3rem}
.aula-demo-kicker{
  display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:var(--blue);background:var(--blue-pale);
  border:1px solid rgba(10,79,115,.18);padding:.28rem .7rem;border-radius:999px;margin:0 0 .55rem;
}
.aula-demo-main h1{font-size:clamp(1.45rem,3vw,2rem);font-weight:800;letter-spacing:-.03em;margin:0 0 .85rem}
.aula-demo-card{
  background:#fff;border:1px solid var(--line);border-radius:1rem;
  box-shadow:0 8px 28px rgba(22,58,74,.06);
}
.aula-demo-kpis{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:0 0 .85rem;
}
.aula-demo-kpi{
  background:#fff;border:1px solid var(--line);border-radius:.85rem;padding:.75rem .9rem;
}
.aula-demo-kpi span{display:block;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.aula-demo-kpi strong{display:block;margin-top:.2rem;font-size:1.15rem;color:var(--ink)}
.aula-demo-toolbar{
  display:flex;flex-wrap:wrap;gap:.65rem 1rem;align-items:flex-end;
  padding:1rem 1.1rem;border-bottom:1px solid var(--line);
}
.aula-demo-toolbar-more{display:flex;flex-wrap:wrap;gap:.4rem;margin-left:auto}
.aula-demo-field{display:flex;flex-direction:column;gap:.25rem;font-size:.72rem;font-weight:800;color:var(--muted)}
.aula-demo-field select,.aula-demo-field input,.aula-demo-field textarea{
  font:650 .85rem var(--font);color:var(--ink);border:1.5px solid #e5e7eb;
  border-radius:.6rem;padding:.45rem .65rem;background:#fff;min-width:8rem;
}
.aula-demo-tabs{display:flex;flex-wrap:wrap;gap:.35rem;padding:.55rem .7rem;border-bottom:1px solid var(--line)}
.aula-demo-tab{
  appearance:none;border:0;background:#f1f5f9;color:#334155;font:700 .78rem var(--font);
  padding:.45rem .75rem;border-radius:.55rem;cursor:pointer;
}
.aula-demo-tab.is-on{background:var(--blue);color:#fff}
.aula-demo-panel{display:none;padding:0}
.aula-demo-panel.is-on{display:block}
.aula-demo-table-wrap{overflow-x:auto}
.aula-demo-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.86rem}
.aula-demo-table th{
  text-align:left;font-size:.68rem;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ink);padding:.7rem .65rem;border-bottom:2px solid var(--blue);background:#f8fbff;
}
.aula-demo-table td{padding:.45rem .55rem;border-bottom:1px solid #eef2f7}
.aula-demo-table tbody tr:nth-child(even) td{background:#f8fafc}
.aula-demo-nota{
  width:3.4rem;text-align:center;font-weight:800;border:1.5px solid #e2e8f0;
  border-radius:.5rem;padding:.4rem .2rem;font-family:inherit;
}
.aula-demo-media{
  display:inline-flex;min-width:2.2rem;justify-content:center;font-weight:800;color:#fff;
  background:var(--blue);border-radius:999px;padding:.15rem .45rem;font-size:.78rem;
}
.aula-demo-actions{display:flex;flex-wrap:wrap;gap:.45rem;padding:.75rem 1rem 1rem}
.aula-demo-ghost{
  appearance:none;border:0;background:#f1f5f9;color:#334155;font:700 .78rem var(--font);
  padding:.45rem .75rem;border-radius:.55rem;cursor:pointer;
  display:inline-flex;align-items:center;gap:.35rem;
}
.aula-demo-hint{font-size:.82rem;color:var(--muted);margin:.85rem 0 0}
.aula-demo-split{
  display:grid;grid-template-columns:minmax(15rem,18rem) minmax(0,1fr);gap:.85rem;align-items:start;
}
.aula-demo-side{
  background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1rem 1.05rem;
  box-shadow:0 8px 28px rgba(22,58,74,.05);
}
.aula-demo-side-title{margin:0 0 .75rem;font-size:.95rem;font-weight:800}
.aula-demo-side-label{
  margin:.85rem 0 .4rem;font-size:.68rem;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);
}
.aula-demo-side-list{list-style:none;margin:0;padding:0;display:grid;gap:.3rem}
.aula-demo-side-list li{
  padding:.5rem .65rem;border-radius:.55rem;font-size:.82rem;font-weight:650;color:var(--ink);
  background:#f8fafc;border:1px solid transparent;
}
.aula-demo-side-list li.is-on{background:var(--blue-pale);border-color:rgba(10,79,115,.2);font-weight:800}
.aula-demo-chips{display:flex;flex-wrap:wrap;gap:.35rem}
.aula-demo-chip{
  font:700 .72rem var(--font);padding:.35rem .65rem;border-radius:999px;
  background:#f1f5f9;color:#334155;border:1px solid transparent;
}
.aula-demo-chip.is-on{background:var(--blue);color:#fff}
.aula-demo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.75rem}
.aula-demo-grid--bib{padding:0}
.aula-demo-tile{
  border:1px solid var(--line);border-radius:.85rem;padding:.85rem .9rem;background:#fff;
  box-shadow:0 4px 14px rgba(22,58,74,.04);
}
.aula-demo-tile-ico{
  width:2.1rem;height:2.1rem;border-radius:.6rem;display:flex;align-items:center;justify-content:center;
  background:var(--blue-pale);color:var(--accent);font-size:1rem;margin-bottom:.45rem;
}
.aula-demo-tile h3{margin:0 0 .3rem;font-size:.92rem}
.aula-demo-tile p{margin:0;font-size:.78rem;color:var(--muted);line-height:1.45}
.aula-demo-tile-links{margin-top:.55rem!important;font-weight:700}
.aula-demo-tile-links a{color:var(--blue);text-decoration:none}
.aula-demo-tile-meta{
  display:flex;flex-wrap:wrap;gap:.35rem .55rem;align-items:center;
  font-size:.7rem;color:var(--muted);margin-bottom:.4rem;
}
.aula-demo-badge{
  font-weight:800;padding:.15rem .45rem;border-radius:999px;background:#fef3c7;color:#92400e;
}
.aula-demo-badge.is-ok{background:#d1fae5;color:#065f46}
.aula-demo-paper{padding:1.25rem 1.35rem 1.5rem}
.aula-demo-paper h2{font-size:1.15rem;margin:0 0 .6rem}
.aula-demo-paper p{color:var(--muted);line-height:1.6;margin:0 0 .7rem}
.aula-demo-revista-prev{padding:1.25rem 1.35rem 1.5rem}
.aula-demo-revista-mast{
  display:flex;flex-direction:column;gap:.15rem;margin-bottom:.85rem;
  padding-bottom:.75rem;border-bottom:3px solid var(--blue);
}
.aula-demo-revista-mast span{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.aula-demo-revista-mast strong{font-size:.95rem}
.aula-demo-revista-prev h2{margin:0 0 .55rem;font-size:1.35rem;letter-spacing:-.02em}
.aula-demo-revista-prev p{color:var(--muted);line-height:1.6;margin:0 0 .75rem}
.aula-demo-revista-photo{
  height:9rem;border-radius:.75rem;margin:0 0 .65rem;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#dbeafe,#e0f2fe);color:var(--blue);font-weight:800;font-size:.82rem;
}
.aula-demo-revista-cap{font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)!important}
.aula-demo-diploma{
  margin:1rem;padding:2rem 1.5rem;border:3px solid var(--accent);border-radius:1rem;
  text-align:center;background:linear-gradient(180deg,#fff,#f0f9fb);
}
.aula-demo-diploma-brand{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)!important}
.aula-demo-diploma-type{font-size:.95rem;font-weight:700;color:var(--ink)!important;margin:.5rem 0!important}
.aula-demo-diploma strong{display:block;font-size:1.55rem;color:var(--ink);margin:.55rem 0}
.aula-demo-diploma p{margin:.35rem 0;color:var(--muted)}
.aula-demo-diploma-date{font-size:.8rem!important;margin-top:1rem!important}
.aula-demo-emitidos{padding:0 1.15rem 1.15rem}
.aula-demo-emitidos h3{margin:0 0 .5rem;font-size:.85rem}
.aula-demo-emitidos ul{margin:0;padding-left:1.1rem;color:var(--muted);font-size:.82rem;line-height:1.55}
.aula-demo-map{
  position:relative;min-height:22rem;margin:0 1rem 1rem;padding:.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%,rgba(13,138,154,.08),transparent 70%),
    linear-gradient(180deg,#f0f9fb,#e4f1f5);
  border-radius:1rem;overflow:hidden;
  border:1px solid rgba(10,79,115,.12);
}
.aula-demo-map-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.aula-demo-map-lines line{stroke:#0A4F73;stroke-width:1.6;stroke-opacity:.35}
.aula-demo-map-lines .is-out{stroke:#0D8A9A;stroke-dasharray:4 3;stroke-opacity:.45}
.aula-demo-node{
  position:absolute;z-index:1;background:#fff;border:2px solid #0A4F73;border-radius:.75rem;
  padding:.5rem .85rem;font-weight:800;font-size:.84rem;color:#163A4A;
  box-shadow:0 8px 20px rgba(10,79,115,.12);
  white-space:nowrap;transform:translate(-50%,-50%);
}
.aula-demo-node--root{
  background:linear-gradient(135deg,#0A4F73,#0D8A9A);color:#fff;border-color:transparent;
  font-size:.95rem;padding:.65rem 1.1rem;
  box-shadow:0 10px 28px rgba(10,79,115,.28);
}
.aula-demo-node--out{border-color:#0D8A9A;background:#E6F6F8}
.aula-demo-map-caption{
  position:absolute;left:1rem;bottom:.75rem;z-index:1;
  font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#0A4F73;opacity:.7;
}
.aula-demo-cat-hero{
  background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1rem 1.15rem;
  margin-bottom:1rem;box-shadow:0 8px 28px rgba(22,58,74,.05);
}
.aula-demo-search{
  display:flex;align-items:center;gap:.55rem;margin-bottom:.75rem;
  border:1.5px solid #e5e7eb;border-radius:.75rem;padding:.55rem .8rem;background:#f8fafc;
}
.aula-demo-search i{color:var(--muted)}
.aula-demo-search input{border:0;background:transparent;width:100%;font:650 .9rem var(--font);color:var(--ink);outline:none}
.aula-demo-rail{margin:0 0 1.15rem}
.aula-demo-rail h2,.aula-demo-rail-title{
  margin:0 0 .55rem;font-size:.95rem;font-weight:800;letter-spacing:-.01em;
}
.aula-demo-rail-track{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(13.5rem,1fr);
  gap:.65rem;overflow-x:auto;padding-bottom:.35rem;
}
.aula-demo-lom-hero{
  border-radius:1.1rem;padding:1.35rem 1.5rem;margin-bottom:1rem;
  background:linear-gradient(135deg,#163A4A 0%,#0A4F73 48%,#0D8A9A 100%);
  color:#fff;
}
.aula-demo-lom-hero h2{margin:0 0 .4rem;font-size:1.25rem;font-weight:800;color:#fff}
.aula-demo-lom-hero p{margin:0;font-size:.92rem;line-height:1.55;color:rgba(255,255,255,.95);max-width:none}
.aula-demo-lom-hero-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}
.aula-demo-lom-btn{
  background:#fff;color:#0A6B78;border:none;font:800 .85rem var(--font);
  padding:.55rem .95rem;border-radius:.65rem;cursor:default;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
}
.aula-demo-lom-btn--ghost{
  background:transparent;color:#fff;border:1px solid rgba(255,255,255,.45);
  font-weight:700;box-shadow:none;
}
.aula-demo-lom-status{
  margin:0 0 1.1rem;font-size:.88rem;color:var(--muted);line-height:1.5;
}
.aula-demo-lom-status strong{color:var(--ink)}
.aula-demo-lom-lead{margin:-.15rem 0 .85rem;font-size:.85rem;color:var(--muted);line-height:1.5}
.aula-demo-lom-stats{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.9rem}
.aula-demo-lom-stats span{
  font-size:.75rem;font-weight:800;padding:.3rem .65rem;border-radius:999px;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);
}
.aula-demo-lom-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(16.5rem,1fr));gap:.85rem;
}
.aula-demo-lom-card{
  background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.05rem 1.15rem;
  display:flex;flex-direction:column;gap:.45rem;min-height:100%;
  box-shadow:0 8px 24px rgba(22,58,74,.05);
}
.aula-demo-lom-card-top{display:flex;align-items:flex-start;gap:.65rem}
.aula-demo-lom-ico{
  width:2.1rem;height:2.1rem;border-radius:.65rem;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:#E6F6F8;color:var(--accent);
}
.aula-demo-lom-card h3{margin:0;font-size:.95rem;font-weight:800;line-height:1.3}
.aula-demo-lom-marco{margin:0;font-size:.8rem;color:var(--muted);line-height:1.45;flex:1}
.aula-demo-lom-hacer{margin:0;font-size:.78rem;color:#64748b;line-height:1.4}
.aula-demo-lom-cta{align-self:flex-start;margin-top:.15rem;font-size:.8rem;padding:.4rem .75rem}
.aula-demo-lom-more{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.85rem;
}
.aula-demo-lom-more-card{
  display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;text-align:left;
  border:1px solid var(--line);border-radius:.9rem;background:#fff;padding:1rem;
  color:inherit;font:inherit;cursor:default;box-shadow:0 6px 18px rgba(22,58,74,.04);
}
.aula-demo-lom-more-card i{color:var(--accent);font-size:1.1rem}
.aula-demo-lom-more-card strong{font-size:.9rem;color:var(--ink)}
.aula-demo-lom-more-card span{font-size:.78rem;color:var(--muted);line-height:1.4}
.aula-demo-lom-sa{list-style:none;margin:0;padding:0}
.aula-demo-lom-sa li{
  display:flex;justify-content:space-between;gap:.75rem;align-items:center;
  padding:.55rem 0;border-bottom:1px solid var(--line);font-size:.85rem;
}
.aula-demo-lom-sa li:last-child{border-bottom:0}
.aula-demo-lom-sa li.is-on strong{color:var(--accent)}
.aula-demo-lom-gloss{
  margin:1.25rem 0 0;border:1px solid rgba(13,138,154,.22);border-radius:1.15rem;
  background:linear-gradient(180deg,#E6F6F8 0%,#fff 7.5rem);overflow:hidden;
  box-shadow:0 8px 28px rgba(22,58,74,.06);
}
.aula-demo-lom-gloss > header{
  padding:1.15rem 1.25rem 1rem;border-bottom:1px solid rgba(13,138,154,.14);
}
.aula-demo-lom-gloss-kicker{
  display:inline-flex;align-items:center;gap:.4rem;margin:0 0 .4rem;
  font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);
}
.aula-demo-lom-gloss > header h2{
  margin:0 0 .35rem;font-size:1.2rem;font-weight:900;letter-spacing:-.02em;color:var(--ink);
}
.aula-demo-lom-gloss > header p{margin:0;font-size:.88rem;color:#334155;line-height:1.5}
.aula-demo-lom-gloss dl{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(15.5rem,1fr));
  gap:.75rem;margin:0;padding:1rem 1.15rem 1.2rem;
}
.aula-demo-lom-gloss dl > div{
  margin:0;padding:.85rem .95rem;border:1px solid var(--line);border-radius:.85rem;background:#fff;
}
.aula-demo-lom-gloss dt{margin:0 0 .35rem;font-weight:800;font-size:.86rem;color:var(--ink)}
.aula-demo-lom-gloss dd{margin:0;font-size:.8rem;color:var(--muted);line-height:1.5}
.aula-demo-lom-card .aula-demo-ghost{align-self:flex-start;margin-top:.15rem}
.aula-demo-cur-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.aula-demo-cur-chip{
  border:1px solid var(--line);background:#fff;border-radius:999px;
  padding:.35rem .75rem;font:700 .78rem var(--font);color:var(--ink);cursor:default;
}
.aula-demo-cur-chip.is-on{background:#E6F6F8;border-color:rgba(13,138,154,.45);color:var(--accent)}
.aula-demo-cur-mat{text-align:left;font:inherit;cursor:default;width:100%}
.aula-demo-sa-form-top{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}
.aula-demo-sa-form-top h2{margin:0;font-size:1.2rem;font-weight:900}
.aula-demo-sa-card{padding:1.15rem 1.25rem}
.aula-demo-sa-bar{
  display:flex;align-items:center;gap:.45rem;margin:0 0 .75rem;
  font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--accent);
}
.aula-demo-sa-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:.65rem;margin-top:.65rem}
.aula-demo-sa-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.1rem}
.aula-demo-field textarea{
  display:block;width:100%;margin-top:.25rem;border:1.5px solid #e5e7eb;border-radius:.65rem;
  padding:.55rem .7rem;font:inherit;color:var(--ink);background:#fff;resize:vertical;
}
a.aula-demo-lom-cta{text-decoration:none}
a.aula-demo-lom-more-card{text-decoration:none;color:inherit}
.aula-demo-asist td{text-align:center}
.aula-demo-asist .ok{color:#059669;font-weight:800}
.aula-demo-asist .no{color:#dc2626;font-weight:800}
.aula-demo-asist .re{color:#d97706;font-weight:800}
@media(max-width:860px){
  .aula-demo-split{grid-template-columns:1fr}
  .aula-demo-kpis{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .aula-demo-top{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){
  .aula-demo-btn:hover,.aula-demo-btn:active{transform:none}
}
