/* DevBord — huisstijl
   Kleuren: inkt #172033, papier #F4F6FA, signaalblauw #2F5BEA, amber #F5B83D, mint #1F9D63, rood #D6383A
   Letters: Bricolage Grotesque (titels, bordnamen) + Figtree (interface) */

@font-face { font-family: 'Bricolage'; src: url('/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Bricolage'; src: url('/fonts/bricolage-ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-ext.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --ink: #172033;
  --ink-2: #4a5568;
  --ink-3: #7b8597;
  --paper: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --surface-3: #e3e7ef;
  --line: #d9dee8;
  --signal: #2f5bea;
  --signal-ink: #ffffff;
  --signal-soft: #e5ecff;
  --amber: #f5b83d;
  --amber-soft: #fff3d6;
  --mint: #1f9d63;
  --mint-soft: #dcf5e8;
  --red: #d6383a;
  --red-soft: #fde4e4;
  --list-bg: #ebeef4;
  --card-shadow: 0 1px 0 rgba(23, 32, 51, .14);
  --pop-shadow: 0 12px 32px -8px rgba(23, 32, 51, .28), 0 0 0 1px rgba(23, 32, 51, .06);
  --r-card: 8px;
  --r-ctrl: 7px;
  --r-panel: 12px;
  --font-ui: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage', 'Figtree', system-ui, sans-serif;
  --topbar: 52px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e7eaf0; --ink-2: #b4bccb; --ink-3: #8790a2; --paper: #10141c; --surface: #1a202b; --surface-2: #222937;
    --surface-3: #2c3444; --line: #313a4b; --signal: #5b7fff; --signal-soft: #1d2a52; --amber-soft: #3b2f12; --mint-soft: #133826;
    --red-soft: #431b1d; --list-bg: #161b25; --card-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    --pop-shadow: 0 16px 40px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e7eaf0; --ink-2: #b4bccb; --ink-3: #8790a2; --paper: #10141c; --surface: #1a202b; --surface-2: #222937;
  --surface-3: #2c3444; --line: #313a4b; --signal: #5b7fff; --signal-soft: #1d2a52; --amber-soft: #3b2f12; --mint-soft: #133826;
  --red-soft: #431b1d; --list-bg: #161b25; --card-shadow: 0 1px 0 rgba(0, 0, 0, .5);
  --pop-shadow: 0 16px 40px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; overflow-x: clip; }
body { margin: 0; font: 15px/1.45 var(--font-ui); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
#app { min-height: 100%; display: flex; flex-direction: column; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
h1 { font-size: 30px; } h2 { font-size: 21px; } h3 { font-size: 17px; } h4 { font-size: 15px; }
p { margin: 0; }
a { color: var(--signal); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.ic { flex-shrink: 0; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.boot { margin: auto; color: var(--ink-3); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.row.nowrap { flex-wrap: nowrap; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- Knoppen & velden ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 13px; border-radius: var(--r-ctrl);
  border: 1px solid transparent; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--surface-3); }
.btn.primary { background: var(--signal); color: var(--signal-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: var(--red); color: #fff; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.outline { background: transparent; border-color: var(--line); }
.btn.sm { min-height: 28px; padding: 3px 9px; font-size: 13px; }
.btn.block { width: 100%; justify-content: flex-start; }
.btn.block.center { justify-content: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.discord { background: #5865f2; color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-ctrl); border: 0; background: transparent; color: inherit; position: relative; }
.icon-btn:hover { background: rgba(127, 140, 160, .18); }
.icon-btn.sm { width: 28px; height: 28px; }
.icon-btn.active { color: var(--amber); }
.input, select.input, textarea.input { width: 100%; padding: 8px 10px; border-radius: var(--r-ctrl); border: 1px solid var(--line); background: var(--surface); min-height: 36px; }
.input:focus { outline: 2px solid var(--signal); outline-offset: -1px; border-color: transparent; }
textarea.input { resize: vertical; line-height: 1.45; }
.label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.label > .input, .label > select, .label > textarea { font-weight: 400; color: var(--ink); font-size: 15px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--signal); }
.seg { display: inline-flex; background: var(--surface-2); padding: 3px; border-radius: 9px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 11px; border-radius: 7px; font-weight: 600; font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--card-shadow); }
.kbd { font: 12px/1 var(--font-ui); padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface-2); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.badge.red { background: var(--red-soft); color: var(--red); } .badge.green { background: var(--mint-soft); color: var(--mint); }
.badge.amber { background: var(--amber-soft); color: #9a6a00; } .badge.blue { background: var(--signal-soft); color: var(--signal); }
.divider { height: 1px; background: var(--line); margin: 6px 0; border: 0; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--signal); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h3 { color: var(--ink); }
.mention { color: var(--signal); font-weight: 600; background: var(--signal-soft); padding: 0 3px; border-radius: 4px; }

/* ---------- Avatars ---------- */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; overflow: hidden; flex-shrink: 0; line-height: 1; user-select: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatars { display: flex; }
.avatars .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.avatars .avatar:first-child { margin-left: 0; }
.presence-dot { position: relative; }
.presence-dot::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px var(--surface); }

/* ---------- Topbalk ---------- */
.topbar { height: var(--topbar); display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar.on-board { background: rgba(10, 14, 22, .42); border-bottom-color: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(10px); }
.topbar.on-board .icon-btn:hover, .topbar.on-board .nav-btn:hover { background: rgba(255, 255, 255, .16); }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: inherit; text-decoration: none; padding: 4px 8px; border-radius: 8px; }
.brand-mark { width: 26px; height: 26px; display: grid; grid-template-columns: 5fr 5fr 4fr; gap: 2px; padding: 4px; background: var(--signal); border-radius: 7px; }
.brand-mark i { background: #fff; border-radius: 2px; }
.brand-mark i:nth-child(1) { height: 100%; } .brand-mark i:nth-child(2) { height: 70%; opacity: .85; } .brand-mark i:nth-child(3) { height: 45%; background: var(--amber); }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: inherit; font-weight: 600; font-size: 14px; text-decoration: none; }
.nav-btn:hover { background: var(--surface-2); }
.nav-btn.on { background: var(--signal-soft); color: var(--signal); }
.topbar.on-board .nav-btn.on { background: rgba(255, 255, 255, .2); color: #fff; }
.searchbox { flex: 0 1 300px; position: relative; margin-left: auto; }
.searchbox input { width: 100%; height: 34px; padding: 0 10px 0 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); }
.topbar.on-board .searchbox input { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; }
.topbar.on-board .searchbox input::placeholder { color: rgba(255, 255, 255, .7); }
.searchbox .ic { position: absolute; left: 10px; top: 8px; opacity: .7; }
.notif-count { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 760px) { .nav-label { display: none; } .searchbox { flex-basis: 140px; } .brand > span:not(.brand-mark) { display: none; } }

/* ---------- Popovers, modals, toasts ---------- */
.popover { position: fixed; z-index: 90; background: var(--surface); border-radius: 10px; box-shadow: var(--pop-shadow); max-height: calc(100vh - 16px); overflow: auto; }
.pop-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 10px 40px; font-weight: 600; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.pop-head .icon-btn { position: absolute; right: 6px; top: 5px; }
.pop-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.menu { display: flex; flex-direction: column; margin: -4px -4px; }
.menu > button, .menu > a { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; font-size: 14px; color: inherit; text-decoration: none; }
.menu > button:hover, .menu > a:hover { background: var(--surface-2); }
.menu > button.danger { color: var(--red); }
.menu-title { font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 8px 10px 4px; }
.overlay { position: fixed; inset: 0; background: rgba(10, 14, 22, .55); z-index: 70; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 48px 16px; }
.modal { background: var(--surface); border-radius: var(--r-panel); width: 100%; max-width: 560px; box-shadow: var(--pop-shadow); position: relative; animation: pop .16s ease-out; }
.modal-sm { max-width: 420px; }
.modal-wide { max-width: 880px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 0 20px; }
.modal-body { padding: 16px 20px 20px; }
@keyframes pop { from { transform: translateY(6px) scale(.985); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 640px) { .overlay { padding: 0; } .modal { border-radius: 0; min-height: 100%; } }
#toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 9px; font-size: 14px; box-shadow: var(--pop-shadow); max-width: min(92vw, 520px); transition: opacity .3s, transform .3s; pointer-events: auto; }
.toast-error { background: var(--red); color: #fff; }
.toast-success .ic { color: #4ade80; }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ---------- Inloggen ---------- */
.auth-wrap { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr); min-height: 100vh; }
.auth-art { background: linear-gradient(150deg, #1b2b6b 0%, #2f5bea 55%, #0e7490 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.auth-art h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; max-width: 12ch; letter-spacing: -.025em; font-weight: 700; }
.auth-art p { max-width: 42ch; opacity: .85; margin-top: 14px; font-size: 16px; }
.auth-cols { display: flex; gap: 12px; margin-top: 40px; }
.auth-col { flex: 1; background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 230px; }
.auth-col b { font-size: 13px; opacity: .85; font-weight: 600; }
.auth-chip { background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 8px; padding: 9px 10px; font-size: 13px; box-shadow: 0 1px 0 rgba(0, 0, 0, .2); }
.auth-chip i { display: block; width: 34px; height: 6px; border-radius: 3px; margin-bottom: 6px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: var(--surface); }
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h2 { font-size: 26px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13px; }
.or::before, .or::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.form-error { background: var(--red-soft); color: var(--red); padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.form-ok { background: var(--mint-soft); color: var(--mint); padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.code-input { font-size: 26px; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.qr { background: #fff; padding: 10px; border-radius: 10px; width: 200px; height: 200px; margin: 0 auto; }
.qr svg { width: 100%; height: 100%; display: block; }
.secret { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 8px 10px; border-radius: 8px; word-break: break-all; text-align: center; letter-spacing: .08em; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 12px; border-radius: 10px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- Pagina's ---------- */
.page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.section { margin-bottom: 34px; }
.section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--ink-2); }
.section-head h3 { color: var(--ink); }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.board-tile { position: relative; height: 104px; border-radius: 10px; padding: 12px 14px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 0; text-align: left; }
.board-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 60%); }
.board-tile:hover::before { background: rgba(0, 0, 0, .2); }
.board-tile > * { position: relative; }
.board-tile b { font-family: var(--font-display); font-size: 17px; font-weight: 650; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.board-tile .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .9; }
.board-tile .star { opacity: 0; color: #fff; }
.board-tile:hover .star, .board-tile .star.on { opacity: 1; }
.board-tile .star.on { color: var(--amber); }
.board-tile.new { background: var(--surface-2); color: var(--ink-2); align-items: center; justify-content: center; font-weight: 600; gap: 6px; flex-direction: row; }
.board-tile.new::before { display: none; }
.board-tile.new:hover { background: var(--surface-3); }
.bg-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bg-swatch { aspect-ratio: 4/3; border-radius: 6px; border: 2px solid transparent; cursor: pointer; }
.bg-swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }
.home-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--topbar) + 20px); align-self: start; }
.side-nav .nav-btn { justify-content: flex-start; width: 100%; }
.side-nav .menu-title { padding-left: 10px; margin-top: 14px; }
@media (max-width: 860px) { .home-layout { grid-template-columns: 1fr; } .side-nav { position: static; flex-direction: row; flex-wrap: wrap; } .side-nav .menu-title { display: none; } .side-nav .nav-btn { width: auto; } }
.list-rows { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.list-row:first-child { border-top: 0; }
.list-row:hover { background: var(--surface-2); }
.swatch { width: 28px; height: 22px; border-radius: 5px; flex-shrink: 0; }

/* ---------- Bord ---------- */
.board-page { flex: 1; display: flex; flex-direction: column; min-height: 0; height: 100vh; margin-top: calc(-1 * var(--topbar)); padding-top: var(--topbar); background-attachment: fixed; }
.board-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #fff; flex-wrap: wrap; background: rgba(10, 14, 22, .22); }
.board-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; padding: 3px 8px; border-radius: 7px; border: 0; background: transparent; color: #fff; max-width: 420px; }
.board-title:hover { background: rgba(255, 255, 255, .16); }
input.board-title { background: #fff; color: #1b2230; width: 320px; }
.board-head .btn { background: rgba(255, 255, 255, .18); color: #fff; }
.board-head .btn:hover { background: rgba(255, 255, 255, .28); }
.board-head .btn.on { background: #fff; color: #1b2230; }
.board-head .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.board-head .seg { background: rgba(0, 0, 0, .22); }
.board-head .seg button { color: rgba(255, 255, 255, .85); }
.board-head .seg button.on { background: #fff; color: #1b2230; }
.board-head .avatars .avatar { box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); }
.board-body { flex: 1; min-height: 0; overflow: auto; position: relative; }
.lists { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 24px; height: 100%; }
.list { flex: 0 0 280px; width: 280px; background: var(--list-bg); border-radius: var(--r-panel); display: flex; flex-direction: column; max-height: 100%; box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.list.collapsed { flex-basis: 44px; width: 44px; cursor: pointer; }
.list.collapsed .list-head { writing-mode: vertical-rl; padding: 12px 6px; height: auto; }
.list.collapsed .list-cards, .list.collapsed .list-foot, .list.collapsed .list-head .icon-btn { display: none; }
.list-head { display: flex; align-items: center; gap: 4px; padding: 8px 6px 4px 12px; }
.list-head .list-name { flex: 1; font-weight: 700; font-size: 14px; padding: 4px 6px; margin-left: -6px; border-radius: 6px; cursor: text; overflow-wrap: anywhere; }
.list-head input { flex: 1; font-weight: 700; font-size: 14px; }
.list-count { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.list-count.over { color: var(--red); }
.list-strip { height: 4px; border-radius: 12px 12px 0 0; }
.list-cards { flex: 1; overflow-y: auto; padding: 4px 8px; display: flex; flex-direction: column; gap: 8px; min-height: 8px; }
.list-foot { padding: 4px 8px 8px; }
.list-foot .btn { width: 100%; justify-content: flex-start; background: transparent; color: var(--ink-2); }
.list-foot .btn:hover { background: var(--surface-3); color: var(--ink); }
.list.add-list { background: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; padding: 6px; }
.list.add-list .btn { background: transparent; color: #fff; justify-content: flex-start; width: 100%; }
.list.add-list.open { background: var(--list-bg); color: var(--ink); }
.composer { display: flex; flex-direction: column; gap: 6px; }
.composer textarea { min-height: 62px; border: 0; box-shadow: var(--card-shadow); border-radius: var(--r-card); padding: 8px 10px; resize: none; }

.card { position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--card-shadow); cursor: pointer; overflow: hidden; outline-offset: -2px; text-align: left; color: inherit; display: block; width: 100%; border: 0; padding: 0; font: inherit; }
.card:hover { box-shadow: var(--card-shadow), 0 0 0 2px var(--signal) inset; }
.card.is-template { box-shadow: var(--card-shadow), 0 0 0 1px dashed var(--ink-3) inset; }
.card-cover { height: 34px; }
.card-cover.img { height: auto; max-height: 220px; background: var(--surface-2); display: flex; justify-content: center; }
.card-cover.img img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.card.full-cover { color: #fff; }
.card.full-cover .card-title { font-weight: 700; font-size: 15px; }
.card-inner { padding: 7px 10px 8px; display: flex; flex-direction: column; gap: 5px; }
.card-labels { display: flex; flex-wrap: wrap; gap: 4px; }
.lbl { display: inline-flex; align-items: center; height: 18px; min-width: 40px; padding: 0 7px; border-radius: 4px; color: #fff; font-size: 11.5px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-labels.compact .lbl { height: 8px; min-width: 38px; padding: 0; font-size: 0; }
.card-title { font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; }
.card-num { color: var(--ink-3); font-weight: 600; font-size: 12px; margin-right: 4px; font-variant-numeric: tabular-nums; }
.card-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--ink-3); }
.card-badges > span { display: inline-flex; align-items: center; gap: 3px; }
.card-badges .due { padding: 1px 5px; border-radius: 4px; margin-left: -5px; font-weight: 600; }
.due.overdue { background: var(--red); color: #fff; }
.due.soon { background: var(--amber); color: #3b2a00; }
.due.done { background: var(--mint); color: #fff; }
.card-badges .done-checks { color: var(--mint); font-weight: 600; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.card-foot .avatars { margin-left: auto; }
.card-fields { display: flex; flex-wrap: wrap; gap: 4px; }
.card-fields .badge { font-size: 11.5px; }
.card-viewers { position: absolute; top: 6px; right: 6px; display: flex; }
.card-quick { position: absolute; top: 4px; right: 4px; opacity: 0; background: var(--surface); border-radius: 6px; }
.card:hover .card-quick, .card:focus-visible .card-quick { opacity: .95; }
.sortable-ghost { opacity: .35; }
.sortable-drag { transform: rotate(2.5deg); box-shadow: var(--pop-shadow) !important; }
.card.dim { opacity: .3; }

/* ---------- Kaartvenster ---------- */
.card-modal { max-width: 860px; }
.card-modal .cm-cover { height: 110px; border-radius: var(--r-panel) var(--r-panel) 0 0; display: flex; justify-content: center; background: var(--surface-2); overflow: hidden; }
.card-modal .cm-cover img { max-height: 160px; object-fit: contain; }
.card-modal .cm-cover.img { height: 160px; }
.cm-top { display: flex; gap: 12px; padding: 18px 20px 0; align-items: flex-start; }
.cm-title { flex: 1; font-family: var(--font-display); font-size: 22px; font-weight: 650; border: 0; background: transparent; resize: none; padding: 3px 6px; margin-left: -6px; border-radius: 6px; line-height: 1.25; overflow: hidden; width: 100%; }
.cm-title:focus { background: var(--surface); outline: 2px solid var(--signal); }
.cm-sub { padding: 2px 20px 0 50px; color: var(--ink-3); font-size: 13.5px; }
.cm-sub button { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; font-size: inherit; }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 22px; padding: 16px 20px 22px; }
.cm-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cm-side { display: flex; flex-direction: column; gap: 6px; }
.cm-side .menu-title { padding: 6px 0 2px; }
.cm-side .btn { justify-content: flex-start; width: 100%; font-weight: 500; }
@media (max-width: 700px) { .cm-grid { grid-template-columns: 1fr; } .cm-side { order: -1; display: grid; grid-template-columns: 1fr 1fr; } .cm-sub { padding-left: 20px; } }
.cm-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cm-section-head h3 { flex: 1; font-size: 16px; }
.cm-meta { display: flex; flex-wrap: wrap; gap: 18px; }
.cm-meta-block .menu-title { padding: 0 0 4px; }
.cm-meta-block .row { gap: 4px; }
.lbl.big { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 5px; min-width: 48px; cursor: pointer; border: 0; }
.add-chip { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; }
.add-chip.sq { border-radius: 5px; width: 32px; height: 30px; }
.due-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); border: 0; font-weight: 500; }
.due-chip input { width: 16px; height: 16px; accent-color: var(--mint); }
.desc-view { cursor: pointer; border-radius: 8px; min-height: 40px; }
.desc-view.empty-desc { background: var(--surface-2); padding: 12px; color: var(--ink-3); }
.md { overflow-wrap: anywhere; }
.md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; }
.md p, .md ul, .md ol, .md pre, .md blockquote { margin: 0 0 .6em; }
.md code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.md pre { background: var(--surface-2); padding: 10px 12px; border-radius: 8px; overflow-x: auto; }
.md pre code { background: none; padding: 0; }
.md img { max-width: 100%; border-radius: 6px; }
.md blockquote { border-left: 3px solid var(--line); padding-left: 10px; color: var(--ink-2); }
.md h1, .md h2, .md h3 { margin: .6em 0 .3em; font-size: 1.1em; }
.md table { border-collapse: collapse; } .md td, .md th { border: 1px solid var(--line); padding: 4px 8px; }
.progress { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; flex: 1; }
.progress > i { display: block; height: 100%; background: var(--signal); border-radius: 4px; transition: width .2s; }
.progress.done > i { background: var(--mint); }
.cl-item { display: flex; align-items: flex-start; gap: 8px; padding: 4px 6px; margin: 0 -6px; border-radius: 6px; }
.cl-item:hover { background: var(--surface-2); }
.cl-item input[type=checkbox] { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--mint); flex-shrink: 0; }
.cl-item .cl-text { flex: 1; cursor: text; overflow-wrap: anywhere; }
.cl-item.checked .cl-text { text-decoration: line-through; color: var(--ink-3); }
.cl-item .cl-tools { display: flex; gap: 2px; opacity: 0; align-items: center; }
.cl-item:hover .cl-tools, .cl-item:focus-within .cl-tools { opacity: 1; }
.att { display: flex; gap: 12px; align-items: center; padding: 6px; margin: 0 -6px; border-radius: 8px; }
.att:hover { background: var(--surface-2); }
.att-thumb { width: 88px; height: 62px; border-radius: 6px; background: var(--surface-3); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; font-weight: 700; color: var(--ink-3); font-size: 13px; text-decoration: none; }
.att-thumb img { width: 100%; height: 100%; object-fit: cover; }
.att-info { flex: 1; min-width: 0; }
.att-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-info .row button { border: 0; background: none; padding: 0; text-decoration: underline; color: var(--ink-3); font-size: 13px; }
.dropzone { border: 2px dashed var(--signal); border-radius: 10px; padding: 18px; text-align: center; color: var(--signal); background: var(--signal-soft); }
.comment { display: flex; gap: 10px; }
.comment-body { flex: 1; min-width: 0; }
.comment-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 0 10px 10px 10px; padding: 8px 11px; margin-top: 3px; }
.comment-actions { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; flex-wrap: wrap; }
.comment-actions button { border: 0; background: none; padding: 0; color: var(--ink-3); text-decoration: underline; font-size: inherit; }
.reaction { border: 1px solid var(--line) !important; border-radius: 999px; padding: 0 7px !important; text-decoration: none !important; background: var(--surface) !important; }
.reaction.mine { border-color: var(--signal) !important; background: var(--signal-soft) !important; color: var(--signal) !important; }
.activity-item { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.activity-item .muted { font-size: 12.5px; }
.mention-list { position: absolute; z-index: 95; }
.color-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.color-grid button { height: 30px; border-radius: 5px; border: 2px solid transparent; }
.color-grid button.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }
.pick-row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; cursor: pointer; border: 0; background: transparent; width: 100%; text-align: left; }
.pick-row:hover { background: var(--surface-2); }
.pick-row .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-row .lbl { flex: 1; height: 30px; font-size: 13px; border-radius: 5px; }

/* ---------- Filter & zijpaneel ---------- */
.drawer { position: fixed; top: var(--topbar); right: 0; bottom: 0; width: 360px; max-width: 100vw; background: var(--surface); box-shadow: var(--pop-shadow); z-index: 60; display: flex; flex-direction: column; animation: slidein .18s ease-out; }
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { flex: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.filter-active { background: #fff !important; color: var(--ink) !important; }

/* ---------- Tabellen (beheer, tabelweergave) ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 10px; border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 700; font-size: 12.5px; color: var(--ink-3); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface); position: sticky; top: 0; cursor: default; }
.tbl th.sortable { cursor: pointer; }
.tbl td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: var(--surface-2); }
.tbl tr.clickable { cursor: pointer; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 9px 12px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tabs button.on { color: var(--signal); border-bottom-color: var(--signal); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px; }
.panel + .panel { margin-top: 14px; }
.panel h3 { margin-bottom: 4px; }
.setting { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.setting:first-of-type { border-top: 0; }
.setting .txt { flex: 1; }
.setting .txt b { display: block; }
.switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--surface-3); border-radius: 12px; transition: background .15s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch input:checked + span { background: var(--signal); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; }

/* ---------- Kaartweergave ---------- */
.map-wrap { position: absolute; inset: 0; }
.leaflet-container { font: inherit; }

/* ---------- Mobiel ---------- */
@media (max-width: 640px) {
  .list { flex-basis: 86vw; width: 86vw; }
  .board-head { padding: 8px 10px; }
  .page { padding: 18px 14px 50px; }
}

.modal.dropping { outline: 3px dashed var(--signal); outline-offset: -8px; }
.main { flex: 1; }

.setting > select.input, .setting > input.input, .setting > .input { width: min(320px, 48%); flex: 0 0 auto; }
.setting .txt { min-width: 180px; }
@media (max-width: 640px) { .setting { flex-direction: column; } .setting > select.input, .setting > input.input, .setting > .input { width: 100%; } }
.modal:focus { outline: none; }

/* eigen achtergrondkleur */
.bg-swatch.bg-custom { position: relative; display: grid; place-items: center; cursor: pointer; background: repeating-conic-gradient(#e5e7eb 0 25%, #f8fafc 0 50%) 50% / 12px 12px; color: var(--ink-2); overflow: hidden; }
.bg-swatch.bg-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.site-bg-picker { margin-top: 8px; }
.site-bg-picker .bg-picker { max-width: 360px; }
.board-tile.light { color: var(--ink); }
.board-tile.light .star { color: var(--ink); }
body.light-board .board-head { background: rgba(15, 23, 42, .72); }
body.light-board .topbar.on-board { background: rgba(10, 14, 22, .82); }
body.light-board .list.add-list:not(.open) { background: rgba(15, 23, 42, .55); }
.board-tile.light { box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12); }
.board-tile.light::before { background: none; }
.board-tile.light:hover::before { background: rgba(15, 23, 42, .06); }
.board-tile.light b { text-shadow: none; }

/* back-ups */
.bk-targets { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.bk-target { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--line); border-radius: 10px; flex-wrap: wrap; }
.bk-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 280px; }
.bk-main .muted { overflow-wrap: anywhere; }
.bk-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bk-keep { width: 70px; padding: 4px 8px; }
.bk-error { color: var(--red); }
.bk-choose { display: flex; flex-direction: column; gap: 6px; }
.bk-choice { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px; }
.bk-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.bk-uri { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 6px 8px; background: var(--surface-2); border-radius: 6px; font-size: 13px; }
.badge .spinner { width: 10px; height: 10px; }
.code-block { background: var(--surface-2); padding: 10px 12px; border-radius: 8px; overflow-x: auto; margin: 0; font-size: 12.5px; white-space: pre; }
.bk-actions input.bk-keep { width: 72px; min-width: 72px; height: 32px; flex: none; appearance: auto; }

/* voettekst */
.site-footer { text-align: center; padding: 18px 16px 22px; font-size: 12.5px; color: var(--ink-3); }
.site-footer a, .auth-foot a { color: inherit; font-weight: 600; text-decoration: none; }
.site-footer a:hover, .auth-foot a:hover { text-decoration: underline; }
.auth-foot { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; opacity: .8; }
#app { display: flex; flex-direction: column; min-height: 100vh; }

/* werkruimtes en abonnementen */
.plan-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11.5px; font-weight: 700; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.plan-badge.plan-standard { background: var(--signal-soft); color: var(--signal); }
.plan-badge.plan-premium { background: linear-gradient(135deg, #6d28d9, #2f5bea); color: #fff; }
.plan-badge.plan-unlimited { background: var(--mint-soft); color: var(--mint); }
.plan-lock { margin-left: auto; color: var(--ink-3); display: inline-flex; }
.ws-head { flex-wrap: wrap; gap: 8px; }
.ws-head h3 { margin: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-members { display: flex; flex-direction: column; }
.ws-member { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ws-member:first-child { border-top: 0; }
.ws-member .input.sm { width: auto; padding: 4px 8px; height: 32px; }
.invite-result { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.price-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.price-card.featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.price-card h2 { margin: 0; font-family: var(--font-display); }
.price-card .price b { font-size: 28px; font-family: var(--font-display); }
.price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.price-list li { display: flex; gap: 8px; align-items: flex-start; }
.price-list li svg { flex: none; margin-top: 3px; color: var(--mint); }
.price-list li.off { color: var(--ink-3); }
.price-list li.off svg { color: var(--ink-3); }
.upgrade { text-align: center; }
.upgrade .row.end { justify-content: center; }
.upgrade-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: var(--signal-soft); color: var(--signal); }
.join-card { max-width: 460px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.row.center { justify-content: center; }
.public-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.public-bar .brand { color: var(--ink); }
.danger-zone { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.locked-opt { opacity: .7; }

/* publieke startpagina */
.lp-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-bar .brand { color: var(--ink); }
.lp-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lp-nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.lp-nav > a:not(.btn):hover { background: var(--surface-2); }
.lp { flex: 1; }
.lp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.lp-eyebrow { color: var(--signal); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.lp-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; }
.lp-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; margin: 0 0 26px; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-cta.center { justify-content: center; }
.btn.lg { padding: 12px 22px; font-size: 16px; border-radius: 10px; }
.lp-note { color: var(--ink-3); font-size: 13px; margin-top: 14px; }
.lp-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; border-radius: 18px; background: linear-gradient(150deg, #1b2b6b 0%, #2f5bea 55%, #0e7490 100%); box-shadow: 0 30px 60px -30px rgba(20, 40, 120, .55); transform: rotate(-1.2deg); }
.lp-col { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; }
.lp-col > b { color: #fff; font-size: 13px; }
.lp-card { background: #f4f6fb; color: #1b2230; border-radius: 8px; padding: 9px 10px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.lp-card i { display: block; width: 34px; height: 6px; border-radius: 3px; }
.lp-card small { color: #6b7385; font-size: 11.5px; }
.lp-features { max-width: 1240px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px); }
.lp-features h2, .lp-end h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; margin: 0 0 24px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lp-feature { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.lp-feature h3 { margin: 12px 0 6px; font-size: 17px; }
.lp-feature p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.lp-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); }
.lp-end { text-align: center; padding: clamp(40px, 7vw, 80px) 16px; }
.lp-end p { color: var(--ink-2); margin: 0 0 22px; }
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-demo { transform: none; }
  .lp-nav > a:not(.btn) { display: none; }
}
.auth-back { position: absolute; top: 20px; right: 24px; text-decoration: none; } .auth-form { position: relative; }
.interval-seg { grid-column: 1 / -1; justify-self: start; background: var(--surface-2); } .interval-seg button.on { background: var(--surface); }
.restore-warn { display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--red) 12%, var(--surface)); color: var(--ink); }
.restore-warn svg { color: var(--red); flex: none; margin-top: 2px; }
.restore-warn p { margin: 4px 0 0; }
