.mc,.mc-lessons{--mc-ink: #1e1b4b;--mc-brand: #4f46e5;--mc-brand-deep: #3730a3;--mc-tint: #eef2ff;--mc-hair: #e0e7ff;--mc-hair-strong: #c7d2fe;color:var(--mc-ink)}.mc{--mc-cell: 2.5rem}@media(min-width:40rem){.mc{--mc-cell: clamp(2.5rem, calc((100dvh - 19rem) / 13), 3.25rem)}}@media(min-width:64rem){.mc{--mc-cell: clamp(2.5rem, calc((100dvh - 11.5rem) / 13), 3.25rem)}}@media(min-width:64rem){.mc-wide{width:min(60rem,calc(100vw - 2rem));margin-left:calc(50% - min(30rem,50vw - 1rem))}}.mc-wide{scroll-margin-top:5rem}.mc-lede{margin:.4rem 0 0;font-size:1rem;line-height:1.5;color:#000}.mc-lede__link{color:#3730a3;font-weight:600;text-decoration:underline;text-underline-offset:.15em}.mc-lede__link:hover{color:#4f46e5}.mc-lede__link:focus-visible{outline:3px solid #4f46e5;outline-offset:2px;border-radius:.2rem}.mc-screen{display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem}@media(min-width:64rem){.mc-screen{grid-template-columns:auto minmax(15rem,1fr);grid-template-areas:"grid seg" "grid fill" "grid read" "grid .";grid-template-rows:auto auto auto 1fr;column-gap:2rem;row-gap:.75rem;align-items:start}.mc-a-seg{grid-area:seg;justify-self:start}.mc-a-fill{grid-area:fill}.mc-a-read{grid-area:read}.mc-a-grid{grid-area:grid}}.mc-seg{display:inline-flex;width:fit-content;padding:.25rem;gap:.25rem;border:2px solid var(--mc-hair-strong);border-radius:.875rem;background:#fff}.mc-seg button{min-height:2.5rem;padding-inline:1.1rem;border:0;border-radius:.6rem;background:transparent;font:inherit;font-size:1rem;font-weight:700;color:var(--mc-brand-deep);cursor:pointer}.mc-seg--sm{padding:.2rem;gap:.2rem;border-radius:.75rem}.mc-seg--sm button{min-height:2.25rem;padding-inline:.85rem;border-radius:.5rem}.mc-seg button:hover{background:var(--mc-tint)}.mc-seg button[aria-pressed=true]{background:var(--mc-brand);color:#fff}.mc-seg button:focus-visible,.mc-btn:focus-visible,.mc-quiet:focus-visible,.mc-show:focus-visible{outline:3px solid var(--mc-brand);outline-offset:2px}.mc-btn{min-height:2.5rem;padding-inline:1.4rem;border:0;border-radius:.7rem;background:var(--mc-brand);color:#fff;font:inherit;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:0 3px #3730a3}.mc-btn:hover:not(:disabled){background:#3e35c7}.mc-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #3730a3}.mc-btn:disabled{opacity:.55;cursor:not-allowed}.mc-btn--outline{background:#fff;color:var(--mc-brand-deep);border:2px solid var(--mc-hair-strong);box-shadow:none}.mc-btn--outline:hover{background:var(--mc-tint)}.mc-btn--outline:active{transform:none}.mc-quiet{min-height:2.25rem;padding-inline:.55rem;border:0;border-radius:.5rem;background:transparent;font:inherit;font-size:.9375rem;font-weight:600;color:var(--mc-brand-deep);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.mc-quiet:hover{background:var(--mc-tint)}.mc-quiet:disabled{color:#6b7280;cursor:not-allowed;text-decoration:none}.mc-fill{padding:.5rem .65rem;border:1px solid var(--mc-hair-strong);border-radius:.875rem;background:var(--mc-tint);display:grid;gap:.25rem}.mc-fill__main{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem}.mc-fill__main .mc-btn{margin-left:auto}.mc-fill__label{margin:0;font-size:1rem;font-weight:700}.mc-fill__sub{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 .75rem}.mc-fill__count{margin:0;font-size:.9375rem;font-weight:600;text-wrap:balance}.mc-fill__count.is-result{font-size:.9375rem;font-weight:800}.mc-nowrap{white-space:nowrap}.mc-fill__utils{display:flex;flex-wrap:wrap;margin-inline:-.3rem}@media(min-width:64rem){.mc-fill{padding:.65rem .75rem;gap:.5rem}.mc-fill__main{gap:.5rem .6rem}.mc-fill__main .mc-btn{margin-left:0;width:100%;order:3}.mc-fill__sub{display:grid;gap:.1rem}}.mc-readout{min-height:4.5rem;display:flex;flex-direction:column;justify-content:center;gap:.1rem}@media(min-width:40rem)and (max-width:63.99rem){.mc-readout{min-height:4.25rem}}@media(min-width:64rem){.mc-readout{min-height:5.75rem;justify-content:flex-start;padding-top:.15rem}}.mc-readout__eq{margin:0;font-family:Figtree Variable,Plus Jakarta Sans,system-ui,sans-serif;font-weight:800;font-size:clamp(1.75rem,6vw,2.25rem);line-height:1.1;letter-spacing:-.01em}.mc-readout__sub{margin:0;font-size:1rem;font-weight:600;line-height:1.4}.mc-readout__idle{margin:0;font-size:1.0625rem;font-weight:600;line-height:1.4}.mc-readout a{color:var(--mc-brand-deep);font-weight:700;text-underline-offset:3px}.mc-readout a:focus-visible{outline:3px solid var(--mc-brand);outline-offset:2px;border-radius:.25rem}.mc-hint{margin:0 0 .4rem;font-size:.9375rem;font-weight:600}.mc-scroll-wrap{position:relative;display:flex;justify-content:center}@media(min-width:64rem){.mc-scroll-wrap{justify-content:flex-start}}.mc-scroll{max-width:100%;overflow:auto;border:1px solid var(--mc-hair-strong);border-radius:1rem;background:#fff;overscroll-behavior-x:contain}@media(max-width:39.99rem){.mc-scroll{max-height:min(72dvh,38rem)}}.mc-fade{position:absolute;top:1px;right:0;bottom:0;width:2.25rem;border-radius:0 1rem 1rem 0;background:linear-gradient(to right,#fff0,#fffffff2);pointer-events:none;opacity:0;transition:opacity .15s ease}.mc-scroll-wrap[data-more=true] .mc-fade{opacity:1}.mc-table{border-collapse:separate;border-spacing:0;margin-inline:auto;text-align:center}.mc-table th,.mc-table td{position:relative;width:var(--mc-cell);min-width:var(--mc-cell);height:var(--mc-cell);padding:0;border-right:1px solid var(--mc-hair);border-bottom:1px solid var(--mc-hair);font-size:1rem;font-variant-numeric:tabular-nums}.mc-table th{background:var(--mc-tint);color:var(--mc-ink);font-weight:800;cursor:pointer}.mc-table thead th,.mc-table .mc-corner{position:sticky;top:0;z-index:2}.mc-table tbody th{position:sticky;left:0;z-index:1}.mc-table .mc-corner{left:0;z-index:3;background:var(--mc-tint);cursor:default}.mc-table th:hover{background:var(--mc-hair-strong)}.mc-table th.is-on,.mc-table th.is-on:hover{background:var(--mc-brand);color:#fff}.mc-cell{background:#fff;color:#111827;font-weight:600;cursor:pointer}@media(hover:hover){.mc-cell:not(.is-selected):not(.is-band):not(.is-mirror):not(.is-correct):not(.is-wrong):hover{background:#f5f3ff}}.mc-cell.is-band{background:var(--mc-hair);font-weight:700}.mc-cell.is-mirror{background:#dfe3ff;font-weight:800;box-shadow:inset 0 0 0 2px #6366f1}.mc-cell.is-selected{background:var(--mc-brand);color:#fff;font-weight:800;box-shadow:inset 0 0 0 3px #1e1b4b}.mc-hole{box-shadow:inset 0 -3px 0 0 var(--mc-hair-strong)}.mc-hole.is-selected{box-shadow:inset 0 0 0 3px #1e1b4b}.mc-input{width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-weight:700;letter-spacing:-.03em;text-align:center;caret-color:currentColor}.mc-cell.is-correct{--fb: #3a9d62;--fb-badge: #15803d;background:#c9efd5;color:#14532d;box-shadow:inset 0 0 0 2px var(--fb)}.mc-cell.is-wrong{--fb: #d95555;--fb-badge: #b91c1c;background:#f9cdcd;color:#7f1d1d;box-shadow:inset 0 0 0 2px var(--fb)}.mc-cell.is-correct.is-mirror,.mc-cell.is-wrong.is-mirror{box-shadow:inset 0 0 0 2px #6366f1,inset 0 0 0 4px var(--fb)}.mc-cell.is-correct.is-selected,.mc-cell.is-wrong.is-selected,.mc-hole.is-correct.is-selected,.mc-hole.is-wrong.is-selected{box-shadow:inset 0 0 0 3px #1e1b4b,inset 0 0 0 5px var(--fb)}.mc-cell.is-correct .mc-input,.mc-cell.is-wrong .mc-input{padding-top:.6rem;font-weight:800}.mc-cell.is-correct:not(.mc-hole),.mc-cell.is-wrong:not(.mc-hole){padding-top:.6rem}.mc-cell.is-blankmark{background-color:#fff;background-image:repeating-linear-gradient(135deg,rgba(180,83,9,.16) 0 1px,transparent 1px 6px)}.mc-cell.is-shown{background:#f3f4f6;color:#374151;font-style:italic}.mc-mark{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:.9375rem;height:.9375rem;border-radius:50%;background:var(--fb-badge, #374151);color:#fff;font-size:.6875rem;font-weight:900;line-height:1;pointer-events:none}.mc-table [tabindex]:focus-visible,.mc-input:focus-visible{outline:3px solid #1e1b4b;outline-offset:-3px;box-shadow:inset 0 0 0 5px #fff}.mc-printsec{margin-top:0;scroll-margin-top:5rem}.mc-printpanel{display:grid;gap:.5rem;max-width:30rem;margin-top:1.1rem;padding:1.1rem 1.25rem 1.2rem;border:1px solid var(--mc-hair-strong);border-radius:1rem;background:#fff}.mc-printpanel__label{margin:.35rem 0 0;font-size:.9375rem;font-weight:700;color:var(--mc-brand-deep)}.mc-printpanel__label:first-child{margin-top:0}.mc-choice{display:flex;padding:.25rem;gap:.25rem;border:2px solid var(--mc-hair-strong);border-radius:.875rem;background:var(--mc-tint)}.mc-choice__item{position:relative;display:flex;flex:1 1 auto}.mc-choice__item input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.mc-choice__item span{display:inline-flex;flex:1;align-items:center;justify-content:center;gap:.4rem;min-height:2.75rem;padding-inline:.9rem;border-radius:.6rem;font-size:1rem;font-weight:700;line-height:1.2;text-align:center;color:var(--mc-brand-deep)}.mc-choice__item:hover span{background:var(--mc-hair)}.mc-choice__item input:checked+span{background:var(--mc-brand);color:#fff}.mc-choice__item input:checked+span:before{content:"✓";font-weight:800}.mc-choice__item input:focus-visible+span{outline:3px solid var(--mc-brand);outline-offset:2px}.mc-choice--sm{max-width:14rem}.mc-printpanel__go{width:100%;min-height:2.75rem;margin-top:.7rem}.mc-printpanel .mc-printpanel__hint{margin:.1rem 0 0;max-width:none;font-size:.9375rem;line-height:1.4;color:#4b5563}@media(max-width:30rem){.mc-printpanel{padding:1rem}.mc-choice:not(.mc-choice--sm){flex-direction:column}}.mc-print{display:none}@page{size:portrait;margin:0}@media print{.mc-wide,.mc-printsec{display:none!important}.mc-print{display:block!important;width:182mm;margin:0 auto;padding:15mm 0 0;color:#000;-webkit-print-color-adjust:exact;print-color-adjust:exact}.mc-print-title{margin:0;font-size:21pt;line-height:1.15;font-weight:800;letter-spacing:-.01em}.mc-print-site{margin:1.2mm 0 0;font-size:8.5pt;line-height:1.2;color:#555}.mc-print-fields{display:flex;align-items:flex-end;gap:12mm;margin-top:8mm;font-size:11pt;font-weight:600}.mc-print-field{display:flex;align-items:flex-end;gap:2.5mm;margin:0}.mc-print-field--name{flex:2.4}.mc-print-field--date{flex:1}.mc-print-field span{flex:none;line-height:1}.mc-print-field i{flex:1;height:0;border-bottom:1pt solid #000}.mc-print-note{margin:3.5mm 0 0;font-size:10pt;line-height:1.3;color:#222}.mc-print-table{width:182mm;margin-top:7mm;table-layout:fixed;border-collapse:collapse;border:1.6pt solid #000}.mc-print-fields+.mc-print-note+.mc-print-table{margin-top:5mm}.mc-print-table th,.mc-print-table td{height:15mm;padding:0;border:.6pt solid #666;background:#fff;color:#000;text-align:center;vertical-align:middle;font-size:15pt;line-height:1}.mc-print-table thead th,.mc-print-table thead td{height:11mm;border-bottom:1.6pt solid #000}.mc-print-table tbody th{border-right:1.6pt solid #000}.mc-print-table thead th,.mc-print-table thead td,.mc-print-table tbody th{background:#ebebeb;font-weight:800;font-size:14pt}.mc-print-table .mc-print-corner{background:#ebebeb}.mc-print-table tr{break-inside:avoid}}.mc-lesson{padding-block:1.75rem .25rem;margin-top:1.5rem;border-top:1px solid var(--mc-hair-strong)}.mc-lesson:first-child{margin-top:0}.mc-lesson__title{margin:0;font-size:clamp(1.375rem,5vw,1.75rem);line-height:1.15;font-weight:800;letter-spacing:-.015em;color:#1e1b4b;text-wrap:balance}.mc-lesson p{max-width:38rem;margin:.75rem 0 0;font-size:1.0625rem;line-height:1.65;color:#111827}.mc-lesson .mc-eq{font-weight:700;white-space:nowrap}.mc-lesson__actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.9rem}.mc-rules{max-width:38rem;margin:.9rem 0 0;padding:0;list-style:none;border-top:1px solid var(--mc-hair)}.mc-rules li{display:grid;grid-template-columns:3.25rem minmax(0,1fr);align-items:baseline;gap:.75rem;padding:.5rem 0;border-bottom:1px solid var(--mc-hair);font-size:1.0625rem;line-height:1.5;color:#111827}.mc-rules__n{font-weight:800;color:var(--mc-brand-deep)}.mc-show{display:inline-flex;align-items:center;gap:.5rem;min-height:2.5rem;padding:.35rem .85rem .35rem .65rem;border:1px solid var(--mc-hair-strong);border-radius:.6rem;background:var(--mc-tint);font:inherit;font-size:.9375rem;font-weight:700;color:var(--mc-brand-deep);cursor:pointer}.mc-show[hidden]{display:none}.mc-show:hover{background:var(--mc-hair)}.mc-show__icon{flex:none;width:1.1rem;height:1.1rem}.mc-show__icon rect{fill:none;stroke:#6366f1;stroke-width:1.2}.mc-show__icon rect.on{fill:var(--mc-brand);stroke:var(--mc-brand)}@media(prefers-reduced-motion:reduce){.mc-fade{transition:none}}
