tsurukame-sim,.tk-figure{--sim-low:#b9dcf7;--sim-low-ink:#1b5e8c;--sim-high:#9ed8a2;--sim-high-ink:#1f6b2a;--sim-diff:#e8890c;--sim-over:#d32f2f;display:block}@media (prefers-color-scheme:dark){tsurukame-sim,.tk-figure{--sim-low:#28506e;--sim-low-ink:#9fd0f5;--sim-high:#2c6a3a;--sim-high-ink:#a6e3ab;--sim-diff:#ffb35c;--sim-over:#ff8a80}}.tk rt{font-size:.5em}.tk-tabs{border-radius:var(--radius);background:var(--c-border);grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.tk-tabs [role=tab]{border-radius:calc(var(--radius) - 4px);min-height:44px;color:var(--c-text);cursor:pointer;background:0 0;border:0;font-weight:700}.tk-tabs [role=tab][aria-selected=true]{background:var(--c-surface);color:var(--c-primary);box-shadow:0 1px 2px #00000026}.tk-panel{border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-surface);margin-top:.75rem;padding:1rem}.tk-panel>:first-child{margin-top:0}.tk-problem{margin:0 0 .25rem;font-size:1.0625rem;font-weight:700;line-height:2}.tk-mission{color:var(--c-muted);margin:0 0 .75rem;line-height:2}.tk-figs{border-radius:var(--radius);background:var(--c-surface-2);flex-wrap:wrap;justify-content:center;gap:2px;padding:.5rem;display:flex}.tk-fig{width:40px;height:40px;display:grid}.tk-fig svg{width:40px;height:40px}@media (prefers-reduced-motion:no-preference){.tk-fig.is-changed{animation:.4s ease-out tk-pop}.tk-status.is-match .tk-judge{animation:.6s ease-out tk-cheer}.tk-delta{animation:.9s ease-out forwards tk-float}}@keyframes tk-pop{0%{transform:scale(.4)rotate(-20deg)}70%{transform:scale(1.15)}to{transform:scale(1)}}@keyframes tk-cheer{0%{transform:scale(.8)}50%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes tk-float{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-14px)}}.tk-status{text-align:center;margin-block:.75rem}.tk-meter{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.25rem 1.5rem;display:flex}.tk-meter p{margin:0}.tk-now strong{color:var(--c-primary);font-size:2rem}.tk-target strong{font-size:1.25rem}.tk-now{position:relative}.tk-delta{color:var(--sim-diff);font-weight:800;position:absolute;top:-.25rem;right:-1.75rem}.tk-judge{background:var(--c-surface-2);border-radius:999px;margin:.25rem 0 0;padding:.2rem 1rem;font-weight:700;display:inline-block}.tk-judge.is-over{color:var(--sim-over)}.tk-judge.is-match{background:var(--c-primary);color:var(--c-on-primary);font-size:1.125rem}.tk-controls{grid-template-columns:1fr 1.3fr;gap:.5rem;display:grid}.tk-controls .btn{padding-inline:.5rem;font-size:.9375rem}.tk-slider{grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;margin-top:.75rem;font-weight:700;display:grid}.tk-slider input{width:100%;min-height:44px;accent-color:var(--c-primary)}.tk-slider output{text-align:right;min-width:1.5em;display:inline-block}.tk-chart{margin:1rem 0 0}.tk-chart figcaption{color:var(--c-muted);text-align:center;margin-top:.25rem;font-size:.8125rem}.area-chart{width:100%;max-width:480px;height:auto;margin-inline:auto;display:block}.area-chart .axis{stroke:var(--c-text);stroke-width:1.5px}.area-chart .bracket{fill:none;stroke:var(--c-muted);stroke-width:1.5px}.area-chart .lbl{fill:var(--c-text);font-size:13px;font-weight:700}.area-chart .lbl--low{fill:var(--sim-low-ink)}.area-chart .lbl--high{fill:var(--sim-high-ink)}.area-chart .lbl--diff{fill:var(--sim-diff)}.area-chart .col-line{stroke:var(--c-surface);stroke-width:1px;opacity:.8}.area-chart .hatch-bg{fill:var(--c-surface)}.area-chart .hatch-line{stroke:var(--sim-diff);stroke-width:2.5px}.area-chart .region{transition:opacity .25s,x .25s,width .25s}.region--assumed,.region--lowGroup{fill:var(--sim-low)}.region--added,.region--highGroup{fill:var(--sim-high)}.area-chart .lbl--area{font-size:16px;font-weight:800}.area-chart.is-complete .region--added{stroke:var(--c-primary);stroke-width:3px}@media (prefers-reduced-motion:no-preference){.area-chart.is-complete .region--added,.area-chart.is-complete .lbl--area{animation:.7s ease-out tk-complete}}@keyframes tk-complete{0%{opacity:.2}to{opacity:1}}.region--difference{stroke:var(--sim-diff);stroke-width:2px}rect.region--assumed[fill=none]{stroke:var(--c-text);stroke-width:2.5px;stroke-dasharray:7 4}.region.is-dim{opacity:.25}rect.region.is-hl{stroke:var(--c-accent);stroke-width:3.5px}rect.region--assumed.is-hl{stroke:var(--c-text);stroke-width:3.5px}g.region--unitDiff.is-hl .bracket{stroke:var(--sim-diff);stroke-width:3px}.tk-legend{margin:.75rem 0 0;padding:0;font-size:.9375rem;line-height:2;list-style:none}.tk-legend li{align-items:baseline;gap:.5rem;display:flex}.tk-swatch{border-radius:3px;flex:none;width:1em;height:1em;transform:translateY(.15em)}.tk-swatch--assumed{background:var(--sim-low)}.tk-swatch--added{background:var(--sim-high)}.tk-legend .tk-note{color:var(--c-muted);display:block}.tk-legend .tk-insight{border-radius:var(--radius);background:var(--c-primary-soft);margin-top:.5rem;padding:.5rem .75rem;font-weight:700;display:block}.tk-actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.tk-actions .btn{flex:auto}.tk-seg{grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;margin-bottom:1rem;display:grid}.tk-seg__btn{border:2px solid var(--c-border);border-radius:var(--radius);background:var(--c-surface);min-height:44px;color:var(--c-text);cursor:pointer;padding:.25rem .5rem;font-weight:700}.tk-seg__btn[aria-pressed=true]{border-color:var(--c-primary);background:var(--c-primary-soft);color:var(--c-primary)}.tk-pers{color:var(--c-muted);flex-wrap:wrap;gap:.25rem 1rem;margin:0 0 .75rem;font-size:.9375rem;line-height:2;display:flex}.tk-answer{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.tk-answer__field{align-items:center;gap:.4rem;font-weight:700;display:flex}.tk-answer__field input{border:2px solid var(--c-border);background:var(--c-bg);width:5em;min-height:44px;color:var(--c-text);text-align:right;border-radius:8px;padding:0 .5rem;font-size:1.25rem}.tk-answer__field input:focus{border-color:var(--c-primary)}.tk-result-area:not(:empty){border-radius:var(--radius);background:var(--c-surface-2);margin-top:1rem;padding:.75rem 1rem}.tk-result-area p{margin:0;line-height:2}.tk-result{font-size:1.25rem;font-weight:800}.tk-result.is-correct{color:var(--c-success)}.tk-result.is-wrong{color:var(--c-danger)}.tk-score{color:var(--c-muted);margin:.75rem 0 0;font-size:.875rem}.tk-steps{counter-reset:tk-step;margin:1rem 0 0;padding:0;list-style:none}.tk-step{counter-increment:tk-step;border-radius:var(--radius);background:var(--c-surface-2);opacity:.75;margin-top:.5rem;padding:.5rem .75rem .5rem 2.75rem;position:relative}.tk-step.is-current{opacity:1;outline:2px solid var(--c-primary)}.tk-step:before{content:counter(tk-step);background:var(--c-primary);width:1.5rem;height:1.5rem;color:var(--c-on-primary);border-radius:50%;place-items:center;font-size:.875rem;font-weight:800;display:grid;position:absolute;top:.6rem;left:.75rem}.tk-step p{margin:0;line-height:2}.tk-step__title{font-weight:800}.tk-step__formula{font-variant-numeric:tabular-nums;color:var(--c-primary);font-size:1.125rem;font-weight:700}.tk-stepnav{grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;margin-top:1rem;display:grid}.tk-stepnav__count{font-variant-numeric:tabular-nums;font-weight:700}.tk-noscript{color:var(--c-danger);margin-top:.75rem}
