:root{--purple:#3c066c;--deep:#290449;--gold:#f4c44e;--ink:#241b2c;--muted:#716679;--line:#ddd7e3;--paper:#f4f3f6;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:var(--purple)}button,input,select{font:inherit}button{cursor:pointer}button,select,input[type=number]{min-height:44px}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b87c00;outline-offset:3px}.brandbar{min-height:80px;background:var(--purple);border-bottom:4px solid var(--gold);padding:14px max(24px,calc((100% - 1360px)/2));display:flex;align-items:center;gap:36px;color:white}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:white;font-size:20px;font-weight:800;letter-spacing:.07em;line-height:1.1}.brand img{border-radius:7px}.brand small{display:block;font-size:10px;letter-spacing:.23em;margin-top:5px;font-weight:500}.tool-name{font-size:14px;color:#e4d7ef}.tool-name span{padding:0 10px;color:#ae90c8}.home{margin-left:auto;font-size:14px;color:white;text-underline-offset:4px}main{max-width:1360px;margin:auto;padding:30px 24px 20px}.heading{display:flex;gap:24px;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.13em;color:var(--purple);margin:0 0 8px}h1{font-size:clamp(26px,3vw,38px);line-height:1.15;letter-spacing:-.035em;margin:0}h1 span{color:#b88500}.intro{margin:10px 0 0;color:var(--muted);font-size:16px}.edition{font-size:12px;font-weight:700;letter-spacing:.08em;white-space:nowrap;color:var(--muted);border-left:3px solid var(--gold);padding-left:12px}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:26px;align-items:start}.settings{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.settings form{padding:22px}.panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:24px}h2{font-size:21px;line-height:1.3;margin:0}.panel-heading h2{font-size:20px}.step{font-size:13px;font-weight:700;background:var(--purple);color:var(--gold);padding:4px 7px;border-radius:4px}#collapse-settings{display:none;margin-left:auto;background:none;border:0;color:var(--purple);font-size:14px;padding:0 5px}fieldset{border:0;padding:0;margin:0}legend,label{display:block;font-size:14px;font-weight:700}legend{margin-bottom:8px}.area-tabs{display:flex;flex-direction:column;gap:5px}.area{width:100%;text-align:left;background:#f7f5fa;border:1px solid transparent;border-radius:6px;padding:10px 12px;font-size:14px;color:#62546e;display:flex;gap:12px;align-items:center}.area span{font-size:12px;opacity:.7}.area.active{background:var(--purple);color:white;border-color:var(--purple)}.settings label:not(.check){margin:19px 0 7px}select,input[type=number]{width:100%;min-width:0;padding:9px 10px;background:white;color:var(--ink);border:1px solid #c8bed1;border-radius:6px;font-size:14px}.field-note{font-size:12px;line-height:1.5;color:var(--muted);margin:7px 0 0}.field-pair{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:10px}.check{display:flex;align-items:start;gap:9px;font-size:14px;font-weight:500;margin:20px 0}.check input,.print-check input{width:17px;height:17px;accent-color:var(--purple);margin:3px 0 0;flex-shrink:0}.check small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.primary{width:100%;background:var(--purple);color:white;border:1px solid var(--purple);padding:12px;border-radius:7px;font-size:15px;font-weight:700}.primary:hover{background:var(--deep)}.small-note{text-align:center;color:var(--muted);font-size:12px;margin:10px 0 0}.routine{background:#fff9e9;padding:20px 22px;border-top:1px solid #eee0b9}.routine-label{font-size:10px;letter-spacing:.09em;color:#856015;font-weight:800}.routine p{font-size:13px;margin:8px 0 0;color:#675735}.routine strong{font-size:14px;color:#4b3b1f}.set-heading{background:var(--purple);color:white;padding:22px 24px;border-radius:12px 12px 0 0;display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:4px solid var(--gold)}.set-heading .eyebrow{color:var(--gold);font-size:11px}.set-heading h2{font-size:27px;letter-spacing:-.025em}.set-heading p:not(.eyebrow){font-size:14px;color:#e2d5eb;margin:7px 0 0}.set-badge{flex-shrink:0;white-space:nowrap;border:1px solid #ffffff40;padding:5px 10px;border-radius:5px;font-size:13px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:white;border:1px solid var(--line);border-top:0;padding:13px 16px;border-radius:0 0 9px 9px;flex-wrap:wrap}.view-tabs{display:flex;gap:4px;background:#f0edf4;padding:4px;border-radius:7px}.view{padding:5px 14px;min-height:34px;background:transparent;color:#776783;border:0;border-radius:4px;font-size:14px}.view.active{background:white;color:var(--purple);box-shadow:0 1px 5px #29143b15;font-weight:700}.print-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.print-check{font-size:13px;font-weight:400;display:flex;gap:7px;align-items:center}.print-check input{margin:0}.print-button{display:flex;gap:8px;align-items:center;background:var(--gold);color:#382707;font-size:14px;font-weight:700;border:1px solid #e9b736;border-radius:6px;padding:9px 12px}.print-button:hover{background:#eab538}#status{font-size:13px;color:var(--muted);margin:16px 0 12px;min-height:20px}.message{font-size:14px;background:#fff5d8;border:1px solid #dfc576;color:#705512;padding:11px 14px;border-radius:6px;margin:0 0 14px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.sheet+.sheet{margin-top:13px}.card{border:1px solid #d5cbdc;background:white;border-radius:9px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.card-top{display:flex;justify-content:space-between;align-items:center;padding:9px 13px 0;gap:8px}.card-number{font-size:12px;color:#8a7b96}.task-tag{font-size:10px;letter-spacing:.07em;color:#9a782d;font-weight:700;text-transform:uppercase}.card-main{min-height:160px;padding:13px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-align:center;flex:1}.question{font-size:22px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.question.compact{font-size:17px;font-weight:500}.question .equation{font-size:27px;font-weight:500;display:block;margin-top:10px;font-variant-numeric:tabular-nums}.fraction{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:stretch;font-size:.8em;line-height:1.1;margin:0 .12em;font-variant-numeric:tabular-nums;min-width:.8em}.fraction span:first-child{border-bottom:1.5px solid currentColor;padding:0 .13em .1em}.fraction span:last-child{padding:.1em .13em 0}.model{width:100%;max-width:250px}.model svg{display:block;width:100%;height:auto;max-height:92px}.model text{font-family:Arial,Helvetica,sans-serif}.model-label{font-size:12px;font-weight:400;color:var(--muted);display:block;margin-bottom:3px}.partner-prompt{font-size:12px;color:#6f5a7e;border-top:1px solid #eee8f2;padding:9px 13px;margin:0;background:#faf8fc;min-height:46px}.card-bottom{display:flex;justify-content:flex-end;align-items:center;padding:4px 10px 6px;background:#faf8fc}.replace{font-size:12px;color:var(--purple);background:none;border:0;padding:2px 5px;min-height:30px;text-decoration:underline;text-underline-offset:3px}.preview-note{font-size:12px;color:var(--muted);margin:18px 0 0}.answers-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}.answers-heading h3{font-size:18px;margin:0}.answers-heading span{font-size:12px;color:var(--muted)}.answer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer-row{display:flex;align-items:flex-start;gap:12px;padding:15px;background:white;border:1px solid var(--line);border-radius:7px}.answer-number{font-size:12px;background:#eee6f5;color:var(--purple);padding:3px 6px;border-radius:4px;flex-shrink:0}.answer-row strong{font-size:16px}.answer-row p{font-size:13px;margin:5px 0 0;color:var(--muted);line-height:1.5}.empty{padding:40px;text-align:center;background:white;border:1px dashed #d0c3da;border-radius:8px}.empty p{font-size:14px;color:var(--muted)}.guidance{margin-top:28px;background:white;border:1px solid var(--line);border-radius:9px}.guidance summary{padding:16px 20px;font-size:14px;font-weight:700;color:var(--purple);cursor:pointer}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:0 20px 22px}.notes-grid h3{font-size:16px;margin:14px 0 6px}.notes-grid p{font-size:14px;color:var(--muted);margin:0;line-height:1.7}footer{display:flex;gap:20px;align-items:center;font-size:12px;color:var(--muted);border-top:1px solid var(--line);margin-top:24px;padding-top:16px}footer a{font-weight:700;text-underline-offset:3px}footer span:last-child{margin-left:auto}.print-header,.print-footer{display:none}
@media(max-width:1100px){.workspace{grid-template-columns:290px minmax(0,1fr);gap:20px}.settings form{padding:20px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.edition{display:none}.set-heading h2{font-size:24px}}
@media(max-width:740px){.brandbar{padding:12px 16px;min-height:70px;gap:16px}.brand{font-size:17px}.brand small{font-size:9px}.brand img{width:32px;height:32px}.tool-name{display:none}.home{font-size:13px}main{padding:23px 16px 18px}.heading{margin-bottom:20px}.intro{font-size:14px}.workspace{grid-template-columns:1fr;gap:20px}.settings form{padding:18px}.panel-heading{margin-bottom:17px}#collapse-settings{display:block}.area-tabs{flex-direction:row}.area{justify-content:center;text-align:center;font-size:12px;padding:10px 5px;line-height:1.3}.area span{display:none}.routine{padding:13px 18px}.routine-label{display:none}.routine p{font-size:12px;margin-top:3px}.routine strong{font-size:13px}.set-heading{padding:19px 18px}.set-heading h2{font-size:23px}.set-heading p:not(.eyebrow){font-size:13px}.toolbar{padding:10px}.print-actions{gap:10px}.print-check{font-size:12px}.print-button{font-size:13px;padding:8px}.card-grid{gap:10px}.card-main{min-height:160px;padding:12px 9px}.question{font-size:21px}.question.compact{font-size:16px}.question .equation{font-size:25px}.notes-grid{grid-template-columns:1fr;gap:0}.answer-list{grid-template-columns:1fr}footer{flex-wrap:wrap;gap:8px 15px}footer span:last-child{width:100%;margin-left:0}}
@media(max-width:390px){.card-grid{grid-template-columns:1fr}.toolbar{align-items:stretch}.print-actions{width:100%;justify-content:space-between}.set-badge{font-size:12px;padding:4px 7px}}
@page{size:A4 portrait;margin:12mm}
@media print{body{background:white;color:black;-webkit-print-color-adjust:exact;print-color-adjust:exact}.brandbar,.heading,.settings,.set-heading,.toolbar,#status,.message,.preview-note,.guidance,footer,.card-bottom{display:none!important}main{padding:0;max-width:none;margin:0}.workspace{display:block}.sheet,.sheet+.sheet{margin:0;height:272mm;display:flex;flex-direction:column;break-after:page;page-break-after:always}.sheet:last-child{break-after:auto;page-break-after:auto}.print-header{display:flex;justify-content:space-between;align-items:center;gap:8mm;flex:0 0 13mm;height:13mm;border-bottom:.4mm solid #3c066c;margin-bottom:4mm;padding-bottom:2mm;font-size:9pt;color:#3c066c}.print-header strong{font-size:11pt}.print-header span{text-align:right}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3mm;height:242mm;flex:0 0 242mm}.card{border:.25mm dashed #8a7a96;border-radius:0;break-inside:avoid}.card-main{padding:3mm;min-height:0;gap:2mm}.card-top{padding:2mm 3mm 0}.card-number{font-size:8pt}.task-tag{font-size:7pt}.question{font-size:21pt;color:black}.question.compact{font-size:13pt}.question .equation{font-size:23pt}.partner-prompt{font-size:8pt;min-height:0;padding:2mm 3mm;background:white}.model svg{max-height:28mm}.model-label{font-size:8pt}.print-footer{display:flex;justify-content:space-between;height:9mm;flex:0 0 9mm;font-size:8pt;color:#756581;align-items:center;padding-top:2mm}#cards{display:block!important}#answers{display:block!important;break-before:page;page-break-before:always}body.no-print-answers #answers{display:none!important}body.no-print-answers .sheet:last-child{break-after:auto}.answers-heading{margin:0 0 6mm}.answers-heading h3{font-size:14pt;color:#3c066c}.answers-heading span{font-size:9pt}.answer-list{display:block}.answer-row{padding:3mm 0;border:0;border-bottom:.2mm solid #ddd;break-inside:avoid;border-radius:0}.answer-row strong{font-size:11pt}.answer-row p{font-size:9pt}.answer-number{font-size:8pt}#answers[hidden]{display:block!important}body.no-print-answers #answers[hidden]{display:none!important}}
