/* Scoped, paired foreground/background overrides for all public palettes. */
:is(.stx-app,.stx-static-shell) .stx-site-header .stx-nav > [data-install-app] {
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;
  background:#f2bd69!important;color:#102238!important;-webkit-text-fill-color:#102238!important;
  border:1px solid #f2bd69!important;border-radius:7px!important;min-height:44px;width:auto!important;
  padding:10px 14px!important;line-height:1.25!important;font-weight:750;opacity:1!important;box-shadow:none!important;
}
:is(.stx-app,.stx-static-shell) .stx-site-header .stx-nav > [data-install-app]:hover {
  background:#ffcf87!important;color:#102238!important;-webkit-text-fill-color:#102238!important;
}
:is(.stx-app,.stx-static-shell) .stx-site-header .stx-nav > [data-enable-alerts] {
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto!important;
  min-height:44px;height:auto!important;padding:10px 14px!important;line-height:1.25!important;
  border:1px solid #68809b!important;border-radius:7px!important;background:#172a40!important;
  color:#f5f9ff!important;-webkit-text-fill-color:#f5f9ff!important;opacity:1!important;box-shadow:none!important;
}
.stx-app .stx-site-header [data-enable-alerts] :is(span,svg){color:inherit!important;-webkit-text-fill-color:inherit!important}
.stx-app .stx-site-header [data-enable-alerts] svg{width:18px;height:18px;flex:none}
.stx-app .stx-site-header .stx-nav > [data-install-app]:disabled {
  background:#24364c!important;color:#d3dfed!important;-webkit-text-fill-color:#d3dfed!important;border-color:#68809b!important;
}
.stx-app .stx-site-header button:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}
.stx-notification-card{padding-right:64px!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box}
.stx-notification-card [data-close-notice] {
  display:grid!important;place-items:center!important;position:absolute!important;top:12px!important;right:12px!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  padding:8px!important;line-height:1!important;background:#e8eef6!important;color:#233f5e!important;
  border:1px solid #bccbdf!important;border-radius:6px!important;box-shadow:none!important;transform:none!important;
}
.stx-notification-card [data-close-notice] svg{display:block;width:18px!important;height:18px!important;margin:0!important}
.stx-app .cx-exam-card{display:flex;flex-direction:column;min-width:0;height:100%;padding:23px;background:#fff;border:1px solid #d4deec;border-radius:9px;box-sizing:border-box}
.stx-app .cx-exam-card-heading{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:10px;color:#5a6c83;letter-spacing:.3px}
.stx-app .cx-pass-badge{background:#e8f2ed;color:#195b3b;border-radius:4px;padding:4px 7px;font-size:10px;white-space:nowrap;font-weight:700}
.stx-app .cx-exam-card h3{font-size:23px;line-height:1.2;margin:20px 0 10px;letter-spacing:-.6px!important;overflow-wrap:anywhere}
.stx-app .cx-exam-card h3 a{color:#172d4b;text-decoration:none}
.stx-app .cx-exam-card-route{font-size:12px;line-height:1.6;min-height:38px;color:#58708c;margin:0 0 19px}
.stx-app .cx-group-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 0;border-block:1px solid #dce5f1;margin:0 0 18px}
.stx-app .cx-group-metrics div{display:flex;flex-direction:column;gap:7px;min-width:0}
.stx-app .cx-group-metrics dt{font-size:10px;line-height:1.45;color:#59718e;order:2}
.stx-app .cx-group-metrics dd{margin:0;font-size:22px;line-height:1.2;letter-spacing:-.6px;color:#163151;font-weight:750;overflow-wrap:anywhere}
.stx-app .cx-exam-card .stx-subject-chips{margin-bottom:23px;min-height:24px;flex-wrap:wrap}
.stx-app .cx-exam-card > .stx-btn{margin-top:auto;min-height:44px;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.stx-app .cx-test-wrap{display:flex;flex-direction:column;border:0}
.stx-app .cx-test-tools{border:1px solid #d4deec;border-top:0;border-radius:0 0 9px 9px;margin-top:-6px;background:#f1f5fa;padding:16px 15px 12px;font-size:11px;gap:12px;align-items:center}
.stx-app .cx-test-tools button{color:#234c7b;background:#fff;border:1px solid #c5d6ec;display:grid;place-items:center;min-width:40px;min-height:40px;padding:9px}
.stx-app .cx-test-tools button[aria-pressed=true]{color:#154caa;background:#e2edff;border-color:#7098d9}
.stx-app .cx-test-tools svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none}
.stx-app .cx-test-tools button[aria-pressed=true] svg{fill:#c8dcff}
.stx-app .cx-group-hero{padding:36px 0 42px;background:#101f33;color:#fff}
.stx-app .cx-group-hero .cx-back{display:inline-block;color:#d4dfed;font-size:13px;text-decoration:none;margin-bottom:28px}
.stx-app .cx-group-hero .cx-kicker{display:block;color:#e9bb77}
.stx-app .cx-group-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.12;color:#fff;letter-spacing:-1.5px!important;margin:18px 0}
.stx-app .cx-group-hero p{color:#c4d3e6;font-size:15px;max-width:670px;line-height:1.7}
.stx-app .cx-lifetime-link{display:inline-block;color:#f5c67e;font-weight:700;font-size:13px;margin-top:12px}
.stx-app .cx-group-workspace{padding-block:32px 56px!important}
.stx-app .cx-route-note{padding:22px 25px;background:#fff;border:1px solid #d3deec;border-left:4px solid #bc8130;border-radius:7px;margin-bottom:30px}
.stx-app .cx-route-note strong{font-size:16px;color:#183656}
.stx-app .cx-route-note p{font-size:14px;line-height:1.8;color:#536c89;max-width:940px;margin:10px 0}
.stx-app .cx-route-note a{font-size:12px;color:#1658ae;font-weight:700}
.stx-app .cx-group-toolbar{display:flex;align-items:center;gap:28px;margin-bottom:22px}
.stx-app .cx-group-toolbar label{font-size:12px;font-weight:750;color:#2d4765;width:250px;max-width:100%;flex-shrink:0}
.stx-app .cx-group-toolbar select{display:block;margin-top:8px;width:100%;min-height:46px;border:1px solid #b7cce6;border-radius:6px;background:#fff;color:#183451;font:inherit;font-size:15px;padding:10px 12px}
.stx-app [data-group-summary]{color:#4e6682;line-height:1.7;font-size:14px}
.stx-app .cx-paper-list{display:flex;flex-direction:column;gap:14px}
.stx-app .cx-paper-row{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(210px,.7fr) 210px;align-items:center;gap:20px;padding:23px;background:#fff;border:1px solid #d2deed;border-radius:8px;box-sizing:border-box}
.stx-app .cx-paper-number{font-size:17px;color:#7c8fa6;align-self:start;padding-top:2px;font-weight:650}
.stx-app .cx-paper-info{min-width:0}
.stx-app .cx-paper-info h2{font-size:19px;line-height:1.4;color:#173558;letter-spacing:-.35px!important;margin:0 0 9px;overflow-wrap:anywhere}
.stx-app .cx-paper-info p{font-size:12px;line-height:1.65;color:#58708f;margin:0 0 10px}
.stx-app .cx-paper-coverage{font-size:10px;font-weight:650;color:#697c95}
.stx-app .cx-paper-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.stx-app .cx-paper-metrics dt{font-size:10px;color:#647b98}
.stx-app .cx-paper-metrics dd{font-size:22px;line-height:1.4;font-weight:750;color:#1d3b5b;margin:5px 0 0;overflow-wrap:anywhere}
.stx-app .cx-paper-action{display:flex;flex-direction:column;gap:9px;min-width:0}
.stx-app .cx-paper-action .stx-btn{font-size:12px;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;border-radius:6px}
.stx-app .cx-paper-action small{font-size:10px;color:#617993;line-height:1.6}
.stx-app .cx-paper-pending{font-size:13px;font-weight:700;color:#7b4d19;background:#fcf0df;border-radius:5px;padding:11px}
.stx-app .cx-group-help{font-size:12px;color:#637a95;line-height:1.8;max-width:900px;margin-top:22px}
.stx-app .cx-paper-navigation{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:16px max(24px,calc((100% - 1200px)/2));font-size:12px;background:#fff;border-bottom:1px solid #dce4ee}
.stx-app .cx-paper-navigation a{color:#1559b7;font-weight:700;text-decoration:none}
.stx-app .cx-paper-navigation span{color:#516b88}
.stx-app .cx-lifetime-pricing{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);max-width:980px;margin:auto;gap:28px}
.stx-app .cx-lifetime-pricing .featured{padding:32px}
.stx-app .cx-lifetime-pricing .featured li{margin:13px 0;line-height:1.7}
.stx-app .cx-lifetime-pricing .cx-free-intro h2{font-size:29px;color:#143555;line-height:1.25}
.stx-app .cx-price-foot{display:block;font-size:11px;line-height:1.8;margin-top:17px}
.cx-next-paper{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:22px;margin:20px 0;background:#eff5fd;border:1px solid #cbdced;border-radius:8px;color:#203b5f}
.cx-next-paper>div{flex:1;min-width:180px}.cx-next-paper p{font-size:13px;line-height:1.7}.cx-next-paper>a{font-size:12px}
@media(max-width:1050px){.stx-app .cx-paper-row{grid-template-columns:30px minmax(0,1fr) 200px;gap:16px}.stx-app .cx-paper-action{grid-column:2/-1;flex-direction:row;align-items:center}.stx-app .cx-paper-action .stx-btn{min-width:200px}}
@media(max-width:760px){.stx-app .cx-group-hero{padding:25px 0 32px}.stx-app .cx-group-workspace{padding-block:22px 40px!important}.stx-app .cx-group-toolbar{flex-direction:column;align-items:start;gap:16px}.stx-app .cx-group-toolbar label{width:100%}.stx-app .cx-route-note{padding:17px}.stx-app .cx-paper-row{grid-template-columns:24px minmax(0,1fr);gap:15px;padding:18px}.stx-app .cx-paper-metrics{grid-column:2}.stx-app .cx-paper-action{grid-column:1/-1;flex-direction:column;align-items:stretch}.stx-app .cx-paper-info h2{font-size:17px}.stx-app .cx-exam-card h3{font-size:22px}.stx-app .cx-lifetime-pricing{grid-template-columns:1fr}.stx-notification-card{padding-right:58px!important}}
