.checker-card{padding:28px}.checker-notice{margin-top:16px}.next-actions{margin-top:24px}.checker-top{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.checker-top label{margin:0}.checker-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}#input{min-height:280px}.status{color:var(--ink-soft);align-items:center;gap:8px;font-size:12px;display:inline-flex}.status .dot{background:var(--warn);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite pulse}.status[data-state=ready] .dot{background:var(--good);animation:none}.status[data-state=idle] .dot{background:var(--ink-faint);animation:none}.load{align-items:center;gap:12px;margin:6px 0 10px;display:flex}.load progress{appearance:none;background:var(--line-soft);border:0;border-radius:3px;flex:1;height:6px;overflow:hidden}.load progress::-webkit-progress-bar{background:var(--line-soft)}.load progress::-webkit-progress-value{background:var(--accent);transition:width .2s}.load progress::-moz-progress-bar{background:var(--accent)}.status[data-state=failed] .dot{background:var(--bad);animation:none}@keyframes pulse{50%{opacity:.3;transform:scale(.8)}}.results{animation:resultsIn .8s var(--ease);margin-top:28px}.results-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);margin-bottom:20px}@media (width<=820px){.results-grid{grid-template-columns:1fr}}.score-card{flex-direction:column;align-items:center;gap:22px;display:flex}.checker-stats{grid-template-columns:1fr 1fr;gap:14px 24px;width:100%;margin:0;display:grid}.checker-stats div{border-top:1px solid var(--line-soft);padding-top:10px}.checker-stats dt{color:var(--ink-soft);font-size:12px}.checker-stats dd{font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:22px;font-weight:600}.patterns{margin:16px 0;padding:0;list-style:none}.patterns li{border-bottom:1px solid var(--line-soft);opacity:0;animation:itemIn .5s var(--ease) forwards;align-items:baseline;gap:12px;padding:10px 0;display:flex;transform:translate(-10px)}@keyframes itemIn{to{opacity:1;transform:none}}.patterns .chip{border-radius:3px;flex:none;width:10px;height:10px;transform:translateY(1px)}.patterns .name{font-weight:600}.patterns .count{color:var(--ink-soft);font-variant-numeric:tabular-nums;margin-left:auto}.patterns .eg{color:var(--ink-soft);font-size:14px;font-weight:400;display:block}.patterns .empty-row{color:var(--good);font-weight:600}.view-card{padding:24px 28px}.view-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.legend{color:var(--ink-soft);flex-wrap:wrap;gap:6px 18px;margin:16px 0 4px;font-size:12px;display:flex}.legend i{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.view{white-space:pre-wrap;word-wrap:break-word;max-height:560px;margin-top:14px;padding:4px 2px;font-size:17px;line-height:1.7;overflow:auto}.hl-rule{background:var(--hl-rule);--line:var(--hl-rule-line)}.hl-tone{background:var(--hl-tone);--line:var(--hl-tone-line)}.hl-vocab{background:var(--hl-vocab);--line:var(--hl-vocab-line)}.hl-format{background:var(--hl-format);--line:var(--hl-format-line)}.hl-story{background:var(--hl-story);--line:var(--hl-story-line)}.legend .hl-rule{background:var(--hl-rule-line)}.legend .hl-tone{background:var(--hl-tone-line)}.legend .hl-vocab{background:var(--hl-vocab-line)}.legend .hl-format{background:var(--hl-format-line)}.legend .hl-story{background:var(--hl-story-line)}mark.hl.hl-quote{color:var(--ink-soft);box-shadow:none;border-bottom:1px dashed var(--ink-soft);background:0 0;border-radius:0;animation:none}.legend .hl-quote{border:1px dashed var(--ink-soft);background:0 0}mark.hl{color:inherit;box-shadow:inset 0 -2px 0 var(--line);cursor:help;animation:markIn .6s var(--ease) backwards;border-radius:4px;padding:1px 0}@keyframes markIn{0%{background:0 0;box-shadow:inset 0 0 #0000}}mark.hid{background:var(--bad);color:var(--bg);font-family:var(--mono);vertical-align:1px;cursor:help;border-radius:5px;margin:0 1px;padding:1px 5px;font-size:11px}mark.hid-letter{color:var(--bad);font:inherit;font-size:inherit;box-shadow:inset 0 -2px 0 var(--bad);vertical-align:baseline;background:0 0;margin:0;padding:0}.hl-tip{z-index:50;background:var(--ink);max-width:min(320px,100vw - 16px);color:var(--bg);pointer-events:none;border-radius:8px;padding:6px 10px;font-size:13px;line-height:1.4;position:absolute;box-shadow:0 6px 20px #00000040}.hl-tip[hidden]{display:none}mark.hl,mark.hid{cursor:pointer}mark.hl.active{outline:2px solid var(--ink);outline-offset:1px}mark.hl:focus-visible,mark.hid:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}mark.hid.active{outline:2px solid var(--bad);outline-offset:1px}.summary-line{font-weight:600}.next{text-align:center;max-width:720px;margin:80px auto 0}.legend[hidden]{display:none}
