.library-page .library-heading{margin-bottom:22px}.library-heading-copy{min-width:0}.library-page .collection-title{gap:12px}.library-page .collection-title h1{font-size:26px;letter-spacing:-.6px}.library-page .collection-title>span{padding:3px 8px;border:1px solid var(--border);border-radius:6px;background:var(--card);font-size:12px}.library-heading-copy>p{margin:8px 0 0;color:var(--muted-foreground);font-size:13px;line-height:1.5}.library-tools{padding:14px 16px 10px;margin-bottom:20px;border:1px solid var(--border);border-radius:12px;background:var(--card)}.library-tools .library-filter-bar{margin:0;gap:10px;grid-template-columns:minmax(0,1fr) 180px 180px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.library-count{display:flex;align-items:center;flex-wrap:wrap;gap:0 12px;min-width:0;color:var(--muted-foreground);font-size:12px;line-height:1.6}.library-count-summary{display:inline-flex;align-items:center;gap:8px}.library-count-summary>span+span:before{content:"·";padding-right:8px;opacity:.6}.library-count .text-link{min-height:42px;font-size:12px;white-space:nowrap}.library-batch-action{display:inline-flex;flex:none;align-items:center;gap:7px;min-height:42px;padding:9px 12px;border-radius:8px;font-size:13px;white-space:nowrap}.library-page .library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.library-page .library-list.is-empty{display:block;padding:24px}.library-card,.library-page .library-list.is-empty{border:1px solid var(--border);border-radius:12px;background:var(--card)}.library-card{min-width:0;padding:17px 18px 12px;transition:border-color .15s ease}.library-card:hover{border-color:color-mix(in srgb,var(--foreground) 24%,var(--border))}.library-card-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:9px}.library-card-chapter{min-width:0;overflow:hidden;color:var(--foreground);font-size:13px;font-weight:550;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}.library-card-state{display:inline-flex;flex:none;align-items:center;gap:6px;color:var(--muted-foreground);font-size:11px;white-space:nowrap}.library-card-state:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--muted-foreground)}.library-card-state.library-level-1:before{background:var(--status-red)}.library-card-state.library-level-2:before{background:var(--status-amber)}.library-card-state.library-level-3:before{background:var(--status-green)}.library-card-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.library-question{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:44px;text-align:left;border-radius:5px}.library-question-title{display:flex;align-items:center;gap:8px;min-width:0}.library-question-title strong{overflow-wrap:anywhere;color:var(--foreground);font-size:23px;font-weight:650;line-height:1.2;letter-spacing:-.4px}.library-question-title .starred{flex:none}.library-question-source{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.library-card-kind,.library-question-source{color:var(--muted-foreground);font-size:11px;line-height:1.5}.library-card-kind{flex:none;max-width:50%;padding:4px 7px;border:1px solid var(--border);border-radius:5px;background:color-mix(in srgb,var(--foreground) 3%,var(--card))}.library-card-kind.concept{border-color:color-mix(in srgb,var(--status-red) 18%,var(--border));color:var(--status-red);background:color-mix(in srgb,var(--status-red) 6%,var(--card))}.library-note{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;min-height:88px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--border) 70%,transparent);border-radius:8px;background:color-mix(in srgb,var(--background) 65%,var(--card));text-align:left}.library-note:hover{border-color:color-mix(in srgb,var(--foreground) 20%,var(--border))}.library-note-label{display:flex;align-items:center;gap:5px;width:100%;color:var(--muted-foreground);font-size:11px;line-height:1.4}.library-note-label>svg:last-child{margin-left:auto}.library-note-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;width:100%;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line;color:var(--foreground);font-size:14px;line-height:1.65}.library-note.is-empty .library-note-text{color:var(--muted-foreground)}.library-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.library-schedule{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;min-width:0}.library-due,.library-schedule-detail{display:inline-flex;align-items:center;gap:5px;color:var(--muted-foreground);font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums;white-space:nowrap}.library-due{color:var(--foreground)}.library-due>svg{color:var(--muted-foreground)}.library-due.is-overdue,.library-due.is-overdue>svg{color:var(--status-red)}.library-row-action{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:7px;min-height:42px;min-width:76px;padding:9px 10px;border:1px solid var(--border);border-radius:7px;color:var(--foreground);background:var(--card);font-size:12px;white-space:nowrap}.library-row-action:hover{background:var(--accent);border-color:color-mix(in srgb,var(--foreground) 30%,var(--border))}.library-card.is-archived .library-question-title strong{color:var(--muted-foreground)}.library-page>.list-pagination{margin-top:4px}.library-batch-dialog.app-dialog{max-width:400px}.library-batch-dialog .app-number-field{width:100%}.library-batch-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.library-batch-dialog-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;border-radius:8px;font-size:13px}.detail-current-note{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--background)}.detail-current-note h3{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:13px}.detail-current-note .detail-note{margin:0}@media(max-width:1100px){.library-tools .library-filter-bar{grid-template-columns:minmax(0,1fr) 150px 150px}.library-page .library-list{gap:12px}.library-card{padding:15px 15px 10px}.library-schedule{flex-direction:column;align-items:flex-start;gap:2px}}@media(max-width:900px) and (min-width:761px){.library-page .library-list{grid-template-columns:1fr}.library-note{min-height:66px}.library-schedule{flex-direction:row;align-items:center;gap:12px}}@media(max-width:760px){.library-page .library-heading{align-items:center;gap:12px;margin-bottom:18px}.library-page .collection-title{gap:8px}.library-page .collection-title h1{font-size:23px}.library-page .collection-title>span{padding:2px 6px;font-size:11px}.library-heading-copy>p{display:none}.library-tools{padding:12px 12px 9px;margin-bottom:16px}.library-tools .library-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.library-tools .search-field{grid-column:1/-1}.library-toolbar{align-items:center;gap:10px;margin-top:7px}.library-count{font-size:11px;line-height:1.8}.library-count-summary{flex-direction:column;align-items:flex-start;gap:0}.library-count-summary>span+span:before{content:none}.library-count .text-link{min-height:32px;font-size:11px}.library-batch-action{min-height:44px;padding:9px 10px;font-size:12px}.library-page .library-list{grid-template-columns:1fr;gap:12px}.library-card{padding:15px 15px 10px}.library-card-identity{gap:10px;margin-bottom:12px}.library-question-title strong{font-size:23px}.library-card-kind{max-width:45%;font-size:10px}.library-note{min-height:88px;padding:10px 11px}.library-card-footer{gap:8px;margin-top:8px}.library-row-action{min-height:44px;min-width:74px}}.dark .review-workspace.app-dialog[data-slot=dialog-content],.review-workspace.app-dialog[data-slot=dialog-content]{display:flex;flex-direction:column;width:min(1180px,calc(100vw - 40px));max-width:1180px;height:min(800px,90dvh);max-height:90dvh;padding:0;gap:0;overflow:hidden;border:1px solid var(--border);background:var(--card);color:var(--foreground);border-radius:14px}.review-workspace.is-expanded.app-dialog[data-slot=dialog-content]{border:0}.redo-header{display:flex;align-items:center;justify-content:space-between;flex:none;gap:20px;padding:20px 24px;border-bottom:1px solid var(--border)}.redo-title{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:4px 12px}.redo-eyebrow{color:var(--muted-foreground);font-size:11px;font-weight:600}.redo-title [data-slot=dialog-title]{font-size:22px;line-height:1.3;letter-spacing:-.02em}.redo-title [data-slot=dialog-description]{grid-column:1/-1;color:var(--muted-foreground);font-size:12px;line-height:1.5}.redo-header-actions{display:flex;align-items:center;gap:8px}.redo-estimate{margin-right:10px;color:var(--muted-foreground);font-size:12px;white-space:nowrap}.redo-icon-button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted-foreground)}.redo-icon-button:hover{background:var(--accent);color:var(--foreground)}.redo-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;grid-template-rows:minmax(0,1fr);flex:1;min-height:0;overflow:hidden}.redo-question{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--secondary)}.redo-paper-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:55px;padding:10px 24px;color:var(--muted-foreground)}.redo-paper-toolbar>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.redo-paper-toolbar small{font-size:10px;font-weight:400}.redo-zoom{display:flex;align-items:center;border:1px solid var(--border);border-radius:7px;background:var(--card)}.redo-zoom button{display:grid;place-items:center;height:32px;min-width:32px;padding:0 8px;border:0;background:transparent;color:var(--muted-foreground);font-size:11px}.redo-zoom button:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.redo-zoom button:disabled{opacity:.35}.redo-paper-scroll{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 24px 24px}.redo-paper{display:flex;flex-direction:column;align-items:center;gap:24px;min-height:100%;width:100%;padding:32px 28px;background:#fff;color:#171717;border-radius:6px;box-shadow:0 2px 10px rgb(0 0 0/.04)}.redo-paper.is-zoomed{width:max-content;min-width:100%}.redo-paper figure{display:flex;flex-direction:column;align-items:center;max-width:100%}.redo-paper img{display:block;height:auto;flex:none}.redo-paper figcaption{align-self:flex-start;margin:0 0 18px;color:#777;font-size:11px}.redo-source{display:flex;justify-content:space-between;gap:14px;padding:12px 24px 17px;font-size:10px}.redo-source,.redo-source a{align-items:center;flex:none;color:var(--muted-foreground)}.redo-source a{display:inline-flex;gap:4px;padding:5px 0;text-decoration:none}.redo-source a:hover{color:var(--foreground);text-decoration:underline}.redo-record{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-left:1px solid var(--border)}.redo-record-content{flex:1;min-height:0;overflow-y:auto;padding:22px 20px}.redo-clock>div:first-child{display:flex;align-items:center;gap:6px;color:var(--muted-foreground);font-size:12px}.redo-clock b{color:var(--foreground);font-weight:600}.redo-clock>div:first-child span{margin-left:auto;font-size:10px}.redo-clock-main{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.redo-clock-main output{color:var(--foreground);font-size:30px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.redo-clock-main button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:0 12px;border-radius:7px;font-size:11px}.redo-reminder{margin:22px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.redo-reminder>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;gap:7px;padding:12px 0;border:0;background:transparent;color:var(--muted-foreground);font-size:11px;text-align:left}.redo-reminder>button:hover{color:var(--foreground)}.redo-reminder svg{flex:none;transition:transform .18s}.redo-reminder svg.is-open{transform:rotate(180deg)}.redo-reminder p{margin:0 0 15px;color:var(--foreground);font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.redo-notes{display:grid}.redo-time-label{display:flex;align-items:center;justify-content:space-between;font-size:12px}.redo-time-label b{font-weight:600}.redo-time-label button{border:0;background:transparent;color:var(--primary);font-size:10px}.redo-notes label{display:block;margin-top:5px;color:var(--foreground)!important;font-size:12px;font-weight:600}.redo-notes label span{margin-left:4px;color:var(--muted-foreground);font-size:10px;font-weight:400}.redo-results{flex:none;padding:18px 20px 20px;border-top:1px solid var(--border)}.redo-results h3{color:var(--foreground);font-size:13px;font-weight:600}.redo-results>p{margin:5px 0 13px;color:var(--muted-foreground);font-size:10px;line-height:1.6}.redo-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.redo-result-grid .result-button{min-height:73px;gap:5px;padding:12px 10px;border-radius:8px}.redo-result-grid .result-button b{font-size:12px}.redo-result-grid .result-button span{font-size:10px}.redo-result-grid .result-button:disabled{opacity:.45;cursor:not-allowed}.redo-results .redo-disabled-note{margin-top:12px}.redo-no-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:220px;gap:13px;padding:36px;color:var(--muted-foreground);text-align:center}.redo-no-prompt h3{color:var(--foreground);font-size:15px;font-weight:600}.redo-no-prompt p{max-width:320px;font-size:12px;line-height:1.8}.redo-ambiguity{padding:14px 24px 18px;font-size:12px}.redo-ambiguity b{color:var(--foreground);font-weight:600}.prompt-confirmed{display:flex;align-items:center;justify-content:space-between;gap:12px}.prompt-confirmed>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;min-width:0}.prompt-confirmed span{color:var(--muted-foreground);overflow-wrap:anywhere}.prompt-confirmed>button{flex-shrink:0}.redo-ambiguity p{margin:5px 0 10px;color:var(--muted-foreground);font-size:11px;line-height:1.7}.redo-image-error{flex-direction:column;justify-content:center;min-height:220px;gap:15px;color:var(--muted-foreground)}.redo-image-error,.redo-image-error button{display:flex;align-items:center;font-size:12px}.redo-image-error button{gap:6px}.redo-image-error a{color:var(--primary)}.redo-image-loading{color:#777;font-size:12px;padding:18px 0}.dark .redo-paper{box-shadow:0 2px 15px rgb(0 0 0/.15)}.redo-icon-button:focus-visible,.redo-paper-scroll:focus-visible,.redo-zoom button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (max-width:760px){.dark .review-workspace.app-dialog[data-slot=dialog-content],.review-workspace.app-dialog[data-slot=dialog-content]{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.review-workspace.is-expanded.app-dialog[data-slot=dialog-content]{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.redo-header{gap:10px;padding:16px}.redo-title{gap:4px 8px}.redo-title [data-slot=dialog-title]{font-size:20px}.redo-title [data-slot=dialog-description]{font-size:11px}.redo-eyebrow{font-size:10px}.redo-header-actions{gap:5px}.redo-estimate{display:none}.redo-icon-button{width:40px;height:40px}.redo-layout{display:block;overflow-y:auto;overscroll-behavior:contain}.redo-question{min-height:320px}.redo-paper-toolbar{padding:8px 16px}.redo-zoom button{min-width:40px;height:40px}.redo-paper-scroll{flex:none;overflow:auto;max-height:68dvh;padding:0 12px 12px}.redo-paper{min-height:190px;padding:24px 14px}.redo-source{gap:8px;padding:8px 16px 14px;font-size:10px}.redo-source>span{max-width:65%}.redo-record{overflow:visible;border-left:0;border-top:1px solid var(--border)}.redo-record-content{overflow:visible;padding:21px 20px}.redo-record button{min-height:44px}.redo-result-grid .result-button{min-height:76px}.redo-ambiguity{padding:8px 16px 15px}}@media (prefers-reduced-motion:reduce){.redo-reminder svg{transition:none}}.dark .review-workspace.app-dialog[data-slot=dialog-content],.review-workspace.app-dialog[data-slot=dialog-content]{width:min(1320px,calc(100vw - 48px));max-width:1320px;height:min(880px,92dvh);max-height:92dvh;border-radius:18px;box-shadow:0 24px 90px rgb(0 0 0/.25)}.review-workspace.is-expanded.app-dialog[data-slot=dialog-content]{width:100vw;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}.redo-header{padding:20px 26px}.redo-eyebrow{font-size:12px}.redo-title [data-slot=dialog-title]{font-size:24px;outline:none}.redo-title [data-slot=dialog-description]{font-size:13px}.redo-layout{grid-template-columns:minmax(0,1fr) clamp(360px,33%,440px)}.redo-question{background:var(--background)}.redo-record{background:var(--card)}.redo-paper-scroll{padding:8px 26px 26px}.redo-paper{min-height:240px;padding:40px 28px;border:1px solid #e1e3e8;border-radius:10px}.redo-paper-toolbar{min-height:60px;padding:12px 26px}.redo-record-content{padding:22px 24px}.redo-clock-main output{font-size:34px}.redo-clock-main button{min-height:40px;font-size:12px}.redo-clock>div:first-child span{font-size:11px}.redo-clock{padding-bottom:18px;border-bottom:1px solid var(--border);margin-bottom:18px}.redo-reminder{margin:0 0 18px;border-top:0}.redo-notes{gap:10px}.redo-note-field{min-width:0;margin-top:10px}.redo-note-heading{display:flex;align-items:center;gap:8px;min-height:36px}.redo-notes .redo-note-heading label{display:inline-flex;align-items:center;gap:6px;margin:0;color:var(--foreground);font-size:13px;font-weight:600}.redo-note-heading>button,.redo-note-heading>span{color:var(--muted-foreground);font-size:11px}.redo-note-heading>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:36px;margin-left:auto;padding:0 7px;border-radius:6px}.redo-note-heading>button:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.review-workspace .redo-note-field textarea{display:block;box-sizing:border-box;width:100%;height:clamp(240px,32dvh,340px);min-height:0;margin-top:8px;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--background);color:var(--foreground);font-size:14px;font-weight:400;line-height:1.85;resize:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.is-practice .redo-results,.redo-results{padding:18px 24px}.redo-results h3{font-size:14px}.redo-results>p{font-size:12px}.is-practice .redo-result-grid .result-button,.redo-result-grid .result-button{min-height:68px;padding:12px;background:var(--card)}.redo-result-grid .result-button b{display:flex;align-items:center;justify-content:space-between;font-size:13px}.redo-result-grid .result-check{flex:none}.redo-result-grid .result-button:not(.is-selected) .result-check{visibility:hidden}.redo-result-grid .result-button span{font-size:11px}.redo-result-grid .result-again{color:var(--status-red);border-color:var(--status-red-border)}.redo-result-grid .result-hard{color:var(--status-amber);border-color:var(--status-amber-border)}.redo-result-grid .result-easy,.redo-result-grid .result-good{color:var(--status-green);border-color:var(--status-green-border)}.redo-result-grid .result-again.is-selected{background:var(--status-red-bg);border-color:var(--status-red)}.redo-result-grid .result-hard.is-selected{background:var(--status-amber-bg);border-color:var(--status-amber)}.redo-result-grid .result-easy.is-selected,.redo-result-grid .result-good.is-selected{background:var(--status-green-bg);border-color:var(--status-green)}.session-phase{display:inline-flex;padding:7px 12px;border:1px solid var(--border);border-radius:6px;color:var(--foreground);background:var(--background);font-size:12px;font-weight:600}.phase-check{color:var(--status-green);border-color:var(--status-green-border);background:var(--status-green-bg)}.phase-recap{color:var(--muted-foreground);border-color:var(--border);background:var(--muted)}.recap-record-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:12px}.recap-record-meta>span{color:var(--muted-foreground)}.recap-record-meta>b{margin-left:auto}.recap-outcome{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.session-navigation{flex:none;display:flex;gap:22px;align-items:center;padding:12px 26px;border-bottom:1px solid var(--border);background:var(--card)}.session-navigation-heading{flex:none;display:grid;gap:4px;font-size:12px}.session-navigation-heading span{font-size:11px;color:var(--muted-foreground)}.session-navigation nav{display:flex;gap:7px;overflow-x:auto;padding:3px}.session-navigation-heading{max-width:40%;overflow-wrap:anywhere}.session-navigation nav{min-width:0}.session-question{position:relative;flex:none;display:flex;align-items:center;gap:5px;min-height:40px;padding:8px 11px;border:1px solid var(--border);border-radius:7px;background:var(--background);color:var(--muted-foreground);font-size:13px;font-weight:600}.session-question small{font-size:10px;font-weight:400}.session-question.is-current{outline:2px solid var(--primary);outline-offset:0;border-color:transparent}.session-question.status-answered{color:var(--foreground);background:var(--secondary)}.session-question.status-again{color:var(--status-red);background:var(--status-red-bg);border-color:var(--status-red-border)}.session-question.status-hard{color:var(--status-amber);background:var(--status-amber-bg);border-color:var(--status-amber-border)}.session-question.status-easy,.session-question.status-good{color:var(--status-green);background:var(--status-green-bg);border-color:var(--status-green-border)}.session-controls{margin-top:16px}.session-next-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.session-controls button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:10px 12px;border-radius:8px;font-size:12px}.session-submit{width:100%;margin-top:12px;min-height:46px!important}.session-submit span{opacity:.8}.session-hint{text-align:center;font-size:11px;color:var(--muted-foreground);line-height:1.6;margin-top:9px}.session-controls .session-back{margin:2px auto 0;padding:3px 8px;min-height:32px;color:var(--muted-foreground)}.session-skipped{font-size:12px;line-height:1.8;margin-bottom:12px;color:var(--muted-foreground)}.session-skipped button{width:100%}@media (min-width:761px){.review-workspace .redo-record{display:block;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none}.review-workspace .redo-record-content{overflow:visible}}.session-question small{white-space:nowrap}@media (max-width:760px){.review-workspace.is-check .redo-layout{overflow-anchor:none}.dark .review-workspace.app-dialog[data-slot=dialog-content],.review-workspace.app-dialog[data-slot=dialog-content]{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.review-workspace.is-expanded.app-dialog[data-slot=dialog-content]{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.redo-header{padding:14px 16px}.redo-title [data-slot=dialog-title]{font-size:21px}.redo-title [data-slot=dialog-description]{font-size:12px}.session-navigation{padding:10px 12px;gap:10px}.session-navigation-heading{font-size:11px}.session-question{min-height:44px;padding:9px}.session-question small{display:none}.redo-paper-scroll{padding:4px 12px 16px}.redo-paper{min-height:180px;padding:28px 14px}.redo-paper-toolbar{padding:10px 16px}.redo-record-content{padding:20px}.is-practice .redo-results,.redo-results{padding:18px 20px}.session-controls button{min-height:44px}.redo-note-heading{flex-wrap:wrap}.redo-note-heading>button{min-height:44px}}.dark .review-note-dialog.app-dialog[data-slot=dialog-content],.review-note-dialog.app-dialog[data-slot=dialog-content]{display:flex;flex-direction:column;gap:18px;width:min(1040px,calc(100vw - 48px));max-width:1040px;height:min(820px,90dvh);max-height:90dvh;padding:24px;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--foreground)}.review-note-dialog-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:16px}.review-note-dialog-heading [data-slot=dialog-title]{color:var(--foreground);font-size:20px;font-weight:650;line-height:1.5}.review-note-dialog-heading [data-slot=dialog-description]{margin-top:4px;color:var(--muted-foreground);font-size:12px}.review-note-dialog .review-note-editor{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:14px;flex:1;min-height:0;width:100%;overflow:hidden}.review-note-dialog .review-note-editor.has-images{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:20px}.review-note-dialog .note-editor-writing{display:flex;min-height:0}.review-note-dialog .review-note-editor textarea{flex:1;min-height:200px;height:100%;margin:0;padding:20px;font-size:15px;line-height:1.9}.review-note-dialog .note-editor-attachments{display:flex;flex-direction:column;gap:8px;min-height:0}.review-note-dialog .note-image-collection{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}.review-note-dialog .note-image-heading{flex:none}.review-note-dialog .review-note-editor .note-image-gallery{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px;margin:-3px}.review-note-dialog .note-image-toolbar{flex:none;margin-top:4px}.review-note-dialog>footer{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px}.review-note-dialog>footer>span{color:var(--muted-foreground);font-size:12px}.review-note-dialog>footer>button{min-height:44px;padding:10px 16px;border:1px solid var(--border);border-radius:8px;font-size:13px}.redo-note-heading>button:focus-visible,.review-note-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:2px;box-shadow:none}@media(max-width:760px){.dark .review-note-dialog.app-dialog[data-slot=dialog-content],.review-note-dialog.app-dialog[data-slot=dialog-content]{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:18px 16px;gap:14px;border-radius:12px}.review-note-dialog-heading [data-slot=dialog-title]{font-size:18px}.review-note-dialog-heading .redo-icon-button{width:44px;height:44px;flex:none}.review-note-dialog .review-note-editor,.review-note-dialog .review-note-editor.has-images{display:block;overflow:auto;overscroll-behavior:contain;padding:3px;margin:-3px}.review-note-dialog .review-note-editor textarea{padding:14px;font-size:14px;line-height:1.9;min-height:180px;height:220px}.review-note-dialog .note-editor-attachments{margin-top:16px}.review-note-dialog .note-image-collection,.review-note-dialog .review-note-editor .note-image-gallery{overflow:visible;flex:none}.review-note-dialog>footer{flex-wrap:wrap}.review-note-dialog>footer>span{width:100%;font-size:11px}}.redo-header-actions .priority-toggle{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:40px;padding:8px 11px;font-size:12px;white-space:nowrap}.priority-toggle[aria-pressed=true]{color:var(--primary);border-color:var(--primary);background:var(--secondary)}.priority-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.recap-reading-hint{margin-top:7px;font-size:11px;line-height:1.6;color:var(--muted-foreground)}@media(max-width:760px){.redo-header{gap:10px;align-items:flex-start}.redo-title{min-width:0;display:flex;flex-direction:column;gap:4px}.redo-title [data-slot=dialog-description]{overflow-wrap:anywhere}.redo-header-actions{display:grid;grid-template-columns:44px 44px;gap:6px;flex:none}.redo-header-actions .redo-estimate{display:none}.redo-header-actions .priority-toggle{grid-column:1/-1;min-height:44px;padding:8px 6px;justify-content:center;font-size:11px}.redo-header-actions .redo-icon-button{width:44px;height:44px}}.recap-note-save{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:6px 0}.recap-note-save>span{color:var(--muted-foreground);font-size:11px;line-height:1.6}.recap-note-save>button{min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:12px}.recap-note-save>button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.recap-note-save>button{min-height:44px}.review-note-dialog>footer{flex-wrap:wrap}.review-note-dialog>footer>span{flex-basis:100%}.review-note-dialog>footer>button{flex:1}}.session-keyboard-hint{margin-left:14px;color:var(--muted-foreground);font-size:11px;font-weight:400}.session-solve-actions{grid-template-columns:minmax(0,.95fr) minmax(0,1fr) minmax(0,1.25fr)}.session-solve-actions button{min-width:0;white-space:nowrap}.session-solve-actions .session-unable{border:1px solid var(--status-red-border);color:var(--status-red);background:var(--card)}.session-solve-actions .session-unable.is-selected,.session-solve-actions .session-unable:hover:not(:disabled){border-color:var(--status-red);background:var(--status-red-bg)}.session-solve-actions .session-unable:disabled{opacity:.45;cursor:not-allowed}@media (max-width:640px){.session-keyboard-hint{display:none}}.redo-check-results{margin-bottom:18px}.redo-check-results h3{font-size:14px;font-weight:600}.redo-check-results>p{margin:5px 0 12px;color:var(--muted-foreground);font-size:13px;line-height:1.7}.redo-optional-note{border-top:1px solid var(--border)}.redo-optional-note>summary{display:flex;align-items:center;gap:7px;min-height:48px;cursor:pointer;list-style:none;font-size:13px;font-weight:600}.redo-optional-note>summary::-webkit-details-marker{display:none}.redo-optional-note>summary small{margin-left:auto;color:var(--muted-foreground);font-size:12px;font-weight:400}.redo-optional-note>summary>svg:last-child{color:var(--muted-foreground);transition:transform .18s}.redo-optional-note[open]>summary>svg:last-child{transform:rotate(180deg)}.redo-optional-note>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:5px}.redo-optional-note-body{padding-bottom:8px}.redo-session-footer{flex:none;padding:10px 24px 12px;border-top:1px solid var(--border);background:var(--card)}.redo-session-footer .session-controls{display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,1fr) auto;align-items:center;gap:6px 16px;margin:0}.redo-session-footer .session-submit{grid-column:2;grid-row:1;margin:0}.redo-session-footer .session-back{grid-column:3;grid-row:1;margin:0}.redo-session-footer .session-hint{grid-column:1/-1;grid-row:2;margin:0}.redo-session-footer .session-skipped{grid-column:1/-1;margin:0}.redo-session-footer>p{margin:4px 0 0;text-align:center;color:var(--muted-foreground);font-size:12px;line-height:1.6}@media(max-width:760px){.review-workspace.is-check .redo-layout{display:flex;flex-direction:column}.review-workspace.is-check .redo-record{flex:none;order:-1;border-top:0;border-bottom:1px solid var(--border)}.review-workspace.is-check .redo-question{flex:none}.redo-check-results{margin-bottom:14px}.redo-session-footer{padding:10px 16px max(10px,env(safe-area-inset-bottom))}.redo-session-footer .session-controls{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.redo-session-footer .session-next-actions{grid-column:1/-1;grid-row:1}.redo-session-footer .session-submit{grid-column:1/-1;grid-row:2}.redo-session-footer .session-hint{grid-column:1;grid-row:3;text-align:left}.redo-session-footer .session-back{grid-column:2;grid-row:3;min-height:44px;padding:4px}.redo-session-footer>p{font-size:12px}}@media(prefers-reduced-motion:reduce){.redo-optional-note>summary>svg:last-child{transition:none}}.dark .question-detail-dialog.app-dialog[data-slot=dialog-content],.question-detail-dialog.app-dialog[data-slot=dialog-content]{display:flex;flex-direction:column;width:min(1160px,calc(100vw - 40px));max-width:1160px;max-height:90dvh;padding:0;gap:0;overflow:hidden;border-color:var(--border);background:var(--card);color:var(--foreground);border-radius:14px}.question-detail-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--border)}.question-detail-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.question-detail-title>span:first-child{color:var(--muted-foreground);font-size:12px}.question-detail-title [data-slot=dialog-title]{font-size:25px;color:var(--foreground);line-height:1.3}.question-detail-header [data-slot=dialog-description]{margin-top:6px;font-size:12px;color:var(--muted-foreground);line-height:1.6}.detail-starred{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--status-amber)}.question-detail-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:0;overflow:hidden}.question-detail-main{min-width:0;overflow-y:auto;overscroll-behavior:contain;background:var(--background)}.detail-prompt{min-height:240px}.detail-prompt .redo-paper-toolbar{padding:14px 22px 10px;min-height:56px}.detail-prompt .redo-paper-scroll{flex:none;max-height:330px;padding:8px 22px 16px}.detail-prompt .redo-paper{min-height:180px;padding:28px 20px}.detail-prompt .redo-source{padding:0 22px 16px}.question-detail-main>.detail-current-note{margin:0 22px 22px;padding:20px;background:var(--card);border-radius:10px}.detail-note-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.detail-note-heading h3{margin:0;font-size:14px;color:var(--foreground)}.detail-note-heading>span{font-size:11px;color:var(--muted-foreground)}.question-detail-dialog .detail-note{font-size:14px;line-height:1.9;color:var(--foreground)}.question-detail-dialog .is-empty .detail-note{color:var(--muted-foreground)}.question-detail-sidebar{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px;border-left:1px solid var(--border);background:var(--card)}.detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.detail-section-heading h3{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}.detail-paused,.detail-section-heading small{font-size:11px;color:var(--muted-foreground)}.detail-paused{border:1px solid var(--border);border-radius:5px;padding:2px 6px}.detail-label{display:block;font-size:11px;color:var(--muted-foreground);margin-bottom:8px}.detail-review-status>.outcome-badge{display:inline-flex;font-size:14px;padding:5px 9px}.detail-unreviewed{display:block;font-size:15px;font-weight:600}.detail-status-date{display:block;font-size:11px;color:var(--muted-foreground);margin-top:9px}.detail-schedule{display:grid;gap:14px;padding:16px 0;margin-top:18px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.detail-schedule>div{display:flex;flex-direction:column;gap:6px}.detail-schedule span{display:flex;align-items:center;gap:5px;color:var(--muted-foreground);font-size:11px}.detail-schedule b{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.detail-facts{display:grid;gap:9px;margin:16px 0 22px}.detail-facts>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.detail-facts dt{display:flex;align-items:center;gap:5px;color:var(--muted-foreground)}.detail-facts dd{text-align:right;color:var(--foreground)}.detail-history{border:1px solid var(--border);border-radius:10px;padding:13px}.detail-history .detail-section-heading{margin-bottom:9px}.detail-history-list{max-height:166px;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 2px 0;scrollbar-width:thin}.detail-history-list.is-expanded{max-height:300px}.detail-history-item{display:flex;align-items:flex-start;gap:9px;padding:9px 0}.detail-history-item>div{min-width:0;flex:1}.detail-history-dot{flex:none;width:6px;height:6px;margin-top:6px;border-radius:50%;background:var(--muted-foreground)}.detail-history-dot.outcome-again{background:var(--status-red)}.detail-history-dot.outcome-hard{background:var(--status-amber)}.detail-history-dot.outcome-easy,.detail-history-dot.outcome-good{background:var(--status-green)}.detail-history-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.detail-history-item b{font-size:12px;font-weight:600}.detail-history-title .text-link{min-height:26px;font-size:10px}.detail-history-date,.detail-history-item small{display:block;font-size:10px;color:var(--muted-foreground);line-height:1.6;margin-top:3px;overflow-wrap:anywhere}.detail-history-item details{margin-top:6px}.detail-history-item summary{width:fit-content;color:var(--muted-foreground);font-size:11px;cursor:pointer;padding:3px 0}.detail-history-item details p{margin:7px 0;color:var(--foreground);font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.detail-history-expand{min-height:32px;margin-top:6px;font-size:11px}.question-detail-actions{display:flex;flex:none;align-items:center;gap:9px;padding:14px 24px;border-top:1px solid var(--border);background:var(--card)}.question-detail-actions>button{min-height:42px;font-size:13px;box-shadow:none}.question-detail-actions .secondary-action{border-color:var(--border);background:var(--card);color:var(--foreground)}.question-detail-actions .secondary-action:hover{border-color:var(--ring);background:var(--accent)}.question-detail-actions .detail-more{margin-left:auto}.question-detail-dialog [tabindex="0"]:focus-visible,.question-detail-dialog a:focus-visible,.question-detail-dialog button:focus-visible,.question-detail-dialog summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px;box-shadow:none}@media(max-width:760px){.dark .question-detail-dialog.app-dialog[data-slot=dialog-content],.question-detail-dialog.app-dialog[data-slot=dialog-content]{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:12px}.question-detail-header{padding:15px 16px;gap:12px}.question-detail-title{gap:8px}.question-detail-title [data-slot=dialog-title]{font-size:22px}.question-detail-title>span:first-child{font-size:11px}.question-detail-header .redo-icon-button{width:44px;height:44px;flex:none}.question-detail-body{display:block;overflow-y:auto;overscroll-behavior:contain}.question-detail-main{overflow:visible}.detail-prompt .redo-paper-toolbar{padding:10px 16px}.detail-prompt .redo-paper-scroll{padding:4px 12px 12px;max-height:340px}.detail-prompt .redo-paper{min-height:140px;padding:22px 12px}.detail-prompt .redo-source{flex-wrap:wrap;gap:4px;padding:0 16px 14px}.detail-prompt .redo-source a{min-height:32px}.detail-prompt .redo-zoom button{height:36px;min-width:36px}.question-detail-main>.detail-current-note{margin:0 12px 16px;padding:16px}.detail-note-heading h3{font-size:13px}.detail-note-heading>span{font-size:10px}.question-detail-sidebar{overflow:visible;border-left:0;border-top:1px solid var(--border);padding:18px 16px}.detail-schedule{grid-template-columns:1fr 1fr;gap:12px}.detail-facts{margin-bottom:18px}.detail-history-list{max-height:150px}.detail-history-list.is-expanded{max-height:260px}.detail-history-expand,.detail-history-item summary,.detail-history-title .text-link{min-height:36px}.question-detail-actions{padding:12px;gap:7px}.question-detail-actions>button{min-height:44px;padding:10px 12px;font-size:12px}.question-detail-actions .primary{flex:1}.question-detail-actions .detail-more{width:44px;padding:0}.detail-more>span{display:none}}.question-detail-actions .priority-toggle[aria-pressed=true]{color:var(--primary);border-color:var(--primary);background:var(--secondary)}@media(max-width:760px){.question-detail-actions{display:grid;grid-template-columns:1fr 1fr 44px}.question-detail-actions .primary{grid-column:1/-1}.question-detail-actions .priority-toggle{justify-content:center;white-space:nowrap}.question-detail-actions .detail-exclusion{grid-column:1/-1;grid-row:3;justify-content:center}.question-detail-actions .detail-more{grid-column:3;grid-row:2}}.practice-page{max-width:1200px;margin:auto}.practice-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.practice-heading h1{margin:0 0 8px;font-size:30px;font-weight:650;letter-spacing:-.03em}.practice-heading p,.practice-section-title p{color:var(--muted-foreground);font-size:13px;line-height:1.8}.practice-book{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid var(--border);border-radius:10px;color:var(--muted-foreground)}.practice-book div{display:grid;gap:4px}.practice-book b{color:var(--foreground);font-size:13px}.practice-book span{font-size:12px}.practice-recent,.practice-setup{padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--card);margin-top:20px}.practice-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.practice-section-title h2{font-size:17px;font-weight:600}.practice-section-title>span{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px}.practice-section-title>span,.practice-section-title>svg{color:var(--muted-foreground)}.practice-book-controls{display:flex;align-items:end;gap:16px;margin-bottom:18px}.practice-book-controls>div{flex:1;min-width:0;max-width:360px}.practice-book-controls .quick-field-label{display:block;margin-bottom:8px;font-size:13px}.practice-book-controls .app-select-trigger{width:100%}.practice-controls{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1.2fr) 145px 170px;gap:16px;align-items:end}.practice-controls .app-number-field,.practice-controls .app-select-field{width:100%}.practice-cause,.practice-chapter-field{display:grid;gap:8px}.practice-cause>span,.practice-chapter-field>span{font-size:13px;font-weight:500;color:var(--foreground)}.practice-chapter-field .app-select-trigger{width:100%}.practice-start{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:600}.practice-start span{font-size:13px;margin-left:4px;font-weight:400}.practice-help{margin:12px 0 16px;line-height:1.8}.practice-help,.practice-rules{font-size:13px;color:var(--muted-foreground)}.practice-rules{margin:0 0 20px}.practice-rules summary{width:fit-content;min-height:32px;padding:5px 0;cursor:pointer}.practice-rules p{max-width:760px;margin:4px 0 0;font-size:13px;line-height:1.8}.practice-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.practice-chapter{min-width:0;display:block;padding:18px;background:var(--background);border:1px solid var(--border);border-radius:9px;text-align:left;color:var(--foreground);transition:background .15s,border-color .15s}.practice-chapter:hover{background:var(--accent)}.practice-chapter.is-selected{border-color:var(--primary);background:var(--secondary)}.practice-chapter-title{display:flex;align-items:center;gap:9px}.practice-chapter-title>span{font-size:12px;color:var(--muted-foreground);font-variant-numeric:tabular-nums}.practice-chapter h3{font-size:13px;font-weight:600}.practice-chapter-title svg{flex:none;color:var(--muted-foreground);margin-left:auto}.practice-chapter.is-selected svg{color:var(--primary)}.practice-chapter-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin:12px 0}.practice-chapter strong{font-size:26px;font-weight:500;letter-spacing:-.03em}.practice-chapter p,.practice-chapter-count span{font-size:12px;color:var(--muted-foreground)}.practice-chapter p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-top:11px;line-height:1.7}.practice-progress{overflow:hidden;height:4px;border-radius:4px;background:var(--secondary)}.practice-progress>span{display:block;height:100%;background:var(--primary);border-radius:inherit;transition:width .2s}.practice-progress-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;padding:18px 0;margin-top:8px;border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:13px}.practice-progress-summary>div:not(.practice-progress){display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.practice-progress-summary>div:nth-child(2){justify-content:flex-end}.practice-progress-summary b{color:var(--foreground);font-weight:600}.practice-progress-summary .text-link{display:inline-flex;align-items:center;gap:5px;min-height:32px;font-size:13px}.practice-progress-summary>.practice-progress,.practice-progress-summary>p{grid-column:1/-1}.practice-progress-summary>p{line-height:1.8}.practice-management{margin-top:16px;border:1px solid var(--border);border-radius:10px;background:var(--card)}.practice-management>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 18px;cursor:pointer;color:var(--foreground);font-size:13px;font-weight:600;list-style:none}.practice-management>summary::-webkit-details-marker{display:none}.practice-management>summary svg{color:var(--muted-foreground);transition:transform .18s}.practice-management[open]>summary svg{transform:rotate(180deg)}.practice-management>div{padding:0 18px 6px}.practice-history{display:flex;align-items:center;gap:13px;padding:16px 0;border-top:1px solid var(--border)}.practice-history>svg{flex:none;color:var(--muted-foreground)}.practice-history>div{flex:1;min-width:0}.practice-history b{font-size:13px;font-weight:600}.practice-history p{color:var(--muted-foreground);font-size:13px;line-height:1.8;margin-top:4px}.practice-history button{min-height:42px;padding:8px 14px;font-size:13px;white-space:nowrap}.practice-boundary-field{display:grid;gap:9px;margin-top:15px}.practice-boundary-field>span{font-size:13px}.practice-progress-dialog .primary{min-height:44px;border-radius:8px}.practice-progress-dialog [data-slot=dialog-description]{font-size:13px;line-height:1.8}.practice-progress-dialog .app-select-trigger{width:100%}.practice-finished{display:flex;align-items:center;gap:14px;padding:18px 22px;border:1px solid var(--border);background:var(--card);border-radius:10px}.practice-finished>svg{color:var(--status-green);flex:none}.practice-finished b{font-size:14px}.practice-finished p{font-size:13px;color:var(--muted-foreground);line-height:1.8;margin-top:3px}.practice-finished>button{gap:6px;margin-left:auto;min-height:42px;white-space:nowrap;padding:8px 12px}.practice-empty,.practice-finished>button{display:flex;align-items:center;font-size:13px}.practice-empty{justify-content:center;gap:10px;padding:25px;color:var(--muted-foreground)}.practice-recent-list>div{display:flex;align-items:center;gap:18px;padding:15px 0;border-top:1px solid var(--border)}.practice-recent-list>div>div{display:flex;align-items:baseline;gap:10px;flex:1;min-width:0}.practice-recent-list b{font-size:13px}.practice-recent-list small,.practice-recent-list span{font-size:13px;color:var(--muted-foreground)}.practice-recent-list small{white-space:nowrap}.practice-recent-list .outcome-good{color:var(--status-green)}.practice-recent-list .outcome-hard{color:var(--status-amber)}.practice-recent-list .outcome-again{color:var(--status-red)}.practice-skip{min-height:36px;color:var(--muted-foreground);background:transparent;border:0;padding:5px 8px;font-size:13px}.practice-skip:hover{color:var(--foreground)}.practice-cause{margin:18px 0}.practice-result-grid .result-good{grid-column:1/-1}.practice-result-grid.result-good{min-height:65px}.is-practice .redo-result-grid .result-button{min-height:62px;padding:10px}.is-practice .redo-result-grid .result-good{min-height:52px}.is-practice .practice-cause{margin:16px 0;gap:6px}.is-practice .redo-results{padding-top:14px}.practice-management>summary:focus-visible,.practice-rules summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}@media(max-width:1100px){.practice-chapters,.practice-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.practice-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.practice-heading h1{font-size:26px}.practice-book{display:none}.practice-recent,.practice-setup{padding:16px}.practice-setup{margin-top:0}.practice-section-title{margin-bottom:14px}.practice-section-title>span{display:none}.practice-section-title h2{font-size:16px}.practice-book-controls{gap:12px;margin-bottom:14px;flex-wrap:wrap}.practice-book-controls>div{flex:1 1 100%;max-width:none}.practice-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.practice-controls .app-number-field{min-width:0}.practice-start{padding:10px 8px;gap:5px}.practice-start span{margin-left:0}.practice-help{margin:10px 0 8px}.practice-rules{margin-bottom:14px}.practice-rules summary{min-height:44px;padding:10px 0}.practice-chapters{gap:10px}.practice-chapter{padding:13px}.practice-chapter-title{gap:5px}.practice-chapter-title>span{display:none}.practice-chapter-count{gap:4px}.practice-chapter-count span{font-size:12px}.practice-progress-summary{grid-template-columns:1fr;gap:8px;padding:14px 0}.practice-progress-summary>div:nth-child(2){justify-content:space-between}.practice-progress-summary .text-link{min-height:44px;margin-left:auto}.practice-management>summary{min-height:48px;padding:12px 14px}.practice-management>div{padding:0 14px 6px}.practice-history{flex-wrap:wrap}.practice-history>div{flex-basis:calc(100% - 40px)}.practice-history button{margin-left:31px;min-height:44px}.practice-finished{padding:16px;flex-wrap:wrap}.practice-finished>div{flex:1}.practice-finished>button{margin-left:36px}.practice-recent-list>div{flex-wrap:wrap;gap:6px 10px}.practice-recent-list>div>div{flex-basis:100%}.practice-empty{padding:16px 0}.practice-skip{min-height:44px;padding:5px}.practice-cause{margin:18px 0}.is-practice .redo-result-grid .result-button{min-height:68px}.is-practice .redo-result-grid .result-good{min-height:60px}}@media(prefers-reduced-motion:reduce){.practice-chapter,.practice-management>summary svg,.practice-progress>span{transition:none}}.dark .question-exclusions-dialog.app-dialog[data-slot=dialog-content],.question-exclusions-dialog.app-dialog[data-slot=dialog-content]{width:min(760px,calc(100vw - 24px));max-width:760px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;gap:14px;overflow:hidden;padding:26px;background:var(--card);color:var(--foreground);border-color:var(--border)}.exclusions-body{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.exclusions-body>*{flex-shrink:0}.exclusions-heading{flex-shrink:0;padding-right:20px}.exclusions-heading [data-slot=dialog-description]{margin-top:8px;line-height:1.7}.exclusions-filters{display:grid;grid-template-columns:1.1fr 1.2fr .85fr;gap:8px}.exclusions-filters>*{min-width:0}.exclusions-search{flex:none;width:100%;min-height:42px}.exclusions-search input{min-width:0;width:100%}.exclusions-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}.exclusions-search input:focus{outline:none;box-shadow:none}.question-exclusions-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.exclusions-list-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted-foreground)}.exclusions-list-tools>div{display:flex;gap:16px}.exclusions-list{min-height:120px;max-height:40dvh;overflow-y:auto;border:1px solid var(--border);border-radius:10px;flex-shrink:0}.exclusion-item{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;text-align:left;background:var(--card);color:var(--foreground);border-bottom:1px solid var(--border)}.exclusion-item:last-child{border-bottom:0}.exclusion-item:hover{background:var(--muted)}.exclusion-item:disabled{opacity:.6;cursor:default}.exclusion-checkbox{width:18px;height:18px;flex-shrink:0;border:1px solid var(--muted-foreground);border-radius:4px;display:grid;place-items:center}.is-excluded .exclusion-checkbox{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.exclusion-identity{min-width:0;flex:1}.exclusion-identity b{display:block;font-size:14px;overflow-wrap:anywhere}.exclusion-identity small{display:block;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.exclusion-identity small,.exclusion-state{font-size:11px;color:var(--muted-foreground)}.exclusion-state{flex-shrink:0}.exclusions-empty{padding:35px 18px;text-align:center;font-size:13px;color:var(--muted-foreground)}.exclusions-actions{flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.exclusions-actions>span{margin-right:auto;color:var(--muted-foreground);font-size:11px}.exclusions-actions button{min-height:42px;white-space:nowrap}.practice-exclusions{margin-top:12px}.practice-exclusions .secondary-action{white-space:nowrap}.exclusions-library-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:640px){.dark .question-exclusions-dialog.app-dialog[data-slot=dialog-content],.question-exclusions-dialog.app-dialog[data-slot=dialog-content]{padding:22px 16px 16px;gap:12px}.exclusions-body{gap:12px}.exclusions-heading [data-slot=dialog-description]{font-size:12px}.exclusions-filters{grid-template-columns:1fr 1fr}.exclusions-filters>:last-child{grid-column:1/-1}.exclusions-search{min-height:44px}.exclusions-list{max-height:33dvh}.exclusions-list-tools{align-items:flex-start;flex-wrap:wrap}.exclusions-list-tools button{min-height:32px}.exclusion-item{padding:11px 10px;gap:9px}.exclusions-actions{flex-wrap:wrap}.exclusions-actions>span{width:100%}.exclusions-actions button{min-height:44px}.practice-exclusions{flex-wrap:wrap}.practice-exclusions>div{min-width:calc(100% - 40px)}.practice-exclusions .secondary-action{margin-left:auto}}.statistics-page{--stats-red:#d65d50;--stats-amber:#c58a2b;--stats-green:#279d7f;--stats-mastered:#17664f;--stats-blue:#617fa7;--stats-neutral:#adb4bf;min-width:0}.dark .statistics-page{--stats-red:#ed7868;--stats-amber:#e6b15c;--stats-green:#42bea0;--stats-mastered:#25876c;--stats-blue:#8da6ca;--stats-neutral:#647080}.statistics-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.statistics-heading h1{font-size:30px;line-height:1.4;font-weight:650;margin:0 0 8px}.statistics-heading p{color:var(--muted-foreground);font-size:14px}.statistics-heading .secondary-button{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}.statistics-page .secondary-button{min-height:42px;border:1px solid var(--border);border-radius:8px;padding:9px 13px;background:var(--card);font-size:13px}.statistics-page .secondary-button:hover{background:var(--secondary)}.statistics-filters{display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:22px;padding:18px 20px;border:1px solid var(--border);border-radius:12px;background:var(--card)}.statistics-period,.statistics-scope{display:flex;align-items:flex-end;gap:12px;min-width:0}.statistics-filter-field{display:grid;gap:8px;min-width:0}.statistics-filter-field>span{color:var(--muted-foreground);font-size:12px;font-weight:500}.statistics-date-range{gap:7px;font-size:12px;font-variant-numeric:tabular-nums}.statistics-date-range,.statistics-reset{display:inline-flex;align-items:center;min-height:42px;color:var(--muted-foreground);white-space:nowrap}.statistics-reset{justify-content:center;gap:6px;padding:8px 10px;border-radius:8px;font-size:12px}.statistics-reset:hover{color:var(--foreground);background:var(--secondary)}.statistics-period .app-select-trigger{width:145px}.statistics-scope .app-select-trigger{width:185px}.statistics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.statistics-metrics article{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:20px}.statistics-metrics article>div{display:flex;align-items:center;color:var(--muted-foreground);font-size:13px;gap:10px}.statistics-metric-icon,.statistics-section-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border:1px solid var(--border);border-radius:10px;background:var(--secondary);color:var(--foreground)}.statistics-metric-icon.tone-blue{color:var(--stats-blue);border-color:color-mix(in srgb,var(--stats-blue) 20%,var(--border));background:color-mix(in srgb,var(--stats-blue) 7%,var(--card))}.statistics-metric-icon.tone-green{color:var(--stats-green);border-color:color-mix(in srgb,var(--stats-green) 20%,var(--border));background:color-mix(in srgb,var(--stats-green) 7%,var(--card))}.statistics-section-icon{color:var(--muted-foreground)}.statistics-metrics article>strong{display:block;font-size:32px;line-height:1.3;letter-spacing:-.025em;font-weight:650;font-variant-numeric:tabular-nums;margin:16px 0 8px}.statistics-metrics small,.statistics-progress-summary small{font-size:12px;margin-left:7px;color:var(--muted-foreground);font-weight:400}.statistics-metrics article p{font-size:12px;color:var(--muted-foreground);line-height:1.6}.statistics-tabs>[data-slot=tabs-list]{height:52px;padding:4px;gap:4px;margin-bottom:20px;background:var(--secondary);border:1px solid var(--border);border-radius:10px}.statistics-tabs>[data-slot=tabs-list] [data-slot=tabs-trigger]{padding:0 20px;height:42px;gap:8px;font-size:13px;border-radius:7px}.statistics-tabs>[data-slot=tabs-list] [data-state=active][data-slot=tabs-trigger]{border-color:var(--border);background:var(--card);color:var(--foreground);box-shadow:0 1px 3px #0000000b}.statistics-tabs>[data-slot=tabs-list] [data-state=active] svg{color:var(--primary)}.statistics-page [data-slot=tabs-trigger]:hover:not([data-state=active]){color:var(--foreground);background:color-mix(in srgb,var(--card) 50%,transparent)}.statistics-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:24px;min-width:0}.statistics-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:23px}.statistics-card h2,.statistics-tip h2{font-size:16px;font-weight:600;line-height:1.5}.statistics-card-heading p{font-size:12px;line-height:1.8;color:var(--muted-foreground);margin-top:6px}.statistics-card-heading>svg{color:var(--muted-foreground);flex-shrink:0}.statistics-card-heading .app-select-trigger{width:110px;flex-shrink:0}.statistics-neutral-label{padding:5px 10px;border-radius:6px;border:1px solid var(--border);color:var(--muted-foreground);font-size:11px;white-space:nowrap}.statistics-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.statistics-chart-toolbar>.app-select-trigger{width:110px;flex-shrink:0}.statistics-chart-mode{align-items:flex-start;min-width:0}.statistics-chart-mode [data-slot=tabs-list]{background:var(--secondary);border:1px solid var(--border);border-radius:8px;padding:3px;gap:3px;height:50px}.statistics-chart-mode [data-slot=tabs-trigger]{height:42px;font-size:12px;padding:0 12px;gap:6px;color:var(--muted-foreground);border:1px solid transparent;border-radius:5px}.statistics-chart-mode [data-slot=tabs-trigger][data-state=active]{background:var(--card);color:var(--foreground);border-color:var(--border);box-shadow:0 1px 2px #00000008}.statistics-page [data-slot=tabs-trigger]:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;box-shadow:none;border-color:transparent}.statistics-chart[data-slot=chart]{height:285px;width:100%;aspect-ratio:auto;display:block}.statistics-tooltip{min-width:176px;padding:12px 14px;border-radius:10px;border-color:var(--border);background:var(--card);color:var(--foreground);box-shadow:0 8px 28px rgb(0 0 0/.12)}.statistics-page .recharts-surface:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:5px}.statistics-chart-scroll,.statistics-table-scroll{overflow-x:auto;overscroll-behavior-x:contain}.statistics-scroll-hint{display:none}.statistics-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted-foreground);padding:16px 0 0}.statistics-legend li{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:7px;background:color-mix(in srgb,var(--background) 45%,var(--card))}.statistics-legend strong{color:var(--foreground);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;margin-left:5px}.statistics-legend i,.statistics-progress-summary i{width:9px;height:9px;border-radius:50%;flex-shrink:0}.statistics-data{border-top:1px solid var(--border);margin-top:21px;padding-top:13px}.statistics-data summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:12px;color:var(--muted-foreground);width:fit-content;min-height:42px;padding:8px 10px;margin-left:-10px;border-radius:6px}.statistics-data summary::-webkit-details-marker{display:none}.statistics-data summary:hover{background:var(--secondary);color:var(--foreground)}.statistics-data summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.statistics-data[open] summary>svg:last-child{transform:rotate(180deg)}.statistics-data table{width:100%;margin-top:16px;border-collapse:collapse;font-size:12px;text-align:right;white-space:nowrap}.statistics-data td,.statistics-data th{padding:10px 12px;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums}.statistics-data th:first-child{text-align:left}.statistics-data th{font-weight:500;color:var(--muted-foreground)}.statistics-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px;align-items:start}.statistics-chapters{display:grid;gap:3px}.statistics-chapters button{text-align:left;padding:13px 0;border-bottom:1px solid var(--border);border-radius:3px}.statistics-chapters button:last-child{border-bottom:0}.statistics-chapters button:hover strong,.statistics-verified button:hover strong{color:var(--primary)}.statistics-chapters button>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:10px}.statistics-chapters strong{font-size:13px;font-weight:500}.statistics-chapters span{color:var(--muted-foreground)}.statistics-bar{height:5px;background:var(--secondary);border-radius:3px;overflow:hidden}.statistics-bar>span{height:100%;display:block;background:var(--stats-mastered);border-radius:inherit}.statistics-chapter-rate{display:flex;align-items:center;justify-content:space-between;color:var(--muted-foreground);font-size:11px;margin-top:7px}.statistics-forecast{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.statistics-forecast>div{background:var(--secondary);border:1px solid var(--border);border-radius:8px;padding:12px;display:grid;gap:9px;color:var(--muted-foreground);font-size:11px}.statistics-forecast b{font-size:21px;font-weight:500;color:var(--foreground);font-variant-numeric:tabular-nums}.statistics-forecast small,.statistics-persistence small{font-size:11px;color:var(--muted-foreground);font-weight:400;margin-left:5px}.statistics-caption,.statistics-method{color:var(--muted-foreground);font-size:11px;line-height:1.9;margin-top:19px}.statistics-method{margin:23px 2px 0}.statistics-inline-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;margin-top:20px;font-weight:500}.statistics-inline-link:hover{color:var(--primary)}.statistics-empty{display:flex;min-height:200px;justify-content:center;align-items:center;flex-direction:column;gap:16px;padding:25px;color:var(--muted-foreground)}.statistics-empty p{max-width:460px;text-align:center;font-size:13px;line-height:1.9}.statistics-intervals{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:18px}.statistics-intervals article{padding:13px;background:var(--secondary);border-radius:8px}.statistics-intervals span{color:var(--muted-foreground);font-size:12px}.statistics-intervals strong{display:block;margin:10px 0 8px;font-size:23px;font-weight:600;font-variant-numeric:tabular-nums}.statistics-intervals small{color:var(--muted-foreground);font-size:11px;line-height:1.6}.statistics-tip{display:flex;gap:18px;align-items:center;padding:24px;border:1px solid var(--border);background:var(--secondary);border-radius:12px;margin-top:20px}.statistics-tip>svg{color:var(--stats-green);flex-shrink:0}.statistics-tip p{color:var(--muted-foreground);font-size:12px;line-height:1.9;margin-top:6px;max-width:660px}.statistics-tip button{margin-left:auto;flex-shrink:0;display:inline-flex;align-items:center;gap:5px}.statistics-progress-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.statistics-progress-summary article{padding:16px;display:flex;align-items:center;gap:7px;background:var(--secondary);border:1px solid var(--border);border-radius:8px}.statistics-progress-summary span{font-size:12px;color:var(--muted-foreground)}.statistics-progress-summary strong{margin-left:auto;white-space:nowrap;font-weight:600;font-size:19px}.statistics-persistence{display:grid;gap:20px}.statistics-persistence>div{display:grid;grid-template-columns:52px minmax(0,1fr) 50px;align-items:center;gap:15px;font-size:12px}.statistics-persistence b{text-align:right;font-variant-numeric:tabular-nums}.statistics-verified button{padding:14px 0;width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;text-align:left;border-bottom:1px solid var(--border)}.statistics-verified button:last-child{border-bottom:0}.statistics-verified strong{display:block;font-size:14px;margin-bottom:7px}.statistics-verified span{font-size:11px;color:var(--muted-foreground)}.statistics-verified b{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--stats-green);white-space:nowrap}@media (max-width:1100px){.statistics-metrics{gap:12px}.statistics-metrics article{padding:16px}.statistics-progress-summary{grid-template-columns:repeat(2,1fr)}.statistics-intervals{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.statistics-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.statistics-heading h1{font-size:25px}.statistics-heading .secondary-button{min-height:44px;font-size:12px;padding:9px 10px;margin-top:0}.statistics-heading .secondary-button>svg:first-child{display:none}.statistics-heading p{font-size:13px;line-height:1.8}.statistics-filters,.statistics-period,.statistics-scope{width:100%}.statistics-filters{gap:16px;padding:16px 14px}.statistics-period{justify-content:space-between;gap:8px}.statistics-date-range{font-size:11px;min-height:44px;gap:5px}.statistics-scope{display:grid;grid-template-columns:1fr 1fr;gap:10px}.statistics-scope .app-select-trigger{width:100%}.statistics-reset{min-height:44px;grid-column:1/-1;justify-self:end}.statistics-period .app-select-trigger{width:138px}.statistics-metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.statistics-metrics article{padding:14px}.statistics-metrics article>strong{font-size:28px;margin:12px 0 7px}.statistics-metrics article>div{font-size:12px;gap:8px}.statistics-metrics article p{font-size:11px}.statistics-metric-icon{width:30px;height:30px;border-radius:8px}.statistics-metric-icon>svg{width:16px;height:16px}.statistics-tabs>[data-slot=tabs-list]{width:100%;height:54px}.statistics-tabs>[data-slot=tabs-list] [data-slot=tabs-trigger]{flex:1;height:44px;padding:0 7px;gap:6px;font-size:12px}.statistics-card{padding:18px 14px}.statistics-card-heading{gap:10px;margin-bottom:17px}.statistics-card h2{font-size:14px}.statistics-card-heading p{font-size:11px}.statistics-card-heading .app-select-trigger{width:85px}.statistics-chart[data-slot=chart]{height:245px}.statistics-chart-wide[data-slot=chart]{min-width:620px}.statistics-interval-chart[data-slot=chart]{min-width:460px}.statistics-chart-toolbar{flex-wrap:wrap;gap:10px}.statistics-chart-mode{flex:1 1 100%}.statistics-chart-mode [data-slot=tabs-list]{width:100%;height:52px}.statistics-chart-mode [data-slot=tabs-trigger]{height:44px;padding:0 8px}.statistics-chart-toolbar>.app-select-trigger{width:110px;margin-left:auto}.statistics-data summary{min-height:44px}.statistics-scroll-hint{display:block;font-size:10px;color:var(--muted-foreground);text-align:right;margin:4px 0 0}.statistics-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;font-size:11px}.statistics-legend li{min-width:0;padding:7px 8px;gap:6px}.statistics-legend li:only-child{grid-column:1/-1}.statistics-legend strong{font-size:11px;margin-left:auto}.statistics-columns{grid-template-columns:1fr;gap:16px;margin-top:16px}.statistics-forecast{gap:7px}.statistics-forecast>div{padding:10px 8px}.statistics-intervals{gap:7px}.statistics-intervals article{padding:12px 10px}.statistics-intervals strong{font-size:21px}.statistics-intervals small{font-size:10px}.statistics-tip{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:18px 14px}.statistics-tip>div{flex:1 1 calc(100% - 40px);min-width:0}.statistics-tip button{margin-left:34px}.statistics-progress-summary{gap:8px}.statistics-progress-summary article{padding:12px 10px;flex-wrap:wrap;gap:5px}.statistics-progress-summary span{font-size:11px}.statistics-progress-summary strong{font-size:18px}}.knowledge-map-view{gap:10px}.mastery-command-bar{display:flex;flex:none;align-items:center;gap:8px;min-width:0;min-height:44px;white-space:nowrap}.mastery-command-bar h1{flex:none;margin-right:4px;color:var(--foreground);font-size:18px;font-weight:700}.mastery-mode-switch{display:flex;flex:none;gap:2px;height:42px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--secondary)}.mastery-mode-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 11px;border:1px solid transparent;border-radius:5px;color:var(--muted-foreground);font-size:14px;font-weight:550;cursor:pointer;transition:background-color .12s,color .12s,border-color .12s}.mastery-mode-switch button svg{flex:none}.mastery-mode-switch button:hover{background:color-mix(in srgb,var(--card) 65%,transparent);color:var(--foreground)}.mastery-mode-switch button[aria-pressed=true]{background:var(--card);color:var(--foreground);border-color:color-mix(in srgb,var(--primary) 40%,var(--border));box-shadow:0 1px 3px color-mix(in srgb,var(--foreground) 8%,transparent);font-weight:650}.mastery-mode-switch button[aria-pressed=true] svg{color:var(--primary)}.mastery-command-book{flex:0 1 176px;min-width:148px}.mastery-command-search{display:flex;flex:1;align-items:center;gap:8px;min-width:110px;max-width:280px;height:42px;padding:0 11px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--muted-foreground);transition:border-color .12s}.dark .mastery-command-search input:focus,.mastery-command-search input,.mastery-command-search input:focus,.mastery-command-search input:focus-visible{flex:1;width:100%;min-width:0;height:100%;padding:0;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;color:var(--foreground);font-size:13px}.mastery-command-search svg{flex:none}.mastery-command-search:hover{border-color:var(--muted-foreground)}.mastery-command-search:has(>input:focus){border-color:var(--primary);outline:none;box-shadow:0 0 0 1px var(--primary)}.mastery-command-search>button{display:flex;flex:none;align-items:center;justify-content:center;width:26px;height:28px;border-radius:4px;color:var(--muted-foreground)}.mastery-command-search>button:hover{color:var(--foreground);background:var(--secondary)}.mastery-command-search>button:focus-visible{outline:2px solid var(--primary);outline-offset:0}.mastery-command-summary{margin-left:auto;color:var(--muted-foreground);font-size:11px}.mastery-command-summary b{margin-left:3px;color:var(--foreground);font-size:14px;font-weight:650}.mastery-command-icon{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;gap:7px;min-width:42px;height:42px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);font-size:12px;cursor:pointer}.mastery-command-icon:hover{background:var(--accent);border-color:var(--ring)}.mastery-command-icon.is-filtered{border-color:var(--primary)}.mastery-command-icon i{width:5px;height:5px;border-radius:50%;background:var(--primary)}.mastery-command-icon:focus-visible,.mastery-filter-heading h2:focus-visible,.mastery-knowledge-question:focus-visible,.mastery-mode-switch button:focus-visible,.mastery-source-preview h2:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.mastery-knowledge-scroll{flex:1;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;padding:1px 2px 6px}.mastery-knowledge-scroll:focus-visible{outline:1px solid color-mix(in srgb,var(--primary) 55%,var(--border));outline-offset:-1px;border-radius:11px}.mastery-knowledge-chapter{margin-bottom:14px;border:1px solid var(--border);border-radius:11px;overflow:hidden;background:var(--card)}.mastery-knowledge-chapter>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 14px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--secondary) 55%,var(--card))}.mastery-knowledge-chapter>header>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.mastery-knowledge-chapter h2{font-size:14px;font-weight:650}.mastery-knowledge-chapter header svg{color:var(--muted-foreground);flex:none}.mastery-knowledge-chapter header small,.mastery-knowledge-chapter header span{color:var(--muted-foreground);font-size:11px}.mastery-knowledge-chapter header small{flex:none}.mastery-knowledge-topic{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;padding:14px}.mastery-knowledge-topic+.mastery-knowledge-topic{border-top:1px solid var(--border)}.mastery-topic-label{min-width:0;align-self:start;padding:3px 0}.mastery-topic-label h3{color:var(--foreground);font-size:12px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.mastery-topic-progress{display:flex;align-items:center;gap:9px;margin-top:7px}.mastery-topic-progress>span{display:flex;width:76px;height:4px;overflow:hidden;border-radius:4px;background:var(--border)}.mastery-topic-progress i{display:block;height:100%;background:var(--status-green)}.mastery-topic-progress small{color:var(--muted-foreground);font-size:10px}.mastery-topic-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.mastery-topic-actions button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:4px 6px;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--foreground);font-size:10px;cursor:pointer}.mastery-topic-actions button span{color:var(--muted-foreground);font-variant-numeric:tabular-nums}.mastery-topic-actions button:hover{background:var(--accent);border-color:var(--ring)}.mastery-topic-actions button:disabled{opacity:.4;cursor:not-allowed}.mastery-batch-dialog h2:focus-visible,.mastery-batch-modes button:focus-visible,.mastery-topic-actions button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.mastery-preview-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.mastery-preview-actions>span{color:var(--muted-foreground);font-size:12px}.app-dialog.mastery-batch-dialog{display:flex;flex-direction:column;gap:0;width:min(580px,calc(100vw - 24px));max-width:none;max-height:90dvh;padding:0;overflow:hidden}.mastery-batch-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid var(--border)}.mastery-batch-dialog h2{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.mastery-batch-dialog header p{margin-top:5px;font-size:12px;color:var(--muted-foreground)}.mastery-batch-body{display:grid;gap:16px;padding:20px 22px;min-height:0;overflow:auto}.mastery-batch-body>p{margin:0;font-size:12px;line-height:1.8;color:var(--muted-foreground)}.mastery-batch-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mastery-batch-modes button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--muted-foreground);font-size:13px;cursor:pointer}.mastery-batch-modes button:hover{background:var(--accent)}.mastery-batch-modes button[aria-pressed=true]{border-color:var(--primary);background:var(--accent);color:var(--foreground)}.mastery-batch-modes span{font-size:11px;font-variant-numeric:tabular-nums}.mastery-batch-list{display:flex;flex-wrap:wrap;gap:7px;max-height:180px;overflow:auto}.mastery-batch-list:empty{display:none}.mastery-batch-list span{padding:5px 8px;border:1px solid var(--border);border-radius:6px;color:var(--foreground);background:var(--secondary);font-size:12px}.mastery-batch-dialog>footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 22px;border-top:1px solid var(--border)}.mastery-batch-dialog>footer>span{font-size:11px;color:var(--muted-foreground)}.mastery-topic-questions{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:7px;align-content:start;min-width:0}.mastery-knowledge-question{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:7px 8px;border:1px solid transparent;border-radius:7px;background:color-mix(in srgb,var(--secondary) 65%,var(--card));color:var(--muted-foreground);text-align:center;font-size:11px;font-weight:550;line-height:1.3;overflow-wrap:anywhere;cursor:pointer;transition:background-color .12s,border-color .12s}.mastery-card-ref{max-width:100%}.mastery-knowledge-question:hover{border-color:color-mix(in srgb,currentColor 45%,var(--border));background:var(--accent)}.mastery-knowledge-question.status-unconfirmed{background:color-mix(in srgb,var(--foreground) 7%,var(--card));color:var(--foreground);border-style:dashed}.mastery-knowledge-question.status-again{background:var(--status-red-bg);border-color:var(--status-red-border);color:var(--status-red)}.mastery-knowledge-question.status-hard{background:var(--status-amber-bg);border-color:var(--status-amber-border);color:var(--status-amber)}.mastery-knowledge-question.status-good{background:var(--status-green-bg);border-color:var(--status-green-border);color:var(--status-green)}.mastery-knowledge-question.status-mastered{background:var(--status-green);border-color:var(--status-green);color:var(--card);font-weight:700}.mastery-knowledge-question>i{position:absolute;top:4px;right:4px;width:4px;height:4px;border-radius:50%;background:currentColor}.mastery-knowledge-question.level-unconfirmed,.mastery-swatch.level-unconfirmed{background:color-mix(in srgb,var(--foreground) 7%,var(--card));color:var(--foreground)}.mastery-knowledge-question.level-again,.mastery-swatch.level-again{background:var(--status-red-bg);color:var(--status-red)}.mastery-knowledge-question.level-hard,.mastery-swatch.level-hard{background:var(--status-amber-bg);color:var(--status-amber)}.mastery-knowledge-question.level-learning,.mastery-swatch.level-learning{background:color-mix(in srgb,var(--status-green) 5%,var(--card));color:var(--foreground)}.mastery-knowledge-question.level-consolidating,.mastery-swatch.level-consolidating{background:color-mix(in srgb,var(--status-green) 10%,var(--card));color:var(--foreground)}.mastery-knowledge-question.level-consolidated,.mastery-swatch.level-consolidated{background:var(--status-green-bg);color:var(--status-green);font-weight:650}.mastery-knowledge-question.level-again:hover{border-color:var(--status-red-border);background:var(--status-red-bg)}.mastery-knowledge-question.level-hard:hover{border-color:var(--status-amber-border);background:var(--status-amber-bg)}.mastery-knowledge-question.level-consolidated:hover,.mastery-knowledge-question.level-consolidating:hover,.mastery-knowledge-question.level-learning:hover{border-color:var(--status-green-border)}.mastery-topic-progress i.level-learning{opacity:.35}.mastery-topic-progress i.level-consolidating{opacity:.65}.mastery-card-progress{display:flex;justify-content:center;align-items:center;color:var(--status-green)}.mastery-card-progress .mastery-evidence-steps{gap:2px}.mastery-card-progress .mastery-evidence-steps i{width:12px;height:2px;border:0;border-radius:2px;background:color-mix(in srgb,var(--muted-foreground) 22%,transparent)}.mastery-card-progress .mastery-evidence-steps i.is-complete{background:var(--status-green)}.mastery-knowledge-question.level-learning .mastery-card-progress{opacity:.65}.mastery-card-state{position:absolute;right:4px;bottom:4px;opacity:.75}.mastery-card-star{position:absolute;top:3px;right:3px;color:var(--status-amber);fill:currentColor}.mastery-evidence-steps{display:inline-flex;gap:3px}.mastery-evidence-steps i{width:8px;height:4px;border-radius:1px;background:color-mix(in srgb,currentColor 14%,transparent);border:1px solid color-mix(in srgb,currentColor 25%,transparent)}.mastery-evidence-steps i.is-complete{background:currentColor;border-color:currentColor}.mastery-evidence-summary{margin:14px 0 0;padding:11px 10px;border:1px solid var(--border);border-radius:8px;background:var(--background)}.mastery-evidence-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted-foreground);font-size:11px}.mastery-evidence-heading b{color:var(--foreground);font-size:12px}.mastery-evidence-summary.level-consolidated .mastery-evidence-heading b,.mastery-evidence-summary.level-consolidating .mastery-evidence-heading b,.mastery-evidence-summary.level-learning .mastery-evidence-heading b{color:var(--status-green)}.mastery-evidence-summary.level-again .mastery-evidence-heading b{color:var(--status-red)}.mastery-evidence-summary.level-hard .mastery-evidence-heading b{color:var(--status-amber)}.mastery-evidence-progress{display:flex;gap:8px;align-items:center;margin-top:9px;color:var(--status-green);font-size:11px}.mastery-evidence-progress .mastery-evidence-steps i{width:20px;height:5px}.mastery-evidence-counts,.mastery-evidence-explanation{margin:7px 0 0;color:var(--muted-foreground);font-size:10px;line-height:1.7}.mastery-revisit-label{display:inline-flex;align-items:center;gap:3px;margin-left:auto;color:var(--status-amber);font-size:10px}.mastery-evidence-revisit{color:var(--status-amber);font-size:10px;line-height:1.6;margin:6px 0 0}.mastery-evidence-summary.is-compact{margin:9px 0 12px;padding:8px}.mastery-evidence-summary.is-compact .mastery-evidence-progress{margin-top:6px}.redo-results .mastery-evidence-summary p{font-size:10px;margin:6px 0 0}@media (min-width:761px){.is-recap .redo-results:has(.mastery-evidence-summary){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:10px;padding:14px 18px}.is-recap .redo-results:has(.mastery-evidence-summary) .recap-outcome{grid-column:1/-1}.is-recap .redo-results:has(.mastery-evidence-summary) .mastery-evidence-summary{margin:0}.is-recap .redo-results:has(.mastery-evidence-summary) .session-controls{margin:0}.is-recap .redo-results:has(.mastery-evidence-summary) .session-controls button{padding:8px 5px;gap:4px;min-height:36px;font-size:11px}.is-recap .redo-results:has(.mastery-evidence-summary) .session-submit{margin-top:8px}.is-recap .redo-results:has(.mastery-evidence-summary) .mastery-evidence-progress{flex-wrap:wrap;gap:4px}}.mastery-filter-popover{width:min(390px,calc(100vw - 24px));max-height:min(680px,calc(100dvh - 80px),var(--radix-popover-content-available-height));overflow:auto;overscroll-behavior:contain;border-radius:10px;padding:15px;background:var(--popover);color:var(--popover-foreground)}.mastery-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mastery-filter-heading h2{font-size:14px;font-weight:650}.mastery-filter-mobile{display:none}.mastery-filter-field{display:grid;gap:7px;margin-bottom:13px;color:var(--muted-foreground);font-size:11px}.mastery-filter-field input{width:100%;height:44px;padding:0 11px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);font-size:14px}.dark .mastery-filter-field input:focus,.mastery-filter-field input:focus,.mastery-filter-field input:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.mastery-filter-date{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:15px}.mastery-filter-date .app-date-field{width:100%}.mastery-filter-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;padding-top:14px;border-top:1px solid var(--border)}.mastery-filter-legend>span{display:flex;align-items:center;gap:7px;color:var(--muted-foreground);font-size:11px}.mastery-filter-explanation{margin:13px 0;color:var(--muted-foreground);font-size:13px;line-height:1.8}.mastery-default-display{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;border-top:1px solid var(--border)}.mastery-default-display>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground);font-size:11px}.mastery-default-display>button{display:inline-flex;flex:none;align-items:center;gap:5px;min-height:34px;padding:6px 9px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:11px}.mastery-default-display>button:hover{background:var(--accent)}.mastery-default-display>button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.mastery-default-display>small{flex-basis:100%;color:var(--muted-foreground);font-size:13px;line-height:1.7}.mastery-filter-popover>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:11px}.app-dialog.mastery-source-preview{display:flex;flex-direction:column;gap:0;width:min(1100px,calc(100vw - 32px));max-width:none;max-height:90dvh;padding:0;overflow:hidden}.mastery-source-preview>header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:14px;padding:20px 24px;border-bottom:1px solid var(--border)}.mastery-source-preview>header h2{font-size:20px;line-height:1.4}.mastery-source-preview>header p{margin-top:5px;color:var(--muted-foreground);font-size:12px}.mastery-source-preview .redo-question{flex:1;min-height:0;max-height:60dvh;padding:18px 24px;overflow:auto}.mastery-source-preview>footer{flex:none;padding:12px 24px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:12px;line-height:1.6}.mastery-confirm-candidates{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}@media (max-width:1250px){.mastery-command-summary{display:none}.mastery-command-search{max-width:none}.mastery-command-bar h1{font-size:16px;margin-right:0}.mastery-command-book{flex-basis:156px}.mastery-knowledge-topic{grid-template-columns:175px minmax(0,1fr);gap:12px}}@media (max-width:1100px){.mastery-command-bar h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mastery-command-book,.mastery-command-search{display:none}.mastery-mode-switch{margin-right:auto}.mastery-filter-mobile{display:grid}}@media (max-width:767px){.page-content.mastery-page-content{height:calc(100dvh - 60px);min-height:0;overflow:hidden;padding:8px 8px 0}.knowledge-map-view{min-height:0;gap:8px}.mastery-command-bar{gap:6px;min-height:46px}.mastery-command-bar h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mastery-command-book,.mastery-command-search{display:none}.mastery-mode-switch{margin-right:auto;height:46px;padding:0;gap:0}.mastery-mode-switch button{min-height:44px;padding:0 7px;font-size:13px}.mastery-mode-switch button svg{display:none}.mastery-command-icon{width:44px;height:44px;padding:0}.mastery-command-icon>span{display:none}.mastery-command-icon i{position:absolute;top:7px;right:7px}.mastery-filter-mobile{display:grid}.mastery-knowledge-chapter{margin-bottom:10px}.mastery-knowledge-chapter>header{padding:10px;gap:8px}.mastery-knowledge-chapter header>div{gap:5px}.mastery-knowledge-chapter header span{flex-basis:100%;padding-left:22px;font-size:10px}.mastery-knowledge-chapter header small{font-size:10px}.mastery-knowledge-topic{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 10px}.mastery-topic-label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:0}.mastery-topic-actions{grid-column:1/-1;margin-top:3px}.mastery-topic-actions button{min-height:44px;padding:6px 10px;font-size:11px}.mastery-batch-body,.mastery-batch-dialog>footer,.mastery-batch-dialog>header{padding:16px}.mastery-batch-dialog>footer{align-items:stretch;flex-direction:column}.mastery-preview-actions .primary,.mastery-preview-actions .secondary-action{min-height:44px}.mastery-topic-label h3{font-size:12px}.mastery-topic-progress{flex:none;margin:0;gap:6px}.mastery-topic-progress>span{width:35px}.mastery-topic-questions{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}.mastery-knowledge-question{min-height:44px;font-size:11px}.mastery-default-display>button{min-height:44px}.knowledge-map-view .mastery-footnote{white-space:normal;margin:0 2px 7px;line-height:1.7}.knowledge-map-view .mastery-matrix-panel{min-height:0}.mastery-filter-popover{padding:12px}.app-dialog.mastery-source-preview{width:calc(100vw - 12px);max-height:94dvh}.mastery-source-preview>header{padding:14px}.mastery-source-preview>header h2{font-size:18px}.mastery-source-preview .redo-question{max-height:65dvh;padding:12px}.mastery-source-preview>footer{padding:12px 14px;font-size:11px}}.mastery-shortcuts{display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;min-width:0}.mastery-shortcuts>div{display:flex;gap:6px;min-width:0}.mastery-shortcuts button{min-height:42px;padding:8px 11px;border:1px solid transparent;border-radius:8px;color:var(--muted-foreground);font-size:13px;white-space:nowrap;transition:background-color .12s,color .12s,border-color .12s}.mastery-shortcuts button:hover{color:var(--foreground);background:var(--accent)}.mastery-shortcuts button[aria-pressed=true]{color:var(--foreground);background:var(--card);border-color:var(--border);font-weight:600}.mastery-shortcuts button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.mastery-shortcuts>span{flex:none;color:var(--muted-foreground);font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:767px){.mastery-shortcuts button{min-height:44px;padding:8px}.mastery-shortcuts>div{gap:2px}.mastery-shortcuts>span{font-size:12px}}@media(prefers-reduced-motion:reduce){.mastery-shortcuts button{transition:none}}