/* Apoio ao Professor v5.10 — disponibilidade evidente e acessível.
   Escopo exclusivo da etapa Professores. Complementa a v5.9. */
.v510-av{display:flex;flex-direction:column;gap:13px;padding:15px 16px;border:1px solid #d7e6e8;border-radius:13px;background:#fff;color:#153a52}
.v510-av-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.v510-av-head h4{font-size:1.03rem;font-weight:850;margin:0;color:#103756}
.v510-av-head p{font-size:.8rem;color:#6a8193;margin:3px 0 0}
.v510-av-head>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e5f4f0;color:#117469;flex:none;font-size:1.15rem}
.v510-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.v510-choice{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #d9e5ec;border-radius:10px;cursor:pointer;background:#fff;transition:background .1s,border-color .1s;min-width:0}
.v510-choice.is-selected{background:#eaf8f3;border-color:#41a89a;box-shadow:inset 3px 0 0 #158779}
.v510-choice input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:#128579;cursor:pointer}
.v510-choice span{display:flex;flex-direction:column;gap:4px;min-width:0}
.v510-choice strong{font-size:.83rem;line-height:1.4;color:#123957}
.v510-choice small{font-size:.74rem;color:#657f91;line-height:1.45}
.v510-choice:focus-within{outline:2px solid #157e73;outline-offset:2px}
.v510-details{display:flex;flex-direction:column;gap:11px;padding:13px;border:1px solid #d4e5ec;border-radius:10px;background:#f8fcfd}
.v510-howto strong{font-size:.85rem;color:#143b57}
.v510-howto p{font-size:.78rem;color:#647f91;margin:4px 0 0}
.v510-quickbar{display:flex;flex-direction:column;gap:7px}
.v510-quick-title{font-size:.79rem;font-weight:800;color:#17455e}
.v510-day-actions{display:flex;flex-wrap:wrap;gap:6px}
.v510-day-btn{min-height:33px;padding:7px 10px;border-radius:8px;border:1px solid #ccdee6;background:#fff;color:#22445c;font-size:.73rem;font-weight:750;cursor:pointer;white-space:nowrap}
.v510-day-btn>span{font-size:.9rem;color:#0f8a7a}
.v510-day-btn.is-blocked{border-color:#dfb4ad;background:#fff0ed;color:#a83e38}
.v510-day-btn.is-blocked>span{color:#b44d40}
.v510-day-btn:hover:not(:disabled){border-color:#0f897c;background:#eef7f5}
.v510-day-btn:focus-visible{outline:2px solid #0f897c;outline-offset:2px}
.v510-day-btn:disabled{opacity:.6;cursor:not-allowed}
.v510-av-table{min-width:590px}
.v510-av-table tbody th{min-width:85px;width:85px;vertical-align:middle}
.v510-av-table tbody th strong{font-weight:850;font-size:.78rem}
.v510-av-table .v59-slot{min-height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:5px 3px;font-size:.7rem}
.v510-av-table .v510-ordinal{font-size:.73rem;font-weight:850;line-height:1.35}
.v510-av-table .v510-state{font-size:.66rem;line-height:1.4;font-weight:700}
.v510-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:.77rem;color:#44657c}
.v510-legend>span{display:flex;align-items:center;gap:5px}
.v510-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#0d8f71}
.v510-dot.is-red{background:#c74747}
.v510-legend>.btn{margin-left:auto;min-height:31px}
.v510-summary{border-radius:10px;background:#edf7f4;border:1px solid #cce7dc;padding:12px 13px}
.v510-summary-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.v510-summary-top strong{font-size:.82rem;color:#116c60}
.v510-summary-top span{font-size:.77rem;color:#466e6a}
.v510-summary p{margin:6px 0 0;font-size:.75rem;line-height:1.5;color:#416e68}
.v510-summary .v510-unmatched{color:#9b5724}
.v510-edit-confirm{display:flex;align-items:center;gap:12px;border:1px solid #d1e9df;border-radius:11px;background:#eff8f5;padding:11px 13px}
.v510-edit-confirm>span{font-size:1rem;font-weight:850;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#c9eee1;color:#147163;flex:none}
.v510-edit-confirm.is-pending{background:#fff8e9;border-color:#f2d7a7}
.v510-edit-confirm.is-pending>span{background:#fae4bc;color:#955d11}
.v510-edit-confirm>div{flex:1;min-width:0}
.v510-edit-confirm strong{font-size:.81rem;color:#173957}
.v510-edit-confirm p{font-size:.74rem;color:#627e8d;line-height:1.45;margin:2px 0 0}
.v510-edit-confirm>.btn{flex:none}
@media(max-width:960px){.v510-choices{grid-template-columns:1fr}.v510-av{padding:12px}.v510-edit-confirm{flex-wrap:wrap}.v510-edit-confirm>.btn{width:100%}}
@media(max-width:600px){.v510-av-head h4{font-size:.93rem}.v510-day-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.v510-day-btn{white-space:normal}.v510-legend .btn{width:100%;margin:4px 0 0}.v510-details{padding:9px}.v510-choices{gap:7px}.v510-choice{padding:10px}}
@media(prefers-reduced-motion:reduce){.v510-choice{transition:none}}
@media print{.v510-day-actions,.v510-legend>.btn,.v510-choices{display:none}}

.v510-mobile-tip{display:none;font-size:.73rem;font-weight:700;color:#516f80}
@media(max-width:710px){.v510-mobile-tip{display:block}}
