/* SKGA Student Work Detail: PDF preview and coherent review UI 539586 */
.sw78 .sw78-preview { background: #f5f7fa; min-height: 340px; }
.sw78 .sw78-preview iframe { display:block; width:100%; min-height:390px; height: min(65vh, 620px); border:0; background:#f5f7fa; }
.sw78 .sw78-pdf-state { padding: 12px 14px; background: #edf2f7; color:#334155; font-size:12px; line-height:1.55; border-top:1px solid #d7dee7; }
.sw78 .sw78-pdf-state[hidden] {display:none!important}
.sw78 .sw78-pdf-state a {color:#8d1823!important;font-weight:700;text-decoration:underline}
.sw78 .sw78-document,.sw78 .sw-history-card,.sw78 aside>.card {border-radius:14px!important}
.sw78 .sw78-document-heading {gap:12px;align-items:flex-start}
.sw78 .sw78-file-actions a {transition:background .16s ease,border-color .16s ease}
.sw78 .sw78-review {background:var(--sw78-panel)!important;color:var(--sw78-text)!important;border:1px solid var(--sw78-line)!important}
.sw78 .sw78-review .portfolio-section-title {color:var(--sw78-text)!important;font-weight:800;font-size:17px;line-height:1.35}
.sw78 .sw78-review .sw-review-intro {color:var(--sw78-sub)!important;font-size:12px!important;line-height:1.55}
.sw78 .sw78-review label {color:var(--sw78-text)!important}
.sw78 .sw78-review .sw-review-actions button {border-radius:9px!important;min-height:44px!important}
.sw78 .sw78-metadata {gap:10px}
.sw78 .sw78-meta {border-radius:12px}
.sw78 .sw78-event {overflow-wrap:anywhere}
html[data-theme="dark"] .sw78 .sw78-review .portfolio-section-title {color:#f3f5f8!important}
html[data-theme="dark"] .sw78 .sw78-pdf-state {background:#202b36;color:#d3dce8;border-color:#394859}
html[data-theme="dark"] .sw78 .sw78-pdf-state a {color:#f3b4ba!important}
@media(max-width:680px) { .sw78 .sw78-preview iframe {height:360px;min-height:360px} .sw78 .sw78-stage {min-height:0} .sw78 .sw78-document,.sw78 .sw-history-card {padding:14px!important} }
