/* Victory Partners v34.178 — presentational polish of the DESKTOP results ONLY.
   No changes to messages, scoring, button definitions, layout order or mobile. */
@media screen and (min-width:850px) {
  #resultOverlay.vp178-desktop:not(.hide) {
    display:block!important;
    padding:0!important;
    overflow:hidden!important;
    background:rgba(12,22,37,.83)!important;
    backdrop-filter:blur(5px);
  }
  #resultOverlay.vp178-desktop #resultArea.result-card {
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    box-sizing:border-box!important;
    display:block!important;
    width:min(1030px,calc(100vw - 46px))!important;
    max-width:1030px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    margin:0!important;
    padding:14px 23px 13px!important;
    border:1px solid #e3e9f0!important;
    border-top:3px solid #ba293d!important;
    border-radius:19px!important;
    color:#15283d!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)!important;
    box-shadow:0 20px 58px rgba(6,17,35,.27)!important;
    font-family:'Segoe UI',Arial,Helvetica,sans-serif!important;
    font-size:13px!important;
    line-height:1.34!important;
    transform:translate(-50%,-50%) scale(var(--vp178-fit,1))!important;
    transform-origin:center center!important;
  }
  #resultOverlay.vp178-desktop #resultArea>img {
    width:69px!important;
    height:38px!important;
    max-height:38px!important;
    margin:0 auto 0!important;
    object-fit:contain!important;
  }
  #resultOverlay.vp178-desktop #resultArea>small {
    font-size:9.5px!important;
    font-weight:750!important;
    line-height:1.2!important;
    color:#9e3343!important;
    letter-spacing:.10em!important;
    margin:0 0 1px!important;
  }
  #resultOverlay.vp178-desktop #resultArea>h2 {
    font-family:'Segoe UI',Arial,Helvetica,sans-serif!important;
    font-size:23px!important;
    font-weight:800!important;
    line-height:1.12!important;
    letter-spacing:-.018em!important;
    margin:1px 0 7px!important;
    color:#15283d!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-result-head {
    max-width:920px!important;
    min-height:0!important;
    padding:8px 14px!important;
    gap:11px!important;
    margin:0 auto 7px!important;
    border:1px solid #e7eaf0!important;
    border-radius:12px!important;
    background:linear-gradient(115deg,#fff 0%,#f9fafc 100%)!important;
    box-shadow:0 2px 10px rgba(12,33,57,.035)!important;
    text-align:center!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-result-head .big-level {
    font-size:35px!important;
    line-height:1!important;
    margin:3px 0 0!important;
    font-weight:900!important;
    color:#b72c41!important;
  }
  /* Replace poorly-rendered system emoji visually; original DOM text retained. */
  #resultOverlay.vp178-desktop #resultArea .vp-result-head .result-emoji {
    flex:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:36px!important;
    height:36px!important;
    font-size:0!important;
    line-height:0!important;
    color:transparent!important;
    border-radius:12px!important;
    background:#f8ecee!important;
    border:1px solid #efd4d9!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-result-head .result-emoji:before {
    content:'';
    display:block;
    width:21px;
    height:21px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23b72c41" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m2 9 10-5 10 5-10 5L2 9Z"/%3E%3Cpath d="M6 11v5c2.5 2.6 9.5 2.6 12 0v-5M22 9v6"/%3E%3C/svg%3E');
  }
  #resultOverlay.vp178-desktop #resultArea .vp-single-result-layout>p,
  #resultOverlay.vp178-desktop #resultArea>p {
    font-size:12px!important;
    line-height:1.32!important;
    margin:3px auto 6px!important;
    color:#657286!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-provisional,
  #resultOverlay.vp178-desktop #resultArea .vp-junior-note,
  #resultOverlay.vp178-desktop #resultArea .vp-result-section {
    max-width:920px!important;
    padding:8px 12px!important;
    margin:7px auto!important;
    border-radius:11px!important;
    border:1px solid #e6eaf0!important;
    background:#f8fafc!important;
    box-shadow:none!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-junior-note {gap:2px!important}
  #resultOverlay.vp178-desktop #resultArea .vp-junior-note b,
  #resultOverlay.vp178-desktop #resultArea .vp-result-section h3 {
    font-size:13px!important;
    margin:0 0 3px!important;
    line-height:1.2!important;
    color:#1c354e!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-junior-note span,
  #resultOverlay.vp178-desktop #resultArea .vp-result-section p {
    font-size:12px!important;
    line-height:1.30!important;
    margin:0!important;
    color:#53647a!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-competencies {
    max-width:920px!important;
    gap:5px!important;
    margin:7px auto!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-comp-row {
    grid-template-columns:minmax(0,1fr) 54px minmax(104px,200px)!important;
    gap:7px!important;
    padding:7px 11px!important;
    min-height:33px!important;
    border:1px solid #e7ecf2!important;
    border-radius:9px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-comp-row>span {
    font-family:'Segoe UI',Arial,sans-serif!important;
    font-size:12.5px!important;
    font-weight:680!important;
    line-height:1.2!important;
    color:#2b435b!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-comp-row>strong {font-size:14px!important;line-height:1.1!important}
  #resultOverlay.vp178-desktop #resultArea .vp-comp-row>small {
    font-size:12px!important;
    line-height:1.2!important;
    color:#5b6d83!important;
    font-style:normal!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-next-actions {
    max-width:920px!important;
    padding:8px 12px!important;
    margin:7px auto!important;
    border-radius:10px!important;
    border:1px solid #e5eaf0!important;
    background:#fff!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-next-actions h3 {font-size:14px!important;line-height:1.2!important;margin:0 0 2px!important}
  #resultOverlay.vp178-desktop #resultArea .vp-next-actions p {font-size:11.5px!important;line-height:1.2!important;margin:0 0 5px!important}
  #resultOverlay.vp178-desktop #resultArea .vp-next-buttons {gap:5px!important}
  #resultOverlay.vp178-desktop #resultArea .vp-next-buttons a {min-height:31px!important;padding:6px 10px!important;font-size:11.5px!important;border-radius:8px!important}
  /* Keep the two existing conversion cards as-is in DOM/order, but lighter. */
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion {
    width:100%!important;
    max-width:920px!important;
    margin:7px auto!important;
    gap:8px!important;
    padding:0!important;
    align-items:stretch!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion.vp162-two-actions {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion .vp-free-session-cta,
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion .vp112-result-prep,
  #resultOverlay.vp178-desktop #resultArea .vp-free-session-cta {
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:920px!important;
    height:auto!important;
    min-height:0!important;
    gap:3px!important;
    padding:9px 13px!important;
    margin:7px auto!important;
    border-radius:11px!important;
    border:1px solid #d5e8df!important;
    background:#f5fbf8!important;
    box-shadow:none!important;
    color:#254a3c!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion .vp-free-session-cta,
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion .vp112-result-prep {margin:0!important;max-width:none!important}
  #resultOverlay.vp178-desktop #resultArea .vp-free-session-cta small {font-size:9.5px!important;line-height:1.1!important;letter-spacing:.06em!important}
  #resultOverlay.vp178-desktop #resultArea .vp-free-session-cta h3 {font-size:14.5px!important;line-height:1.18!important;margin:2px 0!important;color:#183e2c!important}
  #resultOverlay.vp178-desktop #resultArea .vp-free-session-cta p {font-size:11.5px!important;line-height:1.25!important;margin:0 0 4px!important;color:#48695b!important}
  #resultOverlay.vp178-desktop #resultArea #vpFreeLanguageSession,
  #resultOverlay.vp178-desktop #resultArea .vp112-result-prep .vp112-form-link {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    width:100%!important;
    padding:8px 13px!important;
    margin:3px 0 0!important;
    font:700 12px/1.1 'Segoe UI',Arial,sans-serif!important;
    border:0!important;
    border-radius:8px!important;
    background:#0d9564!important;
    box-shadow:none!important;
    color:#fff!important;
    text-decoration:none!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp112-result-prep .vp112-form-link {background:#a92c42!important}
  #resultOverlay.vp178-desktop #resultArea .vp112-result-prep small {
    font-size:11px!important;
    line-height:1.25!important;
    margin:3px 0 0!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-dual-summary .dual-results,
  #resultOverlay.vp178-desktop #resultArea .dual-results.vp-dual-compact {max-width:920px!important;margin:6px auto!important;gap:8px!important}
  #resultOverlay.vp178-desktop #resultArea .dual-results.vp-dual-compact>div {min-height:0!important;padding:8px!important;border-radius:10px!important}
  #resultOverlay.vp178-desktop #resultArea .dual-results.vp-dual-compact strong {font-size:26px!important}
  #resultOverlay.vp178-desktop #resultArea .vp-dual-candidate {font-size:12px!important;margin:3px auto!important}
  #resultOverlay.vp178-desktop #resultArea .vp-dual-detail {max-width:920px!important;margin:7px auto!important}
  #resultOverlay.vp178-desktop #resultArea .vp-dual-detail-grid section {padding:6px!important}
  #resultOverlay.vp178-desktop #resultArea .vp-dual-detail h3 {font-size:12.5px!important;min-height:0!important;margin:4px 0!important}
  #resultOverlay.vp178-desktop #resultArea .vp163-actions-heading,
  #resultOverlay.vp178-desktop #resultArea .vp164-actions-heading {font-size:12px!important;margin:7px auto 3px!important;color:#364c63!important}
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions {
    position:static!important;
    inset:auto!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    max-width:920px!important;
    width:100%!important;
    padding:6px 0 1px!important;
    gap:6px!important;
    margin:4px auto 0!important;
    border-top:1px solid #e7ebf1!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions > button,
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions > a {
    display:inline-flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:33px!important;
    height:auto!important;
    padding:6px 9px!important;
    margin:0!important;
    gap:6px!important;
    border:1px solid transparent!important;
    border-radius:8px!important;
    background:#233d59!important;
    box-shadow:none!important;
    color:#fff!important;
    font:680 11.5px/1.2 'Segoe UI',Arial,sans-serif!important;
    text-decoration:none!important;
    white-space:normal!important;
    letter-spacing:0!important;
    cursor:pointer;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions .vp-pdf-btn {background:#ad3249!important}
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions .vp-retake-btn {background:#243e59!important}
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions .vp162-whatsapp-action,
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions .vp161-whatsapp-action {background:#107b5b!important}
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions #downloadCertificate {background:#ad3249!important}
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions :is(button,a):hover {
    filter:brightness(1.07)!important;
    box-shadow:0 3px 8px rgba(12,33,55,.13)!important;
  }
  #resultOverlay.vp178-desktop #resultArea .vp-result-actions :is(button,a):focus-visible,
  #resultOverlay.vp178-desktop #resultArea .vp162-primary-conversion :is(button,a):focus-visible {
    outline:2px solid #315b91!important;
    outline-offset:2px!important;
  }
  /* The original emoji remains for mobile. On desktop show crisp monochrome vectors. */
  #resultOverlay.vp178-desktop .vp178-icon-slot {display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:15px;height:15px;vertical-align:-2px;color:inherit}
  #resultOverlay.vp178-desktop .vp178-icon-slot .vp178-original {display:none!important}
  #resultOverlay.vp178-desktop .vp178-icon-slot svg {display:block!important;width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  #resultOverlay.vp178-desktop .vp-comp-row .vp178-icon-slot {color:#9c3f52;margin-right:7px}
  #resultOverlay.vp178-desktop .vp-comp-row .vp178-icon-slot svg {width:15px;height:15px}
  /* If even compact typography cannot fit a long bilingual report, use a
     readable scroll container rather than shrink the text to illegibility. */
  #resultOverlay.vp178-desktop.vp178-scroll-fallback:not(.hide) {overflow:auto!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:12px!important}
  #resultOverlay.vp178-desktop.vp178-scroll-fallback #resultArea.result-card {
    position:relative!important;top:auto!important;left:auto!important;
    transform:none!important;transform-origin:center!important;
    max-height:calc(100vh - 24px)!important;overflow-y:auto!important;overflow-x:hidden!important;
  }
}
/* Preserve original mobile result layout and emoji. */
#resultOverlay .vp178-icon-slot .vp178-original {display:inline}
#resultOverlay .vp178-icon-slot svg {display:none}
