/* ══ Tijdlijn van een map — één opmaak, twee bureaus (golf 6, pakket K, 17/10/2026). Laadt na kluis.css, die de lagen 'kl-sterk' en
   'oud' declareert en huis.css, huis-pages.css en bureau.css in 'oud' binnenhaalt. De regels van vóór golf 6 staan hieronder in
   dezelfde laag 'oud' (het bureau van vandaag en de app zien niets nieuws); het blok 'nieuw bureau' geldt alleen onder html.m.bureau. ══ */
@layer oud {
  /* ══ Tijdlijn van een map (07/10/2026, tijdlijn.js) · bovenop bureau.css en kluis.css (zoekveld, lege toestand, controlevak).
     Het spoor: één punt per moment, verankerd = blauw, in wachtrij = oranje; het gekozen moment groot en in inkt. ══ */
  .tl-balk { align-items: flex-end; }
  .tl-veld { display: grid; gap: 5px; }
  .tl-veld span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .tl-veld select, .tl-veld input { height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: 500 15px var(--ui); color: var(--ink); }
  .tl-veld select { min-width: min(24rem, 100%); }
  .tl-veld select:focus-visible, .tl-veld input:focus-visible { outline: none; border-color: var(--hoofd); box-shadow: 0 0 0 3px var(--hoofd-gloed); }

  /* ── het spoor ────────────────────────────────────────────── */
  .tl-spoor-kaart { padding: 14px 14px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
  .tl-spoor { display: flex; align-items: stretch; overflow-x: auto; padding: 4px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .tl-spoor:focus-visible { outline: 2px solid var(--hoofd); outline-offset: 2px; border-radius: 10px; }
  .tl-punt { flex: none; width: 68px; display: grid; justify-items: center; gap: 8px; padding: 10px 0 4px; border: 0; cursor: pointer; scroll-snap-align: center;
    background: linear-gradient(var(--line-2), var(--line-2)) center 21px / 100% 2px no-repeat; font: inherit; }
  .tl-punt i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--card); box-sizing: content-box; background: var(--ink-3); transition: transform 160ms var(--out); }
  .tl-anchored i { background: var(--act); }
  .tl-pending i { background: #C7791A; }
  .tl-shredded i { background: var(--line-2); }
  .tl-punt span { font: 500 12px var(--mono); color: var(--ink-3); white-space: nowrap; }
  .tl-punt:hover i { transform: scale(1.25); }
  .tl-punt[aria-selected="true"] i { width: 18px; height: 18px; margin-top: -2px; background: var(--ink); box-shadow: 0 0 0 4px var(--hoofd-gloed); }
  .tl-punt[aria-selected="true"] span { color: var(--ink); font-weight: 600; }
  .tl-punt:focus-visible { outline: 2px solid var(--hoofd); outline-offset: -2px; border-radius: 10px; }
  .tl-jaar { flex: none; align-self: center; margin: 0 4px 18px; padding: 2px 8px; border-radius: 99px; background: var(--hoofd-zacht); font: 600 12px var(--ui); color: var(--ink-2); }
  .tl-spoor-uitleg { margin: 6px 4px 0; font-size: 13.5px; color: var(--ink-3); }

  /* ── één moment ───────────────────────────────────────────── */
  .tl-moment { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
  .tl-hoofd, .tl-zij { display: grid; gap: 14px; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
  .tl-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
  .tl-kop h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
  .tl-kop .bu-sub { margin: 4px 0 0; }
  .tl-tellers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .tl-tov, .tl-eerste { margin: 0; font-size: 13.5px; color: var(--ink-3); }
  .tl-tabs { justify-self: start; }
  .tl-sectie { margin: 6px 0 6px; font-size: 14px; font-weight: 600; }
  .tl-sectie b { color: var(--ink-3); font-weight: 600; margin-left: 4px; }
  .tl-lijst { list-style: none; margin: 0; padding: 0; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
  .tl-rij { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 12px; font-size: 14px; }
  .tl-lijst > li + li { border-top: 1px solid var(--line); }
  .tl-teken { font: 600 15px var(--mono); text-align: center; }
  .tl-toegevoegd .tl-teken { color: var(--act); }
  .tl-gewijzigd .tl-teken { color: #8A5A08; }
  .tl-verwijderd .tl-teken { color: var(--bad); }
  .tl-verwijderd .tl-pad b { text-decoration: line-through; text-decoration-color: rgba(179, 35, 64, .45); }
  .tl-pad { min-width: 0; overflow-wrap: anywhere; }
  .tl-pad small { font-size: 13px; color: var(--ink-3); }
  .tl-pad b { font-weight: 600; color: var(--ink); }
  .tl-bytes { font: 500 12.5px var(--mono); color: var(--ink-3); white-space: nowrap; }
  .tl-noot { margin: 0; padding: 6px 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
  .tl-lijst .tl-noot { padding: 12px; }
  .tl-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  #tlAlles { display: grid; gap: 10px; }
  #tlAlles[hidden] { display: none; }
  #tlMeer { justify-self: start; height: 40px; }
  .tl-skel { height: 38px; background: linear-gradient(90deg, rgba(11, 15, 23, .04), rgba(11, 15, 23, .08), rgba(11, 15, 23, .04)); background-size: 200% 100%; animation: dashSkel 1.4s linear infinite; }

  /* ── wat dit bewijst ──────────────────────────────────────── */
  .tl-zij h2 { margin: 0; font-size: 16px; font-weight: 600; }
  .tl-bewijs { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
  .tl-drop { padding: 14px 16px; gap: 12px; }
  .tl-drop b { font-size: 15px; }
  .tl-drop small { font-size: 13px; }
  .tl-check { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
  .tl-check b { color: var(--ink); overflow-wrap: anywhere; }
  .tl-check[hidden] { display: none; }

  /* ── laden en leeg ────────────────────────────────────────── */
  .tl-laden { display: grid; gap: 12px; margin-top: 8px; }
  .tl-laden[hidden] { display: none; }
  .tl-laden i { display: block; height: 88px; border-radius: 18px; background: linear-gradient(90deg, rgba(11, 15, 23, .04), rgba(11, 15, 23, .08), rgba(11, 15, 23, .04)); background-size: 200% 100%; animation: dashSkel 1.4s linear infinite; }
  .tl-laden i:nth-child(2) { height: 260px; }
  .kl-leeg-kader { margin-top: 8px; }

  @media (max-width: 900px) { .tl-moment { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 720px) {
    .tl-balk .tl-veld { flex: 1 1 100%; }
    .tl-veld select { min-width: 0; width: 100%; }
    .tl-hoofd, .tl-zij { padding: 16px; }
    .tl-rij { grid-template-columns: 18px minmax(0, 1fr); }
    .tl-rij .tl-bytes { grid-column: 2; }
  }
  @media (prefers-reduced-motion: reduce) { .tl-punt i { transition: none; } .tl-skel, .tl-laden i { animation: none; } }
}

/* ── nieuw bureau (golf 6, K; R1 Kobalt): de tab Mappen. Alles onder html.m.bureau, op het witte vel. Het spoor draagt het vierkante
   punt (V2): verankerd kobalt vol, in wachtrij oranje hol, het gekozen moment in inkt en groter. De tellers zijn rustig: een map die
   verandert, is geen afwijking. ── */
html.m.bureau .tl-main > .kl-tabs { margin-bottom: 20px; }
html.m.bureau .tl-balk { align-items: flex-end; gap: 12px 16px; }
html.m.bureau .tl-veld { display: grid; gap: 6px; }
html.m.bureau .tl-veld span { font-size: 12.5px; font-weight: 600; color: var(--b-zacht); }
html.m.bureau .tl-veld select, html.m.bureau .tl-veld input { height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background-color: var(--b-vlak); font: 600 14px var(--m-f-tekst); color: var(--b-tekst); box-shadow: none; }
html.m.bureau .tl-veld select { min-width: min(24rem, 100%); }
html.m.bureau .tl-veld select:focus-visible, html.m.bureau .tl-veld input:focus-visible { outline: 3px solid var(--m-kobalt); outline-offset: 2px; }

/* het spoor */
html.m.bureau .tl-spoor-kaart { margin: 4px 0 0; padding: 14px 4px 10px; border: 0; border-top: 1px solid var(--b-lijn); border-bottom: 1px solid var(--b-lijn); border-radius: 0; background: transparent; }
html.m.bureau .tl-spoor { padding: 4px 2px 6px; }
html.m.bureau .tl-punt { width: 76px; padding: 10px 0 4px; background: linear-gradient(var(--b-rand), var(--b-rand)) center 18px / 100% 1.5px no-repeat; }
html.m.bureau .tl-punt i { width: 10px; height: 10px; border: 0; border-radius: 2px; background: var(--m-wit); box-shadow: inset 0 0 0 2px var(--b-zacht), 0 0 0 4px var(--m-wit); transition: transform var(--m-d-xs) var(--m-ease); }
html.m.bureau .tl-anchored i { background: var(--m-kobalt); box-shadow: 0 0 0 4px var(--m-wit); }
html.m.bureau .tl-pending i { background: var(--m-wit); box-shadow: inset 0 0 0 2px var(--m-oranje), 0 0 0 4px var(--m-wit); }
html.m.bureau .tl-shredded i { background: var(--m-wit); box-shadow: inset 0 0 0 1.5px var(--b-rand), 0 0 0 4px var(--m-wit); }
html.m.bureau .tl-punt span { font: 400 12.5px var(--m-f-mono); color: var(--b-zacht); }
html.m.bureau .tl-punt:hover i { transform: scale(1.2); }
html.m.bureau .tl-punt[aria-selected="true"] i { width: 14px; height: 14px; margin-top: -2px; background: var(--m-inkt); box-shadow: 0 0 0 4px var(--m-wit), 0 0 0 6px var(--b-tint); }
html.m.bureau .tl-punt[aria-selected="true"] span { color: var(--b-tekst); font-weight: 600; }
html.m.bureau .tl-punt:focus-visible { outline: 3px solid var(--m-kobalt); outline-offset: -3px; border-radius: 10px; }
html.m.bureau .tl-jaar { margin: 0 6px 18px; padding: 3px 8px; border-radius: 6px; background: var(--b-vlak); font: 600 12px var(--m-f-tekst); color: var(--b-zacht); }
html.m.bureau .tl-spoor-uitleg { margin: 6px 4px 0; font-size: 13.5px; color: var(--b-zacht); }

/* één moment: links wat er veranderde of wat er toen in zat, rechts wat het moment vastlegt */
html.m.bureau .tl-moment { grid-template-columns: minmax(0, 1fr) 356px; gap: 32px; margin-top: 24px; }
html.m.bureau .tl-hoofd { gap: 16px; padding: 0; border: 0; border-radius: 0; background: transparent; }
html.m.bureau .tl-zij { gap: 14px; padding: 20px; border: 0; border-radius: 18px; background: var(--b-vlak); }
html.m.bureau .tl-kop h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 30px; letter-spacing: -.035em; line-height: 1.02; }
html.m.bureau .tl-kop .bu-sub { margin: 6px 0 0; font-size: 14px; color: var(--b-zacht); }
html.m.bureau .tl-tellers { gap: 8px 18px; }
html.m.bureau .tl-tel { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 600; color: var(--b-tekst); }
html.m.bureau .tl-tel b { font: 600 15px var(--m-f-mono); color: var(--b-zacht); }
html.m.bureau .tl-tov, html.m.bureau .tl-eerste { font-size: 13.5px; color: var(--b-zacht); }
html.m.bureau .tl-tabs { display: inline-flex; gap: 0; padding: 3px; border-radius: 12px; background: var(--b-vlak); }
html.m.bureau .tl-tabs button { height: auto; padding: 6px 14px; border: 0; border-radius: 9px; background: transparent; font: 600 13.5px var(--m-f-tekst); color: var(--b-zacht); box-shadow: none; }
html.m.bureau .tl-tabs button[aria-selected="true"] { background: var(--m-wit); color: var(--b-tekst); box-shadow: 0 1px 2px rgba(11, 15, 23, .12); }
html.m.bureau .tl-sectie { margin: 8px 0 4px; font-size: 14px; font-weight: 650; }
html.m.bureau .tl-sectie b { font: 500 12.5px var(--m-f-mono); color: var(--b-zacht); }
html.m.bureau .tl-lijst { border: 0; border-radius: 0; }
html.m.bureau .tl-lijst > li + li { border-top: 1px solid var(--b-lijn); }
html.m.bureau .tl-rij { padding: 10px 4px; font-size: 14px; }
html.m.bureau .tl-teken { font: 600 15px var(--m-f-mono); color: var(--b-zacht); }
html.m.bureau .tl-toegevoegd .tl-teken { color: var(--m-kobalt); }
html.m.bureau .tl-gewijzigd .tl-teken, html.m.bureau .tl-verwijderd .tl-teken { color: var(--b-tekst); }
html.m.bureau .tl-verwijderd .tl-pad b { text-decoration: line-through; text-decoration-color: var(--b-rand); }
html.m.bureau .tl-pad small { font-size: 13px; color: var(--b-zacht); }
html.m.bureau .tl-pad b { font-weight: 600; color: var(--b-tekst); }
html.m.bureau .tl-bytes { font: 400 12.5px var(--m-f-mono); color: var(--b-zacht); }
html.m.bureau .tl-noot { font-size: 14.5px; color: var(--b-zacht); }
html.m.bureau .tl-link { color: var(--m-kobalt); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
html.m.bureau #tlAlles .kl-zoek { flex: none; width: min(360px, 100%); }
html.m.bureau #tlMeer { justify-self: start; }
html.m.bureau .tl-skel { height: 38px; background: var(--b-vlak); animation: tl-puls 1.4s var(--m-ease) infinite alternate; }
html.m.bureau .tl-zij h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 24px; letter-spacing: -.03em; line-height: 1.05; }
html.m.bureau .tl-bewijs { padding-left: 16px; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--b-zacht); }
html.m.bureau .tl-bewijs li::marker { color: var(--m-kobalt); }
html.m.bureau .tl-drop { padding: 14px 16px; gap: 12px; background: var(--m-wit); }
html.m.bureau .tl-drop b { font-family: var(--m-f-tekst); font-stretch: 100%; font-size: 15px; letter-spacing: 0; }
html.m.bureau .tl-drop small { font-size: 13px; }
html.m.bureau .tl-check { font-size: 14px; color: var(--b-zacht); }
html.m.bureau .tl-check b { color: var(--b-tekst); }
html.m.bureau .tl-zij .kv-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* laden: de vorm van spoor + moment */
html.m.bureau .tl-laden i { border-radius: 14px; background: var(--b-vlak); animation: tl-puls 1.4s var(--m-ease) infinite alternate; }
html.m.bureau .tl-laden i:first-child { height: 64px; }
@keyframes tl-puls { from { opacity: 1; } to { opacity: .45; } }
html.m.bureau .kl-leeg-kader { margin-top: 8px; }

@media (max-width: 1180px) {
  html.m.bureau .tl-moment { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  html.m.bureau .tl-balk .tl-veld { flex: 1 1 100%; }
  html.m.bureau .tl-veld select { min-width: 0; width: 100%; }
  html.m.bureau .tl-kop h2 { font-size: 26px; }
  html.m.bureau .tl-zij { padding: 16px; }
  html.m.bureau .tl-rij { grid-template-columns: 18px minmax(0, 1fr); }
  html.m.bureau .tl-rij .tl-bytes { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html.m.bureau .tl-skel, html.m.bureau .tl-laden i { animation: none; }
}
