/* FOURMI THINK — Aluno: Início com engajamento (Etapa 1). Tudo sob #student-workspace; cores do Aluno (petróleo + dourado). */
#student-workspace{--se-ice:#7cc4d8;--se-red:#c8553d;--se-green:#2f9a6a}

/* ---------- Faixa de sequência no topo ---------- */
#student-workspace .se-streak-host{margin:14px 0 2px}
#student-workspace .se-streak{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"ring copy" "week week";gap:10px 12px;align-items:center;width:100%;padding:12px 14px;border:1px solid #ffffff24;border-radius:20px;background:#0b303699;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f8f6ef;text-align:left;font:inherit;cursor:pointer}
#student-workspace .se-streak:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}
#student-workspace .se-ring{grid-area:ring;position:relative;display:grid;place-items:center;width:52px;height:52px}
#student-workspace .se-ring>svg:first-child{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
#student-workspace .se-ring circle{fill:none;stroke-width:4}
#student-workspace .se-ring-track{stroke:#ffffff26}
#student-workspace .se-ring-arc{stroke:var(--st-gold);stroke-linecap:round;transition:stroke-dasharray .5s ease}
#student-workspace .se-flame{position:absolute;top:9px;width:14px;height:14px;fill:none;stroke:var(--st-gold);stroke-width:1.8;stroke-linejoin:round}
#student-workspace .se-ring b{margin-top:12px;font-size:17px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
#student-workspace .se-streak:not(.is-done) .se-flame{stroke:#ffffff8c}
#student-workspace .se-streak-copy{grid-area:copy;display:flex;flex-direction:column;gap:2px;min-width:0}
#student-workspace .se-streak-copy strong{font-size:16px;line-height:1.2}
#student-workspace .se-streak-copy small{color:#f8f6efc2;font-size:12.5px;line-height:1.3}
#student-workspace .se-streak.is-done .se-streak-copy small:nth-child(2){color:var(--st-gold);font-weight:700}
#student-workspace .se-freeze{display:inline-flex;align-items:center;gap:5px}
#student-workspace .se-freeze svg{flex:none;width:13px;height:13px;fill:none;stroke:var(--se-ice);stroke-width:2;stroke-linecap:round}
#student-workspace .se-week{grid-area:week;display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding-top:10px;border-top:1px solid #ffffff1f}
#student-workspace .se-day{display:flex;flex-direction:column;align-items:center;gap:4px}
#student-workspace .se-day i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1.5px solid #ffffff38}
#student-workspace .se-day i svg{width:13px;height:13px;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .se-day small{color:#f8f6ef99;font-size:10.5px;font-weight:700;text-transform:uppercase}
#student-workspace .se-day.is-studied i{border-color:var(--st-gold);background:var(--st-gold)}
#student-workspace .se-day.is-studied i svg{stroke:var(--st-deep)}
#student-workspace .se-day.is-frozen i{border-color:var(--se-ice);background:#7cc4d833}
#student-workspace .se-day.is-frozen i svg{stroke:var(--se-ice);stroke-width:2}
#student-workspace .se-day.is-today i{border-style:dashed;border-color:var(--st-gold)}
#student-workspace .se-day.is-today small{color:var(--st-gold)}

/* ---------- Cartões do Início ---------- */
#student-workspace #student-engage-home{display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}
#student-workspace #student-engage-home:empty{display:none}
#student-workspace #student-engage-home:not(:empty){margin:-26px 0 0}
#student-workspace .student-focus-banner-host:not(.hidden)~#student-engage-home:not(:empty),
#student-workspace .student-setup:not(.hidden)~#student-engage-home:not(:empty){margin-top:14px}
#student-workspace #student-engage-home:not(:empty)~.student-today-panel,
#student-workspace .student-setup:not(.hidden)~.student-today-panel,
#student-workspace .student-focus-banner-host:not(.hidden)~.student-today-panel{margin-top:14px}
#student-workspace .se-card{padding:16px;border:1px solid var(--st-line);border-radius:24px;background:#fffefb;box-shadow:0 14px 30px #0b303614;color:var(--st-ink)}
#student-workspace .se-card button{font-family:inherit;color:inherit}
#student-workspace .se-eyebrow{display:inline-flex;align-items:center;gap:6px;color:var(--st-muted);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#student-workspace .se-eyebrow svg{width:14px;height:14px;fill:none;stroke:#a8842f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .se-chev{flex:none;width:18px;height:18px;fill:none;stroke:#9aa8a5;stroke-width:2;stroke-linecap:round}
#student-workspace .se-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 16px;border:0;border-radius:14px;background:var(--st-deep);color:#f8f6ef!important;font-weight:800;font-size:14px;cursor:pointer}
#student-workspace .se-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .se-btn.is-ghost{background:#0b30360d;color:var(--st-deep)!important;border:1px solid #0b30361f}
#student-workspace .se-btn:focus-visible,#student-workspace .se-next-main:focus-visible,#student-workspace .se-exam-main:focus-visible,#student-workspace .se-todo-copy:focus-visible,#student-workspace .se-count:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}
#student-workspace .se-next-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#student-workspace .se-next-actions .se-btn{flex:1 1 130px}

/* Próxima aula */
#student-workspace .se-next{border-left:4px solid var(--se-accent)}
#student-workspace .se-next-main,#student-workspace .se-exam-main{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer}
#student-workspace .se-next-row{display:flex;align-items:center;gap:12px;margin-top:10px}
#student-workspace .se-next-badge{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:color-mix(in srgb,var(--se-accent) 14%,#fff);color:var(--se-accent);font-size:19px;font-weight:800}
#student-workspace .se-next-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
#student-workspace .se-next-copy strong{font-size:18px;line-height:1.2}
#student-workspace .se-next-copy small{display:flex;align-items:center;gap:6px;color:var(--st-muted);font-size:13.5px;font-weight:600}
#student-workspace .se-next-copy small:first-letter{text-transform:uppercase}
#student-workspace .se-next-meta{flex-wrap:wrap;column-gap:10px!important}
#student-workspace .se-next-meta span{display:inline-flex;align-items:center;gap:5px}
#student-workspace .se-next-meta svg{flex:none;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
#student-workspace .se-live-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--se-green);box-shadow:0 0 0 4px #2f9a6a2e}
#student-workspace .se-next.is-live{border-left-color:var(--se-green)}

