/* V1.5.7 - authoritative student popup styles (after all previous style sheets). */
.ps-student-popup{width:min(800px,calc(100vw - 20px));max-height:94vh;display:flex;flex-direction:column}
.ps-student-popup .dialog-body{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding:7px 18px 20px}
.ps-student-popup .ps-promise-gallery{width:100%;display:flex;flex-direction:column;gap:14px;align-items:stretch;padding:3px 0 12px}
.ps-student-popup .ps-promise-poster{display:block;width:100%;min-width:0;line-height:0;overflow:hidden;border-radius:10px;border:1px solid #554e5e;background:#11141b}
.ps-student-popup .ps-promise-poster img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0!important;border-radius:0!important}
.ps-student-popup .ps-signature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px;padding:3px 0 10px}
.ps-student-popup .ps-signature-card{min-width:0;margin:0;color:#fff}
.ps-student-popup .ps-signature-image{display:block;width:100%;overflow:hidden;border-radius:10px;background:#121620}
.ps-student-popup .ps-signature-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:10px}
.ps-student-popup .ps-signature-name{font-size:12px;font-weight:800;margin-top:5px;overflow-wrap:anywhere}
.ps-student-popup .ps-signature-amount{font-size:12px;font-weight:800;color:#ffd465}
.ps-student-popup .ps-popup-loading,.ps-student-popup .ps-popup-empty,.ps-student-popup .ps-popup-error{border:1px solid #48414e;border-radius:11px;padding:22px 17px;color:#eee;background:#282733;font-size:13px}
.ps-student-popup .student-tab.is-active{color:#ffda7c}
@media(max-width:600px){.ps-student-popup .dialog-body{padding:6px 12px 16px}.ps-student-popup .ps-signature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}}
