/* Planning › HR-werkbank (2-11-2026): stappenplan met tegels. Bouwt op de kleuren van .hp (housing-plan.css), dus licht en donker gaan mee. */
.hw { --hw-late: var(--hp-over); --hw-late-soft: var(--hp-over-soft); --hw-todo: #B07A0C; --hw-todo-soft: var(--hp-part-soft);
      --hw-ok: var(--hp-free); --hw-ok-soft: var(--hp-free-soft); --hw-info: #2B6CB0; --hw-info-soft: #E3EDF9;
      display: grid; gap: 14px; align-content: start; }
[data-bs-theme="dark"] .hw { --hw-todo: #E0AE45; --hw-info: #8FB4EE; --hw-info-soft: #1F2D45; }
/* Kopblok met slogan, zoals de recruiter-app en duinker.eu: donker met een zachte gele gloed */
.hw-hero { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; color: #F7F5F2;
           border-radius: 18px; padding: 22px 26px; background: radial-gradient(120% 140% at 100% 0%, rgba(255,183,27,.16) 0%, rgba(255,183,27,0) 45%),
           linear-gradient(135deg, #1D2224 0%, #171A1B 55%, #12201F 100%); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.hi > .hw-hero { margin: 6px 0 14px; }
/* Plakt bovenaan bij scrollen; vastgezet wordt hij compact (workforce-sticky-hero.js zet hw-stuck), 9-11-2026 */
.hw-hero { position: sticky; top: 0; z-index: 30; overflow-anchor: none; }
/* Geen scroll-verankering op de pagina met een kopblok: anders zet de browser bij compact worden de scrollpositie terug (knipperen). */
.main-content:has(.hw-hero) { overflow-anchor: none; }
.hw-hero.hw-stuck { padding: 8px 18px; border-radius: 0 0 14px 14px; align-items: center; }
.hw-hero.hw-stuck .hw-eyebrow, .hw-hero.hw-stuck .hw-slogan, .hw-hero.hw-stuck .hw-intro { display: none; }
.hw-hero.hw-stuck h2 { font-size: 18px; }
/* Tegels in het kopblok: donkere varianten via de kleurvariabelen; vastgezet compacter */
.hw-hero { --hp-surface: rgba(255,255,255,.07); --hp-line: rgba(255,255,255,.16); --hp-line2: rgba(255,255,255,.16); --hp-muted: #AFB2AE; }
.hw-hero-tiles { flex: 1 1 100%; display: grid; gap: 10px; color: #F7F5F2; }
.hw-hero-tiles.hp-head { display: flex; }
.hw-hero-tiles .hp-ds-tiles { margin: 0; align-items: center; }
.hw-hero-tiles .hp-kpi, .hw-hero-tiles .hp-ds-tile, .hw-hero-tiles .hw-sumtile, .hw-hero-tiles .hw-phase { color: #F7F5F2; }
.hw-hero-tiles .hw-phase { background: var(--hp-surface); border-color: var(--hp-line); }
.hw-tiles-label { font-size: 12.5px; color: #FFB71B; font-weight: 700; margin-right: 4px; }
.hw-hero.hw-stuck .hw-hero-tiles { gap: 6px; }
.hw-hero.hw-stuck .hw-psub, .hw-hero.hw-stuck .hw-ico, .hw-hero.hw-stuck .hw-phases::before, .hw-hero.hw-stuck .ib-stamp { display: none; }
.hw-hero.hw-stuck .hw-phase { padding: 4px 6px; gap: 2px; }
.hw-hero.hw-stuck .hw-num { width: 24px; height: 24px; font-size: 13px; }
.hw-hero.hw-stuck .hw-sumtile { padding: 4px 10px; }
.hw-hero.hw-stuck .hw-sumtile b { font-size: 18px; }
.hw-hero.hw-stuck .hp-kpi, .hw-hero.hw-stuck .hp-ds-tile { padding: 3px 10px; }
.hw-hero.hw-stuck .hp-kpi b, .hw-hero.hw-stuck .hp-ds-tile .v { font-size: 16px; }
.hw-hero-txt { display: grid; gap: 4px; max-width: 760px; }
.hw-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFB71B; }
.hw-hero h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: #F7F5F2; }
.hw-slogan { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #FFB71B; }
.hw-intro { font-size: 13.5px; color: #AFB2AE; margin-top: 2px; }
.hw-hero-act { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 12.5px; color: #AFB2AE; }
.hw-hero-btn { border: 1px solid #3A3F42 !important; background: #2A2E30 !important; color: #fff !important; border-radius: 999px; padding: 6px 16px; cursor: pointer; font-weight: 600; }
.hw-hero-btn:hover { border-color: #FFB71B !important; }
.hw-hero-btn.pri { background: #FFB71B !important; border-color: #FFB71B !important; color: #171A1B !important; }
.hw-hero-btn:disabled { opacity: .5; cursor: default; }
.hw h3 { margin: 2px 0; font-size: 20px; font-weight: 700; }
.hw .hp-act { display: flex; gap: 10px; align-items: center; }
.hw button { font: inherit; color: inherit; text-align: left; }

/* Samenvatting */
.hw-sum { display: flex; flex-wrap: wrap; gap: 10px; }
.hw-sumtile { background: var(--hp-surface); border: 1px solid var(--hp-line2); border-radius: 12px; padding: 10px 16px; min-width: 120px; display: grid; gap: 2px; }
.hw-sumtile b { font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hw-sumtile span { font-size: 12.5px; color: var(--hp-muted); }
.hw-sumtile.late b { color: var(--hw-late); } .hw-sumtile.todo b { color: var(--hw-todo); } .hw-sumtile.ok b { color: var(--hw-ok); }
.hw-sumtile.wide { flex: 1 1 260px; align-content: center; }
.hw-progress { height: 8px; background: var(--hp-line2); border-radius: 4px; overflow: hidden; }
.hw-progress i { display: block; height: 100%; background: var(--hw-ok); border-radius: 4px; transition: width .3s ease; }

/* Fasen: zes tegels met een lijn ertussen */
.hw-phases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; position: relative; }
.hw-phases::before { content: ""; position: absolute; left: 4%; right: 4%; top: 30px; height: 2px; background: var(--hp-line); z-index: 0; }
@media (max-width: 1100px) { .hw-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hw-phases::before { display: none; } }
@media (max-width: 560px) { .hw-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hw-phase { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center !important; cursor: pointer;
            background: var(--hp-surface); border: 1px solid var(--hp-line2); border-radius: 14px; padding: 12px 8px 12px;
            transition: transform .12s ease, box-shadow .12s ease; }
.hw-phase:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.hw-phase.on { outline: 3px solid var(--hp-hl); outline-offset: -1px; box-shadow: 0 6px 18px rgba(0,0,0,.10); }
.hw-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #fff; background: var(--hp-full); }
.hw-phase.late .hw-num { background: var(--hw-late); } .hw-phase.todo .hw-num { background: var(--hw-todo); } .hw-phase.ok .hw-num { background: var(--hw-ok); }
.hw-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #FFB71B; box-shadow: 0 2px 6px rgba(255,183,27,.35); }
.hw-ico svg { width: 23px; height: 23px; display: block; }
.hw-ico.sm { width: 28px; height: 28px; border-radius: 8px; margin-right: 8px; vertical-align: -6px; }
.hw-ico.sm svg { width: 19px; height: 19px; }
.hw-ph3 { display: flex; align-items: center; }
.hw-ptitle { font-weight: 700; font-size: 15px; }
.hw-psub { font-size: 12.5px; color: var(--hp-muted); }
.hw-phase.late .hw-psub { color: var(--hw-late); font-weight: 600; }

/* Paneel van de gekozen fase */
.hw-panel { background: var(--hp-surface); border: 1px solid var(--hp-line2); border-radius: 14px; padding: 16px; display: grid; gap: 14px; }
.hw-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.hw-step { display: grid; gap: 6px; align-content: start; cursor: pointer; background: var(--hp-surface2); border: 1px solid var(--hp-line2);
           border-left: 5px solid var(--hp-full); border-radius: 12px; padding: 12px 14px; transition: transform .12s ease, box-shadow .12s ease; }
.hw-step:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.07); }
.hw-step.on { outline: 3px solid var(--hp-hl); outline-offset: -1px; }
.hw-step.late { border-left-color: var(--hw-late); } .hw-step.todo { border-left-color: var(--hw-todo); }
.hw-step.ok { border-left-color: var(--hw-ok); } .hw-step.info { border-left-color: var(--hw-info); }
.hw-step-h { display: flex; justify-content: space-between; align-items: center; }
.hw-step-no { font-size: 12px; font-weight: 700; color: var(--hp-muted); letter-spacing: .04em; }
.hw-step-t { font-weight: 700; font-size: 15px; }
.hw-step-n b { font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.hw-step.late .hw-step-n b { color: var(--hw-late); } .hw-step.todo .hw-step-n b { color: var(--hw-todo); } .hw-step.info .hw-step-n b { color: var(--hw-info); }
.hw-late-n { font-size: 12.5px; color: var(--hw-late); font-weight: 600; margin-left: 6px; }
.hw-check { font-size: 26px; color: var(--hw-ok); font-weight: 700; }
.hw-step-w { font-size: 12.5px; color: var(--hp-muted); line-height: 1.35; }
.hw-pill.late { background: var(--hw-late-soft); color: var(--hw-late); }
.hw-pill.todo { background: var(--hw-todo-soft); color: var(--hw-todo); }
.hw-pill.ok { background: var(--hw-ok-soft); color: var(--hw-ok); }
.hw-pill.info { background: var(--hw-info-soft); color: var(--hw-info); }

/* Regels van de gekozen stap */
.hw-list { display: grid; gap: 8px; border-top: 1px solid var(--hp-line2); padding-top: 12px; }
.hw-list-h { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.hw-list-btns { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.hw-done { padding: 18px; text-align: center; color: var(--hw-ok); font-weight: 600; background: var(--hw-ok-soft); border-radius: 10px; }
.hw-rows { display: grid; gap: 4px; }
.hw-row { display: grid; grid-template-columns: 90px minmax(160px, 1.2fr) minmax(0, 2fr) auto; gap: 12px; align-items: center; cursor: pointer;
          background: var(--hp-surface); border: 1px solid var(--hp-line2); border-radius: 9px; padding: 8px 12px; }
.hw-row:hover { border-color: var(--hp-hl); background: var(--hp-hl-soft); }
.hw-row .hw-pill { justify-self: start; }
.hw-row-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-row-det { color: var(--hp-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-row-go { font-size: 13px; color: var(--hp-accent); font-weight: 600; white-space: nowrap; }
.hw-row { cursor: default; }
.hw-row-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hw-row-acts .hp-btn { white-space: nowrap; }
@media (max-width: 900px) { .hw-row { grid-template-columns: 80px 1fr; } .hw-row-det, .hw-row-acts { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 760px) { .hw-row { grid-template-columns: 80px 1fr; } .hw-row-det { grid-column: 2; white-space: normal; } .hw-row-go { display: none; } }
.hw-more { justify-self: start; }

/* Nieuwe intake-aanvraag als geleide taak (2-11-2026) */
.iw { max-width: 920px; background: var(--hp-surface); border: 1px solid var(--hp-line2); border-radius: 16px; padding: 18px 20px; display: grid; gap: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,.10); border-top: 5px solid #FFB71B; }
.iw-head { display: flex; justify-content: space-between; align-items: flex-start; }
.iw-head h3 { margin: 2px 0 0; font-size: 22px; font-weight: 700; }
.iw-eb { color: #B07A0C; }
[data-bs-theme="dark"] .iw-eb { color: #FFB71B; }
.iw-x { position: static; font-size: 24px; }
.iw-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.iw-step { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--hp-surface2); color: var(--hp-muted); font-weight: 600; font-size: 13.5px; }
.iw-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--hp-line2); color: var(--hp-muted); font-weight: 700; }
.iw-step.on { background: #171A1B; color: #fff; } .iw-step.on .iw-num { background: #FFB71B; color: #171A1B; }
.iw-step.done .iw-num { background: var(--hp-free); color: #fff; }
.iw-q { font-weight: 700; font-size: 15px; margin-top: 4px; }
.iw-dates, .iw-count { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.iw-date, .iw-count input { font: inherit; padding: 8px 12px; border: 1px solid var(--hp-line); border-radius: 10px; background: var(--hp-surface); color: var(--hp-ink); }
.iw-count input { width: 90px; text-align: center; font-size: 18px; font-weight: 700; }
.iw-pm { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hp-line); background: var(--hp-surface2); font-size: 20px; cursor: pointer; color: var(--hp-ink); }
.iw-chip { border: 1px solid var(--hp-line); background: var(--hp-surface2); border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--hp-ink); font: inherit; font-size: 13.5px; }
.iw-chip.on { background: #FFB71B; border-color: #FFB71B; color: #171A1B; font-weight: 700; }
.iw-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.iw-tile { display: grid; gap: 2px; text-align: left; cursor: pointer; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hp-line2); background: var(--hp-surface2); color: var(--hp-ink); font: inherit; }
.iw-tile b { font-size: 15px; } .iw-tile span { font-size: 12.5px; color: var(--hp-muted); }
.iw-tile:hover { border-color: #FFB71B; }
.iw-tile.on { outline: 3px solid #FFB71B; outline-offset: -1px; background: var(--hp-hl-soft); }
.iw-sum { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.iw-sum div { background: var(--hp-surface2); border: 1px solid var(--hp-line2); border-radius: 10px; padding: 8px 12px; display: grid; gap: 2px; }
.iw-sum span { font-size: 12px; color: var(--hp-muted); } .iw-sum b { font-size: 15px; }
.iw-remark { font: inherit; padding: 10px 12px; border: 1px solid var(--hp-line); border-radius: 10px; background: var(--hp-surface); color: var(--hp-ink); resize: vertical; }
/* Knoppen links: rechts valt Volgende anders onder het venster van Workforce AI */
.iw-foot { display: flex; justify-content: flex-start; gap: 10px; align-items: center; border-top: 1px solid var(--hp-line2); padding-top: 12px; }
.iw-next { border: 0; border-radius: 999px; padding: 10px 22px; background: #171A1B; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.iw-next:hover:not(:disabled) { color: #FFB71B; }
.iw-next:disabled { opacity: .4; cursor: default; }
[data-bs-theme="dark"] .iw-next { background: #FFB71B; color: #171A1B; }
/* Dashboards (10-11-2026): de tegelrij (.hd-kpi-row) staat in de zwarte kop (DashboardHero); donkere tegels, compacter */
.hw-hero.dh-hero .dh-tiles .hd-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0; }
.hw-hero.dh-hero .dh-tiles .hd-card.hd-kpi { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); box-shadow: none;
    color: #F7F5F2; padding: 10px 14px; gap: 10px; border-radius: 12px; }
.hw-hero.dh-hero .dh-tiles .hd-kpi-title, .hw-hero.dh-hero .dh-tiles .hd-kpi-unit { color: #AFB2AE; }
.hw-hero.dh-hero .dh-tiles .hd-kpi-title { font-size: 11px; margin-bottom: 2px; }
.hw-hero.dh-hero .dh-tiles .hd-kpi-value { color: #F7F5F2; font-size: 21px; }
.hw-hero.dh-hero .dh-tiles .hd-kpi-icon { width: 34px; height: 34px; background-size: 18px; }
.hw-hero.dh-hero .dh-tiles .hd-trend-up { color: #6EE7A8; }
.hw-hero.dh-hero .dh-tiles .hd-trend-down { color: #FCA5A5; }
.hw-hero.dh-hero .dh-tiles .rb-kpi-sub { color: #AFB2AE; }
.hw-hero.dh-hero.hw-stuck .dh-tiles .hd-card.hd-kpi { padding: 4px 10px; }
.hw-hero.dh-hero.hw-stuck .dh-tiles .hd-kpi-icon, .hw-hero.dh-hero.hw-stuck .dh-tiles .hd-kpi-trend, .hw-hero.dh-hero.hw-stuck .dh-tiles .rb-kpi-sub { display: none; }
.hw-hero.dh-hero.hw-stuck .dh-tiles .hd-kpi-value { font-size: 16px; }
/* Planning › Urenvrijgave (HoursReleaseDashboard, 12-11-2026): kop + XAF-lijst in een dashboard. Zelfde grijze vlak, marges en
   lijst op grijs als de andere overzichten (.hp, zoals Contracten); de grijze achtergrond loopt door tot onderaan. */
.detail-view-content:has(.hr-release-hero) { height: 100%; }
.dxbl-fl:has(.hr-release-hero) { background: #F1F3F0; padding: 16px; min-height: 100%; box-sizing: border-box; }
.hr-release-hero { margin-bottom: 4px; }
.dxbl-fl:has(.hr-release-hero) .dxbl-grid { --dxbl-grid-bg: transparent; background: transparent; border-color: #D3D9D5; }
.dxbl-fl:has(.hr-release-hero) .dxbl-grid-table { background: transparent; }
.dxbl-fl:has(.hr-release-hero) .dxbl-grid thead th { background: #FFFFFF; }
[data-bs-theme="dark"] .dxbl-fl:has(.hr-release-hero) { background: #11171A; }
[data-bs-theme="dark"] .dxbl-fl:has(.hr-release-hero) .dxbl-grid { border-color: #3A4448; }
[data-bs-theme="dark"] .dxbl-fl:has(.hr-release-hero) .dxbl-grid thead th { background: #1E2528; }
