.tg-root{--bg:#f8f6f1;--ink:#1c1917;--muted:#78716c;--accent:#1b4f4f;--rule-c:#e2ddd6;--paper:#fff;--grid:#ede8e0;--grid-strong:#ded7cc;--axis:#a8a29a;--obj:#57534e;--obj-fill:#57534e17;--img:#a8442b;--img-fill:#a8442b26;--vec:#1b4f4f;--font-display:"Playfair Display",Georgia,serif;--font-body:"IBM Plex Sans",system-ui,sans-serif;--font-mono:"IBM Plex Mono",ui-monospace,monospace;--radius:14px;font-family:var(--font-body);-webkit-font-smoothing:antialiased;color:var(--ink);max-width:1180px;margin:0 auto;padding:30px 22px 56px;line-height:1.5}.tg-root,.tg-root *{box-sizing:border-box}.tg-root .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tg-root header.masthead{margin-bottom:22px}.tg-root .eyebrow{font-family:var(--font-mono);letter-spacing:.22em;text-transform:uppercase;color:var(--accent);margin:0 0 8px;font-size:11.5px}.tg-root .eyebrow a{color:inherit;border-bottom:1px solid #0000;text-decoration:none}.tg-root .eyebrow a:hover{border-bottom-color:currentColor}.tg-root h1{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-size:clamp(30px,5vw,46px);font-weight:700;line-height:1.06}.tg-root h1 em{color:var(--accent);font-style:italic;font-weight:400}.tg-root .lede{color:var(--muted);max-width:68ch;margin:12px 0 0;font-size:15px}.tg-root .lede em{color:var(--ink);font-style:normal}.tg-root .rule-inline{font-family:var(--font-mono);color:var(--img);white-space:nowrap}.tg-root .tabs{flex-wrap:wrap;gap:8px;margin:26px 0 18px;display:flex}.tg-root .tab{appearance:none;border:1px solid var(--rule-c);color:var(--muted);font-family:var(--font-body);letter-spacing:.04em;text-transform:uppercase;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:8px;padding:9px 15px;font-size:12.5px;font-weight:500;transition:all .18s;display:flex}.tg-root .tab .n{font-family:var(--font-mono);opacity:.65;letter-spacing:0;font-size:11px}.tg-root .tab:hover{color:var(--ink);border-color:var(--muted)}.tg-root .tab[aria-selected=true]{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 8px 22px -12px var(--accent)}.tg-root .tab[aria-selected=true] .n{opacity:.8}.tg-root .stage{grid-template-columns:1.1fr .9fr;align-items:start;gap:22px;display:grid}@media (width<=900px){.tg-root .stage{grid-template-columns:1fr}}.tg-root .canvas-card{background:var(--paper);border:1px solid var(--rule-c);border-radius:var(--radius);padding:10px 10px 4px;position:sticky;top:16px;box-shadow:0 18px 44px -30px #1c191773}@media (width<=900px){.tg-root .canvas-card{position:static}}.tg-root svg.board{touch-action:none;border-radius:8px;width:100%;height:auto;display:block}.tg-root .caption{font-family:var(--font-mono);color:var(--muted);margin:6px 4px 8px;font-size:11.5px;line-height:1.5}.tg-root .panel{flex-direction:column;gap:16px;display:flex}.tg-root .card{background:var(--paper);border:1px solid var(--rule-c);border-radius:var(--radius);padding:18px}.tg-root .card[hidden]{display:none}.tg-root .card h2{font-family:var(--font-display);margin:0 0 4px;font-size:20px;font-weight:600}.tg-root .card .hint{color:var(--muted);margin:0 0 14px;font-size:13.5px}.tg-root .rule-card{border-left:3px solid var(--img)}.tg-root .card-label{font-family:var(--font-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;font-size:11px}.tg-root .rule{font-family:var(--font-mono);flex-wrap:wrap;align-items:baseline;gap:6px;font-size:clamp(16px,2.4vw,21px);line-height:1.7;display:flex}.tg-root .rule .op{color:var(--muted)}.tg-root .rule .src{color:var(--obj);font-weight:600}.tg-root .rule .dst{color:var(--img);background:var(--img-fill);border-radius:6px;padding:1px 8px;font-weight:600}.tg-root .rule .par{color:var(--vec);background:#1b4f4f14;border-radius:6px;padding:2px 8px;font-size:13px;font-weight:500}.tg-root .note{font-family:var(--font-mono);color:var(--muted);border-top:1px solid var(--rule-c);margin:14px 0 0;padding-top:11px;font-size:12px;line-height:1.65}.tg-root .vec-fields{font-family:var(--font-mono);color:var(--vec);align-items:center;gap:6px;font-size:19px;font-weight:600;display:flex}.tg-root .vec-fields input{width:76px;font-family:var(--font-mono);color:var(--ink);border:1px solid var(--rule-c);text-align:center;background:var(--bg);border-radius:8px;padding:7px 8px;font-size:17px;font-weight:600}.tg-root .vec-fields input:focus{outline:2px solid var(--vec);outline-offset:1px;border-color:#0000}.tg-root .vec-sep{color:var(--muted)}.tg-root .vec-fields[hidden]{display:none}.tg-root .turns{gap:7px;margin-bottom:14px;display:flex}.tg-root .turns span{text-align:center;font-family:var(--font-mono);border:1px solid var(--rule-c);color:var(--muted);border-radius:8px;flex:1;padding:8px 4px;font-size:12px;transition:all .18s}.tg-root .turns span.on{background:var(--img-fill);border-color:var(--img);color:var(--img);font-weight:600}.tg-root .btn-row{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.tg-root .ghost,.tg-root .primary,.tg-root .reset,.tg-root .chip{appearance:none;font-family:var(--font-body);cursor:pointer;border-radius:999px;padding:8px 15px;font-size:13px;font-weight:500;transition:all .16s}.tg-root .ghost,.tg-root .reset,.tg-root .chip{color:var(--muted);border:1px solid var(--rule-c);background:0 0}.tg-root .ghost:hover,.tg-root .chip:hover{color:var(--ink);border-color:var(--muted)}.tg-root .reset:hover{color:var(--img);border-color:var(--img)}.tg-root .ghost:disabled{opacity:.45;cursor:not-allowed}.tg-root .primary{background:var(--img);border:1px solid var(--img);color:#fff;box-shadow:0 8px 20px -12px var(--img)}.tg-root .primary:hover{filter:brightness(1.06)}.tg-root .chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.tg-root .presets{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.tg-root table.vtx{border-collapse:collapse;width:100%;font-family:var(--font-mono);font-size:13px}.tg-root table.vtx th{font-family:var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);text-align:left;border-bottom:1px solid var(--rule-c);padding:0 6px 8px;font-size:10.5px;font-weight:500}.tg-root table.vtx td{border-bottom:1px solid var(--rule-c);vertical-align:middle;padding:5px 6px}.tg-root table.vtx tbody th{border-bottom:1px solid var(--rule-c);letter-spacing:0;text-transform:none;color:var(--obj);width:1%;padding:5px 6px;font-size:13px;font-weight:600}.tg-root table.vtx td.in{align-items:center;gap:3px;padding:5px 6px;display:flex}.tg-root table.vtx input{width:56px;font-family:var(--font-mono);color:var(--ink);border:1px solid var(--rule-c);text-align:center;background:var(--bg);border-radius:6px;padding:4px 5px;font-size:13px}.tg-root table.vtx input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:#0000}.tg-root table.vtx td.seta{color:var(--muted);text-align:center;width:1%}.tg-root table.vtx td.img{color:var(--img);white-space:nowrap;font-weight:600}.tg-root .controls{flex-wrap:wrap;gap:8px;display:flex}.tg-root .toggle{color:var(--muted);border:1px solid var(--rule-c);cursor:pointer;user-select:none;border-radius:999px;align-items:center;gap:8px;padding:7px 13px;font-size:13px;transition:all .16s;display:flex}.tg-root .toggle:hover{color:var(--ink)}.tg-root .toggle input{accent-color:var(--accent);cursor:pointer;width:15px;height:15px}.tg-root .toggle.on{color:var(--ink);border-color:var(--muted)}.tg-root .theory{border-top:1px solid var(--rule-c);max-width:74ch;margin-top:26px;padding-top:24px}.tg-root .theory h2{font-family:var(--font-display);margin:0 0 10px;font-size:24px;font-weight:600}.tg-root .theory p{color:var(--muted);margin:0 0 12px;font-size:15px}.tg-root .theory b{color:var(--ink);font-weight:600}.tg-root .theory code{font-family:var(--font-mono);color:var(--img);font-size:.92em}.tg-root .theory ul{color:var(--muted);margin:0 0 12px;padding-left:20px;font-size:15px}.tg-root .theory li{margin-bottom:6px}.tg-root .g-line{stroke:var(--grid);stroke-width:1px}.tg-root .g-line.strong{stroke:var(--grid-strong)}.tg-root .axis{stroke:var(--axis);stroke-width:1.6px}.tg-root .tick{stroke:var(--axis);stroke-width:1.2px}.tg-root .ticklbl{font-family:var(--font-mono);fill:var(--muted);font-size:11px}.tg-root .axislbl{font-family:var(--font-mono);fill:var(--axis);font-size:13px;font-weight:600}.tg-root .poly-obj{fill:var(--obj-fill);stroke:var(--obj);stroke-width:2px;stroke-linejoin:round;stroke-dasharray:6 5}.tg-root .poly-img{fill:var(--img-fill);stroke:var(--img);stroke-width:2.4px;stroke-linejoin:round}.tg-root .trace{stroke:var(--vec);stroke-width:1.4px;stroke-dasharray:4 5;fill:none;opacity:.75}.tg-root .vecline{stroke:var(--vec);stroke-width:3px;stroke-linecap:round}.tg-root .vechead{fill:var(--vec)}.tg-root .veclbl{font-family:var(--font-mono);fill:var(--vec);font-size:13px;font-weight:600}.tg-root .eixo{stroke:var(--vec);stroke-width:2px;stroke-dasharray:11 7;stroke-linecap:round}.tg-root .eixolbl{font-family:var(--font-mono);fill:var(--vec);font-size:13px;font-weight:600}.tg-root .pt-ref{fill:var(--vec)}.tg-root .pt-obj{fill:var(--obj)}.tg-root .pt-img{fill:var(--img)}.tg-root .lbl-obj{font-family:var(--font-mono);fill:var(--obj);font-size:13px;font-weight:600}.tg-root .lbl-img{font-family:var(--font-mono);fill:var(--img);font-size:13px;font-weight:600}.tg-root .coord{font-family:var(--font-mono);font-size:10.5px}.tg-root .handle{cursor:grab;fill:#0000;stroke:#0000;stroke-width:0}.tg-root .handle:hover{fill:#57534e1f}.tg-root .handle:active{cursor:grabbing}.tg-root .handle.vec:hover{fill:#1b4f4f24}@media (prefers-reduced-motion:reduce){.tg-root *{transition:none!important}}
