.physics-formulas{--pf-vector: var(--green);--pf-object-edge: var(--muted);--pf-object-light: var(--white);--pf-object-shade: var(--line)}.pf-introduction{padding:0 24px}.pf-introduction p{max-width:85ch;line-height:1.75}.pf-level-note,.pf-diagram-note{color:var(--muted);font-size:.88rem}.pf-topics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:8px 24px 24px}.pf-topics a{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:66px;padding:10px 12px;color:var(--ink);border:1px solid var(--line);border-radius:8px;text-decoration:none;overflow-wrap:anywhere;line-height:1.45}.pf-topics a small{color:var(--muted);font-size:.82rem}.pf-topics a:hover{border-color:var(--green)}.pf-topics a[aria-current]{color:var(--green);background:var(--stage);border-color:var(--green)}.pf-topics a[aria-current] span{font-weight:700}.pf-sections{border-top:1px solid var(--line)}.pf-topic{border-bottom:1px solid var(--line);scroll-margin-top:100px}.pf-topic summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:76px;padding:16px 24px;cursor:pointer}.pf-topic summary:before{content:"+";width:18px;font-size:1.25rem;flex-shrink:0;color:var(--green)}.pf-topic[open]>summary:before{content:"−"}.pf-topic summary::marker,.pf-topic summary::-webkit-details-marker{display:none;content:""}.pf-topic-heading{display:flex;flex:1;flex-direction:column;gap:3px;min-width:150px;font-size:1.05rem;font-weight:700}.pf-topic-heading small{color:var(--muted);font-size:.78rem;font-weight:400}.pf-summary-equation{font-size:1.1rem;font-weight:600;font-variant-numeric:tabular-nums}.pf-topic[open]>summary{background:var(--paper)}.pf-topic-body{padding:0 24px 24px}.pf-topic-intro{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 16px;padding-block:4px 12px}.pf-topic-intro p{flex:1;min-width:min(100%,30ch);margin-block:12px;line-height:1.75}.pf-permalink{display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-size:.85rem}.pf-workbench{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:24px}.pf-figure{margin:0;min-width:0}.pf-diagram{display:block;width:100%;height:auto;background:var(--stage);border:1px solid var(--line);border-radius:12px}.pf-diagram text{fill:var(--ink);font:17px Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.pf-diagram [role=slider],.pf-diagram[data-diagram=work]{touch-action:none;cursor:crosshair}.pf-vector,.pf-contact,.pf-route{stroke:var(--pf-vector);stroke-width:3.5;fill:none;stroke-linecap:round}.pf-arrow-head,.pf-bar,.pf-end{fill:var(--pf-vector)}.pf-grey-head{fill:var(--muted)}.pf-reference{fill:none;stroke:var(--muted);stroke-width:1.5;stroke-dasharray:5 5}.pf-axis,.pf-displacement{fill:none;stroke:var(--muted);stroke-width:2}.pf-object{stroke:var(--pf-object-edge);stroke-width:1.5}.pf-object-top{fill:var(--white);stroke:var(--muted);stroke-width:1.2}.pf-object-side{fill:var(--line);stroke:var(--muted);stroke-width:1.2}.pf-solid-light{stop-color:var(--pf-object-light)}.pf-solid-shade{stop-color:var(--pf-object-shade)}.pf-wheel{fill:var(--white);stroke:var(--muted);stroke-width:2}.pf-bar-track{fill:var(--line)}.pf-area,.pf-volume{fill:var(--green);fill-opacity:.12;stroke:var(--green);stroke-width:2}.pf-angle-guide{fill:none;stroke:var(--muted);stroke-width:1;stroke-dasharray:3 5}.pf-handle{fill:var(--white);stroke:var(--green);stroke-width:2.5}.pf-contact{stroke-width:5}.pf-start{fill:var(--white);stroke:var(--green);stroke-width:2}.pf-wire,.pf-battery{fill:none;stroke:var(--muted);stroke-width:2.5;stroke-linejoin:round}.pf-resistor{fill:var(--white);stroke:var(--muted);stroke-width:2}.pf-figure figcaption,.pf-direction,.pf-drag-help{margin:10px 0 0;font-size:.86rem;line-height:1.65}.pf-drag-help{color:var(--green)}.pf-controls{min-width:0}.pf-controls fieldset{min-width:0;padding:0;margin:0 0 8px;border:0}.pf-controls legend{padding:0;margin-bottom:12px;font-weight:700}.pf-control label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;align-items:baseline;line-height:1.5;font-size:.92rem}.pf-control label b{font-weight:500}.pf-control output{font-weight:700;font-variant-numeric:tabular-nums}.pf-control input{display:block;width:100%;min-height:44px;margin:0 0 8px;accent-color:var(--green);cursor:pointer}.pf-result{display:flex;flex-direction:column;gap:8px;margin:8px 0 16px;padding:16px;border-block:1px solid var(--line);background:var(--paper)}.pf-result>span{font-size:.85rem}.pf-result strong{color:var(--green);font-size:clamp(1.15rem,2vw,1.5rem);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.pf-controls button{min-height:44px;white-space:normal}.pf-explanation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:28px;margin-top:24px;padding-top:8px;border-top:1px solid var(--line)}.pf-explanation h3{margin:16px 0 8px;font-size:.95rem}.pf-explanation p{margin:0;font-size:.9rem;line-height:1.8;overflow-wrap:anywhere}.pf-unit-check{font-variant-numeric:tabular-nums}.pf-diagram-note{margin:20px 24px;line-height:1.75}.physics-formulas :is(a,summary,input,button,svg):focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media(max-width:900px){.pf-topics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.pf-introduction,.pf-topic-body{padding-inline:16px}.pf-topics{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:16px}.pf-topic summary{padding:16px;gap:8px}.pf-summary-equation{margin-inline-start:26px}.pf-workbench,.pf-explanation{grid-template-columns:minmax(0,1fr);gap:18px}.pf-explanation{gap:0}.pf-controls{padding-top:16px;border-top:1px solid var(--line)}.pf-diagram text{font-size:21px}.pf-diagram-note{margin-inline:16px}}@media print{.pf-topics,.physics-formulas .science-stage-list,.pf-controls fieldset,.pf-controls button,.pf-permalink,.pf-drag-help{display:none!important}.pf-topic::details-content{display:block;content-visibility:visible}.pf-topic>summary{background:transparent;padding-inline:0}.pf-topic-body{display:block!important;padding-inline:0}.pf-topic{break-inside:avoid}.pf-workbench{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pf-diagram{max-width:100mm}.pf-introduction,.pf-diagram-note{padding-inline:0;margin-inline:0}}
