#trig .px-btn{cursor:pointer;max-width:100%;margin:.25rem}
#trig .px-btn-white{box-shadow:inset 0 0 0 1px var(--qv-border),var(--qv-shadow-small)}
#trig .px-btn:disabled{opacity:.55;cursor:default}
#trig .px-btn:disabled::after{width:0}
#trig-setup{min-width:0;margin:1rem 0 .75rem;padding:clamp(12px,2vw,18px);text-align:left;border:1px solid var(--qv-border);border-radius:10px;background:#fff}
#trig-setup legend{padding:0 .35rem;color:var(--qv-heading);font-weight:700}
.tc-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#tc-options{display:contents}
.tc-settings-grid>.tc-select[hidden]:first-child+.tc-select{grid-column:1/-1}
.tc-select{display:grid;min-width:0;gap:6px;color:var(--qv-heading);font-weight:700}
.tc-select select{width:100%;min-width:0;min-height:44px;padding:8px 11px;border:1px solid var(--qv-border);border-radius:7px;background:#fff;color:var(--qv-heading);font:inherit;text-overflow:ellipsis}
.tc-checks{grid-column:1/-1;display:grid;justify-items:start;border-top:1px solid var(--qv-border);padding-top:8px}
.tc-checks label{display:flex;align-items:center;gap:9px;min-height:44px;color:var(--qv-text);cursor:pointer}
.tc-checks input{flex:none;width:18px;height:18px;margin:0;accent-color:#28775b;cursor:pointer}
#trig [hidden]{display:none!important}
#tu-play {max-width:46rem;margin:1rem auto;text-align:center}
#tu-progress,#tu-label {color:var(--qv-text);font-weight:600}
#tu-givens {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem 1.3rem;padding:1rem;border:1px solid var(--qv-border);border-radius:10px}
#tu-givens>span {white-space:nowrap}
#tu-editor {margin:1rem 0}
.tu-entry {display:flex;align-items:center;justify-content:center;gap:.45rem;margin:.3rem auto;max-width:26rem}
#tu-field {display:block;min-width:0;flex:1;min-height:48px;text-align:left;font-size:1.2rem;border:1px solid var(--qv-border);border-radius:8px;padding:.25rem .45rem}
#tu-field:focus-within {outline:2px solid var(--qv-accent);outline-offset:2px}
#tu-field::part(menu-toggle) {display:none}
#tu-keys {display:flex;justify-content:center;flex-wrap:wrap}
#tu-keys button {min-width:44px;min-height:44px;padding:.35rem .65rem;text-transform:none}
#tu-feedback:not(:empty) {margin:.75rem auto;padding:.7rem;border:1px solid var(--qv-border);border-radius:8px}
#tu-feedback p {margin:.2rem 0;overflow-wrap:anywhere}
#tc-question,#tc-guide,#tc-steps{text-align:center}
#tc-steps button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--qv-accent);background:#fff4ef}
.tc-boards{display:grid;place-items:center}
#tc-circle{display:block;width:min(100%,39rem);height:auto;color:#294b43;background:#fff;border-radius:.65rem;touch-action:manipulation}
.tc-display{padding-top:0;border:0;margin-top:-12px}
.tc-duration{grid-column:1/-1;max-width:24rem;font-weight:600}
.tc-duration input{display:block;width:100%;min-height:32px;margin:0;accent-color:var(--qv-accent)}
.tc-ticks{display:flex;justify-content:space-between;font-size:.8rem;font-weight:400}
#tc-circle text{text-anchor:middle;dominant-baseline:central;pointer-events:none;paint-order:stroke;stroke:#fff;stroke-width:3;fill:#243e38;font:13px system-ui,sans-serif}
#tc-circle .tc-axis-name{font-weight:700;fill:#096858}
#trig:has(#tc-axis-names:not(:checked)) .tc-axis-name{display:none}
#tc-circle:not(.show-values) .tc-axis-labels,#tc-circle:not([data-step="angles"]) .tc-angle-labels{display:none}
#tc-circle:not([data-step="axis"]) .function-axis{stroke:#94a69f;stroke-width:1.5}
.tc-solution{pointer-events:none}
.tc-solution-line{stroke:#2867b2;stroke-width:3}
.tc-solution-value{fill:#2867b2;stroke:#fff;stroke-width:1}
.tc-arg-root{fill:none;stroke:#2867b2;stroke-width:2}
.tc-root{fill:#187452;stroke:white;stroke-width:2}
#tc-circle .ring,#tc-circle .diameter,#tc-circle .function-axis{fill:none;pointer-events:none}
#tc-circle .ring{stroke:#435e56;stroke-width:1.8}
#tc-circle .diameter{stroke:#a2afa9;stroke-width:1.2}
#tc-circle .function-axis{stroke:#096858;stroke-width:2.3}
.tc-point{cursor:pointer;outline:none}
.tc-point .hit{fill:transparent}
.tc-point .dot{fill:#fff;stroke:currentColor;stroke-width:2}
#tc-axis .dot{stroke:#096858}
.tc-point .label-bg{fill:#fff;fill-opacity:.92}
.tc-point text{font:13px system-ui,sans-serif;fill:#243e38;text-anchor:middle;dominant-baseline:central;user-select:none}
.tc-point[aria-pressed=true] .dot{fill:#ce5018;stroke:#7a2b0c}
#tc-axis .tc-point[aria-pressed=true] .dot{fill:#096858;stroke:#00362c}
.tc-point:focus-visible .dot{stroke:#1558b4;stroke-width:4}
#tc-circle [data-layer][aria-hidden=true]{pointer-events:none}
#tc-circle [data-layer][aria-hidden=true] .tc-label{display:none}
#tc-circle [data-layer][aria-hidden=true] .tc-point:not([aria-pressed=true]) .dot{opacity:.3}
