:root { --groen: #1f5c46; --rand: #d5dbd8; --zacht: #f3f6f4; --fout: #b3261e; --geel: #fff6d6; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: #1b1f1d; background: #fff; }
.balk { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--groen); color: #fff; }
main { padding: 16px; max-width: 1400px; margin: 0 auto; }
h1 { font-size: 22px; margin: 4px 0 12px; } h2 { font-size: 17px; margin: 22px 0 8px; color: var(--groen); }
.kaart.smal { max-width: 380px; margin: 40px auto; padding: 20px; border: 1px solid var(--rand); border-radius: 8px; }
label { display: block; margin: 0 0 10px; font-weight: 600; font-size: 13px; }
input, select, textarea { font: inherit; padding: 6px 8px; border: 1px solid var(--rand); border-radius: 6px; width: 100%; }
textarea { resize: vertical; font-weight: 400; }
button, .knop { font: inherit; padding: 7px 14px; border-radius: 6px; border: 1px solid var(--groen);
  background: var(--groen); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.licht, .knop.licht { background: #fff; color: var(--groen); }
button:disabled { opacity: .5; cursor: default; }
.balk button.licht { border-color: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.filters label { margin: 0; } .filters input, .filters select { width: auto; }
.ruimte { flex: 1; }
.naast { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
@media (max-width: 900px) { .naast { grid-template-columns: 1fr; } }
.tabelvak { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rand); vertical-align: top; }
#tabel tbody tr { cursor: pointer; } #tabel tbody tr:hover { background: var(--zacht); }
.kaartvak { min-height: 520px; border: 1px solid var(--rand); border-radius: 8px; }
.klein-kaart { min-height: 300px; }
.klein { font-size: 12.5px; color: #555; font-weight: 400; }
.fout { color: var(--fout); }
.label { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: var(--zacht);
  border: 1px solid var(--rand); white-space: nowrap; }
.label.nieuw { background: #e3f0ff; } .label.opgeruimd, .label.afgesloten { background: #e2f4e8; }
.label.dringend { background: #fde2e0; border-color: #f2b8b5; color: var(--fout); }
.kop-detail { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.knoppen { display: flex; gap: 8px; flex-wrap: wrap; }
.waarschuwing { font-size: 12.5px; background: var(--zacht); padding: 8px 10px; border-radius: 6px; }
.gegevens th { width: 170px; color: #555; font-weight: 600; }
.rij { display: flex; gap: 8px; } .rij select { width: auto; }
.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.fotos figure { margin: 0; } .fotos img { width: 100%; border-radius: 6px; border: 1px solid var(--rand); display: block; }
.fotos figcaption { font-size: 12px; color: #555; margin-top: 3px; word-break: break-all; }
.ai { background: var(--geel); border: 1px solid #ecd98b; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
.ai h3 { margin: 0 0 6px; font-size: 14px; } .ai p { margin: 4px 0; }
#f-teksten button, #f-opmerking button { margin-top: 4px; }
#d-opmerkingen li { margin-bottom: 6px; }
.melding { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: #222; color: #fff;
  padding: 8px 16px; border-radius: 6px; }
.navlink { color: #fff; margin-right: 12px; text-decoration: none; }
.navlink:hover { text-decoration: underline; }
.qr { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding: 12px; margin: 12px 0;
  border: 1px solid var(--rand); border-radius: 8px; background: var(--zacht); }
.qr img { width: 240px; height: 240px; background: #fff; }
.qr code { font-size: 18px; letter-spacing: 1px; }
.vink { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 15px; }
.vink input { width: auto; }
.vinkjes { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
input.kort { width: 120px; display: block; margin-top: 4px; }
.rij input { flex: 1; }
