:root{color-scheme:light}*{box-sizing:border-box}body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;margin:0;background:#f9f9f9}.shell{max-width:840px;margin:auto;padding:20px}a{color:#0277bd;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible{outline:3px solid #0277bd;outline-offset:4px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:3px 0 18px;gap:16px;border-bottom:1px solid #ddd;font-size:13px}.brand{font-weight:700;color:#333}.brand-icon{color:#0277bd;font-size:21px;margin-right:8px}.brand-sub{font-weight:400;color:#666}.course{font-size:10px;color:#666;letter-spacing:1px}.hero{padding:32px 0 24px}h1{font-size:32px;line-height:1.25;color:#333;margin:16px 0}h1 span{color:#0277bd}.lead{color:#666}.eyebrow{font-size:12px;font-weight:700;color:#0277bd;letter-spacing:.5px}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.tags span{font-size:12px;padding:4px 10px;background:#e1f5fe;border-radius:5px;color:#01579b}.cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:8px 0 30px}.task-card,.card{background:#fff;border-radius:8px;box-shadow:0 4px 6px rgba(0,0,0,.1);border-left:5px solid #81d4fa;padding:20px}.task-card{display:flex;flex-direction:column;color:#333;transition:box-shadow .15s}.task-card:hover{box-shadow:0 6px 13px rgba(0,0,0,.16);text-decoration:none}.task-card:nth-child(3n+2){border-left-color:#ce93d8}.task-card:nth-child(3n){border-left-color:#a5d6a7}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.number{font-size:25px;font-weight:700;color:#0277bd}.points{font-size:11px;color:#777}.task-card h2{font-size:21px;line-height:1.3;margin:8px 0;color:#0277bd}.task-card p{font-size:14px;margin:6px 0 18px;color:#666}.card-link{display:flex;justify-content:space-between;color:#0277bd;font-size:13px;margin-top:auto;padding-top:10px;border-top:1px solid #eee}.note-card{background:#fcfcfc}.note-card a{font-size:13px;margin-top:auto}.breadcrumbs{display:flex;align-items:center;gap:16px;margin:20px 0;font-size:14px}.breadcrumbs span{margin-left:auto;font-size:12px;color:#777}button{font:inherit;font-size:12px;color:#0277bd;border:1px solid #b3d7e7;border-radius:5px;background:#fff;padding:7px 10px;cursor:pointer}.task-hero h1{font-size:26px}.task-hero{padding:8px 0 16px}.card{margin-bottom:20px}.card>h2{color:#0277bd;margin:0 0 18px;font-size:23px;border-bottom:1px solid #eee;padding-bottom:10px}.card>h2 small{float:right;font-size:12px;color:#777;font-weight:400;padding-top:8px}.solution{border-left-color:#ce93d8}.solution>h2{color:#7b4290}.answer{border-left-color:#a5d6a7}.answer>h2{color:#377a3c}.answer .eyebrow{color:#377a3c}.step{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #eee}.step:last-child{border-bottom:0}.step-no{font-size:12px;font-weight:700;color:#9b68ab;padding-top:5px}.step h2{font-size:18px;color:#444;margin:0 0 12px}.step p{margin:12px 0}.math{overflow-x:auto;max-width:100%;padding:6px 1px}mjx-container[display=true]{margin:.6em 0!important}.answer .math{background:#f1f8ef;border-radius:5px;padding:12px 6px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px;margin-top:12px}th,td{padding:11px 8px;border-bottom:1px solid #dde9dc}th{color:#377a3c;background:#f1f8ef}figure{margin:18px 0 0;padding:8px;background:#f8fafc;border:1px solid #eee;border-radius:6px}svg{width:100%;height:auto;display:block}.caption{font-size:12px;color:#666}.bottom-nav{display:flex;justify-content:space-between;gap:20px;margin:30px 0;font-size:14px}footer{border-top:1px solid #ddd;padding:20px 0;font-size:12px;color:#777;text-align:center}footer span{display:block}footer:after{content:'Mathbrotherhood Powered by ChatGPT';display:block;margin-top:10px}@media(max-width:580px){.shell{padding:14px}.brand-sub,.course{display:none}.cards{grid-template-columns:1fr}.hero{padding-top:20px}h1{font-size:28px}.card{padding:16px}.step{grid-template-columns:20px minmax(0,1fr);gap:6px}.step h2{font-size:17px}.math{font-size:.9em}.bottom-nav{font-size:12px}.breadcrumbs{gap:9px;font-size:12px}}@media print{body{background:#fff}.shell{max-width:none;padding:0}.topbar,.breadcrumbs,.bottom-nav,button{display:none}.card{box-shadow:none;border:1px solid #ddd;border-left-width:5px}.problem,.answer{break-inside:avoid}.step{break-inside:avoid}h2{break-after:avoid}.math{overflow:visible;font-size:.9em}footer{font-size:10px}}

.step h3{font-size:18px;color:#444;margin:0 0 12px}.options{display:flex;flex-wrap:wrap;list-style:none;gap:10px 24px;padding:10px 0 0;margin-bottom:0}.options li{min-width:95px}.option-letter{font-weight:600;color:#555}figcaption{padding:4px 8px}table td,table th{vertical-align:top}@media(max-width:580px){.step h3{font-size:17px}.breadcrumbs{flex-wrap:wrap}.options{gap:8px 16px}.options li{min-width:80px}.task-hero h1{overflow-wrap:anywhere}.table-wrap{font-size:13px}}@media print{a{color:inherit}.options{gap:8px 18px}figure{break-inside:avoid}.step h3{break-after:avoid}}
