/* joukekorf.nl: calm, modern, light/dark following the device. Mobile first. */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f0f2f7;
  --text: #1c2030;
  --muted: #5d6478;
  --border: #dfe3ec;
  --primary: #3d63e8;
  --primary-text: #ffffff;
  --danger: #c4372f;
  --focus: #3d63e8;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 4px 16px rgba(20, 24, 40, .05);
  --radius: 14px;
  --s-idea: #6b7280;
  --s-active: #2f6fe0;
  --s-live: #1f9a5c;
  --s-paused: #d07a12;
  --s-done: #7c55d6;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12141b;
    --surface: #1b1e28;
    --surface-2: #242835;
    --text: #e8eaf2;
    --muted: #9aa1b5;
    --border: #2f3445;
    --primary: #7a97ff;
    --primary-text: #0d1020;
    --danger: #ff7b72;
    --focus: #7a97ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    --s-idea: #9ca3af;
    --s-active: #6c9bff;
    --s-live: #4cc38a;
    --s-paused: #f0a64a;
    --s-done: #ad8cff;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[hidden] { display: none !important; }

a { color: var(--primary); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 .75em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 10px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Buttons and form controls ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--danger); }
.btn.small { min-height: 32px; padding: 0 10px; font-size: .875rem; }
.btn:disabled, .icon-btn:disabled { opacity: .45; cursor: default; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
}
.icon-btn:hover:not(:disabled) { background: var(--surface-2); }

label { display: block; }
label > span:first-child { display: block; font-weight: 550; font-size: .9rem; margin-bottom: 4px; }
label + label, label + .cols, .cols + label { margin-top: 12px; }

input, select, textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
textarea { resize: vertical; min-height: 0; }
input[type="color"] { padding: 3px; height: 40px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; accent-color: var(--primary); flex: none; }
input[type="file"] { padding: 6px; }

label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check > span:first-child, label.check span { display: inline; font-weight: 400; font-size: 1rem; margin: 0; }

.cols { display: grid; gap: 12px; grid-template-columns: 1fr; }
.cols > label + label { margin-top: 0; }
@media (min-width: 640px) { .cols { grid-template-columns: repeat(3, 1fr); } }

.form-error { color: var(--danger); font-weight: 550; margin: 12px 0 0; }

/* ---------- Panels and cards ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel > .btn, .panel > form { margin-top: 12px; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  --accent: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card p { margin: 0; }
.card-head { display: flex; align-items: center; gap: 10px; }
.card-head h3 { margin: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.card-head h3 a { color: inherit; text-decoration: none; }
.card-head h3 a:hover { text-decoration: underline; }
.emoji { font-size: 1.5rem; line-height: 1; }
.desc { overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; overflow-wrap: anywhere; }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.project-card[draggable="true"] { cursor: grab; }
.project-card.dragging { opacity: .5; }

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 650;
  white-space: nowrap;
  color: var(--sc, var(--muted));
  background: color-mix(in srgb, var(--sc, var(--muted)) 14%, transparent);
}
.badge.public { --sc: var(--primary); }
.status-idea { --sc: var(--s-idea); }
.status-active { --sc: var(--s-active); }
.status-live { --sc: var(--s-live); }
.status-paused { --sc: var(--s-paused); }
.status-done { --sc: var(--s-done); }

.links { display: flex; flex-wrap: wrap; gap: 6px; }
.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: .875rem;
  font-weight: 550;
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-btn::before { content: "↗"; margin-right: 6px; color: var(--muted); }
.link-btn.type-github::before { content: "⌥"; }
.link-btn.type-session::before { content: "✦"; color: var(--s-done); }
.link-btn.type-admin::before { content: "⚙"; }
.link-btn:hover { background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); }

.tasks-head { display: flex; align-items: center; gap: 10px; }
.bar { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--accent); }
.task-list { list-style: none; margin: 6px 0 0; padding: 0; }
.task-list li + li { margin-top: 4px; }
.task-list .check span { font-size: .93rem; }

.notes summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.notes-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 6px; font-size: .93rem; }

/* ---------- Public home page ---------- */

.public main { padding-top: 56px; padding-bottom: 32px; }
.hero { max-width: 680px; margin-bottom: 40px; }
.hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); letter-spacing: -.01em; }
.intro p { font-size: 1.1rem; color: var(--muted); white-space: pre-line; }
.public-card .btn { align-self: flex-start; margin-top: auto; }
.footer { padding-top: 24px; padding-bottom: 32px; font-size: .875rem; }
.footer a { color: var(--muted); }

/* ---------- Private area ---------- */

