/* JIP v2 module Community. Bouwt op tokens.css en base.css; alleen eigen klassen met prefix com- en illus. */

/* ---------- illustraties als foto ---------- */
.illus { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); isolation: isolate; }
.illus:not(.is-ready)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 60%, transparent), transparent); transform: translateX(-100%); animation: skel 1.4s var(--ease) infinite; }
.illus-svg, .illus-svg > svg, .illus > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.illus > img { object-fit: cover; }
.illus-svg { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.illus.is-ready .illus-svg { opacity: 1; }
:root[data-theme="dark"] .illus-svg, :root[data-theme="dark"] .illus > img { filter: brightness(.9) saturate(.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .illus-svg, :root:not([data-theme="light"]) .illus > img { filter: brightness(.9) saturate(.95); } }

/* overlay volgt het 4:3-vlak van de tekening, ook als de kaart breder bijsnijdt */
.illus-ov { position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 4 / 3; transform: translateY(-50%); z-index: 2; pointer-events: none; }
.illus-region { position: absolute; border-radius: 5px; z-index: 2; }
.illus-region.is-blur { -webkit-backdrop-filter: blur(7px) saturate(.7); backdrop-filter: blur(7px) saturate(.7); background: rgba(240, 238, 232, .14); }
.illus-region.is-mark { box-shadow: 0 0 0 2px var(--signal), 0 0 0 4px rgba(22, 25, 30, .25); opacity: 0; transform: scale(.86); transition: opacity 260ms var(--ease), transform 360ms var(--ease); }
.illus-region.is-mark.is-on { opacity: 1; transform: none; }
.illus-region em { position: absolute; left: -2px; bottom: calc(100% + 7px); padding: 3px 7px; border-radius: 6px; background: var(--signal); color: var(--signal-ink); font: 600 11px/14px var(--font); font-style: normal; white-space: nowrap; letter-spacing: .01em; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.illus-region[style*="left:8"] em, .illus-region[style*="left:9"] em { left: auto; right: -2px; }
.illus-region[style*="top:0"] em, .illus-region[style*="top:1."] em, .illus-region[style*="top:2."] em, .illus-region[style*="top:3."] em, .illus-region[style*="top:4."] em, .illus-region[style*="top:5."] em, .illus-region[style*="top:6."] em { bottom: auto; top: calc(100% + 7px); }

/* ---------- algemeen ---------- */
.com .segmented { margin: 0 0 var(--s-5); }
.com-body.com-fade { animation: com-fade var(--t-med) var(--ease); }
@keyframes com-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.com-rules-link { color: var(--ink-2); }
.com-rules-link .ic { width: 18px; height: 18px; }
.com-foot { display: flex; gap: 8px; align-items: flex-start; margin: var(--s-8) 0 var(--s-4); color: var(--ink-3); font-size: 13px; line-height: 19px; }
.com-foot .ic { margin-top: 1px; flex: none; }
.com-hint { margin: var(--s-2) 0 0; }
.com-hint .ic { width: 15px; height: 15px; vertical-align: -3px; }
.com-lead { margin: 6px 0 var(--s-5); }
.com-sh { margin-top: var(--s-2); }
.com-sub { margin: var(--s-6) 0 var(--s-2); }
.com-h { margin: 6px 0 4px; }
.com-prose { font-size: 15.5px; line-height: 24px; color: var(--ink); margin: 0; white-space: pre-line; }

/* Deel-ingang */
.com-share { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 14px; margin-bottom: var(--s-4); }
.com-share-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); flex: none; }
.com-share-txt { flex: 1; min-width: 0; display: grid; }
.com-share-txt strong { font-weight: 600; font-size: 15.5px; }
.com-share-txt small { color: var(--ink-2); font-size: 13.5px; line-height: 18px; }
.com-share > .ic { color: var(--ink-3); }

.com-filters { display: grid; gap: 8px; margin-bottom: var(--s-4); }
.com-chip-more { color: var(--brand-2); border-style: dashed; }
.com-chip-more .ic { width: 15px; height: 15px; }
.chip .ic { width: 15px; height: 15px; }

/* ---------- kaarten ---------- */
.com-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.com-card { overflow: hidden; display: flex; flex-direction: column; }
.com-media { position: relative; }
.com-media .illus { aspect-ratio: 16 / 10; }
.com-media-tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 3; }
.com-tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1; color: #fff; background: rgba(18, 21, 26, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.com-tag .ic { width: 14px; height: 14px; }
.com-tag-light { background: rgba(255, 255, 255, .9); color: #16191E; }
.com-tag-light i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px rgba(255, 199, 44, .3); }
.com-tag-own { background: var(--brand); color: var(--brand-ink); }
.com-tag-n { position: absolute; right: 10px; bottom: 10px; z-index: 3; }
.com-card-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.com-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.com-model { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.com-kw { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface-2); border-radius: 7px; padding: 3px 7px; }
.com-title { font-size: 16.5px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 2px 0 0; text-wrap: pretty; }
.com-specs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.com-specs span { font-size: 12.5px; line-height: 16px; color: var(--ink-2); padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line); }
.com-by { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; min-width: 0; }
.com-by-name { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.com-by-reg { display: inline-flex; align-items: center; gap: 3px; color: var(--ink-3); white-space: nowrap; font-size: 12.5px; }
.com-by-reg .ic { width: 14px; height: 14px; }
.com-dhps { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ok); margin-top: 2px; }

