/* ARGOS Services: zelfde rustige stijl als de rest (navy, witte kaarten). */

.dn .paneel { margin: 0; }
.dn > * + * { margin-top: 16px; }
.dn > .w-terug + * { margin-top: 0; }

/* Demobalk */
.dn-demo { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border: 1px dashed #C9CED6; border-radius: 10px; background: #F7F8FA; color: var(--zacht); font-size: 13px; line-height: 1.5; }
.dn-demo .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--vaag); }
.dn-demo b { color: var(--inkt); }
.dn-demo .dn-link { flex: none; margin-left: auto; }
.dn-link { padding: 0; border: 0; background: none; color: var(--merk); font: 600 13px/1.4 var(--letter); cursor: pointer; text-decoration: none; }
.dn-link:hover { text-decoration: underline; }

/* Kop van subpagina's */
.dn-kop { display: flex; align-items: flex-start; gap: 14px; }
.dn-kop h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.dn-kop p { margin-top: 4px; color: var(--zacht); font-size: 14.5px; }
.dn-kop-meta { margin: 0 0 2px !important; font-size: 13px !important; }
.dn-kop-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }

/* Iconen */
.dn-ikoon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #EEF0F4; color: var(--navy); }
.dn-ikoon .ic { width: 17px; height: 17px; }
.dn-ikoon.groot { width: 46px; height: 46px; border-radius: 11px; }
.dn-ikoon.groot .ic { width: 22px; height: 22px; }

