/* Yooker huisstijl (bron: Yooker Brand Config) */
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fjalla One"; src: url(fonts/fjalla-one.woff2) format("woff2"); font-display: swap; }
:root { --accent: #0067a5; --accent-2: #00578c; --green: #00a473; --ink: #030222; --muted: #566070; --line: #e3e6f2; --bg: #f7f8ff; --tint: #e5f0f7; }
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
h1 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 17px; margin: 0 0 10px; }
h3 { font-size: 14px; margin: 24px 0 10px; }
code, pre { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
pre { margin: 0; white-space: pre-wrap; word-break: break-all; }
.num { font-family: "Fjalla One", "Inter", sans-serif; letter-spacing: .02em; }
.muted { color: var(--muted); font-size: 13px; font-weight: 400; }
.small { font-size: 12px; }
.error { background: #fdecec; color: #b91c1c; padding: 10px 12px; border-radius: 8px; }

/* ---------- app-layout ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.nav { background: #fff; border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; text-decoration: none; }
.brand img { height: 28px; display: block; }
.brand span { color: var(--muted); font-weight: 500; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 16px 10px 6px; }
.nav-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-link span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-link:hover { background: var(--bg); }
.nav-link.active { background: var(--tint); color: var(--accent); }
.nav-count { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 0 7px; line-height: 18px; flex: none; }
.nav-new { padding: 8px 10px; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-new:hover { color: var(--accent); }
.nav-user { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 12px 8px 0; border-top: 1px solid var(--line); font-weight: 500; }
.nav-user a { margin-left: auto; font-size: 12px; color: var(--muted); }
.main { padding: 28px 32px; min-width: 0; }
.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-head p { margin: 2px 0 0; }

/* ---------- algemene elementen ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.narrow { width: 100%; max-width: 400px; }
.logo-login { display: block; height: 40px; margin: 0 auto 16px; }
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 13px; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #cfd4e2; border-radius: 8px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: #c5cbe0; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.success { background: var(--green); border-color: var(--green); color: #fff; }
.btn.danger { color: #b91c1c; }
.badge { font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 600; background: var(--tint); color: var(--accent); white-space: nowrap; }
.badge.resolved { background: #e3f6ef; color: #00805a; }
.avatar { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
img.avatar { object-fit: cover; }
.nav-user .avatar { width: 30px; height: 30px; }
.chip { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; font-size: 12px; margin: 0 4px 4px 0; }
.chip.warn { background: #fdecec; border-color: #f8caca; color: #b91c1c; }

/* ---------- overzicht ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcard:hover { border-color: #c5cbe0; box-shadow: 0 10px 28px rgba(3, 2, 34, .08); transform: translateY(-2px); }
.pcard-shot { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pcard-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-family: "Fjalla One", sans-serif; font-size: 56px; color: #c5cbe0; }
.pcard-badge { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(3, 2, 34, .2); }
.pcard-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.pcard-name { font-weight: 600; font-size: 16px; }
.pcard-domain { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-progress { display: block; height: 4px; border-radius: 4px; background: var(--tint); margin: 12px 0 10px; overflow: hidden; }
.pcard-progress i { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.pcard .dot { width: 7px; height: 7px; margin: 0; }
.pcard-new { align-items: center; justify-content: center; gap: 6px; min-height: 260px; border: 1.5px dashed #cfd4e3; background: transparent; color: var(--muted); font-weight: 600; }
.pcard-new span { font-size: 30px; font-weight: 300; line-height: 1; }
.pcard-new:hover { color: var(--accent); border-color: var(--accent); background: #fff; }

/* ---------- project: kop ---------- */
.head-actions { display: flex; align-items: center; gap: 8px; }
.search input { width: 240px; margin: 0; padding: 7px 11px; }
.viewswitch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.viewswitch a { display: flex; align-items: center; justify-content: center; width: 36px; height: 34px; color: var(--muted); }
.viewswitch a + a { border-left: 1px solid var(--line); }
.viewswitch a.on { background: var(--tint); color: var(--accent); }
.viewswitch svg { width: 17px; height: 17px; }
.ico { width: 16px; height: 16px; }
.empty-state { text-align: center; padding: 60px 20px; }

/* ---------- bord: kolommen per status ---------- */
.main:has(.board) { display: flex; flex-direction: column; height: 100vh; padding-bottom: 0; }
.board { display: flex; gap: 14px; align-items: flex-start; overflow-x: auto; flex: 1; min-height: 0; padding-bottom: 16px; }
.col { flex: 0 0 340px; display: flex; flex-direction: column; max-height: 100%; background: #eef0f9; border-radius: 12px; border: 1px solid transparent; transition: border-color .12s, background .12s; }
.col.over { border-color: var(--accent); background: var(--tint); }
.col-head { display: flex; align-items: center; gap: 2px; padding: 12px 14px 8px; font-weight: 600; }
.col-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-count { margin-left: 6px; color: var(--muted); font-weight: 500; font-size: 12px; }
.col-body { display: flex; flex-direction: column; gap: 8px; padding: 2px 8px 10px; overflow-y: auto; min-height: 60px; }
.col-body:empty::after { content: "Sleep feedback hierheen"; display: block; text-align: center; color: #a3a9bd; font-size: 12px; padding: 18px 0; border: 1px dashed #cfd4e3; border-radius: 10px; }

.fbc { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-decoration: none; color: inherit; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.fbc:hover { border-color: #c5cbe0; box-shadow: 0 4px 14px rgba(3, 2, 34, .06); }
.fbc.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fbc.dragging { opacity: .4; }
.fbc-title { font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbc-shot { order: 3; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.fbc-shot:empty { display: none; }
.fbc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.fbc .fb-foot { order: 4; }
.fb-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fb-id { color: var(--accent); font-size: 15px; line-height: 1; flex: none; }
.fb-page { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fb-foot { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fb-right { margin-left: auto; }
.meta-i { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.i { width: 14px; height: 14px; flex: none; opacity: .8; }

/* compacte lijst: klein screenshot links, geen voetregel */
.board.list .fbc { display: grid; grid-template-columns: 54px 1fr; gap: 3px 10px; padding: 9px 10px; }
.board.list .col-body { gap: 6px; }
.board.list .fbc-shot { display: block; order: 0; grid-row: 1 / span 2; width: 54px; height: 38px; aspect-ratio: auto; align-self: center; }
.board.list .fbc-title { -webkit-line-clamp: 1; font-size: 13px; }
.board.list .fb-foot { display: none; }

/* ---------- detailvenster ---------- */
body:has(.fbm-wrap) { overflow: hidden; }
.fbm-wrap { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 24px; }
.fbm-backdrop { position: absolute; inset: 0; background: rgba(3, 2, 34, .45); animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } }
.fbm { position: relative; display: grid; grid-template-columns: 1fr 420px; width: min(1360px, 100%); height: min(880px, 100%); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(3, 2, 34, .3); animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.98); } }
.fbm-shot { background: #eef0f9; display: flex; align-items: center; justify-content: center; padding: 28px; min-width: 0; min-height: 0; }
.fbm-shot a { display: contents; cursor: zoom-in; }
.fbm-shot img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 6px 24px rgba(3, 2, 34, .12); background: #fff; }
.fbm-side { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); }
.fbm-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.fbm-head .fb-id { font-size: 20px; }
.fbm-tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.fbm-tools form { margin: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; text-decoration: none; cursor: pointer; }
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.icon-btn.danger:hover { color: #b91c1c; background: #fdecec; }
.icon-btn.off { opacity: .3; pointer-events: none; }
.icon-btn .i { width: 16px; height: 16px; opacity: 1; }
.fbm-scroll { flex: 1; overflow-y: auto; padding: 22px 24px 28px; }
.fbm-title { font-size: 20px; line-height: 1.35; margin: 0 0 8px; font-weight: 600; }
.fbm-desc { margin: 0 0 4px; color: #3a4252; white-space: normal; }
.fbm-status { display: flex; align-items: center; gap: 8px; margin: 18px 0 22px; }
.fbm-status form { margin: 0; }
.fbm-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.fbm-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.fbm-tabs button.on { color: var(--ink); border-color: var(--green); }
.tab-count { background: var(--bg); border-radius: 999px; padding: 0 7px; font-size: 12px; margin-left: 2px; }
.fbm-reporter { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.fbm-reporter .avatar { width: 34px; height: 34px; font-size: 14px; }
.fbm-reporter div { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.fbm-reporter > .muted { margin-left: auto; white-space: nowrap; }
.props { display: grid; grid-template-columns: 96px 1fr; gap: 10px 12px; margin: 0; font-size: 13px; }
.props dt { color: var(--muted); }
.props dd { margin: 0; word-break: break-word; }
.props a { text-decoration: none; font-weight: 500; }
.comment { display: flex; gap: 10px; background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; }
.comment.team { background: var(--tint); }
.comment p { margin: 2px 0 0; }
.reply { margin: 14px 0 0; }
.reply textarea { margin: 0 0 8px; resize: vertical; }
.tech { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.tech summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 13px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 4px 12px; font-size: 12px; margin: 10px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }

/* ---------- statussen ---------- */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); margin-right: 6px; flex: none; }
.badge.status { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.badge.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 5px; }
.drawer-title { display: flex; align-items: center; gap: 8px; }
.status-form { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 4px 0 10px; margin: 0; }
.status-form select { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 7px 4px; color: var(--ink); cursor: pointer; }
.status-form select:focus { outline: none; }
.status-list { list-style: none; padding: 0; margin: 0 0 12px; }
.status-list li { display: flex; align-items: center; gap: 4px; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.status-list li .muted { margin-left: 6px; font-size: 12px; }
.status-list form { margin: 0 0 0 auto; }
.status-list .sortable { cursor: grab; background: #fff; }
.status-list .sortable.dragging { opacity: .4; }
.grip { display: inline-flex; color: #b3b9cc; margin-right: 4px; cursor: grab; }
.grip .i { width: 16px; height: 16px; }

/* aan/uit-schakelaar */
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500; margin: 4px 0 16px; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { flex: none; width: 38px; height: 22px; border-radius: 22px; background: #cfd4e3; position: relative; transition: background .15s; margin-top: 1px; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(3, 2, 34, .25); transition: transform .15s; }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch .muted { font-weight: 400; font-size: 12px; }
.status-add { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.status-add input { margin: 0; }
.status-add input[type=color] { width: 42px; height: 38px; padding: 3px; flex: none; cursor: pointer; }
.btn.small { padding: 3px 9px; font-size: 12px; }

/* ---------- instellingen-dialoog ---------- */
dialog.modal { border: 0; border-radius: 14px; padding: 24px; width: min(620px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(3, 2, 34, .3); color: var(--ink); }
dialog.modal::backdrop { background: rgba(3, 2, 34, .45); }
.modal-close { float: right; margin: -8px -8px 0 0; }
.embed { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 24px; }
.embed code { flex: 1; word-break: break-all; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .nav { position: static; height: auto; }
  .main { padding: 20px 16px; }
  .page-head, .head-actions { flex-wrap: wrap; }
  .main:has(.board) { height: auto; }
  .fbm-wrap { padding: 0; }
  .fbm { grid-template-columns: 1fr; grid-template-rows: 38vh 1fr; height: 100%; border-radius: 0; }
}

/* ---------- inloggen ---------- */
.btn.google { width: 100%; justify-content: center; gap: 10px; padding: 11px 14px; font-size: 14px; }
.btn.google:hover { background: var(--bg); }

/* status inline bewerken */
.status-edit { display: flex; align-items: center; gap: 8px; flex: 1; margin: 0 !important; }
.status-edit input { margin: 0; }
.status-edit input[type=color] { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; flex: none; background: none; }
.status-edit input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.status-edit input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.status-edit input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
.status-edit input[name=name] { border-color: transparent; background: transparent; padding: 5px 8px; font-weight: 500; }
.status-edit input[name=name]:hover { border-color: var(--line); }
.status-edit input[name=name]:focus { background: #fff; }

/* rustiger nummer in de kaarten: klein, grijs, rechts in de kopregel */
.fbc .fb-id { order: 2; margin-left: auto; font-family: "Inter", system-ui, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0; color: #8a93a6; background: var(--bg); border-radius: 5px; padding: 3px 6px; font-variant-numeric: tabular-nums; }
.fbc .fb-page { color: var(--accent); font-weight: 500; }

/* ---------- lijstindeling: statussen onder elkaar, compacte rijen ---------- */
.col-toggle { display: none; }
.board.rows { flex-direction: column; align-items: stretch; overflow-x: hidden; overflow-y: auto; gap: 14px; }
.board.rows .col { flex: none; max-height: none; background: #fff; border-color: var(--line); }
.board.rows .col.over { border-color: var(--accent); background: var(--tint); }
.board.rows .col-head { cursor: pointer; user-select: none; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.board.rows .col-toggle { display: inline-block; width: 16px; color: var(--muted); transition: transform .15s; }
.board.rows .col.closed .col-toggle { transform: rotate(-90deg); }
.board.rows .col.closed .col-head { border-bottom: 0; }
.board.rows .col.closed .col-body { display: none; }
.board.rows .col-body { overflow: visible; padding: 0; gap: 0; min-height: 0; }
.board.rows .col-body:empty::after { margin: 10px 16px; padding: 10px 0; }
.board.rows .fbc { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "shot title foot" "shot top foot"; align-items: center; gap: 2px 14px; padding: 9px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.board.rows .fbc:last-child { border-bottom: 0; }
.board.rows .fbc:hover { box-shadow: none; background: var(--bg); }
.board.rows .fbc.active { box-shadow: inset 3px 0 0 var(--accent); background: var(--tint); }
.board.rows .fbc-shot { grid-area: shot; display: block; width: 64px; height: 40px; aspect-ratio: auto; }
.board.rows .fbc-title { grid-area: title; -webkit-line-clamp: 1; }
.board.rows .fb-top { grid-area: top; }
.board.rows .fb-top .fb-id { order: 0; margin-left: 0; }
.board.rows .fb-foot { grid-area: foot; gap: 18px; }
.board.rows .fb-foot .meta-i:nth-child(1) { width: 130px; }
.board.rows .fb-foot .meta-i:nth-child(2) { width: 120px; }
.board.rows .fb-foot .fb-right { width: 36px; margin-left: 0; }
@media (max-width: 1100px) { .board.rows .fb-foot .meta-i:nth-child(1) { display: none; } }
.board.rows .fb-foot { width: 322px; }
@media (max-width: 1100px) { .board.rows .fb-foot { width: 174px; } }
.board.rows .col { overflow: hidden; }

/* ---------- weergavebalk boven het bord ---------- */
.page-head { margin-bottom: 14px; }
.board-bar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 0 0 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.seg-group { display: flex; align-items: center; gap: 10px; }
.seg-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.seg { display: inline-flex; background: #e9ecf6; border-radius: 9px; padding: 3px; gap: 2px; }
.seg a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 7px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; white-space: nowrap; }
.seg a:hover { color: var(--ink); }
.seg a.on { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(3, 2, 34, .12); }
.seg svg { width: 15px; height: 15px; }
.board-bar .search { margin-left: auto; }

/* ---------- compacte kaarten: geen screenshot ---------- */
.board.list .fbc { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; }
.board.list .fbc-shot { display: none !important; }
.board.list .fbc-title { -webkit-line-clamp: 2; }
.board.list .fb-foot { display: flex; }
.board.list .fb-foot .meta-i:nth-child(2) { display: none; }

/* ---------- toewijzen + urgentie ---------- */
.fb-right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.fb-foot .avatar { width: 22px; height: 22px; font-size: 10px; }
.prio { flex: none; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 4px; padding: 2px 6px; line-height: 1.3; }
.prio.p2 { background: #fdecec; color: #c4320a; }
.prio.p0 { background: var(--bg); color: #8a93a6; }
.prio-dot { width: 8px; height: 8px; border-radius: 50%; background: #c5cbe0; flex: none; }
.prio-dot.p2 { background: #d92d20; }
.prio-dot.p0 { background: #e3e6f2; }
.fbm-fields { margin: -6px 0 20px; align-items: center; }
.field-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.field-form .avatar { width: 24px; height: 24px; font-size: 11px; }
.field-form select { border: 1px solid transparent; border-radius: 7px; background: transparent; font: inherit; font-weight: 500; color: var(--ink); padding: 4px 6px; margin-left: -6px; cursor: pointer; }
.field-form select:hover { border-color: var(--line); background: #fff; }
.board.rows .fb-foot { width: 350px; }
.board.rows .fb-foot .fb-right { width: 64px; margin-left: 0; justify-content: flex-end; }
@media (max-width: 1100px) { .board.rows .fb-foot { width: 200px; } }

/* ---------- filterbalk ---------- */
.board-bar { border-bottom: 0; margin-bottom: 0; padding-bottom: 10px; }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 0 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-bar select { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; cursor: pointer; max-width: 200px; }
.filter-bar select:hover { border-color: #c5cbe0; }
.filter-bar select.on { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; text-decoration: none; }
.chip-btn:hover { border-color: #c5cbe0; }
.chip-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.clear-filters { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 0 4px; }
.clear-filters:hover { color: #b91c1c; }
.filter-bar .search { margin: 0 0 0 auto; width: 240px; padding: 7px 11px; }

/* ---------- kop: projectnaam met url ernaast ---------- */
.title-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.site-url { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
a.site-url:hover { color: var(--accent); border-color: var(--accent); }
.page-head { align-items: center; margin-bottom: 18px; }

/* ---------- menu ---------- */
.nav-label { padding-top: 26px; }
.nav-ico { display: inline-flex; align-items: center; gap: 9px; }
.nav-ico .i { width: 16px; height: 16px; opacity: .75; }

/* ---------- filters achter één knop ---------- */
.board-bar { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-form { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.filter-form .chip-btn { margin-left: auto; }
.filter-form .search { margin: 0; width: 240px; padding: 7px 11px; }
details.filters { position: relative; }
details.filters summary { list-style: none; padding: 7px 12px; }
details.filters summary::-webkit-details-marker { display: none; }
details.filters summary.on, details.filters[open] summary { border-color: var(--accent); color: var(--accent); }
.fcount { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; line-height: 18px; min-width: 18px; padding: 0 5px; text-align: center; }
.filter-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 15; width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 6px; box-shadow: 0 14px 40px rgba(3, 2, 34, .14); }
.filter-pop label { margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.filter-pop select { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; cursor: pointer; }
.filter-pop .clear-filters { display: inline-block; margin: 0 0 10px; padding: 0; }
