/* /Components/CommandBreakdown.razor.rz.scp.css */
.breakdown[b-p97z6899av] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th[b-p97z6899av] {
    text-align: left;
    color: var(--sub);
    font-weight: 400;
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}

td[b-p97z6899av] {
    padding: 0.45rem 0.6rem;
    vertical-align: top;
}

tbody tr:nth-child(odd)[b-p97z6899av] {
    background: var(--bg-alt);
}

.num[b-p97z6899av] {
    text-align: right;
    white-space: nowrap;
}

.mark[b-p97z6899av] {
    width: 1.5rem;
}

.ok .mark[b-p97z6899av] {
    color: var(--main);
}

.bad .mark[b-p97z6899av] {
    color: var(--error);
}

.cut[b-p97z6899av] {
    opacity: 0.6;
}

.cmd[b-p97z6899av] {
    white-space: pre-wrap;
    word-break: break-all;
}

.typed[b-p97z6899av] {
    color: var(--sub);
    margin-top: 0.15rem;
}

.typed[b-p97z6899av]::before {
    content: "you: ";
    opacity: 0.6;
}

.wrong[b-p97z6899av] {
    color: var(--error);
    text-decoration: underline;
}
/* /Components/ConfigBar.razor.rz.scp.css */
.config[b-4200ow5m3c] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    width: fit-content;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 0.8rem;
    transition: opacity 0.3s;
}

.config.hidden[b-4200ow5m3c] {
    opacity: 0;
    pointer-events: none;
}

.group[b-4200ow5m3c] {
    display: flex;
    gap: 0.25rem;
}

button[b-4200ow5m3c] {
    color: var(--sub);
    padding: 0.25rem 0.4rem;
    border-radius: 0.3rem;
    transition: color 0.15s;
}

button:hover[b-4200ow5m3c],
button:focus-visible[b-4200ow5m3c] {
    color: var(--text);
}

button.active[b-4200ow5m3c] {
    color: var(--main);
}

.divider[b-4200ow5m3c] {
    width: 0.25rem;
    height: 1.1rem;
    border-radius: 2px;
    background: var(--bg);
}

.categories[b-4200ow5m3c] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.75rem auto 0;
    max-width: 46rem;
    font-size: 0.8rem;
}

.chip[b-4200ow5m3c] {
    background: var(--bg-alt);
    padding: 0.3rem 0.7rem;
}

.chip.active[b-4200ow5m3c] {
    background: var(--main);
    color: var(--bg);
}