/* Para hoje */
#student-workspace .se-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#student-workspace .se-count{padding:4px 0;border:0;background:none;color:var(--st-deep);font-size:13px;font-weight:800;cursor:pointer}
#student-workspace .se-bar{display:block;height:6px;margin:10px 0 6px;border-radius:99px;background:#0b30360f;overflow:hidden}
#student-workspace .se-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--st-teal),var(--st-gold));transition:width .4s ease}
#student-workspace .se-todo-list{display:flex;flex-direction:column}
#student-workspace .se-todo-row{display:flex;align-items:center;gap:10px;min-height:52px;border-bottom:1px solid var(--st-line)}
#student-workspace .se-todo-row:last-child{border-bottom:0}
#student-workspace .se-check{position:relative;flex:none;display:grid;place-items:center;width:44px;height:44px;margin-left:-8px;cursor:pointer}
#student-workspace .se-check input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}
#student-workspace .se-check span{display:grid;place-items:center;width:24px;height:24px;border:2px solid color-mix(in srgb,var(--se-accent) 70%,#9aa8a5);border-radius:8px;background:#fff;transition:background .15s ease,border-color .15s ease}
#student-workspace .se-check svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
#student-workspace .se-check input:checked+span{background:var(--st-teal);border-color:var(--st-teal)}
#student-workspace .se-check input:checked+span svg{opacity:1}
#student-workspace .se-check input:focus-visible+span{outline:2px solid var(--st-gold);outline-offset:2px}
#student-workspace .se-todo-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;padding:8px 0;border:0;background:none;text-align:left;cursor:pointer}
#student-workspace .se-todo-copy strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}
#student-workspace .se-todo-copy small{color:var(--st-muted);font-size:12.5px}
#student-workspace .se-todo-row.is-done .se-todo-copy strong{color:#8a9896;text-decoration:line-through}
#student-workspace .se-flag{flex:none;width:8px;height:8px;border-radius:50%;background:var(--se-red)}

/* Próxima prova */
#student-workspace .se-exam .se-exam-main{display:flex;align-items:center;gap:14px}
#student-workspace .se-exam-count{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:72px;height:72px;border-radius:20px;background:var(--st-deep);color:#f8f6ef}
#student-workspace .se-exam-count b{font-size:30px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
#student-workspace .se-exam-count b.is-word{font-size:16px}
#student-workspace .se-exam-count small{margin-top:3px;color:var(--st-gold);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#student-workspace .se-exam.is-soon .se-exam-count{background:linear-gradient(160deg,#7a2a1c,var(--se-red))}
#student-workspace .se-exam.is-soon .se-exam-count small{color:#ffe1c9}
#student-workspace .se-exam-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
#student-workspace .se-exam-copy strong{font-size:18px;line-height:1.2}
#student-workspace .se-exam-copy>small{color:var(--st-muted);font-size:13px;font-weight:600}
#student-workspace .se-exam-copy>small:first-letter{text-transform:uppercase}
#student-workspace .se-exam-need{display:flex;flex-direction:column;gap:2px;margin:12px 0 0;padding:10px 12px;border-radius:14px;background:#d8b15e1f;color:var(--st-ink);font-size:14px;line-height:1.35}
#student-workspace .se-exam-need b{color:#8a6420;font-size:17px}
#student-workspace .se-exam-need small{color:var(--st-muted);font-size:12.5px}
#student-workspace .se-exam.is-secured .se-exam-need{background:#2f9a6a17}
#student-workspace .se-exam.is-impossible .se-exam-need{background:#c8553d14}
#student-workspace .se-exam.is-noTarget .se-exam-need{background:#0b30360a;color:var(--st-muted)}

