.wi{display:inline-flex;align-items:baseline;gap:.15em;white-space:nowrap;vertical-align:baseline;--wi-ink:var(--nb-pen-ink, #1d4fb0);--wi-edge:color-mix(in srgb, var(--wi-ink) 45%, transparent)}.wi-input{font:inherit;color:var(--wi-ink);background:color-mix(in srgb,var(--wi-ink) 6%,transparent);border:1.5px dashed var(--wi-edge);border-radius:.25em;padding:0 .15em;margin:0 .1em;min-width:2ch;height:1.3em;line-height:1.2;text-align:center;box-sizing:content-box;vertical-align:baseline}.wi-input:focus{outline:none;border-style:solid;border-color:var(--wi-ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--wi-ink) 25%,transparent)}.wi-input[readonly]{border-style:solid;background:0 0}.wi[data-check=wrong] .wi-input{color:#d93025}.wi-mark,.dd-mark{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.af-check{flex:none;align-self:center;width:1.45em;height:1.45em;padding:0;margin:0 .1em;border-radius:50%;display:inline-grid;place-items:center;font:800 .8em/1 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;color:var(--pt-tile,#1d4fb0);background:0 0;border:0;box-shadow:inset 0 0 0 2px var(--pt-tile,#1d4fb0)}@media(hover:hover){.af-check:hover:not(:disabled){background:var(--pt-tile-soft,rgb(29 79 176/.12))}}.af-check:focus-visible{outline:2px solid var(--wi-ink);outline-offset:1px}:is(.wi,.dd)[data-check=right] .af-check{background:#2f8a4c;color:#fff;box-shadow:inset 0 0 0 2px var(--pt-tile,#1d4fb0);cursor:default}:is(.wi,.dd)[data-check=wrong] .af-check{background:#ec1314;color:transparent;box-shadow:inset 0 0 0 2px var(--pt-tile,#1d4fb0)}html.dark :is(.wi,.dd)[data-check=right] .af-check{background:#74c48f;color:#111}html.dark :is(.wi,.dd)[data-check=wrong] .af-check{background:#d64545;color:transparent}.af-check:disabled{cursor:default}.katex .af-check{font-size:.75em}html.dark .wi[data-check=wrong] .wi-input{color:#f28b82}.katex .wi{font-family:KaTeX_Main,times new roman,serif}.katex .wi-input{height:1.05em;line-height:1;padding:0 .1em;font-size:.95em}.katex .mtight .wi-input{font-size:max(.95em,16px);height:1.2em}.sg{margin:.4rem 0}.sg-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.sg-grid{direction:ltr;display:grid;gap:0;max-width:100%;border:1px solid var(--pt-muted)}.sg-cell{width:min(var(--sg-size),calc((100vw - 7rem)/var(--sg-cols,1)));aspect-ratio:1;height:auto;padding:0;margin:0;border:1px solid var(--pt-muted);background:0 0;cursor:pointer;touch-action:manipulation}.sg-cell:hover:not([disabled]){background:color-mix(in srgb,var(--pt-tile) 18%,transparent)}.sg-cell.sg-on{background:color-mix(in srgb,var(--pt-tile) 55%,transparent)}.sg-cell.sg-given{background:color-mix(in srgb,var(--pt-accent) 60%,transparent);cursor:default}.sg-cell:focus-visible{outline:2px solid var(--nb-pen-ink,#1d4fb0);outline-offset:-3px}.sg-side{display:flex;gap:.3rem;align-items:center}.sg-check{min-width:2.2rem;height:2.2rem;border-radius:50%;font-weight:700;color:var(--nb-ink,#1d3f8f);border:1.5px solid color-mix(in srgb,var(--nb-ink,#1d3f8f) 40%,transparent);background:0 0;cursor:pointer}.sg-check:hover{background:color-mix(in srgb,var(--nb-ink,#1d3f8f) 10%,transparent)}.sg-msg{text-align:start;margin:.25rem 0 0;min-height:0;font-size:.95em}.sg-msg:empty{display:none}.sg[data-check=right] .sg-check{background:#2f8a4c;color:#fff}.sg[data-check=wrong] .sg-check{background:#ec1314;color:transparent}html.dark .sg[data-check=right] .sg-check{background:#74c48f;color:#111}html.dark .sg[data-check=wrong] .sg-check{background:#d64545;color:transparent}.sg-msg[data-state=wrong]{color:#d93025}html.dark .sg-msg[data-state=wrong]{color:#f28b82}.sg-locked .sg-cell{cursor:default}.dd{position:relative;display:inline-flex;align-items:baseline;gap:.15em;white-space:nowrap;vertical-align:baseline;--wi-ink:var(--nb-pen-ink, #1d4fb0)}.dd-btn{font:inherit;color:var(--wi-ink);background:color-mix(in srgb,var(--wi-ink) 6%,transparent);cursor:pointer;border:1.5px dashed color-mix(in srgb,var(--wi-ink) 45%,transparent);border-radius:.25em;padding:0 .2em;margin:0 .1em;min-width:2.4em;min-height:1.3em;display:inline-flex;align-items:center;justify-content:center;gap:.25em}.dd-btn:focus-visible{outline:none;border-style:solid;border-color:var(--wi-ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--wi-ink) 25%,transparent)}.dd-btn:disabled{cursor:default;border-style:solid;background:0 0}.dd-caret{font-size:.7em;opacity:.7}.dd-val:empty{min-width:1ch}.dd[data-check=wrong] .dd-val{color:#d93025}.dd-list{position:absolute;top:100%;inset-inline-start:0;z-index:30;display:flex;flex-direction:column;min-width:100%;margin-top:.2em;padding:.2em;background:var(--nb-paper,#fffdf0);border:1px solid color-mix(in srgb,var(--wi-ink) 35%,transparent);border-radius:.35em;box-shadow:0 4px 14px rgb(0 0 0/.18)}.dd-list[hidden]{display:none}.dd-opt{padding:.25em .6em;border-radius:.25em;cursor:pointer;text-align:center;color:var(--wi-ink)}.dd-opt:hover,.dd-opt:focus{outline:none;background:color-mix(in srgb,var(--wi-ink) 12%,transparent)}.dd-opt[aria-selected=true]{font-weight:700}.dd-opt:has(.mfrac){padding-block:.45em}html.dark .dd[data-check=wrong] .dd-val{color:#f28b82}html.dark .dd-list{background:#1e1e1e}.katex .dd{font-family:KaTeX_Main,times new roman,serif}.check-pic{display:inline-grid;place-items:center;width:1.45em;height:1.45em;margin:0 .15em;vertical-align:-.3em;border-radius:50%;font:800 .8em/1 system-ui,sans-serif;color:var(--pt-tile,#1d4fb0);box-shadow:inset 0 0 0 2px var(--pt-tile,#1d4fb0)}.check-pic.check-pic-right{background:#2f8a4c;color:#fff;box-shadow:inset 0 0 0 2px var(--pt-tile,#1d4fb0)}.check-pic.check-pic-wrong{background:#ec1314;color:transparent;box-shadow:inset 0 0 0 2px var(--pt-tile,#1d4fb0)}html.dark .check-pic.check-pic-right{background:#74c48f;color:#111}html.dark .check-pic.check-pic-wrong{background:#d64545;color:transparent}