:root{--seemaths-ink:#17233f;--seemaths-paper:#f5f7fc;--seemaths-blue:#595bdb}
body{margin:0;background:var(--seemaths-paper);color:var(--seemaths-ink);font-family:Inter,"Avenir Next",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.seemaths-activity-bar{position:sticky;top:0;z-index:110;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;padding:12px clamp(16px,4vw,48px);background:#fff;border-bottom:1px solid #e5e9f2;min-height:64px}
.seemaths-activity-bar[hidden],.seemaths-activity-status[hidden],.seemaths-activity-actions[hidden],.seemaths-clock[hidden]{display:none!important}
.seemaths-activity-status{margin:0;font-size:18px;font-weight:650;flex:1;min-width:120px}
.seemaths-clock{display:flex;align-items:center;font-variant-numeric:tabular-nums;font-size:24px;letter-spacing:.03em;white-space:nowrap;background:#fff5d9;color:#785319;border:1px solid #f2db9d;border-radius:16px;padding:9px 16px}
.seemaths-clock::before{content:'Time left';font:650 14px/1.3 Inter,system-ui,sans-serif;letter-spacing:0;margin-right:14px}
.seemaths-activity-actions{display:flex;gap:10px;flex-wrap:wrap}
.seemaths-action{appearance:none;border:1px solid #dce1f1;border-radius:16px;background:#eef0ff;color:#3c409b;padding:12px 20px;font:inherit;font-size:17px;font-weight:700;cursor:pointer;min-height:52px;transition:transform .18s,background .18s}
.seemaths-action:hover{background:#e3e6ff}
.seemaths-action:active{transform:none}
.seemaths-action:focus-visible{outline:3px solid #575bdd;outline-offset:3px}
.seemaths-warning{background:#fff1dd;color:#694413}
:where(#app)>h1,:where(#app)>p,:where(#app)>.seemaths-action{margin:24px}
:where(#app).questionnaire{--psat-primary:#243753;--psat-accent:#91e0d2;--paper-accent:#595bdb}
:where(#app) .paper-heading-with-layout{top:var(--seemaths-bar-height,0px)}
@media screen{
 :where(#app) .paper-heading-with-layout{background:#fff;color:#17233f;min-height:82px;padding:14px 28px;border-bottom:1px solid #e5e9f2;box-shadow:0 3px 16px #24375305}
 :where(#app) .paper-heading-with-layout h1{font-size:22px;font-weight:750}
 :where(#app) .paper-brand{display:flex;gap:14px}
 :where(#app) .paper-brand-icon{width:42px;height:42px;border:0;border-radius:13px}
 :where(#app) .paper-heading-with-layout .paper-button{min-width:50px;height:50px;background:#eef0ff;color:#4045a3;border:1px solid #e0e3fa;border-radius:14px;font-size:16px;padding:10px 14px;transition:transform .18s,background .18s}
 :where(#app) .paper-heading-with-layout .paper-button:hover{background:#e0e4ff}
 :where(#app) .paper-heading-with-layout .paper-button svg{width:23px;height:23px}
 :where(#app) .paper-heading-with-layout button:focus-visible,:where(#app) .paper-home-link:focus-visible{outline:3px solid #595bdb;outline-offset:3px}
 #app.questionnaire-with-toolbar{padding-top:102px;padding-bottom:118px}
 :where(#app):not(.paper-learning) .paper-question{border-radius:22px;box-shadow:0 6px 24px #24375307;}
 :where(#app):not(.paper-learning) .paper-band{border-radius:14px;background:#e9edfb}
 :where(#app):not(.paper-learning) .paper-number{border-radius:12px;background:#5a5dd7;color:white;font-weight:700}
 :where(#app):not(.paper-learning) .paper-practice-actions{gap:12px}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-button{box-sizing:border-box;min-height:56px;height:auto;border-radius:15px;font-size:18px;padding:12px 18px;border:1px solid #d9def5;background:#eef0ff;color:#4045a3;font-weight:700;transition:transform .18s,background .18s}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-button:first-child{background:#595bdb;border-color:#494bc5;color:white}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-button.paper-next-question{background:#23804d;border-color:#176b3c;color:#fff}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-explorer-button{background:#0c8f7c;border-color:#087667;color:#fff}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-button:hover:not(:disabled){filter:brightness(1.03)}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-button:active:not(:disabled){transform:none}
 :where(#app):not(.paper-learning) .paper-choice{min-height:48px;align-items:center}
 :where(#app):not(.paper-learning) .paper-choice-letter{display:inline-grid;place-items:center;box-sizing:border-box;min-width:44px;min-height:44px;border-radius:12px;border-color:#d8deef;background:#f5f6fc;color:#344363;transition:background .18s,transform .18s}
 :where(#app):not(.paper-learning) .paper-choice:hover .paper-choice-letter{background:#e9ecff;transform:translateY(-2px)}
 :where(#app):not(.paper-learning) .paper-choice input:checked+.paper-choice-letter{background:#595bdb;border-color:#595bdb;color:white}
 :where(#app) .paper-footer{background:#fff;color:#243753;border-top:1px solid #e2e7f1;padding:12px 24px calc(12px + env(safe-area-inset-bottom))}
 :where(#app) .paper-footer .paper-dots{gap:10px;scrollbar-color:#bdc5e8 transparent}
 :where(#app) .paper-footer .paper-dot{box-sizing:border-box;flex:none;width:44px;height:44px;border:1px solid #dbe0ef;border-radius:14px;background:#f5f6fc;color:#3f4b69;font-size:16px;font-weight:700;transition:transform .16s,background .16s}
 :where(#app) .paper-footer .paper-dot.answered{background:#e6f6ed;color:#23704b;border-color:#b8e2ca}
 :where(#app) .paper-footer .paper-dot[aria-current=step]{background:#595bdb;color:white;border-color:#595bdb;box-shadow:0 0 0 3px #e6e7ff}
 :where(#app) .paper-footer .paper-dot:hover:not(:disabled){border-radius:14px;transform:translateY(-2px);box-shadow:0 0 0 3px #e6e7ff}
 :where(#app) .paper-footer .paper-button{height:48px;color:#4045a3;background:#eef0ff;border:0;border-radius:14px}
 :where(#app) .paper-footer .paper-chevron{width:48px}
 :where(#app) .paper-footer button:focus-visible{outline:3px solid #595bdb;outline-offset:2px}
 :where(#app):not(.paper-learning) .paper-question[data-psat-result="correct"] .paper-band{background:#d7f1e1}
 :where(#app):not(.paper-learning) .paper-question[data-psat-result="incorrect"] .paper-band{background:#fde6e0}
}

@media(max-width:650px){
 .seemaths-activity-bar{padding:10px 16px;gap:10px;min-height:60px}
 .seemaths-clock{font-size:22px;padding:7px 13px}
 .seemaths-clock::before{font-size:13px;margin-right:10px}
 .seemaths-activity-actions{width:100%}
 .seemaths-action{font-size:16px;min-height:50px;padding:10px 15px}
 :where(#app) .paper-heading-with-layout{min-height:76px;padding:12px 16px;gap:8px}
 :where(#app) .paper-heading-with-layout h1{font-size:19px}
 :where(#app) .paper-brand{gap:9px}
 :where(#app) .paper-brand-icon{width:36px;height:36px}
 :where(#app) .paper-heading-with-layout .paper-button{width:48px;min-width:48px;height:48px;padding:11px}
 #app.questionnaire-with-toolbar{padding-top:92px}
 :where(#app):not(.paper-learning) .paper-practice-actions .paper-button{min-height:54px;padding:10px 12px;font-size:16px;white-space:normal}
 :where(#app):not(.paper-learning) .paper-practice-actions.paper-practice-actions-explorer{width:100%;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
 :where(#app)[data-mode="teacher"] .paper-teach-host{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 :where(#app) .paper-footer{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
 :where(#app) .paper-footer .paper-dots{gap:8px}
 :where(#app) .paper-footer .paper-dot{width:42px;height:42px;border-radius:13px}
}
@media print{.seemaths-activity-bar,.seemaths-action{display:none!important}body{background:white}:where(#app) .paper-heading-with-layout{top:auto}}
@media(prefers-reduced-motion:reduce){:where(#app) .paper-question{animation:none}:where(#app) button,.seemaths-action,:where(#app) .paper-choice-letter{transition:none!important}*{scroll-behavior:auto!important}}

/* Keep every activity button flat; keyboard focus continues to use outlines. */
:where(#app) button,:where(#app) button:hover,:where(#app) button:active,.seemaths-action,.seemaths-action:hover,.seemaths-action:active{box-shadow:none!important}

/* The exam clock shares the print toolbar instead of reserving another row. */
:where(#app) .paper-heading-with-layout .seemaths-clock{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;width:50px;min-width:50px;height:50px;padding:10px;border:1px solid #e0e3fa;border-radius:14px;background:#eef0ff;color:#4045a3;font-size:19px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:0;white-space:nowrap}
:where(#app) .seemaths-clock[hidden],:where(#app) .seemaths-clock-value[hidden]{display:none!important}
:where(#app) .seemaths-clock::before{content:none}
:where(#app) .paper-heading-with-layout .seemaths-clock[data-expanded="true"]{width:auto;padding-inline:12px}
:where(#app) .seemaths-clock svg{width:23px;height:23px;flex-shrink:0}
:where(#app) .paper-heading-with-layout .seemaths-clock[data-urgent="true"]{background:#fff5d9;border-color:#f2db9d;color:#785319}
@media(max-width:650px){
 :where(#app) .paper-heading-with-layout .seemaths-clock{width:48px;min-width:48px;height:48px;padding:11px;font-size:17px}
 :where(#app) .paper-heading-with-layout:has(.seemaths-clock[data-expanded="true"]) h1{display:none}
}
@media print{:where(#app) .seemaths-clock{display:none!important}}
:where(#app) .paper-heading-with-layout button[aria-label="Print paper"]{box-sizing:border-box;width:50px;min-width:50px;padding:10px}
@media(max-width:650px){:where(#app) .paper-heading-with-layout button[aria-label="Print paper"]{width:48px;min-width:48px;padding:11px}}
:where(#app) .paper-heading-with-layout .seemaths-clock{flex:0 0 auto;aspect-ratio:auto}

/* A question may move into a native full-screen dialog during Help Me.
   Keep its inherited metrics stable independently of the slideshow container. */
.paper-question{font:16px/1.5 Roboto,Arial,sans-serif;color:#202020}
.paper-question,.paper-question *{box-sizing:border-box}
