/* ---------- Tokens ---------- */
:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --text: #1f2328;
    --muted: #656d76;
    --border: #e3e3df;
    --accent: #2f6feb;
    --accent-soft: #e8f0fe;
    --fill: #efefec;
    --faint: #9a9fa5;
    --ring: rgb(0 0 0 / .06);

    --radius: 8px;
    --gap: 1rem;
    --container: 72rem;
    --header-h: 3.5rem;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111315;
        --surface: #1a1d20;
        --text: #e6e6e3;
        --muted: #9aa1a8;
        --border: #2b2f33;
        --accent: #6ea0ff;
        --accent-soft: #1c2a44;
        --fill: #1c1f22;
        --faint: #62686e;
        --ring: rgb(255 255 255 / .06);
    }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--font);
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gap);
}

main.container {
    flex: 1;
    padding-block: calc(var(--gap) * 2);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    gap: calc(var(--gap) * 1.5);
    min-height: var(--header-h);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.nav__brand:hover { text-decoration: none; }

/* "Verwaltung" on the brand's line, set off by a thin rule instead of a badge. */
.nav__area {
    padding-left: .6rem;
    border-left: 1px solid var(--border);
    color: var(--muted);
    font-weight: 400;
}

.site-header--admin { box-shadow: inset 0 2px 0 var(--accent); }

.nav__links {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__links a,
.nav__more summary {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: .375rem .75rem;
    border-radius: var(--radius);
    color: var(--muted);
    white-space: nowrap;
}
.nav__links a:hover,
.nav__more summary:hover { color: var(--text); background: var(--bg); text-decoration: none; }
.nav__links a.is-active,
.nav__more summary.is-active { color: var(--accent); background: var(--accent-soft); }

.nav__more { position: relative; }
.nav__more summary { cursor: pointer; list-style: none; }
.nav__more summary::-webkit-details-marker { display: none; }
.nav__more[open] summary .icon { transform: rotate(180deg); }

.nav__menu {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    min-width: 12rem;
    margin: 0;
    padding: .35rem;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgb(0 0 0 / .12);
}

.nav__tools {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
}

.nav__icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--muted);
    cursor: pointer;
}
.nav__icon:hover { color: var(--text); background: var(--bg); }

.icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
}
.nav__more .icon { width: 1rem; height: 1rem; transition: transform .15s; }

/* Narrow screens: brand and tools on the first row, the menu below. */
@media (max-width: 40rem) {
    .nav { flex-wrap: wrap; gap: 0 var(--gap); padding-block: .25rem; }
    .nav__links { order: 3; width: 100%; flex-wrap: wrap; gap: 0; padding-bottom: .35rem; margin-left: -.5rem; }
    .nav__links a,
    .nav__more summary { padding: .35rem .5rem; font-size: .9rem; }
    .nav__area { display: none; }
    .nav__menu { left: auto; right: 0; }
}

/* ---------- Login ---------- */
.login { max-width: 24rem; margin: 10vh auto 0; }
.login h1 { margin-bottom: var(--gap); }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding-block: var(--gap);
    color: var(--muted);
}

/* ---------- Components ---------- */
.page-head { margin-bottom: calc(var(--gap) * 1.5); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: calc(var(--gap) * 1.25);
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.list li + li { border-top: 1px solid var(--border); }
.list__item {
    display: block;
    padding: .75rem var(--gap);
    color: var(--text);
}
.list__item:hover { background: var(--accent-soft); text-decoration: none; }

.meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .25rem var(--gap);
    margin: 0;
}
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }

h2 { font-size: 1.15rem; margin-top: calc(var(--gap) * 1.5); }
.card h2:first-child { margin-top: 0; }
.card + .card, .card + section, section + .card { margin-top: var(--gap); }
.lead { font-size: 1.1rem; color: var(--muted); }
.prose { white-space: normal; }
.break { overflow-wrap: anywhere; }
.right { text-align: right; }
.error { color: var(--danger); display: block; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding: .25rem 0; }

