.problem-page{--problem-bg: #ffffff;--problem-surface: #ffffff;--problem-surface-2: #f7f7f8;--problem-surface-3: #f0f0f0;--problem-border: #e5e7eb;--problem-border-2: #cfcfdb;--problem-text: #1f1633;--problem-text-2: #514b5c;--problem-muted: #746f7b;--problem-faint: #9b96a3;--problem-blue: #150f23;--problem-on-accent: #ffffff;--problem-blue-soft: #cfcfdb;--problem-blue-tint: #f0f0f0;--problem-violet-tint: #f1eff7;--color-math-bg: var(--problem-surface-2)}html.dark .problem-page{--problem-bg: #0c0f14;--problem-surface: #161b23;--problem-surface-2: #1b212b;--problem-surface-3: #232a35;--problem-border: #272e3a;--problem-border-2: #333c49;--problem-text: #e9edf3;--problem-text-2: #bec6d2;--problem-muted: #8c96a5;--problem-faint: #697283;--problem-blue: #b7adff;--problem-on-accent: #150f23;--problem-blue-soft: #d2cbff;--problem-blue-tint: rgba(106, 95, 193, .24);--problem-violet-tint: rgba(106, 95, 193, .22);--color-math-bg: var(--problem-surface-2)}.problem-card{border:1px solid var(--problem-border);border-radius:8px;background:var(--problem-surface);padding:18px;box-shadow:0 1px 2px #141e370a,0 4px 14px #141e370d}html.dark .problem-card{box-shadow:0 1px 2px #00000059,0 6px 18px #00000047}.problem-chip,.problem-tag,.problem-badge,.problem-card-chip{display:inline-flex;align-items:center;border-radius:6px;font-weight:600;line-height:1.2}.problem-chip{border:1px solid var(--problem-border);background:var(--problem-surface-2);color:var(--problem-text-2);padding:6px 10px;font-size:12px}.problem-tag{border:1px solid var(--problem-border);background:var(--problem-surface-2);color:var(--problem-text-2);padding:5px 10px;font-size:12px}.problem-badge{background:var(--problem-surface-3);color:var(--problem-muted);padding:6px 11px;font-size:12px}.problem-badge-primary{background:var(--problem-blue-tint);color:var(--problem-blue)}.problem-card-chip{border:1px solid var(--problem-border);background:var(--problem-surface-2);color:var(--problem-muted);padding:4px 7px;font-size:11px}.problem-button{border:1px solid var(--problem-border);border-radius:8px;background:var(--problem-surface-2);color:var(--problem-text-2);min-height:38px;padding:0 10px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.problem-button:hover{border-color:var(--problem-blue-soft);color:var(--problem-text)}.problem-record-button[data-active=true]{border-color:var(--problem-blue);background:var(--problem-blue);color:var(--problem-on-accent)}.problem-record-clear{width:100%;margin-top:8px}.problem-record-status{min-width:68px;color:var(--problem-muted);text-align:right;font-size:11px;font-weight:700;line-height:1.35}.problem-step-link{display:flex;width:100%;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;color:var(--problem-muted);padding:8px;text-align:left;font:inherit;cursor:pointer;transition:background-color .15s ease,color .15s ease}.problem-step-link:hover,.problem-step-link[data-active=true]{background:var(--problem-surface-2);color:var(--problem-text)}.problem-step-detail-frame{--problem-detail-row: 48px;--problem-detail-gap: 4px;--problem-detail-height: 152px;--problem-detail-offset: 0px;position:relative;height:var(--problem-detail-height);overflow:hidden}.problem-step-detail-frame:before,.problem-step-detail-frame:after{position:absolute;right:0;left:0;z-index:2;height:18px;pointer-events:none;content:"";opacity:0;transition:opacity .16s ease}.problem-step-detail-frame:before{top:0;background:linear-gradient(to bottom,var(--problem-surface),transparent)}.problem-step-detail-frame:after{bottom:0;background:linear-gradient(to top,var(--problem-surface),transparent)}.problem-step-detail-frame[data-shadow-top=true]:before,.problem-step-detail-frame[data-shadow-bottom=true]:after{opacity:1}.problem-step-detail-track{display:flex;flex-direction:column;gap:var(--problem-detail-gap);margin:0;padding:0;list-style:none;transform:translateY(var(--problem-detail-offset));transition:transform .22s ease;will-change:transform}.problem-step-detail-frame[data-ready=false] .problem-step-detail-track{transition:none}.problem-step-detail-track>li{height:var(--problem-detail-row);flex:0 0 var(--problem-detail-row);transition:opacity .18s ease,filter .18s ease,transform .18s ease}.problem-step-detail-track .problem-step-link{height:100%;align-items:center;padding-top:6px;padding-bottom:6px;transition:background-color .15s ease,color .15s ease,opacity .18s ease,filter .18s ease,transform .18s ease}.problem-step-detail-track .problem-step-label{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.32}.problem-step-detail-track>li[data-detail-position=past] .problem-step-link{opacity:.56;filter:saturate(.75)}.problem-step-detail-track>li[data-detail-position=future] .problem-step-link{opacity:.72;filter:saturate(.86)}.problem-step-detail-track>li[data-detail-position=current] .problem-step-link{opacity:1;filter:none;transform:translate(1px)}.problem-step-detail-frame[data-center-focus=true]:before{height:46px;background:linear-gradient(to bottom,var(--problem-surface) 0%,color-mix(in srgb,var(--problem-surface) 76%,transparent) 48%,transparent 100%)}.problem-step-detail-frame[data-center-focus=true]:after{height:42px;background:linear-gradient(to top,var(--problem-surface) 0%,color-mix(in srgb,var(--problem-surface) 68%,transparent) 45%,transparent 100%)}@media(prefers-reduced-motion:reduce){.problem-step-detail-track,.problem-step-detail-track>li,.problem-step-detail-track .problem-step-link,.problem-step-detail-frame:before,.problem-step-detail-frame:after{transition:none}}.problem-step-marker{display:inline-flex;width:20px;height:20px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:50%;background:var(--problem-surface-3);color:var(--problem-muted);font-size:11px;font-weight:700}.problem-step-link[data-active=true] .problem-step-marker{background:var(--problem-blue);color:var(--problem-on-accent)}.problem-step-label{min-width:0;flex:1 1 auto;overflow-wrap:anywhere;line-height:1.45}.problem-mini-badge{display:inline-flex;min-width:48px;align-items:center;justify-content:center;border-radius:8px;background:var(--problem-violet-tint);color:var(--problem-blue);padding:7px;text-align:center;font-size:11px;font-weight:700;line-height:1.35}.problem-prose{color:var(--problem-text-2);font-size:16px;line-height:1.95}.problem-prose h2{border-top:1px solid var(--problem-border);color:var(--problem-text);font-family:var(--font-sans);font-size:20px;line-height:1.4;margin:36px 0 16px;padding-top:28px}.problem-prose h2:first-child{border-top:0;margin-top:0;padding-top:0}.problem-prose h3{color:var(--problem-text);font-family:var(--font-sans);font-size:17px;line-height:1.5;margin:28px 0 10px;scroll-margin-top:84px}.problem-prose p,.problem-prose li{color:var(--problem-text-2)}.problem-prose strong{color:var(--problem-text);font-weight:700}.problem-prose a{color:var(--problem-blue);text-decoration-color:var(--problem-blue-soft);text-underline-offset:3px}.problem-prose hr{border-color:var(--problem-border);margin:28px 0}.problem-prose figure{margin:28px 0}.problem-prose img{border:1px solid var(--problem-border);border-radius:8px;background:var(--problem-surface)}.problem-prose img[data-problem-lightbox-image]{cursor:zoom-in}.problem-prose img[data-problem-lightbox-image]:focus-visible{outline:3px solid var(--problem-blue-soft);outline-offset:3px}.problem-prose figcaption{color:var(--problem-muted);font-size:12px;line-height:1.6;margin-top:8px;text-align:center}.problem-prose .katex-display{border-color:var(--problem-border);background:var(--problem-surface-2)}
