/* Gladiolen-branding: kleuren en fonts van www.gladiolen.be */

@font-face {
  font-family: "Rand";
  src: url("fonts/Rand-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Rand";
  src: url("fonts/Rand-Heavy.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Flexa";
  src: url("fonts/GT-Flexa-Compressed-Black.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --blauw: #B1E4FF;
  --inkt: #18120C;
  --groen: #1C5E48;
  --oranje: #FF460D;
  --creme: #F3F2F1;
  --geel: #FFCF5D;
  --paars: #D280FF;
  --roze: #FFBCE5;
  --koraal: #FF5D5D;
  --blauw-fel: #227FFF;
  --marine: #0C225D;
  --wit: #fff;
  --radius: 26px;
  --shadow: 0 10px 30px rgba(12, 34, 93, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--blauw);
  color: var(--inkt);
  font-family: "Rand", "Circular", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--groen);
  color: var(--wit);
  box-shadow: var(--shadow);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 52px; display: block; transition: transform .1s ease; }
.brand-logo:hover img { transform: scale(1.04) rotate(-1deg); }
.topbar-actions {
  display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; align-items: center;
}

/* navigatietabs */
.nav-tabs { display: flex; gap: 2px; }
.nav-tab {
  font: inherit; font-weight: 800; font-size: 14px; text-decoration: none;
  color: var(--blauw); padding: 9px 18px; border-radius: 999px; white-space: nowrap;
}
.nav-tab:hover { background: rgba(255,255,255,.12); }
.nav-tab.active { background: var(--geel); color: var(--groen); }

/* ---------- knoppen ---------- */
.btn {
  font: inherit; font-weight: 800; cursor: pointer; text-decoration: none;
  border: none; border-radius: 999px; padding: 10px 20px; display: inline-block;
  transition: transform .08s ease;
}
.btn:hover { transform: scale(1.04); }
.btn-primary { background: var(--oranje); color: var(--wit); }
.btn-ghost { background: rgba(255,255,255,.14); color: var(--wit); }
.btn-small { padding: 6px 14px; font-size: 13px; }
.btn-groen { background: var(--groen); color: var(--wit); }
.btn-danger { background: none; color: var(--koraal); font-weight: 500; padding: 6px 0; }
.btn-danger:hover { text-decoration: underline; transform: none; }

/* ---------- layout ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 22px 24px 80px; }

.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.stat {
  background: var(--wit); border-radius: 18px; padding: 10px 18px;
  box-shadow: var(--shadow); display: flex; align-items: baseline; gap: 8px;
  cursor: pointer; border: 2px solid transparent;
}
.stat.active { border-color: var(--inkt); }
.stat b { font-family: "Flexa"; font-weight: normal; font-size: 26px; color: var(--groen); }
.stat span { font-size: 13px; }

/* ---------- filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 22px;
}
.filters input[type=search], .filters select {
  font: inherit; border: none; border-radius: 999px; padding: 11px 18px;
  background: var(--wit); box-shadow: var(--shadow); color: var(--inkt);
  outline-color: var(--oranje);
}
.filters input[type=search] { flex: 1 1 240px; min-width: 200px; }

/* dropdowns: eigen vet chevron-pijltje in de stijl van de iconen */
.filters select, .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2318120C" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5.5 9l6.5 6.5L18.5 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 15px;
  padding-right: 42px;
}
.year-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font: inherit; font-weight: 800; font-size: 13px; cursor: pointer;
  border: 2px solid var(--inkt); background: transparent; color: var(--inkt);
  border-radius: 999px; padding: 7px 14px;
}
.chip.active { background: var(--inkt); color: var(--geel); }