:root {
    --danger: #c62828;
    --warning-bg: #fff4d6;
    --warning: #8a5a00;
    --public-bg: #e3f5e8;
    --public: #1d6b35;
}
@media (prefers-color-scheme: dark) {
    :root {
        --danger: #ff7a7a;
        --warning-bg: #3a2e10;
        --warning: #ffcc66;
        --public-bg: #16311f;
        --public: #7ddc98;
    }
}

/* ---------- Page head ---------- */
.page-head--actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gap);
    flex-wrap: wrap;
}
.actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.button {
    display: inline-block;
    padding: .45rem .9rem;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.button:hover { text-decoration: none; filter: brightness(1.05); }
.button--secondary { background: var(--surface); color: var(--accent); }
.button--danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.button--small { padding: .2rem .55rem; font-size: .875rem; }
form.inline { display: inline-flex; gap: .35rem; align-items: center; margin: 0; }

/* ---------- Badges, tags ---------- */
.badge {
    display: inline-block;
    padding: .05rem .5rem;
    border-radius: 999px;
    font-size: .8rem;
    background: var(--accent-soft);
    color: var(--accent);
    vertical-align: middle;
}
.badge--draft { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.badge--public { background: var(--public-bg); color: var(--public); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.tag { padding: .05rem .5rem; border: 1px solid var(--border); border-radius: 999px; font-size: .875rem; }

/* ---------- Flash ---------- */
.flash { padding: .6rem var(--gap); border-radius: var(--radius); background: var(--public-bg); color: var(--public); }
.flash--error { background: var(--warning-bg); color: var(--danger); }

/* ---------- Forms ---------- */
.form fieldset { margin: 0 0 var(--gap); }
.form legend { font-weight: 600; padding: 0 .25rem; }
.field { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .8rem; min-width: 0; }
.field label { font-weight: 500; }
.field--checkbox label { display: flex; gap: .5rem; align-items: center; font-weight: 500; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
/* :where() keeps this base rule at element specificity so components can override it. */
input:where(:not([type=checkbox], [type=radio], [type=file])), select, textarea {
    width: 100%;
    padding: .45rem .6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font: inherit;
}
textarea { resize: vertical; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
/* Author rows in the work form */
.author-rows { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .4rem; }
.author-row { display: flex; gap: .4rem; align-items: center; position: relative; }
.author-suggest, .suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 2.5rem;
    z-index: 20;
    margin: .2rem 0 0;
    padding: .25rem 0;
    list-style: none;
    max-height: 14rem;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.author-suggest li, .suggest li { padding: .35rem .75rem; cursor: pointer; }
.author-suggest li.is-active, .author-suggest li[role=option]:hover,
.suggest li.is-active, .suggest li:hover { background: var(--accent-soft); }
.suggest { right: 0; top: 100%; }
.suggest__new { color: var(--muted); font-style: italic; }
.combobox, .kv-key { position: relative; }
.combobox .suggest { top: calc(100% - .8rem); }
.kv-key input { width: 100%; }
.author-row .suggest { right: 2.5rem; }
.with-action { display: flex; gap: .4rem; }
.with-action input { flex: 1; min-width: 0; }
.author-suggest__new { color: var(--muted); font-size: .875rem; cursor: default !important; }
.author-row input { flex: 1; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--gap); align-items: center; }
.filters input, .filters select { width: auto; flex: 1 1 10rem; }
/* ---------- Work form ---------- */
.work-form .step { margin: 0 0 var(--gap); }
.step__title { font-size: 1.05rem; margin-bottom: 1rem; }
.has-wizard .step__title { display: none; }

/* Step indicator: numbers on a line, the label below; done, current, with errors. */
.steps { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; margin: 0 0 var(--gap); padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; display: flex; justify-content: center; }
/* The line between two numbers, behind them. */
.steps li + li::before { content: ""; position: absolute; top: 1rem; right: 50%; width: 100%; height: 2px; background: var(--border); }
.steps li.is-done + li::before, .steps li.is-active::before { background: var(--accent); }
.steps button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 0 .25rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: .875rem; cursor: pointer; }
.steps button::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--border); background: var(--bg); font-weight: 600; transition: background .15s, border-color .15s; }
.steps button:hover { color: var(--text); }
.steps .is-active button { color: var(--text); font-weight: 600; }
.steps .is-active button::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps .is-done button::before { content: "✓"; border-color: var(--accent); color: var(--accent); }
.steps .has-error button { color: var(--danger); }
.steps .has-error button::before { content: "!"; border-color: var(--danger); color: var(--danger); background: var(--bg); }
@media (max-width: 30rem) { .steps button { font-size: .75rem; } }

/* Type as chips */
.choice { border: 0; padding: 0; margin: 0 0 .8rem; }
.choice legend { font-weight: 500; padding: 0; margin-bottom: .35rem; }
.choice__options { display: flex; flex-wrap: wrap; gap: .4rem; }
.choice__option input { position: absolute; opacity: 0; pointer-events: none; }
.choice__option span { display: block; padding: .3rem .75rem; border: 1px solid var(--border); border-radius: 999px; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.choice__option span:hover { color: var(--text); border-color: var(--muted); }
.choice__option input:checked + span { background: var(--text); border-color: var(--text); color: var(--surface); }
.choice__option input:focus-visible + span { outline: 2px solid var(--muted); outline-offset: 2px; }

/* Big choices with a title and a line of explanation: medium, visibility. */
.media__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .6rem; }
.media legend, .visibility legend { font-weight: 500; padding: 0; margin-bottom: .35rem; }
.media, .visibility { border: 0; padding: 0; margin: 0 0 1.1rem; }
.visibility { display: grid; gap: .6rem; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card__body {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    height: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.option-card__body small { color: var(--muted); line-height: 1.4; }
.option-card__body:hover { border-color: var(--muted); }
.option-card input:checked + .option-card__body { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.option-card input:focus-visible + .option-card__body { outline: 2px solid var(--muted); outline-offset: 2px; }

/* Drop zone: the whole area is the file input's label. */
.dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: 1.5rem 1rem;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 400 !important;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone .icon { width: 1.75rem; height: 1.75rem; color: var(--muted); margin-bottom: .25rem; }
.dropzone:hover, .dropzone.is-over, .dropzone:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.dropzone__pick { color: var(--accent); text-decoration: underline; }
/* Analogue the files are the work: a taller zone. */
.is-analog .dropzone { padding-block: 2.5rem; }
.file-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.file-list li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto auto; gap: .6rem; align-items: center; padding: .3rem .4rem; border: 1px solid var(--border); border-radius: var(--radius); }
.file-list img, .file-list__type { width: 2.5rem; height: 2.5rem; border-radius: 4px; object-fit: cover; }
.file-list__type { display: grid; place-items: center; background: var(--fill); color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.file-list__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint { font-size: .9rem; }
.recap { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.recap h3 { font-size: .95rem; }

/* Visibility in the save bar; opens the visibility step. */
.visibility-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .9rem; }
.visibility-chip:hover { color: var(--text); text-decoration: none; }
.visibility-chip .icon { width: 1rem; height: 1rem; }
.visibility-chip.is-public { background: var(--public-bg); color: var(--public); border-color: transparent; }

/* Free fields: name | value | × */
.kv-rows { list-style: none; margin: 0 0 .35rem; padding: 0; display: grid; gap: .4rem; }
.kv-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: .4rem; align-items: center; }
.kv-add { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; }
.icon-button { width: 2rem; height: 2rem; border: 0; border-radius: var(--radius); background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.icon-button:hover { color: var(--text); background: var(--bg); }
.link-button { padding: .2rem 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: .9rem; cursor: pointer; }
.link-button:hover { text-decoration: underline; }


/* Save bar: visibility left, buttons right; stays in view while scrolling. */
.form-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem var(--gap); padding: .75rem var(--gap); margin: 0 calc(var(--gap) * -1); background: var(--bg); border-top: 1px solid var(--border); }
.form-bar .field { margin: 0; }

details.add { margin-top: var(--gap); }
details.add > summary { list-style: none; }
details.add > summary::-webkit-details-marker { display: none; }
details.add[open] > summary { margin-bottom: var(--gap); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: .55rem .75rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-weight: 600; color: var(--muted); font-size: .875rem; }
.table tr:last-child td { border-bottom: 0; }
@media (max-width: 40rem) {
    .table { display: block; overflow-x: auto; }
}

/* ---------- Layout helpers ---------- */
.columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
@media (max-width: 52rem) { .columns { grid-template-columns: 1fr; } }
.meta--stacked { grid-template-columns: 1fr; }
.meta--stacked dt { font-size: .85rem; margin-top: .5rem; }

/* Outlet profile: works left, profile card right (first on narrow screens). */
.columns--profile { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); }
@media (max-width: 52rem) { .columns--profile { grid-template-columns: 1fr; } .columns--profile .profile { order: -1; } }
.profile > * { margin: 0 0 .5rem; }
.profile__logo { display: block; max-width: 8rem; max-height: 5rem; object-fit: contain; margin-bottom: 1rem; }
.profile__name { font-size: 1.5rem; }

/* Public work sidebar: unlabelled lines, each self-explanatory. */
.facts { display: flex; flex-direction: column; gap: .75rem; }
.facts > * { margin: 0; }
.facts__authors { font-weight: 600; }
.facts__fields { display: grid; gap: .2rem; }
.facts__fields div { display: flex; justify-content: space-between; gap: 1rem; }
.facts__fields dt { color: var(--muted); }
.facts__fields dd { margin: 0; text-align: right; }
.facts__links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; }
.facts__links small { flex-basis: 100%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.stat { display: flex; flex-direction: column; color: var(--text); }
.stat:hover { text-decoration: none; border-color: var(--accent); }
.stat__value { font-size: 1.75rem; font-weight: 700; }
.pagination { display: flex; gap: var(--gap); justify-content: center; margin-top: var(--gap); }

/* ---------- Assets, map ---------- */
.assets { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.asset { display: grid; grid-template-columns: 8rem 1fr; gap: var(--gap); padding-bottom: var(--gap); border-bottom: 1px solid var(--border); }
.asset:last-child { border-bottom: 0; }
.asset > :only-child { grid-column: 1 / -1; }
.asset img, .asset video { width: 100%; border-radius: var(--radius); }
.asset__body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.asset__body p { margin: 0; }
.raw-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; max-height: 30rem; overflow: auto; }
.map { height: 20rem; border-radius: var(--radius); margin-bottom: var(--gap); z-index: 0; }

/* ---------- Public search ---------- */
/* A filled field with a magnifier and an Enter hint (which is the submit
   button); no browser focus ring, focus lifts the field instead. */
.search {
    display: flex;
    align-items: center;
    gap: .6rem;
    height: 2.75rem;
    padding: 0 .4rem 0 .85rem;
    margin-bottom: var(--gap);
    background: var(--fill);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.search:focus-within { background: var(--surface); border-color: var(--border); box-shadow: 0 0 0 4px var(--ring); }
.search > .icon { color: var(--muted); }
.search input[type=search] {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.search input[type=search]::placeholder { color: var(--faint); }
.search input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__submit {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: .3rem .45rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: none;
    color: var(--muted);
    font: 500 .75rem/1 var(--font);
    cursor: pointer;
}
.search__submit:hover { color: var(--text); }
.search__submit .icon { width: .8rem; height: .8rem; }
.search__submit:focus-visible { outline: 2px solid var(--muted); outline-offset: 1px; }
/* Touch screens have no Enter key to hint at: an arrow is clearer there. */
@media (hover: none) {
    .search__submit span { display: none; }
    .search__submit .icon { width: 1rem; height: 1rem; }
}
.search-landing {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
    text-align: center;
}
.search-landing h1 { font-size: 2rem; font-weight: 650; letter-spacing: -.03em; margin: 0; }
.search--large { width: 100%; max-width: 38rem; height: 3.25rem; padding-right: .6rem; }
.search--large input[type=search] { font-size: 1.05rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .15rem .65rem; border-radius: 999px; background: var(--accent-soft); font-size: .9rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: var(--gap); overflow-x: auto; }
.tab { padding: .5rem .85rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--text); text-decoration: none; }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.tab__count { font-size: .8rem; color: var(--muted); }
