/* base.css — tokens e componentes da casca (direção C + menu lateral) */
:root {
  --fundo: #121212; --lateral: #171717; --card: #1c1c1c; --card-2: #242424; --campo: #161616;
  --borda: #2a2a2a; --borda-2: #333333; --linha: #262626;
  --texto: #e8e6e1; --texto-2: #f2f0eb; --muted: #9a978f; --muted-2: #7a776f;
  --verde: #4fa374; --verde-txt: #7fd1a3; --verde-bg: #1c2b22; --verde-escuro: #08150e;
  --ambar: #e0a458; --ambar-txt: #e0b072; --ambar-bg: #3a2e1c;
  --vermelho: #b04a3a; --cinza-dot: #6b6b6b;
  --raio: 14px; --raio-2: 10px; --raio-3: 8px;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--verde-txt); text-decoration: none; } a:hover { color: #a3e3bf; }
button, input, select, textarea { font: inherit; color: inherit; }

.app { display: flex; min-height: 100vh; }
.side { width: 232px; flex-shrink: 0; background: var(--lateral); border-right: 1px solid var(--linha); padding: 24px 16px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.brand { font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--texto); padding: 0 12px 16px; display: block; appearance: none; background: none; border: 0; cursor: pointer; text-align: left; line-height: 1.2; }
button.brand:hover { color: var(--verde-txt); }
.troca { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 8px 12px; align-items: center; }
.troca a { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 999px; background: var(--card); display: inline-flex; align-items: center; }
.troca a.on { color: var(--verde-txt); background: var(--verde-bg); }
.menu { display: flex; flex-direction: column; gap: 4px; }
.item { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: var(--raio-2); color: var(--muted); font-size: 14px; font-weight: 500; }
.item:hover { color: var(--texto); background: var(--card); }
.item.on { background: var(--verde-bg); color: var(--verde-txt); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--card); }
.side-foot-txt { min-width: 0; flex-grow: 1; } .side-foot .nome { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-conta { color: var(--muted); display: flex; } .side-conta:hover { color: var(--texto); }
.avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--texto); color: var(--fundo); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.wrap { flex-grow: 1; min-width: 0; padding: 36px 40px 48px; }
.wrap-estreito { max-width: 720px; }

