/* Player compacto SINUS — branco, verde, 1 video + fila na propria materia */
.sxAVP{background:#fff;border:1px solid #dbe9e0;border-radius:18px;padding:19px 20px;margin:0;color:#224a36;box-shadow:0 7px 30px rgba(24,73,48,.035)}
.sxAVPHead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 15px}
.sxAVPHead small{font-size:10px;letter-spacing:.13em;font-weight:800;color:#55896d}
.sxAVPHead h2{font-size:21px;line-height:1.18;margin:5px 0;color:#19462f;font-weight:800;letter-spacing:-.035em}
.sxAVPHead p{font-size:12px;color:#688375;line-height:1.5;margin:0}
.sxAVPHead>span{flex-shrink:0;border-radius:10px;padding:9px 12px;color:#30704b;background:#edf7f0;font-size:11px;font-weight:650}
.sxAVPTools{display:grid;grid-template-columns:minmax(140px,1fr) minmax(145px,.8fr) minmax(190px,1.5fr);gap:10px;margin-bottom:12px}
.sxAVPTools label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:750;color:#688473}
.sxAVPTools select,.sxAVPTools input{height:39px;width:100%;min-width:0;padding:0 11px;background:#f9fbfa;border:1px solid #dbe7df;border-radius:10px;color:#234c35;font-family:inherit;font-size:12px;outline:none}
.sxAVPTools select:focus-visible,.sxAVPTools input:focus-visible{border-color:#39845c;box-shadow:0 0 0 3px #39845c26}
.sxAVPGrid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.85fr);gap:13px;align-items:stretch}
.sxAVPMain{min-width:0;border:1px solid #e1eae4;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;background:#f9fcfa}
.sxAVPScreen{aspect-ratio:16/9;background:#10281f;width:100%;min-height:0}
.sxAVPScreen iframe{width:100%;height:100%;border:0;display:block}
.sxAVPPlaceholder{height:100%;min-height:240px;display:grid;place-items:center;text-align:center;padding:30px;color:#738b7d;font-size:13px;background:#f7faf8}
.sxAVPFoot{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:12px 13px;min-height:54px}
.sxAVPFoot strong{font-size:12px;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.sxAVPFoot a{font-size:11px;color:#236745;font-weight:700;white-space:nowrap;text-decoration:none}
.sxAVPFoot a[hidden]{display:none}
.sxAVPQueue{min-width:0;border:1px solid #deebe2;border-radius:13px;background:#f9fcfa;overflow-y:auto;max-height:460px}
.sxAVPQueueHead{position:sticky;top:0;z-index:1;background:#f2f7f3;border-bottom:1px solid #e0eae2;padding:12px;font-size:11px;font-weight:750;color:#497358}
.sxAVPItem{display:flex;align-items:start;width:100%;gap:10px;padding:11px 10px;border:0;border-bottom:1px solid #edf2ee;color:#2b4f39;background:transparent;text-align:left;cursor:pointer;font-family:inherit}
.sxAVPItem:hover{background:#eaf6ed}
.sxAVPItem.active{background:#e2f2e8;box-shadow:inset 3px 0 #2c8b57}
.sxAVPIndex{min-width:24px;flex:0 0 24px;color:#86a18d;font-size:10px;line-height:1.6;font-variant-numeric:tabular-nums;font-weight:700}
.sxAVPItemCopy{flex:1;min-width:0}
.sxAVPItemCopy b{font-size:12px;line-height:1.4;display:block;overflow-wrap:anywhere}
.sxAVPItemCopy small{font-size:10px;color:#799481;line-height:1.5;display:block;margin-top:3px}
.sxAVPPlay{align-self:center;color:#377756;font-size:10px}
.sxAVPEmpty{padding:17px;color:#77917e;font-size:12px}
.sxAVPQueue [data-sx-avp-more] button{width:calc(100% - 20px);margin:10px;border:1px solid #cfe3d4;border-radius:9px;background:#e9f6ed;color:#2b6844;padding:10px;cursor:pointer;font-size:11px}
.sxAVPSource{margin-top:12px;color:#91a397;font-size:10px}
.sxAVPSource a{color:#44785a;text-decoration:underline;text-underline-offset:2px}
.sxAcademicOrdered:has(> .sxAVP) .sxCourseMedia,.sxAcademicOrdered:has(> .sxAVP) .sxSPSection{display:none!important}
html[data-theme="dark"] .sxAVP{background:#172921;border-color:#314d3c;color:#e1eee4}
html[data-theme="dark"] .sxAVPHead h2{color:#e4f3e7}
html[data-theme="dark"] .sxAVPMain,html[data-theme="dark"] .sxAVPQueue{background:#223a2e;border-color:#385746}
html[data-theme="dark"] .sxAVPItem,html[data-theme="dark"] .sxAVPTools select,html[data-theme="dark"] .sxAVPTools input{color:#e0f0e4;background:#223a2e;border-color:#385746}
html[data-theme="dark"] .sxAVPItem.active{background:#355f44}
@media(max-width:900px){.sxAVPGrid{grid-template-columns:1fr}.sxAVPQueue{max-height:330px}.sxAVPTools{grid-template-columns:repeat(2,minmax(0,1fr))}.sxAVPSearch{grid-column:span 2}}
@media(max-width:600px){.sxAVP{padding:13px;border-radius:14px}.sxAVPHead{align-items:start;flex-wrap:wrap}.sxAVPHead h2{font-size:19px}.sxAVPTools{grid-template-columns:1fr}.sxAVPSearch{grid-column:auto}.sxAVPQueue{max-height:300px}.sxAVPFoot{flex-wrap:wrap}.sxAVPHead>span{padding:7px 9px}.sxAVPScreen{aspect-ratio:16/9}}

/* Prévia de áudio via Drive com alternativa acessível; evitar player negro sem saída. */
.sxAVPScreen:has(.sxAVPAudioBar){aspect-ratio:auto;min-height:350px;display:flex;flex-direction:column;background:#fff}
.sxAVPScreen:has(.sxAVPAudioBar)>iframe{flex:1;min-height:330px;aspect-ratio:16/9;background:#fff}
.sxAVPAudioBar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 13px;background:#f1f7f3;border-top:1px solid #d9e8dd;font-size:11px;color:#5a7b65}
.sxAVPAudioBar button,.sxAVPAudioLinks button{border:1px solid #b8d9c5;border-radius:9px;background:#fff;color:#206f45;padding:8px 11px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
.sxAVPAudioBar a,.sxAVPAudioLinks a{color:#206f45;font-size:11px;font-weight:750;text-decoration:underline;text-underline-offset:2px}
.sxAVPScreen:has(.sxAVPAudioAlternate){aspect-ratio:auto;min-height:250px;background:#f7fbf8}
.sxAVPAudioAlternate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;padding:28px;min-height:250px}
.sxAVPAudioAlternate>span{font-size:35px;color:#38865a}
.sxAVPAudioAlternate>strong{font-size:13px;color:#214b36}
.sxAVPAudioAlternate audio{width:min(100%,580px);height:54px}
.sxAVPAudioAlternate p{font-size:11px;color:#688570;margin:0}
.sxAVPAudioLinks{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:center}
@media(max-width:600px){.sxAVPScreen:has(.sxAVPAudioBar)>iframe{min-height:260px}.sxAVPAudioBar{align-items:flex-start}}
