/* ── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0f172a;
  --surface:   #1e293b;
  --surface2:  #334155;
  --border:    #475569;
  --text:      #f1f5f9;
  --text-muted:#94a3b8;
  --primary:   #3b82f6;
  --success:   #10b981;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --nica:      #10b981;
  --salva:     #f59e0b;
  --radius:    12px;
  --nav-h:     64px;
  --header-h:  56px;
}

/* Licht thema */
.licht {
  --bg:        #f1f5f9;
  --surface:   #ffffff;
  --surface2:  #e2e8f0;
  --border:    #cbd5e1;
  --text:      #0f172a;
  --text-muted:#64748b;
  --nica:      #059669;
  --salva:     #d97706;
}

html, body { height: 100%; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

#app { height: 100%; display: flex; flex-direction: column; }

/* ── Login ────────────────────────────────────────────────────────── */
.login-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 32px; background: linear-gradient(160deg, #0f172a 0%, #1a2744 100%); }
.login-screen h1 { font-size: 1.5rem; font-weight: 700; text-align: center; }
.login-screen p { color: var(--text-muted); text-align: center; font-size: 0.9rem; }
.login-avatars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 360px; }
.avatar-btn { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); padding: 20px 16px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color .15s, transform .1s; }
.avatar-btn:hover { border-color: var(--primary); transform: translateY(-2px); }
.avatar-btn.active { border-color: var(--primary); background: #1e3a5f; }
.avatar-circle { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: white; }
.avatar-name { font-weight: 600; font-size: 1rem; }
.login-form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.login-form input { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text); font-size: 1rem; width: 100%; }
.login-form input:focus { outline: none; border-color: var(--primary); }
.btn { padding: 12px 24px; border-radius: 8px; border: none; font-size: 1rem; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: white; width: 100%; }
.btn-primary:hover:not(:disabled) { opacity: .85; }
.error-msg { color: var(--danger); font-size: 0.85rem; text-align: center; }

