.student-media-preview[hidden],.student-media-preview [hidden]{display:none!important}.student-media-preview{display:flex;align-items:center;gap:13px;padding:12px;margin-top:11px;border:1px solid #dce5ee;border-radius:11px;background:#f8fbfd;max-width:430px;text-align:left;min-width:0}.student-media-frame{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff;border:1px solid #cad5df;border-radius:6px;overflow:hidden;text-decoration:none}.passport-photo-frame{width:84px;aspect-ratio:35/45}.id-card-frame{width:148px;aspect-ratio:85.6/54}.square-photo-frame{aspect-ratio:1}.student-media-frame img{display:block;width:100%;height:100%;max-width:none!important;max-height:none!important;object-fit:contain;background:#fff}.student-media-pdf{font:800 20px 'Segoe UI',sans-serif;letter-spacing:1px;color:#b34343;background:#fff4f2;padding:12px 18px;border-radius:8px}.student-media-meta{display:flex;flex-direction:column;gap:5px;min-width:0;font:12px/1.5 'Segoe UI',sans-serif;color:#2b3c53}.student-media-meta strong{font-size:12px}.student-media-filename{font-size:10px;color:#6c7e94;overflow-wrap:anywhere}.student-media-meta small{font-size:10px;color:#788b9f}.student-media-meta a{font-size:11px;color:#2862a8;text-decoration:none}.student-media-clear{align-self:flex-start;padding:3px 7px;background:#fff;border:1px solid #d5dfeb;border-radius:5px;color:#687e96;font:10px 'Segoe UI';cursor:pointer}.student-media-preview[data-review=rejected]{border-color:#d89b9b;background:#fff6f5}.student-media-preview[data-review=rejected] .student-media-preview-status{color:#ac3e42}.student-media-preview[data-review=approved] .student-media-preview-status{color:#277852}.media-review-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0;font-size:11px}.media-review-controls form{display:flex;gap:6px;margin:0;flex-wrap:wrap}.media-review-state{display:inline-block;font-size:10px;padding:4px 7px;border-radius:6px;background:#fff3d9;color:#876022;font-weight:700}.media-review-state.review-approved{background:#e6f5ec;color:#2e7954}.media-review-state.review-rejected{background:#feeaea;color:#a44348}.media-review-button{border:1px solid #ccd8e6;border-radius:6px;background:#fff;color:#355c89;padding:6px 9px;font:700 10px 'Segoe UI';cursor:pointer;min-height:32px}.media-review-reject{color:#a4474d;border-color:#e7c5c7}.media-review-result{display:block;flex-basis:100%;font-size:10px;color:#677c92}.media-review-button:focus-visible,.student-media-clear:focus-visible{outline:3px solid #94b6ed;outline-offset:2px}.registration-person img.doc-passport-photo{width:84px;height:108px;object-fit:contain;background:#fff}.registration-id-preview img.doc-id-card{width:160px;height:101px;object-fit:contain;background:#fff}.registration-media-section{padding:14px;border:1px solid #dbe4ef;border-radius:10px;background:#fafcfe;min-width:0}.registration-media-grid{display:grid!important;grid-template-columns:1fr 1fr;align-items:start!important;gap:14px!important}.registration-media-section h4{font-size:12px;margin:0 0 10px}.registration-media-section>img{display:block}.admission-media-review-form{display:none}.upload-card .student-media-preview{padding:9px;gap:9px;max-width:100%}.upload-card .student-media-meta{gap:4px}.upload-card .id-card-frame{width:126px}.upload-card .passport-photo-frame{width:75px}.upload-card .student-media-meta small{font-size:9px}
html[data-public-theme=dark] .student-media-preview,html[data-workspace-theme=dark] body.owner-app .main .student-media-preview{background:#182a38!important;border-color:#3b5065!important;color:#dbe6f2}html[data-public-theme=dark] .student-media-meta,html[data-public-theme=dark] .student-media-meta strong{color:#dce9f2}html[data-public-theme=dark] .student-media-meta small,html[data-public-theme=dark] .student-media-filename{color:#a4b9cc}html[data-public-theme=dark] .student-media-meta a{color:#a8ceef}html[data-workspace-theme=dark] body.owner-app .main .media-review-state.review-approved{background:#214936!important;color:#b8e9cb!important}html[data-workspace-theme=dark] body.owner-app .main .media-review-state.review-rejected{background:#512f39!important;color:#ffc0c7!important}html[data-workspace-theme=dark] body.owner-app .main .media-review-state.review-pending{background:#4b3d25!important;color:#ffe0a0!important}html[data-workspace-theme=dark] body.owner-app .main .registration-media-section{background:#192b41!important;border-color:#344963!important}html[data-workspace-theme=dark] body.owner-app .media-review-button{background:#253b58;color:#d6e7fc;border-color:#3c5578}html[data-workspace-theme=dark] body.owner-app .media-review-reject{color:#ffc1c4;border-color:#77515b}html[data-workspace-theme=dark] body.owner-app .main .student-media-preview[data-review=rejected]{border-color:#95616a!important}html[data-workspace-theme=dark] body.owner-app .main .student-media-preview[data-review=rejected] .student-media-preview-status{color:#ffbdc6!important}
@media(max-width:600px){.registration-media-grid{grid-template-columns:1fr}.student-media-preview{gap:10px;padding:10px}.id-card-frame{width:125px}.student-media-meta{flex:1}.upload-card .student-media-preview{grid-column:1/-1}}

/* Narrow form fields wrap the preview details instead of squeezing them. */
.student-media-preview{flex-wrap:wrap}.student-media-meta{flex:1 1 120px}