.eyebrow { font-size: 14px; color: var(--muted); font-weight: 500; }
h1 { font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1.1; margin: 4px 0 28px; letter-spacing: -0.02em; }
h2 { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h3 { font-size: 16px; font-weight: 600; margin: 0; }
.cabecalho { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.cabecalho h1 { margin-bottom: 0; }
.numero { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.numero-g { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }

.card { background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; }
.card-title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 16px; }
.colunas { display: flex; gap: 24px; align-items: flex-start; }
.col-2 { flex-grow: 2; flex-basis: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-1 { flex-grow: 1; flex-basis: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--raio-2); font-weight: 600; font-size: 14px; border: 1px solid transparent; white-space: nowrap; cursor: pointer; background: transparent; }
.btn-primary { background: var(--verde); color: var(--verde-escuro); } .btn-primary:hover { background: #5cb384; color: var(--verde-escuro); }
.btn-ghost { border-color: var(--borda-2); color: var(--texto); } .btn-ghost:hover { background: var(--card-2); color: var(--texto); }
.btn-perigo { border-color: var(--vermelho); color: #e08a7c; } .btn-perigo:hover { background: #2a1a17; color: #e08a7c; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--raio-3); }
.btn-link { height: auto; padding: 0; color: var(--verde-txt); font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip-warn { background: var(--ambar-bg); color: var(--ambar-txt); }
.chip-ok { background: var(--verde-bg); color: var(--verde-txt); }
.chip-muted { background: var(--borda); color: #b0ada6; }
.chip-inv { background: var(--texto); color: var(--fundo); }
.word { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--borda-2); background: #232323; font-style: italic; font-size: 15px; color: var(--texto); }
.it { font-style: italic; color: var(--texto-2); }
.muted { color: var(--muted); } .small { font-size: 13px; } .ambar { color: var(--ambar-txt); } .verde { color: var(--verde-txt); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--linha); }
.linha:first-child { border-top: 0; }
.divider { height: 1px; background: var(--linha); }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex-shrink: 0; }
.acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vazio { color: var(--muted); padding: 8px 0; }

/* formulários */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label, .rotulo { font-size: 13px; color: var(--muted); font-weight: 500; }
.input, input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=url], select, textarea { height: 44px; border: 1px solid var(--borda-2); border-radius: var(--raio-2); background: var(--campo); padding: 0 14px; color: var(--texto); font-size: 14px; width: 100%; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--verde); }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grade-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
form.inline { display: inline; }
.aviso { padding: 12px 16px; border-radius: var(--raio-2); background: var(--verde-bg); color: var(--verde-txt); font-size: 14px; margin-bottom: 20px; }
.aviso-erro { background: #2a1a17; color: #e08a7c; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check input { width: 18px; height: 18px; height: 18px; accent-color: var(--verde); }

/* tabelas */
.tabela { width: 100%; border-collapse: collapse; }
.tabela th { text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--borda); }
.tabela td { padding: 14px 16px; border-top: 1px solid var(--linha); vertical-align: middle; }
.tabela tr:first-child td { border-top: 0; }
.card-tabela { padding: 0; overflow: hidden; }
.card-tabela .tabela th:first-child, .card-tabela .tabela td:first-child { padding-left: 24px; }
.card-tabela .tabela th:last-child, .card-tabela .tabela td:last-child { padding-right: 24px; }
.rodape-card { padding: 14px 24px; border-top: 1px solid var(--borda); }

/* pauta e notas */
.pauta-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.pauta-item.feito { color: var(--muted); text-decoration: line-through; }
.notas { min-height: 220px; font-size: 16px; line-height: 1.65; }
.notas p { margin: 0 0 12px; }
.editor { border: 1px solid var(--borda-2); border-radius: var(--raio-2); background: var(--campo); padding: 14px 16px; min-height: 220px; outline: none; font-size: 16px; line-height: 1.65; }
.editor:focus { border-color: var(--verde); }
.editor table { border-collapse: collapse; margin: 8px 0; } .editor td, .editor th { border: 1px solid var(--borda-2); padding: 4px 8px; }
.barra { height: 3px; background: var(--borda); border-radius: 2px; overflow: hidden; } .barra > div { height: 3px; background: var(--verde); }
.barra-ambar > div { background: var(--ambar); }

/* página só (entrar) */
body.solo { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.solo-wrap { width: 100%; max-width: 420px; padding: 24px; }
.solo-wrap .brand { font-size: 40px; padding: 0 0 24px; }

/* hub */
/* hub: só as palavras, grandes, uma por linha; o ponto leva a cor do módulo */
.hub-menu { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 120px); max-width: 980px; }
.hub-item { position: relative; display: block; padding: clamp(14px, 3.5vh, 36px) 0; border-top: 1px solid var(--linha); color: var(--muted); font-family: var(--display); font-weight: 500; font-size: clamp(60px, 11.5vw, 150px); line-height: .95; letter-spacing: -0.045em; text-decoration: none; overflow: hidden; transition: color .4s, padding-left .55s cubic-bezier(.34, 1.4, .64, 1); animation: hub-entra .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.hub-item:last-child { border-bottom: 1px solid var(--linha); }
.hub-item::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 140% at 0% 50%, color-mix(in srgb, var(--cor) 16%, transparent), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.hub-item::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--cor); transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.hub-palavra { position: relative; display: inline-block; }
.hub-item b { color: var(--cor); font-weight: inherit; display: inline-block; transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.hub-item:hover, .hub-item:focus-visible, .hub-item:active { color: var(--texto); padding-left: clamp(10px, 3vw, 40px); outline: 0; }
.hub-item:hover::before, .hub-item:active::before { opacity: 1; } .hub-item:hover::after, .hub-item:active::after { width: 100%; }
.hub-item:hover b, .hub-item:active b { transform: translateX(.06em) scale(1.35); }
@keyframes hub-entra { from { opacity: 0; transform: translateY(28px); letter-spacing: .02em; } }
@media (prefers-reduced-motion: reduce) { .hub-item { animation: none; } }

@media (max-width: 900px) {
  .app { flex-direction: column; }
  .side { width: 100%; height: auto; position: sticky; top: 0; z-index: 40; flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 10px 12px; gap: 8px; overflow: hidden; }
  .brand { padding: 0 6px; font-size: 22px; flex-shrink: 0; }
  .menu { flex-direction: row; flex-wrap: nowrap; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .menu::-webkit-scrollbar { display: none; }
  .item { height: 38px; padding: 0 12px; font-size: 13px; flex-shrink: 0; white-space: nowrap; scroll-snap-align: start; } .item svg { display: none; }
  .side-foot { margin-top: 0; padding: 4px 6px; flex-shrink: 0; gap: 8px; } .side-foot-txt { display: none; } .avatar { width: 30px; height: 30px; font-size: 12px; }
  .troca { display: none; }
  .wrap { padding: 20px 16px 40px; }
  .colunas { flex-direction: column; } .col-2, .col-1 { width: 100%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grade-3 { grid-template-columns: 1fr; } .grade-2 { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
}
.editor:empty:before { content: attr(data-placeholder); color: var(--muted-2); }
details > summary { cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.notas h1 { font-size: 24px; margin: 24px 0 10px; } .notas h2 { font-size: 20px; margin: 22px 0 8px; } .notas h3 { font-size: 17px; margin: 18px 0 6px; } .notas h4 { font-size: 15px; margin: 14px 0 4px; }
.notas ul, .notas ol { margin: 0 0 12px; padding-left: 24px; } .notas li { margin: 2px 0; }
.notas table { border-collapse: collapse; margin: 8px 0 16px; max-width: 100%; } .notas td, .notas th { border: 1px solid var(--borda-2); padding: 6px 10px; vertical-align: top; }
.notas hr { border: 0; height: 1px; background: var(--linha); margin: 20px 0; }
.notas a { text-decoration: underline; }

/* correção de dever de casa */
.err { color: #e08a7c; text-decoration: line-through; text-decoration-thickness: 2px; opacity: .85; }
.fix { color: var(--verde-txt); text-decoration: underline; text-decoration-color: var(--verde); text-decoration-thickness: 2px; font-style: normal; }
.tipo-radio { display: flex; gap: 8px; flex-wrap: wrap; } .tipo-radio input { display: none; } .tipo-radio label { cursor: pointer; }
.tipo-radio input:checked + span { background: var(--texto); color: var(--fundo); }

/* barra do dia: cresce das 7h às 22h no topo de tudo */
.barra-dia { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: rgba(255,255,255,.04); pointer-events: none; }
.barra-dia > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--verde-bg), var(--verde) 60%, var(--verde-txt)); box-shadow: 0 0 12px rgba(79, 163, 116, .55); transition: width 1.2s cubic-bezier(.16, 1, .3, 1); }
.barra-dia.fim > div { background: var(--verde-txt); }
[hidden] { display: none !important; }

/* roteiro formatado (Fountain) */
.ft-pagina { background: #f4f1ea; color: #1c1a17; font-family: 'Courier Prime', 'Courier New', Courier, monospace; font-size: 12pt; line-height: 1.25; padding: 64px 72px 64px 108px; border-radius: 6px; max-width: 8.5in; box-shadow: 0 20px 60px -30px rgba(0,0,0,.8); }
.ft-pagina p { margin: 0 0 12pt; white-space: pre-wrap; }
.ft-titulo { text-align: center; margin: 120pt 0 160pt; } .ft-titulo h1 { font: inherit; font-weight: 700; text-transform: uppercase; text-decoration: underline; margin: 0 0 24pt; }
.ft-cena { font-weight: 700; text-transform: uppercase; margin-top: 24pt !important; }
.ft-personagem { margin: 0 !important; padding-left: 2.2in; text-transform: uppercase; } .ft-ext { text-transform: none; }
.ft-parentetico { margin: 0 !important; padding-left: 1.6in; padding-right: 1.9in; }
.ft-fala { padding-left: 1in; padding-right: 1.5in; }
.ft-transicao { text-align: right; text-transform: uppercase; } .ft-centrado { text-align: center; }
.ft-secao { font: inherit; font-weight: 700; color: #6b665e; margin: 18pt 0 6pt; } .ft-sinopse { color: #6b665e; font-style: italic; }
.ft-letra { font-style: italic; padding-left: 1in; } .ft-quebra { border: 0; border-top: 1px dashed #b8b3a8; margin: 24pt 0; page-break-after: always; }
.ft-opcao { font-weight: 700; text-transform: uppercase; margin-top: 24pt !important; border-bottom: 2px solid #1c1a17; padding-bottom: 4pt; }
.ft-linha-ativa { background: rgba(79, 163, 116, .18); border-radius: 3px; }
.editor-roteiro { width: 100%; min-height: 70vh; border: 1px solid var(--borda-2); border-radius: var(--raio-2); background: var(--campo); color: var(--texto); padding: 18px 20px; font-family: 'Courier Prime', 'Courier New', Courier, monospace; font-size: 14.5px; line-height: 1.55; resize: vertical; tab-size: 4; }
.editor-roteiro:focus { border-color: var(--verde); }
.sugestoes { position: absolute; background: var(--card); border: 1px solid var(--borda-2); border-radius: 10px; padding: 6px; box-shadow: 0 16px 40px -20px rgba(0,0,0,.9); z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 180px; }
.sugestoes button { text-align: left; background: transparent; border: 0; color: var(--texto); padding: 8px 10px; border-radius: 6px; font-family: 'Courier Prime', 'Courier New', monospace; font-size: 13px; cursor: pointer; }
.sugestoes button.on, .sugestoes button:hover { background: var(--verde-bg); color: var(--verde-txt); }
.marcado { background: var(--verde-bg); color: var(--verde-txt); border-radius: 3px; padding: 0 2px; }
.gravacao { background: #000; color: #f4f1ea; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); }
.gravacao .bloco { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6vh 7vw; gap: 18px; }
.gravacao .quem { color: var(--verde-txt); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: clamp(14px, 2.4vw, 20px); }
.gravacao .texto { font-size: clamp(26px, 5.2vw, 56px); line-height: 1.3; font-weight: 500; text-wrap: pretty; }
.gravacao .texto.acao { color: #b8b3a8; font-style: italic; font-size: clamp(20px, 3.6vw, 36px); }
.gravacao .rodape { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); color: #6b665e; font-size: 13px; border-top: 1px solid #1c1c1c; }
.gravacao .barra { height: 3px; background: #1c1c1c; } .gravacao .barra > div { height: 3px; background: var(--verde); transition: width .25s var(--ease-out); }
@media print { .side, .barra-dia, .no-print, .toast, canvas.confete { display: none !important; } .app, main.wrap { display: block; padding: 0; } body, .app { background: #fff; } .ft-pagina { box-shadow: none; border-radius: 0; background: #fff; max-width: none; padding: 0; } .ft-capa { page-break-after: always; } @page { size: A4; margin: 1in 1in 1in 1.5in; } }

/* tarefas: barra de progresso, subtarefas que expandem e ficha simples */
.progresso { height: 4px; background: var(--borda); border-radius: 999px; overflow: hidden; min-width: 60px; } .progresso > div { height: 100%; width: calc(var(--p, 0) * 100%); background: var(--verde); border-radius: 999px; transition: width 480ms cubic-bezier(.16, 1, .3, 1); }
.tarefa-titulo { font: inherit; color: var(--texto); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.tarefa-titulo .caret { color: var(--muted); transition: transform 320ms cubic-bezier(.34, 1.4, .64, 1); flex-shrink: 0; } .tarefa-titulo[aria-expanded="true"] .caret { transform: rotate(180deg); color: var(--verde-txt); }
.sub-lista { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms cubic-bezier(.16, 1, .3, 1); } .sub-lista > div { overflow: hidden; min-height: 0; } .sub-lista.aberta { grid-template-rows: 1fr; }
.sub-lista > div > * { opacity: 0; transform: translateY(-4px); transition: opacity 240ms, transform 320ms cubic-bezier(.16, 1, .3, 1); } .sub-lista.aberta > div > * { opacity: 1; transform: none; }
.sub-item { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; } .sub-item.feito > span { text-decoration: line-through; color: var(--muted); } .sub-item > span { transition: color 200ms; }
.ficha-titulo { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: auto !important; width: 100%; line-height: 1.2; }
.ficha-linha { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--linha); padding: 8px 0; }
.ficha-linha:first-of-type { border-top: 0; }
.ficha-rotulo { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; width: 104px; flex-shrink: 0; }
.ficha-valor { flex: 1; min-width: 0; }
.ficha-valor input, .ficha-valor select, .ficha-valor textarea { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 0 !important; height: auto !important; font-size: 15px; color: var(--texto); width: auto; max-width: 100%; }
.ficha-valor textarea { width: 100%; min-height: 40px; resize: vertical; } .ficha-valor select { cursor: pointer; }
.ficha-valor input:focus, .ficha-valor select:focus, .ficha-valor textarea:focus { outline: 0; color: var(--verde-txt); }
.ficha-valor input[type="date"]:empty::before { color: var(--muted); }
.ficha-sub-input { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 6px 0 !important; height: auto !important; font-size: 14px; flex: 1; } .ficha-sub-input:focus { outline: 0; }
.seg { display: inline-flex; background: var(--card-2); border-radius: 999px; padding: 3px; gap: 2px; } .seg label { cursor: pointer; } .seg input { display: none; }
.seg span { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: background 200ms, color 200ms; } .seg input:checked + span { background: var(--verde-bg); color: var(--verde-txt); }
.dia-chip input { display: none; } .dia-chip span { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--card-2); cursor: pointer; } .dia-chip input:checked + span { background: var(--verde-bg); color: var(--verde-txt); }
.ficha-tarefa .chip { cursor: pointer; font: inherit; font-size: 12px; }
@media (max-width: 600px) { .ficha-rotulo { width: 84px; } .ficha-rotulo span { font-size: 13px; } .seg span { padding: 6px 9px; font-size: 12px; } .seg { flex-wrap: wrap; } }

/* menu de troca de módulo (toque na marca) */
.troca-modal { width: min(520px, calc(100vw - 32px)); padding: 12px 24px 16px; }
.hub-menu-mini { min-height: 0; } .hub-menu-mini .hub-item { font-size: clamp(44px, 10vw, 72px); padding: 12px 0; animation-duration: .5s; animation-delay: calc(var(--i, 0) * 60ms); }
.hub-menu-mini .hub-item.on { color: var(--texto); } .hub-menu-mini .hub-item-menor { font-size: clamp(22px, 5vw, 30px); color: var(--muted); padding: 14px 0 6px; } .hub-menu-mini .hub-item:first-child { border-top: 0; } .hub-menu-mini .hub-item:last-child { border-bottom: 0; }

/* área na linha da tarefa: menor e apagada */
.meta-area { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); }
/* dia todo: fora das caixas, com a bolinha "ao vivo" */
.dia-todo { display: flex; flex-direction: column; gap: 6px; margin: 0 4px 18px; }
.ao-vivo { display: flex; align-items: center; gap: 12px; color: var(--texto); padding: 6px 0; }
.ao-vivo-titulo { font-weight: 600; }
.pulso { position: relative; width: 10px; height: 10px; border-radius: 999px; background: var(--cor, var(--verde)); flex-shrink: 0; }
.pulso::after { content: ''; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--cor, var(--verde)); animation: pulso 1.6s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulso::after { animation: none; opacity: .4; } }
/* escolha de ícone da área */
.ico-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; margin-top: 10px; padding: 10px; background: var(--card-2); border-radius: var(--raio-2); }
.ico-op input { display: none; } .ico-op span { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 10px; color: var(--muted); cursor: pointer; transition: background 160ms, color 160ms, transform 200ms cubic-bezier(.34,1.4,.64,1); }
.ico-op span:hover { background: var(--card); color: var(--texto); } .ico-op input:checked + span { background: var(--verde-bg); color: var(--verde-txt); transform: scale(1.06); }

/* ficha dentro do modal */
dialog.modal.modal-ficha { width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; padding: 16px 20px 20px; }
.modal-ficha .ficha-tarefa { background: transparent; border: 0; padding: 0; box-shadow: none; }

@media (max-width: 700px) {
  .ft-pagina { padding: 28px 18px 28px 22px; font-size: 11pt; }
  .ft-personagem { padding-left: 38%; } .ft-parentetico { padding-left: 26%; padding-right: 14%; } .ft-fala { padding-left: 14%; padding-right: 8%; } .ft-letra { padding-left: 14%; }
}

.so-desktop { } @media (max-width: 900px) { .so-desktop { display: none !important; } }
/* botão flutuante (celular) — a mesma peça em todos os módulos */
.fab { display: none; position: fixed; right: 18px; bottom: calc(56px + env(safe-area-inset-bottom, 0px)); width: 68px; height: 68px; border-radius: 999px; border: 0; background: var(--verde); color: var(--verde-escuro); align-items: center; justify-content: center; box-shadow: 0 14px 34px -10px rgba(79,163,116,.75), 0 4px 12px rgba(0,0,0,.4); z-index: 50; cursor: pointer; transition: transform var(--dur-1) var(--ease-out); }
.fab:active { transform: scale(.92); } @media (max-width: 900px) { .fab { display: flex; } }

dialog.modal.modal-painel { width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; padding: 14px 18px 18px; } .modal-painel .card { background: transparent; border: 0; padding: 0; box-shadow: none; }

/* gramática do /it: mapa dos tempos, guia das partículas, prática */
.modo-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 8px; } .modo-cab .nome { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; } .modo-cab .nome i { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.celula-tempo { padding: 14px 16px; } .celula-tempo.rara { opacity: .7; } .celula-tempo summary { list-style: none; cursor: pointer; } .celula-tempo summary::-webkit-details-marker { display: none; } .celula-tempo[open] { border-color: var(--cor); }
.celula-cab { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; } .celula-cab .it { font-style: normal; font-weight: 600; color: var(--texto); } .celula-cab .it small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; }
.celula-tempo .forma { font-family: 'Courier Prime', 'Courier New', monospace; font-size: 17px; margin-top: 4px; } .celula-tempo .forma b { font-weight: 700; color: var(--cor); } .celula-tempo .uso { color: var(--muted); font-size: 13px; margin-top: 2px; }
.freq { display: inline-flex; gap: 3px; align-items: center; flex-shrink: 0; } .freq i { width: 6px; height: 6px; border-radius: 999px; background: var(--borda-2); display: inline-block; } .freq i.on { background: var(--muted); } .freq small { color: var(--muted-2); font-size: 11px; margin-left: 4px; }
.celula-tempo .conj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; font-family: 'Courier Prime', 'Courier New', monospace; font-size: 15px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--linha); } .celula-tempo .conj span { color: var(--muted); font-family: var(--sans); font-size: 12px; margin-right: 6px; } .celula-tempo .conj b { color: var(--cor); }
.opcoes-part { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } @media (min-width: 700px) { .opcoes-part { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opcao-part { background: var(--card); border: 1px solid var(--borda); border-radius: 14px; padding: 14px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; color: var(--texto); } .opcao-part .o { color: var(--muted); font-size: 13px; } .opcao-part .o em { color: var(--texto); font-style: normal; font-family: 'Courier Prime', monospace; } .opcao-part .p { font-family: 'Courier Prime', 'Courier New', monospace; font-size: 26px; font-weight: 700; color: var(--cor); letter-spacing: .02em; } .opcao-part.on { border-color: var(--cor); background: color-mix(in srgb, var(--cor) 10%, var(--card)); }
.par { display: grid; gap: 4px; font-family: 'Courier Prime', 'Courier New', monospace; font-size: 15px; } .par .sem { color: var(--muted); } .par .sem u { text-decoration: line-through; text-decoration-color: var(--muted); color: #e08a7c; } .par .com b { color: var(--verde-txt); } .par .pt { font-family: var(--sans); color: var(--muted); font-size: 13px; }
.regra { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; } .regra dt { color: var(--muted); } .regra dd { margin: 0; font-family: 'Courier Prime', 'Courier New', monospace; font-size: 14px; } .regra b { color: var(--verde-txt); }
.combos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-family: 'Courier Prime', 'Courier New', monospace; font-size: 15px; text-align: center; } .combos span { background: var(--card-2); border-radius: 8px; padding: 8px 4px; display: flex; flex-direction: column; } .combos span b { color: var(--verde-txt); } .combos small { font-family: var(--sans); color: var(--muted-2); font-size: 11px; }
.carta-pratica { padding: 20px 20px 22px; } .carta-pratica .tipo { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.frase-pratica { font-family: 'Courier Prime', 'Courier New', monospace; font-size: 21px; line-height: 1.4; margin: 10px 0 16px; } .frase-pratica .lacuna { display: inline-block; min-width: 56px; border-bottom: 2px solid var(--verde); vertical-align: baseline; }
.alt { display: grid; gap: 8px; } .alt button { text-align: left; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--borda-2); background: transparent; color: var(--texto); display: flex; justify-content: space-between; gap: 10px; cursor: pointer; } .alt button:hover { border-color: var(--verde); } .alt button span { color: var(--muted); font-size: 12px; }
.alt.linha { grid-template-columns: repeat(4, minmax(0, 1fr)); } .alt.linha button { justify-content: center; font-family: 'Courier Prime', 'Courier New', monospace; font-size: 18px; font-weight: 700; }
.resposta-pratica { font-family: 'Courier Prime', 'Courier New', monospace; font-size: 20px; height: 52px; }
.feedback { margin-bottom: 14px; } .feedback.certo { border-color: var(--verde); } .feedback.errado { border-color: var(--ambar); } .feedback .it { font-style: normal; font-family: 'Courier Prime', 'Courier New', monospace; }

/* unidades de gramática do /it: botões quadrados, duas colunas no celular */
.unidades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } @media (min-width: 700px) { .unidades { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 1100px) { .unidades { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.unidade { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; aspect-ratio: 1 / 1; padding: 14px; background: var(--card); border: 1px solid var(--borda); border-radius: 14px; color: var(--texto); min-width: 0; transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.unidade:hover { border-color: var(--verde); transform: translateY(-2px); }
.unidade-tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--verde-txt); font-weight: 600; min-height: 14px; }
.unidade-titulo { font-weight: 600; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.unidade-rodape { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); } .unidade-rodape > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.unidade.on { border-color: var(--verde); } .unidade-vocab .unidade-titulo { font-style: italic; color: var(--texto-2); }

/* modo companheiro do /it: janela estreita ao lado do Meet */
body.solo:has(.companheiro) { align-items: flex-start; } .solo-wrap:has(.companheiro) { max-width: 560px; padding: 14px 14px 40px; }
.companheiro { display: flex; flex-direction: column; gap: 12px; } .companheiro .card { padding: 14px 16px; }
.comp-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 2px; }
.comp-relogio { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.companheiro .editor.notas { min-height: 38vh; }

/* presença e chat da aula */
.presenca { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.presenca-pessoa { display: inline-flex; gap: 6px; align-items: center; } .presenca-pessoa .pulso { width: 8px; height: 8px; --cor: var(--borda-2); } .presenca-pessoa .pulso::after { display: none; }
.presenca-pessoa.online { color: var(--verde-txt); } .presenca-pessoa.online .pulso { --cor: var(--verde); } .presenca-pessoa.online .pulso::after { display: block; }
.chat-lista { display: flex; flex-direction: column; gap: 8px; max-height: 34vh; min-height: 90px; overflow-y: auto; padding: 4px 2px; }
.bolha { max-width: 82%; align-self: flex-start; background: var(--card-2); border-radius: 14px 14px 14px 4px; padding: 8px 12px; animation: subir 220ms var(--ease-out) both; }
.bolha.minha { align-self: flex-end; background: var(--verde-bg); border-radius: 14px 14px 4px 14px; } .bolha.minha .bolha-txt { color: var(--verde-txt); }
.bolha-txt { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; } .bolha-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; } .chat-form textarea { flex: 1; min-height: 40px; height: 40px; padding: 9px 12px; resize: none; font-size: 15px; }

/* sprint de fala */
.sprint-corpo { display: flex; gap: 16px; align-items: center; } .sprint-anel { position: relative; width: 120px; height: 120px; flex-shrink: 0; } .sprint-anel svg { display: block; }
.sprint-anel .frente { transition: stroke-dashoffset 1s linear; } #sprint.quase .sprint-anel .frente { stroke: var(--ambar); }
.sprint-tempo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
#sprint.rodando .sprint-tempo { color: var(--verde-txt); } #sprint.quase .sprint-tempo { color: var(--ambar-txt); animation: concluir 1s ease-in-out infinite; }
.sprint-lado { flex: 1; min-width: 0; } .sprint-tema { color: var(--texto-2); } .sprint-lista .it { font-size: 12px; }
@media (max-width: 420px) { .sprint-corpo { flex-direction: column; align-items: stretch; } .sprint-anel { margin: 0 auto; } }
button.chip { font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; } button.chip.chip-inv { color: var(--fundo); background: var(--texto); border-color: var(--texto); }

/* companheiro: botões quadrados que expandem */
.comp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.comp-tile { aspect-ratio: 1.15 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--card); border: 1px solid var(--borda); border-radius: 14px; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color var(--dur-2), color var(--dur-2), background var(--dur-2), transform var(--dur-1) var(--ease-out); }
.comp-tile:hover { color: var(--texto); border-color: var(--borda-2); } .comp-tile:active { transform: scale(.96); }
.comp-tile.on { background: var(--verde-bg); color: var(--verde-txt); border-color: var(--verde); }
.comp-painel { animation: subir 320ms var(--ease-out) both; } .comp-painel .card { border-color: var(--verde); }

/* companheiro largo: notas grandes à esquerda (o "doc" da aula), o resto à direita */
.comp-grid { display: flex; flex-direction: column; gap: 12px; } .comp-esq, .comp-dir { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.comp-grid .comp-dir { order: 1; } .comp-grid .comp-esq { order: 2; }
#comp-expandir.on { color: var(--verde-txt); border-color: var(--verde); }
body.comp-largo .solo-wrap:has(.companheiro) { max-width: 1440px; padding: 14px 20px 40px; }
body.comp-largo .comp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: 16px; }
body.comp-largo .comp-esq { order: 1; } body.comp-largo .comp-dir { order: 2; position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow-y: auto; }
body.comp-largo .companheiro .editor.notas { min-height: calc(100vh - 260px); font-size: 17px; line-height: 1.7; }
body.comp-largo .chat-lista { max-height: 30vh; }
@media (max-width: 900px) { body.comp-largo .comp-grid { display: flex; } body.comp-largo .comp-esq { order: 2; } body.comp-largo .comp-dir { order: 1; position: static; max-height: none; } body.comp-largo .companheiro .editor.notas { min-height: 38vh; } }
.notas h3 { font-family: var(--display); font-size: 20px; font-weight: 600; margin: 18px 0 6px; }
/* notas da aula em abas (Explicação / Exercício) e palavras da aula ao vivo no companheiro */
.abas { display: inline-flex; gap: 2px; background: var(--card-2); border-radius: 999px; padding: 3px; }
.aba { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background 200ms, color 200ms; }
.aba.on { background: var(--verde-bg); color: var(--verde-txt); } .aba:not(.on):hover { color: var(--texto); }
.aba .ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); display: inline-block; }
.aba-painel { animation: aba-entra 220ms ease both; } @keyframes aba-entra { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.palavras-vivas { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.palavras-vivas:empty:before { content: attr(data-vazio); color: var(--muted-2); font-size: 13px; }
.palavra-viva { display: inline-flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: var(--raio-2); background: var(--card-2); color: var(--texto); text-decoration: none; border: 1px solid transparent; transition: border-color 200ms, transform 200ms; }
.palavra-viva:hover { border-color: var(--verde); transform: translateY(-1px); }
.palavra-viva b { font-size: 16px; font-weight: 600; } .palavra-viva span { font-size: 12px; color: var(--muted); }
.palavra-viva.nova { animation: palavra-nova 900ms ease both; } @keyframes palavra-nova { 0% { transform: scale(0.85); background: var(--verde-bg); } 60% { transform: scale(1.04); } 100% { transform: none; } }
body.comp-largo .companheiro .palavra-viva b { font-size: 18px; }
/* notas ao vivo: cursor do outro, quem está em qual aba, caixa do exercício em outra cor */
.editor-wrap { position: relative; }
.cursor-outro { position: absolute; width: 2px; background: var(--cor, #e0a458); pointer-events: none; z-index: 2; transition: left 120ms ease, top 120ms ease, opacity 300ms; border-radius: 1px; }
.cursor-outro span { position: absolute; top: -17px; left: -1px; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; background: var(--cor, #e0a458); color: #14161a; padding: 1px 6px; border-radius: 5px 5px 5px 0; white-space: nowrap; line-height: 1.4; }
.cursor-outro.sumir { opacity: 0; }
.aba-quem { font-size: 10px; font-weight: 700; background: rgba(224, 164, 88, 0.2); color: #e0a458; padding: 1px 7px; border-radius: 999px; line-height: 1.5; } .aba-quem:empty { display: none; }
#aba-exercicio .editor { background: color-mix(in srgb, var(--campo) 88%, #e0a458); border-color: rgba(224, 164, 88, 0.35); } #aba-exercicio .editor:focus { border-color: #e0a458; }
.aba[data-aba="#aba-exercicio"].on { background: rgba(224, 164, 88, 0.18); color: #e0a458; } .aba .ponto { background: #e0a458; }
/* palavras da aula: editar / apagar */
.palavra-viva { position: relative; } .palavra-viva > a { display: flex; flex-direction: column; gap: 1px; color: inherit; text-decoration: none; }
.pv-acoes { position: absolute; top: -9px; right: -7px; display: flex; gap: 3px; opacity: 0; transition: opacity 150ms; }
.palavra-viva:hover .pv-acoes, .palavra-viva:focus-within .pv-acoes { opacity: 1; }
.pv-acoes button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--borda-2); background: var(--card); color: var(--muted); font: inherit; font-size: 13px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.pv-acoes button:hover { color: var(--texto); border-color: var(--verde); } .pv-acoes [data-apagar]:hover { color: #e57373; border-color: #e57373; }
@media (hover: none) { .pv-acoes { opacity: 1; } }
/* argomento da aula no topo do companheiro */
.comp-tema { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; outline: none; border-bottom: 1px dashed transparent; padding: 2px 0; min-height: 31px; word-break: break-word; cursor: text; transition: color 300ms, border-color 200ms; }
.comp-tema:hover { border-bottom-color: var(--borda-2); } .comp-tema:focus { border-bottom-color: var(--verde); }
.comp-tema:empty:before { content: attr(data-placeholder); color: var(--texto); } .comp-tema:focus:empty:before { color: var(--muted-2); }
.comp-tema.salvo { color: var(--verde-txt); }
.comp-relogio-mini { margin-left: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* escorregões: botão de erro, pisca, placar, castigo */
.comp-tile.tile-erro { color: #e08a7c; border-color: rgba(176, 74, 58, 0.5); } .comp-tile.tile-erro:hover { background: #2a1a17; color: #ff8a7a; } .comp-tile.tile-erro.on { background: #2a1a17; color: #ff8a7a; border-color: #b04a3a; }
.comp-tile.tile-erro.bateu { animation: bateu 400ms ease; } @keyframes bateu { 0% { transform: scale(1); } 30% { transform: scale(0.9); background: #b04a3a; color: #fff; } 100% { transform: scale(1); } }
.comp-painel #p-erro .card, .erro-card { border-color: rgba(176, 74, 58, 0.6); }
.erro-flash { position: fixed; inset: 0; z-index: 999; background: rgba(176, 74, 58, 0.62); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: clamp(40px, 9vw, 84px); font-weight: 700; letter-spacing: -0.02em; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); pointer-events: none; animation: erro-flash 1.1s ease both; }
@keyframes erro-flash { 0% { opacity: 0; } 12% { opacity: 1; } 35% { opacity: 0.25; } 55% { opacity: 1; } 100% { opacity: 0; } }
.placar { display: flex; flex-direction: column; gap: 7px; }
.placar-linha, .erro-barra { display: flex; align-items: center; gap: 10px; }
.placar-nome { font-size: 13px; color: var(--texto); min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .placar-nome::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cor, #999); margin-right: 8px; vertical-align: 1px; }
.erro-barra .placar-nome { flex: 0 0 170px; } .erro-barra .barra div { transition: width 500ms var(--ease-out); }
.placar-dots { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; } .placar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--borda-2); }
.placar-dot.on { background: #e08a7c; border-color: #e08a7c; } .placar-dot.extra { background: #ff5c5c; border-color: #ff5c5c; animation: dot-extra 1.2s ease-in-out infinite; } @keyframes dot-extra { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.placar-n { font-variant-numeric: tabular-nums; min-width: 18px; text-align: right; color: var(--muted); } .placar-linha.estourou .placar-n { color: #ff6b5c; }
.erro-pendente { background: #2a1a17; border: 1px solid rgba(176, 74, 58, 0.6); border-radius: var(--raio-2); padding: 12px; margin-bottom: 12px; animation: subir 300ms var(--ease-out) both; }
.erro-pendente .chip { border-color: var(--cor, var(--borda-2)); color: var(--texto); cursor: pointer; } .erro-pendente .chip:hover { background: var(--cor); color: #111; }
.pv-x { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--borda-2); background: transparent; color: var(--muted); font: inherit; font-size: 12px; line-height: 1; cursor: pointer; padding: 0; } .pv-x:hover { color: #e57373; border-color: #e57373; }
.castigo { position: fixed; inset: 0; z-index: 1000; background: rgba(22, 10, 8, 0.93); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; cursor: pointer; overflow: hidden; animation: aparecer 300ms ease both; }
.castigo.saindo { opacity: 0; transition: opacity 400ms; }
.castigo-titulo { font-family: var(--display); font-size: clamp(48px, 12vw, 110px); font-weight: 800; letter-spacing: -0.03em; color: #ff6b5c; line-height: 1; animation: castigo-pula 700ms var(--ease-out) both; }
.castigo-tipo { margin-top: 14px; font-size: 18px; color: #e08a7c; font-weight: 600; } .castigo-txt { margin-top: 10px; font-size: 22px; max-width: 520px; color: #fff; }
@keyframes castigo-pula { 0% { transform: scale(0.3) rotate(-8deg); opacity: 0; } 60% { transform: scale(1.12) rotate(2deg); opacity: 1; } 100% { transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
body.tremendo { animation: tremer 600ms ease; } @keyframes tremer { 0%, 100% { transform: none; } 15% { transform: translate(-8px, 2px) rotate(-0.6deg); } 30% { transform: translate(7px, -3px) rotate(0.5deg); } 45% { transform: translate(-6px, 3px); } 60% { transform: translate(5px, -2px); } 75% { transform: translate(-3px, 1px); } }
.limao { position: absolute; top: -50px; animation-name: cair; animation-timing-function: linear; animation-fill-mode: forwards; pointer-events: none; } @keyframes cair { to { transform: translateY(115vh) rotate(360deg); } }
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; } .tabela th { text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--borda); } .tabela td { padding: 8px; border-bottom: 1px solid var(--borda); }
