.hmskills-site .hm-result-portal { min-height:100vh; padding:24px 20px; background:transparent; }
.hm-result-shell { width:100%; max-width:960px; }
.hmskills-site .hm-result-card { max-width:none; min-height:440px; border-radius:18px; grid-template-columns:1fr 1fr; box-shadow:0 16px 45px #07152640; }
.hmskills-site .hm-result-form { display:flex; flex-direction:column; justify-content:center; min-width:0; padding:24px 32px; }
.hm-result-back { display:inline-flex; align-items:center; gap:7px; font-size:12px; }
.hm-result-heading { text-align:center; margin:12px 0 20px; }
.hmskills-site .hm-result-logo { display:block; width:145px; height:68px; object-fit:contain; margin:0 auto 2px; }
.hmskills-site .hm-result-form h1 { margin:0 0 7px; font-size:18px; font-weight:600; letter-spacing:.4px; text-transform:uppercase; color:#172b4d; }
.hmskills-site .hm-result-heading p { margin:0; font-size:12px; }
.hm-result-input { position:relative; }
.hm-result-input>i { position:absolute; top:50%; left:15px; transform:translateY(-50%); color:#8091aa; pointer-events:none; }
.hmskills-site .hm-result-input input { height:49px; padding:12px 13px 12px 42px; border:1px solid #dbe3ee; border-radius:8px; background:#fbfcfe; color:#172b4d; font-size:12px; }
.hmskills-site .hm-result-input input:focus { border-color:#4773c8; background:#fff; box-shadow:0 0 0 3px #4773c819; }
.hmskills-site.hm-result-page .hm-result-form .hm-result-submit { width:100%; display:flex; align-items:center; justify-content:center; margin-top:16px; border:1px solid #191919; border-radius:9px !important; background:#191919; color:#fff; min-height:48px !important; padding:12px 18px !important; cursor:pointer; font-size:14px; font-weight:700; text-transform:uppercase; box-shadow:none; }
.hmskills-site.hm-result-page .hm-result-form .hm-result-submit:hover { background:#303030; border-color:#303030; }
.hmskills-site.hm-result-page .hm-result-form .hm-result-submit:focus-visible { outline:3px solid #6baaf8; outline-offset:3px; }
.hm-result-assistance { margin-top:18px; padding-top:14px; border-top:1px solid #edf1f6; font-size:11px; color:#6d7c92; text-align:center; }
.hm-result-assistance>i { margin-right:4px; }
.hm-result-assistance a { font-weight:600; }
.hm-result-message { margin-top:16px; display:flex; gap:9px; padding:12px; border:1px solid #f4cbd2; background:#fff0f3; border-radius:8px; color:#a43c50; font-size:12px; line-height:1.5; }
.hm-result-message>i { margin-top:3px; }
.hmskills-site .hm-result-portal .hm-result-copyright { margin:16px 0 0; text-align:center; font-size:11px; color:#d4e2f5; }
.hm-result-photo { position:relative; min-width:0; overflow:hidden; background:#d8e8f8; }
.hm-result-photo img { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; object-position:50% 48%; margin:0; padding:0; }
.hm-published-result { background:#fff; color:#172b4d; border:1px solid #dce6f2; border-radius:16px; margin-top:22px; padding:26px 30px; box-shadow:0 8px 24px #08182d26; }
.hm-result-student { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:18px; }
.hm-result-record-label { display:block; text-transform:uppercase; letter-spacing:1px; font-size:10px; font-weight:700; color:#5e78a2; margin-bottom:7px; }
.hm-result-student h2 { margin:0 0 6px; font-size:23px; }
.hm-result-student p { margin:0; font-size:12px; color:#6b7c94; overflow-wrap:anywhere; }
.hm-result-outcome { padding:7px 16px; border-radius:30px; font-size:12px; font-weight:700; }
.hm-result-outcome.is-pass { background:#e2f7ed; color:#12744b; }
.hm-result-outcome.is-fail { background:#fff0ef; color:#b14238; }
.hm-result-table { width:100%; border-collapse:collapse; font-size:13px; }
.hm-result-table th,.hm-result-table td { border:1px solid #e4eaf3; padding:11px 14px; }
.hm-result-table th { width:45%; color:#62718b; background:#f7f9fc; font-weight:600; }
.hm-result-table td { font-weight:600; color:#253c61; }

@media(max-width:767px) {
 .hmskills-site .hm-result-portal { padding:20px 14px; }
 .hmskills-site .hm-result-card { grid-template-columns:1fr; min-height:0; border-radius:16px; }
 .hmskills-site .hm-result-form { padding:22px; }
 .hm-result-heading { margin:12px 0 20px; }
 .hm-result-photo { height:240px; }
 .hm-result-photo img { object-position:50% 50%; }
 .hm-published-result { padding:20px; }
 .hm-result-student { align-items:flex-start; }
 .hm-result-student h2 { font-size:20px; }
}
.hmskills-site .hm-result-brand { display:block; width:100%; margin:0 0 20px; text-align:center; text-decoration:none; color:#172b4d; }
.hmskills-site .hm-result-school-name { display:block; font-family:'Times New Roman',Times,'DejaVu Serif',serif; font-size:clamp(29px,3vw,36px); font-weight:700; letter-spacing:1.5px; line-height:1; white-space:nowrap; }
.hmskills-site .hm-result-slogan { display:block; font-family:Arial,sans-serif; font-size:13px; font-weight:500; letter-spacing:.4px; line-height:1.2; margin-top:0; color:#526078; }
.hm-result-preview .modal-dialog { max-width:740px; margin:24px auto; }
.hm-result-preview .modal-content { border:0; border-radius:12px; overflow:hidden; color:#172b4d; font-family:Arial,sans-serif; }
.hm-result-preview .modal-header { align-items:center; padding:12px 18px; background:#f5f8ff; border-bottom:1px solid #dce5f5; }
.hm-result-preview-heading { display:flex; align-items:center; gap:12px; }
.hm-result-preview-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:9px; background:#e7efff; color:#3157aa; font-size:21px; }
.hm-result-preview .modal-title { font-size:16px; font-weight:700; color:#223b68; margin:0; }
.hm-result-preview-heading p { margin:4px 0 0; font-size:11px; color:#71809b; }
.hm-result-preview .modal-body { padding:18px; background:#edf2f7; max-height:calc(100vh - 190px); overflow:auto; }
.hm-result-paper-stage { width:max-content; min-width:100%; display:flex; justify-content:center; }
.hm-result-paper { box-sizing:border-box; width:105mm; height:148.5mm; flex-shrink:0; background:#fff; display:flex; flex-direction:column; overflow:hidden; color:#172b4d; box-shadow:0 4px 24px #172b4d30; font:12px Arial,sans-serif; }
.hm-result-paper * { box-sizing:border-box; }
.hm-result-document-header { flex:none; text-align:center; padding:14px 12px 12px; background:#1e3a8a; color:#fff; border-bottom:3px solid #f5b942; }
.hm-result-document-header img { display:block; width:70px; height:36px; object-fit:contain; padding:3px; background:#fff; margin:0 auto 6px; border-radius:3px; }
.hm-result-document-brand { font:bold 25px/1.1 'Times New Roman',Times,serif; letter-spacing:1px; color:#fde68a; }
.hm-result-document-tagline { margin:2px 0 9px; color:#fff; font:11px/1.2 Arial,sans-serif; letter-spacing:.2px; }
.hm-result-document-header h3 { margin:0; color:#fff; font:bold 11px/1.2 Arial,sans-serif; letter-spacing:1.2px; }
.hm-result-document-body { padding:18px 20px; flex:1; min-height:0; }
.hm-result-document-body h4 { margin:0 0 13px; font:bold 18px/1.2 Arial,sans-serif; color:#1e3a8a; overflow-wrap:anywhere; }
.hm-result-document-details { display:grid; grid-template-columns:115px minmax(0,1fr); gap:7px 8px; margin:0 0 18px; font:11px/1.4 Arial,sans-serif; }
.hm-result-document-details dt { font-weight:bold; color:#64748b; margin:0; }
.hm-result-document-details dd { margin:0; color:#172b4d; overflow-wrap:anywhere; }
.hm-result-document-table { width:100%; border-collapse:collapse; font:12px/1.4 Arial,sans-serif; }
.hm-result-document-table th,.hm-result-document-table td { border:1px solid #dbe4ef; padding:9px 10px; text-align:left; }
.hm-result-document-table th { width:52%; background:#f1f5fb; color:#52657a; font-weight:600; }
.hm-result-document-table td { color:#1e3a8a; font-weight:700; }
.hm-result-document-table .hm-result-pass { color:#12805b; }
.hm-result-document-table .hm-result-fail { color:#bc3f55; }
.hm-result-document-footer { flex:none; padding:12px 8px; border-top:2px solid #2563eb; background:#eff6ff; color:#1e3a8a; text-align:center; font:9px/1.4 Arial,sans-serif; }
.hm-result-preview .modal-footer { display:flex; align-items:center; gap:10px; padding:10px 16px; background:#fff; }
.hm-result-preview-copyright { margin-right:auto; color:#64748b; font-size:10px; }
#publicResultDownloadStatus { color:#64748b; font-size:10px; }
.hm-result-download { display:inline-flex; align-items:center; gap:7px; padding:9px 13px; border:0; border-radius:6px; color:#fff; background:#3157aa; font:bold 12px Arial,sans-serif; cursor:pointer; }
.hm-result-download:hover { background:#24478e; }
.hm-result-download:disabled { opacity:.6; cursor:wait; }
@media(max-width:767px) {
 .hm-result-preview .modal-dialog { margin:12px; }
 .hm-result-preview .modal-body { padding:12px; }
 .hm-result-preview .modal-header { padding:10px 12px; }
 .hm-result-preview .modal-footer { justify-content:flex-end; }
 .hm-result-preview-copyright { flex-basis:100%; }
}
.hm-result-preview .modal-dialog { margin:16px auto; min-height:calc(100% - 32px); }
.hm-result-preview .modal-body { max-height:calc(100dvh - 165px); }
.hm-result-document-header { padding:10px 12px; }
.hm-result-document-header img { height:30px; margin-bottom:5px; }
.hm-result-document-brand { font-size:24px; }
.hm-result-document-tagline { font-size:10px; margin-bottom:6px; }
.hm-result-document-contact { color:#e0eaff; font:8px/1.5 Arial,sans-serif; }
.hm-result-document-body { padding:12px 16px; }
.hm-result-document-title { display:flex; align-items:center; justify-content:center; gap:10px; margin:0 0 14px; padding:8px 10px; border:1px solid #d6e3f7; border-radius:5px; background:linear-gradient(90deg,#f6f9ff,#e7efff,#f6f9ff); color:#1e3a8a; }
.hm-result-document-title::before,.hm-result-document-title::after { content:''; width:22px; height:2px; background:#d6a431; }
.hm-result-document-title span { font:bold 13px/1.2 Arial,sans-serif; letter-spacing:.5px; }
.hm-result-student-summary { display:flex; align-items:flex-start; gap:12px; margin-bottom:16px; }
.hm-result-student-photo { flex:none; width:76px; height:94px; object-fit:cover; border:1px solid #d6e2f1; padding:3px; border-radius:4px; background:#f4f7fb; }
.hm-result-student-information { min-width:0; flex:1; }
.hm-result-student-information h4 { margin:0 0 8px; font:bold 14px/1.25 Arial,sans-serif; }
.hm-result-student-information .hm-result-document-details { grid-template-columns:84px minmax(0,1fr); gap:6px 5px; margin:0; font-size:9px; line-height:1.4; }
.hm-result-document-table th,.hm-result-document-table td { padding:7px 9px; }
@media(max-width:767px) { .hm-result-preview .modal-dialog { margin:12px; min-height:calc(100% - 24px); } }