.center-view { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-panel { width: 100%; max-width: 420px; }
.auth-panel .btn.primary { width: 100%; margin-top: 18px; }
.auth-panel > a { display: block; text-align: center; margin-top: 14px; }

.topbar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--primary); color: var(--primary-text); font-weight: 700; text-decoration: none; font-size: .9rem; }
.tabs { display: flex; gap: 2px; order: 3; width: 100%; overflow-x: auto; padding-bottom: 6px; }
.tabs a { padding: 6px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 550; white-space: nowrap; }
.tabs a:hover { background: var(--surface-2); }
.tabs a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.who { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 700px) {
  .tabs { order: 0; width: auto; padding-bottom: 0; }
}

#view-app main { padding-top: 20px; padding-bottom: 24px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.toolbar-right { display: flex; gap: 8px; flex: 1 1 280px; justify-content: flex-end; }
.toolbar-right input { max-width: 280px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font: inherit; font-size: .875rem; cursor: pointer;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc, var(--muted)); }
.chip:first-child::before { display: none; }
.chip.active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.chip .count { color: var(--muted); font-size: .8rem; }
#sort-hint { margin-bottom: 12px; }

/* Step plan */
.roadmap-group h3 { margin-bottom: 10px; }
.roadmap-list { list-style: none; margin: 0; padding: 0; }
.roadmap-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.roadmap-item:first-child { border-top: 0; }
.rm-status { flex: none; width: 76px; font-size: .78rem; font-weight: 650; color: var(--muted); padding-top: 2px; }
.roadmap-item.status-done .rm-status { color: var(--s-live); }
.roadmap-item.status-done strong { text-decoration: line-through; color: var(--muted); }
.roadmap-item.status-doing .rm-status { color: var(--s-active); }
.rm-body p { margin: 4px 0 0; color: var(--muted); }

