.teacher-live{max-width:920px;margin:auto}.teacher-live .tl-card{padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;margin:18px 0}.teacher-live .field{display:flex;flex-direction:column;gap:8px;margin:18px 0;min-width:0}.teacher-live input:not([type=checkbox]),.teacher-live textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;border:1px solid var(--line);border-radius:12px;padding:12px}.teacher-live textarea{min-height:150px;resize:vertical}.teacher-live .tl-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.teacher-live .tl-summary{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.teacher-live .tl-summary b,.teacher-live .tl-file{min-width:0;overflow-wrap:anywhere}.teacher-live .tl-note{padding:16px;background:var(--soft);border-radius:14px;line-height:1.6}.teacher-live .tl-steps{display:flex;gap:16px;flex-wrap:wrap;margin:18px 0}.teacher-live .tl-steps [aria-current=step]{font-weight:800;color:var(--crimson)}.teacher-live .tl-score{max-width:110px}.teacher-live .tl-result{white-space:pre-wrap;overflow-wrap:anywhere}.teacher-live .tl-status{min-height:24px;color:var(--crimson)}.tl-home{margin:18px 0;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--soft)}.tl-home svg{width:36px;height:36px;stroke:var(--crimson);fill:none;stroke-width:1.8}.teacher-live button:focus-visible{outline:3px solid var(--crimson);outline-offset:3px}@media(max-width:600px){.teacher-live .tl-card{padding:18px}.teacher-live .tl-actions>.btn{flex:1 1 160px}.teacher-live .tl-summary{grid-template-columns:75px minmax(0,1fr)}}

