.pg-maths{--section-accent:var(--emotion-energy);--section-accent-text:color-mix(in oklab, var(--emotion-energy) 62%, var(--text-dark));--k-bg:color-mix(in oklab, var(--section-accent) 9%, var(--white));--k-line:color-mix(in oklab, var(--section-accent) 45%, transparent);--k-ink:var(--section-accent-text);overflow-x:clip}.pg-maths .muted{color:var(--text-dark-muted);font-weight:500}.pg-maths .stroke{display:inline-block;position:relative}.pg-maths .stroke svg{pointer-events:none;width:102%;height:.24em;position:absolute;top:92%;left:-1%;overflow:visible}.pg-maths .stroke path{fill:none;stroke:var(--section-accent);stroke-width:.09em;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1px;animation:.8s .5s forwards ma-ink}@keyframes ma-ink{to{stroke-dashoffset:0}}@media (width<=640px){.pg-maths .stroke{text-decoration:underline;text-decoration-color:var(--section-accent);text-underline-offset:.14em;text-decoration-skip-ink:none;text-decoration-thickness:.08em;display:inline}.pg-maths .stroke svg{display:none}}@media (prefers-reduced-motion:reduce){.pg-maths .stroke path{stroke-dashoffset:0;animation:none}.pg-maths .mt,.pg-maths .tray__face{animation:none}}.pg-maths .s-hero{min-height:860px;padding:var(--hero-pad-top) var(--gutter) var(--hero-pad-bottom);flex-direction:column;justify-content:center;display:flex;position:relative;overflow:clip}.pg-maths .s-hero__inner{width:100%;max-inline-size:var(--content-width);gap:clamp(var(--space-l), 4vw, var(--space-xxl));grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;margin-inline:auto;display:grid}.pg-maths .s-hero__copy{align-items:flex-start;gap:var(--space-m);flex-direction:column;min-width:0;display:flex}.pg-maths .s-hero__title{font-family:var(--heading-font-family);font-weight:700;font-size:var(--hero-h1-size);line-height:var(--hero-h1-line-height);letter-spacing:var(--hero-h1-letter-spacing);text-wrap:balance;font-size:clamp(2.2rem,4vw,3.6rem)}.pg-maths .s-hero__title .muted{margin-top:.06em;display:block}.pg-maths .s-hero__line{font-family:var(--heading-font-family);font-weight:700;font-size:var(--h3);line-height:var(--heading-line-height);letter-spacing:var(--heading-letter-spacing);text-wrap:balance}.pg-maths .s-hero__lead{font-size:var(--text-m);color:var(--text-dark-muted);text-wrap:pretty;max-inline-size:46ch;font-weight:500;line-height:1.5}.pg-maths .s-hero__lead b{color:var(--text-dark);font-weight:700}.pg-maths .s-hero__actions{gap:var(--space-s);flex-wrap:wrap;display:flex}.pg-maths .s-hero__status{gap:var(--space-xs) var(--space-s-tight);font-size:var(--text-s);color:var(--text-dark-muted);flex-wrap:wrap;align-items:center;max-inline-size:44ch;font-weight:500;display:flex}.pg-maths .ill{font:700 var(--text-xxs)/1 var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--text-dark-muted)}.pg-maths .crop{width:100%;position:relative;overflow:hidden}.pg-maths .crop img{max-width:none;height:auto;display:block;position:relative}.pg-maths button:focus-visible,.pg-maths [tabindex]:focus-visible{outline:3px solid var(--text-dark);outline-offset:3px;border-radius:var(--radius-s)}.pg-maths .ico{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1em;height:1em}.pg-maths .chat{gap:var(--space-xs);max-inline-size:400px;margin-top:var(--space-xs);flex-direction:column;display:flex}.pg-maths .chat__row{align-items:flex-end;gap:var(--space-xs);display:flex}.pg-maths .chat__row--r{justify-content:flex-end}.pg-maths .chat__face{width:var(--space-xl);height:var(--space-xl);background:var(--white);border:1px solid var(--border-color);border-radius:50%;flex:none}.pg-maths .chat__bub{padding:var(--space-s-tight) var(--space-s);border-radius:var(--radius-ml) var(--radius-ml) var(--radius-ml) var(--radius-xs);background:var(--white);border:1px solid var(--border-color);box-shadow:var(--box-shadow-1);font:500 var(--text-s)/1.4 var(--text-font-family);color:var(--text-dark)}.pg-maths .chat__bub--calm{border-radius:var(--radius-ml) var(--radius-ml) var(--radius-xs) var(--radius-ml);background:var(--text-dark);border-color:var(--text-dark);color:var(--white);font-weight:700}@keyframes ma-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes ma-bob{0%,to{translate:0}50%{translate:0 -6px}}.pg-maths .tray{border-radius:var(--radius-xl);background:var(--bg-ultra-light);border:1.5px dashed color-mix(in oklab, var(--text-dark) 22%, transparent);min-width:0;height:clamp(640px,58vw,790px);box-shadow:inset 0 2px 14px color-mix(in oklab, var(--text-dark) 5%, transparent);position:relative;overflow:visible}.pg-maths .tray__hint{z-index:var(--z-low);align-items:center;gap:var(--space-xs);padding:var(--space-xs) var(--space-s-tight);border-radius:var(--radius-pill);background:var(--white);border:1px solid var(--border-color);font:700 var(--text-xs)/1 var(--text-font-family);color:var(--text-dark-muted);pointer-events:none;transition:opacity var(--transition-duration-base) ease;display:inline-flex;position:absolute;top:-42px;right:18px}.pg-maths .tray__hint svg{width:var(--space-s-tight);height:var(--space-s-tight);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.pg-maths .tray.is-used .tray__hint{opacity:0}.pg-maths .mt{padding:var(--space-xs) var(--space-xs) var(--space-xs);border-radius:var(--radius-m);background:var(--white);border:1px solid var(--border-color);box-shadow:var(--box-shadow-2);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;rotate:var(--r,0deg);transition:box-shadow var(--transition-duration-fast) ease, rotate var(--transition-duration-fast) ease, scale var(--transition-duration-fast) ease;animation:.55s cubic-bezier(.2,.8,.3,1) both ma-rise;animation-delay:calc(var(--i) * 60ms + .1s);margin:0;position:absolute}.pg-maths .mt:hover{box-shadow:var(--box-shadow-3);scale:1.03}.pg-maths .mt.is-drag{cursor:grabbing;box-shadow:var(--box-shadow-4);transition:box-shadow var(--transition-duration-fast) ease, rotate var(--transition-duration-fast) ease, scale var(--transition-duration-fast) ease;rotate:0deg;scale:1.06}.pg-maths .mt .crop{border-radius:var(--radius-s);background:var(--bg-light);pointer-events:none}.pg-maths .mt img{pointer-events:none;-webkit-user-drag:none}.pg-maths .mt .cap{align-items:center;gap:var(--space-xs);padding:var(--space-xs) var(--space-xxs) 0;font:700 var(--text-xs)/1 var(--text-font-family);display:flex}.pg-maths .mt .cap i{width:var(--space-xs);height:var(--space-xs);background:var(--section-accent);border-radius:50%;flex:none}.pg-maths .mt .cap span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pg-maths .mt .cap .lv{margin-left:auto}.pg-maths .lv{font:700 var(--text-xxs)/1 var(--text-font-family);letter-spacing:.08em;text-transform:uppercase;padding:var(--space-xxs) var(--space-xs);border-radius:var(--radius-pill);border:1px solid var(--border-color);color:var(--text-dark-muted);white-space:nowrap;flex:none;font-style:normal}.pg-maths .lv--secondary{border-color:var(--k-line);background:var(--k-bg);color:var(--k-ink)}.pg-maths .tray__face{z-index:var(--z-mid);width:var(--space-3xl);height:var(--space-3xl);pointer-events:none;animation:4.6s ease-in-out infinite ma-bob;position:absolute;top:-52px;left:26px}.pg-maths .art{border-radius:var(--radius-s);background:var(--bg-light);pointer-events:none;position:relative;overflow:hidden}.pg-maths .ill--chip{z-index:var(--z-low);padding:3px var(--space-xs);border-radius:var(--radius-pill);background:var(--white);border:1px solid var(--border-color);font-size:var(--text-xxs);letter-spacing:.1em;position:absolute;top:6px;left:7px}.pg-maths .art--alg,.pg-maths .art--graph{aspect-ratio:230/170}.pg-maths .art svg,.pg-maths .alg svg,.pg-maths .grp svg{width:100%;height:auto;display:block}.pg-maths .art svg{height:100%}.pg-maths .t2{fill:color-mix(in oklab, var(--section-accent) 70%, var(--white));stroke:var(--section-accent-text);stroke-width:1.5px}.pg-maths .t1{fill:color-mix(in oklab, var(--section-accent) 38%, var(--white));stroke:var(--section-accent-text);stroke-width:1.5px}.pg-maths .t0{fill:color-mix(in oklab, var(--section-accent) 16%, var(--white));stroke:var(--section-accent-text);stroke-width:1.5px}.pg-maths .al-l text{fill:var(--text-dark)}.pg-maths .al-l .t2+text{fill:var(--white)}.pg-maths .dim path{stroke:var(--text-dark-muted);stroke-width:1px}.pg-maths .dim text{fill:var(--text-dark-muted)}.pg-maths .gr-grid path{stroke:color-mix(in oklab, var(--text-dark) 10%, transparent);stroke-width:1px}.pg-maths .gr-axes path{stroke:var(--text-dark);stroke-width:1.6px}.pg-maths .gr-sym{stroke:var(--section-accent);stroke-width:1px;stroke-dasharray:4 4;opacity:.7}.pg-maths .gr-curve{stroke:var(--section-accent);stroke-width:3px;stroke-linecap:round}.pg-maths .gr-dots circle{fill:var(--white);stroke:var(--text-dark);stroke-width:2px}.pg-maths .gr-lbl text{fill:var(--text-dark)}.pg-maths .art--calc{padding:var(--space-m) var(--space-xs) var(--space-xs);background:var(--bg-light)}.pg-maths .calc{gap:var(--space-xs);flex-direction:column;display:flex}.pg-maths .calc__screen{padding:var(--space-xs) var(--space-xs);border-radius:var(--radius-s);background:var(--white);border:1.5px solid var(--text-dark);text-align:right;flex-direction:column;justify-content:center;gap:2px;min-height:3.3em;display:flex;overflow:hidden}.pg-maths .calc__expr{font:500 var(--text-s)/1.2 var(--text-font-family);color:var(--text-dark-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pg-maths .calc__res{font:700 var(--text-l)/1.1 var(--text-font-family);color:var(--text-dark);min-height:1.1em}.pg-maths .calc__keys{gap:var(--space-xs);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.pg-maths .calc__keys b,.pg-maths .calc__keys button{padding:var(--space-xs) 0;border-radius:var(--radius-s);border:1px solid var(--border-color);background:var(--white);font:700 var(--text-xs)/1 var(--text-font-family);color:var(--text-dark);place-items:center;display:grid}.pg-maths .calc__keys--mini{gap:var(--space-xxs)}.pg-maths .calc__keys--mini b{padding:var(--space-xs) 0;font-size:var(--text-xxs);border-radius:var(--radius-xs);font-style:normal}.pg-maths .calc__keys .eq{background:var(--text-dark);color:var(--white);border-color:var(--text-dark)}.pg-maths .calc__keys .f{background:var(--k-bg);color:var(--k-ink);border-color:var(--k-line)}.pg-maths .calc__keys .c{color:var(--text-dark-muted);background:var(--bg-light)}.pg-maths .calc__keys button{cursor:pointer;padding:var(--space-s-tight) 0;transition:transform var(--transition-duration-fast) ease, background var(--transition-duration-fast) ease}.pg-maths .calc__keys button:hover{background:var(--bg-light);transform:translateY(-1px)}.pg-maths .calc__keys button.eq:hover{background:oklch(30% .012 60)}.pg-maths .calc__keys button:active{transform:translateY(1px)}.pg-maths .calc__keys .w2{grid-column:span 2}.pg-maths .calc__keys .w3{grid-column:span 3}.pg-maths .tool-scrim{z-index:var(--z-overlay);background:color-mix(in oklab, var(--bg-ultra-light) 78%, transparent);backdrop-filter:blur(3px);border-radius:40px;position:absolute;inset:-14px}.pg-maths .tool{z-index:var(--z-overlay);width:min(400px, calc(100% - var(--space-l)));max-height:calc(100% - var(--space-s));padding:var(--space-s);border-radius:var(--radius-ml);background:var(--white);border:1px solid var(--border-color);box-shadow:var(--box-shadow-4);animation:.3s cubic-bezier(.2,.8,.3,1) both ma-toolin;position:absolute;top:50%;left:50%;overflow:auto;translate:-50% -50%}@keyframes ma-toolin{0%{opacity:0;scale:.96}to{opacity:1;scale:1}}.pg-maths .tool[hidden],.pg-maths .tool-scrim[hidden]{display:none}.pg-maths .tool__head{justify-content:space-between;align-items:center;gap:var(--space-xs);margin-bottom:var(--space-s-tight);display:flex}.pg-maths .tool__ttl{align-items:center;gap:var(--space-xs);font:700 var(--text-m)/1.2 var(--text-font-family);display:flex}.pg-maths .tool__x{width:var(--space-l);height:var(--space-l);border:1px solid var(--border-color);background:var(--white);cursor:pointer;border-radius:50%;place-items:center;display:grid}.pg-maths .tool__x .ico{width:var(--space-s);height:var(--space-s)}.pg-maths .tool__note{margin-top:var(--space-s-tight);font-size:var(--text-xs);color:var(--text-dark-muted);font-weight:500;line-height:1.45}.pg-maths .tool__note .ill{margin-left:var(--space-xxs);padding:3px var(--space-xs);border-radius:var(--radius-pill);border:1px solid var(--border-color);font-size:var(--text-xxs);vertical-align:1px;display:inline-block}.pg-maths .tool .crop,.pg-maths .alg svg,.pg-maths .grp svg{border-radius:var(--radius);background:var(--bg-light)}.pg-maths .alg__eq{margin-top:var(--space-s-tight);font:700 var(--text-l)/1.2 var(--text-font-family);text-align:center}.pg-maths .alg__eq span{color:var(--section-accent-text)}.pg-maths .alg__key{justify-content:center;gap:var(--space-xs) var(--space-s-tight);margin-top:var(--space-xs);font:700 var(--text-xs)/1 var(--text-font-family);color:var(--text-dark-muted);flex-wrap:wrap;display:flex}.pg-maths .alg__key span{align-items:center;gap:var(--space-xs);display:inline-flex}.pg-maths .alg__key .k{width:var(--space-s-tight);height:var(--space-s-tight);border-radius:var(--radius-xs);border:1.5px solid var(--section-accent-text)}.pg-maths .k2{background:color-mix(in oklab, var(--section-accent) 70%, var(--white))}.pg-maths .k1{background:color-mix(in oklab, var(--section-accent) 38%, var(--white))}.pg-maths .k0{background:color-mix(in oklab, var(--section-accent) 16%, var(--white))}.pg-maths .kn{background:repeating-linear-gradient(135deg, var(--white) 0 3px, color-mix(in oklab, var(--text-dark) 35%, var(--white)) 3px 5px);border-color:var(--text-dark)!important}@media (width<=1100px){.pg-maths .s-hero__inner{grid-template-columns:minmax(0,1fr)}.pg-maths .s-hero{min-height:0}}@media (width<=900px){.pg-maths .tray{gap:var(--space-s-tight);height:auto;padding:var(--space-s-tight);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.pg-maths .mt{touch-action:auto;cursor:pointer;position:static;rotate:none;width:auto!important}.pg-maths .tray__hint,.pg-maths .tray__face{display:none}.pg-maths .tool-scrim{border-radius:0;position:fixed;inset:0}.pg-maths .tool{max-height:88vh;position:fixed}.pg-maths .mt .cap{row-gap:var(--space-xs);flex-wrap:wrap}.pg-maths .mt .cap span{white-space:normal}.pg-maths .mt .cap .lv{margin-left:0}}@media (width<=640px){.pg-maths .s-hero__title{font-size:var(--hero-h1-size)}.pg-maths .s-hero__lead{font-size:var(--text-m)}}.pg-maths .tagrow{gap:var(--space-xs) var(--space-s-tight);flex-wrap:wrap;align-items:center;display:flex}.pg-maths .shot{border-radius:var(--radius-l);background:var(--white);border:var(--border-size) solid var(--border-color-light);box-shadow:var(--box-shadow-2);margin:0;overflow:hidden}.pg-maths .shot img{width:100%;height:auto;display:block}.pg-maths .shot figcaption{padding:var(--space-s-tight) var(--space-s);font-size:var(--text-xs);color:var(--text-dark-muted);border-top:var(--border-size) solid var(--border-color-light)}.pg-maths .shot--narrow{max-inline-size:440px;margin-inline:auto}.pg-maths .shot--tracker{max-inline-size:300px;margin-inline:auto}.pg-maths .shots2{gap:var(--space-m);align-items:start;display:grid}@media (width>=800px){.pg-maths .shots2{grid-template-columns:repeat(2,minmax(0,1fr))}}.pg-maths .ticks{gap:var(--space-xs);margin-block-start:var(--space-s);display:grid}.pg-maths .ticks li{gap:var(--space-s-tight);color:var(--text-dark);align-items:flex-start;display:flex}.pg-maths .ticks li:before{content:"";width:var(--dot-m);height:var(--dot-m);background:var(--em);border-radius:50%;flex:none;margin-top:.55em}.pg-maths .callouts--stack{gap:var(--space-m);grid-template-columns:1fr}.pg-maths .proof{align-items:center;gap:var(--space-xs);font-size:var(--text-s);color:var(--text-dark-muted);flex-wrap:wrap;margin-block-start:var(--space-s);display:flex}.pg-maths .card .tag{align-self:flex-start}.pg-maths .illo-box{border-radius:var(--radius);background:var(--bg-light);border:1px solid var(--border-color-light);position:relative;overflow:hidden}.pg-maths .illo-box svg{width:100%;height:auto;display:block}.pg-maths .illo-box .ill{padding:var(--space-xxs) var(--space-xs);border-radius:var(--radius-pill);background:var(--white);border:1px solid var(--border-color);position:absolute;top:10px;left:10px}.pg-maths .illo-box--calc{padding:38px var(--space-s-tight) var(--space-s-tight)}.pg-maths .explore .card__text{flex:1}.pg-maths .bm{padding:clamp(var(--space-s), 3vw, var(--space-l));border-radius:var(--radius-l);background:var(--white);border:var(--border-size) solid var(--border-color-light);box-shadow:var(--box-shadow-2);gap:var(--space-m);display:grid}.pg-maths .bm__q{font-size:var(--text-s);color:var(--text-dark);font-weight:500;line-height:1.5}.pg-maths .bm__grid{gap:var(--space-s-tight);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.pg-maths .bm__who{font-size:var(--text-xs);color:var(--text-dark);font-weight:700}.pg-maths .bm__bar{border:2px solid var(--text-dark);border-radius:var(--radius-xs);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;overflow:hidden}.pg-maths .bm__bar.is-one{width:33.333%}.pg-maths .bm__unit{padding:var(--space-s-tight) 0;background:color-mix(in oklab, var(--section-accent) 22%, var(--white));color:var(--text-dark);place-items:center;font-weight:700;display:grid}.pg-maths .bm__unit+.bm__unit{border-left:2px solid var(--text-dark)}.pg-maths .bm__tot{align-items:center;gap:var(--space-xs);font-weight:700;font-size:var(--text-l);grid-area:1/3/span 2;grid-template-columns:14px auto;align-self:stretch;display:grid}.pg-maths .bm__tot:before{content:"";border:2px solid var(--text-dark);border-radius:0 var(--radius-s) var(--radius-s) 0;border-left:0;align-self:stretch}.pg-maths .bm__work{gap:var(--space-xxs);font-weight:500;font-size:var(--text-m);color:var(--text-dark);display:grid}.pg-maths .bm__work span:last-child{color:var(--section-accent-text);font-weight:700}.pg-maths .bm .ill{padding:var(--space-xxs) var(--space-xs);border-radius:var(--radius-pill);border:1px solid var(--border-color);justify-self:start}@media (width>=1000px){.pg-maths .split--shot{grid-template-columns:.9fr 1.1fr}.pg-maths .split--shot-r{grid-template-columns:1.1fr .9fr}}.pg-maths .grid--3 .card__media img{object-position:top center}.pg-maths #measure .shot img{object-fit:contain;background:var(--bg-ultra-light);height:440px}
