#ibt-guest-exit {
    --exit-ink: #102d41;
    --exit-text: #3c5363;
    --exit-green: #07695b;
    box-sizing: border-box;
    width: min(720px, calc(100% - 36px));
    max-width: none;
    max-height: calc(100% - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #cddcde;
    border-radius: 20px;
    background: #fff;
    color: var(--exit-ink);
    box-shadow: 0 18px 60px #071c2b55;
    font-family: inherit;
}

#ibt-guest-exit::backdrop { background: rgb(9 29 43 / 66%); }
#ibt-guest-exit * { box-sizing: border-box; }
#ibt-guest-exit p { margin: 0; color: var(--exit-text); line-height: 1.45; }

#ibt-guest-exit .ibt-exit-close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eaf2f1;
    color: var(--exit-ink);
    font: 700 25px/1 sans-serif;
    cursor: pointer;
}

#ibt-guest-exit .ibt-exit-heading { padding: 28px 48px 16px; text-align: center; }
#ibt-guest-exit h2 {
    margin: 0 0 8px;
    color: var(--exit-ink);
    font-family: inherit;
    font-size: clamp(28px, 3.1vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}
#ibt-guest-exit h2 strong { color: var(--exit-green); font-weight: inherit; }
#ibt-guest-exit .ibt-exit-heading p { font-size: 15px; }

#ibt-guest-exit .ibt-exit-content {
    display: grid;
    grid-template-columns: minmax(0, 285px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 0 27px 19px;
}

#ibt-guest-exit .ibt-exit-dashboard {
    min-width: 0;
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(145deg, #0d2e43, #0d5753);
    color: #fff;
    text-align: center;
}
#ibt-guest-exit figcaption { margin: 0 0 8px; color: #fff; font-size: 14px; font-weight: 800; }
#ibt-guest-exit img {
    display: block;
    width: min(100%, 220px);
    height: auto;
    margin-inline: auto;
    border-radius: 6px;
    aspect-ratio: 640 / 738;
    background: #eaf3f3;
}
#ibt-guest-exit .ibt-exit-dashboard p { margin-top: 8px; color: #e1f3f2; font-size: 12px; }

#ibt-guest-exit .ibt-exit-benefits { display: grid; gap: 12px; }
#ibt-guest-exit .ibt-exit-badge {
    justify-self: start;
    padding: 4px 11px;
    border-radius: 20px;
    background: #c5f1dd;
    color: #084738;
    font-size: 13px;
    font-weight: 800;
}
#ibt-guest-exit .ibt-exit-benefits section {
    padding-inline-start: 10px;
    border-inline-start: 3px solid var(--exit-skill-color);
}
#ibt-guest-exit .ibt-exit-reading { --exit-skill-color: #2259ac; }
#ibt-guest-exit .ibt-exit-listening { --exit-skill-color: #a3480c; }
#ibt-guest-exit .ibt-exit-writing { --exit-skill-color: #6639a6; }
#ibt-guest-exit .ibt-exit-speaking { --exit-skill-color: #9f275e; }
#ibt-guest-exit h3 { margin: 0 0 2px; color: var(--exit-ink); font-size: 18px; font-weight: 800; line-height: 1.2; }
#ibt-guest-exit .ibt-exit-benefits section p { font-size: 14px; }

#ibt-guest-exit .ibt-exit-actions {
    padding: 12px 27px 8px;
    border-top: 1px solid #d8e5e4;
    background: #eff6f4;
    text-align: center;
}
#ibt-guest-exit .ibt-exit-actions p { margin-bottom: 10px; color: var(--exit-ink); font-size: 14px; font-weight: 800; }
#ibt-guest-exit .ibt-exit-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#ibt-guest-exit .ibt-exit-links a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid var(--exit-green);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}
#ibt-guest-exit .ibt-exit-primary { background: var(--exit-green); color: #fff; }
#ibt-guest-exit .ibt-exit-primary:hover { background: #055145; }
#ibt-guest-exit .ibt-exit-secondary { background: #fff; color: #08594d; }
#ibt-guest-exit .ibt-exit-secondary:hover { background: #ddf1ea; }
#ibt-guest-exit .ibt-exit-browse {
    min-height: 38px;
    margin-top: 2px;
    padding: 3px 12px;
    border: 0;
    background: transparent;
    color: var(--exit-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
#ibt-guest-exit :is(a, button):focus-visible { outline: 3px solid #875600; outline-offset: 3px; }
