/* ─── Module 2 · agents, signalen, scenario’s ─────────── */
.db-mark { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 10px; font-family: var(--syne); font-size: 12px; font-weight: 700; }
.db-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--em700); }
.db-live i { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: db-pulse 2s infinite; }
@keyframes db-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.db-side__agents { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; margin-bottom: 10px; }
.db-ai { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; background: var(--amber-100); padding: 2px 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-800); }
.db-ai svg { width: 10px; height: 10px; }
.db-super { display: flex; align-items: flex-start; gap: 10px; width: 100%; margin-bottom: 12px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 10px; text-align: left; transition: border-color .2s, background .2s; }
.db-super:hover { border-color: var(--c300); }
.db-super.is-active { background: var(--c900); border-color: var(--c900); color: var(--bone); }
.db-super .grow { min-width: 0; padding-top: 2px; }
.db-super__n { display: flex; align-items: center; gap: 6px; font-family: var(--syne); font-size: 13px; font-weight: 600; }
.db-super__n span { border-radius: 999px; background: var(--amber-100); padding: 1px 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-800); }
.db-super.is-active .db-super__n span { background: var(--amber); color: var(--c900); }
.db-super .sub { font-size: 10.5px; color: var(--c500); }
.db-super.is-active .sub { color: rgba(248,243,230,.6); }
.db-agentlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.db-agentlist .db-nav { font-size: 13px; padding: 6px 8px; }
.db-agentlist .db-nav span { gap: 10px; }

.db-feed { display: flex; flex-direction: column; }
.db-feed__list { display: flex; flex-direction: column; gap: 14px; max-height: 420px; overflow-y: auto; padding-right: 4px; scroll-behavior: smooth; }
.db-sec--feed .db-feed__list { max-height: 520px; min-height: 320px; }
.db-sec--gold { border-color: rgba(245,166,35,.45); background: linear-gradient(180deg, #FFFDF8, #FBF6EA); box-shadow: 0 0 0 4px rgba(245,166,35,.06); }
.db-sec--gold .db-feed__list { max-height: 300px; min-height: 200px; }
.db-msg { display: flex; gap: 12px; animation: db-msg .5s var(--ease-out); }
@keyframes db-msg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.db-msg__body { flex: 1; min-width: 0; border-radius: 4px 16px 16px 16px; background: var(--bone); border: 1px solid var(--line); padding: 10px 14px; }
.db-msg[data-agent="six"] .db-msg__body { background: var(--c900); border-color: var(--c900); color: var(--bone); }
.db-msg--me { flex-direction: row-reverse; }
.db-msg--me .db-msg__body { border-radius: 16px 4px 16px 16px; background: var(--amber-50); border-color: var(--amber-200); }
.db-msg__who { display: flex; align-items: baseline; gap: 8px; font-family: var(--syne); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.db-msg__who span { font-family: var(--dm); font-weight: 400; font-size: 10.5px; color: var(--c500); }
.db-msg[data-agent="six"] .db-msg__who span { color: rgba(248,243,230,.55); }
.db-msg__text { font-size: 13.5px; line-height: 1.5; }
.db-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.db-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c400); animation: db-dot 1.2s infinite; }
.db-typing i:nth-child(2) { animation-delay: .2s; } .db-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes db-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.db-ask { display: flex; align-items: center; gap: 10px; margin-top: 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 6px 6px 6px 8px; }
.db-ask input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--c900); outline: 0; }
.db-ask input::placeholder { color: var(--c400); }
.db-ask button { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--c900); color: var(--bone); }
.db-ask button svg { width: 14px; height: 14px; }
.db-stack { display: flex; flex-direction: column; gap: 24px; }
.db-row--static:hover { opacity: 1; }
.db-gov { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.db-gov li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c700); }
.db-gov svg { width: 16px; height: 16px; color: var(--amber-600); flex-shrink: 0; }
.db-bell__dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #F43F5E; border: 1.5px solid var(--bone); }
.db-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.db-dot--ok { background: var(--amber); } .db-dot--amber { background: var(--amber-600); } .db-dot--grey { background: var(--c400); }
.db-badge--rose { border-color: #FECDD3; background: var(--rose50); color: var(--rose700); }

/* signalen */
.db-sig { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.db-sigcard { border-radius: 24px; border: 1px solid var(--line); background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.db-sigcard[data-sev="hoog"] { border-left: 3px solid var(--rose700); }
.db-sigcard[data-sev="midden"] { border-left: 3px solid var(--amber); }
.db-sigcard__head { display: flex; align-items: center; gap: 12px; }
.db-sigcard__title { font-family: var(--syne); font-size: 15px; font-weight: 600; }
.db-sigcard__body { font-size: 13.5px; color: var(--c700); line-height: 1.55; }
.db-sigcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.db-sigcard__impact { font-family: var(--syne); font-size: 22px; font-weight: 600; }
.db-sigcard__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.db-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); padding: 5px 10px; font-size: 12px; font-weight: 500; color: var(--c700); transition: all .2s; }
.db-chip svg { width: 12px; height: 12px; opacity: .5; }
.db-chip:hover { border-color: var(--c900); color: var(--c900); }
.db-chip.is-done { background: var(--c900); border-color: var(--c900); color: var(--bone); }
.db-chip.is-done svg { opacity: 1; color: var(--amber); }

/* scenario’s */
.db-slider { padding: 8px 0 20px; }
.db-slider label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--c700); margin-bottom: 10px; }
.db-slider label b { font-family: var(--syne); font-size: 22px; color: var(--c900); }
.db-slider input[type=range] { width: 100%; accent-color: var(--amber); }
.db-slider__ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--c500); margin-top: 4px; }
.db-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.db-scout { border-radius: 16px; border: 1px solid var(--line); background: var(--bone); padding: 16px; }
.db-scout .db-big { font-size: 26px; margin-top: 6px; }
.db-scout .sub, .db-sec .sub { font-size: 12px; color: var(--c500); }
.db-scen { display: flex; flex-direction: column; gap: 10px; }
.db-scencard { display: flex; gap: 12px; width: 100%; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 14px; transition: border-color .2s, box-shadow .2s; }
.db-scencard:hover { border-color: var(--c300); }
.db-scencard.is-rec { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.15); }
.db-scencard__k { display: inline-flex; width: 32px; height: 32px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 10px; background: var(--c900); color: var(--bone); font-family: var(--syne); font-weight: 700; }
.db-scencard.is-rec .db-scencard__k { background: var(--amber); color: var(--c900); }
.db-scencard__t { font-family: var(--syne); font-size: 14px; font-weight: 600; margin-bottom: 2px; }