.tl-loading-ring{width:96px;height:96px;margin:16px auto 24px;border:9px solid #f1dada;border-top-color:#991d1f;border-radius:50%;animation:tl-spin 1s linear infinite}@keyframes tl-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tl-loading-ring{animation:none}}

.teacher-live .tl-confirm{display:flex;align-items:center;gap:14px;margin:22px 0;padding:18px;min-height:64px;border:2px solid #991d1f;border-radius:14px;background:#fff4f2;color:#681719;font-weight:700;line-height:1.45;cursor:pointer}.teacher-live .tl-confirm input[type=checkbox]{flex:0 0 26px;width:26px;height:26px;margin:0;accent-color:#991d1f}.teacher-live .tl-confirm:has(input:checked){background:#eef7ef;border-color:#397048;color:#214b2c}.teacher-live .tl-confirm:focus-within{outline:3px solid #c88d8e;outline-offset:3px}

.tl-result-header{padding-bottom:16px}.tl-saved{padding:14px 18px;background:#eef7ef;color:#214b2c;border:1px solid #90b69a;border-radius:12px}.tl-result-section{border-top:1px solid #e5dfdc;padding:20px 0}.tl-competency{border:1px solid #e5dfdc;border-radius:12px;margin:10px 0;padding:14px}.tl-competency summary{cursor:pointer}.tl-competency summary strong{float:right}.tl-result-actions{display:grid;gap:12px;margin:22px 0}.teacher-live .tl-result-actions .btn{width:100%;min-height:52px;border:1px solid #d6c9c7;border-radius:14px;padding:14px;background:#fff;color:#821b1c;font:inherit;font-weight:700}.teacher-live .tl-result-actions .btn.primary{background:#871b1c;color:white;border-color:#871b1c}.teacher-live .tl-result-actions .btn:disabled{opacity:.5;cursor:not-allowed}.tl-secondary-actions{border-top:1px solid #e5dfdc;padding-top:18px}.tl-secondary-actions summary{cursor:pointer;font-weight:600;color:#6f6967}

/* Shared controls: no browser-default buttons inside the Ao Vivo flow. */
.teacher-live{--tl-red:#851c1d;--tl-border:#e5ddda;--tl-muted:#746d69}
.teacher-live .btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:11px 17px;border:1px solid #d9ceca;border-radius:12px;background:#fff;color:var(--tl-red);box-shadow:none;font:inherit;font-size:15px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
.teacher-live .btn:hover{background:#faf3f1;border-color:#ba9690}.teacher-live .btn.primary{background:var(--tl-red);border-color:var(--tl-red);color:#fff}.teacher-live .btn.primary:hover{background:#6e1718}.teacher-live .btn:disabled{opacity:.5;cursor:not-allowed}
.teacher-live .tl-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:#fffafa;border:1px solid #e8d9d6;border-radius:16px;overflow:hidden}.teacher-live .tl-nav .btn{min-height:54px;padding:12px 16px;border:0;border-radius:12px;background:transparent;color:#8b1c1c;font-size:16px;font-weight:800}.teacher-live .tl-nav .btn:hover{background:#fff2ef}.teacher-live .tl-nav .btn[aria-current=page]{background:#8b1c1c;color:#fff;box-shadow:0 5px 16px rgba(139,28,28,.16)}
.teacher-live .tl-list{padding:24px}.tl-list-heading h2{margin:0 0 8px;font-size:26px;line-height:1.25;letter-spacing:-.025em}.tl-list-heading>p{margin:0 0 24px;color:var(--tl-muted);font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.tl-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px}.tl-table th{text-align:left;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--tl-muted);background:#faf7f5;padding:12px 14px;border-bottom:1px solid var(--tl-border)}.tl-table th:first-child{width:51%}.tl-table th:nth-child(2){width:16%}.tl-table td{padding:20px 14px;border-bottom:1px solid var(--tl-border);vertical-align:top;overflow-wrap:anywhere}.tl-item-name{display:block;font-size:17px;font-weight:700;line-height:1.4;color:#302925;overflow-wrap:anywhere}.tl-item-school{display:block;color:var(--tl-muted);font-size:13px;margin-top:4px}.tl-item-theme{margin:8px 0 0;color:#625a56;font-size:14px;line-height:1.55;overflow-wrap:anywhere}.tl-date{font-size:13px;color:var(--tl-muted)}.tl-row-actions{display:flex;flex-wrap:wrap;gap:6px}.teacher-live .tl-row-actions .btn{font-size:13px;padding:9px 12px;min-height:40px}.teacher-live .tl-text-button{background:transparent;border-color:transparent}.teacher-live .tl-danger{color:#a32124}.teacher-live .tl-danger:hover{background:#fff0ee;border-color:#d69d98}.tl-muted{color:var(--tl-muted);font-size:14px;line-height:1.6}.tl-badge{display:inline-block;background:#f4eeeb;border-radius:6px;padding:4px 8px;margin-top:10px;font-size:12px;color:#76655d;font-weight:600}.tl-empty{padding:36px 12px;text-align:center;color:var(--tl-muted);line-height:1.6}.tl-editor{padding:20px;margin:16px 0 24px;border:1px solid #c69e97;background:#fdf8f6;border-radius:16px}.tl-editor h3{margin:0 0 12px}.tl-editor p{line-height:1.6}.tl-version-list{display:grid;gap:12px}.tl-version{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--tl-border);border-radius:14px;padding:18px}.tl-version>div{min-width:0}.tl-version p{margin:5px 0}.tl-version .btn{flex-shrink:0}
@media(max-width:640px){.teacher-live .tl-list{padding:18px}.tl-list-heading h2{font-size:23px}.teacher-live .tl-nav .btn{font-size:14px;min-height:54px;padding:10px 6px}.tl-table,.tl-table tbody,.tl-table tr,.tl-table td{display:block;width:100%;box-sizing:border-box}.tl-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tl-table tr{padding:18px 0;border-top:1px solid var(--tl-border)}.tl-table td{border:0;padding:0}.tl-table .tl-date{padding:12px 0}.tl-date:before{content:attr(data-label) ' · '}.tl-row-actions{padding-top:3px}.teacher-live .tl-row-actions .btn{min-height:44px;padding:10px 14px}.tl-item-theme{font-size:14px}.teacher-live .tl-actions>.btn{flex:1 1 130px}.tl-version{align-items:flex-start;flex-wrap:wrap}.tl-editor{padding:16px}}

/* Padrão permanente: docs/padrao-interface.md. Referência visual: Propostas. */
.live-nav-group{border-bottom:1px solid var(--line);padding:5px 0}.live-nav-group summary{cursor:pointer;padding:12px 10px;font-weight:700;color:#8b1c1c}.live-nav-group button{padding-left:28px!important;font-size:14px}.live-nav-group summary:focus-visible{outline:2px solid #8b1c1c;outline-offset:2px}

.teacher-live .tl-evidence{margin-top:24px}.teacher-live .tl-evidence-card{margin:12px 0;padding:18px;border:1px solid var(--tl-border);border-radius:16px;background:#fff}.teacher-live .tl-evidence-card h4{margin:0 0 16px;color:#8b1c1c}.teacher-live .tl-evidence-field{margin:14px 0;overflow-wrap:anywhere}.teacher-live .tl-evidence-field strong{display:block;font-size:14px;color:#625a56}.teacher-live .tl-evidence-field p{margin:5px 0 0;white-space:pre-wrap;line-height:1.6}.teacher-live .tl-evidence li{margin:10px 0;line-height:1.6}

.student-live-offer{background:#fffafa;border:1px solid #e8d9d6;border-radius:16px;padding:28px}.student-live-eyebrow{display:block;color:#8b1c1c;font-size:13px;font-weight:800;letter-spacing:.03em;margin-bottom:10px}.student-live-offer h2{font-size:clamp(24px,3vw,34px);line-height:1.2;max-width:760px;margin:0 0 14px;color:#8b1c1c}.student-live-offer p{line-height:1.65;max-width:760px}.student-live-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;list-style:none;margin:22px 0}.student-live-benefits li{padding:16px;background:#fff;border:1px solid #e8d9d6;border-radius:12px;line-height:1.5}.student-live-offer-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 12px}.student-live-offer small,.student-credit-page small{display:block;color:#6d5757;line-height:1.5}.student-live-offer-meta{font-size:14px;color:#6d5757}.student-credit-balance{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin:22px 0}.student-credit-balance strong{color:#8b1c1c;font-size:24px}.student-credit-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:16px}.student-credit-package{padding:22px;border:1px solid #e8d9d6;border-radius:16px;background:#fffafa}.student-credit-package>strong{font-size:32px;color:#8b1c1c}.student-credit-package ul{padding-left:20px;line-height:1.7}.student-credit-package .btn{width:100%}@media(max-width:700px){.student-live-offer{padding:20px}.student-live-benefits{grid-template-columns:1fr}.student-live-offer-actions>.btn{width:100%;white-space:normal}.student-credit-package{padding:18px}}

.tl-processing{text-align:center}.tl-processing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:26px 0}.tl-processing-steps li{display:flex;flex-direction:column;align-items:center;gap:9px;color:#776c6a;font-size:14px}.tl-processing-steps li>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eee6e4;font-weight:800}.tl-processing-steps .is-current{color:#8b1c1c}.tl-processing-steps .is-current>span{background:#8b1c1c;color:#fff}.tl-processing-steps .is-done>span{background:#e4f5ea;color:#26734b}.tl-elapsed{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap}.tl-elapsed strong{font-size:28px;color:#8b1c1c;font-variant-numeric:tabular-nums}.tl-total-score{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin:22px 0}.tl-total-score>strong{font-size:48px;line-height:1;color:#8b1c1c}.tl-total-score>span{color:#6d5757}.tl-competency-card{padding:18px;border:1px solid #e8d9d6;border-radius:16px;margin:12px 0;background:#fffafa}.tl-competency-card h3{display:flex;justify-content:space-between;gap:16px;margin:0 0 10px}.tl-competency-card h3 strong{color:#8b1c1c}.tl-competency-card p{margin:0;line-height:1.6}@media(max-width:480px){.tl-processing-steps{gap:6px}.tl-processing-steps li{font-size:12px}.tl-total-score>strong{font-size:40px}}@media(prefers-reduced-motion:reduce){.tl-loading-ring{animation:none}}

/* Menu do professor aprovado: grupos com chevron, ícones e créditos em destaque. */
#nav .teacher-nav-icon{width:22px;height:22px;flex:0 0 22px}
#nav .teacher-nav-group{border:0;padding:3px 0}
#nav .teacher-nav-group summary,#nav>button:has(.teacher-nav-icon){display:flex;align-items:center;gap:12px;text-align:left}
#nav .teacher-nav-group summary{list-style:none;cursor:pointer;padding:12px 10px;color:var(--text,#242424);font-weight:700}
#nav .teacher-nav-group summary::-webkit-details-marker{display:none}
#nav .teacher-nav-group summary:after{content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);margin-left:auto;margin-right:4px}
#nav .teacher-nav-group[open] summary:after{transform:rotate(45deg)}
#nav .teacher-nav-group button{padding-left:44px!important;font-size:14px}
#nav .teacher-nav-group summary:focus-visible{outline:2px solid #8b1c1c;outline-offset:-2px;border-radius:10px}
#nav .teacher-credit-button{border:2px solid #8b1c1c!important;background:#fff3f2;color:#8b1c1c;font-weight:800;margin-top:18px;min-height:58px;border-radius:12px;white-space:normal}
#nav .teacher-credit-button.active{background:#8b1c1c;color:white}
#tlDeviationEditor .tl-evidence-card:has(input:checked){border-style:dashed;background:#f6f4f3}
#tlDeviationEditor textarea{width:100%;min-height:80px}
.teacher-live .tl-search{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 20px}.teacher-live .tl-search .field{flex:1 1 220px;margin:0}.teacher-live .tl-search .btn{min-height:44px;margin-bottom:0}
