.gt-panel{margin:36px 0 50px;padding:clamp(20px,3.5vw,36px);border:1px solid var(--line,#d4d8cf);background:var(--card,#eeeee5);border-radius:8px;color:var(--ink,#172b32)}
.gt-panel *{box-sizing:border-box}.gt-intro{max-width:780px}.gt-intro h3{font-family:Georgia,serif;font-size:clamp(28px,4vw,38px);font-weight:400;line-height:1.2;margin:10px 0 15px}.gt-intro>p:not(.eyebrow){font-size:15px;line-height:1.75;color:var(--muted,#546166)}
.gt-mode-buttons,.gt-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.gt-panel button{padding:10px 14px;min-height:42px;border:1px solid var(--line,#c8cec4);border-radius:4px;background:var(--paper,#f7f5ef);color:var(--ink,#172b32);font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer}.gt-panel button:hover{border-color:var(--accent,#2f665c)}.gt-panel button[aria-pressed=true]{background:var(--accent,#2f665c);color:var(--paper,#f7f5ef);border-color:var(--accent,#2f665c)}.gt-panel button:focus-visible,.gt-panel input:focus-visible{outline:3px solid var(--rust,#a15639);outline-offset:4px}
.gt-scenes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.gt-scene{min-width:0;margin:0;background:var(--paper,#f7f5ef);border:1px solid var(--line,#c8cec4);border-radius:5px;overflow:hidden}.gt-scene-title{display:block;padding:18px 20px 0;font-size:12px;line-height:1.45;font-weight:600;letter-spacing:.025em}.gt-scene svg{display:block;width:100%;height:auto}.gt-scene figcaption{padding:0 20px 18px;font-size:12px;line-height:1.65;color:var(--muted,#546166);min-height:70px}.gt-panel svg{font-family:inherit}.gt-panel svg text{fill:var(--muted,#546166);font-size:13px}.gt-grid{fill:none;stroke:var(--line,#c8cec4);stroke-width:1}.gt-surface,.gt-disk{fill:var(--card,#eeeee5);stroke:var(--line,#c8cec4);stroke-width:1.4}.gt-triangle-fill{fill:var(--accent,#2f665c);fill-opacity:.13;stroke:none}.gt-radial{fill:none;stroke:var(--ink,#172b32);stroke-width:2.3}.gt-exact-edge{fill:none;stroke:var(--accent,#2f665c);stroke-width:4}.gt-flat-edge{fill:none;stroke:var(--rust,#a15639);stroke-width:3;stroke-dasharray:7 4}.gt-angle{fill:none;stroke:var(--muted,#546166);stroke-width:1.5}.gt-vertex{fill:var(--ink,#172b32);stroke:var(--paper,#f7f5ef);stroke-width:2}.gt-panel svg .gt-point-label{fill:var(--ink,#172b32);font-family:Georgia,serif;font-size:20px}.gt-panel svg .gt-edge-label{font-family:Georgia,serif;font-size:19px;fill:var(--ink,#172b32)}
.gt-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:25px 0 12px}.gt-control{font-size:12px;font-weight:600}.gt-control>span{display:flex;justify-content:space-between;gap:8px;line-height:1.5}.gt-control output{font-variant-numeric:tabular-nums;font-weight:400}.gt-control input{display:block;width:100%;height:35px;accent-color:var(--accent,#2f665c);cursor:pointer}.gt-control small{display:block;color:var(--muted,#546166);line-height:1.5;font-size:10px;font-weight:400}.gt-panel [hidden]{display:none!important}
.gt-readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;padding:22px 0;border-top:1px solid var(--line,#c8cec4);border-bottom:1px solid var(--line,#c8cec4);margin-top:25px}.gt-readout{min-width:0}.gt-readout>span{display:block;color:var(--muted,#546166);font-size:11px;line-height:1.5}.gt-readout output{display:block;font-family:Georgia,serif;font-size:25px;line-height:1.5;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.gt-readout.gt-exact output{color:var(--accent,#2f665c)}.gt-readout.gt-flat output{color:var(--rust,#a15639)}.gt-effect{font-size:14px;line-height:1.8;color:var(--ink,#172b32)}
.gt-expansion{margin-top:30px;padding-top:28px;border-top:1px solid var(--line,#c8cec4)}.gt-expansion h4{font-family:Georgia,serif;font-size:26px;font-weight:400;margin:0 0 13px}.gt-expansion>p,.gt-ope p{font-size:14px;line-height:1.8;color:var(--muted,#546166)}.gt-formula{padding:17px 20px;border-left:3px solid var(--accent,#2f665c);background:var(--paper,#f7f5ef);overflow-x:auto;margin:18px 0;font-size:16px}.gt-formula .katex-display{margin:.3em 0;text-align:left}.gt-chart{background:var(--paper,#f7f5ef);border:1px solid var(--line,#c8cec4);border-radius:4px;padding:12px 10px 0;margin-top:20px}.gt-chart svg{display:block;width:100%;height:auto;max-height:300px}.gt-chart-legend{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:11px;padding:0 16px 16px;color:var(--muted,#546166)}.gt-chart-legend span{display:inline-flex;align-items:center;gap:7px}.gt-chart-legend i{display:inline-block;width:23px;border-top:3px solid var(--accent,#2f665c)}.gt-chart-legend .gt-key-flat{border-top:2px dashed var(--rust,#a15639)}.gt-chart-legend .gt-key-expanded{border-top:3px dotted var(--ink,#172b32)}.gt-exact-line{fill:none;stroke:var(--accent,#2f665c);stroke-width:3}.gt-flat-line{fill:none;stroke:var(--rust,#a15639);stroke-width:2;stroke-dasharray:8 5}.gt-expanded-line{fill:none;stroke:var(--ink,#172b32);stroke-width:2;stroke-dasharray:2 5}.gt-cursor{fill:none;stroke:var(--muted,#546166);stroke-width:1;stroke-dasharray:3 5}.gt-graph-dot{fill:var(--accent,#2f665c);stroke:var(--paper,#f7f5ef);stroke-width:2}.gt-panel svg .gt-axis-label{font-size:12px}.gt-ope{margin-top:28px;border-left:2px solid var(--rust,#a15639);padding-left:20px}.gt-ope h4{font-size:15px;margin:0 0 8px}.gt-scope{font-size:12px;line-height:1.75;color:var(--muted,#546166);margin-top:24px}.gt-source{font-size:12px;line-height:1.8;color:var(--muted,#546166);margin-top:16px}.gt-source a{color:var(--accent,#2f665c)}.gt-motion-note{font-size:12px;line-height:1.7;color:var(--muted,#546166)}.gt-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.gt-panel:not(.gt-ready) .gt-controls,.gt-panel:not(.gt-ready) .gt-actions,.gt-panel:not(.gt-ready) .gt-mode-buttons{display:none}
@media(max-width:780px){.gt-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.gt-scenes{grid-template-columns:1fr}.gt-scene svg{max-height:340px}.gt-readouts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.gt-panel{padding:20px 14px}.gt-mode-buttons{gap:7px}.gt-panel button{padding:10px 11px}.gt-controls{gap:16px}.gt-scene-title{padding:15px 15px 0}.gt-scene figcaption{padding:0 15px 15px;min-height:0}.gt-readout output{font-size:23px}.gt-formula{font-size:13px;padding:13px 12px}.gt-chart{padding:8px 0 0}.gt-chart svg .gt-axis-label{font-size:15px}.gt-chart-legend{padding:0 12px 12px;gap:9px 16px}.gt-ope{padding-left:14px}}
@media(prefers-reduced-motion:reduce){.gt-panel *{animation:none!important;transition:none!important}}@media print{.gt-controls,.gt-actions,.gt-mode-buttons,.gt-motion-note{display:none!important}.gt-panel{break-inside:avoid}}
