:root{--mathInk:#24483b;--mathGold:#a58b55}html{scroll-behavior:smooth}body{margin:0;font:15px/1.8 system-ui,"Microsoft JhengHei",sans-serif;color:var(--mathInk)}*{box-sizing:border-box}button,input,textarea{font:inherit}button{cursor:pointer;padding:11px 18px;border-radius:3px;border:1px solid #c4b187;background:#f6efdb;color:#24483b}button.primary{background:#24483b;color:#fff8e5;border-color:#24483b}button:disabled{opacity:.5;cursor:default}a{color:#24483b}.mathHeader{max-width:1180px;margin:auto;padding:18px 30px;border-bottom:3px double #b6a06e;display:flex;gap:20px;align-items:center}.mathBrand{display:flex;align-items:center;gap:12px;text-decoration:none}.mathBrand b{font:36px Georgia,serif}.mathBrand small{display:block;font-size:10px;letter-spacing:.1em}.mathHeader nav{display:flex;align-items:center;gap:16px;margin-left:auto;font-size:12px;flex-wrap:wrap}.mathHeader nav a{text-decoration:none}.mathShell{max-width:1180px;margin:auto;padding:0 30px}.mathHero{display:grid;grid-template-columns:1.12fr .88fr;gap:40px;padding:40px 0;align-items:center;border-bottom:1px solid #b9a472;background:url('/collegiate-linework.svg') center bottom/100% auto no-repeat;background-blend-mode:soft-light}.mathHero h1{font-size:clamp(36px,4.2vw,54px);line-height:1.25!important;margin:20px 0 16px}.mathHero h1 span{color:#846a3d}.mathEyebrow{font-size:10px;letter-spacing:.16em;border-bottom:1px solid #b49a65;padding-bottom:10px}.mathPromise{font:22px/1.6 Georgia,"PMingLiU",serif;color:#8b7145}.mathLead{color:#62705f}.mathFacts{display:grid;grid-template-columns:repeat(4,1fr);border-block:3px double #c2ad7f;margin:22px 0;padding:14px 0;gap:10px}.mathFacts div+div{border-left:1px solid #cfc19f;padding-left:10px}.mathFacts b{display:block;font:24px Georgia,serif;color:#876c40}.mathFacts small{display:block;font-size:10px;margin-top:5px}.mathActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.mathFine{font-size:12px;color:#737461}.mathArt{margin:0;padding:18px;border:3px double #bba574;background:#faf7ee;position:relative}.mathArt:after{content:'';position:absolute;inset:4px;pointer-events:none;background:url('/victorian-corner.svg') left top/58px no-repeat,url('/victorian-corner-reverse.svg') right bottom/58px no-repeat}.mathArt>img{width:100%;display:block;aspect-ratio:1.3;object-fit:cover;object-position:65% center;border-radius:48% 48% 0 0/25% 25% 0 0;border:1px solid #c1ab7a}.mathArt figcaption{text-align:center;font:9px Georgia,serif;letter-spacing:.2em;color:#947a47;padding:13px 0}.mathFormula{border-top:1px solid #c9b78d;text-align:center;padding-top:12px;font:28px Georgia,serif}.mathFormula span{display:block;font:12px/1.7 system-ui;color:#6a725e;margin-top:5px}.mathPanel{padding:28px;margin:24px 0;border:3px double #c1ad7d;background:#fbf8ee;position:relative;scroll-margin-top:18px}.mathPanel:before{content:'';position:absolute;inset:4px;pointer-events:none;background:url('/victorian-corner.svg') left top/45px no-repeat,url('/victorian-corner-reverse.svg') right bottom/45px no-repeat;opacity:.45}.mathSectionHead>span{font-size:10px;letter-spacing:.18em;color:#9a8050}.mathPanel h2{font-size:26px;margin:6px 0 16px}.mathPanel h3{font-size:21px}.mathColumns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.mathColumns>.mathPanel{margin-bottom:0}.mathTopics{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.mathTopics span{border:1px solid #d5c8a6;padding:5px 10px;font-size:12px}.mathPlan{padding:22px;border:1px solid #ceb992;background:#f7f0dd}.mathPrice{font:26px Georgia,serif}.mathStatRow{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mathStatRow article{border:1px solid #d2c4a3;padding:12px}.mathStatRow b{display:block;font:26px Georgia,serif}.mathBar{height:8px;background:#e7ddc1;margin:7px 0 16px}.mathBar i{display:block;height:100%;background:#8a9b70}.mathNote{padding:16px;border:1px solid #c9b88b;margin-top:14px}.mathNote p{white-space:pre-wrap}.mathNote summary{cursor:pointer;font-weight:700}.mathNote .mathSteps{border-left:3px solid #af9459;padding:10px 18px;background:#f1ead8}.mathOptions{display:grid;gap:10px}.mathOption{text-align:left;background:#fffaf0}.mathOption.selected{background:#dfebdc;border:2px solid #4c6e52}.mathFeedback{background:#edf0e2;padding:18px;margin:18px 0}.mathCompare{border-top:1px solid #cfbf98;padding:10px 0}.mathResult details{border:1px solid #cbbb94;padding:14px;margin:14px 0}.mathResult summary{cursor:pointer}.mathTop{display:flex;justify-content:space-between;gap:15px;border-bottom:3px double #b9a171;padding-bottom:14px}.mathQuestion{font-size:21px;line-height:1.8;margin:18px 0;white-space:pre-wrap}.mathDiagram svg{max-width:300px;width:100%;height:140px}.mathNum{display:flex;flex-wrap:wrap;gap:6px}.mathNum button{padding:6px 10px}.mathNum .done{background:#e0e9d8}.mathNum .current{border:2px solid #3c5d42}.mathWritten{min-height:160px;width:100%;padding:14px;background:#fffaf0;border:1px solid #bca77a}.mathAIText{white-space:pre-wrap;margin-top:16px;background:#f1ead8;padding:16px;overflow-wrap:anywhere}footer{padding:30px 0;text-align:center;font-size:12px;color:#806e47}footer button{padding:5px 8px;font-size:11px}dialog{border:3px double #b7a06b;background:#fcf9ef;color:#24483b;max-width:850px;width:calc(100% - 28px);padding:28px;max-height:90vh;overflow:auto;border-radius:6px}dialog::backdrop{background:#20383199;backdrop-filter:blur(3px)}#auth{max-width:460px}.mathClose{position:sticky;float:right;top:0;padding:3px 11px;font-size:24px;background:#ede4cc}label{display:block;margin:12px 0}input{display:block;width:100%;padding:11px;background:#fffaf0;border:1px solid #c2ae83;margin-top:5px}#grant{display:flex;gap:14px;align-items:end;flex-wrap:wrap}#grant label{flex:1}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;border-bottom:1px solid #cbb993;padding:9px;overflow-wrap:anywhere}:focus-visible{outline:3px solid #a98b50;outline-offset:3px}[hidden]{display:none!important}@media(max-width:850px){.mathHeader{flex-wrap:wrap}.mathHeader nav{margin-left:0}.mathHero{grid-template-columns:1fr;gap:24px}.mathArt{max-width:550px;justify-self:center}.mathHero h1{font-size:42px}.mathColumns{grid-template-columns:1fr}}@media(max-width:520px){.mathHeader,.mathShell{padding-inline:18px}.mathHeader nav{gap:10px;font-size:11px}.mathBrand b{font-size:30px}.mathHero{padding-block:26px}.mathHero h1{font-size:34px}.mathFacts{grid-template-columns:1fr 1fr}.mathFacts div:nth-child(3){border-left:0;padding-left:0}.mathPanel{padding:21px}.mathPanel h2{font-size:23px}.mathStatRow{grid-template-columns:1fr 1fr}.mathStatRow article:last-child{grid-column:1/-1}.mathColumns{gap:0}dialog{padding:20px}.mathQuestion{font-size:18px}}
:root .mathBar{height:auto;background:transparent;margin:12px 0}.mathBar span{display:block;font-size:13px}.mathBar progress{width:100%;height:10px;accent-color:#789065}.mathWritten textarea{display:block;width:100%;padding:12px;border:1px solid #bba77b;background:#fffaf0;color:#24483b;resize:vertical}.mathHero{background-image:linear-gradient(#faf6e8b0,#faf6e8b0),url('/collegiate-linework.svg');background-size:100% 100%,100% auto;background-position:center,center bottom;background-repeat:no-repeat}
