/* "Fiz os exercícios hoje" na ficha (12/11/2026, desenho aprovado: docs da maquete "fiz-hoje-desenho", parte 5): o
   bloco "Em casa" logo abaixo do "Enviado → Aberto" da prescrição, no padrão premium do app (kit.css): faixa clara com
   listras finas, ícone escuro, a faixa dos 14 dias nas cores do esforço do Guia do Aluno e a chave do lembrete.
   As regras começam por ".ec" para valer sobre as da lista ".pt-linha li span/small" (calendario.css). */
:root {
  --ec-tq: #3BA673; --ec-tq-fundo: #DFF3E8; --ec-tq-texto: #287A50;
  --ec-nm: #2A98A1; --ec-nm-fundo: #DCEEF0; --ec-nm-texto: #1F6E73;
  --ec-nl: #E0744F; --ec-nl-fundo: #FCE5DC; --ec-nl-texto: #A3462A;
  --ec-vazio: #E6EBF2; --ec-sem: #8EA0B8; --ec-lemb: #25D366;
}
.ec { grid-column: 1 / -1; position: relative; isolation: isolate; margin-top: 12px; padding: 14px 14px 12px; border: 1px solid #D5EEE2; border-radius: 18px;
  background: linear-gradient(90deg, #ECF9F3 0%, #F6FCF9 45%, #fff 80%); animation: ec-entra .4s var(--k-ease, ease) both; }
.ec::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(16, 185, 129, .09) 0 10px, transparent 10px 26px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 38%); mask-image: linear-gradient(90deg, #000, transparent 38%); }
.ec .ec-icone { width: 16px; height: 16px; flex: none; display: block; }
.ec .ec-topo { display: flex; align-items: center; gap: 12px; }
.ec .ec-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #14213D, #24396B); color: #6EE7B7; box-shadow: 0 10px 20px -12px rgba(20, 33, 61, .9); }
.ec .ec-ic .ec-icone { width: 22px; height: 22px; }
.ec .ec-topo small { display: block; font: 750 12px var(--sans); color: #2F6B55; }
.ec .ec-topo b { display: block; font: 800 19px/1.2 var(--sans); color: #14213D; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ec .ec-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; font: 700 12.5px var(--sans); color: #4A5875; }
.ec .ec-pilula { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 6px; border-radius: 99px; font: 800 12px var(--sans); }
.ec .ec-pilula .ec-icone { width: 15px; height: 15px; }
.ec .ec-pilula.tranquilo { background: var(--ec-tq-fundo); color: var(--ec-tq-texto); }
.ec .ec-pilula.na_medida { background: var(--ec-nm-fundo); color: var(--ec-nm-texto); }
.ec .ec-pilula.no_limite { background: var(--ec-nl-fundo); color: var(--ec-nl-texto); }

/* Os últimos 14 dias (as segundas abrem a semana com um respiro; a dica é a do kit: data-dica) */
.ec .ec-dias { display: flex; gap: 4px; margin-top: 22px; }
.ec .ec-c { position: relative; flex: 1 1 0; min-width: 0; text-align: center; border-radius: 7px; cursor: default; outline: none; }
.ec .ec-c.ec-segunda { margin-left: 6px; }
.ec .ec-c i { display: block; height: 26px; border-radius: 6px; background: var(--ec-vazio); transition: box-shadow var(--k-rapido, 170ms) var(--k-ease, ease); }
.ec .ec-c i.tranquilo { background: var(--ec-tq); } .ec .ec-c i.na_medida { background: var(--ec-nm); } .ec .ec-c i.no_limite { background: var(--ec-nl); }
.ec .ec-c i.sem-esforco { background: var(--ec-sem); }
.ec .ec-c.hoje i:not([class]), .ec .ec-c.hoje i[class=""] { background: #fff; box-shadow: inset 0 0 0 1.5px #9AA8C4; }
.ec .ec-c.antes i { background: transparent; box-shadow: inset 0 0 0 1px #D5DCE6; }
.ec .ec-c small { display: block; margin-top: 4px; font: 500 10px var(--mono, ui-monospace, monospace); color: #5B6781; font-variant-numeric: tabular-nums; }
.ec .ec-c.hoje small { color: #14213D; font-weight: 700; }
.ec .ec-c .lemb { position: absolute; top: -12px; left: 50%; margin-left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ec-lemb); box-shadow: 0 0 0 2px #fff; }
.ec .ec-c:hover i, .ec .ec-c:focus-visible i { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #14213D; }
.ec .ec-c[data-dica]::after { bottom: calc(100% + 16px); }
/* Nas pontas, a dica não sai do bloco */
.ec .ec-c[data-dica]:nth-child(-n + 3)::after { left: 0; transform: translate(0, 4px); }
.ec .ec-c[data-dica]:nth-last-child(-n + 3)::after { left: auto; right: 0; transform: translate(0, 4px); }
.ec .ec-c[data-dica]:nth-child(-n + 3):is(:hover, :focus-visible)::after, .ec .ec-c[data-dica]:nth-last-child(-n + 3):is(:hover, :focus-visible)::after { transform: translate(0, 0); }

.ec .ec-leg { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font: 700 11.5px var(--sans); color: #4A5875; }
.ec .ec-leg span { display: inline-flex; align-items: center; gap: 5px; color: #4A5875; }
.ec .ec-leg i { width: 9px; height: 9px; border-radius: 3px; background: var(--ec-vazio); box-shadow: inset 0 0 0 1px #CDD5E2; }
.ec .ec-leg i[class] { box-shadow: none; }
.ec .ec-leg i.tranquilo { background: var(--ec-tq); } .ec .ec-leg i.na_medida { background: var(--ec-nm); } .ec .ec-leg i.no_limite { background: var(--ec-nl); }
.ec .ec-leg i.sem-esforco { background: var(--ec-sem); }
.ec .ec-leg i.lemb { width: 8px; height: 8px; border-radius: 50%; background: var(--ec-lemb); }

/* A chave do lembrete */
.ec .ec-lemb { display: grid; grid-template-columns: 30px 1fr auto; gap: 1px 10px; align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid #E3EEE8; }
.ec .ec-wa { grid-row: 1 / 3; align-self: start; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #E3F7EC; color: #1A8A47; }
.ec .ec-lemb > b { font: 750 13px var(--sans); color: #14213D; }
.ec .ec-lemb > small { grid-column: 2 / -1; font: 600 12px/1.4 var(--sans); color: #4A5875; }
.ec .ec-chave { gap: 7px; font: 750 12.5px var(--sans); color: #4A5875; }
.ec .ec-chave span { width: 36px; height: 21px; }
.ec .ec-chave span::after { top: 3px; left: 3px; width: 15px; height: 15px; }
.ec .ec-chave input:checked + span::after { left: 18px; }
.ec .ec-chave input:checked ~ em { color: #047857; }
.ec .ec-chave em { font-style: normal; }
.ec .ec-chave input:disabled + span { opacity: .6; }
@keyframes ec-entra { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .ec, .ec .ec-c i { animation: none; transition: none; } }
