/* workshops.css: dienst 06, Workshops (31 oktober 2026). Voorvoegsel ws-. Laadt na ../../stijl.css en ../schil.css.
   Het werkstuk is het bord van alle werk: negen kaartjes met het terugkerende werk van Groenlicht Installaties liggen
   los op de tafel van porselein, krijgen hun som (uren per week, hoe groot om te bouwen) en sorteren zich in drie
   tot het plan: eerst groot in blauw glas met het plan bovenaan, daarna in licht glas en niet verzonken, klein ernaast.
   Daarna de vier stille standen van Zo werkt het, de vier vensters van Wat je team doet en de drie vellen van Wat het
   oplevert. Recht: geen rotate, skew, perspective of 3D; diepte alleen door schaduw en licht. Geen zon, geen cursief.
   Kleinste letter 12,5 px. Zonder JavaScript is alles hier het eindbeeld; de beginstanden van de film staan onder
   [data-dp-stand] of komen uit workshops.js als inline waarden die na de film weer weg zijn. */

.ws-pagina { --ws-haak: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.4 2.4 4.5-5' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ============ Gedeelde bouwstenen: het staafje, de kraal ============ */
.ws-staaf { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(37, 99, 235, 0.13); overflow: hidden; }
.ws-staaf i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--ws-u, 1) * 100%); border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #2563eb); transform-origin: 0 50%; }
.ws-kraal { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--kop); font-size: 12.5px; font-weight: 600; font-style: normal; line-height: 1; color: var(--inkt);
  background: radial-gradient(120% 120% at 30% 18%, #ffffff 0%, #f7f9fe 48%, #e1e9f7 100%);
  box-shadow: 0 0 0 calc(var(--ws-ring, 1) * 4px) rgba(16, 185, 129, calc(var(--ws-ring, 1) * 0.2)), inset 0 1px 0 #fff, inset 0 -2px 3px rgba(29, 78, 216, 0.14), 0 4px 8px -3px rgba(6, 18, 70, 0.38); }
.ws-kraal::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(#10b981 calc(var(--ws-ring, 1) * 1turn), rgba(37, 99, 235, 0.14) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.6px), #000 calc(100% - 2.2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.6px), #000 calc(100% - 2.2px)); }

/* ============ Het werkstuk: het bord van alle werk ============
   Het eindbeeld is het plan: eerst groot (blauw glas, het plan bovenaan, drie kaartjes met wat ze opleveren en de som
   onderaan), daarna en niet klein ernaast (één regel per taak). Vanaf 1024 px de hoogte van de schil (--dp-raam-h). */
.ws-werk { container: ws / inline-size; display: flex; flex-direction: column; font-family: var(--tekst); color: var(--inkt); }
@media (min-width: 1024px) { .ws-werk { height: var(--dp-raam-h); } }
.ws-balk-r { display: grid; justify-items: end; }
.ws-balk-r > * { grid-area: 1 / 1; }
.ws-balk-dag { font-variant-numeric: tabular-nums; }
.ws-balk-stap { display: none; color: var(--blauw-diep); font-weight: 600; }
[data-dp-stand] .ws-balk-stap { display: block; }
.ws-veld { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; padding: 16px 18px 18px; }
/* De tafel: porselein, warm onderin. */
.ws-tafel { position: absolute; inset: 8px 10px; z-index: 0; border-radius: 16px;
  background: radial-gradient(90% 70% at 0% 100%, rgba(255, 214, 150, 0.18), rgba(255, 214, 150, 0) 62%), linear-gradient(180deg, #ffffff 0%, #fbf9f4 62%, #f3eee4 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 8px -2px rgba(120, 90, 40, 0.1), 0 0 0 1px rgba(11, 18, 32, 0.05), 0 2px 3px rgba(11, 18, 32, 0.08), 0 22px 38px -22px rgba(11, 18, 32, 0.36); }

/* Eerst: het grote ding. --ws-in (de film) laat het glas opkomen; zonder film staat het. */
.ws-eerst { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 10px 10px 12px; border-radius: 14px; --ws-in: 1; }
.ws-eerst::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: var(--ws-in);
  background: radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #1d4ed8 0%, #1c47cc 52%, #1e40af 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 -12px 20px -12px rgba(6, 18, 70, 0.5), 0 12px 22px -12px rgba(29, 78, 216, 0.6); }
/* Het plan: een wit vel bovenin het blauw. */
.ws-plan { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 11px 14px 11px 18px; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: inset 4px 0 0 #60a5fa, 0 1px 2px rgba(11, 18, 32, 0.12), 0 12px 22px -14px rgba(6, 18, 70, 0.6); }
.ws-plan-label { font-size: 12.5px; font-weight: 600; color: #1d3ca6; }
.ws-plan-wat { font-family: var(--kop); font-size: 17px; font-weight: 500; letter-spacing: -0.012em; color: var(--inkt); }
.ws-plan-wat b { font-weight: 600; color: var(--blauw-diep); }
.ws-eigenaar { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: #374151; white-space: nowrap; }
.ws-plan::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: translateX(-100%);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(191, 219, 254, 0.55) 50%, rgba(255, 255, 255, 0) 70%); }
.dp-rust .ws-plan::after { animation: ws-glans 8s cubic-bezier(0.45, 0, 0.25, 1) 1.2s infinite; }
@keyframes ws-glans { 0%, 8% { transform: translateX(-100%); opacity: 0; } 10% { opacity: 1; } 30% { transform: translateX(100%); opacity: 1; } 32%, 100% { transform: translateX(100%); opacity: 0; } }
/* De lijn van licht van het eerste kaartje omhoog naar het plan, in de ruimte ertussen (daar staan geen letters). */
.ws-lijn { position: relative; display: block; flex: none; align-self: center; width: 2px; height: 14px; margin: -10px 0; border-radius: 2px; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #bfdbfe, #ffffff); filter: drop-shadow(0 0 3px rgba(191, 219, 254, 0.9)); }
.ws-eerst-rijen { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; flex: 1; align-content: stretch; }
.ws-kaart { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; min-width: 0; padding: 10px 14px 11px; border-radius: 10px; background: #fff; --ws-licht: 0;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.1), 0 10px 18px -12px rgba(6, 18, 70, 0.55),
    0 0 0 calc(var(--ws-licht) * 4px) rgba(191, 219, 254, calc(var(--ws-licht) * 0.6)), 0 0 calc(var(--ws-licht) * 26px) rgba(191, 219, 254, calc(var(--ws-licht) * 0.9)); }
.ws-kaart-tekst { display: grid; gap: 2px; min-width: 0; }
.ws-taak { font-family: var(--kop); font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.008em; color: var(--inkt); }
.ws-wie { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: #4b5563; }
.ws-regel { display: grid; grid-template-columns: 52px auto; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--blauw-diep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-eerst-voet { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 2px 6px 0; font-size: 13.5px; font-weight: 500; color: #dbeafe; }
.ws-eerst-voet b { font-family: var(--kop); font-size: 17px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* Daarna en niet: klein, één regel per taak. --ws-in laat ze opkomen. */
.ws-later { position: relative; z-index: 1; display: grid; grid-template-rows: auto auto; align-content: start; gap: 12px; min-width: 0; }
.ws-baan { position: relative; display: grid; gap: 6px; padding: 9px 10px 10px; border-radius: 12px; --ws-in: 1; }
.ws-baan::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: var(--ws-in);
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #e6efff 0%, #dbe7fd 100%);
  box-shadow: inset 0 2px 4px rgba(29, 78, 216, 0.18), inset 0 0 0 1px rgba(29, 78, 216, 0.09); }
.ws-baan-niet::before { background: linear-gradient(180deg, #eef0f4 0%, #e7eaf0 100%); box-shadow: inset 0 2px 4px rgba(11, 18, 32, 0.1), inset 0 0 0 1px rgba(11, 18, 32, 0.06); }
.ws-baan-kop { display: flex; align-items: baseline; gap: 10px; margin: 0 2px; opacity: var(--ws-in); }
.ws-baan-kop b { font-family: var(--kop); font-size: 14px; font-weight: 600; color: #1e40af; }
.ws-baan-kop span { font-size: 12.5px; font-weight: 500; color: #1e3a8a; }
.ws-baan-niet .ws-baan-kop b, .ws-baan-niet .ws-baan-kop span { color: #374151; }
.ws-baan ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.ws-lrij { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 7px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(11, 18, 32, 0.08); }
.ws-baan-niet .ws-lrij { background: #f8f9fb; }
.ws-lrij-taak { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--inkt); }
.ws-lrij-noot { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: #374151; white-space: nowrap; }

/* De kaartjes op tafel (alleen tijdens de film; workshops.js maakt ze uit data-wie en data-som). */
.ws-laag { position: absolute; inset: 16px 18px 18px; z-index: 5; pointer-events: none; }
.ws-los { position: absolute; left: 0; top: 0; display: grid; gap: 2px; padding: 10px 12px 11px; border-radius: 10px; background: #fff; transform-origin: 0 0; will-change: transform, opacity;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 1px 2px rgba(11, 18, 32, 0.08), 0 10px 18px -12px rgba(11, 18, 32, 0.4), 0 calc(var(--ws-til, 0) * 22px) calc(var(--ws-til, 0) * 34px) calc(var(--ws-til, 0) * -10px) rgba(11, 18, 32, 0.35); }
.ws-los b { font-family: var(--kop); font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--inkt); }
.ws-los > span:not(.ws-los-som) { font-size: 12.5px; font-weight: 500; color: #4b5563; }
.ws-los-som { display: grid; grid-template-columns: 40px auto; align-items: center; gap: 8px; margin-top: 5px; font-size: 12.5px; font-weight: 500; color: #374151; white-space: nowrap; }
.ws-los .ws-staaf i { transform: scaleX(var(--ws-vul, 0)); }

/* Smaller breed (rond 1024, venster onder 1000 px): kleinere kaartjes, het plan op één regel zonder label. */
@container ws (max-width: 999.98px) {
  .ws-taak { font-size: 15px; }
  .ws-kaart { padding: 7px 12px 8px; gap: 2px 12px; }
  .ws-plan-label { display: none; }
  .ws-plan { padding: 9px 12px 9px 16px; }
  .ws-eerst { gap: 8px; }
  .ws-eerst-rijen { gap: 6px; }
}
/* Middel (de tablet): daarna en niet een regel per taak onder elkaar, de noot onder de taak. */
@container ws (max-width: 899.98px) {
  .ws-veld { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding: 14px 14px 16px; gap: 12px; }
  .ws-laag { inset: 14px 14px 16px; }
  .ws-kaart { grid-template-columns: minmax(0, 1fr); padding: 9px 12px 10px; }
  .ws-plan-wat { font-size: 16px; }
  .ws-eigenaar { margin-left: 0; }
  .ws-plan-label { display: inline; }
  .ws-lrij { grid-template-columns: minmax(0, 1fr); }
  .ws-taak { font-size: 15px; }
}
/* Smal (de telefoon): alles onder elkaar, eerst bovenaan. */
@container ws (max-width: 599.98px) {
  .ws-veld { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 14px; gap: 12px; }
  .ws-tafel { inset: 6px; border-radius: 14px; }
  .ws-eerst { padding: 8px 8px 10px; gap: 8px; }
  .ws-plan { padding: 10px 12px 10px 16px; gap: 6px 12px; }
  .ws-plan-label { flex-basis: 100%; }
  .ws-plan-wat { font-size: 15px; }
  .ws-eigenaar { font-size: 12.5px; gap: 10px; }
  .ws-wie { display: none; }
  .ws-kaart { gap: 6px; }
  .ws-taak { font-size: 14px; }
  .ws-regel { grid-template-columns: 40px auto; font-size: 12.5px; }
  .ws-eerst-voet b { font-size: 15.5px; }
  /* Op de telefoon eerst de kaartjes en de som, dan het plan als slot; de lijn vervalt. */
  .ws-eerst-rijen { order: 1; }
  .ws-eerst-voet { order: 2; }
  .ws-plan { order: 3; margin-top: 2px; }
  .ws-lijn { display: none; }
}
@container ws (max-width: 339.98px) {
  .ws-balk-r { display: none; }
  .ws-achter { display: none; }
}

/* ============ Zo werkt het: de vier stille standen ============ */
.ws-stand { display: grid; place-items: center; padding: 14px; }
.ws-stand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 110%, rgba(96, 165, 250, 0.14), rgba(96, 165, 250, 0) 70%); pointer-events: none; }
/* 1. Op tafel: negen kaartjes, los en recht. */
.ws-s-tafel { position: absolute; inset: 12px; border-radius: 12px; background: radial-gradient(90% 70% at 0% 100%, rgba(255, 214, 150, 0.2), rgba(255, 214, 150, 0) 62%), linear-gradient(180deg, #fefdfb 0%, #f6f1e8 100%); box-shadow: inset 0 0 0 1px rgba(11, 18, 32, 0.05); }
.ws-s-k { position: absolute; left: calc(var(--x) + 3%); top: calc(var(--y) + 3%); width: 28%; height: 21%; display: grid; align-content: center; gap: 5px; padding: 0 9px; border-radius: 6px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 1px 2px rgba(11, 18, 32, 0.08), 0 8px 14px -10px rgba(11, 18, 32, 0.4); }
.ws-s-k i { height: 5px; border-radius: 3px; background: #d5deeb; }
.ws-s-k i + i { width: 58%; background: #e8edf5; }
/* 2. De som: drie kaartjes met hun uren. */
.ws-s-som { display: grid; gap: 7px; width: min(90%, 270px); }
.ws-s-rij { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 12px; margin: 0; padding: 6px 11px 7px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 8px 14px -10px rgba(11, 18, 32, 0.35); }
.ws-s-rij .ws-staaf { grid-column: 1 / -1; grid-row: 2; }
.ws-s-rij b { font-family: var(--kop); font-size: 13px; font-weight: 600; line-height: 1.15; }
.ws-s-u { font-size: 12.5px; font-weight: 600; color: var(--blauw-diep); font-variant-numeric: tabular-nums; }
/* 3. Gesorteerd: eerst groot, daarna en niet klein ernaast. */
.ws-s-bord { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 7px; width: min(92%, 300px); }
.ws-s-eerst, .ws-s-baan { display: grid; align-content: start; gap: 6px; padding: 7px 7px 9px; border-radius: 9px; }
.ws-s-eerst { background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 14px -10px rgba(29, 78, 216, 0.6); }
.ws-s-later { display: grid; gap: 7px; align-content: start; }
.ws-s-baan { gap: 4px; background: linear-gradient(180deg, #e6efff 0%, #dbe7fd 100%); box-shadow: inset 0 2px 4px rgba(29, 78, 216, 0.16), inset 0 0 0 1px rgba(29, 78, 216, 0.08); }
.ws-s-bord p { margin: 0 2px 2px; font-family: var(--kop); font-size: 12.5px; font-weight: 600; line-height: 1.1; color: #1e40af; }
.ws-s-eerst p { color: #fff; }
.ws-s-eerst i { height: 28px; border-radius: 5px; background: #fff; box-shadow: 0 6px 10px -8px rgba(6, 18, 70, 0.6); }
.ws-s-baan i { height: 9px; border-radius: 3px; background: #fff; }
.ws-s-niet { background: linear-gradient(180deg, #eef0f4 0%, #e7eaf0 100%); box-shadow: inset 0 2px 4px rgba(11, 18, 32, 0.1); }
.ws-s-niet p { color: #374151; }
.ws-s-niet i { background: #f6f7f9; }
/* 4. Het plan met de eigenaar, boven de stille banen. */
.ws-stand-4 { align-content: center; gap: 10px; }
.ws-s-plan { display: grid; gap: 8px; width: min(92%, 300px); padding: 10px 12px 11px 15px; border-radius: 10px; background: #fff; box-shadow: inset 4px 0 0 var(--blauw), 0 0 0 1px rgba(11, 18, 32, 0.06), 0 12px 22px -14px rgba(11, 18, 32, 0.45); }
.ws-s-plan-kop { display: grid; gap: 3px; margin: 0; }
.ws-s-plan-kop span { font-size: 12.5px; font-weight: 600; color: #1d3ca6; }
.ws-s-plan-kop b { font-family: var(--kop); font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--inkt); }
.ws-s-plan-wie { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; font-weight: 500; color: #374151; }
.ws-s-plan-wie .ws-kraal { width: 24px; height: 24px; font-size: 12.5px; }
.ws-s-bord-stil { opacity: 0.55; }
.ws-s-bord-stil .ws-s-eerst i { height: 14px; }
.ws-s-bord-stil .ws-s-baan i { height: 7px; }
@container dp-stand (max-width: 260px) {
  .ws-s-k { padding: 0 6px; gap: 4px; }
  .ws-s-rij { padding: 6px 9px 7px; }
}

/* ============ De vensters van Wat je team doet ============ */
.ws-v { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .ws-v { aspect-ratio: auto; min-height: clamp(340px, 30vw, 420px); } }
.ws-v > :nth-child(2) { flex: 1; min-height: 0; }
.ws-v-noot { margin: 0; padding: 0 20px 12px; color: #374151; background: inherit; }

/* 01. Aan tafel: wie wat zegt, en de kaarten die op het bord komen. */
.ws-tafel-lijf { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; padding: 18px 20px; align-items: center;
  background: radial-gradient(80% 60% at 0% 100%, rgba(191, 219, 254, 0.35), rgba(191, 219, 254, 0) 70%), #f4f6f9; }
.ws-v-tafel { background: #f4f6f9; }
.ws-v-tafel .ws-v-noot { background: #f4f6f9; }
.ws-gesprek { display: grid; gap: 10px; }
.ws-zegt { margin: 0; padding: 9px 13px 10px; border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.45; color: var(--inkt); box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 8px 16px -12px rgba(30, 22, 10, 0.4); }
.ws-wie-zegt { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: #374151; }
.ws-zegt-wij { background: #eef4ff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18), 0 8px 16px -12px rgba(30, 22, 10, 0.4); }
.ws-zegt-wij .ws-wie-zegt { color: var(--blauw-diep); }
.ws-tafel-bord { display: grid; align-content: start; gap: 8px; padding: 12px 10px 14px; border-radius: 14px; background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #e6efff 0%, #dbe7fd 100%);
  box-shadow: inset 0 2px 4px rgba(29, 78, 216, 0.18), inset 0 0 0 1px rgba(29, 78, 216, 0.09); }
.ws-tafel-kop { margin: 0 3px 2px; font-family: var(--kop); font-size: 13px; font-weight: 600; color: #1e40af; }
.ws-tkaart { position: relative; display: grid; gap: 2px; padding: 10px 12px 11px; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 1px 2px rgba(11, 18, 32, 0.08), 0 10px 18px -12px rgba(11, 18, 32, 0.4); }
.ws-tkaart p { margin: 0; }
.ws-tkaart .ws-taak { font-size: 13.5px; }
.ws-tafel-leeg { margin: 2px 3px 0; font-size: 12.5px; font-weight: 500; color: #1e3a8a; }
[data-dp-stand] .ws-kaart-nieuw[data-dp-t]:not(.dp-aan) { opacity: 0; transform: translateY(-14px); }
[data-dp-stand] .ws-kaart-nieuw[data-dp-t] { transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease; }
@container dp-venster (max-width: 519.98px) {
  .ws-tafel-lijf { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; }
  .ws-zegt { font-size: 13.5px; }
}

/* 02. De som: het rekenvel van één kaart. */
.ws-som-lijf { display: grid; place-items: center; padding: 20px; background: radial-gradient(70% 70% at 100% 0%, rgba(191, 219, 254, 0.4), rgba(191, 219, 254, 0) 70%), #f4f6f9; }
.ws-reken { width: min(100%, 470px); padding: 16px 18px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.06), 0 18px 34px -20px rgba(11, 18, 32, 0.45); }
.ws-reken-kop { margin: 0 0 6px; }
.ws-reken-kop > span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ws-reken-kop b { font-family: var(--kop); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ws-reken-kop span span { font-size: 12.5px; font-weight: 500; color: #4b5563; }
.ws-reken-rij, .ws-reken-uit { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid var(--lijn-fijn); font-size: 14px; line-height: 1.35; }
.ws-reken-wat { font-size: 12.5px; font-weight: 600; color: #4b5563; }
.ws-reken-waarde { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ws-reken-nu b { font-weight: 600; color: var(--blauw-diep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ws-reken-nu .ws-staaf { flex: 1; max-width: 170px; height: 8px; border-radius: 4px; }
.ws-reken-nu .ws-staaf i { transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1) 0.15s; }
[data-dp-stand] .ws-reken-nu:not(.dp-aan) .ws-staaf i { transform: scaleX(0); }
.ws-maat { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ws-maat > * { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #4b5563; box-shadow: inset 0 0 0 1px rgba(11, 18, 32, 0.12); }
.ws-maat b { font-weight: 600; color: #fff; background: var(--blauw-diep); box-shadow: 0 6px 12px -8px rgba(29, 78, 216, 0.9); }
.ws-levert { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--blauw-diep); background: var(--tint); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25); }
.ws-levert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blauw); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
@container dp-venster (max-width: 479.98px) {
  .ws-som-lijf { padding: 14px; }
  .ws-reken { padding: 14px 14px 12px; }
  .ws-reken-rij, .ws-reken-uit { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; font-size: 13.5px; }
  .ws-reken-waarde { flex-wrap: wrap; gap: 6px 12px; }
}

/* 03. Drie banen als rijen: de regel van de baan links, de kaarten schuiven erin. */
.ws-rijen { display: grid; align-content: center; gap: 10px; padding: 18px 20px; background: radial-gradient(80% 60% at 0% 100%, rgba(191, 219, 254, 0.35), rgba(191, 219, 254, 0) 70%), #f4f6f9; }
.ws-rij { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 14px; padding: 11px 12px 11px 14px; border-radius: 12px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #e6efff 0%, #dbe7fd 100%); box-shadow: inset 0 2px 4px rgba(29, 78, 216, 0.16), inset 0 0 0 1px rgba(29, 78, 216, 0.08); }
.ws-rij-eerst { background: linear-gradient(180deg, #1d4ed8 0%, #1c47cc 52%, #1e40af 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 18px -12px rgba(29, 78, 216, 0.7); }
.ws-rij-niet { background: linear-gradient(180deg, #eef0f4 0%, #e7eaf0 100%); box-shadow: inset 0 2px 4px rgba(11, 18, 32, 0.1), inset 0 0 0 1px rgba(11, 18, 32, 0.05); }
.ws-rij-kop { display: grid; gap: 2px; margin: 0; }
.ws-rij-kop b { font-family: var(--kop); font-size: 15px; font-weight: 600; color: #1e40af; }
.ws-rij-kop span { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: #1e3a8a; }
.ws-rij-eerst .ws-rij-kop b, .ws-rij-eerst .ws-rij-kop span { color: #fff; }
.ws-rij-niet .ws-rij-kop b, .ws-rij-niet .ws-rij-kop span { color: #374151; }
.ws-rij-kaarten { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ws-chip { display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 10px; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--inkt); box-shadow: 0 1px 2px rgba(11, 18, 32, 0.08), 0 6px 12px -8px rgba(11, 18, 32, 0.4); }
.ws-rij-niet .ws-chip { background: #f8f9fb; color: #1f2937; }
.ws-reden { font-size: 12.5px; font-weight: 500; font-style: normal; color: #4b5563; }
[data-dp-stand] .ws-chip[data-dp-t]:not(.dp-aan) { opacity: 0; transform: translateX(-36px); }
[data-dp-stand] .ws-chip[data-dp-t] { transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@container dp-venster (max-width: 519.98px) {
  .ws-rijen { padding: 14px; gap: 8px; }
  .ws-rij { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 10px 11px; }
  .ws-rij-kop { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .ws-chip { font-size: 12.5px; padding: 5px 9px; }
}

/* 04. Het plan op papier. */
.ws-v-plan { background: #f4f6f9; }
.ws-v-plan .ws-v-noot { background: #f4f6f9; }
.ws-plan-lijf { display: grid; place-items: center; padding: 22px 20px 14px; }
.ws-vel { width: min(100%, 480px); padding: 20px 22px 18px; border-radius: 3px; background: #fff;
  box-shadow: 0 1px 2px rgba(30, 22, 10, 0.12), 0 18px 34px -18px rgba(30, 22, 10, 0.5), 0 0 0 1px rgba(30, 22, 10, 0.04); }
.ws-vel-kop { display: grid; gap: 4px; margin: 0 0 12px; }
.ws-vel-kop span { font-size: 12.5px; font-weight: 600; color: var(--blauw-diep); }
.ws-vel-kop b { font-family: var(--kop); font-size: 21px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; color: var(--inkt); }
.ws-vel-velden { display: grid; margin: 0; }
.ws-vel-velden > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--lijn-fijn); }
.ws-vel-velden dt { font-size: 12.5px; font-weight: 600; color: #4b5563; }
.ws-vel-velden dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--inkt); }
.ws-vel-wie { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ws-vel-wie .ws-kraal { width: 26px; height: 26px; }
.ws-vel-rest { display: grid; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--lijn); }
.ws-vel-rest p { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; margin: 0; font-size: 13.5px; line-height: 1.4; color: #374151; }
.ws-vel-rest span { font-size: 12.5px; font-weight: 600; color: #4b5563; }
@container dp-venster (max-width: 479.98px) {
  .ws-plan-lijf { padding: 14px 12px 12px; }
  .ws-vel { padding: 16px 16px 14px; }
  .ws-vel-kop b { font-size: 18px; }
  .ws-vel-velden > div, .ws-vel-rest p { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
  .ws-vel-velden dd { font-size: 13.5px; }
}

/* ============ Wat het oplevert: drie vellen in hun voorwerp (dp-houden-dingen) ============ */
.ws-pagina .dp-ding-voorwerp { place-items: end center; padding: 18px 18px 0; }
.ws-pagina .dp-ding-voorwerp .ws-ding-vel { width: min(100%, 250px); height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; gap: 10px; padding: 14px 16px; border-radius: 3px 3px 0 0; background: #fff;
  box-shadow: 0 1px 2px rgba(30, 22, 10, 0.12), 0 18px 34px -18px rgba(30, 22, 10, 0.45), 0 0 0 1px rgba(30, 22, 10, 0.04); }
.ws-ding-vel p { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--blauw-diep); }
.ws-vb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 7px; }
.ws-vb i { min-height: 8px; border-radius: 4px; background: #f1f4f9; box-shadow: inset 0 0 0 1px rgba(11, 18, 32, 0.06); }
.ws-vp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 7px; min-height: 0; overflow: hidden; }
.ws-vp > span { display: grid; align-content: start; gap: 5px; padding: 6px; border-radius: 6px; }
.ws-vp-eerst { background: linear-gradient(180deg, #1d4ed8, #1e40af); }
.ws-vp-eerst i { height: 20px; border-radius: 3px; background: #fff; }
.ws-vp-later { background: linear-gradient(180deg, #e6efff, #dbe7fd); }
.ws-vp-later i { height: 8px; border-radius: 2px; background: #fff; }
.ws-vp-later i.ws-vp-niet { background: #cfd6e0; }
.ws-ding-stap .ws-ding-vel { box-shadow: inset 4px 0 0 var(--blauw), 0 1px 2px rgba(30, 22, 10, 0.12), 0 18px 34px -18px rgba(30, 22, 10, 0.45), 0 0 0 1px rgba(30, 22, 10, 0.04); }
.ws-ding-stap .ws-ding-vel > b { font-family: var(--kop); font-size: 16px; font-weight: 600; line-height: 1.2; color: var(--inkt); }
.ws-ding-wie { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; color: #374151; }
.ws-ding-wie .ws-kraal { width: 24px; height: 24px; }

/* De film: de staafjes van eerst vullen in de telefoonfilm (--ws-vul); zonder film staan ze vol. */
.ws-kaart .ws-staaf i { transform: scaleX(var(--ws-vul, 1)); }

/* ============ De telefoon en elk aanraakscherm (9 november 2026, BRIEF-mobiel.md) ============
   Breed (vanaf 820 px met een muis) verandert hier niets. Regel 3: niets groeit nog als schaduw per beeld.
   - De flits van het eerste kaartje: een vaste gloed op een eigen laag die alleen in dekking opkomt en uitdooft
     (workshops.js zet de klasse ws-flits zolang hij loopt); de schaduw van het kaartje zelf staat vast.
   - De ring van de eigenaar: de groene ring komt op in dekking in plaats van rond te lopen; de zachte rand eromheen
     staat vast in plaats van als schaduw te groeien. In rust (--ws-ring 1) precies het beeld van breed.
   - De kaartjes op tafel (de brede film, ook op 600 tot 819 px) houden hun schaduw vast als ze worden opgetild; het
     optillen zelf is de schaal van 4 procent. */
@media (max-width: 819px), (pointer: coarse) {
  .ws-kaart { box-shadow: 0 1px 2px rgba(11, 18, 32, 0.1), 0 10px 18px -12px rgba(6, 18, 70, 0.55); }
  .ws-kaart::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    box-shadow: 0 0 0 4px rgba(191, 219, 254, 0.6), 0 0 26px rgba(191, 219, 254, 0.9); }
  .ws-kaart.ws-flits::after { animation: ws-flits 1.25s linear both; }
  .ws-kraal { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), inset 0 1px 0 #fff, inset 0 -2px 3px rgba(29, 78, 216, 0.14), 0 4px 8px -3px rgba(6, 18, 70, 0.38); }
  .ws-kraal::before { background: conic-gradient(#10b981 1turn, rgba(37, 99, 235, 0.14) 0); opacity: var(--ws-ring, 1); }
  .ws-los { box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 1px 2px rgba(11, 18, 32, 0.08), 0 10px 18px -12px rgba(11, 18, 32, 0.4); }
  [data-dp-stand] .ws-kaart-nieuw[data-dp-t] { transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
/* De brede film op 600 tot 819 px: een kaartje op tafel is daar zo'n 190 px breed. De som ("8 uur per week · bouwen:
   middel") brak niet en maakte de kolom van het kaartje breder dan het kaartje, zodat de taak er rechts uitstak
   ("Aanvragen uit de mail overty"). Nu breekt de som en blijft alles binnen het kaartje. */
@media (max-width: 819px) {
  .ws-los { grid-template-columns: minmax(0, 1fr); }
  .ws-los-som { grid-template-columns: 40px minmax(0, 1fr); white-space: normal; line-height: 1.3; }
}
/* ============ Regel 8: wat op de pc staat, staat ook op de telefoon (9 november 2026) ============
   Alleen voor de smalle opmaak (werkstuk onder 600 px); de tabletopmaak en 768 x 1024 blijven gelijk. verborgen.mjs
   vond vijf stukken die op 390 wegvielen:
   - wie het werk doet bij de drie kaartjes van Eerst ("projectleiding", "administratie"): rechts op de regel van de
     som, zodat een kaartje niet hoger wordt; is het te smal (360), dan schuift het eronder;
   - de datum in de kopbalk ("dinsdag 13 oktober") en "eigenaar:" bij Chris van Dijk (onder 340 px werkstuk, dus op
     360 en 390): de kopbalk mag daar op twee regels. */
@media (max-width: 819px) {
  @container ws (max-width: 599.98px) {
    .ws-kaart { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 4px; }
    .ws-kaart-tekst { display: contents; }
    .ws-taak { flex: 1 0 100%; }
    .ws-wie { display: block; order: 2; margin-left: auto; }
    .ws-regel { order: 1; grid-template-columns: 28px auto; gap: 8px; align-self: center; }
  }
  @container ws (max-width: 339.98px) {
    .ws-balk { height: auto; min-height: 38px; flex-wrap: wrap; row-gap: 1px; column-gap: 10px; padding-top: 8px; padding-bottom: 8px; }
    .ws-balk-r { display: grid; }
    .ws-achter { display: inline; }
  }
}

/* De vorm van de flits: in 90 ms op, dan uitdovend zoals de exponent van workshops.js. */
@keyframes ws-flits { 0% { opacity: 0; } 7% { opacity: 1; } 24% { opacity: 0.6; } 40% { opacity: 0.37; } 62% { opacity: 0.17; } 82% { opacity: 0.07; } 100% { opacity: 0; } }
