:root{color-scheme:light}body{margin:0;background:#f6f9f7;color:#153b37;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif}.tp-skip{position:absolute;inset-inline-start:-999px}.tp-skip:focus{inset-inline-start:10px;top:10px;background:#fff;padding:10px}.tp-free-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px max(22px,calc((100vw - 1050px)/2));background:white;border-bottom:1px solid #e0ebe5;flex-wrap:wrap}.tp-free-brand{text-decoration:none;font-size:27px;font-weight:800;color:#133e35}.tp-free-brand span{color:#0a9576}.tp-free-brand b{color:#ffb355}.tp-free-locales{display:flex;gap:7px;flex-wrap:wrap}.tp-free-locales a{padding:5px 8px;border-radius:7px;text-decoration:none;color:#42605a;font-size:13px}.tp-free-locales a[aria-current]{color:#fff;background:#13846d}.tp-free-wrap{max-width:1010px;margin:32px auto 100px;padding:0 18px}.tp-free-head{background:#e5f3ed;padding:30px;border-radius:18px;margin-bottom:25px}.tp-free-head h1{margin:0 0 12px;color:#13483b;font-size:clamp(24px,4vw,36px)}.tp-free-head p{margin:0 0 15px;line-height:1.6}.tp-free-card{padding:25px;margin:17px 0;border:1px solid #d9e5de;border-radius:15px;background:#fff;scroll-margin-top:18px;box-shadow:0 2px 10px #17352908}.tp-free-card h2{font-size:21px;line-height:1.5;margin:0 0 17px;white-space:pre-wrap}.tp-free-answer{display:block;border:1px solid #cfdcd5;background:#f7faf8;border-radius:10px;margin:10px 0;padding:14px 16px;cursor:pointer;width:100%;text-align:start;font:inherit;line-height:1.55;color:#183d33}.tp-free-answer:hover:not(:disabled){border-color:#0b8068;background:#edf7f1}.tp-free-answer:disabled{cursor:default;opacity:1}.tp-free-answer.correct{background:#d6f1e1;border-color:#39a375}.tp-free-answer.wrong{background:#fbe0e0;border-color:#d78282}.tp-free-exp{background:#eef6f1;border-inline-start:4px solid #12846d;border-radius:7px;padding:17px;margin-top:15px;white-space:pre-wrap;line-height:1.6}.tp-free-images{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:15px 0}.tp-free-image{max-width:100%;max-height:390px;object-fit:contain;border-radius:9px}.tp-free-image--sign{width:min(180px,45vw);max-height:180px}.tp-free-image--scene{width:min(690px,100%)}.tp-free-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.tp-free-btn{background:#10816b;border:0;color:white;font-weight:700;padding:13px 25px;border-radius:10px;cursor:pointer}.tp-free-btn:disabled{opacity:.55;cursor:wait}.tp-free-result{border:2px solid #93c6a7;border-radius:17px;padding:24px;background:#f0f8f3}.tp-free-links{margin-top:12px}.tp-free-links a{display:inline-block;margin:4px 12px 2px 0;color:#086a57;text-decoration:underline}.tp-free-error{padding:12px 18px;border:1px solid #cc6363;background:#ffeded;border-radius:9px;color:#972222}.tp-free-status{font-weight:650;margin-top:14px}@media(max-width:690px){.tp-free-top{padding:14px 16px}.tp-free-head{padding:22px}.tp-free-card{padding:18px}.tp-free-card h2{font-size:18px}}

/* Free test results: localized textbook recommendations and completion anchor. */
#tp-free-result{scroll-margin-top:22px;outline-offset:4px}
.tp-free-recommendations{list-style:none;margin:15px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:10px}
.tp-free-recommendation{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 15px;border:1px solid #cadfd3;border-radius:10px;background:#fff;min-width:0}
.tp-free-topic-link,.tp-free-topic-name{flex:1 1 160px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.tp-free-topic-link{color:#086a57;text-decoration:underline;text-underline-offset:3px}
.tp-free-topic-link:hover{color:#024d3d}
.tp-free-topic-count{flex:0 0 auto;padding:3px 9px;border-radius:999px;background:#e9f1ec;color:#335d4e;font-size:13px;font-variant-numeric:tabular-nums}
.tp-free-related{flex:1 0 100%;display:flex;gap:12px;flex-wrap:wrap;font-size:13px}
.tp-free-related a{color:#086a57;text-decoration:underline}
.tp-free-result .tp-free-fail-heading{color:#b42318}

/* TP_FREE_FULL_CTA_V25: genuine links and result actions; RTL safe. */
.tp-free-result-actions{margin:22px 0 0}
.tp-free-btn--outline{display:inline-flex;align-items:center;justify-content:center;
    box-sizing:border-box;background:#fff;color:#0b705c;border:2px solid #0b8068;
    padding:11px 23px;text-decoration:none;text-align:center;line-height:1.35}
.tp-free-btn--outline:hover,.tp-free-btn--outline:focus-visible{background:#e6f4ed;color:#075a47}
.tp-free-btn:focus-visible{outline:3px solid #f4ba51;outline-offset:3px}
@media(max-width:480px){.tp-free-buttons{gap:10px}.tp-free-buttons .tp-free-btn{max-width:100%;white-space:normal}}

/* TP_FREE_HOME_ENTRY_V26: accessible two-choice modal. */
.tp-free-resume-dialog{width:min(92vw,540px);max-width:540px;max-height:calc(100vh - 48px);
 box-sizing:border-box;padding:clamp(24px,4vw,34px);border:1px solid #b9d7c9;border-radius:18px;
 background:#fff;color:#153b37;box-shadow:0 20px 80px #001d16a0;overflow:auto}
.tp-free-resume-dialog::backdrop{background:rgba(12,40,34,.62)}
.tp-free-resume-dialog h2{font-size:clamp(20px,3vw,26px);line-height:1.3;margin:0 0 14px}
.tp-free-resume-dialog p{font-size:16px;line-height:1.6;margin:0}
.tp-free-resume-dialog .tp-free-buttons{margin:24px 0 0}
@media(max-width:540px){.tp-free-resume-dialog .tp-free-btn{flex:1 1 100%;white-space:normal}}
