@layer components{.mobile-problem-list{border-bottom:1px solid var(--color-line)}.mobile-problem-row{display:grid;min-width:0;gap:.25rem;padding-block:.75rem;border-top:1px solid var(--color-line);scroll-margin-top:5rem}.mobile-problem-header{justify-content:space-between}.mobile-problem-header,.mobile-problem-identity{display:flex;min-width:0;align-items:center;gap:.5rem}.mobile-problem-identity{flex-wrap:wrap}.mobile-problem-number{min-width:0;overflow-wrap:anywhere;color:var(--color-forest-800);font-size:1.125rem;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums}}.mobile-problem-identity>[data-difficulty]{padding:.125rem .5rem;font-size:.75rem;line-height:1rem}.mobile-problem-open{flex-shrink:0;margin-inline-end:-.75rem;padding-inline:.75rem;font-size:.875rem}.mobile-problem-row .problem-preview{gap:.5rem;font-size:.9375rem;line-height:1.5}.mobile-problem-row .problem-preview details>div>.grid,.mobile-problem-row .problem-preview>.grid{gap:.5rem;font-size:inherit}.mobile-problem-row .math-scroll{border:0;border-radius:0;background:transparent;padding:.25rem 0}.mobile-problem-row .math-scroll .katex-display{margin:0}.mobile-problem-row .math-scroll .katex-display>.katex{text-align:left}.mobile-problem-row .problem-preview summary{font-size:.875rem}.problem-ledger[data-presentation=mobile] .ledger-header{flex-wrap:nowrap}.problem-ledger[data-presentation=mobile] .ledger-heading{flex-basis:auto}.problem-ledger[data-presentation=mobile] .ledger-trigger{padding-inline-end:.25rem}.problem-ledger[data-presentation=mobile] .ledger-actions{width:auto;align-self:flex-start;padding:14px 10px 0 0}.problem-ledger[data-presentation=mobile] .ledger-reader-link{width:2.75rem;height:2.75rem;padding:0;border-radius:999px}.problem-ledger[data-presentation=mobile] .ledger-reader-link svg{width:1.25rem;height:1.25rem}.problem-ledger[data-presentation=mobile] .ledger-reader-label{display:none}.mobile-subchapter-page{padding-block-start:1rem;gap:1rem}.mobile-subchapter-page .mobile-curriculum-heading{gap:.25rem}.mobile-subchapter-page .mobile-curriculum-heading h1{font-size:clamp(1.375rem,6vw,1.5rem);line-height:1.2}.mobile-subchapter-problems{display:grid;min-width:0}.mobile-subchapter-problems>h2:not(.sr-only){padding-bottom:.5rem}.mobile-subchapter-filters{position:sticky;top:var(--mobile-curriculum-header-height,calc(4rem + 1px));z-index:20;margin-inline:-1rem;padding:.5rem 1rem;border-bottom:1px solid var(--color-line);background:var(--color-kraft)}.mobile-subchapter-problems .mobile-problem-row:first-child{border-top:0}.mobile-subchapter-page :is(#problems-heading,#explanation-heading,.mobile-problem-row){scroll-margin-top:calc(var(--mobile-curriculum-header-height, 4rem) + 6rem)}.mobile-subchapter-background{border:1px solid var(--color-line-soft);border-radius:var(--radius-surface);background:var(--color-surface);box-shadow:var(--shadow-surface)}.mobile-subchapter-background>summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3.25rem;padding:.5rem 1rem;cursor:pointer;list-style:none;color:var(--color-forest-950);font-weight:700;border-radius:inherit}.mobile-subchapter-background>summary::-webkit-details-marker{display:none}.mobile-subchapter-background>summary:focus-visible{outline:2px solid var(--color-forest-800);outline-offset:2px}.mobile-subchapter-background>summary svg{color:var(--color-ink-muted);transition:transform .15s ease}.mobile-subchapter-background[open]>summary svg{transform:rotate(180deg)}.mobile-subchapter-background-body{display:grid;gap:1.5rem;padding:.25rem 1rem 1.25rem;min-width:0}@media (prefers-reduced-motion:reduce){.mobile-subchapter-background>summary svg{transition:none}}