/* ---------- grid & kaarten ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.card {
  background: var(--wit); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; position: relative;
  transition: transform .1s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); }
.card-art {
  aspect-ratio: 1; width: 100%; object-fit: cover; display: block;
  background: var(--creme);
}
.card-art-placeholder {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-family: "Flexa"; font-weight: normal; font-size: 64px; color: rgba(24,18,12,.8);
  text-transform: uppercase;
}
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-name {
  font-family: "Flexa"; font-weight: normal; font-size: 24px; line-height: .95; margin: 0;
  text-transform: uppercase; color: var(--groen); word-break: break-word;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; }
.badge-year {
  background: var(--geel); border-radius: 6px; padding: 1px 7px;
  font-weight: 800; font-size: 11px;
}
.card-sub { font-size: 12px; color: rgba(24,18,12,.65); margin-top: auto; display: flex; justify-content: flex-end; gap: 6px; }
.pill {
  border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 800;
  display: inline-block;
}
.flag { font-size: 14px; }
.tier-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  vertical-align: -1px; margin-right: 1px;
}
.tier-pill {
  display: inline-block; margin-top: 7px; border-radius: 999px;
  padding: 3px 12px; font-size: 12px; font-weight: 800;
}

.empty { text-align: center; font-size: 18px; padding: 60px 0; }

.card-sparkline { display: inline-flex; align-items: center; vertical-align: -5px; }

/* ---------- vergelijkbare affiches ---------- */
.similar-list { display: flex; flex-direction: column; gap: 6px; }
.similar-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: var(--wit); border: none; border-radius: 12px; padding: 6px 10px;
  cursor: pointer; font: inherit; text-align: left;
}
.similar-item:hover { background: var(--blauw); }
.similar-name { font-weight: 800; font-size: 13px; flex-shrink: 0; }
.similar-meta { font-size: 11.5px; color: rgba(24,18,12,.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* statuskleuren */
.st-historiek    { background: var(--creme); color: var(--groen); }
.st-radar        { background: var(--geel); color: var(--inkt); }
.st-gecontacteerd{ background: var(--blauw-fel); color: var(--wit); }
.st-optie        { background: var(--paars); color: var(--inkt); }
.st-bevestigd    { background: var(--oranje); color: var(--wit); }
.st-afgewezen    { background: #d8d8d4; color: rgba(24,18,12,.6); }

/* ---------- drawer / fiche ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(12,34,93,.35); z-index: 40;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(560px, 100vw); background: var(--creme);
  overflow-y: auto; box-shadow: -18px 0 50px rgba(12,34,93,.25);
  border-radius: 30px 0 0 30px;
}
.fiche-head {
  position: relative; background: var(--groen); color: var(--wit);
  padding: 22px 26px 18px; display: flex; gap: 18px; align-items: center;
  border-radius: 30px 0 0 0;
}
.fiche-art-wrap { position: relative; flex-shrink: 0; }
.art-actions {
  position: absolute; top: 6px; right: 6px; display: flex; gap: 4px;
  opacity: 0; transition: opacity .12s ease;
}
.fiche-art-wrap:hover .art-actions { opacity: 1; }
.art-actions button {
  width: 26px; height: 26px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(24,18,12,.75); color: var(--wit);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.art-actions button svg { width: 13px; height: 13px; }
.art-actions button:hover { background: var(--koraal); }
.fiche-art, .fiche-art-placeholder {
  width: 110px; height: 110px; border-radius: 22px; object-fit: cover;
  background: var(--blauw); flex-shrink: 0;
}
.fiche-art-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: "Flexa"; font-weight: normal; font-size: 44px; color: var(--marine);
}
.fiche-title { flex: 1; min-width: 0; }
.fiche-title h2 {
  font-family: "Flexa"; font-weight: normal; font-size: 38px; line-height: .95; margin: 0 0 6px;
  text-transform: uppercase; color: var(--geel); word-break: break-word;
}
.fiche-title .genres { font-size: 12px; color: var(--blauw); }
.fiche-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--wit); font-size: 26px; cursor: pointer; line-height: 1;
}
.fiche-body { padding: 20px 26px 40px; }

.fiche-section { margin-bottom: 26px; }
.fiche-section h3 {
  font-family: "Flexa"; font-weight: normal; text-transform: uppercase; font-size: 20px;
  color: var(--oranje); margin: 0 0 10px; letter-spacing: .03em;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--groen); }
.field input, .field select, .field textarea {
  font: inherit; border: 2px solid rgba(24,18,12,.12); border-radius: 12px;
  padding: 9px 12px; background: var(--wit); color: var(--inkt); width: 100%;
}
.field textarea { min-height: 74px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--oranje);
}
.field-hint { font-size: 11px; color: rgba(24,18,12,.5); }

.inline-row { display: flex; gap: 8px; align-items: center; }
.inline-row input { flex: 1; }

.radio-row { display: flex; gap: 8px; }
.radio-opt {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wit); border: 2px solid rgba(24,18,12,.12); border-radius: 12px;
  padding: 9px 12px; cursor: pointer; font-weight: 800; font-size: 13px;
  transition: border-color .1s ease, background .1s ease;
}
.radio-opt:hover { border-color: var(--groen); }
.radio-opt:has(input:checked) { background: var(--groen); border-color: var(--groen); color: var(--wit); }
.radio-opt input { accent-color: var(--groen); margin: 0; width: auto; flex: 0 0 auto; }

.appearances { display: flex; flex-direction: column; gap: 6px; }
.appearance {
  display: flex; align-items: center; gap: 8px; background: var(--wit);
  border-radius: 12px; padding: 7px 12px; font-size: 13px;
}
.appearance b { font-family: "Flexa"; font-weight: normal; font-size: 17px; color: var(--groen); }
.appearance .note { flex: 1; color: rgba(24,18,12,.6); }
.appearance button { background: none; border: none; cursor: pointer; color: var(--koraal); font-size: 15px; }

.fees { display: flex; flex-direction: column; gap: 6px; }
.fee-row { display: flex; gap: 6px; align-items: center; }
.fee-row .fee-year { width: 90px; flex-shrink: 0; }
.fee-row .fee-amount { flex: 1; }
.fee-del {
  background: none; border: none; cursor: pointer; color: rgba(24,18,12,.35);
  font-size: 14px; padding: 4px;
}
.fee-del:hover { color: var(--koraal); }

.fiche-meta { font-size: 11px; color: rgba(24,18,12,.45); margin-top: 8px; }
.spotify-link { color: var(--groen); font-weight: 800; font-size: 13px; }

/* ---------- historiek ---------- */
.edition {
  background: var(--wit); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 26px; margin-bottom: 18px;
}
.edition-title {
  font-family: "Flexa"; font-weight: normal; font-size: 30px; text-transform: uppercase;
  color: var(--groen); margin: 0 0 12px;
}
.edition-list {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: 28px;
}
.edition-item { break-inside: avoid; padding: 3px 0; font-size: 14px; }
.edition-item a {
  color: var(--inkt); text-decoration: none; font-weight: 800;
}
.edition-item a:hover { color: var(--oranje); text-decoration: underline; }
.edition-note { font-size: 12px; color: rgba(24,18,12,.5); margin-left: 6px; }
@media (max-width: 860px) { .edition-list { columns: 2; } }
@media (max-width: 560px) { .edition-list { columns: 1; } }

/* nieuwe artiest mini-form */
.newform {
  background: var(--wit); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); margin-bottom: 22px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: end;
}
.newform .field { flex: 1 1 200px; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--inkt); color: var(--geel); font-weight: 800;
  border-radius: 999px; padding: 10px 24px; z-index: 90;
  box-shadow: var(--shadow);
}

/* ---------- bookingpuzzel ---------- */
.puzzel-main { max-width: none; padding: 22px 24px 80px; }
.drafts-wrap { display: flex; align-items: flex-start; gap: 18px; }
.drafts-collapsed {
  display: flex; flex-direction: column; gap: 10px;
  flex: 0 0 auto; width: 264px;
}
.drafts-collapsed:empty { display: none; }
.drafts {
  flex: 1 1 auto; min-width: 0;
  display: flex; gap: 18px; align-items: flex-start;
  overflow-x: auto; padding-bottom: 30px;
}
.pz-draft {
  flex: 0 0 400px; width: 400px;
  background: var(--wit); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 16px 22px;
}
.pz-head { display: flex; align-items: center; gap: 8px; }
.pz-drag {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 26px; height: 34px; padding: 0; border: none; border-radius: 8px;
  background: transparent; color: rgba(24,18,12,.32); cursor: grab;
}
.pz-drag svg { width: 20px; height: 20px; }
.pz-drag:hover { background: var(--creme); color: var(--groen); }
.pz-drag:active { cursor: grabbing; }
.pz-draft.col-dragging { opacity: .45; }
.pz-draft.col-drop-before { box-shadow: var(--shadow), inset 5px 0 0 -1px var(--oranje); }
.pz-draft.col-drop-after { box-shadow: var(--shadow), inset -5px 0 0 -1px var(--oranje); }
/* ingeklapte kolommen staan onder elkaar → indicator boven/onder i.p.v. links/rechts */
.pz-draft.collapsed.col-drop-before { box-shadow: var(--shadow), inset 0 5px 0 -1px var(--oranje); }
.pz-draft.collapsed.col-drop-after { box-shadow: var(--shadow), inset 0 -5px 0 -1px var(--oranje); }

/* ---- ingeklapte draft: enkel naam + greep + uitklap-icoon ---- */
.pz-draft.collapsed { flex: 0 0 auto; width: 100%; padding: 12px 12px; }
.pz-draft.collapsed .pz-head { gap: 6px; }
.pz-draft.collapsed .pz-name { font-size: 20px; pointer-events: none; }
.pz-draft.collapsed .pz-year,
.pz-draft.collapsed .pz-head-actions [data-act="fees"],
.pz-draft.collapsed .pz-head-actions [data-act="dup"],
.pz-draft.collapsed .pz-head-actions [data-act="del"],
.pz-draft.collapsed .pz-budget-row,
.pz-draft.collapsed .pz-budget-bar,
.pz-draft.collapsed .pz-grandtotal,
.pz-draft.collapsed .pz-matrix,
.pz-draft.collapsed .pz-daytabs,
.pz-draft.collapsed .pz-day,
.pz-draft.collapsed .pz-parking,
.pz-draft.collapsed .pz-rafview { display: none; }
.pz-name {
  flex: 1; min-width: 0; font-family: "Flexa"; font-weight: normal; font-size: 26px;
  text-transform: uppercase; color: var(--groen);
  border: 2px solid transparent; border-radius: 10px; padding: 2px 8px;
  background: transparent;
}
.pz-name:hover { border-color: rgba(24,18,12,.12); }
.pz-name:focus { outline: none; border-color: var(--oranje); background: var(--wit); }
.pz-year {
  width: 74px; flex-shrink: 0; font: inherit; font-weight: 800; font-size: 13px;
  border: 2px solid rgba(24,18,12,.12); border-radius: 10px; padding: 6px 8px;
  text-align: center; background: var(--wit); color: var(--groen);
}
.pz-year:focus { outline: none; border-color: var(--oranje); }
.pz-head-actions { display: flex; gap: 4px; }
button.slot-name {
  background: none; border: none; padding: 0; margin: 0; font: inherit;
  text-align: left; color: inherit; cursor: pointer;
}
button.slot-name:hover { color: var(--oranje); text-decoration: underline; }
.pz-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: var(--creme); color: var(--inkt);
  border: none; cursor: pointer; border-radius: 10px; padding: 0;
}
.pz-icon svg { width: 17px; height: 17px; }
.pz-icon:hover { background: var(--geel); }
.pz-icon[data-act="del"]:hover { background: var(--koraal); color: var(--wit); }
.pz-budget-row {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.pz-budget-row label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; color: var(--groen); flex-shrink: 0;
}
.pz-budget {
  flex: 1; font: inherit; font-weight: 800; font-size: 13px; text-align: right;
  border: 2px solid rgba(24,18,12,.12); border-radius: 10px; padding: 6px 10px;
  background: var(--wit); color: var(--inkt);
}
.pz-budget:focus { outline: none; border-color: var(--oranje); }
.pz-budget-bar { margin: -4px 0 10px; }
.pz-budget-track {
  height: 8px; border-radius: 999px; background: rgba(24,18,12,.08); overflow: hidden;
}
.pz-budget-fill {
  height: 100%; border-radius: 999px;
  transition: width .25s ease, background-color .25s ease;
}
.pz-budget-track.over { overflow: visible; }
.pz-budget-fill.over {
  width: 100%;
  animation: pz-budget-pulse 1.1s ease-in-out infinite;
}
@keyframes pz-budget-pulse {
  0%, 100% { background: #ff5d5d; box-shadow: 0 0 0 0 rgba(255,45,45,0); }
  50%      { background: #e01212; box-shadow: 0 0 10px 2px rgba(255,45,45,.75); }
}
@media (prefers-reduced-motion: reduce) {
  .pz-budget-fill.over { animation: none; background: var(--koraal); }
}
.pz-budget-label { font-size: 11px; margin-top: 4px; color: rgba(24,18,12,.55); }
.pz-budget-label.over { color: var(--koraal); font-weight: 800; }
.pz-budget-label.warn { color: #b8860b; font-weight: 800; }

.pz-grandtotal {
  background: var(--groen); color: var(--wit); border-radius: 14px;
  padding: 10px 16px; margin: 10px 0; display: flex; justify-content: space-between;
  align-items: baseline; font-size: 14px;
}
.pz-grandtotal b { font-family: "Flexa"; font-weight: normal; font-size: 26px; color: var(--geel); }
.pz-matrix {
  width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 14px;
}
.pz-matrix th, .pz-matrix td {
  text-align: right; padding: 3px 8px; border-bottom: 1px solid rgba(24,18,12,.08);
}
.pz-matrix td:first-child { text-align: left; font-weight: 800; color: var(--groen); }
.pz-matrix th { color: rgba(24,18,12,.5); font-weight: 800; }

.pz-day { margin-top: 14px; }
.pz-day-title {
  font-family: "Flexa"; font-weight: normal; text-transform: uppercase; font-size: 22px;
  color: var(--oranje); margin: 0 0 8px; display: flex; justify-content: space-between;
  align-items: baseline;
}
.pz-day-total { font-size: 15px; color: var(--inkt); font-family: "Rand"; font-weight: 800; }
.pz-stage {
  background: var(--creme); border-radius: 16px; padding: 10px 10px 12px;
  margin-bottom: 10px;
}
.pz-stage-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.pz-stage-name { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--marine); flex: 1; }
.pz-stage-total { font-size: 12px; color: rgba(24,18,12,.55); }
.pz-add {
  background: var(--oranje); color: var(--wit); border: none; cursor: pointer;
  border-radius: 999px; width: 24px; height: 24px; font-size: 16px; line-height: 1;
  font-weight: 800;
}
.pz-add:hover { transform: scale(1.1); }
.pz-slots { display: flex; flex-direction: column; gap: 6px; min-height: 30px; border-radius: 10px; }
.pz-slots.drop-hover { outline: 2px dashed var(--oranje); outline-offset: 2px; }
.pz-empty-slot {
  font-size: 12px; color: rgba(24,18,12,.4); text-align: center; padding: 6px;
  border: 1.5px dashed rgba(24,18,12,.15); border-radius: 10px;
}
.slot {
  display: flex; align-items: center; gap: 8px;
  background: var(--wit); border-radius: 12px; padding: 6px 8px;
  cursor: grab; box-shadow: 0 2px 8px rgba(12,34,93,.08);
  border-top: 3px solid transparent; border-bottom: 3px solid transparent;
}
.slot:active { cursor: grabbing; }
.slot.dragging { opacity: .35; }
.slot.drop-above { border-top-color: var(--oranje); }
.slot.drop-below { border-bottom-color: var(--oranje); }
.slot.has-alt { flex-direction: column; align-items: stretch; gap: 4px; }
.slot-main { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.slot-alt-add {
  background: var(--creme); border: none; cursor: pointer; color: var(--groen);
  border-radius: 8px; width: 22px; height: 22px; font-size: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
}
.slot:hover .slot-alt-add { visibility: visible; }
.slot-alt-add:hover { background: var(--geel); }
.slot-alt-row {
  display: flex; align-items: center; gap: 4px; padding-left: 24px;
}
.slot-alt-chip {
  font: inherit; font-size: 11px; font-weight: 800; cursor: pointer;
  border: 1.5px solid rgba(24,18,12,.15); background: var(--creme); color: rgba(24,18,12,.55);
  border-radius: 999px; padding: 3px 10px; max-width: 42%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slot-alt-chip.active { background: var(--groen); border-color: var(--groen); color: var(--wit); }
.slot-alt-del {
  background: none; border: none; cursor: pointer; color: rgba(24,18,12,.3);
  font-size: 11px; padding: 2px; margin-left: auto;
}
.slot-alt-del:hover { color: var(--koraal); }
.slot-nr {
  font-family: "Flexa"; font-weight: normal; font-size: 15px; color: rgba(24,18,12,.35); width: 16px;
  text-align: right; flex-shrink: 0;
}
.slot-art {
  width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0;
}
.slot-art-ph {
  display: flex; align-items: center; justify-content: center;
  font-family: "Flexa"; font-weight: normal; font-size: 15px;
}
.slot-name {
  flex: 1; min-width: 0; font-weight: 800; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slot-fee {
  width: 76px; font: inherit; font-size: 12px; border: 1.5px solid rgba(24,18,12,.12);
  border-radius: 8px; padding: 4px 6px; text-align: right;
}
.slot-fee:focus { outline: none; border-color: var(--oranje); }
.slot-del {
  background: none; border: none; cursor: pointer; color: rgba(24,18,12,.35);
  font-size: 13px; padding: 2px;
}
.slot-del:hover { color: var(--koraal); }

/* dag-tabs in draft-kaart */
.pz-daytabs { display: flex; gap: 6px; margin-top: 14px; }
.pz-daytab {
  flex: 1; font-family: "Flexa"; font-weight: normal; font-size: 19px; text-transform: uppercase;
  background: var(--creme); color: var(--inkt); border: none; cursor: pointer;
  border-radius: 14px 14px 0 0; padding: 9px 6px 7px;
  display: flex; justify-content: center; gap: 10px; align-items: baseline;
}
.pz-daytab .pz-day-total { font-family: "Rand"; font-size: 12px; font-weight: 800; color: rgba(24,18,12,.55); }
.pz-daytab.active { background: var(--oranje); color: var(--wit); }
.pz-daytab.active .pz-day-total { color: rgba(255,255,255,.85); }
.pz-day { margin-top: 0; padding-top: 10px; }
.pz-day.day-hidden { display: none; }

/* prijzen verbergen */
body.no-prices .slot-fee, body.no-prices .picker-fee { display: none; }

/* instellingen */
.settings-card {
  background: var(--wit); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 26px; margin-bottom: 20px;
}
.settings-title {
  font-family: "Flexa"; font-weight: normal; text-transform: uppercase; font-size: 22px;
  color: var(--oranje); margin: 0 0 8px;
}
.setting-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid rgba(24,18,12,.08);
}
.setting-row:last-child { border-bottom: none; }
.setting-row p { margin: 4px 0 0; font-size: 13px; color: rgba(24,18,12,.6); }
.switch { position: relative; width: 56px; height: 32px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; inset: 0; cursor: pointer; border-radius: 999px;
  background: #d8d8d4; transition: background .15s;
}
.switch-slider::before {
  content: ""; position: absolute; width: 24px; height: 24px; left: 4px; top: 4px;
  border-radius: 50%; background: var(--wit); transition: transform .15s;
  box-shadow: 0 2px 6px rgba(12,34,93,.25);
}
.switch input:checked + .switch-slider { background: var(--groen); }
.switch input:checked + .switch-slider::before { transform: translateX(24px); }

/* festival-tags op fiche */
.tags {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  background: var(--wit); border: 2px solid rgba(24,18,12,.12);
  border-radius: 12px; padding: 8px;
}
.tags:focus-within { border-color: var(--oranje); }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--blauw); color: var(--marine); border-radius: 999px;
  padding: 4px 6px 4px 12px; font-size: 12.5px; font-weight: 800;
}
.tag-del {
  background: rgba(12,34,93,.12); border: none; cursor: pointer;
  color: var(--marine); font-size: 10px; border-radius: 50%;
  width: 17px; height: 17px; line-height: 1; padding: 0;
}
.tag-del:hover { background: var(--koraal); color: var(--wit); }
.tags input {
  flex: 1; min-width: 130px; border: none; font: inherit; padding: 4px 6px;
  background: transparent;
}
.tags input:focus { outline: none; }
.gig-clickable { cursor: pointer; }
.gig-clickable:hover { outline: 2px solid var(--blauw-fel); outline-offset: -1px; }

/* speeldata op fiche */
.gigs { display: flex; flex-direction: column; gap: 5px; }
.gig {
  display: flex; gap: 10px; background: var(--wit); border-radius: 10px;
  padding: 6px 10px; font-size: 12.5px; align-items: baseline;
}
.gig b { font-variant-numeric: tabular-nums; color: var(--groen); white-space: nowrap; }
.gig .gig-event { font-weight: 800; }
.gig .gig-venue { color: rgba(24,18,12,.55); margin-left: auto; text-align: right; }

/* Raf view-knop */
.pz-rafview {
  display: block; text-align: center; margin-top: 14px;
  background: var(--geel); color: var(--inkt); text-decoration: none;
  font-family: "Marker Felt", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 17px; padding: 9px 0; border-radius: 4px;
  box-shadow: 2px 4px 8px rgba(12,34,93,.25);
  transform: rotate(-.6deg); transition: transform .08s ease;
}
.pz-rafview:hover { transform: rotate(-.6deg) scale(1.03); }

/* nog te plaatsen (parking) */
.pz-parking {
  margin-top: 16px;
  background: rgba(177,228,255,.5);
  border: 2px dashed rgba(12,34,93,.25);
}
.pz-parking .pz-stage-name { color: var(--groen); }

/* picker — bovenkant verankerd zodat het venster niet verspringt bij het typen */
.picker {
  position: fixed; top: 10vh; left: 50%; transform: translateX(-50%);
  width: min(480px, 92vw); max-height: 80vh; z-index: 60;
  background: var(--wit); border-radius: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; padding: 18px;
}
.picker-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 15px; padding-right: 30px; position: relative;
}
.picker-head .fiche-close { top: -4px; right: -4px; }
.picker input[type=search] {
  font: inherit; border: 2px solid rgba(24,18,12,.12); border-radius: 999px;
  padding: 10px 16px; margin-bottom: 10px;
}
.picker input[type=search]:focus { outline: none; border-color: var(--oranje); }
.picker-list { overflow-y: auto; flex: 1; }
.picker-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px;
  border-radius: 12px; cursor: pointer;
}
.picker-item:hover { background: var(--blauw); }
.picker-hint { font-size: 11px; color: rgba(24,18,12,.45); }
.picker-fee { font-size: 12px; font-weight: 800; color: var(--groen); }
.picker-foot { font-size: 11px; color: rgba(24,18,12,.45); margin-top: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  main { padding: 20px 18px 70px; }
  .edition { padding: 20px 20px; }
}