.com-avatar { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.com-avatar.xs { width: 24px; height: 24px; border-radius: 7px; font-size: 10.5px; }
.com-avatar.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }

/* ---------- detail ---------- */
.com-gallery-wrap { position: relative; margin: 0 calc(-1 * var(--gutter)) var(--s-4); }
.com-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.com-gallery::-webkit-scrollbar { display: none; }
.com-gallery figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.com-gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 3; font-size: 12.5px; line-height: 16px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.com-gallery figure::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, rgba(0,0,0,.42)); z-index: 2; pointer-events: none; }
.com-dots { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 5px; }
.com-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background var(--t-fast), width var(--t-med) var(--ease); }
.com-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
@media (min-width: 560px) { .com-gallery-wrap { margin: 0 0 var(--s-4); border-radius: var(--r-card); overflow: hidden; } }

.com-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.com-when { margin: 0; }
.com-milestone { display: flex; gap: 12px; align-items: center; margin-top: var(--s-4); padding: 12px 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.com-milestone > .ic { color: var(--brand); width: 26px; height: 26px; }
.com-milestone div { display: grid; font-size: 14px; line-height: 19px; }
.com-milestone strong { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }

.com-good { position: relative; margin-top: var(--s-4); padding: 14px 16px 14px 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.com-good::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--signal); }
.com-good .t-label { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--ok); }
.com-good p { margin: 0; font-size: 15px; line-height: 22px; }
.com-good small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 12.5px; }

