/* ===================== TEMA v3 — linguagem visual das referências (Posto360, NEXEDU, imBot, Sokraty) ===================== */
:root{
  --f:"Poppins",system-ui,Segoe UI,Roboto,sans-serif; --fc:"Poppins",system-ui,sans-serif;
  --bg:#f3f5f4; --ink:#1f2a24; --ink2:#4f5a54; --ink3:#8b948f; --line:#e3e8e5; --line2:#eef2ef;
  --g:#00a651; --g-d:#008a43; --g-50:#e6f6ec; --g-100:#c9ecd6; --teal:#2f9e8f; --lime:#b5cc34;
  --r:18px; --sh:0 2px 6px rgba(16,40,28,.04),0 10px 30px rgba(16,40,28,.06);
}
body{letter-spacing:-.1px}
.h1{font-family:var(--f);text-transform:none;font-weight:600;letter-spacing:-.3px}
#app{background:var(--bg)}
/* menu lateral branco com ícones de linha */
#rail{width:82px;background:#fff;border-right:1px solid var(--line);padding:0 0 14px;gap:2px}
.rail-logo{width:82px;height:80px;border-radius:0 0 26px 0;background:linear-gradient(140deg,#00a651,#2f9e8f);margin:0 0 14px;align-self:flex-start}
.rail-logo img{width:46px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.15))}
.rail-i{width:60px;height:56px;padding:0;justify-content:center;color:#7d8a83;font-size:10px;font-weight:500;border-radius:14px}
.rail-i svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rail-i.on{background:var(--g-50);color:var(--g-d)}
.rail-sep{width:52px;height:1px;background:var(--line);margin:auto 0 8px}
#area{flex:1;min-width:0;display:flex;flex-direction:column}
body.modo-aula #topo{display:none}
/* topo */
#topo{height:76px;flex:none;background:#fff;display:flex;align-items:center;gap:16px;padding:0 26px;border-bottom:1px solid var(--line)}
.eu{display:flex;align-items:center;gap:10px;text-align:left}
.eu .av{width:44px;height:44px;background:linear-gradient(140deg,#00a651,#2f9e8f);box-shadow:0 0 0 3px #fff,0 0 0 4.5px var(--g-100)}
.eu b{display:block;font-size:14px;font-weight:600}.eu small{color:var(--ink3);font-size:12px}
.pill-sel{height:44px;padding:0 16px;border:1.5px solid var(--line);border-radius:99px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
.pill-sel svg{width:18px;height:18px;fill:none;stroke:var(--g-d);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pill-sel .car{stroke:var(--ink3)}
.topo-dir{margin-left:auto;display:flex;align-items:center;gap:10px}
.topo-marca{height:36px;margin-right:8px}
.ic{width:44px;height:44px;border-radius:50%;background:var(--bg);display:grid;place-items:center;position:relative}
.ic svg{width:21px;height:21px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ic .pt{position:absolute;top:10px;right:11px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid var(--bg)}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* botões */
.btn{border-radius:12px;font-weight:600}
.btn-g{background:var(--g);box-shadow:0 6px 16px rgba(0,166,81,.25)}
.btn-l{height:54px;font-size:16px;padding:0 30px}
.btn-b{background:rgba(255,255,255,.75);border:1px solid rgba(255,255,255,.9);color:var(--ink)}
.btn-o{border-color:var(--line)}
.tag{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:99px;font-size:11.5px;font-weight:600;background:var(--line2)}
.tag.a{background:#fff1d6;color:#a96500}
/* página com faixa em degradê */
.pg{flex:1;min-height:0;position:relative}
.hero{background:linear-gradient(115deg,#d6efe0 0%,#dcefe9 45%,#e8f1d2 100%);padding:24px 28px 30px}
.hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.hero h1{font-size:24px;font-weight:600;letter-spacing:-.4px}.hero h1 span{font-weight:400}
.hero p{color:var(--ink2);font-size:14.5px;margin-top:2px}
.hero-acoes{display:flex;gap:8px;align-items:center}
.pill-data{height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border-radius:99px;background:rgba(255,255,255,.75);font-size:13.5px;font-weight:500}
.pill-data .ico{width:18px;height:18px;color:var(--g-d)}
.tit-pg{display:flex;align-items:center;gap:12px}
.voltar-c{width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center}
.voltar-c svg{width:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.hero-grid{display:grid;grid-template-columns:330px 1fr;gap:16px}
.insight{background:linear-gradient(160deg,#0f7a49,#00a651 60%,#2f9e8f);color:#fff;border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:14px;box-shadow:0 12px 30px rgba(0,120,60,.25);position:relative;overflow:hidden}
.insight:after{content:"";position:absolute;right:-50px;bottom:-60px;width:200px;height:200px;background:url(assets/arvore.png) center/contain no-repeat;opacity:.12}
.ins-rel{display:flex;align-items:center;gap:12px}
.ins-rel img{width:46px;height:46px;background:#fff;border-radius:50%;padding:6px}
.ins-rel b{display:block;font-size:24px;font-weight:600;letter-spacing:.3px}
.ins-rel small{opacity:.8;font-size:12px}
.ins-txt{background:rgba(0,0,0,.14);border-radius:14px;padding:12px 14px;font-size:13.5px;line-height:1.5;position:relative;z-index:1}
.kcards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.kc{background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.9);border-radius:18px;padding:16px 18px;display:flex;justify-content:space-between;gap:10px}
.kc b{display:block;font-size:30px;font-weight:600;line-height:1.1;letter-spacing:-.5px}
.kc b em{font-style:normal;font-size:15px;color:var(--ink3);font-weight:500}
.kc span{display:block;font-size:14px;font-weight:500;margin-top:2px}
.kc small{color:var(--ink3);font-size:12px}.kc small.neg{color:#c22b31}.kc small.pos{color:var(--g-d)}
.kc i{width:44px;height:44px;border-radius:12px;background:var(--g-50);color:var(--g-d);display:grid;place-items:center;flex:none}
.kc i.r{background:#fdecec;color:#d23a3f}.kc i.a{background:#fff1d6;color:#c07c00}.kc i.v{background:#efe6fd;color:#7b3fe4}
/* conteúdo abaixo da faixa */
.ini-grid{display:grid;grid-template-columns:1fr 360px;gap:16px;padding:0 28px 28px;margin-top:-12px;position:relative}
.ini-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.bloco{padding:20px 22px}
.bloco-h{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.bloco-h .ico{width:38px;height:38px;padding:8px;border-radius:12px;background:var(--g-50);color:var(--g-d)}
.bloco-h b{display:block;font-size:16px;font-weight:600}.bloco-h small{color:var(--ink3);font-size:12.5px}
.agora{padding:20px 22px;background:#fff;color:var(--ink)}
.agora:after{display:none}
.agora-h{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.agora .lbl{color:var(--g-d)}
.agora h2{font-family:var(--f);font-size:30px;font-weight:600;color:var(--ink);margin:2px 0 0}
.alunos-ag{margin:14px 0 18px}
.al-pill{background:var(--bg);border:1.5px solid var(--line);color:var(--ink);padding:7px 16px 7px 7px}
.al-pill b{font-weight:600}.al-pill small{color:var(--ink3)}
.al-pill.add{padding:0 18px;color:var(--g-d);font-weight:600;border-style:dashed}
.grade-h{gap:4px}
.gh{box-shadow:none;border:1px solid var(--line2);border-radius:14px}
.gh b{font-family:var(--f);font-size:16px;font-weight:600;width:58px}
.gh.livre{border-color:transparent}
.gh.agora-h{outline:none;border:2px solid var(--g);background:#f6fcf8}
.nm-chip{background:#fff;border:1px solid var(--line);font-weight:500}
.ini-lado{display:flex;flex-direction:column;align-self:start;position:sticky;top:12px}
.busca{border-radius:99px;height:46px;border-color:var(--line)}
.busca svg{fill:none;stroke:var(--ink3);stroke-width:1.8;stroke-linecap:round}
.tab-mini{margin-top:12px}
.tm-h{display:flex;justify-content:space-between;font-size:12px;color:var(--ink3);padding:0 6px 6px;border-bottom:1px solid var(--line2)}
.tm-l{display:flex;align-items:center;gap:10px;padding:9px 6px;border-bottom:1px solid var(--line2);cursor:pointer;border-radius:10px}
.tm-l:active{background:var(--bg)}
.tm-l .av{width:36px;height:36px;font-size:12px}
.tm-n{flex:1;min-width:0}.tm-n b{font-size:14px;font-weight:600}.tm-n small{display:block;color:var(--ink3);font-size:12px}
.dias{min-width:52px;height:40px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:700;font-size:15px;line-height:1}
.dias small{font-size:9.5px;font-weight:500}
.dias.g{background:var(--g-50);color:var(--g-d)}.dias.a{background:#fff1d6;color:#b06f00}.dias.r{background:#fde4e4;color:#c22b31}
/* master */
.m-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 28px 28px;margin-top:-12px;position:relative}
.m-grid .span2{grid-column:span 2}
.aneis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.anel{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.anel-c{width:112px;height:112px;border-radius:50%;background:conic-gradient(var(--c) calc(var(--p)*1%),#e9edeb 0);display:grid;place-items:center;margin-bottom:8px}
.anel-c:before{content:"";grid-area:1/1;width:88px;height:88px;border-radius:50%;background:#fff}
.anel-c b{grid-area:1/1;font-size:22px;font-weight:600;position:relative}
.anel strong{font-size:13.5px;font-weight:600}.anel small{color:var(--ink3);font-size:12px}
.barra-l{display:grid;grid-template-columns:140px 1fr 44px;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line2)}
.bn b{display:block;font-size:13.5px;font-weight:600}.bn small{color:var(--ink3);font-size:11.5px}
.bb{height:14px;border-radius:99px;background:#dbeee3;overflow:hidden}.bb i{display:block;height:100%;border-radius:99px}
.bv{font-weight:600;text-align:right}
.tab-dias{border:1px solid var(--line2);border-radius:14px;overflow:hidden}
.td-h,.td-l{display:grid;grid-template-columns:1.4fr 1fr 1fr 64px;align-items:center;gap:8px;padding:0 0 0 14px}
.td-h{font-size:12.5px;color:var(--ink3);height:40px;background:#fafbfa}
.td-l{min-height:46px;border-top:1px solid var(--line2);font-size:13.5px;cursor:pointer}
.td-l b{font-weight:600}
.dcel{height:100%;min-height:46px;display:grid;place-items:center;font-weight:700}
.dcel.g{background:#e6f6ec;color:var(--g-d)}.dcel.a{background:#ffeec8;color:#a86800}.dcel.r{background:#fbdcdc;color:#c22b31}
.feed-tab .td-h,.feed-tab .td-l{grid-template-columns:1fr 2.2fr .8fr .7fr;padding-right:14px}
/* aula: barra de abas clara */
.abas{background:#fff;border-bottom:1px solid var(--line);height:74px;padding:0 14px 0 8px}
.voltar{color:var(--ink)}
.aba{background:var(--bg);color:var(--ink2);border-radius:16px 16px 0 0;border:1px solid var(--line);border-bottom:0}
.aba .tx small{color:var(--ink3)}
.aba .alerta{border-color:var(--bg)}
.aba.on{background:#fff;color:var(--ink);box-shadow:0 -6px 16px rgba(16,40,28,.06);border-color:var(--line)}
.aba.on:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--g)}
.aba .bar{display:none}
.aba .tx b{font-weight:600}
.aba-add{background:var(--g-50);color:var(--g-d)}
.relogio b{font-family:var(--f);font-weight:600;color:var(--ink)}
.abas .dir{color:var(--ink)}
.corpo{padding:14px 14px 0}
.t-bar{padding:12px 14px}
.seg{border-radius:99px;padding:4px}.seg button{border-radius:99px;font-weight:600}
.btn-caso{border-radius:99px;font-weight:600}
.col-h b{font-family:var(--f);font-weight:600;font-size:14.5px;letter-spacing:0}
.cel{border-radius:10px;font-weight:600}
.rodape{border-radius:18px}
.sem{font-family:var(--f);font-weight:600}
.reg button{border-radius:12px;font-weight:600}
.chip{font-weight:500}
.card{border-radius:var(--r)}
.pag{padding:22px 28px}
/* responsivo do tema */
@media (max-width:1179px){
  .hero-grid{grid-template-columns:1fr}
  .kcards{grid-template-columns:repeat(4,1fr)}
  .ini-grid{grid-template-columns:1fr 300px}
  .topo-marca{display:none}
}
@media (max-width:1023px){
  #rail{width:70px}.rail-logo{width:70px;height:68px}.rail-i{width:54px}
  #topo{padding:0 14px;height:66px}.eu small{display:none}
  .kcards{grid-template-columns:repeat(2,1fr)}
  .ini-grid,.m-grid{grid-template-columns:1fr;padding:0 14px 20px}
  .m-grid .span2{grid-column:auto}
  .aneis{grid-template-columns:repeat(2,1fr)}
  .hero{padding:18px 14px 26px}
  .ini-lado{position:static}
  .pag{padding:16px}
}
@media (max-width:760px), (orientation:portrait) and (max-width:900px){
  #rail{position:fixed;bottom:0;left:0;right:0;width:auto;height:64px;flex-direction:row;border-right:0;border-top:1px solid var(--line);padding:0 6px}
  .rail-logo,.rail-sep,.rail-i[title=Sair]{display:none}
  #area{padding-bottom:64px}body.modo-aula #area{padding-bottom:0}
  #tela{padding-bottom:0}
  .pill-sel span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .eu span:not(.av){display:none}
  .kc b{font-size:24px}
}
.col-h .hj{color:#fff;background:var(--g);padding:2px 7px;border-radius:6px;font-size:10px}