@media (max-width: 640px) {
    .divider[b-4200ow5m3c] {
        display: none;
    }
}
/* /Components/LiveStats.razor.rz.scp.css */
.live[b-y21qkb1gyc] {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    color: var(--main);
    font-size: 1.6rem;
    min-height: 2.4rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.live.visible[b-y21qkb1gyc] {
    opacity: 1;
}

.wpm[b-y21qkb1gyc] {
    color: var(--sub);
    font-size: 1rem;
}
/* /Components/QuizResults.razor.rz.scp.css */
.results[b-chi8nw27t8] {
    max-width: 52rem;
    margin: 2.5rem auto 0;
    animation: fade-in-b-chi8nw27t8 0.25s ease-out;
}

@keyframes fade-in-b-chi8nw27t8 {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

.headline[b-chi8nw27t8] {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.label[b-chi8nw27t8] {
    color: var(--sub);
    font-size: 1.2rem;
}

.value[b-chi8nw27t8] {
    color: var(--main);
    font-size: 3.5rem;
    line-height: 1.1;
}

.badge[b-chi8nw27t8] {
    margin-top: 1rem;
    color: var(--sub);
    font-size: 0.85rem;
}

.badge.pb[b-chi8nw27t8] {
    color: var(--bg);
    background: var(--main);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
    width: fit-content;
}

.actions[b-chi8nw27t8] {
    margin: 2rem 0;
}

.actions button[b-chi8nw27t8] {
    color: var(--sub);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.actions button:hover[b-chi8nw27t8] {
    color: var(--bg);
    background: var(--text);
}

kbd[b-chi8nw27t8] {
    font-family: inherit;
    font-size: 0.75em;
    background: var(--sub);
    color: var(--bg);
    padding: 0.05rem 0.35rem;
    border-radius: 0.25rem;
    margin-left: 0.4rem;
}

h2[b-chi8nw27t8] {
    font-size: 1.1rem;
    color: var(--sub);
}

.review[b-chi8nw27t8] {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
}

.review li[b-chi8nw27t8] {
    display: grid;
    grid-template-columns: 1.5rem 1fr auto;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: var(--radius);
}

.review li:nth-child(odd)[b-chi8nw27t8] {
    background: var(--bg-alt);
}

.ok .mark[b-chi8nw27t8],
.points[b-chi8nw27t8] {
    color: var(--main);
}

.bad .mark[b-chi8nw27t8] {
    color: var(--error);
}

.prompt[b-chi8nw27t8] {
    word-break: break-all;
}

.ps[b-chi8nw27t8] {
    color: var(--sub);
}

.error[b-chi8nw27t8] {
    color: var(--error);
    opacity: 0.8;
    word-break: break-word;
}

.answer[b-chi8nw27t8] {
    color: var(--main);
    margin-top: 0.2rem;
}

.yours[b-chi8nw27t8] {
    color: var(--sub);
    text-decoration: line-through;
}

@media (max-width: 640px), (pointer: coarse) {
    .results[b-chi8nw27t8] {
        margin-top: 1.5rem;
    }

    .headline[b-chi8nw27t8] {
        gap: 1.5rem;
    }

    .label[b-chi8nw27t8] {
        font-size: 0.9rem;
    }

    .value[b-chi8nw27t8] {
        font-size: 2.2rem;
    }

    .actions button[b-chi8nw27t8] {
        width: 100%;
        padding: 1rem;
        color: var(--bg);
        background: var(--main);
        touch-action: manipulation;
    }

    .actions kbd[b-chi8nw27t8] {
        display: none;
    }

    .review li[b-chi8nw27t8] {
        grid-template-columns: 1.25rem 1fr;
    }

    .points[b-chi8nw27t8] {
        grid-column: 2;
    }
}
/* /Components/ResultsView.razor.rz.scp.css */
.results[b-y3q5tqtnxw] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 2.5rem;
    animation: fade-in-b-y3q5tqtnxw 0.25s ease-out;
}

@keyframes fade-in-b-y3q5tqtnxw {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

.headline[b-y3q5tqtnxw] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart[b-y3q5tqtnxw] {
    min-width: 0;
    align-self: center;
}

.details[b-y3q5tqtnxw],
.actions[b-y3q5tqtnxw] {
    grid-column: 1 / -1;
}

.details[b-y3q5tqtnxw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.label[b-y3q5tqtnxw] {
    color: var(--sub);
    font-size: 1rem;
}

.value[b-y3q5tqtnxw] {
    color: var(--main);
    font-size: 1.9rem;
    line-height: 1.2;
}

.value.small[b-y3q5tqtnxw] {
    font-size: 1rem;
}

.big .label[b-y3q5tqtnxw] {
    font-size: 1.9rem;
}

.big .value[b-y3q5tqtnxw] {
    font-size: 4rem;
    line-height: 1;
}

.err[b-y3q5tqtnxw] {
    color: var(--error);
}

.badge[b-y3q5tqtnxw] {
    color: var(--sub);
    font-size: 0.8rem;
}

.badge.pb[b-y3q5tqtnxw] {
    color: var(--bg);
    background: var(--main);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
    width: fit-content;
}

.badge.invalid[b-y3q5tqtnxw] {
    color: var(--error);
}

.actions[b-y3q5tqtnxw] {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.actions button[b-y3q5tqtnxw] {
    color: var(--sub);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    transition: color 0.15s, background 0.15s;
}

.actions button:hover[b-y3q5tqtnxw],
.actions button:focus-visible[b-y3q5tqtnxw] {
    color: var(--bg);
    background: var(--text);
}

.results[b-y3q5tqtnxw]  .breakdown {
    grid-column: 1 / -1;
}

@media (max-width: 760px) {
    .results[b-y3q5tqtnxw] {
        grid-template-columns: 1fr;
    }

    .headline[b-y3q5tqtnxw] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 2rem;
    }
}
/* /Components/Setting.razor.rz.scp.css */
.setting[b-gfsdy9l0zm] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 0.9rem 0;
}

.title[b-gfsdy9l0zm] {
    color: var(--text);
}

.description[b-gfsdy9l0zm] {
    color: var(--sub);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.control[b-gfsdy9l0zm] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .setting[b-gfsdy9l0zm] {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .control[b-gfsdy9l0zm] {
        justify-content: flex-start;
    }
}
/* /Components/TerminalView.razor.rz.scp.css */
.terminal[b-nsd9wloeod] {
    font-size: var(--type-size);
    line-height: 1.6;
    user-select: none;
}

.line[b-nsd9wloeod] {
    display: flex;
    gap: 0.6em;
    align-items: baseline;
}

.prompt[b-nsd9wloeod] {
    color: var(--main);
    flex: none;
}

.cmd[b-nsd9wloeod] {
    white-space: pre-wrap;
    word-break: break-all;
    min-width: 0;
}

.history[b-nsd9wloeod] {
    min-height: 3.2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.line.done[b-nsd9wloeod] {
    opacity: 0.45;
    font-size: 0.8em;
}

.line.done .prompt[b-nsd9wloeod] {
    color: var(--sub);
}

.mark[b-nsd9wloeod] {
    font-size: 0.85em;
}

.done.ok .mark[b-nsd9wloeod] {
    color: var(--main);
}

.done.bad .mark[b-nsd9wloeod] {
    color: var(--error);
}

.line.current[b-nsd9wloeod] {
    margin: 0.35em 0 0.1em;
}

.comment[b-nsd9wloeod] {
    color: var(--sub);
    font-size: 0.6em;
    font-style: italic;
    margin-left: 2.1em;
    min-height: 1.6em;
}

.upcoming[b-nsd9wloeod] {
    margin-top: 0.6em;
    min-height: 3em;
}

.line.next[b-nsd9wloeod] {
    color: var(--sub);
    opacity: 0.6;
    font-size: 0.7em;
}

.line.next .prompt[b-nsd9wloeod] {
    color: var(--sub);
}

/* ---------- characters ---------- */

.char[b-nsd9wloeod] {
    position: relative;
    color: var(--sub);
    transition: color 0.05s;
}

.char.correct[b-nsd9wloeod] {
    color: var(--text);
}

.char.incorrect[b-nsd9wloeod] {
    color: var(--error);
}

.char.incorrect.space[b-nsd9wloeod] {
    background: color-mix(in srgb, var(--error) 35%, transparent);
    border-radius: 2px;
}

.char.extra[b-nsd9wloeod] {
    color: var(--extra);
}

/* ---------- caret styles ---------- */

.char.caret[b-nsd9wloeod]::before {
    content: "";
    position: absolute;
    background: var(--caret);
    animation: caret-blink-b-nsd9wloeod 1s infinite;
    border-radius: 1px;
}

.running .char.caret[b-nsd9wloeod]::before {
    animation: none;
}

.caret-line .char.caret[b-nsd9wloeod]::before {
    left: -0.06em;
    top: 0.15em;
    bottom: 0.15em;
    width: 0.1em;
}

.caret-block .char.caret[b-nsd9wloeod]::before {
    inset: 0.12em 0;
    opacity: 0.4;
}

.caret-underline .char.caret[b-nsd9wloeod]::before {
    left: 0;
    right: 0;
    bottom: 0.1em;
    height: 0.1em;
}

.caret-off .char.caret[b-nsd9wloeod]::before {
    display: none;
}

/* ---------- smooth caret: one element that glides between characters ---------- */

.smooth .line.current .cmd[b-nsd9wloeod] {
    position: relative;
}

.smooth .char.caret[b-nsd9wloeod]::before {
    display: none;
}

.smooth-caret[b-nsd9wloeod] {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--caret);
    border-radius: 1px;
    pointer-events: none;
    transition: transform 0.15s ease-out;
    animation: caret-blink-b-nsd9wloeod 1s infinite;
}

.running .smooth-caret[b-nsd9wloeod] {
    animation: none;
}

.caret-line .smooth-caret[b-nsd9wloeod] {
    width: 0.1em;
    height: calc(var(--ch, 1.3em) * 0.8);
    margin: calc(var(--ch, 1.3em) * 0.1) 0 0 -0.05em;
}

.caret-block .smooth-caret[b-nsd9wloeod] {
    width: var(--cw, 0.6em);
    height: var(--ch, 1.3em);
    opacity: 0.4;
}

.caret-underline .smooth-caret[b-nsd9wloeod] {
    width: var(--cw, 0.6em);
    height: 0.1em;
    margin-top: calc(var(--ch, 1.3em) - 0.15em);
}

.caret-off .smooth-caret[b-nsd9wloeod] {
    display: none;
}

@keyframes caret-blink-b-nsd9wloeod {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}
/* /Components/TheoryContent.razor.rz.scp.css */
.theory-content[b-gdq5vjjsef] {
    line-height: 1.75;
    font-size: 0.95rem;
}

h2[b-gdq5vjjsef] {
    font-size: 1.15rem;
    color: var(--main);
    margin: 2rem 0 0.5rem;
}

h3[b-gdq5vjjsef] {
    font-size: 1rem;
    color: var(--text);
    margin: 1.5rem 0 0.4rem;
}

p[b-gdq5vjjsef] {
    margin: 0 0 1rem;
}

strong[b-gdq5vjjsef] {
    color: var(--main);
    font-weight: 500;
}

code[b-gdq5vjjsef] {
    font-size: 0.9em;
    padding: 0.05rem 0.3rem;
    border-radius: 0.25rem;
    background: var(--bg-alt);
    color: var(--text);
}

pre[b-gdq5vjjsef] {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    overflow-x: auto;
    line-height: 1.5;
}

pre code[b-gdq5vjjsef] {
    padding: 0;
    background: none;
    font-size: 0.85rem;
}

ul[b-gdq5vjjsef],
ol[b-gdq5vjjsef] {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

li[b-gdq5vjjsef] {
    margin-bottom: 0.3rem;
}

li[b-gdq5vjjsef]::marker {
    color: var(--main);
}

@media (max-width: 640px) {
    .theory-content[b-gdq5vjjsef] {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    pre code[b-gdq5vjjsef] {
        font-size: 0.8rem;
    }
}
/* /Components/Toggle.razor.rz.scp.css */
.toggle[b-zf4ikietkz] {
    display: flex;
    gap: 0.4rem;
}

button[b-zf4ikietkz] {
    background: var(--bg-alt);
    color: var(--text);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    min-width: 3.5rem;
}

button.active[b-zf4ikietkz] {
    background: var(--main);
    color: var(--bg);
}
/* /Components/WpmChart.razor.rz.scp.css */
.chart[b-23p9ibzbl3] {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.grid[b-23p9ibzbl3] {
    stroke: var(--bg-alt);
    stroke-width: 1;
}

.axis[b-23p9ibzbl3] {
    fill: var(--sub);
    font-size: 11px;
    font-family: var(--font);
}

polyline[b-23p9ibzbl3] {
    fill: none;
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.wpm[b-23p9ibzbl3] {
    stroke: var(--main);
}

.raw[b-23p9ibzbl3] {
    stroke: var(--sub);
    stroke-width: 2;
}

.error[b-23p9ibzbl3] {
    stroke: var(--error);
    stroke-width: 2;
    stroke-linecap: round;
}

.legend[b-23p9ibzbl3] {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    font-size: 0.7rem;
    color: var(--sub);
    margin-top: 0.25rem;
}

.key[b-23p9ibzbl3]::before {
    content: "";
    display: inline-block;
    width: 0.8rem;
    height: 0.2rem;
    margin-right: 0.4rem;
    vertical-align: middle;
    border-radius: 1px;
    background: currentColor;
}

.key.wpm[b-23p9ibzbl3]::before {
    background: var(--main);
}

.key.raw[b-23p9ibzbl3]::before {
    background: var(--sub);
}

.key.error[b-23p9ibzbl3]::before {
    background: var(--error);
}

.empty[b-23p9ibzbl3] {
    color: var(--sub);
    padding: 3rem 0;
    text-align: center;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.shell[b-rf79bzryxf] {
    min-height: 100vh;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    /* Never wider than the screen, even when the menu scrolls sideways on phones. */
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.top[b-rf79bzryxf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    transition: opacity 0.3s;
}

.logo[b-rf79bzryxf] {
    font-size: 1.75rem;
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.logo .prompt[b-rf79bzryxf] {
    color: var(--main);
}

.cursor[b-rf79bzryxf] {
    display: inline-block;
    width: 0.55em;
    height: 1.1em;
    margin-left: 0.15em;
    vertical-align: -0.15em;
    background: var(--main);
    animation: blink-b-rf79bzryxf 1s steps(1) infinite;
}

@keyframes blink-b-rf79bzryxf {
    50% {
        opacity: 0;
    }
}

nav[b-rf79bzryxf] {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

nav[b-rf79bzryxf]  a.active {
    color: var(--main);
}

main[b-rf79bzryxf] {
    min-width: 0;
}

.bottom[b-rf79bzryxf] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--sub);
    transition: opacity 0.3s;
}

.keys[b-rf79bzryxf],
.links[b-rf79bzryxf] {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

kbd[b-rf79bzryxf] {
    font-family: inherit;
    background: var(--sub);
    color: var(--bg);
    padding: 0.05rem 0.35rem;
    border-radius: 0.25rem;
}

/* Fade chrome away while the user is typing; JS toggles the class on <body>. */
body.is-typing .top[b-rf79bzryxf],
body.is-typing .bottom[b-rf79bzryxf] {
    opacity: 0;
}

@media (max-width: 640px) {
    .shell[b-rf79bzryxf] {
        padding: 1rem;
        gap: 1.25rem;
    }

    .top[b-rf79bzryxf] {
        gap: 0.5rem;
    }

    .logo[b-rf79bzryxf] {
        font-size: 1.35rem;
    }

    /* All the pages do not fit side by side on a phone, so the menu scrolls sideways. */
    nav[b-rf79bzryxf] {
        width: 100%;
        gap: 1.1rem;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    nav[b-rf79bzryxf]::-webkit-scrollbar {
        display: none;
    }

    nav[b-rf79bzryxf]  a {
        padding: 0.4rem 0;
    }

    .keys[b-rf79bzryxf] {
        display: none;
    }
}
/* /Pages/About.razor.rz.scp.css */
.about[b-0jziiqj6q9] {
    max-width: 46rem;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 0.95rem;
}

h1[b-0jziiqj6q9] {
    font-size: 1.6rem;
}

h2[b-0jziiqj6q9] {
    font-size: 1.1rem;
    color: var(--sub);
    margin-top: 2rem;
}

strong[b-0jziiqj6q9] {
    color: var(--main);
    font-weight: 500;
}

a[b-0jziiqj6q9] {
    color: var(--main);
    text-decoration: underline;
}

ul[b-0jziiqj6q9] {
    padding-left: 1.25rem;
}

li[b-0jziiqj6q9]::marker {
    color: var(--main);
}

kbd[b-0jziiqj6q9] {
    font-family: inherit;
    font-size: 0.85em;
    background: var(--sub);
    color: var(--bg);
    padding: 0.05rem 0.35rem;
    border-radius: 0.25rem;
}
/* /Pages/Home.razor.rz.scp.css */
.test[b-79yrvbm6v8] {
    position: relative;
    margin: 3rem auto 0;
    max-width: 60rem;
    cursor: default;
}

.test.blurred[b-79yrvbm6v8]  .terminal {
    filter: blur(4px);
    opacity: 0.4;
    transition: filter 0.2s, opacity 0.2s;
}

.focus-warning[b-79yrvbm6v8] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
}

.banner[b-79yrvbm6v8] {
    display: flex;
    gap: 1rem;
    color: var(--main);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.operation[b-79yrvbm6v8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    align-items: baseline;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.operation .name[b-79yrvbm6v8] {
    color: var(--main);
}

.operation .goal[b-79yrvbm6v8] {
    color: var(--sub);
}

.hint[b-79yrvbm6v8] {
    text-align: center;
    color: var(--sub);
    font-size: 0.8rem;
    margin-top: 3rem;
}

kbd[b-79yrvbm6v8] {
    font-family: inherit;
    background: var(--sub);
    color: var(--bg);
    padding: 0.05rem 0.35rem;
    border-radius: 0.25rem;
}
/* /Pages/Learn.razor.rz.scp.css */
.learn[b-pm4kkypum2] {
    max-width: 52rem;
    margin: 0 auto;
}

h1[b-pm4kkypum2] {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.search[b-pm4kkypum2] {
    width: 100%;
    margin: 1rem 0 1.5rem;
    padding: 0.7rem 1rem;
    font: inherit;
    color: var(--text);
    background: var(--bg-alt);
    border: 1px solid transparent;
    border-radius: var(--radius);
    outline: none;
}

.search:focus[b-pm4kkypum2] {
    border-color: var(--main);
}

.category[b-pm4kkypum2] {
    margin-bottom: 2rem;
}

.category-head[b-pm4kkypum2] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid var(--bg-alt);
    margin-bottom: 0.5rem;
}

h2[b-pm4kkypum2] {
    font-size: 1.1rem;
    color: var(--main);
    margin: 0.5rem 0;
}

.practice[b-pm4kkypum2] {
    font-size: 0.8rem;
}

dl[b-pm4kkypum2] {
    margin: 0;
}

.entry[b-pm4kkypum2] {
    padding: 0.5rem 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

dt code[b-pm4kkypum2] {
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-all;
}

dd[b-pm4kkypum2] {
    margin: 0;
    color: var(--sub);
    font-size: 0.85rem;
}

.level[b-pm4kkypum2] {
    font-size: 0.65rem;
    padding: 0 0.3rem;
    border-radius: 0.2rem;
    margin-left: 0.4rem;
    color: var(--bg);
    vertical-align: middle;
}

.level-1[b-pm4kkypum2] {
    background: var(--sub);
}

.level-2[b-pm4kkypum2] {
    background: var(--main);
}

.level-3[b-pm4kkypum2] {
    background: var(--error);
}

@media (max-width: 640px) {
    .entry[b-pm4kkypum2] {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}
/* /Pages/NotFound.razor.rz.scp.css */
.not-found[b-lt39267tll] {
    max-width: 40rem;
    margin: 4rem auto;
    font-size: 1.2rem;
}

.error[b-lt39267tll] {
    color: var(--error);
}

a[b-lt39267tll] {
    color: var(--text);
    text-decoration: underline;
}
/* /Pages/Quiz.razor.rz.scp.css */
/* ---------- mode / length bar (matches the typing page's config bar) ---------- */

.config[b-y1c7q5d792] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    width: fit-content;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.group[b-y1c7q5d792] {
    display: flex;
    gap: 0.25rem;
}

.config button[b-y1c7q5d792] {
    color: var(--sub);
    padding: 0.25rem 0.4rem;
    border-radius: 0.3rem;
}

.config button:hover[b-y1c7q5d792] {
    color: var(--text);
}

.config button.active[b-y1c7q5d792] {
    color: var(--main);
}

.divider[b-y1c7q5d792] {
    width: 0.25rem;
    height: 1.1rem;
    border-radius: 2px;
    background: var(--bg);
}

/* ---------- question ---------- */

.quiz[b-y1c7q5d792] {
    max-width: 52rem;
    margin: 2.5rem auto 0;
}

.status[b-y1c7q5d792] {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    min-height: 2.4rem;
}

.progress[b-y1c7q5d792] {
    color: var(--sub);
}

.score[b-y1c7q5d792] {
    color: var(--main);
    font-size: 1.6rem;
    animation: bump-b-y1c7q5d792 0.3s ease-out;
}

.combo[b-y1c7q5d792] {
    font-size: 0.85rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    color: var(--bg);
    background: var(--main);
    animation: pop-b-y1c7q5d792 0.35s cubic-bezier(0.3, 1.6, 0.6, 1);
}

/* The badge heats up as the streak grows. */
.combo-2[b-y1c7q5d792] {
    background: color-mix(in srgb, var(--main) 60%, var(--error));
}

.combo-3[b-y1c7q5d792] {
    background: color-mix(in srgb, var(--main) 30%, var(--error));
}

.combo-4[b-y1c7q5d792] {
    background: var(--error);
    box-shadow: 0 0 12px color-mix(in srgb, var(--error) 60%, transparent);
}

.kind[b-y1c7q5d792] {
    margin-top: 1.25rem;
    color: var(--sub);
    font-style: italic;
    font-size: 0.85rem;
}

.prompt[b-y1c7q5d792] {
    font-size: 1.6rem;
    margin: 0.4rem 0;
    word-break: break-all;
}

.ps[b-y1c7q5d792] {
    color: var(--main);
}

/* "which command does this?" shows the task, then the prompt with a blank to fill in. */
.task[b-y1c7q5d792] {
    margin-top: 0.4rem;
    font-size: 1.2rem;
}

.blank[b-y1c7q5d792] {
    color: var(--sub);
}

.error-output[b-y1c7q5d792] {
    color: var(--error);
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    border-left: 3px solid var(--error);
    background: color-mix(in srgb, var(--error) 8%, transparent);
    border-radius: 0 var(--radius) var(--radius) 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---------- fzf picker ---------- */

.picker[b-y1c7q5d792] {
    margin-top: 1.5rem;
}

.query[b-y1c7q5d792] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--bg-alt);
}

.query .arrow[b-y1c7q5d792] {
    color: var(--main);
}

.query .text[b-y1c7q5d792] {
    white-space: pre;
}

.query .cursor[b-y1c7q5d792] {
    width: 0.55em;
    height: 1.15em;
    align-self: center;
    margin-left: -0.5rem;
    background: var(--caret);
    animation: blink-b-y1c7q5d792 1s steps(1) infinite;
}

.query .count[b-y1c7q5d792] {
    margin-left: auto;
    color: var(--sub);
    font-size: 0.8rem;
}

@keyframes blink-b-y1c7q5d792 {
    50% {
        opacity: 0;
    }
}

ul[b-y1c7q5d792] {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.option[b-y1c7q5d792] {
    display: flex;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    transition: background 0.1s, opacity 0.2s;
}

.option .pointer[b-y1c7q5d792] {
    width: 0.8rem;
    flex: none;
    color: var(--main);
}

.option .text[b-y1c7q5d792] {
    word-break: break-word;
}

.option.selected[b-y1c7q5d792] {
    background: var(--bg-alt);
}

.hl[b-y1c7q5d792] {
    color: var(--main);
    font-weight: 700;
}

.option.gone[b-y1c7q5d792] {
    opacity: 0.25;
    text-decoration: line-through;
    cursor: default;
}

/* ---------- reveal ---------- */

.reveal .option[b-y1c7q5d792] {
    cursor: default;
    color: var(--sub);
}

.reveal .option.right[b-y1c7q5d792] {
    color: var(--main);
    background: color-mix(in srgb, var(--main) 12%, transparent);
}

.reveal .option.right .pointer[b-y1c7q5d792] {
    color: var(--main);
}

.reveal .option.wrong[b-y1c7q5d792] {
    color: var(--error);
    background: color-mix(in srgb, var(--error) 12%, transparent);
}

.reveal .option.wrong .pointer[b-y1c7q5d792] {
    color: var(--error);
}

.verdict[b-y1c7q5d792] {
    margin-top: 1rem;
    font-size: 1.3rem;
}

.verdict.good[b-y1c7q5d792] {
    color: var(--main);
    animation: pop-b-y1c7q5d792 0.35s cubic-bezier(0.3, 1.6, 0.6, 1);
}

.verdict.bad[b-y1c7q5d792] {
    color: var(--error);
    animation: shake-b-y1c7q5d792 0.4s;
}

.explanation[b-y1c7q5d792] {
    color: var(--sub);
    font-style: italic;
    font-size: 0.9rem;
}

/* ---------- next question ---------- */

.next-bar[b-y1c7q5d792] {
    margin-top: 1.25rem;
}

.next[b-y1c7q5d792] {
    color: var(--sub);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    transition: color 0.15s, background 0.15s;
}

.next:hover[b-y1c7q5d792],
.next:focus-visible[b-y1c7q5d792] {
    color: var(--bg);
    background: var(--text);
}

/* Letter badges and the touch hint only show on phones; see the media query below. */
.letter[b-y1c7q5d792],
.hint.touch[b-y1c7q5d792] {
    display: none;
}

.hint[b-y1c7q5d792] {
    text-align: center;
    color: var(--sub);
    font-size: 0.75rem;
    margin-top: 2.5rem;
    line-height: 2;
}

kbd[b-y1c7q5d792] {
    font-family: inherit;
    background: var(--sub);
    color: var(--bg);
    padding: 0.05rem 0.35rem;
    border-radius: 0.25rem;
    margin: 0 0.1rem;
}

@keyframes pop-b-y1c7q5d792 {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes bump-b-y1c7q5d792 {
    40% {
        transform: translateY(-4px);
    }
}

@keyframes shake-b-y1c7q5d792 {
    20%, 60% {
        transform: translateX(-6px);
    }

    40%, 80% {
        transform: translateX(6px);
    }
}

@media (max-width: 640px) {
    .divider[b-y1c7q5d792] {
        display: none;
    }
}

/* ---------- phones and touch screens: tap big answer cards, no fuzzy filter ---------- */

@media (max-width: 640px), (pointer: coarse) {
    button[b-y1c7q5d792],
    .option[b-y1c7q5d792] {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .config[b-y1c7q5d792] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .group[b-y1c7q5d792] {
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .group[b-y1c7q5d792]::-webkit-scrollbar {
        display: none;
    }

    .config button[b-y1c7q5d792] {
        flex: 1 0 auto;
        padding: 0.55rem 0.7rem;
        white-space: nowrap;
    }

    .config button.active[b-y1c7q5d792] {
        background: var(--bg);
    }

    .quiz[b-y1c7q5d792] {
        margin-top: 1.25rem;
    }

    .status[b-y1c7q5d792] {
        gap: 1rem;
        min-height: 2rem;
    }

    .score[b-y1c7q5d792] {
        font-size: 1.3rem;
    }

    .combo[b-y1c7q5d792] {
        font-size: 0.75rem;
    }

    .prompt[b-y1c7q5d792] {
        font-size: 1.35rem;
        word-break: break-word;
    }

    .error-output[b-y1c7q5d792] {
        font-size: 0.85rem;
    }

    .picker[b-y1c7q5d792] {
        margin-top: 1rem;
    }

    .query[b-y1c7q5d792],
    .option.gone[b-y1c7q5d792],
    .option .pointer[b-y1c7q5d792] {
        display: none;
    }

    ul[b-y1c7q5d792] {
        display: grid;
        gap: 0.6rem;
    }

    .option[b-y1c7q5d792] {
        align-items: center;
        gap: 0.8rem;
        min-height: 3.4rem;
        padding: 0.75rem 0.9rem;
        font-size: 0.95rem;
        line-height: 1.35;
        background: var(--bg-alt);
        border: 1px solid transparent;
    }

    /* There is no keyboard selection on touch, so do not highlight the first card. */
    .option.selected[b-y1c7q5d792] {
        background: var(--bg-alt);
    }

    .option:active[b-y1c7q5d792] {
        border-color: var(--main);
    }

    .letter[b-y1c7q5d792] {
        display: grid;
        place-items: center;
        flex: none;
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 50%;
        background: var(--bg);
        color: var(--main);
        font-size: 0.85rem;
    }

    /* After answering the cards are only for reading, so they can be smaller. */
    .reveal[b-y1c7q5d792] {
        gap: 0.4rem;
    }

    .reveal .option[b-y1c7q5d792] {
        min-height: 0;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .reveal .option:not(.right):not(.wrong)[b-y1c7q5d792] {
        opacity: 0.55;
    }

    .reveal .letter[b-y1c7q5d792] {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }

    .reveal .option.right .letter[b-y1c7q5d792] {
        background: var(--main);
        color: var(--bg);
    }

    .reveal .option.wrong .letter[b-y1c7q5d792] {
        background: var(--error);
        color: var(--bg);
    }

    /* Show the verdict and explanation above the cards, so they are visible without scrolling. */
    .result[b-y1c7q5d792] {
        display: flex;
        flex-direction: column;
    }

    .feedback[b-y1c7q5d792] {
        order: -1;
    }

    .verdict[b-y1c7q5d792] {
        margin-top: 0.75rem;
        font-size: 1.15rem;
    }

    .explanation[b-y1c7q5d792] {
        margin: 0.5rem 0 0.25rem;
        padding: 0.7rem 0.9rem;
        border-left: 3px solid var(--sub);
        border-radius: 0 var(--radius) var(--radius) 0;
        background: var(--bg-alt);
        color: var(--text);
        font-style: normal;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .feedback.good .explanation[b-y1c7q5d792] {
        border-left-color: var(--main);
    }

    .feedback.bad .explanation[b-y1c7q5d792] {
        border-left-color: var(--error);
    }

    /* The next button sticks to the bottom of the screen, within thumb reach. */
    .next-bar[b-y1c7q5d792] {
        position: sticky;
        bottom: 0;
        margin: 1rem -1rem 0;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
        background: linear-gradient(transparent, var(--bg) 35%);
    }

    .next[b-y1c7q5d792] {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        color: var(--bg);
        background: var(--main);
    }

    .next kbd[b-y1c7q5d792] {
        display: none;
    }

    .hint.keys[b-y1c7q5d792] {
        display: none;
    }

    .hint.touch[b-y1c7q5d792] {
        display: block;
        margin-top: 1.5rem;
    }
}
/* /Pages/Settings.razor.rz.scp.css */
.settings[b-llh3wa2xtm] {
    max-width: 52rem;
    margin: 0 auto;
}

h2[b-llh3wa2xtm] {
    font-size: 1.1rem;
    color: var(--sub);
    margin: 2.5rem 0 1rem;
}

h2:first-child[b-llh3wa2xtm] {
    margin-top: 0;
}

.themes[b-llh3wa2xtm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.5rem;
}

.theme[b-llh3wa2xtm] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    font-size: 0.85rem;
    transition: transform 0.1s;
}

.theme:hover[b-llh3wa2xtm] {
    transform: translateY(-1px);
}

.theme.active[b-llh3wa2xtm] {
    border-color: var(--main);
}

.dot[b-llh3wa2xtm] {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
}

.options[b-llh3wa2xtm] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.options button[b-llh3wa2xtm] {
    background: var(--bg-alt);
    color: var(--text);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.options button.active[b-llh3wa2xtm] {
    background: var(--main);
    color: var(--bg);
}

.options button.danger:hover[b-llh3wa2xtm] {
    background: var(--error);
    color: var(--bg);
}
/* /Pages/Stats.razor.rz.scp.css */
.stats[b-bpfe8swc4s] {
    max-width: 60rem;
    margin: 0 auto;
}

.empty[b-bpfe8swc4s] {
    text-align: center;
    padding: 4rem 0;
    color: var(--sub);
}

.summary[b-bpfe8swc4s],
.bests[b-bpfe8swc4s] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 1rem;
}

.stat[b-bpfe8swc4s],
.best[b-bpfe8swc4s] {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1rem;
}

.label[b-bpfe8swc4s] {
    color: var(--sub);
    font-size: 0.8rem;
}

.value[b-bpfe8swc4s] {
    color: var(--main);
    font-size: 2rem;
    line-height: 1.3;
}

.small[b-bpfe8swc4s] {
    font-size: 0.7rem;
}

h2[b-bpfe8swc4s] {
    font-size: 1.1rem;
    margin: 2.5rem 0 1rem;
}

.section-head[b-bpfe8swc4s] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-head a[b-bpfe8swc4s] {
    font-size: 0.85rem;
}

table[b-bpfe8swc4s] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th[b-bpfe8swc4s] {
    text-align: left;
    color: var(--sub);
    font-weight: 400;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

td[b-bpfe8swc4s] {
    padding: 0.45rem 0.6rem;
}

tbody tr:nth-child(odd)[b-bpfe8swc4s] {
    background: var(--bg-alt);
}

.num[b-bpfe8swc4s] {
    text-align: right;
}

code[b-bpfe8swc4s] {
    white-space: pre-wrap;
    word-break: break-all;
}

.danger[b-bpfe8swc4s] {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--sub);
}

.danger button[b-bpfe8swc4s] {
    color: var(--sub);
    background: var(--bg-alt);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.danger button:hover[b-bpfe8swc4s],
.danger .confirm[b-bpfe8swc4s] {
    color: var(--bg);
    background: var(--error);
}
/* /Pages/Theory.razor.rz.scp.css */
/* ---------- topic list ---------- */

.theory[b-0nwh39man4],
.chapter[b-0nwh39man4] {
    max-width: 46rem;
    margin: 0 auto;
}

h1[b-0nwh39man4] {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

header p[b-0nwh39man4] {
    line-height: 1.7;
    font-size: 0.95rem;
}

.progress[b-0nwh39man4] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--sub);
    font-size: 0.85rem;
}

.bar[b-0nwh39man4] {
    flex: 1;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--bg-alt);
    overflow: hidden;
}

.fill[b-0nwh39man4] {
    height: 100%;
    background: var(--main);
    transition: width 0.3s;
}

.group h2[b-0nwh39man4] {
    font-size: 1rem;
    color: var(--sub);
    margin: 2.25rem 0 0.75rem;
}

.topics[b-0nwh39man4] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.topics a[b-0nwh39man4] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid transparent;
    transition: border-color 0.15s;
}

.topics a:hover[b-0nwh39man4],
.topics a:focus-visible[b-0nwh39man4] {
    border-color: var(--main);
}

.title[b-0nwh39man4] {
    display: flex;
    gap: 0.5rem;
}

.check[b-0nwh39man4] {
    width: 1rem;
    flex: none;
    color: var(--main);
}

.topic-summary[b-0nwh39man4] {
    grid-column: 1;
    padding-left: 1.5rem;
    color: var(--sub);
    font-size: 0.82rem;
    line-height: 1.5;
}

.minutes[b-0nwh39man4] {
    grid-column: 2;
    grid-row: 1;
    color: var(--sub);
    font-size: 0.8rem;
}

.read .title[b-0nwh39man4] {
    color: var(--sub);
}

/* ---------- a chapter ---------- */

.back[b-0nwh39man4] {
    font-size: 0.85rem;
}

.meta[b-0nwh39man4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--sub);
    font-size: 0.8rem;
}

.summary[b-0nwh39man4] {
    color: var(--sub);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.done[b-0nwh39man4] {
    margin: 2.5rem 0 1.5rem;
    text-align: center;
}

.read-toggle[b-0nwh39man4] {
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    color: var(--sub);
    transition: color 0.15s, background 0.15s;
}

.read-toggle:hover[b-0nwh39man4] {
    color: var(--text);
}

.read-toggle.is-read[b-0nwh39man4] {
    background: var(--main);
    color: var(--bg);
}

.pager[b-0nwh39man4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pager a[b-0nwh39man4] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    color: var(--text);
    font-size: 0.9rem;
}

.pager .next[b-0nwh39man4] {
    grid-column: 2;
    text-align: right;
}

.pager .muted[b-0nwh39man4] {
    font-size: 0.75rem;
}

@media (max-width: 640px), (pointer: coarse) {
    h1[b-0nwh39man4] {
        font-size: 1.35rem;
    }

    .topics a[b-0nwh39man4] {
        padding: 0.9rem;
        touch-action: manipulation;
    }

    .read-toggle[b-0nwh39man4] {
        width: 100%;
        padding: 1rem;
    }

    .pager[b-0nwh39man4] {
        grid-template-columns: 1fr;
    }

    .pager .next[b-0nwh39man4] {
        grid-column: 1;
    }
}
