/* TESTA-ME (v1.6) */
.tm-open { display:block; width:100%; margin:0 0 14px; min-height:54px; border:0; border-radius:27px; background:#6D3DF0; color:#FFFFFF; font-family:'Nunito',sans-serif; font-size:18px; font-weight:900; box-shadow:0 5px 0 #4B1FC4; cursor:pointer; }
.fc-acoes .tm-open { width:auto; flex:0 0 auto; min-height:40px; margin:0 0 0 auto; padding:0 18px; border-radius:20px; font-size:15.5px; box-shadow:0 4px 0 #4B1FC4; }
#tm-ov { position:fixed; inset:0; z-index:430; background:#F1ECFF; display:none; overflow:auto; max-width:480px; margin:0 auto; }
#tm-ov.on { display:block; }
.tm-sub { margin:0; font-size:15px; font-weight:800; color:#4E5B73; }
.tm-row { display:flex; gap:8px; flex-wrap:wrap; }
.tm-chip.on { background:#6D3DF0; color:#FFFFFF; }
.tm-chip[hidden] { display:none; }
.tm-chip { border:0; border-radius:18px; padding:9px 14px; min-height:40px; background:#FFFFFF; color:#5B2FD6; font-family:'Nunito',sans-serif; font-size:14px; font-weight:900; box-shadow:0 3px 10px rgba(60,30,140,0.08); cursor:pointer; }
.tm-item { display:flex; align-items:flex-start; gap:12px; background:#FFFFFF; border-radius:18px; padding:12px 14px; box-shadow:0 4px 14px rgba(60,30,140,0.07); cursor:pointer; border:3px solid transparent; }
.tm-item.sel { border-color:#6D3DF0; }
.tm-box { flex:0 0 26px; height:26px; border-radius:8px; border:2px solid #B9A6F5; display:flex; align-items:center; justify-content:center; font-weight:900; color:#FFFFFF; }
.tm-item.sel .tm-box { background:#6D3DF0; border-color:#6D3DF0; }
.tm-item b { display:block; font-size:16px; color:#14213A; line-height:1.3; }
.tm-item small { font-size:12.5px; font-weight:800; color:#5B6577; }
.tm-item .tm-st { font-size:12px; font-weight:900; color:#C2410C; }
.tm-item .tm-st.ok { color:#0E7A4D; }
.tm-go { position:sticky; bottom:12px; border:0; border-radius:27px; min-height:56px; background:#FFD23F; color:#2B1E00; font-family:'Nunito',sans-serif; font-size:18px; font-weight:900; box-shadow:0 6px 0 #D9A300; cursor:pointer; }
.tm-go:disabled { opacity:0.5; cursor:default; }
.tm-prog { font-size:14px; font-weight:900; color:#5B2FD6; }
.tm-bar { height:8px; border-radius:4px; background:#E2D8FF; overflow:hidden; }
.tm-bar i { display:block; height:100%; background:#6D3DF0; border-radius:4px; }
.tm-q { background:#FFFFFF; border-radius:22px; padding:16px 18px; box-shadow:0 6px 18px rgba(60,30,140,0.08); }
.tm-q .tm-lbl { font-size:12.5px; font-weight:900; color:#5B6577; text-transform:uppercase; letter-spacing:0.06em; }
.tm-q p { margin:6px 0 0; font-size:18px; font-weight:800; color:#14213A; line-height:1.4; }
.tm-ans { width:100%; box-sizing:border-box; min-height:110px; border:2px solid #D9CCFF; border-radius:18px; padding:12px 14px; font-family:'Nunito',sans-serif; font-size:16px; color:#14213A; background:#FFFFFF; resize:vertical; }
.tm-ans:focus { outline:none; border-color:#6D3DF0; }
.tm-fb { border-radius:22px; padding:14px 16px; background:#FFFFFF; box-shadow:0 6px 18px rgba(60,30,140,0.08); border-left:8px solid #B9A6F5; }
.tm-fb.v-ok { border-left-color:#0E9F62; }
.tm-fb.v-quase { border-left-color:#E8A317; }
.tm-fb.v-nao { border-left-color:#F26B5B; }
.tm-fb h4 { margin:0 0 6px; font-size:18px; font-weight:900; color:#14213A; }
.tm-fb .tm-txt p { margin:0 0 8px; font-size:15px; color:#14213A; line-height:1.5; }
.tm-fb .tm-txt p.warn { font-size:12.5px; color:#5B6577; }
.tm-big { text-align:center; background:#FFFFFF; border-radius:22px; padding:18px; box-shadow:0 6px 18px rgba(60,30,140,0.08); }
.tm-big b { display:block; font-family:'Fredoka','Nunito',sans-serif; font-size:48px; color:#5B2FD6; line-height:1.1; }
.tm-big span { font-size:15px; font-weight:800; color:#4E5B73; }
.tm-res { display:flex; align-items:center; gap:10px; background:#FFFFFF; border-radius:16px; padding:10px 14px; font-size:15px; font-weight:800; color:#14213A; }
.tm-res i { font-style:normal; flex:0 0 auto; font-size:13px; font-weight:900; padding:4px 10px; border-radius:12px; }
.tm-res i.v-ok { background:#DDF6EA; color:#0E7A4D; } .tm-res i.v-quase { background:#FFF1CC; color:#7A5200; } .tm-res i.v-nao { background:#FFE3DF; color:#B42318; }
.tm-sec { border:0; background:transparent; color:#5B2FD6; font-family:'Nunito',sans-serif; font-size:16px; font-weight:900; min-height:44px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }

/* pastas no Põe-te à prova (27/10) */
.tm-pastas { display:flex; flex-direction:column; gap:10px; margin:6px 0 16px; }
.tm-pasta { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; text-align:left; background:#FFFFFF; border:2px solid #E4DDFB; border-radius:18px; padding:14px 16px; font-family:'Nunito',sans-serif; font-size:16px; font-weight:800; color:#14213A; cursor:pointer; box-shadow:0 4px 14px rgba(60,30,140,0.07); }
.tm-pasta small { font-size:13px; font-weight:700; color:#4B1FC4; white-space:nowrap; }
.tm-soltos { display:block; margin:4px 0 8px; }
.tm-pasta-hd { display:flex; align-items:center; gap:12px; margin:0 0 12px; flex-wrap:wrap; }
.tm-pasta-hd b { font-size:17px; }
#tm-ov .est-head .tm-inicio { margin-left:auto; }
@media (max-width: 389px) { .fc-acoes .tm-open { padding:0 13px; font-size:14.5px; } .fc-acoes { gap:6px; } .fc-acoes .fc-chip { padding:4px 8px; } }
