/* Shared session feedback stays outside the page layout. */
body > .spmb-flash-toast{
 position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:1040;
 display:flex;align-items:flex-start;gap:12px;width:420px;max-width:calc(100vw - 32px);max-height:40vh;overflow-y:auto;
 margin:0;padding:16px;border:1px solid #cde0ff;border-radius:14px;background:#f1f7ff;color:#24456f;
 box-shadow:0 8px 28px rgba(11,45,80,.14);font-size:14px;line-height:1.55;
}
body > .spmb-flash-toast .spmb-flash-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#e1ecff;color:#1769db}
body > .spmb-flash-toast .spmb-flash-icon svg{width:18px;height:18px}
body > .spmb-flash-toast .spmb-flash-message{flex:1;min-width:0;align-self:center;overflow-wrap:anywhere}
body > .spmb-flash-toast .spmb-flash-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;margin:-4px -4px -4px 0;padding:0;border:0;border-radius:8px;background:transparent;color:#526b83;font:inherit;font-size:24px;line-height:1;cursor:pointer}
body > .spmb-flash-toast .spmb-flash-close:hover{background:#e1ecff;color:#173451}
body > .spmb-flash-toast .spmb-flash-close:focus-visible{outline:3px solid #2389f3;outline-offset:2px}
@media(max-width:600px){
 body > .spmb-flash-toast{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));padding:14px;gap:10px}
}
@media print{body > .spmb-flash-toast{display:none}}

/* Canva reference: Educational assessment website, pages 1–3.
   Shared visual system; application handlers and assessment data stay independent. */