.com-spec { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.com-spec div { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 11px 14px; }
.com-spec div + div { border-top: 1px solid var(--line); }
.com-spec dt { color: var(--ink-2); font-size: 14px; }
.com-spec dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.com-spec dd.t-mono { font-weight: 600; }

.com-company { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: var(--s-6); }
.com-company-txt { flex: 1; min-width: 0; display: grid; }
.com-company-txt strong { font-weight: 600; }
.com-company-txt small { color: var(--ink-2); font-size: 13px; line-height: 18px; }
.com-company-go { display: inline-flex; align-items: center; gap: 2px; color: var(--brand-2); font-size: 14px; font-weight: 500; }

.com-reacties { display: grid; gap: 10px; }
.com-r { padding: 12px 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.com-r.is-dhps { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.com-r.is-pending { border-style: dashed; background: transparent; }
.com-r header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 14px; }
.com-r header strong { font-weight: 600; }
.com-r p { margin: 0; font-size: 15px; line-height: 22px; }
.com-r-wait { display: flex; gap: 6px; align-items: center; margin-top: 8px; color: var(--ink-3); font-size: 12.5px; }
.com-r-ans { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; line-height: 20px; }
.com-r-ans strong { font-size: 13px; color: var(--ink-2); }
.com-r-ans p { font-size: 14.5px; line-height: 21px; margin-top: 2px; }
.com-none { margin: 0; }
.com-react-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.com-react-actions .btn { flex: 1 1 auto; }
.com-thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; flex: none; display: block; }
.com-thumb .illus { aspect-ratio: auto; width: 100%; height: 100%; }

/* ---------- bedrijf ---------- */
.com-prof { display: flex; gap: 14px; align-items: center; margin: var(--s-2) 0 var(--s-4); }
.com-prof p { margin: 2px 0 0; }
.com-area { display: flex; gap: 6px; align-items: center; color: var(--ink-2); font-size: 14px; margin: var(--s-3) 0 0; }
.com-prof-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.com-prof-actions .btn { flex: 1 1 auto; }
.com-brands { display: grid; gap: 8px; }
.com-brand { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.com-brand span { display: grid; }
.com-brand strong { font-weight: 600; font-size: 15px; }
.com-brand small { color: var(--ink-2); font-size: 13px; }

/* ---------- vragen ---------- */
.com-vintro { display: grid; gap: 12px; margin-bottom: var(--s-4); }
.com-vintro p { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.com-vintro p .ic { margin-top: 1px; color: var(--ink-3); }
.com-vlist.is-empty { background: transparent; border: 0; }
.com-vrow { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.com-vrow > .ic { color: var(--ink-3); margin-top: 4px; }
.com-vrow .brand-tile { margin-top: 1px; }
.com-vtitle { display: block; white-space: normal; }
.com-vtitle .code-chip { height: 22px; min-width: 0; font-size: 12px; padding: 0 6px; border-radius: 6px; margin-right: 6px; vertical-align: 1px; }
.com-vmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12.5px; line-height: 16px; }
.com-vst { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink-2); }
.com-vst .ic { width: 14px; height: 14px; }
.com-vst.ok { color: var(--ok); }
.com-vst.warn { color: var(--warn); }

.com-vhead { display: flex; gap: 12px; align-items: center; margin-top: var(--s-2); }
.com-vhead p { margin: 0; }
.com-vcodes { margin: 8px 0 12px; }
.com-vraag .com-prose { margin-top: 8px; }
.com-answer { margin-top: var(--s-5); padding: 14px 16px 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid color-mix(in srgb, var(--ok) 32%, var(--line)); }
.com-answer header { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.com-answer header > .ic { color: var(--ok); width: 26px; height: 26px; }
.com-answer header div { display: grid; }
.com-answer header strong { font-weight: 600; }
.com-answer header small { color: var(--ok); font-size: 12.5px; font-weight: 600; }
.com-answer p { margin: 0 0 12px; font-size: 15.5px; line-height: 24px; }
.com-wait { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-5); padding: 14px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.com-wait > .level { margin-top: 4px; }
.com-wait-ic { color: var(--ink-3); }
.com-wait strong { font-weight: 600; }
.com-wait p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.com-codelinks { margin-top: var(--s-4); }

.com-sugg { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-card); background: var(--brand-soft); animation: com-fade var(--t-med) var(--ease); }
.com-sugg .t-label { margin: 0 0 4px; color: var(--brand); }
.com-sugg a, .com-sugg button { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; text-align: left; color: var(--ink); font-size: 14px; line-height: 20px; }
.com-sugg .ic { margin-top: 2px; color: var(--brand); flex: none; }

/* ---------- formulieren ---------- */
.com-form { display: grid; gap: var(--s-5); }
.com-form .callout { margin-bottom: 0; }
.com-2col { display: grid; gap: var(--s-5); }
@media (min-width: 420px) { .com-2col { grid-template-columns: 1fr 1.4fr; } }
.com-req { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 4px; text-transform: lowercase; }
.com-help { color: var(--ink-3); font-size: 12.5px; line-height: 17px; }
.com-err { display: none; color: var(--alert); font-size: 13px; line-height: 18px; font-weight: 500; }
.com-err.on { display: block; animation: com-fade var(--t-med) var(--ease); }
.textarea.is-invalid, .input.is-invalid { border-color: var(--alert); }
.com-code-in { text-transform: uppercase; letter-spacing: .04em; }
.com-actions { display: flex; gap: 8px; }
.com-actions .btn { flex: 1; }
.com-actions .btn-secondary { flex: 0 0 auto; padding: 0 18px; }

/* ---------- delen ---------- */
.com-steps { margin: 0 0 var(--s-4); }
.com-steps .progress { height: 4px; }
.com-prefill { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; margin-bottom: var(--s-4); }
.com-prefill > span:not(.brand-tile) { flex: 1; display: grid; }
.com-prefill strong { font-weight: 600; font-size: 14.5px; }
.com-prefill small { color: var(--ink-2); font-size: 13px; }
.com-prefilled { display: flex; gap: 8px; align-items: center; color: var(--ok); font-size: 14px; font-weight: 500; margin: 0 0 var(--s-4); }
.com-drop { display: grid; justify-items: center; gap: 4px; padding: 28px 16px; border-radius: var(--r-card); border: 1.5px dashed var(--line-strong); background: var(--surface); cursor: pointer; text-align: center; transition: border-color var(--t-fast), background var(--t-fast); }
.com-drop:hover, .com-drop:focus-within { border-color: var(--brand-2); background: color-mix(in srgb, var(--brand-soft) 40%, var(--surface)); }
.com-drop-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.com-drop strong { font-weight: 600; font-size: 16px; }
.com-drop small { color: var(--ink-2); font-size: 13.5px; }
.com-drop.is-busy { opacity: .7; pointer-events: none; }
.com-demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.com-demo { position: relative; display: grid; gap: 6px; text-align: left; font-size: 12.5px; line-height: 16px; color: var(--ink-2); border-radius: 12px; }
.com-demo .illus { border-radius: 12px; border: 1px solid var(--line); transition: box-shadow var(--t-fast); }
.com-demo[aria-pressed="true"] .illus { box-shadow: 0 0 0 2px var(--brand); }
.com-demo-check { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); opacity: 0; transform: scale(.6); transition: all var(--t-med) var(--ease); }
.com-demo-check .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.com-demo[aria-pressed="true"] .com-demo-check { opacity: 1; transform: none; }
.com-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.com-thumbx { position: relative; width: 88px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.com-thumbx button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,21,26,.7); color: #fff; }

/* voor/na-vergelijker */
.com-ftabs { display: flex; gap: 8px; margin-bottom: 10px; }
.com-ftabs button { width: 64px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); opacity: .65; transition: opacity var(--t-fast), box-shadow var(--t-fast); }
.com-ftabs button[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--brand); }
.com-compare { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); user-select: none; touch-action: pan-y; box-shadow: var(--shadow-float); }
.com-compare .cmp-layer, .com-compare .cmp-layer .illus { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.com-compare .cmp-after { clip-path: inset(0 0 0 var(--pos)); z-index: 2; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 4; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 12px rgba(0,0,0,.25); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #16191E; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.cmp-handle .ic { width: 14px; height: 14px; stroke-width: 2.4; margin: 0 -2px; }
.cmp-lab { position: absolute; top: 10px; z-index: 5; height: 24px; padding: 0 9px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: #fff; background: rgba(18,21,26,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; transition: opacity var(--t-med); }
.cmp-lab.l { left: 10px; }
.cmp-lab.r { right: 10px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 6; cursor: ew-resize; touch-action: pan-y; }
.cmp-scan { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 90px; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(270deg, transparent, rgba(255, 199, 44, .0) 30%, rgba(255, 199, 44, .28)); transition: opacity var(--t-med); }
.cmp-status { position: absolute; left: 50%; bottom: 12px; z-index: 5; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 99px; background: rgba(18,21,26,.72); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity var(--t-med), transform var(--t-med) var(--ease); pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.com-compare.is-scanning .cmp-scan, .com-compare.is-scanning .cmp-status { opacity: 1; }
.com-compare.is-scanning .cmp-status { transform: translate(-50%, 0); }
.com-compare.is-scanning .cmp-lab, .com-compare.is-pre .cmp-lab { opacity: 0; }
.com-compare.is-scanning .cmp-handle span { opacity: 0; }
.com-compare.is-scanning .cmp-handle { background: var(--signal); box-shadow: 0 0 16px rgba(255,199,44,.7); }
.com-compare.is-scanning .cmp-range { pointer-events: none; }
.com-compare.is-tapmode { cursor: crosshair; box-shadow: 0 0 0 2px var(--brand-2), var(--shadow-float); }
.com-compare.is-tapmode .cmp-range, .com-compare.is-tapmode .cmp-handle { display: none; }
.com-compare.is-tapmode .cmp-lab.l { opacity: 0; }

.com-tapbar { display: flex; gap: 4px; flex-wrap: wrap; margin: 8px 0 0 -8px; }
.com-tapbar .btn[aria-pressed="true"] { background: var(--brand-soft); }

.com-found { list-style: none; margin: var(--s-4) 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.com-found li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.com-found li + li { border-top: 1px solid var(--line); }
.com-found .cf-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); flex: none; }
.com-found .is-keep .cf-ic { background: var(--surface-2); color: var(--ink-2); }
.com-found .cf-main { flex: 1; min-width: 0; display: grid; }
.com-found strong { font-weight: 600; font-size: 14.5px; line-height: 20px; }
.com-found small { color: var(--ink-2); font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.com-found s { color: var(--ink-3); font-family: var(--mono); font-size: 12.5px; text-decoration-color: var(--alert); text-decoration-thickness: 1.5px; }
.com-found { opacity: 0; transition: opacity var(--t-med); }
.com-found.is-in { opacity: 1; }
.com-found li { opacity: 0; transform: translateY(6px); }
.com-found.is-in li { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.com-found.is-in li:nth-child(2) { transition-delay: 60ms; }
.com-found.is-in li:nth-child(3) { transition-delay: 120ms; }
.com-found.is-in li:nth-child(4) { transition-delay: 180ms; }
.com-found.is-in li:nth-child(5) { transition-delay: 240ms; }
.com-found.is-in li:nth-child(6) { transition-delay: 300ms; }

/* keuzes */
.com-opts { display: grid; gap: 8px; margin-top: var(--s-3); }
.com-opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); text-align: left; transition: border-color var(--t-fast), background var(--t-fast); }
.com-opt > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.com-opt strong { font-weight: 600; font-size: 15.5px; }
.com-opt small { color: var(--ink-2); font-size: 13.5px; line-height: 19px; }
.com-opt-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.com-opt[aria-checked="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 50%, var(--surface)); }
.com-opt[aria-checked="true"] .com-opt-ic { background: var(--brand); color: var(--brand-ink); }
.com-radio { width: 22px; height: 22px; border-radius: 50%; border: 1.75px solid var(--line-strong); flex: none; position: relative; margin-top: 2px; transition: border-color var(--t-fast); }
.com-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform var(--t-med) var(--ease); }
[aria-checked="true"] > .com-radio { border-color: var(--brand); }
[aria-checked="true"] > .com-radio::after { transform: scale(1); }
.com-zicht .row { align-items: center; }
.com-zicht .row-sub { white-space: normal; }

.com-consent { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 14px; border-radius: var(--r-card); border: 1.5px solid var(--line-strong); background: var(--surface); text-align: left; transition: border-color var(--t-med), background var(--t-med); }
.com-consent > span:last-child { display: grid; gap: 2px; }
.com-consent strong { font-weight: 600; font-size: 15.5px; }
.com-consent small { color: var(--ink-2); font-size: 13.5px; line-height: 19px; }
.com-consent-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; transition: background var(--t-med), color var(--t-med), transform var(--t-med) var(--ease); }
.com-consent.is-on { border-color: var(--ok); background: color-mix(in srgb, var(--ok-soft) 70%, var(--surface)); }
.com-consent.is-on .com-consent-ic { background: var(--ok); color: #fff; animation: com-pop 420ms var(--ease); }
.com-consent.is-on .com-consent-ic .ic { stroke-width: 2.6; }
.com-consent.is-nudge { animation: com-nudge 420ms var(--ease); border-color: var(--warn); }
@keyframes com-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes com-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.com-preview-btn { margin: 6px 0 0 -8px; }
.com-bedrijf-in { margin: var(--s-4) 0; }
.com-delen .callout { margin-top: var(--s-2); }

/* klaar */
.com-done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: var(--s-8) var(--s-2) var(--s-4); }
.com-done p { max-width: 34ch; margin: 0; }
.com-done-mark { width: 72px; height: 72px; margin-bottom: 8px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.com-done-mark circle { stroke: var(--ok); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; animation: com-draw 700ms var(--ease) forwards; }
.com-done-mark path { stroke: var(--ok); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: com-draw 420ms var(--ease) 520ms forwards; }
@keyframes com-draw { to { stroke-dashoffset: 0; } }
.com-done-actions { display: grid; gap: 8px; margin-top: var(--s-6); }
.com-approve { padding: 14px; display: grid; gap: 10px; box-shadow: var(--shadow-float); animation: com-fade var(--t-slow) var(--ease) 900ms both; }
.com-approve p { margin: 0; font-size: 14.5px; line-height: 20px; }
.com-approve-head { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12.5px; }
.com-approve-head strong { color: var(--ink); }
.com-approve-post { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: var(--surface-2); }
.com-approve-post span:last-child { display: grid; min-width: 0; }
.com-approve-post strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.com-approve-post small { color: var(--ink-2); font-size: 12.5px; }
.com-approved { display: flex; gap: 12px; align-items: center; animation: com-fade var(--t-med) var(--ease); }
.com-approved > .ic { color: var(--ok); width: 28px; height: 28px; }
.com-approved.is-no > .ic { color: var(--ink-3); }
.com-approved p { color: var(--ink-2); }

/* spelregels */
.com-rules .t-h1 { margin-top: var(--s-2); }
.com-rule-list { list-style: none; display: grid; gap: 0; margin: 0 0 var(--s-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.com-rule-list li { display: flex; gap: 14px; padding: 14px 16px; }
.com-rule-list li + li { border-top: 1px solid var(--line); }
.com-rule-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.com-rule-ic .ic { width: 20px; height: 20px; }
.com-rule-list h2 { font-size: 15.5px; line-height: 21px; font-weight: 600; margin: 0 0 3px; }
.com-rule-list p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 21px; }

@media (prefers-reduced-motion: reduce) {
  .illus-region.is-mark { transition: none; }
  .com-found li { opacity: 1; transform: none; }
}