/* Editor dialog */
.editor {
  width: min(760px, 100vw);
  max-width: 100vw;
  max-height: 100dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.editor::backdrop { background: rgba(10, 12, 20, .5); }
.editor form { display: flex; flex-direction: column; max-height: calc(100dvh - 2px); }
.editor-head, .editor-foot { display: flex; align-items: center; gap: 8px; padding: 14px 18px; }
.editor-head { border-bottom: 1px solid var(--border); }
.editor-head h2 { margin: 0; flex: 1; }
.editor-foot { border-top: 1px solid var(--border); flex-wrap: wrap; }
.editor-body { overflow-y: auto; padding: 4px 18px 16px; }
.editor > form > .form-error { padding: 0 18px; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
legend { font-weight: 700; font-size: 1rem; margin-bottom: 10px; padding: 0; }
.rows > * + * { margin-top: 8px; }
.rows:not(:empty) { margin-bottom: 10px; }
.row-item { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.link-row { grid-template-columns: 1fr 1fr; }
.link-row .f-url, .link-row .f-note { grid-column: 1 / -1; }
.link-row .row-actions { grid-column: 1 / -1; }
.task-row { grid-template-columns: auto 1fr auto; align-items: center; padding: 6px 8px; }
.task-row .f-done { margin: 0 4px; }
@media (min-width: 700px) {
  .link-row { grid-template-columns: 150px 1fr 1.6fr; }
  .link-row .f-url { grid-column: auto; }
  .link-row .f-note { grid-column: 1 / 3; }
  .link-row .f-date { grid-column: 3; }
  .link-row .row-actions { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .editor { border-radius: 0; height: 100dvh; width: 100vw; }
  .editor form { height: 100%; }
  /* Cancel + save side by side; delete as a quieter full-width row below */
  .editor-foot .spacer { display: none; }
  .editor-foot .btn { flex: 1; }
  .editor-foot .btn.danger { order: 3; flex-basis: 100%; border-color: transparent; min-height: 34px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 50;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg);
  box-shadow: var(--shadow); font-weight: 550;
}
.toast.error { background: var(--danger); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .link-btn { transition: background-color .15s, filter .15s; }
}

/* ---------- 1.1.0: status, commits, log, two-step verification ---------- */

.button-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.link-like { border-color: transparent; background: transparent; color: var(--muted); width: 100%; margin-top: 8px; }
select.auto-width { width: auto; max-width: 100%; }
.icon-btn.small { width: 30px; height: 30px; font-size: .9rem; }

/* Status line and commits on a project card */
.status-line { display: flex; align-items: center; gap: 8px; margin: 0; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.state-up { background: var(--s-live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-live) 20%, transparent); }
.dot.state-warn { background: var(--s-paused); }
.dot.state-down { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
.commits summary { cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.commit-list { margin: 6px 0 0; padding-left: 0; list-style: none; }
.commit-list li { padding: 3px 0; overflow-wrap: anywhere; }
.commit-list code, .log-item code { font-size: .8rem; color: var(--muted); }
.last-log { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-line { overflow-wrap: anywhere; }

/* Project log */
.log-list { display: flex; flex-direction: column; gap: 14px; }
.log-list.compact { margin-top: 12px; gap: 10px; }
.log-date { font-size: .9rem; color: var(--muted); font-weight: 650; margin: 0 0 6px; }
.log-date::first-letter { text-transform: uppercase; }
.log-items { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.log-item { --accent: var(--border); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; padding: 10px 12px; border-left: 3px solid var(--accent); }
.log-item + .log-item { border-top: 1px solid var(--border); }
.log-item:first-child { border-top-left-radius: 11px; }
.log-item:last-child { border-bottom-left-radius: 11px; }
.log-project { font-weight: 650; font-size: .9rem; text-decoration: none; color: var(--text); white-space: nowrap; }
.log-text { flex: 1 1 220px; white-space: pre-wrap; overflow-wrap: anywhere; }
.log-item:not(.kind-note) .log-text { color: var(--muted); font-style: italic; }
.log-actions { display: flex; gap: 4px; margin-left: auto; }
.log-edit { display: grid; gap: 6px; width: 100%; }
.log-add { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .log-add { grid-template-columns: 160px 1fr auto; align-items: start; }
}
.compact .log-items { background: var(--surface-2); }

/* Two-step verification */
.twofa-status { font-weight: 650; margin: 0; }
.twofa-status::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); margin-right: 8px; }
.twofa-status.on::before { background: var(--s-live); }
.steps { margin: 0; padding-left: 1.3em; }
.steps li + li { margin-top: 8px; }
.secret-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.secret, .code-list code { font: 600 1rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; background: var(--surface-2); padding: 6px 10px; border-radius: 8px; overflow-wrap: anywhere; }
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.codes-box { border: 1px dashed var(--border); border-radius: 12px; padding: 16px; }
.code-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.toolbar-right { flex-wrap: wrap; }
@media (min-width: 1040px) {
  .toolbar-right { flex-wrap: nowrap; flex: 0 1 auto; }
  .toolbar-right input { width: 220px; }
}
@media (max-width: 640px) {
  .toolbar-right input { max-width: none; flex: 1 1 100%; }
  .toolbar-right .btn { flex: 1; }
}
@media (max-width: 480px) {
  .tabs a { padding: 6px 7px; font-size: .88rem; }
}

/* ---------- 1.2.0: QR code, background tasks ---------- */

.qr { display: block; width: 200px; max-width: 100%; margin: 8px 0; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.qr svg { display: block; width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
}
.notice { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--s-paused) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--s-paused) 40%, transparent); }
.backup-list { list-style: none; margin: 0; padding: 0; }
.backup-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px solid var(--border); }
.backup-list li:first-child { border-top: 0; }
.backup-name { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; flex: 1 1 260px; overflow-wrap: anywhere; }

/* ---------- 1.3.0: files ---------- */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dropzone { border: 2px dashed var(--border); box-shadow: none; text-align: center; display: grid; gap: 10px; justify-items: center; }
.dropzone.dragging { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.dropzone-text { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; }
.dropzone-text label { margin: 0; }
.inline-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.inline-label > span:first-child { display: inline; margin: 0; }
.small-select { min-height: 32px; padding: 4px 8px; font-size: .875rem; }
.upload-queue { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 640px; text-align: left; }
.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 2px 10px; padding: 4px 0; }
.upload-row > .small { grid-column: 1 / -1; }
.upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-row.failed .bar-fill { background: var(--danger); }
.upload-row.failed .small { color: var(--danger); }
.upload-row .bar-fill { background: var(--primary); }

.file-items { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.file-item { --accent: var(--border); display: flex; gap: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); }
.file-item + .file-item { border-top: 1px solid var(--border); }
.file-thumb { flex: none; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.file-ext { display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.file-main { flex: 1; min-width: 0; }
.file-main p { margin: 2px 0 8px; }
.file-name { font-weight: 600; overflow-wrap: anywhere; color: var(--text); text-decoration: none; }
.file-name:hover { text-decoration: underline; }
.file-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.btn.active { border-color: var(--primary); color: var(--primary); }
.share-box { margin-top: 10px; padding: 10px; border-radius: 10px; background: var(--surface-2); }
.share-box p { margin: 6px 0 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.share-row input { flex: 1 1 260px; min-height: 32px; font-size: .85rem; }
.editor-file-list { list-style: none; margin: 0 0 10px; padding: 0; }
.editor-file-list li { padding: 3px 0; overflow-wrap: anywhere; }

/* ---------- 1.4.0: installable app ---------- */

/* Room for the notch/status bar when the app runs fullscreen on a phone */
.topbar { padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
#view-app main, #view-app .footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.app-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); object-fit: cover; background: var(--surface-2); }
.howto { margin: 8px 0 0; padding-left: 1.2em; }
.howto li + li { margin-top: 6px; }
#install-help summary { cursor: pointer; color: var(--primary); font-weight: 550; }
.icon-btn.active { border-color: var(--primary); color: var(--primary); }
@media (max-width: 480px) {
  .tabs { flex-wrap: wrap; overflow-x: visible; }
}