:root{--cv-navy:#0b2d50;--cv-blue:#1769db;--cv-teal:#087f83;--cv-ink:#173451;--cv-muted:#526b83;--cv-bg:#f3f7fc;--cv-line:#dfe8f2;--ui-blue:var(--cv-blue);--ui-ink:var(--cv-ink);--ui-muted:var(--cv-muted);--ui-bg:var(--cv-bg)}
body.student-body,body.admin-body{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;color:var(--cv-ink);background:var(--cv-bg)}
body :is(input,select,textarea,button,a):focus-visible{outline:3px solid #2389f3;outline-offset:3px}
body :is(.btn-primary,.minimal-primary,.canva-submit,.v79-primary,.login831-submit){background:var(--cv-blue);border-color:var(--cv-blue);color:#fff;box-shadow:0 5px 12px #1769db16}
body :is(.btn-primary,.minimal-primary,.canva-submit,.v79-primary,.login831-submit):hover{background:#1159be;border-color:#1159be;color:#fff}
body :is(.form-control,.form-select){border-color:#d3dfeb;border-radius:10px;font-size:16px;min-height:46px;color:var(--cv-ink)}
body :is(.form-control,.form-select):focus{border-color:var(--cv-blue);box-shadow:0 0 0 3px #1769db16}
/* Airy public introduction and the same blue primary action as the portals. */
.canva-landing-page .canva-landing-hero{background:radial-gradient(ellipse at 90% 15%,#dcefff,transparent 65%),linear-gradient(120deg,#fff,#edf6ff);border-color:var(--cv-line);box-shadow:0 12px 36px #15385805}
.canva-landing-page .canva-landing-copy h1{color:var(--cv-ink)}
.canva-landing-page .canva-landing-copy h1 span{color:var(--cv-blue)}
.canva-landing-page .canva-landing-copy p,.canva-landing-page .canva-landing-trust{color:var(--cv-muted)}
.canva-landing-page .canva-landing-copy>.canva-overline{background:#e6f0ff;border-color:#d1e4ff;color:#145eb4}
.canva-landing-page .canva-landing-actions .canva-submit{background:var(--cv-blue);color:#fff;border-color:var(--cv-blue)}
.canva-landing-page .canva-landing-actions .btn-soft{background:#fff;color:#275679;border-color:#cbddea}
.canva-landing-page .canva-landing-trust svg{color:var(--cv-teal)}
.canva-landing-page .canva-landing-visual{background:transparent;border:0;overflow:visible}
.canva-landing-page .canva-landing-visual::before{background:linear-gradient(145deg,#d6ebff,#d6f3f2);opacity:.8}
.canva-landing-page .canva-hero-widget{border:1px solid var(--cv-line);box-shadow:0 10px 28px #1638580d}
.canva-landing-page .canva-hero-widget-b{border-left:4px solid #16a8ac}
.canva-landing-page .canva-pill-grid span{background:#eff6ff;border-color:#dce9fa;color:#355b81}
.canva-landing-page .canva-major-list .icon{background:#e8f3ff;color:var(--cv-blue)}
.canva-landing-page .brand{font-size:21px}
/* Login and registration share a white form card and light illustrated panel. */
body.register-canva-v82,body.student-login-v831{background:radial-gradient(ellipse at 85% 20%,#e7f3ff,transparent 60%),var(--cv-bg)!important}
.register-canva-v82 .minimal-public-header,.login831-header{background:#fff;border-bottom:1px solid var(--cv-line);max-width:none;padding-left:max(24px,calc((100vw - 1160px)/2));padding-right:max(24px,calc((100vw - 1160px)/2))}
.register-canva-v82 .minimal-auth-shell{background:transparent!important;border:0!important;box-shadow:none!important;gap:32px;align-items:start;overflow:visible!important}
.register-canva-v82 .minimal-form-panel{background:#fff;border:1px solid var(--cv-line);border-radius:22px;box-shadow:0 12px 36px #15385807;padding:34px!important}
.register-canva-v82 .minimal-form-heading h1{font-size:34px;letter-spacing:-.035em;color:var(--cv-ink)}
.register-canva-v82 .v82-register-visual{background:transparent!important;border:0!important;padding:28px 16px;overflow:visible!important}
.register-canva-v82 .v82-visual-copy h2{font-size:32px;color:var(--cv-ink)}
.register-canva-v82 .v83-register-scene{background:radial-gradient(ellipse at center,#d4eaff 0%,#e5f4fc88 55%,transparent 72%);border:0;padding:0 0 18px;overflow:visible}
.register-canva-v82 .v83-register-scene img{height:390px;max-width:100%;object-fit:contain!important;object-position:center}
.register-canva-v82 .v83-scene-caption{background:#fff;border:1px solid var(--cv-line);border-radius:12px;padding:10px 16px;box-shadow:0 5px 18px #17345108}
.register-canva-v82 .v83-info-grid article{box-shadow:0 6px 20px #17345105;border-color:var(--cv-line)}
.register-canva-v82 .v83-info-grid small{font-size:13px}.register-canva-v82 .v82-visual-footer{font-size:13px;line-height:1.7}
.login831-layout{background:transparent;border:0;box-shadow:none;gap:32px;overflow:visible;align-items:stretch;margin-top:32px}
.login831-form-panel{background:#fff;border:1px solid var(--cv-line);border-radius:22px;box-shadow:0 12px 36px #15385807;padding:46px}
.login831-form-panel h1{font-size:40px}.login831-eyebrow{color:var(--cv-blue)}
.login831-visual{background:transparent;color:var(--cv-ink);padding:28px 16px}
.login831-tag{background:#e4f0ff;border-color:#d1e5ff;color:#1c64ac}
.login831-visual h2{color:var(--cv-ink);font-size:31px}.login831-visual h2 span{color:var(--cv-blue)}
.login831-visual>p{color:var(--cv-muted);font-size:15px}
.login831-illustration{background:radial-gradient(ellipse at center,#cfe6fc 0%,#dff2fc80 55%,transparent 72%)}
.login831-illustration img{height:310px;object-fit:contain;object-position:center}
.login831-benefits{background:#fff;border:1px solid var(--cv-line);border-radius:16px;padding:20px;gap:14px;box-shadow:0 6px 20px #17345105}
.login831-benefits b{color:var(--cv-ink)}.login831-benefits small{color:var(--cv-muted);font-size:12px}.login831-benefits svg{color:var(--cv-teal)}
/* Both workspaces: navy navigation, one consistent active-menu treatment. */
body.admin-body .admin-sidebar,body.student-body .v79-student-sidebar{background:var(--cv-navy)!important}
body.student-body .v79-student-sidebar .v79-student-nav a.active,body.admin-body .admin-menu a.active{background:var(--cv-blue)!important;border-color:#3786ef!important;color:#fff!important}
.admin-body .admin-menu a:hover{background:#ffffff12;color:#fff}
body.exact-student-page .exact-student-main{background:var(--cv-bg)!important;min-width:0}
body.exact-student-page :is(.exact-student-content,.hd-student-content){padding:28px;max-width:1440px;width:100%;min-width:0}
body.exact-student-page :is(.exact-student-topbar,.v79-student-topbar){background:#fff;border-bottom:1px solid var(--cv-line)}
body.exact-student-page :is(.v79-panel,.v79-form-panel,.v79-state-panel,.v79-guide-list article,.hd-test-question,.hd-test-card){background:#fff;border:1px solid var(--cv-line);border-radius:16px;box-shadow:0 4px 18px #14335804}
body.exact-student-page :is(.v79-page-heading h1,.hd-test-head h1){color:var(--cv-ink);font-size:30px;line-height:1.3;letter-spacing:-.025em}
body.exact-student-page :is(.v79-page-heading p,.hd-test-head p,.v79-guide-list p){font-size:15px;color:var(--cv-muted);line-height:1.8}
body.exact-student-page .v79-guide-list h2{font-size:20px}
body.exact-student-page .v79-guide-list article>b{background:#e8f2ff;color:var(--cv-blue)}
body.exact-student-page .v79-form-panel .form-label{font-size:15px}
/* Welcome illustration has a dedicated grid column so it cannot cover the text. */
.v79-student-page .v79-welcome{display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:auto auto;gap:12px 24px;padding:26px 30px;background:linear-gradient(115deg,#e8f3ff,#f0f8ff);position:relative;overflow:hidden}
.canva-welcome-copy{grid-column:1;grid-row:1;min-width:0}
.v79-student-page .v79-welcome .v79-status{grid-column:1;grid-row:2;justify-self:start;margin:0}
.v79-student-page .v79-welcome .canva-welcome-student{grid-column:2;grid-row:1/3;position:static;width:190px;height:185px;object-fit:contain;align-self:center}
.v79-student-page .v79-welcome h1{font-size:29px;margin-top:8px}
.v79-student-page .v79-dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px}
.v79-student-page .v79-progress-panel{border-top:1px solid var(--cv-line)}
.v79-student-page .v79-panel-head>.canva-progress-ring{flex:0 0 102px;width:102px;height:102px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--cv-blue) calc(var(--progress)*1%),#eaf1fa 0);font-size:24px;position:relative;color:var(--cv-ink)}
.canva-progress-ring::before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.v79-student-page .canva-progress-ring>span{position:relative;color:var(--cv-ink);font-size:24px;letter-spacing:-.02em}
.v79-student-page .v79-progress-track i{background:var(--cv-blue)}
.v79-student-page .v79-panel-head h2{font-size:23px}
body.exact-student-page .hd-test-head{background:#eaf4ff;border:1px solid #dae8f7;border-radius:16px;padding:24px}
body.exact-student-page .hd-test-summary{background:#fff;border:1px solid var(--cv-line);border-radius:12px}
body.exact-student-page .question-text{font-size:22px;line-height:1.65;color:var(--cv-ink)}
body.exact-student-page .option{font-size:16px;border-color:var(--cv-line);border-radius:12px;min-height:56px}
body.exact-student-page .option:has(input:checked){background:#edf5ff;border-color:var(--cv-blue)}
body.exact-student-page .question-nav a.current{background:var(--cv-blue);border-color:var(--cv-blue);color:#fff}
body.exact-student-page .question-nav a.done:not(.current){background:#e1f4f1;color:#086b68;border-color:#b6e1d9}
.admin-body .admin-brand strong{font-size:19px}
.admin-body .admin-main{padding:28px}.admin-body .admin-topbar{border-bottom:1px solid var(--cv-line);box-shadow:none}
.admin-body .v74-admin-metrics article{box-shadow:0 4px 16px #14335804}
.admin-body .v74-admin-metrics strong{color:var(--cv-ink)}
.admin-body .admin-bar-list i b{background:#1ca4b1}
.admin-body table thead th{font-size:13px!important;background:#f3f7fc!important}
.admin-body .v74-admin-row-bottom{grid-template-columns:minmax(0,1fr);align-items:start}
@media(min-width:1500px){.admin-body .v74-admin-row-bottom{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
/* Admin authentication uses the same light presentation. */
.canva-admin-login .admin-login-shell{background:#fff;border:1px solid var(--cv-line);border-radius:22px;overflow:hidden;box-shadow:0 12px 36px #15385807}
.canva-admin-login .admin-login-visual{background:linear-gradient(140deg,#eaf4ff,#e7f5f6);color:var(--cv-ink)}
.canva-admin-login .admin-login-visual h1{color:var(--cv-ink);font-size:36px;line-height:1.2}
.canva-admin-login .admin-login-visual p{color:var(--cv-muted);font-size:16px}
.canva-admin-login .admin-login-visual img{object-fit:contain;max-width:100%;max-height:340px}
.canva-admin-login .admin-login-points span{background:#fff;color:#315773;border:1px solid var(--cv-line)}
.canva-admin-login .auth-label{color:var(--cv-teal);background:#fff}
.canva-admin-login .auth-form-head h2{font-size:32px;color:var(--cv-ink)}
.canva-admin-login .form-label{font-size:15px}
@media(max-width:1100px){.v79-student-page .v79-dashboard-grid{grid-template-columns:1fr}.v79-student-page .v79-welcome{grid-template-columns:minmax(0,1fr) 140px}.v79-student-page .v79-welcome .canva-welcome-student{width:140px;height:160px}.login831-layout{gap:24px}.login831-form-panel{padding:34px}.register-canva-v82 .minimal-auth-shell{gap:24px}}
@media(max-width:800px){.login831-layout{margin:24px auto 0;max-width:560px;grid-template-columns:1fr}.login831-visual{padding:20px 12px}.register-canva-v82 .minimal-form-panel{padding:28px!important}.register-canva-v82 .v83-register-scene img{height:330px}.canva-admin-login .admin-login-shell{grid-template-columns:1fr}.canva-admin-login .admin-login-form{grid-row:1}.canva-admin-login .admin-login-visual{padding:28px}}
@media(max-width:600px){.login831-header,.register-canva-v82 .minimal-public-header{padding:16px}.login831-layout{margin:16px}.login831-form-panel{padding:28px 24px}.login831-form-panel h1{font-size:34px}.login831-visual h2{font-size:28px}.login831-benefits{padding:16px 12px;gap:8px}.login831-illustration img{height:290px}.register-canva-v82 .minimal-form-panel{padding:26px 20px!important}.register-canva-v82 .minimal-form-heading h1{font-size:30px}.register-canva-v82 .v82-visual-copy h2{font-size:28px}body.exact-student-page :is(.exact-student-content,.hd-student-content){padding:18px}.v79-student-page .v79-welcome{grid-template-columns:minmax(0,1fr);padding:24px;gap:14px}.v79-student-page .v79-welcome .canva-welcome-student{grid-column:1;grid-row:3;justify-self:center;width:160px;height:150px}.v79-student-page .v79-welcome h1{font-size:26px}.v79-student-page .v79-panel-head>.canva-progress-ring{width:80px;height:80px;flex-basis:80px}.v79-student-page .canva-progress-ring>span{font-size:20px}.v79-student-page .v79-panel-head h2{font-size:21px}.admin-body .admin-main{padding:20px 16px}body.exact-student-page .hd-test-head{padding:20px}body.exact-student-page .question-text{font-size:20px}.canva-landing-page .brand{font-size:18px}}
@media(prefers-reduced-motion:reduce){body *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.exact-student-page .exact-student-content{padding:0!important;max-width:none}.canva-welcome-student{display:none!important}}

.canva-admin-login .admin-login-visual img{position:static;display:block;width:100%;height:280px;margin:20px auto 0;object-fit:contain}.canva-admin-login .admin-login-points span{font-size:13px}.canva-admin-login .admin-login-visual{min-height:0}.canva-admin-login .admin-login-form{min-height:0}


/* V8.4.1 — targeted result hero refinement only: 3D character + consistent card radius. */
.result-hero{border-radius:24px}
.result-hero-visual-3d{
  position:relative;
  height:286px;
  min-height:286px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.48);
  border-radius:22px;
  background:linear-gradient(145deg,#f2f6ff 0%,#eaf3ff 56%,#edf9f6 100%);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:16px 18px 0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.result-hero-visual-3d::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-72px;
  bottom:-82px;
  border-radius:50%;
  background:rgba(37,111,229,.07);
}
.result-hero-visual-3d .result-3d-character{
  position:relative;
  z-index:2;
  display:block;
  width:auto;
  height:260px;
  max-width:76%;
  object-fit:contain;
  object-position:center bottom;
  margin:0 auto;
  filter:drop-shadow(0 18px 18px rgba(29,54,85,.16));
}
.result-match-card{
  position:absolute;
  z-index:4;
  top:20px;
  left:20px;
  width:120px;
  padding:13px 14px 14px;
  border:1px solid #e8eef6;
  border-radius:15px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 24px rgba(31,56,89,.08);
  color:#172033;
}
.result-match-card small{display:block;margin-bottom:4px;color:#6d7f95;font-size:9px;font-weight:800;letter-spacing:.02em}
.result-match-card strong{display:block;font-size:25px;line-height:1.05;letter-spacing:-.035em}
.result-match-card>span{display:block;width:100%;height:6px;margin-top:9px;overflow:hidden;border-radius:999px;background:#e5edf6}
.result-match-card>span i{display:block;height:100%;max-width:100%;border-radius:inherit;background:#12a594}
.result-award-badge{
  position:absolute;
  z-index:4;
  top:20px;
  right:20px;
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff0be;
  color:#18314f;
  box-shadow:0 8px 20px rgba(31,56,89,.06);
}
.result-award-badge svg{width:31px;height:31px;stroke-width:1.9}
@media(max-width:1000px) and (min-width:768px){
  .result-hero-visual-3d{height:260px;min-height:260px}
  .result-hero-visual-3d .result-3d-character{height:234px;max-width:72%}
  .result-match-card{top:16px;left:16px;width:106px;padding:11px 12px}
  .result-match-card strong{font-size:22px}
  .result-award-badge{top:16px;right:16px;width:56px;height:56px}
  .result-award-badge svg{width:27px;height:27px}
}

/* =========================================================
   PATCH PRINT PDF HASIL TES — 2026-10-04
   Scope: halaman hasil siswa saat Cetak / Simpan PDF saja.
   Tidak mengubah layout layar, menu, scoring, database, atau JS.
   ========================================================= */
@media print{
  @page{size:A4 portrait;margin:9mm 10mm 10mm}

  html,body{width:100%!important;min-width:0!important;background:#fff!important}
  body.exact-student-page{
    margin:0!important;
    color:#173451!important;
    font-size:9pt!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }

  /* Navigasi aplikasi tidak ikut masuk PDF. */
  body.exact-student-page .exact-student-app,
  body.exact-student-page .v79-student-app{
    display:block!important;
    min-height:0!important;
    width:100%!important;
    background:#fff!important;
  }
  body.exact-student-page :is(.exact-student-sidebar,.v79-student-sidebar,.exact-student-topbar,.v79-student-topbar,.v79-account-menu,.student-breadcrumb){
    display:none!important;
  }
  body.exact-student-page .exact-student-main{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  body.exact-student-page :is(.exact-student-content,.v79-student-content){
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.exact-student-page .v79-results-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }

  /* Hero dibuat seperti template hasil di layar, tetapi lebih kompak untuk A4. */
  body.exact-student-page .result-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1.42fr) minmax(58mm,.58fr)!important;
    align-items:center!important;
    gap:7mm!important;
    min-height:72mm!important;
    margin:0 0 5mm!important;
    padding:7mm 8mm!important;
    border:0!important;
    border-radius:7mm!important;
    overflow:hidden!important;
    background:linear-gradient(125deg,#0d1e39,#16427b 60%,#0f6f68)!important;
    box-shadow:none!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.exact-student-page .result-hero:before{display:block!important}
  body.exact-student-page .result-hero-copy{min-width:0!important}
  body.exact-student-page .result-hero .eyebrow{color:#92f0df!important;font-size:9pt!important}
  body.exact-student-page .result-hero h1{
    color:#fff!important;
    font-size:22pt!important;
    line-height:1.08!important;
    margin:2mm 0 3mm!important;
  }
  body.exact-student-page .result-hero p{
    color:#d5e1ee!important;
    font-size:9pt!important;
    line-height:1.55!important;
    margin:0!important;
  }
  body.exact-student-page .result-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:0!important;
    margin:5mm 0 0!important;
  }
  body.exact-student-page .result-meta span{
    display:grid!important;
    min-width:28mm!important;
    padding:0 4mm!important;
    border-right:1px solid rgba(255,255,255,.18)!important;
    color:#d1deeb!important;
    font-size:9pt!important;
    line-height:1.35!important;
  }
  body.exact-student-page .result-meta span:first-child{padding-left:0!important}
  body.exact-student-page .result-meta span:last-child{border-right:0!important}
  body.exact-student-page .result-meta b{color:#9fbee0!important;font-size:9pt!important}

  /* Karakter 3D tetap tampil pada PDF agar konsisten dengan template hasil. */
  body.exact-student-page .result-hero-visual,
  body.exact-student-page .result-hero-visual-3d{
    display:flex!important;
    position:relative!important;
    width:100%!important;
    height:58mm!important;
    min-height:58mm!important;
    align-items:flex-end!important;
    justify-content:center!important;
    border-radius:6mm!important;
    background:#f3f7ff!important;
    overflow:hidden!important;
  }
  body.exact-student-page .result-hero-visual-3d::after{display:block!important}
  body.exact-student-page .result-hero-visual-3d .result-3d-character{
    display:block!important;
    position:relative!important;
    z-index:2!important;
    width:auto!important;
    max-width:72%!important;
    height:50mm!important;
    max-height:50mm!important;
    margin:0 auto!important;
    object-fit:contain!important;
    object-position:center bottom!important;
  }
  body.exact-student-page .result-match-card{
    display:block!important;
    top:4mm!important;
    left:4mm!important;
    width:27mm!important;
    padding:3mm!important;
    border-radius:4mm!important;
    box-shadow:none!important;
  }
  body.exact-student-page .result-match-card small{font-size:9pt!important}
  body.exact-student-page .result-match-card strong{font-size:16pt!important}
  body.exact-student-page .result-match-card>span{height:1.4mm!important;margin-top:2mm!important}
  body.exact-student-page .result-award-badge{
    display:grid!important;
    top:4mm!important;
    right:4mm!important;
    width:12mm!important;
    height:12mm!important;
    border-radius:50%!important;
    box-shadow:none!important;
  }
  body.exact-student-page .result-award-badge svg{width:6mm!important;height:6mm!important}

  /* Profil kemampuan dan potensi: tetap dua kolom, tidak pecah acak. */
  body.exact-student-page .result-profile-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.42fr) minmax(50mm,.58fr)!important;
    gap:4mm!important;
    margin:0!important;
    align-items:stretch!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.exact-student-page .assessment-surface{
    min-width:0!important;
    padding:5mm!important;
    border:1px solid #dce5ee!important;
    border-radius:5mm!important;
    box-shadow:none!important;
    background:#fff!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.exact-student-page .strength-surface{background:linear-gradient(155deg,#f8fbff,#f3fcf9)!important}
  body.exact-student-page .section-heading{gap:3mm!important;margin-bottom:3mm!important}
  body.exact-student-page .section-heading h2{font-size:14pt!important;margin:1mm 0 0!important}
  body.exact-student-page .section-note{font-size:9pt!important;padding:1.4mm 2.5mm!important}
  body.exact-student-page .radar-layout{
    display:grid!important;
    grid-template-columns:48mm minmax(0,1fr)!important;
    gap:4mm!important;
    align-items:center!important;
  }
  body.exact-student-page .radar-chart{width:46mm!important;max-width:46mm!important;height:auto!important;margin:0 auto!important}
  body.exact-student-page .skill-list{gap:2.2mm!important}
  body.exact-student-page .skill-line{font-size:9pt!important;gap:2mm!important}
  body.exact-student-page .skill-line strong{font-size:9pt!important}
  body.exact-student-page .skill-track{height:1.3mm!important;margin-top:1mm!important}
  body.exact-student-page .assessment-note{font-size:9pt!important;margin-top:3mm!important;padding-top:2.5mm!important}
  body.exact-student-page .strength-item{grid-template-columns:8mm 1fr!important;gap:2mm!important;padding:2.7mm 0!important}
  body.exact-student-page .strength-number{font-size:9pt!important}
  body.exact-student-page .strength-item strong{font-size:9pt!important}
  body.exact-student-page .strength-item p{font-size:9pt!important;line-height:1.45!important;margin:.7mm 0!important}
  body.exact-student-page .strength-item small{font-size:9pt!important}
  body.exact-student-page .counselor-tip{gap:2mm!important;margin-top:3mm!important;padding:2.5mm!important;border-radius:3mm!important}
  body.exact-student-page .counselor-tip>span{width:7mm!important;height:7mm!important;border-radius:2mm!important}
  body.exact-student-page .counselor-tip p{font-size:9pt!important;line-height:1.45!important}

  /* Rekomendasi dibuat konsisten dan setiap card tidak terpotong antar halaman. */
  body.exact-student-page .recommendation-section{
    margin-top:6mm!important;
    break-before:auto!important;
  }
  body.exact-student-page .recommendation-section>.section-heading{margin-bottom:3mm!important}
  body.exact-student-page .recommendation-section>.section-heading p{font-size:9pt!important;margin:0!important}
  body.exact-student-page .top-recommendation{
    display:grid!important;
    grid-template-columns:28mm minmax(0,1fr) 25mm!important;
    gap:4mm!important;
    padding:5mm!important;
    border-radius:5mm!important;
    box-shadow:none!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.exact-student-page .top-rec-rank span{font-size:28pt!important}
  body.exact-student-page .top-rec-rank small{font-size:9pt!important}
  body.exact-student-page .top-rec-content h3{font-size:12pt!important}
  body.exact-student-page .top-rec-content p{font-size:9pt!important;line-height:1.45!important}
  body.exact-student-page .rec-factors{margin-top:2mm!important;gap:1.5mm!important}
  body.exact-student-page .rec-factors span{font-size:9pt!important;padding:1.2mm 2mm!important}
  body.exact-student-page .match-score strong{font-size:24pt!important}
  body.exact-student-page .secondary-recs{grid-template-columns:1fr 1fr!important;gap:3mm!important;margin-top:3mm!important}
  body.exact-student-page .secondary-rec{
    grid-template-columns:8mm minmax(0,1fr) 15mm!important;
    gap:2mm!important;
    padding:4mm!important;
    border-radius:4mm!important;
    box-shadow:none!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.exact-student-page .secondary-main h3{font-size:9pt!important}
  body.exact-student-page .secondary-main p{font-size:9pt!important;line-height:1.5!important}
  body.exact-student-page .secondary-score strong{font-size:15pt!important}

  body.exact-student-page .next-step-band{
    gap:3mm!important;
    margin-top:4mm!important;
    padding:4mm!important;
    border-radius:4mm!important;
    box-shadow:none!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.exact-student-page .next-step-icon{width:10mm!important;height:10mm!important;border-radius:3mm!important}
  body.exact-student-page .next-step-band h2{font-size:10pt!important;margin:.8mm 0!important}
  body.exact-student-page .next-step-band p{font-size:9pt!important;line-height:1.45!important}
  body.exact-student-page .result-disclaimer{font-size:9pt!important;line-height:1.5!important;margin:4mm auto 0!important}

  /* Hilangkan interaksi/tombol dan cegah link URL otomatis muncul di PDF. */
  body.exact-student-page .no-print,
  body.exact-student-page .result-actions,
  body.exact-student-page button{display:none!important}
  body.exact-student-page a[href]::after{content:none!important}
}

/* === BURGER SIDEBAR ONLY: START === */
/* Patch ini hanya mengatur buka/tutup sidebar siswa + admin. */
body.admin-body .admin-menu-toggle{
  display:grid!important;
  place-items:center;
  flex:0 0 auto;
  cursor:pointer;
}
body.admin-body .admin-menu-toggle svg{width:19px;height:19px}

.student-topbar-left{display:flex;align-items:center;gap:12px;min-width:0}
.student-menu-toggle{
  width:40px;height:40px;flex:0 0 40px;padding:0;
  display:grid;align-content:center;justify-items:center;gap:4px;
  border:1px solid #dfe7f0;border-radius:10px;
  background:#fff;color:#183552;cursor:pointer;
}
.student-menu-toggle:hover{background:#f5f8fc;border-color:#cedae7}
.student-menu-toggle span{display:block;width:18px;height:2px;border-radius:999px;background:currentColor}
.student-sidebar-close{
  display:none;position:absolute;right:12px;top:12px;width:36px;height:36px;padding:0;
  border:0;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;
  font-size:25px;line-height:1;z-index:5;cursor:pointer;
}
.student-sidebar-overlay{display:none;border:0;padding:0}

/* Desktop admin: burger tetap terlihat dan sidebar dapat diciutkan. */
@media(min-width:992px){
  body.admin-body .admin-shell{transition:grid-template-columns .2s ease}
  body.admin-body.sidebar-collapsed .admin-shell{grid-template-columns:0 minmax(0,1fr)!important}
  body.admin-body.sidebar-collapsed .admin-sidebar{
    width:0!important;min-width:0!important;
    padding-left:0!important;padding-right:0!important;
    transform:translateX(-100%)!important;opacity:0!important;
    overflow:hidden!important;pointer-events:none!important;
  }
  body.admin-body .admin-sidebar{transition:transform .2s ease,opacity .16s ease,width .2s ease,padding .2s ease}
  body.admin-body .sidebar-close{display:none!important}
}

/* Desktop/tablet siswa: sidebar menutup dan area konten melebar. */
@media(min-width:992px){
  body.student-body .exact-student-app{transition:grid-template-columns .2s ease}
  body.student-body .exact-student-sidebar{transition:transform .2s ease,opacity .16s ease,width .2s ease,padding .2s ease}
  body.student-body.student-sidebar-collapsed .exact-student-app{grid-template-columns:0 minmax(0,1fr)!important}
  body.student-body.student-sidebar-collapsed .exact-student-sidebar{
    width:0!important;min-width:0!important;
    padding-left:0!important;padding-right:0!important;
    transform:translateX(-100%)!important;opacity:0!important;
    overflow:hidden!important;pointer-events:none!important;
  }
}

/* HP siswa: sidebar menjadi drawer dari kiri. */
@media(max-width:991px){
  body.student-body .exact-student-app{display:block!important;min-height:100vh}
  body.student-body .exact-student-sidebar,
  body.student-body .v79-student-sidebar{
    display:flex!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:min(280px,86vw)!important;height:100dvh!important;min-height:100dvh!important;
    transform:translateX(-105%)!important;transition:transform .2s ease!important;
    z-index:170!important;overflow-y:auto!important;overflow-x:hidden!important;
    box-shadow:18px 0 46px rgba(8,27,51,.2);
  }
  body.student-body.student-sidebar-open{overflow:hidden}
  body.student-body.student-sidebar-open .exact-student-sidebar,
  body.student-body.student-sidebar-open .v79-student-sidebar{transform:translateX(0)!important}
  body.student-body .student-sidebar-close{display:grid;place-items:center}
  body.student-body .student-sidebar-overlay{
    position:fixed;inset:0;background:rgba(7,22,39,.46);z-index:160;
  }
  body.student-body.student-sidebar-open .student-sidebar-overlay{display:block}
  body.student-body .exact-sidebar-brand{padding-right:44px}
  body.student-body .v79-student-nav{display:grid!important;grid-template-columns:1fr!important}
  body.student-body .v79-sidebar-spacer{display:block!important}
  body.student-body .v79-sidebar-note{display:flex!important}
  body.student-body .exact-student-topbar,
  body.student-body .v79-student-topbar{
    position:sticky!important;top:0!important;z-index:80!important;
    padding-left:12px!important;padding-right:12px!important;
  }
  body.student-body .student-topbar-left{gap:9px}
  body.student-body .student-breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
}

@media(max-width:430px){
  body.student-body .v79-account-copy{display:none}
  body.student-body .student-breadcrumb{max-width:34vw}
}

@media print{
  .student-menu-toggle,.student-sidebar-close,.student-sidebar-overlay{display:none!important}
}
/* === BURGER SIDEBAR ONLY: END === */

/* Targeted layout guards. Desktop composition and image files are preserved. */
:is(.admin-main,.exact-student-content,.minimal-auth-shell,.canva-landing-hero) :is(.row>*,section,article,form){min-width:0}
:is(.admin-main,.exact-student-content) :is(h1,h2,h3,p,.profile-list dd){overflow-wrap:anywhere}
:is(.admin-body,.student-body) :is(input,select,textarea){max-width:100%;box-sizing:border-box}
:is(.ui-pagination,.ui-page-links,.table-pagination,.pagination-links,.filter-actions,.bank-filter-actions){flex-wrap:wrap;gap:8px}
:is(.ui-page-info,.pagination-info){overflow-wrap:anywhere}
.table-responsive{max-width:100%;overscroll-behavior-x:contain}
:is(.bank-head-stats,.bank-toolbar,.surface-head,.card-head){flex-wrap:wrap}
body.admin-body .v83-daily-chart i{min-height:0}
body.admin-body .v74-admin-row-top{align-items:start}
body.admin-body .v74-admin-metrics>article>div{min-width:0}
body.admin-body .v74-admin-metrics{background:transparent;padding:0}
body.admin-body .status-badge.idle{background:#fff5d6;color:#735b14}
body.admin-body .status-badge.idle i{background:#d5a82b}
body.admin-body .table-responsive:focus-visible{outline:3px solid #2389f3;outline-offset:2px}
@media screen and (max-width:1199px){
 body.exact-student-page .hd-test-layout{grid-template-columns:minmax(0,1fr)}
 body.exact-student-page .hd-test-side{position:static;min-width:0}
 body.exact-student-page .hd-test-head{flex-wrap:wrap;gap:20px}
 .result-hero,.result-profile-grid{grid-template-columns:minmax(0,1fr)}
}
@media screen and (max-width:991px){
 body.admin-body.sidebar-open{overflow:hidden}
 body.student-body .exact-student-main{width:100%;margin-left:0}
 body.student-body .v79-account-copy{display:none}
 body.student-body .student-breadcrumb{white-space:normal;overflow-wrap:anywhere;max-width:none}
 body.exact-student-page .exact-student-topbar{gap:12px}
 .canva-admin-login .auth-form-panel{min-width:0}
}
@media screen and (max-width:767px){
 body.exact-student-page :is(.exact-student-content,.hd-student-content){padding:18px 16px}
 body.exact-student-page :is(.v79-panel,.hd-test-question,.hd-test-card){padding:20px}
 body.exact-student-page .hd-test-summary{width:100%;min-width:0;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
 body.exact-student-page .hd-test-summary>div{min-width:0;flex:1}
 body.exact-student-page .test-navigation{flex-wrap:wrap;gap:12px}
 body.exact-student-page .test-navigation .btn{flex:1 1 180px;white-space:normal}
 body.exact-student-page .option{padding:14px 12px;gap:10px}
 body.exact-student-page .option-copy{min-width:0;overflow-wrap:anywhere}
 body.exact-student-page .question-meta{flex-wrap:wrap;gap:8px}
 .radar-layout,.secondary-recs,.top-recommendation{grid-template-columns:minmax(0,1fr)}
 .secondary-rec{grid-template-columns:auto minmax(0,1fr);gap:12px}
 .secondary-score{grid-column:2}
 .result-actions,.next-step-band{flex-wrap:wrap;gap:12px}
 .radar-chart{max-width:100%;height:auto}
 .result-hero-copy,.top-rec-content,.secondary-main{min-width:0}
 .result-hero-visual-3d .result-3d-character{max-height:100%;margin-bottom:0}
 .canva-landing-page .canva-landing-actions{flex-wrap:wrap}
 .canva-landing-page .canva-landing-actions>a{white-space:normal;max-width:100%}
 .register-canva-v82 .minimal-public-header{gap:12px;height:auto!important;padding-top:12px;padding-bottom:12px}
 .register-canva-v82 .minimal-brand{min-width:0}
 .register-canva-v82 .minimal-header-actions{flex-shrink:0}
 .register-canva-v82 .minimal-header-actions>span{display:none}
 .register-canva-v82 .minimal-brand small{white-space:normal}
 .page-foot{flex-wrap:wrap;gap:12px}
}
@media screen and (max-width:480px){
 body.admin-body .v74-admin-metrics{grid-template-columns:minmax(0,1fr)}
 body.admin-body .v74-admin-metrics article{display:flex;align-items:center;gap:16px}
 body.admin-body .v74-admin-metrics .metric-icon{margin-bottom:0}
 body.admin-body :is(.admin-topbar-title span,.eyebrow,.v83-eyebrow){overflow-wrap:anywhere}
 body.admin-body .bank-head-stats{width:100%;gap:12px}
 body.admin-body .bank-filter-bar{display:flex;flex-direction:column;align-items:stretch}
 body.admin-body .bank-filter-bar>div{width:100%;min-width:0}
 body.admin-body .profile-list{display:block}
 body.admin-body .profile-list dd{max-width:100%;margin-bottom:14px}
 body.exact-student-page .v79-progress-meta{flex-wrap:wrap;gap:12px}
 body.exact-student-page .v79-account-rows{grid-template-columns:minmax(0,1fr)}
 body.exact-student-page .hd-test-head h1{font-size:25px}
 body.exact-student-page .hd-test-summary{padding:14px 10px}
 body.exact-student-page .question-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
 .result-hero{padding:20px}
 .result-hero-visual-3d{width:100%;min-width:0}
 .canva-landing-page .canva-landing-visual img{max-width:100%;object-fit:contain}
}
@media print{
 .result-disclaimer{font-size:9pt!important;line-height:1.5!important}
 .result-admin-wrap :is(.result-profile-grid,.radar-layout,.secondary-recs){display:block}
 .result-admin-wrap :is(.assessment-surface,.top-recommendation,.secondary-rec){break-inside:avoid;margin-bottom:5mm}
 body.exact-student-page :is(.result-page,.recommendation-section){break-inside:auto}
}

/* Visual polish: screen-only content, keeping public headers and assets intact. */
@media screen{
 body.exact-student-page .v79-panel{padding:24px;border-radius:16px}
 body.exact-student-page .v79-panel-head{align-items:flex-start;gap:16px;margin-bottom:16px}
 body.exact-student-page .v79-panel-head h2{font-size:20px;font-weight:600;line-height:1.4;margin:6px 0 0}
 body.exact-student-page .v79-panel-head>div>span{font-size:13px;font-weight:500;letter-spacing:.04em}
 body.exact-student-page .v79-panel :is(p,li){font-size:15px;line-height:1.65;font-weight:400}
 body.exact-student-page .v79-panel :is(b,strong){font-weight:600}
 body.exact-student-page .v79-dashboard-grid{gap:24px;align-items:start}
 body.exact-student-page .v79-account-rows{gap:16px}
 body.exact-student-page .v79-account-rows :is(b,small){line-height:1.5;overflow-wrap:anywhere}
 body.exact-student-page .v79-account-rows b{font-weight:600}
 body.exact-student-page .v79-progress-meta{gap:16px;line-height:1.5}
 body.exact-student-page .v79-status{font-weight:600;line-height:1.5}
 body.exact-student-page :is(.v79-guide-preview>a,.v79-results-preview>a,.v79-account-preview>a){font-weight:600;text-underline-offset:4px}
 body.exact-student-page :is(.v79-primary,.test-navigation .btn,.v79-form-panel .btn){min-height:44px;border-radius:10px;font-size:15px;font-weight:600;line-height:1.45;white-space:normal}
 body.exact-student-page .v79-form-panel .form-label{font-size:14px;font-weight:600;line-height:1.5}
 body.exact-student-page .v79-form-panel .form-control{font-size:16px;line-height:1.5}
 body.exact-student-page .v79-form-panel .field-group{margin-bottom:20px}
 body.exact-student-page .hd-test-summary small{font-size:13px;font-weight:400;line-height:1.5}
 body.exact-student-page .hd-test-summary strong{font-weight:600;font-variant-numeric:tabular-nums}
 body.exact-student-page .hd-test-question{min-height:0}
 body.exact-student-page .question-text{font-weight:600;line-height:1.55}
 body.exact-student-page .option-copy{font-weight:400;line-height:1.6}
 body.exact-student-page .save-status{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
 body.exact-student-page .test-side-title{gap:16px;align-items:center}
 body.exact-student-page .test-side-title h3{font-size:18px;font-weight:600;line-height:1.4}
 body.exact-student-page .autosave-card p{font-size:14px;line-height:1.6}
 :is(body.exact-student-page,body.admin-body) .assessment-surface{border-radius:16px;padding:24px;box-shadow:0 4px 18px #14335804}
 :is(body.exact-student-page,body.admin-body) .section-heading{gap:16px;flex-wrap:wrap;margin-bottom:20px}
 :is(body.exact-student-page,body.admin-body) :is(.assessment-surface h2,.recommendation-section h2){font-size:20px;font-weight:600;line-height:1.4}
 :is(body.exact-student-page,body.admin-body) .skill-line{gap:12px;line-height:1.5}
 :is(body.exact-student-page,body.admin-body) .skill-line>span{min-width:0;overflow-wrap:anywhere}
 :is(body.exact-student-page,body.admin-body) .skill-line>strong{flex-shrink:0;font-weight:600;font-variant-numeric:tabular-nums}
 :is(body.exact-student-page,body.admin-body) :is(.top-recommendation,.secondary-rec){border-radius:16px;box-shadow:none}
 :is(body.exact-student-page,body.admin-body) .top-rec-content h3{font-weight:600;overflow-wrap:anywhere}
 :is(body.exact-student-page,body.admin-body) .secondary-main h3{font-weight:600;overflow-wrap:anywhere}
 :is(body.exact-student-page,body.admin-body) :is(.match-score strong,.secondary-score strong){font-weight:600;font-variant-numeric:tabular-nums}
 :is(body.exact-student-page,body.admin-body) .rec-factors{flex-wrap:wrap;gap:8px}
 .canva-landing-page :is(.canva-measure-copy p,.canva-step-grid p,.canva-major-list p){font-weight:400;font-size:15px;line-height:1.65}
 .canva-landing-page .canva-major-list strong{font-size:16px;font-weight:600;line-height:1.4}
 .canva-landing-page .canva-major-list small{font-size:13px;line-height:1.6}
 .canva-landing-page .canva-major-list article{border-radius:16px}
 .canva-landing-page .canva-step-grid{gap:24px}
 .canva-landing-page .canva-landing-actions>a{font-size:15px;font-weight:600;line-height:1.5;border-radius:10px;min-height:44px}
 :is(.exact-student-content,.admin-main,.canva-landing-actions) :is(a,button){transition:background-color .18s ease,border-color .18s ease,color .18s ease}
 :is(.exact-student-content,.admin-main,.canva-landing-actions) :is(a,button):hover{transform:none}
}
@media screen and (max-width:767px){
 body.exact-student-page .v79-panel{padding:20px}
 body.exact-student-page .v79-dashboard-grid{gap:16px}
 :is(body.exact-student-page,body.admin-body) .assessment-surface{padding:20px}
 :is(body.exact-student-page,body.admin-body) .top-recommendation{gap:16px;padding:20px}
 :is(body.exact-student-page,body.admin-body) .secondary-rec{padding:16px;gap:12px}
 body.exact-student-page .v79-form-panel .field-group{max-width:100%}
 body.exact-student-page .v79-panel-head>div{min-width:0}
}
@media screen and (max-width:480px){
 body.exact-student-page .v79-panel{padding:16px}
 :is(body.exact-student-page,body.admin-body) .assessment-surface{padding:16px}
 body.exact-student-page .v79-progress-meta{gap:12px}
 body.exact-student-page .v79-panel-head{gap:12px}
}
@media(prefers-reduced-motion:reduce){
 :is(.exact-student-content,.admin-main,.canva-landing-actions) :is(a,button){transition:none}
}

/* Account email can be longer than the former username. */
body.exact-student-page .v79-account-copy{min-width:0;max-width:260px}
body.exact-student-page .v79-account-copy small{white-space:normal;overflow-wrap:anywhere}
body.admin-body .account-chip{max-width:280px;white-space:normal;overflow-wrap:anywhere}
body.admin-body .account-status>div{min-width:0}
body.admin-body .account-status strong{overflow-wrap:anywhere}
