@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --navy: #1E2A38; --antraciet: #2B2F33; --grijs: #5F6B75; --licht: #F4F6F8; --teal: #3FA7A0; --teal-donker: #2F7F79;
  --rand: #E2E8F0; --fout: #C53030; --fout-bg: #FFF5F5; --ok-bg: #E6F5F4;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--licht); color: var(--navy); min-height: 100vh; line-height: 1.5; }
a { color: var(--teal-donker); }

/* ── Header ── */
.top { background: var(--navy); color: #fff; padding: 1.1rem 2rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); flex-wrap: wrap; }
.logo { width: 42px; height: 42px; background: #0C1116; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; text-decoration: none; }
.top h1 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.top p { font-size: .8rem; opacity: .75; }
.top .versie { font-size: .68rem; opacity: .7; margin-left: .35rem; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: .75rem; font-size: .82rem; flex-wrap: wrap; }
.top-right .wie { opacity: .8; }
.top-link, .top-right button { color: rgba(255,255,255,.9); text-decoration: none; font: inherit; font-size: .8rem; font-weight: 500; padding: .4rem .75rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: none; cursor: pointer; }
.top-link:hover, .top-right button:hover { background: rgba(255,255,255,.15); }
.top-right form { display: inline; }

main { max-width: 1100px; margin: 0 auto; padding: 2rem; }

/* ── Kaarten en formulieren ── */
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.07); padding: 1.5rem; margin-bottom: 1.25rem; }
.card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; }
.auth { width: 100%; max-width: 400px; }
.auth .brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.auth .brand b { font-size: 1.15rem; }
.auth h2 { font-size: 1.15rem; }
.auth p.lead { color: var(--grijs); font-size: .88rem; margin-bottom: 1rem; }

