@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: "Caveat"; src: url("fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
    --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-mono: "IBM Plex Mono", Consolas, "SF Mono", Menlo, ui-monospace, monospace;
    --font-hand: "Caveat", "Segoe Script", cursive;

    --term-bg: #04120b; --term-fg: #68ffab; --term-dim: #33a86a; --term-amber: #ffcf6b;

    --color-border: color-mix(in srgb, var(--color-ink) 22%, var(--color-paper));
    --panel:   var(--color-panel);
    --panel-2: color-mix(in srgb, var(--panel), #ffffff 10%);

    --frame:  light-dark(rgba(255,255,255,.72), rgba(150,215,255,.30));
    --bev-hi: light-dark(rgba(255,255,255,.85), rgba(175,225,255,.22));
    --bev-lo: light-dark(rgba(0,0,0,.28), rgba(0,0,0,.5));
    --field-line: light-dark(rgba(0,0,0,.32), rgba(0,0,0,.6));

    --bevel-out:  inset 0 0 0 1px var(--bev-lo), 0 8px 18px -6px rgba(0,0,0,.45);
    --box-shadow: inset 0 0 0 1px var(--bev-lo), 0 28px 60px -14px rgba(0,0,0,.72), 0 8px 20px -8px rgba(0,0,0,.42);
    --bevel-in:   inset 0 0 0 1px var(--bev-lo);

    --maxw: 1080px;  --gap: 1.5rem;  --radius: 6px;  --radius-sm: 4px;
    font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-ink);
    background-color: var(--color-paper);
    background-image:
        radial-gradient(color-mix(in srgb, var(--color-ink) 13%, transparent) 1.5px, transparent 1.7px),
        radial-gradient(120% 80% at 85% -10%, color-mix(in srgb, var(--color-teal) 32%, transparent), transparent 58%),
        radial-gradient(120% 90% at -5% 110%, color-mix(in srgb, var(--color-blue) 28%, transparent), transparent 55%);
    background-size: 22px 22px, auto, auto;
    background-repeat: repeat, no-repeat, no-repeat;

    background-position: 0 100%, center, center;

    min-height: 100vh;
    display: flex; flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: no-preference) {
    body::after {
        content: ""; position: absolute; z-index: -1; pointer-events: none;
        left: 0; bottom: calc(22px * 5 + 11px - 9px);
        width: 18px; height: 18px; border-radius: 50%;
        background: var(--color-amber);
        animation: pac-run 13s linear infinite, pac-chomp .28s infinite;
    }

    @media (min-width: 700px)  { body::after { animation-duration: 19s, .28s; } }
    @media (min-width: 1100px) { body::after { animation-duration: 25s, .28s; } }
    @media (min-width: 1500px) { body::after { animation-duration: 33s, .28s; } }
    @media (min-width: 2000px) { body::after { animation-duration: 42s, .28s; } }
}

@keyframes pac-run {
    0%   { transform: translateX(-40px); opacity: 0; }
    7%   { opacity: .55; }
    86%  { opacity: .55; }
    100% { transform: translateX(calc(100vw - 48px)); opacity: 0; }
}

@keyframes pac-chomp {
    0%,  49%  { clip-path: polygon(50% 50%, 100% 14%, 100% 0, 0 0, 0 100%, 100% 100%, 100% 86%); }
    50%, 100% { clip-path: polygon(50% 50%, 100% 44%, 100% 0, 0 0, 0 100%, 100% 100%, 100% 56%); }
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; font-weight: 600; letter-spacing: -0.015em; }
a { color: var(--color-blue); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--color-blue); outline-offset: 2px; }
html { scroll-behavior: smooth; }

.site-main { flex: 1 0 auto; padding-bottom: 40vh; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gap); }
.section { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem 0 0; }

:root { --cms-content-width: var(--maxw); --cms-content-pad: var(--gap); }
.cms-blocks { display: flex; flex-direction: column; gap: 1.5rem; padding-block: 1.5rem 0; }

.block, .hero-term__win, .error404 {
    background: linear-gradient(var(--panel), var(--panel-2));
    border: 1px solid var(--frame);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}
.block__body, .error404 { padding: 1.5rem clamp(1.1rem, 3.5vw, 2rem); }

@media (max-width: 720px) {
    :root { --cms-content-pad: 0px; }
    .container--flush { padding-inline: 0; }
    .block, .hero-term__win, .error404 { border-radius: 0; border-inline: 0; }
}

.titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; color: #fff;
    background: linear-gradient(180deg, var(--color-blue), color-mix(in srgb, var(--color-blue) 55%, #000));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.titlebar__ico {
    flex: none; width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px;
    border-radius: var(--radius-sm); background: rgba(255,255,255,.22);
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.5), inset -1px -1px 0 rgba(0,0,0,.28);
}
.titlebar__text { margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: .3px; text-shadow: 0 1px 1px rgba(0,0,0,.45); }
.titlebar__caps { margin-left: auto; display: flex; gap: 4px; }
.titlebar__caps b {
    width: 20px; height: 18px; display: grid; place-items: center; font-size: 11px; color: #111;
    background: linear-gradient(#f4f4f4, #cfcfcf); border-radius: var(--radius-sm);
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #888;
}
.titlebar__caps b.x { background: linear-gradient(#ff8a8a, #e0443b); color: #fff; }

.btn {
    display: inline-block;
    padding: 0.6em 1.35em;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-green) 28%, #fff), var(--color-green));
    color: #08260f;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--frame);
    border-radius: var(--radius-sm);
    box-shadow: var(--bevel-out);
    transition: transform .1s, filter .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(180deg, var(--color-blue), color-mix(in srgb, var(--color-blue) 55%, #000));
    color: #fff;
    box-shadow: 0 10px 30px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.4);
}
.site-header::after {
    content: ""; display: block; height: 4px;
    background: linear-gradient(90deg,
        var(--color-blue), var(--color-teal), var(--color-green),
        var(--color-amber), var(--color-red), var(--color-violet));
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.site-header__logo { font-weight: 700; letter-spacing: .5px; font-size: 1.2rem; color: #fff; text-decoration: none; text-shadow: 0 1px 1px rgba(0,0,0,.45); }
.nav__list { list-style: none; display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 0; }
.nav__link { color: #fff; text-decoration: none; opacity: .92; transition: opacity .15s; }
.nav__link:hover, .nav__link.is-active { opacity: 1; text-decoration: underline; }
.nav__link--lang { font-weight: 700; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; }

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav { position: absolute; top: 60px; left: 0; right: 0; background: linear-gradient(180deg, var(--color-blue), color-mix(in srgb, var(--color-blue) 60%, #000)); visibility: hidden; max-height: 0; overflow: hidden; transition: max-height .25s; }
    .nav.cms-is-open { visibility: visible; max-height: 70vh; }
    .nav__list { flex-direction: column; align-items: flex-start; padding: 1rem var(--gap); }

    .nav__sep { width: 100%; height: 1px; align-self: auto; margin: .4rem 0; }
}

.cms-theme-toggle { color: #fff; padding: .25rem; font-size: 1.1rem; }

.nav__sep { width: 1px; align-self: stretch; margin: .2rem 0; background: rgb(255 255 255 / .35); }

.block__caption { color: var(--color-muted); font-size: 0.95rem; margin-top: 0.5rem; }

.block--note .block__body,
.block--editor .block__body,
.block--table .block__body {
    margin: 10px;
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px var(--field-line), inset 2px 2px 7px -2px rgba(0, 0, 0, .4);
}

.block--note {
    --note-paper:  light-dark(#fbf9f2, #191c22);
    --note-line:   light-dark(rgba(60, 100, 155, .22), rgba(150, 190, 240, .16));
    --note-margin: light-dark(#d4574e, #a8463f);
    --note-lh: 28px;
}

.block--note .block__body {
    background-color: var(--note-paper);
    background-image:
        linear-gradient(90deg, transparent calc(3.2rem - 1px), var(--note-margin) calc(3.2rem - 1px), var(--note-margin) 3.2rem, transparent 3.2rem),
        repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--note-lh) - 1px), var(--note-line) calc(var(--note-lh) - 1px), var(--note-line) var(--note-lh));
    background-position: 0 0, 0 calc(1.5rem - 1px);
    padding: 1.5rem 1.6rem 1.6rem 4.4rem;
    line-height: var(--note-lh);
    color: var(--color-ink);
    font-family: var(--font-hand);
    font-size: 1.36rem;
}
.block--note .block__body > * { margin-top: 0; margin-bottom: var(--note-lh); }
.block--note .block__body > :last-child { margin-bottom: 0; }
.block--note h3 { margin-top: var(--note-lh); }
@media (max-width: 520px) {
    .block--note .block__body { padding-left: 3.4rem; }
}

.block--table .block__body {
    padding: .4rem 1.2rem;
    background: var(--editor-bg);
}
.datatable { margin: 0; }
.datatable__row {
    display: grid; grid-template-columns: 11rem 1fr; gap: 1rem;
    padding: .55rem 0; border-bottom: 1px solid var(--color-border);
}
.datatable__row:last-child { border-bottom: 0; }
.datatable dt { margin: 0; font-weight: 600; font-family: var(--font-mono); font-size: .84rem; letter-spacing: .02em; text-transform: uppercase; color: var(--color-muted); align-self: center; }
.datatable dd { margin: 0; }
@media (max-width: 560px) { .datatable__row { grid-template-columns: 1fr; gap: .1rem; padding: .5rem 0; } }

.block--editor, .block--table, .block--form {
    --editor-bg: light-dark(#fdfdfa, #0f141b);
}

.block--editor .block__body {
    padding: 1.1rem 1.2rem;
    background: var(--editor-bg);
}
.rte > :first-child { margin-top: 0; }
.rte h3 { margin-top: 1.6rem; font-size: 1.1rem; }
.rte img { margin: 1rem 0; border-radius: var(--radius-sm); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.gallery__item { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--bevel-in); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.05); }

.block--reference { --editor-bg: light-dark(#fdfdfa, #0f141b); }
.block--reference .block__body {
    margin: 10px;
    padding: 1.1rem 1.2rem;
    background: var(--editor-bg);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px var(--field-line), inset 2px 2px 7px -2px rgba(0, 0, 0, .4);
}
.ref > * { margin-top: 0; }
.ref > * + * { margin-top: 1rem; }
.ref__meta {
    font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted);
}
.ref__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.ref__tag {
    font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em;
    padding: .15rem .5rem;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    box-shadow: inset 0 0 0 1px var(--color-border);
}
.ref__links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-family: var(--font-mono); font-size: .85rem; }

.video-embed { position: relative; aspect-ratio: 16/9; background: var(--color-ink); cursor: pointer; overflow: hidden; border-radius: var(--radius-sm); }
.video-embed img, .video-embed iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-lazy__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--color-blue); box-shadow: var(--bevel-out); }
.video-lazy__play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; transform: translateX(3px); }

.cms-form { max-width: 32rem; gap: 1.1rem; }
.cms-form__row label {
    font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted);
}
.cms-form__row input,
.cms-form__row textarea {
    font-family: var(--font-sans); font-size: 1rem;
    padding: .55rem .7rem;
    background: var(--editor-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px var(--field-line), inset 1px 2px 5px -2px rgba(0, 0, 0, .35);
    transition: border-color .15s, box-shadow .15s;
}
.cms-form__row input:focus-visible,
.cms-form__row textarea:focus-visible {
    border-color: var(--color-blue);
    box-shadow: inset 0 0 0 1px var(--field-line), 0 0 0 3px color-mix(in srgb, var(--color-blue) 30%, transparent);
}
.cms-form__row input[aria-invalid="true"],
.cms-form__row textarea[aria-invalid="true"] { border-color: var(--color-red); }

.cms-form__check { align-items: center; }
.cms-form__check input { width: 1.05em; height: 1.05em; margin-top: 0; accent-color: var(--color-green); }

.cms-form__err { color: var(--color-red); font-weight: 600; }
.cms-form__ok  { color: var(--color-green); font-weight: 600; }
.cms-form__msg .cms-form__err,
.cms-form__msg .cms-form__ok {
    display: block; margin: 0 0 .25rem; padding: .65rem .9rem; border-radius: var(--radius-sm);
}
.cms-form__msg .cms-form__err { background: color-mix(in srgb, var(--color-red) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-red) 40%, transparent); }
.cms-form__msg .cms-form__ok  { background: color-mix(in srgb, var(--color-green) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-green) 40%, transparent); }

.cms-form__submit {
    font-family: var(--font-sans);
    padding: .6em 1.35em;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-green) 28%, #fff), var(--color-green));
    color: #08260f;
    border: 1px solid var(--frame);
    border-radius: var(--radius-sm);
    box-shadow: var(--bevel-out);
    transition: transform .1s, filter .15s;
}
.cms-form__submit:hover { filter: brightness(1.06); }
.cms-form__submit:active { transform: translateY(1px); }

.hero { padding: 3rem 0; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero__title { font-size: clamp(2rem, 5vw, 3.5rem); }
.hero__sub { color: var(--color-muted); font-size: 1.15rem; }
.hero__cta { margin-top: 1rem; }
@media (max-width: 720px) { .hero__inner { grid-template-columns: 1fr; } }

.site-footer {
    margin-top: 2rem;
    background: linear-gradient(var(--panel), var(--panel-2));
    border-top: 2px solid var(--frame);
    box-shadow: inset 0 1px 0 var(--bev-hi);
}
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gap); flex-wrap: wrap; gap: 0.5rem; }
.site-footer__admin { color: var(--color-muted); text-decoration: none; font-size: 0.9rem; }
.site-footer__admin:hover { color: var(--color-blue); }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.js .reveal.cms-is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.to-top { width: 44px; height: 44px; border: 1px solid var(--frame); border-radius: var(--radius-sm); background: linear-gradient(180deg, color-mix(in srgb, var(--color-blue) 30%, #fff), var(--color-blue)); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--bevel-out); }

.hero-term { padding: 1.5rem 0 0; }

.term {
    /* Levý sloupec si bere přesně tolik, kolik potřebuje průkazka (popisky
       dovedností jdou z administrace, takže jejich šířku dopředu neznáme),
       konzole dostane zbytek – nejmíň ale 40 % okna, aby se nesmrskla. */
    display: grid; grid-template-columns: minmax(0, auto) minmax(40%, 1fr);
    background: var(--term-bg); color: var(--term-fg); text-shadow: 0 0 6px rgba(70, 255, 150, .5);
    font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6;
    min-height: 264px; box-shadow: var(--bevel-in);
    position: relative; overflow: hidden;
}
.term__main { padding: 14px; min-width: 0; }
.term__side {
    display: flex; flex-direction: column; gap: 12px; padding: 14px; min-width: 0;
    border-right: 1px solid color-mix(in srgb, var(--term-fg) 32%, transparent);
}
.term__h1 { font: inherit; margin: 0; letter-spacing: 0; }

.term__pic {
    position: relative; flex: none;
    width: 100%; aspect-ratio: 1; overflow: hidden;
    background-color: var(--term-fg); opacity: .9;
    border: 1px solid color-mix(in srgb, var(--term-fg) 45%, transparent);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(60, 255, 140, .18);
}

.term__pic::before {
    content: ""; position: absolute; inset: 0;
    background: url("img/portrait.png") no-repeat center / contain;
    mix-blend-mode: multiply;
}

.term::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0, rgba(0,0,0,.18) 1.5px, transparent 3px); }
.term .dim { color: var(--term-dim); text-shadow: none; }
.term .amber { color: var(--term-amber); }
.term__cur { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; margin-left: 2px; background: var(--term-fg); box-shadow: 0 0 8px var(--term-fg); animation: term-blink 1.05s step-end infinite; }
@keyframes term-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .term__cur { animation: none; } }

.term__top { display: flex; flex-wrap: wrap-reverse; justify-content: flex-end; align-items: flex-end; gap: 12px; }
/* Pevná šířka, ne procenta: levý sloupec terminálu se teď měří podle obsahu
   (`auto` track), a procentní šířka uvnitř by se neměla o co opřít. */
.term__aside { flex: none; width: 116px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.term__foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 10px; }
/* Mřížku drží .sheet, ne jednotlivé řádky (ty jsou `display: contents`) – jinak
   si každý řádek určuje šířku sloupce sám a popisky se nezarovnají. Sloupec s
   popiskem roste podle nejdelšího z nich (max-content) a v úzkém okně se smrskne
   až na výpustku; dokud tu byla pevná šířka 7.5em, delší popisek z administrace
   z ní vytekl a překryl tečky úrovně. */
.sheet { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(0, max-content) auto; align-items: center; gap: 4px 8px; }
.sheet__hd { grid-column: 1 / -1; font-weight: 700; margin-bottom: 4px; letter-spacing: .3px; }
.sheet__row { display: contents; }
.sheet__k { color: var(--term-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__bar { white-space: nowrap; }
.sheet__bar .off { color: var(--term-dim); opacity: .5; }
.sheet__perk { color: var(--term-dim); }
.sheet__perk b { color: var(--term-fg); font-weight: 400; }
.sheet__lvl { font-weight: 700; white-space: nowrap; }

.term__btn {
    position: relative; align-self: center;
    font: inherit; font-size: .85em; line-height: 1.5;
    color: var(--term-amber); text-shadow: 0 0 6px rgba(255, 207, 107, .45);
    padding: 0 6px; cursor: pointer;
    background: color-mix(in srgb, var(--term-amber) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--term-amber) 45%, transparent);
    border-radius: 2px;
}
.term__btn::after { content: ""; position: absolute; inset: -6px; }
.term__btn:hover { background: color-mix(in srgb, var(--term-amber) 20%, transparent); }
.term__btn:active { transform: translateY(1px); }

@media (max-width: 860px) {
    .term { grid-template-columns: 1fr; }
    .term__side { border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--term-fg) 32%, transparent); }

    .term__top {
        display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr;
        column-gap: 14px; row-gap: 4px; align-items: start; max-width: 24rem;
    }
    .term__aside, .sheet { display: contents; }
    .term__pic { grid-area: 1 / 1 / 4 / 2; width: clamp(104px, 32vw, 132px); margin-bottom: 10px; }
    .sheet__hd { grid-area: 1 / 2; margin-bottom: 4px; }
    .sheet__lvl { grid-area: 2 / 2; }
    .term__btn { grid-area: 3 / 2; justify-self: start; align-self: end; margin-bottom: 10px; }
    .sheet__row { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-block: 0; }
    .term__foot { margin-top: 4px; }
}

.error404 { text-align: center; align-items: center; }
.error404__code { font-size: 5rem; font-weight: 700; color: var(--color-blue); margin: 0; }
