html.math-site,html.math-site body,html.math-site #root{overscroll-behavior:auto;height:auto;min-height:100%;position:static;inset:auto;overflow:clip visible}html.math-site{scroll-padding-bottom:20px}html.math-site body{background:var(--bg)}.math-shell{max-width:860px;padding:max(22px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));margin:auto}.math-header{justify-content:space-between;align-items:center;gap:14px;padding:10px 0 28px;display:flex}.math-brand{text-align:left;align-items:center;gap:12px;padding:0;display:flex}.math-brand img{border-radius:15px;width:48px;height:48px}.math-brand>span{letter-spacing:-.035em;font-size:1.05rem;font-weight:700;line-height:1.18}.math-brand>span>span{color:var(--blue-text);font-size:1.25rem;display:block}.math-header>div{gap:8px;display:flex}.math-nav{background:var(--surface);border:1px solid var(--line);border-radius:19px;gap:8px;margin-bottom:32px;padding:5px;display:flex}.math-nav button{border-radius:14px;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px 8px;font-size:.88rem;font-weight:600;display:flex}.math-nav .selected{background:var(--blue-soft);color:var(--blue-text)}.math-intro{padding:12px 2px 30px}.math-kicker{color:var(--blue-text);letter-spacing:.14em;font-size:.68rem;font-weight:700}.math-intro h2{letter-spacing:-.065em;margin:14px 0 18px;font-size:clamp(2.5rem,7vw,4.5rem);line-height:1.04}.math-intro>p{max-width:440px;color:var(--secondary);font-size:1rem;line-height:1.7}.math-site .calculator-lab>.page-title{display:none}.math-guide{margin:0 0 20px;line-height:1.7}.math-guide summary{cursor:pointer;color:var(--blue-text);font-weight:600}.math-guide ol{padding-left:21px}.math-guide li{margin:12px 0}.math-guide p{color:var(--secondary);font-size:.86rem}.math-site .inline-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.math-site .inline-fields .field{margin-bottom:18px}.math-site .padded{padding:24px}.math-site .pen-number{font-size:4rem}.math-site .pen-track{margin-bottom:16px}.math-site .calc-secondary strong{font-size:1.65rem}.math-site .calc-secondary small{font-size:.9rem}.math-site .calc-secondary span{font-size:.83rem}.math-footer{border-top:1px solid var(--line);color:var(--secondary);margin-top:44px;padding-top:24px;font-size:.8rem;line-height:1.7}.math-footer b{color:var(--text)}.math-footer p{margin-top:7px}.math-library{grid-template-columns:1fr 1fr;gap:16px;display:grid}.math-library-card{text-align:left;align-items:flex-start;gap:12px;min-width:0;padding:23px;display:flex}.math-library-card>div{flex:1;min-width:0}.math-library-card h2{margin:9px 0}.math-library-card p{color:var(--secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.88rem;line-height:1.65;display:-webkit-box;overflow:hidden}.math-library-card small{color:var(--blue-text);margin-top:14px;display:block}.math-library-card .eyebrow{font-size:.69rem}.math-compound h2{font-size:2rem}.math-compound p{white-space:pre-line;margin:15px 0;line-height:1.75}.math-compound h3{margin:27px 0 12px}.math-compound .source-link{overflow-wrap:anywhere;width:fit-content;margin:14px 0;line-height:1.5;display:flex}.math-strengths{flex-wrap:wrap;gap:10px;display:flex}.math-strengths button{flex-wrap:wrap}.math-strengths small{width:100%;font-weight:400}.preset-banner{background:var(--blue-soft);border-radius:16px;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:18px;padding:16px;font-size:.86rem;display:flex}.preset-banner button{color:var(--blue-text);text-decoration:underline}@media (width<=550px){.math-shell{padding-left:18px;padding-right:18px}.math-library{grid-template-columns:1fr}.math-site .padded{padding:19px}.math-site .pen-number{font-size:3.4rem}.math-site .calc-secondary strong{font-size:1.4rem}.math-site .lab-tabs button{padding:10px 4px}.math-header{padding-top:3px}.math-intro h2{font-size:3.2rem}}@media (prefers-reduced-motion:reduce){.math-site *{scroll-behavior:auto!important}}
