/* HorecaHero v2.0.333: Vier overzichtskaarten als twee-bij-twee raster. */
.hh-account-cards.hh-account-cards--learning { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hh-th-home-card { grid-column: auto; min-height: 0; }
@media (max-width: 650px) {
  .hh-account-cards.hh-account-cards--learning { grid-template-columns: 1fr; }
}
.hh-th-home-card .hh-account-card__top { margin-bottom: 12px; }
.hh-th-home-card .hh-account-card__link { margin-top: auto; }
.hh-th-home-card .hh-account-card__description { overflow-wrap: break-word; }
.hh-th-all-wrap { width: 100%; max-width: 100%; box-sizing: border-box; margin-top: 24px; margin-bottom: 24px; scroll-margin-top: 100px; }
.hh-th-all-wrap .hh-th-person__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1050px) { .hh-th-all-wrap .hh-th-person__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hh-th-all-wrap .hh-th-person__grid { grid-template-columns: 1fr; } }
.hh-th-order-wrap { border: 1px solid #dfe5e2; border-radius: 14px; background: #fff; padding: 24px; margin: 24px 0; }
.hh-th-section-header { margin: 0 0 16px; }
.hh-th-section-header h2 { margin: 4px 0 5px; font-size: clamp(23px, 2vw, 29px); color: #004950; }
.hh-th-section-header p { margin: 0; color: #60706e; }
.hh-th-actions { display:flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-load { cursor: pointer; padding: 12px 18px; border: 0; border-radius: 9px; background: #004950; color: white; font-weight: 700; font-size: 14px; text-decoration:none; line-height:1.3; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-load:hover { background: #05626c; color: #fff; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-load:disabled { opacity: .5; cursor:wait; }
.hh-th-feedback { color:#576969; font-size:13px; }
.hh-th-results { margin-top: 16px; }
.hh-th-people { display:grid; gap:15px; }
.hh-th-person { border:1px solid #e2e6e3; border-radius:12px; background:#fff; overflow:hidden; }
.hh-th-person__head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:20px 20px 10px; }
.hh-th-person__head h3 { font-size:18px; line-height:1.2; margin:0 0 5px; color:#173130; }
.hh-th-person__head small { color:#687b7a; font-size:13px; }
.hh-th-badges { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
.hh-th-badge { display:inline-flex; padding:5px 10px; border:1px solid #dce3e0; border-radius:24px; background:#f3f6f4; color:#49625f; font-size:12px; line-height:1.3; font-weight:700; }
.hh-th-badge--success { background:#e8f8ee; border-color:#bfe2cb; color:#156c3a; }
.hh-th-badge--info { background:#eaf4ff; border-color:#bedbf4; color:#1b6490; }
.hh-th-badge--warning { background:#fff7e3; border-color:#eddaa5; color:#86600b; }
.hh-th-badge--danger { background:#fff0ed; border-color:#efc4bc; color:#a33226; }
.hh-th-person__grid { display:grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap:20px; padding:12px 20px 20px; }
.hh-th-person__grid > div { min-width: 0; }
.hh-th-heading { display:block; font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:.055em; margin-bottom:8px; color:#657675; }
.hh-th-person__grid strong { color:#233d3c; font-size:14px; line-height:1.4; display:block; }
.hh-th-person__grid small { display:block; color:#667979; font-size:12px; line-height:1.4; margin-top:5px; }
.hh-th-track { background:#e2e8eb; height:8px; margin:5px 0 8px; border-radius:20px; overflow:hidden; }
.hh-th-track span { background:#087ba0; height:100%; display:block; border-radius:20px; }
.hh-th-person__details { border-top:1px solid #e7edeb; }
.hh-th-person__details summary { cursor:pointer; color:#00515c; padding:13px 20px; font-weight:750; list-style:none; font-size:13px; }
.hh-th-person__details summary::-webkit-details-marker { display:none; }
.hh-th-person__details summary:before { content:'▸'; display:inline-block; margin-right:8px; }
.hh-th-person__details[open] summary:before { transform:rotate(90deg); }
.hh-th-person__detail-content { padding:5px 20px 18px; }
.hh-th-person__detail-content h4 { margin:14px 0 9px; color:#204542; font-size:15px; }
.hh-th-table-wrap { max-width:100%; overflow-x:auto; }
.hh-th-table { border-collapse:collapse; min-width:480px; width:100%; font-size:13px; }
.hh-th-table th, .hh-th-table td { text-align:left; padding:10px 9px; border-bottom:1px solid #e6eeeb; }
.hh-th-table th { background:#f4f8f6; color:#546d67; font-weight:750; }
.hh-th-exam-detail { background:#f4f9f8; padding:13px 15px; border-radius:9px; margin:8px 0; }
.hh-th-exam-detail__title { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.hh-th-exam-detail p { margin:7px 0; font-size:13px; }
.hh-th-exam-detail small { font-size:12px; color:#677a78; }
.hh-th-privacy { color:#73807e; font-size:12px; margin:13px 0 0; line-height:1.5; }
@media(max-width:980px) { .hh-th-person__grid { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media(max-width:620px) { .hh-th-order-wrap { padding:16px; } .hh-th-person__head { flex-direction:column; } .hh-th-badges { justify-content:flex-start; } .hh-th-person__grid { grid-template-columns:1fr 1fr; gap:13px; } .hh-th-person__grid strong { overflow-wrap:anywhere; } }
@media(max-width:420px) { .hh-th-person__grid { grid-template-columns:1fr; } }

/* De groepsoverzichten tonen een compacte regel, details volledig uitklapbaar. */
.hh-th-person--overview .hh-th-person__head { padding-bottom: 8px; align-items: center; }
.hh-th-person--overview .hh-th-person__head h3 { font-size: 17px; }
.hh-th-person--overview .hh-th-overview-row {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);
  gap: 24px;
  padding: 8px 20px 16px;
  align-items: center;
}
.hh-th-person--overview .hh-th-overview-row > div { min-width: 0; }
.hh-th-person--overview .hh-th-overview-row strong { font-size: 13px; display:block; color:#233d3c; line-height:1.4; overflow-wrap:anywhere; }
.hh-th-person--overview .hh-th-overview-row span { display:block; color:#637774; font-size: 11px; font-weight: 700; margin-bottom:5px; }
.hh-th-person--overview .hh-th-track { margin: 7px 0 0; }
.hh-th-person--overview .hh-th-person__details .hh-th-person__grid { border-bottom: 1px solid #e7edeb; background: #fbfcfb; padding-top: 18px; }
@media(max-width:800px) {
  .hh-th-person--overview .hh-th-overview-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .hh-th-person--overview .hh-th-overview-progress { grid-column: 1 / -1; }
}
@media(max-width:520px) {
  .hh-th-person--overview .hh-th-overview-row { grid-template-columns:1fr; gap:10px; }
  .hh-th-person--overview .hh-th-overview-progress { grid-column:auto; }
}

/* v2.0.334: compact, automatisch bijgewerkt medewerkersoverzicht direct onder de welkomsttekst. */
.hh-th-staff-panel { background:#fff; border:1px solid #e2e6e3; border-radius:14px; padding:20px 24px; margin:18px 0 24px; }
.hh-th-staff-heading { display:flex; gap:16px; justify-content:space-between; align-items:center; margin-bottom:14px; }
.hh-th-staff-heading h3 { margin:3px 0 5px; color:#004950; font-size:clamp(19px, 2vw, 24px); line-height:1.2; }
.hh-th-staff-heading p { margin:0; color:#657675; font-size:13px; }
.hh-th-staff-count { flex:none; white-space:nowrap; font-size:12px; font-weight:700; background:#eff5f3; color:#004950; padding:6px 12px; border-radius:24px; }
.hh-th-staff-columns, .hh-th-staff-row { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr); column-gap:16px; align-items:center; }
.hh-th-staff-columns { padding:10px 12px; color:#637474; border-radius:7px 7px 0 0; background:#f5f8f6; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.045em; }
.hh-th-staff-row { padding:14px 12px; border-bottom:1px solid #e8eeeb; }
.hh-th-staff-row:last-child { border-bottom:0; }
.hh-th-staff-row[hidden] { display:none !important; }
.hh-th-staff-row > div { min-width:0; }
.hh-th-staff-person strong { color:#193936; font-size:14px; display:block; line-height:1.35; overflow-wrap:anywhere; }
.hh-th-staff-person small, .hh-th-staff-learning small { display:block; color:#697b78; margin-top:5px; font-size:11px; line-height:1.4; }
.hh-th-staff-learning .hh-th-badge, .hh-th-staff-exam .hh-th-badge { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.hh-th-staff-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:13px 10px 2px; flex-wrap:wrap; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-toggle { display:inline-flex; align-items:center; background:transparent; color:#004950; border:0; border-radius:7px; padding:6px 0; font-size:13px; font-weight:800; cursor:pointer; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-toggle[hidden] { display:none !important; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-toggle:hover { text-decoration:underline; }
.hh-th-staff-footer .hh-th-feedback { font-size:11px; }
.hh-th-staff-loading { color:#5d7570; font-size:13px; margin:12px 8px; }
.hh-th-staff-panel .hh-th-results { margin-top:0; }
@media (max-width:690px) {
  .hh-th-staff-panel { padding:16px 13px; }
  .hh-th-staff-heading { align-items:flex-start; }
  .hh-th-staff-columns { display:none; }
  .hh-th-staff-row { grid-template-columns:1fr 1fr; row-gap:12px; padding:15px 10px; }
  .hh-th-staff-person { grid-column:1 / -1; }
  .hh-th-staff-count { font-size:11px; }
}

/* v2.0.335: zichtbare meer-knop, examendatum en veilige acties per deelnemer */
.hh-th-cadence { background:#f3f7f3; color:#506a66; padding:11px 13px; font-size:12px; line-height:1.55; border-radius:9px; border:1px solid #e1ebe5; margin:0 0 12px; }
.hh-th-staff-exam .hh-th-exam-date, .hh-th-overview-exam .hh-th-exam-date { display:block; font-size:12px; line-height:1.5; font-weight:650; color:#315955; margin-top:7px; }
.hh-th-exam-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:9px; }
.hh-th-action-link { display:inline-flex; align-items:center; justify-content:center; text-align:center; font-size:11px; font-weight:750; line-height:1.4; padding:7px 10px; border:1px solid #b6d3cd; border-radius:8px; background:#eff8f5; color:#004950!important; cursor:pointer; text-decoration:none!important; transition:background .15s ease; }
.hh-th-action-link--book { background:#004950; color:#fff!important; border-color:#004950; }
.hh-th-action-link:hover { background:#dbeee8; }
.hh-th-action-link--book:hover { background:#05636a; color:#fff!important; }
.hh-th-action-link:disabled { opacity:.55; cursor:wait; }
.hh-th-mail-feedback { display:block; width:100%; color:#496962; font-size:11px; line-height:1.5; }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-toggle { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; padding:12px 19px; border:1px solid #004950; border-radius:10px; background:#004950; color:#fff; font-size:15px; font-weight:800; text-decoration:none; box-shadow:0 3px 11px rgba(0,73,80,.09); }
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-toggle:hover, body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-toggle:focus-visible { background:#05636a; color:#fff; text-decoration:none; }
.hh-th-staff-footer { display:flex; flex-direction:column; align-items:stretch; padding:13px 0 2px; gap:10px; }
.hh-th-staff-footer .hh-th-feedback { display:block; text-align:center; color:#637874; font-size:12px; line-height:1.6; }
@media (max-width:690px) { .hh-th-staff-exam { grid-column:1 / -1; } .hh-th-exam-actions { gap:6px; } .hh-th-action-link { font-size:12px; } }

/* v2.0.336 - subtiele examenacties, uitleg onder de complete deelnemerslijst. */
.hh-th-staff-panel .hh-th-refresh-note {
  margin-top:16px; padding:14px 16px; background:#f5f8f6;
  border:1px solid #e0eae5; border-radius:10px; color:#536963;
}
.hh-th-staff-panel .hh-th-refresh-note__title { color:#004950; font-size:13px; font-weight:800; margin:0 0 5px; }
.hh-th-staff-panel .hh-th-refresh-note p:not(.hh-th-refresh-note__title) {
  margin:0; font-size:12px; line-height:1.65;
}
.hh-th-staff-panel .hh-th-refresh-note .hh-th-feedback {
  display:block; margin-top:7px !important; font-weight:600; color:#58736e; font-size:11px !important;
}
.hh-th-staff-exam .hh-th-exam-actions {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start;
  column-gap:6px; row-gap:2px; margin-top:6px;
}
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-exam .hh-th-action-link {
  appearance:none; box-shadow:none; display:inline; width:auto; min-height:0;
  background:transparent !important; border:0 !important; padding:0 !important;
  margin:0 !important; color:#00545a !important; font-size:11px;
  font-weight:700; line-height:1.6; text-decoration:none; border-radius:0;
}
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-exam .hh-th-action-link:hover,
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-exam .hh-th-action-link:focus-visible {
  text-decoration:underline !important; color:#007078 !important;
}
.hh-th-staff-exam .hh-th-exam-action-separator {font-size:12px; color:#9aacaa;}
.hh-th-staff-exam .hh-th-mail-feedback { flex-basis:100%; font-size:11px; }
@media (max-width:690px) {
  .hh-th-staff-panel .hh-th-refresh-note {padding:12px;}
  body.woocommerce-account .woocommerce-MyAccount-content .hh-th-staff-exam .hh-th-action-link {font-size:12px;}
}

/* v2.0.337: duidelijke, niet-technische melding wanneer Rakoo niet reageert. */
.hh-th-staff-panel .hh-th-fetch-error {
  margin:12px 0 16px; padding:12px 14px; background:#fff7e9;
  border:1px solid #edd8a7; border-radius:10px;
  color:#725613; font-size:13px; line-height:1.55;
}
body.woocommerce-account .woocommerce-MyAccount-content .hh-th-fetch-retry {
  background:transparent; color:#004950; padding:0 2px; margin:0 0 0 4px;
  border:0; box-shadow:none; font:inherit; font-weight:800;
  cursor:pointer; text-decoration:underline;
}