label.f { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--grijs); margin: .9rem 0 .35rem; }
input[type=email], input[type=password], input[type=text], select {
  width: 100%; padding: .65rem .8rem; border: 1.5px solid #CBD5E0; border-radius: 8px; font: inherit; font-size: .95rem; color: var(--navy); background: #fff; outline: none;
}
input:focus, select:focus { border-color: var(--teal); }
input.code { font-size: 1.5rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: none; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; padding: .6rem 1.1rem; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-donker); }
.btn-secondary { background: var(--licht); color: var(--navy); border: 1px solid #dde3e9; }
.btn-secondary:hover { background: #e8edf2; }
.btn-danger { background: var(--fout-bg); color: var(--fout); border: 1px solid #fed7d7; }
.btn-sm { padding: .35rem .7rem; font-size: .78rem; }
.btn-block { width: 100%; margin-top: 1.25rem; padding: .75rem; font-size: .95rem; }

.msg { border-radius: 8px; padding: .75rem 1rem; font-size: .88rem; margin-bottom: 1rem; border-left: 4px solid; }
.msg-fout { background: var(--fout-bg); border-color: var(--fout); color: #7a1f1f; }
.msg-ok { background: var(--ok-bg); border-color: var(--teal); color: #1d5c57; }
.msg-info { background: var(--licht); border-color: var(--grijs); color: var(--antraciet); }
.hint { font-size: .8rem; color: var(--grijs); margin-top: .4rem; }
.mono { font-family: Consolas, 'Courier New', monospace; font-size: .85rem; word-break: break-all; background: var(--licht); padding: .5rem .7rem; border-radius: 6px; }

/* ── QR ── */
.qr { display: flex; justify-content: center; padding: 1rem; background: #fff; border: 1px solid var(--rand); border-radius: 10px; margin: .75rem 0; }
ol.stappen { margin: .25rem 0 0 1.2rem; font-size: .88rem; color: var(--antraciet); }
ol.stappen li { margin-bottom: .3rem; }

/* ── Horizon: inlog-, 2FA- en activatieschermen ── */
body.horizon { background: #0C1116; color: #fff; overflow-x: hidden; }
.hz-sky { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hz-star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .35; animation: hzTwinkle 5s ease-in-out infinite; }
.hz-star.s2 { animation-delay: -1.5s; } .hz-star.s3 { animation-delay: -3s; } .hz-star.s4 { animation-delay: -4s; }
@keyframes hzTwinkle { 0%, 100% { opacity: .15; } 50% { opacity: .7; } }
.hz-shoot { position: absolute; width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(191,237,234,.6) 70%, #fff); opacity: 0; transform-origin: right center; animation: hzShoot 11s ease-in infinite; }
.hz-shoot::after { content: ''; position: absolute; right: -2px; top: -1.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(127,209,203,.8); }
.hz-shoot.z2 { animation-duration: 17s; animation-delay: 6s; }
@keyframes hzShoot { 0% { opacity: 0; transform: rotate(22deg) translateX(0); } 1% { opacity: 1; } 7%, 100% { opacity: 0; transform: rotate(22deg) translateX(560px); } }
.hz-planet, .hz-glow { position: absolute; left: 50%; top: 72%; width: 2600px; height: 2600px; margin-left: -1300px; border-radius: 50%; }
.hz-planet { background: #0A0E12; border: 1px solid rgba(127,209,203,.75); }
.hz-glow { box-shadow: 0 -24px 140px 10px rgba(63,167,160,.38), 0 -4px 30px rgba(63,167,160,.5); animation: hzBreathe 8s ease-in-out infinite; }
@keyframes hzBreathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

.horizon .auth-wrap { position: relative; z-index: 1; padding: 3rem 1rem 7rem; }
.horizon .auth { max-width: 400px; }
.horizon .auth .brand { flex-direction: column; text-align: center; gap: .75rem; margin-bottom: 1.75rem; }
.horizon .auth .brand b { font-size: 2.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.horizon .logo-ster { filter: drop-shadow(0 0 4px rgba(63,167,160,.9)); }
.horizon .card { background: rgba(23,30,38,.92); border: 1px solid #27313B; border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.55); padding: 2rem; color: #fff; margin-bottom: 0; }
.horizon .card h2 { font-size: 1.25rem; color: #fff; margin-bottom: .5rem; }
.horizon p.lead { color: #B4BEC8; }
.horizon a { color: #7FD1CB; }
.horizon label.f { color: #B4BEC8; text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 500; }
.horizon input[type=email], .horizon input[type=password], .horizon input[type=text] { min-height: 48px; background: #0C1116; border: 1px solid #2E3843; border-radius: 10px; color: #fff; transition: border-color .15s, box-shadow .15s; }
.horizon input:focus { border-color: #3FA7A0; box-shadow: 0 0 0 3px rgba(63,167,160,.25); }
.horizon input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #0C1116 inset; -webkit-text-fill-color: #fff; caret-color: #fff; }
.horizon .btn-primary { background: #fff; color: #12171D; border-radius: 10px; font-weight: 700; min-height: 50px; transition: box-shadow .2s, transform .15s; }
.horizon .btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(63,167,160,.35); }
.horizon .btn-secondary { background: transparent; color: #7FD1CB; border: 1px solid #2E3843; min-height: 44px; }
.horizon .btn-secondary:hover { background: rgba(255,255,255,.05); }
.horizon .hint { color: #8B97A3; }
.horizon .mono { background: #0C1116; color: #E8EDF1; border: 1px solid #2E3843; }
.horizon ol.stappen { color: #C3CCD5; }
.horizon .qr { background: #fff; border: 0; }
.horizon .msg-fout { background: rgba(197,48,48,.14); border-color: #FC8181; color: #FED7D7; }
.horizon .msg-ok { background: rgba(63,167,160,.14); border-color: #3FA7A0; color: #BFEDEA; }
.horizon .msg-info { background: rgba(255,255,255,.05); border-color: #5F6B75; color: #C3CCD5; }
.auth-versie { text-align: center; margin-top: 1.75rem; font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; color: #8B97A3; }
@media (prefers-reduced-motion: reduce) {
  .hz-star, .hz-glow { animation: none; }
  .hz-shoot { display: none; }
}

/* ── Horizon in de app: donker kader, licht werkvlak ── */
body.horizon-app { background: #0C1116; overflow-x: hidden; }
.horizon-app .hz-planet, .horizon-app .hz-glow { top: 86%; }
.horizon-app .logo-ster { filter: drop-shadow(0 0 3px rgba(63,167,160,.9)); }
.horizon-app .top { position: relative; z-index: 2; background: rgba(12,17,22,.82); border-bottom: 1px solid #1B232C; box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.horizon-app .top .logo { border: 1px solid #27313B; }
.horizon-app .top-link:hover, .horizon-app .top-right button:hover { background: rgba(127,209,203,.12); border-color: rgba(127,209,203,.45); }
.horizon-app main { position: relative; z-index: 1; width: calc(100% - 2rem); margin: 1.5rem auto 4rem; background: var(--licht); color: var(--navy); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04); }
.horizon-app main a { color: var(--teal-donker); }
.horizon-app main a.tool-card { color: inherit; }

/* ── Overzicht: uitgelichte rij (donker, geen licht werkvlak) ── */
.horizon-dash main { background: transparent; box-shadow: none; color: #fff; max-width: 1180px; padding: 2.25rem 2rem 4rem; }
.dash-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.dash-kop h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.dash-kop p { color: #B4BEC8; font-size: .95rem; margin-top: .3rem; }
.dash-aantal, .tc-nr, .tc-cat, .tc-chip { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }
.dash-aantal { font-size: .75rem; letter-spacing: .08em; color: #8B97A3; }
.horizon-dash .tool-card.tc { position: relative; display: block; padding: 1px; overflow: hidden; border: 0; border-radius: 18px; background: #27313B; box-shadow: none; color: #fff; text-decoration: none; transition: transform .2s; }
.tc::before { content: ''; position: absolute; left: 50%; top: 50%; width: 260%; height: 260%; background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(63,167,160,.2) 320deg, #7FD1CB 350deg, transparent 360deg); transform: translate(-50%,-50%); opacity: 0; transition: opacity .3s; animation: tcSpin 6s linear infinite; }
.tc-feat::before { width: 160%; height: 600%; opacity: 1; }
.horizon-dash .tool-card.tc:hover, .horizon-dash .tool-card.tc:focus-visible { transform: translateY(-3px); box-shadow: none; }
.tc:hover::before, .tc:focus-visible::before { opacity: 1; }
.tc:focus-visible { outline: 2px solid #7FD1CB; outline-offset: 3px; }
@keyframes tcSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.tc-in { position: relative; overflow: hidden; height: 100%; border-radius: 17px; background: #161D25; padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.tc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tc-icon { position: relative; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: #0C1116; border: 1px solid #2E3843; color: #7FD1CB; display: flex; align-items: center; justify-content: center; }
.tc-icon svg { stroke-width: 1.7; filter: drop-shadow(0 0 6px rgba(63,167,160,.6)); }
.tc-nr { font-size: .75rem; color: #8B97A3; }
.tc-cat { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #7FD1CB; }
.tc-naam { position: relative; font-size: 1.06rem; font-weight: 800; line-height: 1.25; }
.tc-tekst { position: relative; font-size: .82rem; line-height: 1.5; color: #B4BEC8; }
.tc-mark { position: absolute; right: -20px; bottom: -24px; color: #7FD1CB; opacity: .07; transition: opacity .25s, transform .25s; pointer-events: none; }
.tc-mark svg { stroke-width: 1; }
.tc:hover .tc-mark { opacity: .18; transform: rotate(-6deg); }
.tc-go { position: relative; margin-top: auto; width: 34px; height: 34px; border-radius: 50%; background: #27313B; display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
.tc-go svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 2.4; }
.tc:hover .tc-go { transform: translateX(3px); background: #3FA7A0; }
.tc:hover .tc-go svg { stroke: #0C1116; }
.tc-feat .tc-in { flex-direction: row; align-items: center; gap: 2rem; padding: 2rem 2.25rem; min-height: 230px; }
.tc-feat .tc-icon { width: 112px; height: 112px; border-radius: 26px; }
.tc-feat .tc-icon svg { stroke-width: 1.5; }
.tc-feat .tc-mark { right: 120px; top: -60px; bottom: auto; }
.tc-tekstblok { position: relative; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.tc-labels { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.tc-chip { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #0C1116; background: #7FD1CB; padding: 3px 8px; border-radius: 999px; }
.tc-feat .tc-naam { font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.1; }
.tc-feat .tc-tekst { font-size: .95rem; color: #C9D2DA; max-width: 560px; }
.tc-feat .tc-go { margin-top: 0; flex: 0 0 56px; width: 56px; height: 56px; background: #3FA7A0; }
.tc-feat .tc-go svg { width: 22px; height: 22px; stroke: #0C1116; }
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.tc-grid .tc-in { min-height: 250px; }
.horizon-dash .msg-fout { background: rgba(197,48,48,.14); border-color: #FC8181; color: #FED7D7; }
.horizon-dash .card.leeg { background: #161D25; border: 1px solid #27313B; color: #fff; box-shadow: none; }
.horizon-dash .card.leeg .hint { color: #8B97A3; }
@media (max-width: 640px) {
  .horizon-dash main { padding: 1.5rem 1rem 3rem; }
  .tc-feat .tc-in { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
  .tc-feat .tc-icon { width: 72px; height: 72px; border-radius: 18px; }
  .tc-feat .tc-icon svg { width: 36px; height: 36px; }
  .tc-feat .tc-naam { font-size: 1.5rem; }
  .tc-feat .tc-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tc::before { animation: none; } }

/* ── Dashboard ── */
.group { margin-bottom: 2.25rem; }
.section-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #8a97a3; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.section-label::after { content: ''; flex: 1; height: 1px; background: #E8EDF2; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.tool-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.07); padding: 1.6rem 1.5rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .55rem; border: 1px solid transparent; transition: box-shadow .18s, border-color .18s, transform .18s; }
.tool-card:hover { box-shadow: 0 6px 20px rgba(63,167,160,.15); border-color: #b2deda; transform: translateY(-2px); }
.tool-icon { font-size: 2rem; line-height: 1; }
.tool-name { font-size: 1.05rem; font-weight: 700; }
.tool-desc { font-size: .83rem; color: var(--grijs); flex: 1; }
.tool-open { margin-top: .5rem; font-size: .82rem; font-weight: 600; color: var(--teal-donker); }
.leeg { text-align: center; padding: 3rem 1rem; color: var(--grijs); }

/* ── Admin ── */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th { text-align: left; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--grijs); background: var(--licht); padding: .55rem .75rem; white-space: nowrap; }
td { padding: .55rem .75rem; border-bottom: 1px solid #edf1f5; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
.matrix th.tool { text-align: center; white-space: normal; min-width: 95px; font-size: .66rem; }
.matrix td.cb { text-align: center; }
.matrix input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--teal); cursor: pointer; }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 20px; background: var(--licht); color: var(--grijs); }
.pill-ok { background: var(--ok-bg); color: #1d5c57; }
.pill-warn { background: #FFFAF0; color: #9C4221; }
.pill-uit { background: var(--fout-bg); color: var(--fout); }
.acties { display: flex; gap: .35rem; flex-wrap: wrap; }
.acties form { display: inline; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; align-items: end; }
.grid-form .btn { margin-top: 1rem; }

@media (max-width: 640px) {
  main { padding: 1.25rem 1rem; }
  .horizon-app main { width: calc(100% - 1rem); margin-top: 1rem; border-radius: 16px; }
  .top { padding: 1rem; }
  .tool-grid { grid-template-columns: 1fr; }
}

/* ── Zoeken op het overzicht ── */
.dash-rechts { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dash-zoek { position: relative; display: flex; align-items: center; }
.dash-zoek svg { position: absolute; left: .8rem; width: 17px; height: 17px; stroke: #8B97A3; stroke-width: 2; pointer-events: none; }
.horizon-dash .dash-zoek input { width: 260px; max-width: 100%; padding: .6rem 2.4rem .6rem 2.4rem; border-radius: 999px; border: 1px solid #2E3843; background: #0C1116; color: #fff; font-size: .9rem; transition: border-color .2s, box-shadow .2s; }
.horizon-dash .dash-zoek input::placeholder { color: #6F7C88; }
.horizon-dash .dash-zoek input:focus { border-color: #3FA7A0; box-shadow: 0 0 0 3px rgba(63,167,160,.25); outline: none; }
.dash-zoek input::-webkit-search-cancel-button { filter: grayscale(1) brightness(2.2) opacity(.7); cursor: pointer; }
.dash-zoek kbd { position: absolute; right: .7rem; font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: .7rem; color: #8B97A3; border: 1px solid #2E3843; border-radius: 5px; padding: 0 .35rem; line-height: 1.4; pointer-events: none; }
.dash-zoek input:focus ~ kbd, .dash-zoek input:not(:placeholder-shown) ~ kbd { display: none; }
.tc[hidden], .tc-grid[hidden], .zoek-leeg[hidden] { display: none !important; }
.zoek-leeg { margin-top: 1.4rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .dash-rechts, .dash-zoek, .horizon-dash .dash-zoek input { width: 100%; }
}

/* ── 2FA koppelen: QR-code van de server, link naar de app op telefoons ── */
.qr svg { display: block; width: 220px; height: 220px; max-width: 100%; }
.app-link { margin: 0 0 .9rem; white-space: normal; text-align: center; }
@media (hover: hover) and (pointer: fine) { .app-link { display: none; } }
.mono.sleutel { word-break: normal; overflow-wrap: normal; }

/* ── Venster "Alle tools" (overzicht met meer dan 5 tools, ontwerp O2) ── */
.at-knop { display: inline-flex; align-items: center; gap: .6rem; height: 46px; padding: 0 1.1rem; border-radius: 12px; border: 1px solid #fff; background: #fff; color: #0C1116; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.at-knop svg { width: 18px; height: 18px; stroke: #0C1116; stroke-width: 2; }
.at-knop:hover { background: #E6F5F4; }
.at-knop:focus-visible { outline: 2px solid #7FD1CB; outline-offset: 3px; }
.at-aantal { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-weight: 500; color: #5F6B75; }
.at-paneel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px, 100vw); max-width: 100vw; height: 100vh; max-height: 100vh; padding: 0; border: 0; background: var(--licht); color: var(--navy); box-shadow: -30px 0 80px rgba(0,0,0,.5); display: none; flex-direction: column; }
.at-paneel[open] { display: flex; animation: atIn .22s ease-out; }
.at-paneel::backdrop { background: rgba(5,8,11,.6); }
@keyframes atIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.at-kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem 1rem; }
.at-kop h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.at-kop p { font-size: .82rem; color: var(--grijs); margin-top: .2rem; }
.at-sluit { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #D9DFE5; background: #fff; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.at-sluit:hover { border-color: var(--teal); }
.at-sluit:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.at-zoek { position: relative; margin: 0 1.5rem .5rem; }
.at-zoek svg { position: absolute; left: .85rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; stroke: var(--grijs); stroke-width: 2; pointer-events: none; }
.at-zoek input { width: 100%; height: 44px; padding: 0 .9rem 0 2.6rem; border: 1px solid #D9DFE5; border-radius: 10px; background: #fff; font: inherit; font-size: .92rem; color: var(--navy); }
.at-zoek input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(63,167,160,.2); }
.at-lijst { flex: 1; overflow-y: auto; padding: 0 .75rem 1.5rem; }
.at-groep { padding: .9rem 0 .4rem; border-top: 1px solid #E3E7EB; }
.at-groep:first-child { border-top: 0; }
.at-groep h3 { display: flex; justify-content: space-between; align-items: center; padding: 0 .75rem .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #23766F; }
.at-tel { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-weight: 500; color: var(--grijs); }
.horizon-app .at-paneel a.at-item, .at-item { display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: .6rem .75rem; border-radius: 10px; text-decoration: none; color: var(--navy); }
.at-item:hover, .at-item:focus-visible { background: #E6F5F4; outline: none; }
.at-item:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); }
.at-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; background: #0C1116; color: #7FD1CB; display: flex; align-items: center; justify-content: center; }
.at-icon svg { stroke-width: 1.8; }
.at-tekst { display: flex; flex-direction: column; min-width: 0; }
.at-naam { font-size: .92rem; font-weight: 700; }
.at-kort { font-size: .8rem; color: var(--grijs); line-height: 1.4; }
.at-leeg { padding: 1.5rem .75rem; font-size: .88rem; color: var(--grijs); }
.at-item[hidden], .at-groep[hidden], .at-leeg[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .at-paneel[open] { animation: none; } }