/* Status en prioriteit */
.dn-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #EEF0F4; color: var(--zacht); }
.dn-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dn-status.is-nieuw { background: #E9F0F7; color: #234C79; }
.dn-status.is-bezig { background: #FBF1DE; color: #8A5A00; }
.dn-status.is-wacht { background: #F3E8F8; color: #6B3F86; }
.dn-status.is-klaar { background: var(--goed-licht); color: var(--goed); }
.dn-status.is-af { background: #F1F2F4; color: var(--vaag); }
.dn-status.is-stop { background: #F6EBEA; color: #9C3A32; }
.dn-prio { display: inline-flex; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.dn-prio.is-hoog { background: var(--aandacht-licht); color: var(--aandacht); }
.dn-prio.is-laag { background: #F1F2F4; color: var(--vaag); }
.dn-prio.is-vertrouwelijk { background: #1F2D4D; color: #FFF; }

/* Tegels (leraar) */
.dn-tegels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dn-tegel { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--lijn); border-radius: 12px; background: var(--wit); color: var(--inkt); text-decoration: none; transition: border-color .15s; }
.dn-tegel:hover { border-color: var(--navy); }
.dn-tegel > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.dn-tegel b { font-size: 15px; }
.dn-tegel small { color: var(--zacht); font-size: 12.5px; }
.dn-tegel .ic-pijl { width: 16px; height: 16px; color: var(--vaag); }

/* Tellers (dashboards) */
.dn-tellers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dn-teller { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--lijn); border-radius: 12px; background: var(--wit); color: var(--inkt); text-decoration: none; }
.dn-teller:hover { border-color: #C9CED6; }
.dn-teller b { font-size: 26px; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; }
.dn-teller span { color: var(--zacht); font-size: 13px; }
.dn-teller.is-nadruk b { color: var(--navy); }
.dn-teller.is-nadruk { border-color: #BFC8D8; box-shadow: inset 3px 0 0 var(--navy); }

/* Indeling */
.dn-twee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dn-twee.is-breed-links { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.dn-kolom { display: grid; gap: 16px; }
.dn-formraster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.dn-zij { display: grid; gap: 16px; position: sticky; top: 84px; }

/* Lijsten */
.dn-lijst { display: grid; margin: 0; padding: 0; list-style: none; }
.dn-rij { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--lijn-licht); }
.dn-rij:first-child { border-top: 0; padding-top: 2px; }
.dn-rij-tekst { display: grid; flex: 1; gap: 1px; min-width: 0; color: var(--inkt); text-decoration: none; cursor: pointer; }
a.dn-rij-tekst:hover b, div.dn-rij-tekst:hover b { text-decoration: underline; text-underline-offset: 2px; }
.dn-rij-kop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dn-rij-kop b { font-size: 14.5px; font-weight: 600; }
.dn-rij-tekst small { overflow: hidden; color: var(--zacht); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.dn-rij-tekst small.dn-wanneer { color: var(--vaag); }
.dn-rij-tekst small.dn-uitleg { margin-top: 3px; color: var(--inkt); white-space: normal; }
.dn-rij.is-telaat .dn-wanneer { color: var(--aandacht); font-weight: 600; }
.dn-rij-eind { display: flex; flex: none; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.dn-lijst.is-compact .dn-rij { padding: 9px 0; }
.dn-lijst.is-compact .dn-rij-eind { flex-direction: column; align-items: flex-end; }
.dn-leeg-tekst { color: var(--zacht); font-size: 14px; }
.dn-beurt { border-color: #BFC8D8; box-shadow: inset 3px 0 0 var(--navy); }
.dn-af summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.dn-af summary::-webkit-details-marker { display: none; }
.dn-af summary h2 { font-size: 16px; }
.dn-af[open] summary { margin-bottom: 12px; }

/* Wachtrij: tabs en zoeken */
.dn-balk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.dn-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #F1F2F5; }
.dn-tabs button { padding: 7px 12px; border: 0; border-radius: 8px; background: none; color: var(--zacht); font: 500 13.5px/1 var(--letter); cursor: pointer; }
.dn-tabs button.is-aan { background: var(--wit); color: var(--inkt); font-weight: 600; box-shadow: 0 1px 2px rgba(23, 28, 45, .08); }
.dn-tabs i { margin-left: 3px; color: var(--vaag); font-style: normal; font-variant-numeric: tabular-nums; }
.dn-zoek { display: flex; align-items: center; gap: 8px; min-width: 280px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 9px; background: var(--wit); }
.dn-zoek .ic { width: 16px; height: 16px; color: var(--vaag); }
.dn-zoek input { flex: 1; min-width: 0; padding: 9px 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; }
.dn-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-filter button { padding: 6px 12px; border: 1px solid var(--lijn); border-radius: 99px; background: var(--wit); color: var(--zacht); font: 500 13px/1 var(--letter); cursor: pointer; }
.dn-filter button.is-aan { border-color: var(--navy); background: var(--navy); color: #FFF; }

/* Formulier */
.dn-velden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.dn-veld { display: grid; align-content: start; gap: 6px; min-width: 0; }
.dn-veld.is-breed, .dn-vink, .dn-veld[data-veld="titel"], .dn-veld[data-veld="bestand"], .dn-veld[data-veld="onderwerp"] { grid-column: 1 / -1; }
.dn-veld > label { font-size: 13.5px; font-weight: 600; }
.dn-optioneel { color: var(--vaag); font-weight: 400; }
.dn-veld input:not([type=radio]):not([type=checkbox]), .dn-veld select, .dn-veld textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--lijn); border-radius: 8px; background: var(--wit); font: inherit; font-size: 14.5px; }
.dn-veld input[type=file] { padding: 7px; }
.dn-veld textarea { resize: vertical; min-height: 96px; }
.dn-veld input:focus, .dn-veld select:focus, .dn-veld textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 45, 77, .12); }
.dn-veld.is-fout input:not([type=radio]):not([type=checkbox]), .dn-veld.is-fout select, .dn-veld.is-fout textarea { border-color: var(--aandacht); }
.dn-hint { color: var(--vaag); font-size: 12.5px; line-height: 1.45; }
.dn-fout { color: var(--aandacht); font-size: 12.5px; font-weight: 600; }
.dn-gekozen { display: inline-flex; align-items: center; gap: 5px; color: var(--zacht); font-size: 12.5px; }
.dn-gekozen .ic { width: 13px; height: 13px; }
.dn-keuzes { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-keuze { position: relative; }
.dn-keuze input { position: absolute; opacity: 0; }
.dn-keuze span { display: inline-block; padding: 8px 12px; border: 1px solid var(--lijn); border-radius: 8px; font-size: 13.5px; cursor: pointer; }
.dn-keuze input:checked + span { border-color: var(--navy); background: #EEF0F4; color: var(--navy); font-weight: 600; }
.dn-keuze input:focus-visible + span { box-shadow: 0 0 0 3px rgba(31, 45, 77, .2); }
.dn-vink { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.dn-vink input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.dn-foutblok { display: grid; gap: 6px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid #E6B8B4; border-radius: 10px; background: var(--aandacht-licht); color: #7A231C; font-size: 13.5px; }
.dn-foutblok ul { margin: 0; padding-left: 18px; }
.dn-foutblok a { color: inherit; font-weight: 600; }
.dn-foutblok:focus { outline: 0; }
.dn-waarschuwing { margin-top: 14px; padding: 10px 12px; border-radius: 9px; background: #FBF1DE; color: #7A5000; font-size: 13.5px; }
.dn-form-voet { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--lijn-licht); }
.dn-samenvatting { font-size: 15px; font-weight: 600; line-height: 1.5; }
.dn-stappen { display: grid; gap: 8px; margin: 0 0 10px; padding-left: 20px; font-size: 13.5px; }

/* Detail */
.dn-gegevens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; }
.dn-gegevens > div { display: grid; gap: 2px; min-width: 0; }
.dn-gegevens .is-breed { grid-column: 1 / -1; }
.dn-gegevens dt { color: var(--vaag); font-size: 12.5px; }
.dn-gegevens dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.dn-gegevens dd .ic { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }
.dn-gegevens dd small { color: var(--vaag); }
.dn-leeg { color: var(--vaag); }
.dn-acties { display: flex; flex-wrap: wrap; gap: 8px; }
.knop.is-gevaar { color: var(--aandacht); }
.dn-prio-kies { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lijn-licht); color: var(--zacht); font-size: 13.5px; }
.dn-prio-kies select { padding: 6px 8px; border: 1px solid var(--lijn); border-radius: 7px; font: inherit; }

/* Tijdlijn */
.dn-tijdlijn { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dn-tijdlijn::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 5px; width: 2px; background: var(--lijn-licht); }
.dn-tijdlijn li { position: relative; display: flex; gap: 12px; }
.dn-stip { position: relative; z-index: 1; flex: none; width: 12px; height: 12px; margin-top: 4px; border: 2px solid var(--wit); border-radius: 50%; background: #C9CED6; box-shadow: 0 0 0 1px #C9CED6; }
.dn-tijdlijn li.is-klaar .dn-stip { background: var(--goed); box-shadow: 0 0 0 1px var(--goed); }
.dn-tijdlijn li.is-stop .dn-stip { background: var(--aandacht); box-shadow: 0 0 0 1px var(--aandacht); }
.dn-tijdlijn li.is-bezig .dn-stip, .dn-tijdlijn li.is-wacht .dn-stip { background: #D9A441; box-shadow: 0 0 0 1px #D9A441; }
.dn-tijdlijn li:first-child .dn-stip { box-shadow: 0 0 0 3px rgba(31, 45, 77, .15); }
.dn-tijdlijn b { font-size: 14px; }
.dn-tijdlijn small { display: block; color: var(--vaag); font-size: 12px; }
.dn-tijdlijn p { margin-top: 4px; padding: 8px 10px; border-radius: 8px; background: #F5F6F8; font-size: 13.5px; }

/* Planner */
.dn-planner-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dn-week { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.dn-week .knop { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; }
.dn-week .ic { width: 15px; height: 15px; }
.dn-dagen { display: flex; gap: 4px; }
.dn-dag { position: relative; display: grid; justify-items: center; min-width: 52px; padding: 6px 8px; border: 1px solid var(--lijn); border-radius: 9px; background: var(--wit); color: var(--inkt); font: inherit; cursor: pointer; }
.dn-dag b { color: var(--zacht); font-size: 11.5px; font-weight: 600; text-transform: capitalize; }
.dn-dag span { font-size: 16px; font-weight: 650; }
.dn-dag i { position: absolute; top: -6px; right: -6px; min-width: 17px; padding: 1px 4px; border-radius: 99px; background: #EEF0F4; color: var(--zacht); font-size: 10.5px; font-style: normal; font-weight: 700; }
.dn-dag.is-aan { border-color: var(--navy); background: var(--navy); }
.dn-dag.is-aan b, .dn-dag.is-aan span { color: #FFF; }
.dn-dag.is-voorbij { opacity: .55; }
.dn-raster-wrap { overflow-x: auto; }
.dn-raster { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.dn-raster th { padding: 4px 6px 8px; text-align: left; vertical-align: bottom; font-weight: 400; }
.dn-raster thead th b { display: block; font-size: 13.5px; font-weight: 600; }
.dn-raster thead th small, .dn-uurkop small { display: block; color: var(--vaag); font-size: 11.5px; }
.dn-uurkop { width: 64px; }
.dn-raster tbody th.dn-uurkop { vertical-align: middle; }
.dn-raster tbody th.dn-uurkop b { font-size: 14px; }
.dn-raster td { height: 46px; padding: 0; vertical-align: top; }
.dn-vrij { display: grid; place-items: center; width: 100%; height: 100%; min-height: 46px; border: 1px dashed #DADDE3; border-radius: 8px; background: none; color: transparent; cursor: pointer; transition: background .12s, border-color .12s, color .12s; }
.dn-vrij .ic { width: 16px; height: 16px; }
.dn-vrij:hover, .dn-vrij:focus-visible { border-color: var(--navy); background: #EEF0F4; color: var(--navy); outline: 0; }
.dn-vrij.is-voorbij { display: block; border-color: transparent; background: repeating-linear-gradient(135deg, #F5F6F8 0 6px, #FAFAFB 6px 12px); cursor: default; }
.dn-blok { display: grid; align-content: start; gap: 1px; width: 100%; height: 100%; min-height: 46px; padding: 7px 9px; border: 1px solid #D5DAE2; border-radius: 8px; background: #F3F5F8; color: var(--inkt); font: inherit; text-align: left; cursor: pointer; }
.dn-blok b { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.dn-blok small { overflow: hidden; color: var(--zacht); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.dn-blok:hover { border-color: var(--navy); }
.dn-blok.is-mijn { border-color: var(--navy); background: var(--navy); color: #FFF; }
.dn-blok.is-mijn small { color: rgba(255, 255, 255, .75); }
.dn-blok.is-wacht { border-style: dashed; background: #F8F2FB; }
.dn-blok.is-bezig { background: #FBF5E8; border-color: #EAD9B0; }
.dn-planner-hint { margin-top: 10px; }

/* Dialoog */
.dn-dialoog { width: min(560px, calc(100vw - 32px)); }
.dn-dialoog.is-breed { width: min(720px, calc(100vw - 32px)); }
.dn-dialoog h2 { margin-bottom: 4px; }
.dn-dialoog-tekst { margin-bottom: 14px; color: var(--zacht); font-size: 14px; }
.dn-dialoog .dn-velden { margin: 4px 0 6px; }
.dn-dialoog-fout { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: var(--aandacht-licht); }
.dn-dialoog .dn-gegevens { margin: 6px 0 14px; }
.dn-dialoog .dialoog-knoppen { flex-wrap: wrap; }
.dn-rij-velden { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dn-rij-velden select { flex: 1; }
.dn-vast { padding: 9px 11px; border-radius: 8px; background: #F1F2F5; font-weight: 600; }
.dn-geschiedenis summary { margin-bottom: 10px; color: var(--zacht); font-size: 13.5px; cursor: pointer; }

/* Meldingenbel in de bovenbalk */
.dn-bel-plek { position: relative; flex: none; margin-left: auto; }
.dn-bel-plek:not([hidden]) + .ik { margin-left: 8px !important; }
.dn-bel { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 99px; background: none; color: var(--zacht); cursor: pointer; }
.dn-bel:hover, .dn-bel[aria-expanded="true"] { background: #F1F2F5; color: var(--inkt); }
.dn-bel .ic { width: 20px; height: 20px; }
.dn-bel b { position: absolute; top: 3px; right: 2px; min-width: 17px; padding: 1px 4px; border: 2px solid var(--wit); border-radius: 99px; background: var(--aandacht); color: #FFF; font-size: 10px; line-height: 1.2; }
.dn-bel-paneel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; width: 360px; max-height: min(520px, calc(100vh - 100px)); overflow: auto; border: 1px solid var(--lijn); border-radius: 12px; background: var(--wit); box-shadow: 0 16px 40px rgba(23, 28, 45, .14); }
.dn-bel-kop, .dn-bel-voet { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.dn-bel-kop { border-bottom: 1px solid var(--lijn-licht); }
.dn-bel-voet { border-top: 1px solid var(--lijn-licht); }
.dn-bel-lijst { margin: 0; padding: 4px; list-style: none; }
.dn-bel-lijst button { display: flex; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--inkt); font: inherit; text-align: left; cursor: pointer; }
.dn-bel-lijst button:hover { background: #F5F6F8; }
.dn-bel-lijst button > span:last-child { display: grid; gap: 1px; min-width: 0; }
.dn-bel-lijst b { font-size: 13.5px; font-weight: 500; }
.dn-bel-lijst small { color: var(--zacht); font-size: 12px; }
.dn-bel-lijst .is-nieuw b { font-weight: 650; }
.dn-bel-lijst .is-nieuw { background: #F4F6FA; }
.dn-bel-lijst .dn-ikoon { width: 30px; height: 30px; }
.dn-bel-vk { display: grid; gap: 10px; padding: 14px; }
.dn-bel-paneel .dn-leeg-tekst { padding: 16px 14px; }

@media (max-width: 1100px) {
  .dn-tegels, .dn-tellers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dn-twee, .dn-twee.is-breed-links, .dn-formraster { grid-template-columns: minmax(0, 1fr); }
  .dn-zij { position: static; }
}
@media (max-width: 760px) {
  .dn-bel-plek { display: none; }
  .dn-velden, .dn-gegevens { grid-template-columns: minmax(0, 1fr); }
  .dn-rij { flex-wrap: wrap; }
  .dn-rij-eind { width: 100%; justify-content: flex-start; padding-left: 46px; }
  .dn-lijst.is-compact .dn-rij-eind { flex-direction: row; }
  .dn-zoek { min-width: 0; width: 100%; }
  .dn-tabs { overflow-x: auto; max-width: 100%; }
  .dn-tabs button { white-space: nowrap; }
  .dn-dagen { width: 100%; }
  .dn-dag { flex: 1; min-width: 0; }
  .dn-demo { flex-wrap: wrap; }
  .dn-kop h1 { font-size: 22px; }
}
.dn-aanzet { margin-bottom: 12px; }