@media (max-width: 1100px) { .db-sig, .db-grid3 { grid-template-columns: 1fr; } }

/* signalen als rustige lijst */
.db-siglist details + details { border-top: 1px solid var(--line); }
.db-sigrow summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 24px; cursor: pointer; }
.db-sigrow summary::-webkit-details-marker { display: none; }
.db-sigrow summary .grow { flex: 1; min-width: 0; }
.db-sigrow summary:hover { background: var(--bone); }
.db-sigrow__sev { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--c300); }
.db-sigrow[data-sev="hoog"] .db-sigrow__sev { background: var(--rose700); } .db-sigrow[data-sev="midden"] .db-sigrow__sev { background: var(--amber); }
.db-sigrow__title { font-family: var(--syne); font-size: 15px; font-weight: 500; }
.db-sigrow .sub { font-size: 12px; color: var(--c500); }
.db-sigrow__impact { font-family: var(--syne); font-size: 17px; white-space: nowrap; color: var(--c900); }
.db-sigrow__chev { color: var(--c400); transform: rotate(90deg); transition: transform .3s; }
.db-sigrow__chev svg { width: 14px; height: 14px; }
.db-sigrow[open] .db-sigrow__chev { transform: rotate(-90deg); }
.db-sigrow__body { padding: 0 24px 22px 75px; animation: db-in .35s ease-out; }
.db-sigrow__body > p { max-width: 62ch; font-size: 13.5px; line-height: 1.6; color: var(--c700); }
.db-sigrow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.db-sigrow__actions .eyebrow { margin-right: 4px; }