@media (max-width: 720px) {
  /* topbar: logo + acties op één rij, tabs op een tweede, horizontaal scrollbaar */
  .topbar-inner { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px; }
  .brand-logo img { height: 38px; }
  .topbar-actions { margin-left: auto; }
  .nav-tabs {
    order: 3; width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-tabs::-webkit-scrollbar { display: none; }
  .nav-tab { padding: 8px 14px; font-size: 13px; }

  main { padding: 16px 14px 60px; }
  .field-grid { grid-template-columns: 1fr; }

  /* ingeklapte drafts boven de brede rij i.p.v. ernaast */
  .drafts-wrap { flex-direction: column; }
  .drafts-collapsed { width: 100%; }

  /* database: op telefoon 2 kolommen i.p.v. 1 */
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .card-name { font-size: 20px; }
  .stat { padding: 8px 14px; }
  .stat b { font-size: 22px; }

  /* puzzel: draft-kaart schaalt mee met de viewport */
  .puzzel-main { padding: 16px 14px 60px; }
  .pz-draft { flex: 0 0 min(400px, 86vw); width: min(400px, 86vw); }
}

@media (max-width: 460px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .card-name { font-size: 18px; }
  .btn { padding: 9px 15px; }
  .btn-small { padding: 6px 12px; }
  .fiche-head { gap: 12px; padding: 18px 18px 16px; }
  .fiche-art, .fiche-art-placeholder { width: 84px; height: 84px; }
  .fiche-title h2 { font-size: 30px; }
  .fiche-body { padding: 18px 18px 40px; }
}


/* ---------- login-overlay ---------- */
#gld-login {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--groen, #1C5E48);
  display: flex; align-items: center; justify-content: center;
}
#gld-login-form {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: min(340px, 84vw); text-align: center;
}
#gld-login-form img { width: min(300px, 70vw); }
#gld-login-form h1 {
  font-family: "Flexa"; font-weight: normal; text-transform: uppercase;
  color: var(--blauw, #B1E4FF); font-size: clamp(28px, 6vw, 44px);
  line-height: 1; margin: 4px 0 12px;
}
#gld-login-form input {
  width: 100%; padding: 14px 18px; border: none; border-radius: var(--radius, 26px);
  font-size: 17px; font-family: "Rand", system-ui, sans-serif; text-align: center;
}
#gld-login-form button {
  width: 100%; padding: 14px 18px; border: none; border-radius: var(--radius, 26px);
  background: var(--blauw, #B1E4FF); color: var(--groen, #1C5E48);
  font-family: "Flexa"; font-weight: normal; text-transform: uppercase;
  font-size: 22px; cursor: pointer;
}
#gld-login-form button:hover { filter: brightness(1.05); }
#gld-login-err {
  color: var(--oranje, #FF460D); background: #fff; font-weight: 800;
  padding: 8px 14px; border-radius: 14px; margin: 0;
}
#gld-login-disclaimer {
  position: fixed; left: 0; right: 0; bottom: 18px;
  text-align: center; color: var(--blauw, #B1E4FF); opacity: .55;
  font-size: 11px; font-weight: 500; line-height: 1.5;
  padding: 0 24px; margin: 0;
}
#gld-login-disclaimer a { color: inherit; text-decoration: underline; }
