.phystech-content{font-size:1.0625rem;line-height:1.75;min-width:0}
.phystech-content h2{font-size:1.45rem;line-height:1.3}.phystech-content h3{font-size:1.23rem;line-height:1.4;margin:28px 0 14px}
.phystech-content p,.phystech-content li{overflow-wrap:break-word}.phystech-content p{margin:0 0 18px}.phystech-content li{margin-bottom:10px}.phystech-content ul,.phystech-content ol{padding-left:24px}
.phystech-content figure{margin:24px 0 28px}.phystech-content figure>img{display:block;margin:auto;max-height:760px;max-width:100%;width:100%;height:auto;object-fit:contain;background:#fff;border-radius:12px;padding:10px}
.phystech-content figcaption{font-size:.875rem;color:var(--ink-2,#59657a);margin-top:10px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.phystech-content table{border-collapse:collapse;width:100%;font-size:1rem}.phystech-content th,.phystech-content td{border:1px solid var(--line,#dce3ee);text-align:left;padding:12px 14px}.phystech-content th{font-weight:650}
.phystech-content .table-scroll{max-width:100%;overflow-x:auto;margin:22px 0}.phystech-content .math-inline{display:inline;white-space:nowrap;overflow:visible;vertical-align:baseline}
.phystech-content .math-inline .katex{font-size:1.08em;white-space:nowrap}.phystech-content .katex-display{overflow-x:auto;overflow-y:hidden;padding:10px 4px;margin:20px 0 24px}.phystech-content .katex-display>.katex{font-size:1.08em}.phystech-content .katex .base{line-height:normal}
.phystech-content button{font:inherit;font-size:.9375rem;min-height:44px;min-width:44px;padding:9px 14px;border:1px solid var(--line-2,#c7d2fe);border-radius:10px;cursor:pointer}
.phystech-content button:focus-visible{outline:3px solid #6465db;outline-offset:3px}
.phystech-content .early-model{margin:24px 0}.phystech-content .model-invitation{font-size:1rem;font-weight:550;margin:0 0 12px}
.phystech-content .early-model:not(:has([data-lab-ready="true"],[data-box-ready])) .model-invitation{display:none}
.phystech-content .construction-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.phystech-content .construction{padding:16px;border:1px solid var(--line,#dbe3ef);border-radius:16px}.phystech-content .construction p[role=status]{font-size:.875rem;color:var(--ink-2,#59657a);margin:14px 0 0}
.phystech-content .construction button[aria-pressed=true]{background:#3730a3;color:#fff}
.phystech-content .overflow-help{font-size:.8125rem;color:var(--ink-2,#59657a);margin:6px 0 12px}.phystech-content .has-local-overflow{border-right:3px solid #818cf8}
.phystech-content .nojs-figure-link{display:inline-flex;min-height:44px;align-items:center}.review-js .phystech-content .nojs-figure-link{display:none}html:not(.review-js) .phystech-content [data-zoom-image],html:not(.review-js) .phystech-content .construction-controls,html:not(.review-js) .phystech-content .construction p[role=status]{display:none}
.phystech-lesson dialog[data-figure-dialog]{width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;border:1px solid #dce3ee;border-radius:16px;color:#172033;background:#fff}
.phystech-lesson dialog::backdrop{background:#17203380}.phystech-lesson dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.phystech-lesson dialog header strong{min-width:0;overflow-wrap:anywhere}.phystech-lesson dialog header button{flex:none;min-height:44px;padding:9px 14px;color:#172033;background:#fff;border:1px solid #aab7ca;border-radius:10px;font:inherit}
.phystech-lesson .figure-pan-hint{font-size:.875rem;color:#59657a;margin-bottom:10px}.phystech-lesson .figure-scroll{max-height:calc(100dvh - 220px);overflow:auto}.phystech-lesson .figure-scroll img{width:auto;min-width:min(780px,100%);max-width:none;margin:auto}
.phystech-collection{max-width:850px;margin:24px auto}.phystech-collection .archive-condition{margin-bottom:18px}.phystech-collection .math-inline{white-space:nowrap}
/* The exact-coordinate diagrams keep their light plotting surface in both themes. */
.phystech-content .private-lab,.phystech-content .box-lab,.phystech-content .euler-proof{color:#1e293b;--ink:#1e293b;--muted:#59657a}
.phystech-content .private-lab :is(h2,h3,h4,p,summary),.phystech-content .box-lab :is(h2,h3,h4,p,summary),.phystech-content .euler-proof :is(p,summary){color:inherit}
.phystech-content .private-lab button,.phystech-content .box-lab button,.phystech-content .euler-proof button{color:#1e293b;background:#fff}
.phystech-content .private-lab button[aria-pressed=true],.phystech-content .box-lab button[aria-pressed=true]{color:#fff;background:#3730a3}
.phystech-content .euler-proof button[aria-pressed=true]{color:#1f2937;background:#e1f0e8}
.phystech-content .private-lab svg,.phystech-content .box-lab svg,.phystech-content .euler-proof svg{filter:none}
@media(max-width:600px){.phystech-content h3{font-size:1.1875rem}.phystech-content .construction{padding:10px 0;border:0}.phystech-content .math-inline .katex,.phystech-content .katex-display>.katex{font-size:1.06em}.phystech-content .katex-display{padding:12px 2px}.phystech-content th,.phystech-content td{padding:10px}.phystech-lesson .figure-scroll img{min-width:680px}}
@media(max-width:360px){.phystech-content th,.phystech-content td{padding:8px 6px;font-size:.9375rem}}
@media(prefers-reduced-motion:reduce){.phystech-lesson *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html[data-design="v2"] .phystech-content .box-lab{background:#f6f8fc;color:#1e293b;--ink:#1e293b;--ink-2:#59657a;--muted:#59657a;--line:#dce3ee;--play-bg:#f6f8fc;--play-stage:#fff}
html[data-design="v2"] .phystech-content .box-lab small{color:#59657a}
