/* The Palta Lab / Numerical Methods 2026 / Shared visual standard
   Keep next to all 14 HTML files, loaded AFTER each page's own style. */
:root{--pl-red:#c62828;--pl-problem:#fff2f2;--pl-ink:#1a1a1a;--pl-rule:#d9d9d9}
html{font-size:16px}
body{font-family:Arial,Helvetica,sans-serif!important;font-size:1rem!important;line-height:1.5!important}
body>.wrap{max-width:980px;margin-left:auto;margin-right:auto}
header.pl-header{box-sizing:border-box!important;position:relative!important;display:block!important;width:100%!important;max-width:none!important;padding:0 0 14px!important;margin:0 0 19px!important;border:0!important;border-bottom:2px solid var(--pl-ink)!important;min-height:0!important;overflow:visible!important}
.pl-header .pl-header-main{display:block!important;position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;flex:none!important}
.pl-header h1{font:normal 1.7rem/1.25 Georgia,'Times New Roman',serif!important;color:var(--pl-ink)!important;margin:0 0 14px!important;max-width:none!important;padding:0 80px 0 0!important;overflow-wrap:break-word}
.pl-header button.pl-lang{position:absolute!important;right:0!important;top:0!important;left:auto!important;bottom:auto!important;z-index:5!important;display:inline-block!important;flex:none!important;float:none!important;transform:none!important;margin:0!important;padding:6px 12px!important;border:1px solid var(--pl-ink)!important;border-radius:3px!important;background:#fff!important;color:var(--pl-ink)!important;font:normal .91rem/1.3 Arial,Helvetica,sans-serif!important;cursor:pointer}
.pl-header h2.pl-section-heading, h2.pl-section-heading, .pl-problem>h2, .pl-animation>h2{font:normal 1.18rem/1.32 Georgia,'Times New Roman',serif!important;color:var(--pl-ink)!important;margin:13px 0 7px!important;max-width:none!important;text-transform:none!important;letter-spacing:normal!important}
.pl-header .pl-intro-copy{display:block!important;font:normal .95rem/1.55 Arial,Helvetica,sans-serif!important;color:var(--pl-ink)!important;width:100%!important;max-width:none!important;margin:0 0 10px!important;padding:0!important;text-align:left!important}
.pl-header .pl-example-copy{display:block!important;font:normal .88rem/1.52 Arial,Helvetica,sans-serif!important;color:#555!important;width:100%!important;max-width:none!important;margin:0 0 3px!important;padding:0!important;text-align:left!important}
.pl-header .pl-example-copy a{color:#58799c!important}
.pl-header .pl-note{font-size:.85rem!important;color:#666!important;margin:0 0 9px!important}
.pl-problem{box-sizing:border-box!important;display:block!important;margin:15px 0 23px!important;border-left:4px solid #c64f4f!important;background:var(--pl-problem)!important;padding:10px 14px 12px!important;max-width:none!important}
.pl-problem>h2{margin:0 0 7px!important}
.pl-problem .prob,.pl-problem .problem,.pl-problem #tProb,.pl-problem #tProblem{border:0!important;border-left:0!important;background:transparent!important;margin:0!important;padding:0!important;box-shadow:none!important;color:var(--pl-ink)!important;font:normal .95rem/1.56 Arial,Helvetica,sans-serif!important;max-width:none!important}
.pl-problem p,.pl-problem div{line-height:1.56!important}
.pl-problem strong,.pl-problem b{color:#111!important;font-weight:700!important}
.pl-problem sub,.pl-problem sup{font-size:.75em}
.pl-problem .sol,.pl-problem .solution{background:#fff!important}
.pl-animation{margin-top:12px!important;min-width:0!important}
.pl-animation>h2{margin:0 0 11px!important}
.pl-animation .controls,.pl-animation .ctl{font-size:.92rem}
input[type='range']{accent-color:#c62828!important}
button:focus-visible,input:focus-visible{outline:2px solid #c62828!important;outline-offset:2px}
.pl-warning{border-left:3px solid #ad3b34;padding:7px 10px;background:#fff7f5;color:#8a302b;font-size:.88rem;margin:8px 0}
.pl-section-heading{clear:none}
.questions h2,.questions>h2,h2#qH,h2#qHead,h2#tQh,h2#hQ,h2#hQuestions,h2#questionsH{font:normal 1.18rem/1.32 Georgia,'Times New Roman',serif!important}
@media(max-width:650px){.pl-header h1{font-size:1.5rem!important;line-height:1.28!important;padding-right:63px!important}.pl-header button.pl-lang{padding:5px 9px!important}.pl-problem{padding:9px 11px!important}.pl-header h2.pl-section-heading,h2.pl-section-heading,.pl-problem>h2,.pl-animation>h2{font-size:1.14rem!important}}
