.math-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:28px 0}.math-heading h2{font-size:40px;letter-spacing:-1.5px;margin:8px 0}.math-eyebrow{color:#00717b;font-size:12px;font-weight:750;letter-spacing:2px;text-transform:uppercase}.math-heading p{color:var(--muted);max-width:550px;line-height:1.6}.math-actions{display:flex;gap:10px;flex-wrap:wrap}.math-summary{border:1px solid #b7dadd;border-left:4px solid #00717b;border-radius:14px;background:#edf8f7;padding:20px;margin-bottom:24px}.math-summary strong{display:block;margin-bottom:8px}.math-summary p{margin:0;line-height:1.7;color:#476367}.math-context,.math-question{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin:16px 0;min-width:0}.math-context{background:#f4f8fa}.math-context p{line-height:1.65;margin-top:0}.math-context table{width:100%;border-collapse:collapse;font-size:14px}.math-context th,.math-context td{padding:12px;text-align:left;border-bottom:1px solid #dce5e9}.math-table-scroll{overflow:auto}.math-question legend{float:left;width:100%;font-size:17px;line-height:1.6;margin-bottom:18px;font-weight:600}.math-question legend>span{display:inline-block;color:#00717b;font-size:13px;margin-right:10px;font-variant-numeric:tabular-nums}.math-options{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.math-options label{display:flex;align-items:center;gap:12px;border:1px solid #dce5e9;border-radius:10px;padding:14px;cursor:pointer}.math-options label:has(input:checked){background:#eaf6f7;border-color:#00717b}.math-options input{accent-color:#00717b}.math-options b{color:#68818a;font-size:12px}.math-answer{clear:both;color:#97461e;line-height:1.6;margin-bottom:0;padding-top:14px}.math-answer.is-correct{color:#20724b}.math-formula{font-size:24px;font-family:Georgia,serif}.math-pizza{width:100px;height:100px;border-radius:50%;background:conic-gradient(#00717b var(--left),#dfe7eb 0);border:6px solid white;box-shadow:0 0 0 1px #c7d6dd}.math-footer{display:flex;align-items:center;gap:20px;margin:24px 0 40px}.math-footer output{font-weight:650;color:#00717b}@media(max-width:650px){.math-heading{flex-direction:column}.math-options{grid-template-columns:1fr}.math-question,.math-context{padding:18px}.math-footer{flex-direction:column;align-items:flex-start}}@media print{body{background:white}.app-topbar,.intro,#auth-section,#account-bar,#admin-panel,.back-button,.math-actions,.math-footer button{display:none!important}.page-shell{width:100%;margin:0;padding:0}.math-question{break-inside:avoid}.math-options label{padding:6px}.math-question,.math-context{box-shadow:none}.math-heading h2{font-size:28px}.math-summary{background:white}}

.math-brand{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0 22px;border-bottom:1px solid #cddde4}.math-brand>a{display:block;width:min(280px,50%)}.math-brand img{display:block;width:100%;height:auto}.math-brand>div{display:flex;flex-direction:column;gap:6px;text-align:right}.math-brand span{font-size:13px;font-weight:650;color:#55646e}.math-brand>div a{font-size:15px;font-weight:600;color:#0071e3;text-decoration:none}.math-brand a:hover{text-decoration:underline}.math-brand a:focus-visible{outline:2px solid #0071e3;outline-offset:5px}@media(max-width:480px){.math-brand{gap:16px}.math-brand>a{width:180px;max-width:48%}.math-brand>div a{font-size:12px}.math-brand span{font-size:11px}}@media print{.math-brand{padding:8px 0 14px}.math-brand>a{width:200px}}
