shugo-sim,.sg-figure{--sg-dog:#ffd8a8;--sg-cat:#b8d8f5;--sg-both:#c2e8bb;--sg-neither:#fff;display:block}@media (prefers-color-scheme:dark){shugo-sim,.sg-figure{--sg-dog:#7a4a1d;--sg-cat:#1f5c8b;--sg-both:#266a39;--sg-neither:#1b2027}}.sg rt{font-size:.5em}.sg-tabs{border-radius:var(--radius);background:var(--c-border);grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.sg-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}.sg-tabs [role=tab][aria-selected=true]{background:var(--c-surface);color:var(--c-primary);box-shadow:0 1px 2px #00000026}.sg-panel{border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-surface);margin-top:.75rem;padding:1rem}.sg-panel>:first-child{margin-top:0}.sg-kind{background:var(--c-surface-2);border-radius:999px;margin:0 0 .25rem;padding:0 .6rem;font-size:.8125rem;font-weight:700;line-height:2;display:inline-block}.sg-problem{margin:0 0 .25rem;font-size:1.0625rem;font-weight:700;line-height:2}.sg-mission{color:var(--c-muted);margin:0 0 .75rem;line-height:2}.sg-chart{border-radius:var(--radius);background:var(--c-surface-2);margin:.75rem 0;padding:.5rem}.sg-chart figcaption{color:var(--c-muted);text-align:center;margin-top:.25rem;font-size:.8125rem;line-height:2}.shugo-venn{width:100%;max-width:520px;height:auto;margin-inline:auto;display:block}.shugo-venn .reg{stroke:var(--c-fig-edge);stroke-width:1.5px}.shugo-venn .reg--dogOnly{fill:var(--sg-dog)}.shugo-venn .reg--catOnly{fill:var(--sg-cat)}.shugo-venn .reg--both{fill:var(--sg-both)}.shugo-venn .reg--neither{fill:var(--sg-neither)}.shugo-venn .reg.is-dim{fill-opacity:.3}.shugo-venn .reg.is-hl{stroke-width:3px}@media (prefers-color-scheme:dark){.shugo-venn .reg{stroke:var(--c-text)}}.shugo-venn .lbl{fill:var(--c-text);font-size:14px}.shugo-venn .num,.shugo-venn .lbl--note{font-weight:700}.sg-steppers{gap:.5rem;display:grid}.sg-stepper{grid-template-columns:1fr 44px 4.5rem 44px;align-items:center;gap:4px;display:grid}.sg-stepper__name{padding-right:.25rem;font-weight:700}.sg-stepper__btn{border:2px solid var(--c-border);border-radius:var(--radius);background:var(--c-surface);min-width:44px;min-height:44px;color:var(--c-text);cursor:pointer;font-size:1.25rem;font-weight:700}.sg-stepper__btn:disabled{opacity:.45;cursor:not-allowed}.sg-stepper__value{font-variant-numeric:tabular-nums;text-align:center;font-size:1.25rem;font-weight:800}.sg-sum{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;display:grid}.sg-sum>div{border-radius:var(--radius);background:var(--c-surface-2);text-align:center;padding:.25rem}.sg-sum dt{color:var(--c-muted);word-break:keep-all;font-size:.8125rem;line-height:1.9}@media (width<=360px){.sg-sum{grid-template-columns:minmax(0,1fr)}.sg-sum>div{justify-content:space-between;align-items:baseline;padding:.25rem .75rem;display:flex}}.sg-sum dd{font-variant-numeric:tabular-nums;margin:0;font-size:1.125rem;font-weight:800}.sg-status{margin:.75rem 0 0;font-size:.9375rem;line-height:2}.sg-actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.sg-actions[hidden]{display:none}.sg-actions .btn{flex:auto}.sg-actions .btn[aria-pressed=true]{outline:3px solid var(--c-text);outline-offset:2px}.sg-seg{grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;margin-bottom:1rem;display:grid}.sg-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}.sg-seg__btn[aria-pressed=true]{border-color:var(--c-primary);background:var(--c-primary-soft);color:var(--c-primary)}.sg-answer{flex-wrap:wrap;align-items:end;gap:.75rem;margin-top:.75rem;display:flex}.sg-answer__fields{flex-wrap:wrap;gap:.5rem 1rem;display:flex}.sg-answer__field{flex-wrap:wrap;align-items:center;gap:.4rem;font-weight:700;display:flex}.sg-answer__field input{border:2px solid var(--c-border);background:var(--c-bg);width:6em;min-height:44px;color:var(--c-text);text-align:right;border-radius:8px;padding:0 .5rem;font-size:1.25rem}.sg-answer__field input:focus{border-color:var(--c-primary)}.sg-result-area:not(:empty){border-radius:var(--radius);background:var(--c-surface-2);margin-top:1rem;padding:.75rem 1rem}.sg-result-area p{margin:0;line-height:2}.sg-result{font-size:1.25rem;font-weight:800}.sg-result.is-correct{color:var(--c-success)}.sg-result.is-wrong{color:var(--c-danger)}.sg-score{color:var(--c-muted);margin:.75rem 0 0;font-size:.875rem}.sg-steps{counter-reset:sg-step;margin:1rem 0 0;padding:0;list-style:none}.sg-step{counter-increment:sg-step;border-radius:var(--radius);background:var(--c-surface-2);opacity:.75;margin-top:.5rem;padding:.5rem .75rem .5rem 2.75rem;position:relative}.sg-step.is-current{opacity:1;outline:2px solid var(--c-primary)}.sg-step:before{content:counter(sg-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}.sg-step p{margin:0;line-height:2}.sg-step__title{font-weight:800}.sg-step__formula{font-variant-numeric:tabular-nums;color:var(--c-primary);font-size:1.125rem;font-weight:700}.sg-stepnav{grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;margin-top:1rem;display:grid}.sg-stepnav__count{font-variant-numeric:tabular-nums;font-weight:700}.sg-noscript{color:var(--c-danger);margin-top:.75rem}
