[x-cloak] { display: none !important; }

:root {
  --cult-black: #000;
  --cult-grey-line: #e5e5e5;
  --cult-grey-soft: #f5f5f5;
  --cult-grey-text: #666;
  --cult-grey-mute: #888;
}

html, body {
  font-family: Helvetica, Arial, system-ui, sans-serif;
}

.tabular-nums { font-variant-numeric: tabular-nums; }

.row-actions { visibility: hidden; }
.row:hover .row-actions,
.row:focus-within .row-actions { visibility: visible; }

/* Inline veld zonder doos: dunne onderlijn, zwarte focus */
.field-line {
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 6px 0;
  width: 100%;
}
.field-line:focus { outline: none; border-bottom-color: #000; }

/* Cellen in items-tabel: hover zachte fill, focus zwarte outline */
.cell-input {
  border: none;
  background: transparent;
  padding: 6px 8px;
  width: 100%;
}
.cell-input:hover { background: #fafafa; }
.cell-input:focus { background: #fff; outline: 1px solid #000; outline-offset: -1px; }

.label-uppercase {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cult-grey-mute);
  font-weight: 600;
}

.section-handle,
.item-handle {
  opacity: 0.3;
  transition: opacity 120ms ease;
}

.row:hover .section-handle,
.row:hover .item-handle {
  opacity: 1;
}

.section-handle:active,
.item-handle:active,
.sortable-chosen .section-handle,
.sortable-chosen .item-handle {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.4;
  background: rgb(245 245 245);
}

.sortable-chosen {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Status-badges. Gedempte tinten, allemaal ≥ 4.5:1 contrast (WCAG AA). */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid currentColor;
  white-space: nowrap;
  line-height: 1.4;
}
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-concept     { background: #ededed; color: #404040; border-color: #999; }
.status-verstuurd   { background: #dbeafe; color: #1e3a8a; border-color: #6f8fcf; }
.status-goedgekeurd { background: #dcfce7; color: #14532d; border-color: #5e9d76; }
.status-archive     { background: #fee2e2; color: #7f1d1d; border-color: #c97373; }

/* Selectie-stijl voor filterchips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  user-select: none;
}
.chip:hover { border-color: #000; color: #000; }
.chip.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Toast: drop-in van bovenaf, slide-out naar rechts */
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(120%); }
}
.toast {
  animation: toast-in 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.toast.is-leaving {
  animation: toast-out 500ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
