:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15223b;background:#f4f6fa;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}header{height:96px;max-width:1240px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dbe1eb}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;color:inherit;text-decoration:none}.mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#2449df;color:#fff;font-family:Georgia,serif;font-size:33px;font-weight:400}.brand-note{font-size:11px;max-width:140px;line-height:1.5;letter-spacing:1.7px;font-weight:500;border-left:1px solid #cad2df;padding-left:18px;margin-left:8px}.edition{color:#62708a;font-size:14px}main{max-width:1160px;margin:0 auto;padding:45px 0 32px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;color:#4e6486;margin:0 0 16px}h1{font-size:38px;font-weight:600;letter-spacing:-1.4px;margin:0 0 12px}p{line-height:1.6}.intro p:last-child{margin:0;color:#64728b}.formula-art{font:italic 66px Georgia,serif;color:#284bdd;letter-spacing:3px;padding:0 40px}.tabs{display:flex;gap:8px;border-bottom:1px solid #d5dce8;margin-bottom:25px}.tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:18px 21px;color:#64718a;font-weight:500}.tabs button span{font-size:12px;margin-right:9px;opacity:.7}.tabs button[aria-selected=true]{border-color:#2449df;color:#2449df}.workspace{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:stretch}.sheet{padding:30px;background:#fff;border:1px solid #dde3ed;border-radius:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}h2{font-size:20px;letter-spacing:-.4px;margin:0}.tag{font-size:10px;letter-spacing:1px;color:#65738b;text-align:right}label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}input,textarea{border:1px solid #ccd5e2;border-radius:7px;background:#fff;padding:12px 14px;min-width:0;width:100%;color:#182a48}input:focus,textarea:focus{outline:3px solid #d5defb;border-color:#2449df}.expression{font-family:ui-monospace,SFMono-Regular,monospace;font-size:19px;background:#f8faff;padding:16px}.hint{font-size:13px;color:#64728b;line-height:1.55;margin:10px 0 18px}.examples{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px;font-size:12px;color:#68768f}.examples button{border:1px solid #dbe2ef;background:white;border-radius:5px;color:#34548c;font-family:ui-monospace,monospace;font-size:12px;padding:6px 9px}.var-head,.var-row{display:grid;grid-template-columns:64px 1fr 1fr;gap:12px;align-items:center;margin-bottom:12px}.var-head{font-size:12px;color:#64728b}.var-symbol{font:italic 24px Georgia,serif}.var-row input{padding:10px;font-size:15px}.primary{background:#2449df;color:#fff;border:0;border-radius:7px;padding:14px 20px;margin-top:18px;font-size:15px;font-weight:600;min-height:48px}.primary:hover{background:#1738bb}.bottom-note{margin-bottom:0}.result{background:#112b56;border-radius:12px;color:#f4f7ff;padding:32px;position:relative;overflow:hidden;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:26px 26px}.result .eyebrow{color:#9fb7e0}.result p{color:#b8c9e5}.result .answer{font-size:38px;letter-spacing:-1.1px;font-weight:500;line-height:1.35;margin:25px 0 12px;overflow-wrap:anywhere}.answer .plusminus{color:#829ed5;font-size:27px}.result .sub{font-size:14px;margin:8px 0 24px}.result hr{border:0;border-top:1px solid #ffffff20;margin:24px 0}.detail-row{display:flex;justify-content:space-between;gap:15px;font-size:14px;line-height:1.6;padding:7px 0;color:#c1d0e7}.detail-row strong{color:#fff;font-weight:500;text-align:right;overflow-wrap:anywhere}.derivative{display:flex;justify-content:space-between;gap:16px;font-family:ui-monospace,monospace;font-size:13px;padding:8px 0;overflow-wrap:anywhere}.result h3{font-size:14px;font-weight:500;color:#b7caeb;margin:18px 0 10px}.error{padding:12px;color:#9e293c;background:#fff0f2;border-radius:6px;font-size:14px}.notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:25px}details{padding:18px 4px;border-top:1px solid #d5dce8}summary{font-size:14px;font-weight:500;cursor:pointer}details p{font-size:14px;color:#5b6b84}footer{max-width:1160px;margin:0 auto;padding:22px 0 32px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#66758e;border-top:1px solid #dbe1eb}.footer-dot{margin:0 10px;color:#abb6c8}[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #92adfa;outline-offset:3px}@media(max-width:1240px){main,footer{margin-left:32px;margin-right:32px}}@media(max-width:760px){header{padding:0 20px;height:78px}.brand-note,.edition,.formula-art{display:none}main{margin:0;padding:30px 18px}.intro{margin-bottom:24px}h1{font-size:29px}.intro p:last-child{font-size:14px}.workspace,.notes{grid-template-columns:1fr}.tabs{gap:0}.tabs button{font-size:13px;padding:14px 9px;flex:1}.tabs button span{display:none}.sheet,.result{padding:23px}.section-heading{flex-wrap:wrap;gap:9px}.tag{font-size:10px}.result .answer{font-size:32px}.var-head,.var-row{grid-template-columns:40px 1fr 1fr;gap:8px}.notes{gap:0}footer{margin:0 18px;flex-direction:column;gap:8px}.eyebrow{font-size:11px}.primary{width:100%}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,color .15s}}
@media(max-width:760px){.var-head,.var-row{grid-template-columns:64px minmax(0,1fr) minmax(0,1fr)}.var-head{font-size:12px}}
