/* plg_content_totalizadores — estilos encapsulados en .tf-tot */
.tf-tot{--brand:#33CC99;--brand-dark:#137653;--brand-pale:#e9faf3;--ink:#18352b;--muted:#65776f;--line:#dce9e2;--bg:#f4f8f6;--white:#fff;--warn:#8a5a12;--warnbg:#fff5df;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;border-radius:18px;overflow:hidden;margin:1em 0}
.tf-tot *{box-sizing:border-box}
.tf-tot .tf-header{background:linear-gradient(120deg,#17865f,var(--brand));color:#073c2a;padding:34px 20px 30px}
.tf-tot .tf-wrap,.tf-tot .tf-main{max-width:1120px;margin:auto}
.tf-tot .kicker{font-size:.76em;font-weight:800;letter-spacing:.13em;text-transform:uppercase;opacity:.85}
.tf-tot .tf-title{font-size:clamp(1.8em,4vw,2.65em);line-height:1.1;margin:9px 0 8px;font-weight:850;color:inherit;border:0;padding:0}
.tf-tot .tf-header p{margin:0;max-width:650px;color:#104b36}
.tf-tot .tf-main{padding:24px 18px 40px}
.tf-tot .panel{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 8px 28px #153c2910}
.tf-tot .filters{display:grid;grid-template-columns:minmax(240px,2fr) 1fr 1fr auto;gap:10px}
.tf-tot .field label{display:block;font-size:.76em;font-weight:750;color:var(--muted);margin:0 0 5px 3px}
.tf-tot input,.tf-tot select,.tf-tot button{width:100%;font:inherit;border:1px solid var(--line);border-radius:11px;padding:11px 12px;background:#fff;color:var(--ink);outline:none;height:auto;margin:0;max-width:none}
.tf-tot input:focus,.tf-tot select:focus{border-color:var(--brand-dark);box-shadow:0 0 0 3px #33cc9933}
.tf-tot .clear{align-self:end;background:var(--brand-pale);border-color:#b9ead5;color:var(--brand-dark);font-weight:750;cursor:pointer}
.tf-tot .stats{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.9em;margin:15px 3px 8px}
.tf-tot .stats strong{color:var(--ink)}
.tf-tot .daygroup{margin:25px 0}
.tf-tot .dayheading{display:flex;align-items:center;gap:12px;margin-bottom:11px}
.tf-tot .dayheading h3{font-size:1.12em;margin:0;color:var(--ink);font-weight:700}
.tf-tot .date{font-size:.86em;color:var(--muted)}
.tf-tot .rule{height:1px;background:var(--line);flex:1}
.tf-tot .examlist{display:grid;gap:10px}
.tf-tot .exam{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:14px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px;transition:box-shadow .15s,border-color .15s}
.tf-tot .exam:hover{border-color:#a8dfc7;box-shadow:0 5px 18px #153c2910}
.tf-tot .time{font-size:1.15em;font-weight:850;color:var(--brand-dark);font-variant-numeric:tabular-nums;padding-top:1px}
.tf-tot .course{font-size:1em;font-weight:780;line-height:1.35}
.tf-tot .codes{color:var(--muted);font-size:.83em;margin-top:5px}
.tf-tot .dept{display:inline-block;background:var(--brand-pale);border:1px solid #c6efdc;color:var(--brand-dark);font-size:.76em;font-weight:750;padding:5px 9px;border-radius:999px;white-space:nowrap}
.tf-tot .meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.tf-tot .tag{font-size:.75em;border-radius:6px;padding:3px 7px;background:#f1f5f2;color:#506158}
.tf-tot .tag.warning{background:var(--warnbg);color:var(--warn)}
.tf-tot details{margin-top:10px;border-top:1px solid #edf2ee;padding-top:8px}
.tf-tot summary{font-size:.82em;font-weight:700;color:var(--brand-dark);cursor:pointer}
.tf-tot .tribunal{font-size:.86em;color:#40574c;margin-top:7px}
.tf-tot .empty,.tf-tot .error{padding:30px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
@media(max-width:760px){.tf-tot .filters{grid-template-columns:1fr 1fr}.tf-tot .field.search,.tf-tot .clear{grid-column:1/-1}.tf-tot .exam{grid-template-columns:66px minmax(0,1fr)}.tf-tot .dept{grid-column:2;justify-self:start}.tf-tot .time{font-size:1.05em}}
@media(max-width:430px){.tf-tot .tf-main{padding:16px 11px 30px}.tf-tot .tf-header{padding:27px 16px}.tf-tot .panel{padding:12px}.tf-tot .filters{grid-template-columns:1fr}.tf-tot .field.search,.tf-tot .clear{grid-column:auto}.tf-tot .exam{padding:12px;gap:8px}}