/* ── App shell ────────────────────────────────────────────────────── */
.app-shell { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.app-header { height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 16px; gap: 12px; flex-shrink: 0; z-index: 10; }
.app-header h1 { font-size: 1rem; font-weight: 700; flex: 1; }
.app-header .flag { font-size: 1.3rem; }
.offline-badge { background: #92400e; color: #fde68a; font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.user-chip { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.user-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: white; }

.main-content { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.bottom-nav { height: var(--nav-h); background: var(--surface); border-top: 1px solid var(--border); display: flex; flex-shrink: 0; }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; color: var(--text-muted); font-size: 0.65rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; transition: color .15s; position: relative; border: none; background: none; padding: 0; }
.nav-item.active { color: var(--primary); }
.nav-item .icon { font-size: 1.4rem; }
.nav-badge { position: absolute; top: 6px; right: calc(50% - 14px); background: var(--danger); color: white; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 10px; min-width: 16px; text-align: center; }

/* ── Dag scherm ───────────────────────────────────────────────────── */
.dag-header { padding: 12px 16px 8px; }
.dag-rail { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 12px; scrollbar-width: none; }
.dag-rail::-webkit-scrollbar { display: none; }
.dag-chip { flex-shrink: 0; background: var(--surface); border: 2px solid var(--border); border-radius: 10px; padding: 6px 12px; cursor: pointer; text-align: center; min-width: 56px; transition: all .15s; }
.dag-chip.active { border-color: var(--primary); background: rgba(59,130,246,.15); }
.dag-chip.nicaragua { border-color: rgba(16,185,129,.4); }
.dag-chip.nicaragua.active { border-color: var(--nica); background: rgba(16,185,129,.15); }
.dag-chip.el-salvador { border-color: rgba(245,158,11,.4); }
.dag-chip.el-salvador.active { border-color: var(--salva); background: rgba(245,158,11,.15); }
.dag-chip.dag-leeg { border-color: rgba(239,68,68,.5); }
.dag-chip.dag-leeg.active { border-color: #ef4444; background: rgba(239,68,68,.15); }
.dag-chip.dag-gedeeltelijk { border-color: rgba(251,146,60,.6); }
.dag-chip.dag-gedeeltelijk.active { border-color: #f97316; background: rgba(251,146,60,.15); }
.dag-chip.dag-vol { border-color: rgba(34,197,94,.6); }
.dag-chip.dag-vol.active { border-color: #22c55e; background: rgba(34,197,94,.15); }
.dag-chip .dag-nr { font-size: 1.1rem; font-weight: 700; }
.dag-chip .dag-datum { font-size: 0.6rem; color: var(--text-muted); }
.dag-chip .dag-teller { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); margin-top: 1px; }

.land-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 16px 2px; }
.land-label.nicaragua { color: var(--nica); }
.land-label.el-salvador { color: var(--salva); }

.dag-detail { padding: 0 16px 120px; }
.dagdeel-groep { margin-top: 16px; }
.dagdeel-titel { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }

/* ── Activiteit kaart ─────────────────────────────────────────────── */
.act-kaart { background: var(--surface); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; border-left: 3px solid var(--border); cursor: pointer; transition: transform .1s; }
.act-kaart:hover { transform: translateX(2px); }
.act-kaart.vlucht    { border-color: var(--primary); }
.act-kaart.hike      { border-color: #84cc16; }
.act-kaart.zwemmen   { border-color: #06b6d4; }
.act-kaart.vulkaan   { border-color: #f97316; }
.act-kaart.transfer  { border-color: var(--text-muted); }
.act-kaart.boot, .act-kaart.veerboot { border-color: #06b6d4; }
.act-kaart.relaxen   { border-color: #a78bfa; }
.act-kaart.activiteit{ border-color: #f59e0b; }
.act-kaart.wandeling { border-color: #84cc16; }
.act-kaart.beziensw  { border-color: #e879f9; }
.act-kaart.markt     { border-color: #f59e0b; }
.act-kaart.strand    { border-color: #06b6d4; }
.act-kaart.diner     { border-color: #f97316; }
.act-kaart.thuis     { border-color: var(--success); }

.act-top { display: flex; align-items: flex-start; gap: 10px; }
.act-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.act-body { flex: 1; min-width: 0; }
.act-titel { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.act-sub { color: var(--text-muted); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 6px; }
.act-sub span { display: flex; align-items: center; gap: 3px; }
.act-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.badge { font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.badge-geboekt    { background: #064e3b; color: #6ee7b7; }
.badge-aanbevolen { background: #713f12; color: #fde68a; }
.badge-doen       { background: #7f1d1d; color: #fca5a5; }
.badge-suggestie  { background: #1e3a5f; color: #93c5fd; cursor: pointer; }
.act-hotel { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }

/* ── Activiteit detail modal ──────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 800; display: flex; align-items: flex-end; }
@media (min-width: 640px) { .modal-overlay { align-items: center; justify-content: center; } }
.modal { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; width: 100%; max-height: 92vh; overflow-y: auto; padding: 20px 20px 40px; }
@media (min-width: 640px) { .modal { border-radius: var(--radius); max-width: 560px; max-height: 80vh; } }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 16px; }
.modal-titel { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.modal-sectie { margin-top: 16px; }
.modal-sectie h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-item label { font-size: 0.7rem; color: var(--text-muted); display: block; margin-bottom: 2px; }
.detail-item span { font-size: 0.9rem; }
.modal-link { color: var(--primary); text-decoration: none; font-size: 0.85rem; word-break: break-all; }
.modal-link:hover { text-decoration: underline; }
.modal-actions { display: flex; gap: 8px; margin-top: 16px; }
.btn-sm { padding: 8px 16px; border-radius: 8px; border: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--surface2); }

/* ── Edit formulier ───────────────────────────────────────────────── */
.edit-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.form-row input, .form-row select, .form-row textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 0.9rem; width: 100%; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); }
.form-row textarea { resize: vertical; min-height: 72px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Suggesties scherm ────────────────────────────────────────────── */
.scherm { padding: 16px 16px 100px; }
.sectie-titel { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.sug-kaart { background: var(--surface); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.sug-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sug-auteur { font-weight: 700; font-size: 0.9rem; }
.sug-meta { color: var(--text-muted); font-size: 0.75rem; }
.sug-body { font-size: 0.9rem; margin-bottom: 10px; }
.sug-oud { color: var(--text-muted); text-decoration: line-through; font-size: 0.85rem; }
.sug-nieuw { font-weight: 600; }
.sug-impacts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sug-impact { background: var(--surface2); border-radius: 6px; padding: 3px 8px; font-size: 0.75rem; color: var(--text-muted); }
.sug-status { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.status-btn { padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 0.75rem; cursor: pointer; transition: all .15s; }
.status-btn.actief { border-color: var(--primary); color: var(--primary); background: #1e3a5f; }
.sug-reacties { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }
.reactie { display: flex; gap: 8px; margin-bottom: 6px; }
.reactie-tekst { font-size: 0.85rem; }
.reactie-auteur { font-weight: 600; font-size: 0.8rem; }
.reactie-input { display: flex; gap: 8px; margin-top: 8px; }
.reactie-input input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; color: var(--text); font-size: 0.85rem; }
.reactie-input input:focus { outline: none; border-color: var(--primary); }
.reactie-input button { background: var(--primary); border: none; border-radius: 8px; padding: 8px 12px; color: white; cursor: pointer; font-size: 0.85rem; }
.fab { position: fixed; bottom: calc(var(--nav-h) + 16px); right: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); border: none; color: white; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 16px rgba(59,130,246,.4); display: flex; align-items: center; justify-content: center; z-index: 20; }

/* ── Budget scherm ────────────────────────────────────────────────── */
.budget-totaal { background: linear-gradient(135deg, #1e3a5f, #1e293b); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.budget-totaal .bedrag { font-size: 2rem; font-weight: 800; }
.budget-totaal .label { color: var(--text-muted); font-size: 0.85rem; }
.personen-rij { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.persoon-kaart { background: var(--surface); border-radius: 10px; padding: 12px 8px; text-align: center; }
.persoon-kaart .naam { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.persoon-kaart .bedrag { font-size: 1rem; font-weight: 700; }
.kosten-sectie h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 16px 0 8px; }
.kosten-sectie.nicaragua h3 { color: var(--nica); }
.kosten-sectie.el-salvador h3 { color: var(--salva); }
.kosten-sectie.overig h3 { color: var(--text-muted); }
.kosten-rij { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); gap: 8px; }
.kosten-rij .cat { flex: 1; font-size: 0.85rem; }
.kosten-rij .bedrag { font-size: 0.9rem; font-weight: 600; min-width: 70px; text-align: right; }
.kosten-rij .bewerk-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0 4px; }
.kosten-subtotaal { font-weight: 700; background: var(--surface2); border-radius: 6px; padding: 10px 12px; margin-top: 6px; }

/* ── Autoverhuur scherm ───────────────────────────────────────────── */
.auto-kaart { background: var(--surface); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.auto-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.auto-naam { font-weight: 700; }
.auto-prijs { color: var(--success); font-weight: 600; font-size: 0.9rem; }
.auto-meta { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.auto-link { color: var(--primary); font-size: 0.8rem; text-decoration: none; }

/* ── Ongeplande pool (in dagschema) ───────────────────────────────── */
.pool-sectie { border-bottom:1px solid var(--border); }
.pool-header { display:flex; align-items:center; gap:8px; padding:10px 16px; cursor:pointer; user-select:none; }
.pool-header h2 { font-size:.85rem; font-weight:700; flex:1; }
.pool-teller { background:var(--primary); color:white; font-size:.65rem; font-weight:700; padding:2px 7px; border-radius:20px; }
.pool-toggle { color:var(--text-muted); font-size:.9rem; transition:transform .2s; }
.pool-toggle.open { transform:rotate(180deg); }
.pool-strip { display:flex; gap:10px; overflow-x:auto; padding:0 16px 12px; scrollbar-width:none; }
.pool-strip::-webkit-scrollbar { display:none; }
.pool-kaart { flex-shrink:0; width:200px; background:var(--surface); border-radius:10px; padding:10px; border-left:4px solid var(--border); display:flex; flex-direction:column; gap:6px; cursor:pointer; transition:transform .1s; }
.pool-kaart:hover { transform:translateY(-2px); }
.pool-kaart.nicaragua  { border-color:var(--nica); }
.pool-kaart.el-salvador { border-color:var(--salva); }
.pool-land { font-size:.75rem; font-weight:700; display:flex; align-items:center; gap:4px; }
.pool-land.nicaragua   { color:var(--nica); }
.pool-land.el-salvador { color:var(--salva); }
.pool-titel { font-weight:700; font-size:.88rem; line-height:1.3; }
.pool-locatie { font-size:.75rem; color:var(--text-muted); }
.pool-footer { display:flex; align-items:center; gap:6px; margin-top:auto; }
.pool-stemmen { display:flex; gap:2px; }
.pool-plan-btn { margin-left:auto; background:var(--primary); color:white; border:none; border-radius:6px; padding:4px 9px; font-size:.72rem; font-weight:700; cursor:pointer; flex-shrink:0; }
.pool-plan-btn:hover { opacity:.85; }

/* ── Ideeën board ─────────────────────────────────────────────────── */
.ideeen-filters { display:flex; gap:8px; overflow-x:auto; padding:12px 16px 4px; scrollbar-width:none; }
.ideeen-filters::-webkit-scrollbar { display:none; }
.filter-chip { flex-shrink:0; background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:5px 12px; font-size:.75rem; font-weight:600; cursor:pointer; white-space:nowrap; transition:all .15s; }
.filter-chip.actief { background:var(--primary); border-color:var(--primary); color:white; }

.idee-kaart { background:var(--surface); border-radius:var(--radius); padding:14px; margin-bottom:10px; border-left:3px solid var(--border); transition:transform .1s; }
.idee-kaart:hover { transform:translateX(2px); }
.idee-kaart.gepland   { border-color:var(--success); }
.idee-kaart.bevestigd { border-color:var(--warning); }
.idee-kaart.idee      { border-color:var(--primary); }
/* land-kleur overschrijft status-kleur voor ongeplanfde ideeën */
.idee-kaart.idee.nicaragua   { border-color:var(--nica); }
.idee-kaart.idee.el-salvador { border-color:var(--salva); }

.idee-land-pill { display:inline-flex; align-items:center; gap:3px; font-size:.7rem; font-weight:700; padding:2px 7px; border-radius:20px; }
.idee-land-pill.nicaragua   { background:rgba(16,185,129,.15); color:var(--nica); }
.idee-land-pill.el-salvador { background:rgba(245,158,11,.15); color:var(--salva); }

.idee-top { display:flex; align-items:flex-start; gap:10px; margin-bottom:8px; }
.idee-icon { font-size:1.5rem; flex-shrink:0; margin-top:1px; }
.idee-body { flex:1; min-width:0; }
.idee-titel { font-weight:700; font-size:1rem; margin-bottom:3px; }
.idee-locatie { color:var(--text-muted); font-size:.8rem; display:flex; align-items:center; gap:4px; }
.idee-meta { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.idee-meta span { font-size:.75rem; background:var(--surface2); border-radius:6px; padding:2px 7px; color:var(--text-muted); }
.idee-status-chip { font-size:.7rem; font-weight:700; padding:2px 8px; border-radius:20px; }
.idee-status-chip.idee      { background:#1e3a5f; color:#93c5fd; }
.idee-status-chip.gepland   { background:#064e3b; color:#6ee7b7; }
.idee-status-chip.bevestigd { background:#713f12; color:#fde68a; }

.idee-stemmen { display:flex; align-items:center; gap:8px; margin-top:8px; }
.idee-claude { background:linear-gradient(135deg,#4f46e5,#7c3aed); color:white; border:none; border-radius:8px; padding:5px 11px; font-size:.75rem; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:5px; margin-left:auto; flex-shrink:0; }
.idee-claude:disabled { opacity:.5; cursor:not-allowed; }
.idee-claude.laden { animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.claude-info-blok { background:linear-gradient(135deg,rgba(79,70,229,.12),rgba(124,58,237,.08)); border:1px solid rgba(124,58,237,.3); border-radius:10px; padding:12px; margin-top:10px; }
.claude-info-blok .ci-label { font-size:.65rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#a78bfa; margin-bottom:6px; }
.claude-tips { list-style:none; padding:0; margin:6px 0 0; }
.claude-tips li { font-size:.82rem; color:var(--text-muted); padding:2px 0 2px 16px; position:relative; }
.claude-tips li::before { content:'→'; position:absolute; left:0; color:#a78bfa; }

.idee-detail { padding:16px; }
.idee-reacties { border-top:1px solid var(--border); padding-top:10px; margin-top:12px; }

.plan-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:1000; display:flex; align-items:center; justify-content:center; padding:20px; }
.plan-modal { background:var(--surface); border-radius:var(--radius); width:100%; max-width:400px; padding:24px; }
.plan-modal h2 { font-size:1rem; font-weight:700; margin-bottom:16px; }

/* ── Kaart ────────────────────────────────────────────────────────── */
.kaart-wrapper { height:calc(100vh - var(--header-h) - var(--nav-h)); width:100%; position:relative; }
@media (min-width:768px) { .kaart-wrapper { height:calc(100vh - var(--header-h)); } }
#kaart { width:100%; height:100%; }
.kaart-legenda { position:absolute; bottom:16px; left:16px; background:var(--surface); border-radius:10px; padding:10px 14px; z-index:500; font-size:.75rem; display:flex; flex-direction:column; gap:4px; box-shadow:0 2px 8px rgba(0,0,0,.3); }
.legenda-item { display:flex; align-items:center; gap:6px; }
.legenda-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.kaart-popup-naam { font-weight:700; margin-bottom:4px; }
.kaart-popup-meta { color:#64748b; font-size:.8rem; }

/* ── Suggestie-in-schema kaart ────────────────────────────────────── */
.sug-inline { background: var(--surface); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; border: 2px dashed var(--border); position: relative; }
.sug-inline-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sug-inline-label { font-size: 0.7rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--primary); }
.sug-inline-auteur { font-size: 0.8rem; color: var(--text-muted); }
.sug-inline-activiteit { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.sug-inline-impacts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sug-stemmen { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.stem-rij { display: flex; gap: 4px; align-items: center; }
.stem-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: white; cursor: pointer; opacity: .35; transition: opacity .15s, transform .1s; border: 2px solid transparent; }
.stem-dot.heeft-gestemd { opacity: 1; border-color: var(--primary); transform: scale(1.1); }
.stem-dot.eigen { cursor: pointer; }
.stem-teller { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.sug-acties { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-overnemen { background: var(--success); color: white; border: none; border-radius: 8px; padding: 7px 14px; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.btn-overnemen:hover { opacity: .85; }
.btn-afwijzen  { background: transparent; color: var(--danger); border: 1px solid var(--danger); border-radius: 8px; padding: 7px 14px; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.sug-overgenomen { opacity: .5; }

/* ── Profiel / instellingen modal ─────────────────────────────────── */
.profiel-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 800; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .profiel-modal { align-items: center; } }
.profiel-content { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; width: 100%; max-width: 440px; padding: 24px 24px 40px; }
@media (min-width: 640px) { .profiel-content { border-radius: var(--radius); } }
.profiel-kop { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.profiel-naam { font-size: 1.1rem; font-weight: 700; }
.profiel-sectie { margin-bottom: 20px; }
.profiel-sectie h3 { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.thema-toggle { display: flex; gap: 8px; }
.thema-knop { flex: 1; padding: 10px; border-radius: 8px; border: 2px solid var(--border); background: transparent; color: var(--text); font-size: .9rem; cursor: pointer; font-weight: 600; transition: all .15s; }
.thema-knop.actief { border-color: var(--primary); background: var(--surface2); }

/* ── Utilities ────────────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.items-center { align-items: center; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.leeg { text-align: center; color: var(--text-muted); padding: 40px 16px; }

/* ── Responsive (tablet/laptop) ───────────────────────────────────── */
@media (min-width: 768px) {
  .app-shell { flex-direction: row; }
  .bottom-nav { flex-direction: column; width: 80px; height: 100vh; border-top: none; border-right: 1px solid var(--border); }
  .nav-item { font-size: 0.6rem; height: 72px; }
  .main-content { flex: 1; }
  .app-header { padding: 0 24px; }
  .dag-rail { padding: 12px 24px; }
  .dag-detail { padding: 0 24px 40px; }
  .scherm { padding: 24px; }
  .detail-grid { grid-template-columns: repeat(3, 1fr); }
  .fab { bottom: 24px; right: 24px; }
}

@media (min-width: 1024px) {
  .bottom-nav { width: 100px; }
  .dag-rail { gap: 10px; }
  .dag-chip { min-width: 68px; }
}