@media (max-width:340px){
  #student-workspace .se-streak{padding:10px 12px}
  #student-workspace .se-day i{width:21px;height:21px}
  #student-workspace .se-exam-count{width:62px;height:62px}
  #student-workspace .se-exam-count b{font-size:25px}
}
@media (prefers-reduced-motion:reduce){#student-workspace .se-ring-arc,#student-workspace .se-bar i,#student-workspace .se-check span{transition:none}}

/* ---------- Etapa 2 · Revisar ---------- */
/* Linha "Revisar N cartões" no Para hoje */
#student-workspace .se-review-icon{flex:none;display:grid;place-items:center;width:28px;height:28px;margin:0 8px 0 0;border-radius:9px;background:#d8b15e2e}
#student-workspace .se-review-icon svg{width:16px;height:16px;fill:none;stroke:#8a6420;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .se-review-go{flex:none;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:var(--st-deep);cursor:pointer}
#student-workspace .se-review-go svg{width:14px;height:14px;fill:var(--st-gold);stroke:none}
#student-workspace .se-review-go:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

/* Entrada em Matérias (logo depois da Biblioteca) */
#student-workspace .sr-entry{grid-column:1/-1;display:grid;grid-template-columns:44px minmax(0,1fr) auto 14px;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #d8b15e66;border-radius:18px;background:#fffaf0;color:var(--st-ink);font:inherit;text-align:left;cursor:pointer;box-shadow:0 8px 18px #0b303612}
#student-workspace .sr-entry-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--st-deep)}
#student-workspace .sr-entry-icon svg{width:22px;height:22px;fill:none;stroke:var(--st-gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sr-entry-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
#student-workspace .sr-entry-copy strong{font-size:.98rem}
#student-workspace .sr-entry-copy small{color:var(--st-muted);font-size:.78rem}
#student-workspace .sr-entry-count{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:99px;background:var(--st-gold);color:var(--st-deep);font-size:.85rem}
#student-workspace .sr-chev{width:14px;height:14px;fill:none;stroke:#a8842f;stroke-width:2.4;stroke-linecap:round}
#student-workspace .sr-entry:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

/* Tela Revisar */
#student-workspace #student-review-root{display:flex;flex-direction:column;gap:14px;padding-bottom:24px}
#student-workspace .sr-hero{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px;border-radius:24px;background:linear-gradient(150deg,var(--st-teal),var(--st-deep));color:#f8f6ef;box-shadow:0 16px 34px #0b303629}
#student-workspace .sr-hero-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:4px;border-radius:14px;background:#ffffff1a}
#student-workspace .sr-hero-icon svg{width:24px;height:24px;fill:none;stroke:var(--st-gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sr-hero-count{font-size:22px;line-height:1.2}
#student-workspace .sr-hero p{margin:0;max-width:44ch;color:#f8f6efc7;font-size:14px;line-height:1.45}
#student-workspace .sr-hero-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:10px}
#student-workspace .sr-hero-actions .se-btn{flex:1 1 180px}
#student-workspace .sr-hero .se-btn{background:var(--st-gold);color:var(--st-deep)!important}
#student-workspace .sr-hero .se-btn.is-ghost{background:#ffffff14;border-color:#ffffff33;color:#f8f6ef!important}
#student-workspace .sr-hero.is-clear .sr-hero-icon{background:#d8b15e33}
#student-workspace .sr-exam-note{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;border-radius:14px;background:#c8553d12;color:var(--st-ink);font-size:13.5px;line-height:1.4}
#student-workspace .sr-exam-note svg{flex:none;width:16px;height:16px;margin-top:1px;fill:none;stroke:var(--se-red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sr-decks{display:flex;flex-direction:column;gap:10px}
#student-workspace .sr-deck{padding:14px;border:1px solid var(--st-line);border-left:4px solid var(--se-accent);border-radius:20px;background:#fffefb}
#student-workspace .sr-deck-head{display:flex;align-items:center;gap:12px}
#student-workspace .sr-deck-badge{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--se-accent) 14%,#fff);color:var(--se-accent);font-weight:800}
#student-workspace .sr-deck-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#student-workspace .sr-deck-copy strong{font-size:16px}
#student-workspace .sr-deck-copy small{color:var(--st-muted);font-size:13px}
#student-workspace .sr-deck-go{min-height:38px;padding:0 14px}
#student-workspace .sr-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#student-workspace .sr-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:800}
#student-workspace .sr-chip svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2}
#student-workspace .sr-chip.is-due{background:#d8b15e2e;color:#7a5a1c}
#student-workspace .sr-chip.is-exam{background:#c8553d14;color:#9a3d2a}
#student-workspace .sr-deck-foot{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:10px;padding-top:8px;border-top:1px solid var(--st-line)}
#student-workspace .sr-add{flex:none;display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 4px;border:0;background:none;color:var(--st-deep);font:inherit;font-size:13.5px;font-weight:800;cursor:pointer}
#student-workspace .sr-add svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
#student-workspace .sr-deck-list{flex:1;min-width:0}
#student-workspace .sr-deck-foot{position:relative;min-height:36px}
#student-workspace .sr-deck-foot .sr-add{position:absolute;top:8px;right:0}
#student-workspace .sr-deck-list{flex-basis:100%}
#student-workspace .sr-deck-list summary{margin-right:130px}
#student-workspace .sr-deck-list summary{display:flex;align-items:center;min-height:36px;color:var(--st-muted);font-size:13.5px;font-weight:700;cursor:pointer;list-style:none}
#student-workspace .sr-deck-list summary::-webkit-details-marker{display:none}
#student-workspace .sr-deck-list summary::after{content:"";width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease}
#student-workspace .sr-deck-list[open] summary::after{transform:rotate(225deg) translateY(-2px)}
#student-workspace .sr-deck-list ul{display:flex;flex-direction:column;margin:4px 0 0;padding:0;list-style:none}
#student-workspace .sr-card-row{display:flex;align-items:flex-start;gap:8px;padding:10px 0;border-top:1px solid var(--st-line)}
#student-workspace .sr-card-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#student-workspace .sr-card-copy strong{font-size:14.5px;overflow-wrap:anywhere}
#student-workspace .sr-card-copy small{color:var(--st-muted);font-size:13px;overflow-wrap:anywhere}
#student-workspace .sr-card-when{margin-top:2px;color:var(--st-muted);font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
#student-workspace .sr-card-when.is-due{color:#8a6420}
#student-workspace .sr-card-actions{display:flex;gap:2px}
#student-workspace .sr-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;height:40px;padding:0 8px;border:0;border-radius:12px;background:none;color:var(--st-muted);font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}
#student-workspace .sr-icon-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sr-icon-btn:hover{background:#0b30360a}
#student-workspace .sr-icon-btn.is-confirm{background:#c8553d17;color:#9a3d2a}
#student-workspace .sr-icon-btn:focus-visible,#student-workspace .sr-add:focus-visible,#student-workspace .sr-deck-list summary:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

/* Sessão */
#student-workspace .sr-session{display:flex;flex-direction:column;gap:14px}
#student-workspace .sr-session-head{display:flex;align-items:center;gap:10px}
#student-workspace .sr-session-head small{flex:none;color:var(--st-muted);font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
#student-workspace .sr-session-bar{flex:1;margin:0}
#student-workspace .sr-flash{display:flex;flex-direction:column;gap:6px;min-height:260px;padding:22px 20px;border:1px solid var(--st-line);border-top:5px solid var(--se-accent);border-radius:26px;background:#fffefb;box-shadow:0 18px 40px #0b30361a}
#student-workspace .sr-flash-subject{align-self:flex-start;margin-bottom:10px;padding:4px 10px;border-radius:99px;background:color-mix(in srgb,var(--se-accent) 12%,#fff);color:var(--se-accent);font-size:12px;font-weight:800}
#student-workspace .sr-flash-label{color:var(--st-muted);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#student-workspace .sr-flash-front{margin:0 0 6px;color:var(--st-ink);font-size:22px;font-weight:800;line-height:1.3;overflow-wrap:anywhere;white-space:pre-line}
#student-workspace .sr-flash-divider{height:1px;margin:10px 0;background:repeating-linear-gradient(90deg,var(--st-line) 0 8px,transparent 8px 14px)}
#student-workspace .sr-flash-back{margin:0;color:var(--st-teal);font-size:19px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line;animation:sr-reveal .25s ease}
@keyframes sr-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#student-workspace .sr-show{width:100%;min-height:54px;font-size:16px}
#student-workspace .sr-rate{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#student-workspace .sr-rate-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:62px;border:0;border-radius:16px;font:inherit;cursor:pointer}
#student-workspace .sr-rate-btn strong{font-size:15px}
#student-workspace .sr-rate-btn small{font-size:12px;font-weight:700;opacity:.8}
#student-workspace .sr-rate-btn.is-again{background:#c8553d1a;color:#8d3523}
#student-workspace .sr-rate-btn.is-hard{background:#d8b15e33;color:#6e5016}
#student-workspace .sr-rate-btn.is-easy{background:var(--st-deep);color:#f8f6ef}
#student-workspace .sr-rate-btn.is-easy small{color:var(--st-gold);opacity:1}
#student-workspace .sr-rate-btn:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

/* Fim da revisão */
#student-workspace .sr-done{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 20px;border:1px solid var(--st-line);border-radius:26px;background:#fffefb;text-align:center}
#student-workspace .sr-done-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--st-gold)}
#student-workspace .sr-done-icon svg{width:28px;height:28px;fill:none;stroke:var(--st-deep);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sr-done h2{margin:6px 0 0;font-size:22px}
#student-workspace .sr-done p{margin:0;color:var(--st-muted);font-size:14px}
#student-workspace .sr-done-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;margin:10px 0 4px}
#student-workspace .sr-done-stats span{display:flex;flex-direction:column;gap:2px;padding:10px 4px;border-radius:14px;color:var(--st-muted);font-size:12.5px;font-weight:700}
#student-workspace .sr-done-stats b{color:var(--st-ink);font-size:22px}
#student-workspace .sr-done-stats .is-easy{background:#0b30360d}
#student-workspace .sr-done-stats .is-hard{background:#d8b15e24}
#student-workspace .sr-done-stats .is-again{background:#c8553d12}
#student-workspace .sr-done-note{font-size:13px!important}
#student-workspace .sr-done .se-btn{min-width:160px;margin-top:8px}
@media (prefers-reduced-motion:reduce){#student-workspace .sr-flash-back{animation:none}#student-workspace .sr-deck-list summary::after{transition:none}}
#student-card-dialog .sr-dialog-actions{display:flex;flex-direction:column;gap:8px}
#student-card-dialog .sr-dialog-actions button{width:100%}
#student-card-dialog textarea{resize:vertical;min-height:72px;font:inherit}

/* ---------- Etapa 3 · Colônia ---------- */
#student-workspace .sc-art{display:block;width:100%;height:auto}
#student-workspace .sc-sun{fill:#e9c46a}
#student-workspace .sc-grains{fill:#ffffff14}
#student-workspace .sc-hill{fill:#6b4a2d}
#student-workspace .sc-ground{stroke:#3f7f5a;stroke-width:3}
#student-workspace .sc-grass{fill:none;stroke:#5fa07a;stroke-width:1.4;stroke-linecap:round}
#student-workspace .sc-tunnel{fill:none;stroke:#1d130c;stroke-width:6;stroke-linecap:round;opacity:.35}
#student-workspace .sc-tunnel.is-open{opacity:1;stroke:#20150d}
#student-workspace .sc-chamber{fill:#1d130c;stroke:#d8b15e66;stroke-width:1.2;stroke-dasharray:3 3;opacity:.55}
#student-workspace .sc-chamber.is-open{fill:#3a2716;stroke:var(--st-gold);stroke-dasharray:none;opacity:1}
#student-workspace .sc-chamber.is-queen.is-open{fill:#4a321b}

/* Cartão no topo de Progresso */
#student-workspace .sc-entry{display:grid;grid-template-columns:96px minmax(0,1fr) 14px;align-items:center;gap:12px;width:100%;margin:0 0 14px;padding:10px 14px 10px 10px;border:0;border-radius:20px;background:linear-gradient(150deg,var(--st-teal),var(--st-deep));color:#f8f6ef;font:inherit;text-align:left;cursor:pointer;box-shadow:0 12px 26px #0b303624}
#student-workspace .sc-entry-art{display:block;overflow:hidden;border-radius:14px}
#student-workspace .sc-entry-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
#student-workspace .sc-entry-copy small{color:#f8f6efb8;font-size:12px}
#student-workspace .sc-entry-copy small:first-child{color:var(--st-gold);font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:11px}
#student-workspace .sc-entry-copy strong{font-size:16px;line-height:1.2}
#student-workspace .sc-chev{width:14px;height:14px;fill:none;stroke:var(--st-gold);stroke-width:2.4;stroke-linecap:round}
#student-workspace .sc-entry:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}
#student-workspace .sc-bar{display:block;height:6px;border-radius:99px;background:#ffffff24;overflow:hidden}
#student-workspace .sc-bar i{display:block;height:100%;border-radius:inherit;background:var(--st-gold)}

/* Tela */
#student-workspace #student-colony-root{display:flex;flex-direction:column;gap:14px;padding-bottom:24px}
#student-workspace .sc-hero{overflow:hidden;border-radius:24px;background:var(--st-deep);color:#f8f6ef;box-shadow:0 16px 34px #0b303629}
#student-workspace .sc-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:14px 18px 18px}
#student-workspace .sc-level-chip{padding:3px 10px;border-radius:99px;background:var(--st-gold);color:var(--st-deep);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
#student-workspace .sc-hero-copy strong{font-size:26px;line-height:1.15}
#student-workspace .sc-hero-copy small{color:#f8f6efc2;font-size:13px}
#student-workspace .sc-hero-copy .sc-bar{width:100%;margin-top:6px}
#student-workspace .sc-how{padding:4px 16px;border:1px solid var(--st-line);border-radius:18px;background:#fffefb}
#student-workspace .sc-how summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;color:var(--st-ink);font-size:14.5px;font-weight:800;cursor:pointer;list-style:none}
#student-workspace .sc-how summary::-webkit-details-marker{display:none}
#student-workspace .sc-how summary::after{content:"";width:7px;height:7px;border-right:2px solid var(--st-muted);border-bottom:2px solid var(--st-muted);transform:rotate(45deg)}
#student-workspace .sc-how[open] summary::after{transform:rotate(225deg)}
#student-workspace .sc-how ul{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
#student-workspace .sc-how li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--st-line);color:var(--st-muted);font-size:13.5px}
#student-workspace .sc-how li b{color:var(--st-ink);font-variant-numeric:tabular-nums}
#student-workspace .sc-how p{margin:8px 0 12px;color:var(--st-teal);font-size:13px;font-weight:700}
#student-workspace .sc-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
#student-workspace .sc-section-head h2{margin:0;font-size:18px}
#student-workspace .sc-section-head small{color:var(--st-muted);font-size:13px;font-weight:700}
#student-workspace .sc-medals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#student-workspace .sc-medal{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 6px 10px;border:1px solid var(--st-line);border-radius:18px;background:#fffefb;color:var(--st-ink);font:inherit;text-align:center;cursor:pointer}
#student-workspace .sc-medal.is-open{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:4px 12px;padding:12px 14px;text-align:left}
#student-workspace .sc-medal-badge{position:relative;display:grid;place-items:center;width:52px;height:52px;clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);background:#e7ebe8}
#student-workspace .sc-medal-badge svg{width:24px;height:24px;fill:none;stroke:#9aa8a5;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sc-medal-badge i{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#fff}
#student-workspace .sc-medal-badge i svg{width:10px;height:10px;stroke:#7d8b88;stroke-width:2.4}
#student-workspace .sc-medal.is-earned .sc-medal-badge{background:linear-gradient(150deg,#f0d38b,var(--st-gold) 55%,#a8842f)}
#student-workspace .sc-medal.is-earned .sc-medal-badge svg{stroke:var(--st-deep)}
#student-workspace .sc-medal strong{font-size:12.5px;line-height:1.25}
#student-workspace .sc-medal.is-open strong{font-size:15px;align-self:center}
#student-workspace .sc-medal:not(.is-earned) strong{color:var(--st-muted)}
#student-workspace .sc-medal em{position:absolute;top:6px;right:6px;padding:2px 6px;border-radius:99px;background:var(--se-red);color:#fff;font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase}
#student-workspace .sc-medal-bar{display:block;width:70%;height:4px;border-radius:99px;background:#0b30360f;overflow:hidden}
#student-workspace .sc-medal.is-open .sc-medal-bar{width:120px;align-self:center}
#student-workspace .sc-medal-bar i{display:block;height:100%;background:var(--st-teal)}
#student-workspace .sc-medal small{color:var(--st-muted);font-size:11px;font-variant-numeric:tabular-nums}
#student-workspace .sc-medal-help{flex-basis:100%;color:var(--st-ink);font-size:13.5px;line-height:1.4}
#student-workspace .sc-medal:focus-visible,#student-workspace .sc-nav:focus-visible,#student-workspace .sc-how summary:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

/* Retrospectiva */
#student-workspace .sc-recap{padding:16px;border:1px solid var(--st-line);border-radius:24px;background:#fffefb}
#student-workspace .sc-recap-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
#student-workspace .sc-recap-head h2{margin:0;font-size:19px;text-align:center}
#student-workspace .sc-recap-head h2:first-letter{text-transform:uppercase}
#student-workspace .sc-nav{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--st-line);border-radius:12px;background:#fff;cursor:pointer}
#student-workspace .sc-nav svg{width:16px;height:16px;fill:none;stroke:var(--st-deep);stroke-width:2.2;stroke-linecap:round}
#student-workspace .sc-nav:disabled{opacity:.35;cursor:default}
#student-workspace .sc-recap-hero{display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px;border-radius:18px;background:linear-gradient(150deg,var(--st-teal),var(--st-deep));color:#f8f6ef;text-align:center}
#student-workspace .sc-recap-hero strong{font-size:34px;line-height:1.1}
#student-workspace .sc-recap-hero small{color:var(--st-gold);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#student-workspace .sc-change{margin-top:6px;padding:3px 10px;border-radius:99px;background:#ffffff1f;font-size:12.5px;font-weight:700}
#student-workspace .sc-change.is-up{background:#2f9a6a40}
#student-workspace .sc-change.is-down{background:#c8553d40}
#student-workspace .sc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}
#student-workspace .sc-stat{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:14px;background:#0b303609}
#student-workspace .sc-stat.is-wide{grid-column:1/-1}
#student-workspace .sc-stat small{color:var(--st-muted);font-size:12px;font-weight:700}
#student-workspace .sc-stat strong{font-size:16px;overflow-wrap:anywhere}
#student-workspace .sc-stat strong:first-letter{text-transform:uppercase}
#student-workspace .sc-share{width:100%}
#student-workspace .sc-share-note{margin:8px 0 0;color:var(--st-teal);font-size:13px;font-weight:700;text-align:center;overflow-wrap:anywhere}
#student-workspace .sc-recap-empty{margin:0;padding:18px;border:1px dashed var(--st-line);border-radius:16px;color:var(--st-muted);font-size:14px;text-align:center}
@media (max-width:340px){#student-workspace .sc-entry{grid-template-columns:72px minmax(0,1fr) 14px}#student-workspace .sc-medal-badge{width:44px;height:44px}}

/* ---------- Etapa 4 · Depois da aula ---------- */
#student-workspace .sa-card{border-left:4px solid var(--se-accent)}
#student-workspace .sa-head{display:flex;flex-direction:column;gap:3px;margin-top:8px}
#student-workspace .sa-head strong{font-size:18px;line-height:1.2}
#student-workspace .sa-head small{color:var(--st-muted);font-size:13px;font-weight:600}
#student-workspace .sa-head small:first-letter{text-transform:uppercase}
#student-workspace .sa-help{margin:8px 0 0;color:var(--st-muted);font-size:13.5px;line-height:1.4}
#student-workspace .sa-summary{margin-top:10px;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--se-accent) 8%,#fff)}
#student-workspace .sa-summary small{color:var(--se-accent);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#student-workspace .sa-summary p{margin:3px 0 0;color:var(--st-ink);font-size:14px;line-height:1.4}
#student-workspace .sa-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#student-workspace .sa-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:99px;background:#0b30360d;color:var(--st-deep);font-size:12px;font-weight:800}
#student-workspace .sa-chip svg,#student-workspace .sa-pack svg,#student-workspace .sa-last svg{flex:none;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sa-pack{display:flex;align-items:center;gap:6px;margin:10px 0 0;color:var(--st-muted);font-size:13px;font-weight:700}
#student-workspace .sa-pack.is-alert{color:#9a3d2a}
#student-workspace .sa-last{display:flex!important;align-items:flex-start!important;gap:5px;margin-top:2px;color:#8a6420!important;font-size:12.5px!important}
#student-workspace .sa-last svg{margin-top:2px}

#student-lesson-note-dialog .sa-dialog-sub{margin:-8px 0 14px;color:#5d6f6c;font-size:.86rem}
#student-lesson-note-dialog .sa-dialog-sub:first-letter{text-transform:uppercase}
#student-lesson-note-dialog textarea{resize:vertical;font:inherit}
#student-lesson-note-dialog .sa-check{display:flex;align-items:center;gap:10px;min-height:44px;margin:-4px 0 8px;font-size:.86rem;font-weight:700;color:#10292c}
#student-lesson-note-dialog .sa-check input{width:20px;height:20px;accent-color:#134a50}
#student-lesson-note-dialog .hidden{display:none}
#student-lesson-note-dialog .sa-label{display:block;margin-bottom:6px;color:#10292c;font-size:.8rem;font-weight:700}
#student-lesson-note-dialog .sa-photo{margin:0 0 12px}
#student-lesson-note-dialog .sa-photo-add{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px;border:1.5px dashed #c9d2cf;border-radius:14px;color:#134a50;font-weight:800;font-size:.9rem;cursor:pointer}
#student-lesson-note-dialog .sa-photo-add input{position:absolute;inset:0;opacity:0;cursor:pointer}
#student-lesson-note-dialog .sa-photo-add svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
#student-lesson-note-dialog .sa-photo-add:focus-within{outline:2px solid #d8b15e;outline-offset:2px}
#student-lesson-note-dialog figure{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0}
#student-lesson-note-dialog figure img{display:block;max-width:100%;max-height:220px;border-radius:12px;object-fit:cover}
#student-lesson-note-dialog .sa-rating{margin:0 0 10px}
#student-lesson-note-dialog .sa-stars{display:flex;gap:4px}
#student-lesson-note-dialog .sa-star{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:none;cursor:pointer}
#student-lesson-note-dialog .sa-star svg{width:28px;height:28px;fill:none;stroke:#b9c3c0;stroke-width:1.6;stroke-linejoin:round}
#student-lesson-note-dialog .sa-star.is-on svg{fill:#d8b15e;stroke:#a8842f}
#student-lesson-note-dialog .sa-star:focus-visible{outline:2px solid #d8b15e;outline-offset:1px}
#student-lesson-note-dialog .sa-package{margin:4px 0 12px;padding:8px 12px;border:1px solid #e2e7e4;border-radius:14px}
#student-lesson-note-dialog .sa-package summary{min-height:36px;display:flex;align-items:center;color:#10292c;font-size:.86rem;font-weight:800;cursor:pointer}
#student-lesson-note-dialog .sa-package-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
#student-lesson-note-dialog .sa-local{margin:4px 0 14px;color:#5d6f6c;font-size:.78rem;line-height:1.4}
#student-lesson-note-dialog .primary-button{width:100%}
#student-lesson-note-dialog,#student-card-dialog{max-height:min(92vh,92dvh);overflow-y:auto;overscroll-behavior:contain}

/* ---------- Etapa 5 · Meu professor ---------- */
#student-workspace #connect-teachers-content.mt-has-list>.connect-empty{display:none}
#student-workspace .mt-list{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
#student-workspace .mt-list h2{margin:0 0 2px;color:var(--st-muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#student-workspace .mt-row,#student-workspace .mt-next{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--st-line);border-left:4px solid var(--mt-accent);border-radius:18px;background:#fffefb;color:var(--st-ink);font-family:inherit;text-align:left;cursor:pointer}
#student-workspace .mt-next{padding:10px 12px;border-radius:16px;background:#fff}
#student-workspace .mt-avatar{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:color-mix(in srgb,var(--mt-accent) 16%,#fff);color:var(--mt-accent);font-size:18px;font-weight:800}
#student-workspace .mt-avatar.is-big{width:64px;height:64px;font-size:26px;background:var(--st-gold);color:var(--st-deep)}
#student-workspace .mt-row-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#student-workspace .mt-row-copy strong{font-size:15.5px;line-height:1.25;overflow-wrap:anywhere}
#student-workspace .mt-row-copy small{color:var(--st-muted);font-size:12.5px;line-height:1.3}
#student-workspace .mt-row-copy small:first-letter{text-transform:uppercase}
#student-workspace .mt-chev{flex:none;width:18px;height:18px;fill:none;stroke:#9aa8a5;stroke-width:2;stroke-linecap:round}
#student-workspace .mt-row:focus-visible,#student-workspace .mt-next:focus-visible,#student-workspace .mt-msg:focus-visible,#student-workspace .mt-slot:focus-visible,#student-workspace .mt-stat:focus-visible,#student-workspace .mt-subject:focus-visible,#student-workspace .mt-feed-item:focus-visible,#student-workspace .mt-grade:focus-visible,#student-workspace .mt-note-item:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

#student-workspace #student-teacher-root{display:flex;flex-direction:column;gap:12px;padding-bottom:12px}
#student-workspace .mt-hero{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 16px 16px;border-radius:24px;background:linear-gradient(150deg,var(--st-teal),var(--st-deep));color:#f8f6ef}
#student-workspace .mt-subjects{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
#student-workspace .mt-subject{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid #ffffff33;border-radius:99px;background:#ffffff14;color:#f8f6ef;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#student-workspace .mt-subject:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--mt-accent);box-shadow:0 0 0 2px #ffffff40}
#student-workspace .mt-stats{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;width:100%}
@media (max-width:359px){#student-workspace .mt-stats{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}}
#student-workspace .mt-stat{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:10px 6px;border:0;border-radius:14px;background:#ffffff14;color:#f8f6ef;font:inherit;text-align:center}
#student-workspace button.mt-stat{cursor:pointer}
#student-workspace .mt-stat small{color:#f8f6efb3;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
#student-workspace .mt-stat strong{font-size:17px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#student-workspace .mt-stars{display:inline-flex;align-items:center;gap:4px}
#student-workspace .mt-stars svg{width:15px;height:15px;fill:var(--st-gold);stroke:var(--st-gold);stroke-width:1.5;stroke-linejoin:round}
#student-workspace .mt-card{display:flex;flex-direction:column;gap:10px}
#student-workspace .mt-h{margin:0;font-size:16px}
#student-workspace .mt-empty{margin:0;color:var(--st-muted);font-size:13.5px;line-height:1.4}
#student-workspace .mt-wide{width:100%}
#student-workspace .mt-label{display:block;color:var(--st-muted);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#student-workspace .mt-date{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:46px;height:50px;border-radius:14px;background:color-mix(in srgb,var(--mt-accent) 14%,#fff);color:var(--mt-accent)}
#student-workspace .mt-date strong{font-size:19px;line-height:1}
#student-workspace .mt-date small{font-size:11px;font-weight:800;text-transform:uppercase}

#student-workspace .mt-msg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#student-workspace .mt-msg{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 12px;border:1px solid var(--st-line);border-radius:14px;background:#fff;color:var(--st-deep);font:inherit;font-size:13.5px;font-weight:800;text-align:left;cursor:pointer}
#student-workspace .mt-msg svg,#student-workspace .mt-slot svg{flex:none;width:18px;height:18px;fill:none;stroke:#a8842f;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .mt-msg[aria-pressed="true"]{border-color:var(--st-deep);background:var(--st-deep);color:#f8f6ef}
#student-workspace .mt-msg[aria-pressed="true"] svg{stroke:var(--st-gold)}
#student-workspace .mt-composer{display:flex;flex-direction:column;gap:10px;padding-top:10px;border-top:1px solid var(--st-line)}
#student-workspace .mt-slots{display:flex;flex-direction:column;gap:6px}
#student-workspace .mt-slots>small{color:var(--st-muted);font-size:12.5px}
#student-workspace .mt-slot-list{display:flex;flex-wrap:wrap;gap:6px}
#student-workspace .mt-slot{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--st-line);border-radius:99px;background:#fff;color:var(--st-ink);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
#student-workspace .mt-slot span:first-letter{text-transform:uppercase}
#student-workspace .mt-slot svg{width:14px;height:14px}
#student-workspace .mt-slot[aria-pressed="true"]{border-color:#a8842f;background:#d8b15e2e;color:var(--st-deep)}
#student-workspace .mt-composer textarea{width:100%;min-height:104px;padding:12px;border:1px solid var(--st-line);border-radius:14px;background:#fff;color:var(--st-ink);font:inherit;font-size:14.5px;line-height:1.45;resize:vertical;box-sizing:border-box}
#student-workspace .mt-composer textarea:focus-visible{outline:2px solid var(--st-gold);outline-offset:1px}
#student-workspace .mt-send{display:flex;flex-wrap:wrap;gap:8px}
#student-workspace .mt-send .se-btn{flex:1 1 100px;text-decoration:none}
#student-workspace .mt-note{min-height:1em;margin:0;color:var(--st-teal);font-size:13px;font-weight:700;text-align:center}
#student-workspace .mt-note:empty{display:none}

#student-workspace .mt-feed{display:flex;flex-direction:column;gap:8px}
#student-workspace .mt-feed-item{display:flex;flex-direction:column;gap:4px;width:100%;padding:10px 12px;border:0;border-radius:14px;background:#0b303609;color:var(--st-ink);font:inherit;text-align:left;cursor:pointer}
#student-workspace .mt-feed-item>small{color:var(--st-muted);font-size:12px;font-weight:700}
#student-workspace .mt-feed-item>small:first-letter{text-transform:uppercase}
#student-workspace .mt-feed-item p{margin:0;font-size:14px;line-height:1.4}
#student-workspace .mt-feed-item .sa-chips{margin-top:4px}

#student-workspace .mt-grades{display:flex;flex-direction:column;gap:8px}
#student-workspace .mt-grade{display:flex;flex-direction:column;gap:6px;width:100%;padding:10px 12px;border:1px solid var(--st-line);border-left:4px solid var(--mt-accent);border-radius:14px;background:#fff;color:var(--st-ink);font:inherit;text-align:left;cursor:pointer}
#student-workspace .mt-grade>strong{font-size:14.5px}
#student-workspace .mt-grade-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#student-workspace .mt-grade-row>span:not(.mt-change){display:flex;flex-direction:column}
#student-workspace .mt-grade-row small{color:var(--st-muted);font-size:11px;font-weight:700}
#student-workspace .mt-grade-row b{font-size:20px;font-variant-numeric:tabular-nums}
#student-workspace .mt-change{display:inline-flex;align-items:center;gap:3px;margin-left:auto;padding:3px 9px;border-radius:99px;font-size:12.5px;font-weight:800}
#student-workspace .mt-change svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .mt-change.is-up{background:#2f9a6a1f;color:#1f7a52}
#student-workspace .mt-change.is-down{background:#c8553d1f;color:#9a3d2a}
#student-workspace .mt-target{color:var(--st-muted);font-size:12px}
#student-workspace .mt-bars-wrap{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:14px;background:#0b303609}
#student-workspace .mt-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:end;height:100px}
#student-workspace .mt-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%}
#student-workspace .mt-bar b{font-size:12.5px;font-variant-numeric:tabular-nums}
#student-workspace .mt-bar i{display:block;width:100%;max-width:40px;border-radius:8px 8px 3px 3px;background:var(--st-teal)}
#student-workspace .mt-bar:last-child i{background:var(--st-gold)}
#student-workspace .mt-bar small{color:var(--st-muted);font-size:11px;font-weight:700;text-transform:uppercase}
#student-workspace .mt-notes{display:flex;flex-direction:column;gap:8px}
#student-workspace .mt-note-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:1px solid var(--st-line);border-radius:14px;background:#fff;color:var(--st-ink);font:inherit;text-align:left;cursor:pointer}
#student-workspace .mt-note-item img{flex:none;width:52px;height:52px;border-radius:10px;object-fit:cover}
#student-workspace .mt-note-icon{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:10px;background:#0b30360d}
#student-workspace .mt-note-icon svg{width:20px;height:20px;fill:none;stroke:var(--st-teal);stroke-width:1.9;stroke-linejoin:round}
#student-workspace .mt-note-item .mt-row-copy strong{font-size:14px}
#student-workspace .mt-local{margin:0;color:var(--st-muted);font-size:12.5px;line-height:1.4;text-align:center}

/* ---------- Etapa 6 · Estudar com amigos ---------- */
#student-workspace .sf-entry{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 14px;padding:12px 14px;border:1px solid var(--st-line);border-radius:20px;background:#fffefb;color:var(--st-ink);font:inherit;text-align:left;cursor:pointer}
#student-workspace .sf-entry-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--st-deep)}
#student-workspace .sf-entry-icon svg{width:22px;height:22px;fill:none;stroke:var(--st-gold);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sf-entry-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#student-workspace .sf-entry-copy strong{font-size:15.5px}
#student-workspace .sf-entry-copy small{color:var(--st-muted);font-size:12.5px}
#student-workspace .sf-chev{flex:none;width:18px;height:18px;fill:none;stroke:#9aa8a5;stroke-width:2;stroke-linecap:round}
#student-workspace .sf-entry:focus-visible,#student-workspace .sf-row-main:focus-visible,#student-workspace .sf-chip:focus-visible{outline:2px solid var(--st-gold);outline-offset:2px}

#student-workspace #student-friends-root{display:flex;flex-direction:column;gap:12px;padding-bottom:12px}
#student-workspace .sf-hero{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 16px;border-radius:24px;background:linear-gradient(150deg,var(--st-teal),var(--st-deep));color:#f8f6ef;text-align:center}
#student-workspace .sf-hero>small{color:var(--st-gold);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#student-workspace .sf-hero>strong{font-size:34px;line-height:1.1;font-variant-numeric:tabular-nums}
#student-workspace .sf-pos{display:inline-flex;align-items:center;gap:6px;margin-top:2px;padding:4px 12px;border-radius:99px;background:#ffffff1f;font-size:13px;font-weight:800}
#student-workspace .sf-pos svg{width:15px;height:15px;fill:none;stroke:var(--st-gold);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sf-hero p{margin:6px 0 0;color:#f8f6efcc;font-size:13.5px}
#student-workspace .sf-card{display:flex;flex-direction:column;gap:10px}
#student-workspace .sf-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
#student-workspace .sf-head h2,#student-workspace .sf-h{margin:0;font-size:16px}
#student-workspace .sf-head small{color:var(--st-muted);font-size:12px;font-weight:700}
#student-workspace .sf-help{margin:-4px 0 0;color:var(--st-muted);font-size:13px;line-height:1.4}
#student-workspace .sf-label{display:block;color:var(--st-muted);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#student-workspace .sf-wide{width:100%}
#student-workspace .sf-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
#student-workspace .sf-row{border:1px solid var(--st-line);border-radius:14px;background:#fff}
#student-workspace .sf-row.is-me{border-color:#d8b15e;background:#d8b15e14}
#student-workspace .sf-row-main{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 10px;border:0;border-radius:14px;background:none;color:var(--st-ink);font:inherit;text-align:left;cursor:pointer}
#student-workspace .sf-rank{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#0b30360d;color:var(--st-deep);font-weight:800;font-variant-numeric:tabular-nums}
#student-workspace .sf-rank.is-top{background:var(--st-gold);color:var(--st-deep)}
#student-workspace .sf-row-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#student-workspace .sf-row-copy strong{font-size:14.5px;overflow-wrap:anywhere}
#student-workspace .sf-row-copy small{color:var(--st-muted);font-size:12px}
#student-workspace .sf-pill{flex:none;padding:4px 10px;border-radius:99px;background:var(--st-deep);color:#f8f6ef;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums}
#student-workspace .sf-row.is-stale .sf-pill{background:#0b30360f;color:var(--st-muted)}
#student-workspace .sf-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 10px 10px}
#student-workspace .sf-row-actions>span{flex:1 1 100%;font-size:13px;font-weight:700}
#student-workspace .sf-row-actions .se-btn{flex:1 1 120px;min-height:40px;text-decoration:none}
#student-workspace .se-btn.is-danger{background:#9a3d2a}
#student-workspace .sf-code{display:block;padding:10px 12px;border-radius:12px;background:#0b30360a;color:var(--st-deep);font-family:ui-monospace,Menlo,monospace;font-size:12px;line-height:1.4;overflow-wrap:anywhere;user-select:all}
#student-workspace .sf-send{display:flex;flex-wrap:wrap;gap:8px}
#student-workspace .sf-send .se-btn{flex:1 1 100px;text-decoration:none}
#student-workspace .sf-paste{width:100%;min-height:80px;padding:10px 12px;border:1px solid var(--st-line);border-radius:14px;background:#fff;color:var(--st-ink);font:inherit;font-size:14px;resize:vertical;box-sizing:border-box}
#student-workspace .sf-paste:focus-visible{outline:2px solid var(--st-gold);outline-offset:1px}
#student-workspace .sf-note{margin:0;color:var(--st-teal);font-size:13px;font-weight:700;text-align:center}
#student-workspace .sf-note:empty{display:none}
#student-workspace .sf-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#student-workspace .sf-chip{min-height:38px;padding:0 14px;border:1px solid var(--st-line);border-radius:99px;background:#fff;color:var(--st-ink);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#student-workspace .sf-chip[aria-pressed="true"]{border-color:var(--st-deep);background:var(--st-deep);color:#f8f6ef}
#student-workspace .sf-time{min-height:38px;padding:0 10px;border:1px solid var(--st-line);border-radius:12px;background:#fff;color:var(--st-ink);font:inherit}
#student-workspace .sf-room .student-field{margin:0}
#student-workspace .sf-room-box{display:flex;align-items:center;gap:14px}
#student-workspace .sf-ring{flex:none;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:conic-gradient(var(--st-gold) var(--sf-progress),#0b30361a 0)}
#student-workspace .sf-ring b{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#fffefb;color:var(--st-deep);font-size:16px;font-variant-numeric:tabular-nums}
#student-workspace .sf-leave{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;color:var(--st-muted)}
#student-workspace .sf-leave svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#student-workspace .sf-local{margin:0;color:var(--st-muted);font-size:12.5px;line-height:1.4;text-align:center}
@media (max-width:359px){#student-workspace .mt-msg-grid{grid-template-columns:1fr}}
#student-workspace .se-hello{display:inline-block;width:.7em;height:.7em;margin-left:.26em;vertical-align:.04em;fill:var(--st-gold)}

/* ---------- Lembretes que avisam (student-reminders.js) ---------- */
#student-workspace .srm-today{display:grid;gap:6px;margin:0 0 12px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid var(--st-line)}
#student-workspace .srm-today h3{margin:0 0 2px;font-size:14px;color:var(--st-ink)}
#student-workspace .srm-row{display:flex;align-items:center;gap:10px;min-width:0}
#student-workspace .srm-row strong{flex:1;min-width:0;font-size:14px;font-weight:600;color:var(--st-ink);overflow-wrap:anywhere}
#student-workspace .srm-time{flex:none;font-variant-numeric:tabular-nums;font-size:13px;font-weight:700;color:var(--st-teal)}
#student-workspace .srm-time.is-late{color:#b4381f}
#student-workspace .srm-row button{flex:none;min-height:34px;padding:4px 10px;border-radius:9px;border:1px solid var(--st-line);background:transparent;color:var(--st-ink);font:inherit;font-size:12.5px;font-weight:700}
#student-workspace .link-add{--link-accent:var(--st-gold);--link-on-accent:var(--st-deep);background:#fff;color:var(--st-ink)}

/* ---------- Cores do Aluno em todas as telas (antes: amarelo #f5bd16 e verde do app) ---------- */
/* Ícones desenhados no lugar dos glifos antigos (st-ico) */
#student-workspace .circle-button .st-ico,#student-workspace button[aria-label] > .st-ico:only-child{margin:0;width:20px;height:20px}
#student-workspace .barber-timeline-item > i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
/* Selo do perfil no topo das telas internas (igual ao Início) */
#student-workspace .app-header .mini-brand > span{display:grid;line-height:1.05}
#student-workspace .st-top-badge{display:block;margin-top:2px;color:var(--st-gold,#d8b15e);font-size:.62rem;font-weight:800;letter-spacing:.14em}
#student-workspace .app-header .avatar-button{background:var(--st-gold,#d8b15e);color:var(--st-deep,#0b3036)}
