/* =========================================================
   ATLAS — STAND BUILDER (v2)
   Alles is gescoped op .sb-root zodat de rest van ATLAS
   niet wordt beïnvloed.
   ========================================================= */

.sb-root {
  --sb-navy: #17243d;
  --sb-ink: #18253a;
  --sb-muted: #72809a;
  --sb-line: #e1e7f0;
  --sb-line-soft: #eef2f7;
  --sb-bg: #f5f7fb;
  --sb-blue: var(--blue, #165cf5);
  --sb-blue-soft: #eaf1ff;
  --sb-green: #1f9d48;
  --sb-orange: #d98a00;
  --sb-red: #d93636;
  --sb-radius: 12px;
  --sb-studio-h: max(640px, calc(100vh - 250px));
  color: var(--sb-ink);
}

.sb-root *,
.sb-root *::before,
.sb-root *::after { box-sizing: border-box; }

/* ---------- header ---------- */

.sb-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.sb-header h2 {
  margin: 0 0 6px;
  color: var(--sb-navy);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.sb-header p {
  margin: 0;
  color: var(--sb-muted);
  font-size: 14px;
}

.sb-header-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.sb-project {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #536783;
}

.sb-project select { min-width: 260px; }

.sb-save-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--sb-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--sb-muted);
  white-space: nowrap;
}

.sb-save-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8c2d1;
}

.sb-save-state[data-state="dirty"]::before { background: var(--sb-orange); }
.sb-save-state[data-state="saved"]::before { background: var(--sb-green); }
.sb-save-state[data-state="busy"]::before { background: var(--sb-blue); animation: sb-pulse 1s infinite; }
.sb-save-state[data-state="error"]::before { background: var(--sb-red); }

@keyframes sb-pulse { 50% { opacity: .3; } }

/* ---------- form controls ---------- */

.sb-root select,
.sb-root input[type="number"],
.sb-root input[type="text"],
.sb-root input[type="search"] {
  width: 100%;
  height: 38px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  color: var(--sb-ink);
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}

.sb-root select:focus,
.sb-root input:focus {
  border-color: var(--sb-blue);
  box-shadow: 0 0 0 3px rgba(22, 92, 245, .12);
}

.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d9e1ec;
  border-radius: 9px;
  background: #fff;
  color: var(--sb-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s;
}

.sb-btn:hover { background: #f4f7fb; border-color: #c9d4e3; }
.sb-btn:disabled { opacity: .45; cursor: not-allowed; }

.sb-btn-primary {
  background: var(--sb-blue);
  border-color: var(--sb-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 92, 245, .18);
}

.sb-btn-primary:hover { background: var(--sb-blue); filter: brightness(.95); border-color: var(--sb-blue); }

.sb-btn-danger { color: var(--sb-red); }
.sb-btn-danger:hover { background: #fff3f3; border-color: #f2c4c4; }

.sb-btn-sm { height: 32px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.sb-btn-block { width: 100%; }

.sb-btn svg,
.sb-tool svg { width: 16px; height: 16px; flex: none; }

/* ---------- notice ---------- */

.sb-notice {
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  background: var(--sb-blue-soft);
  color: #1a3f8f;
  border: 1px solid #d3e1ff;
}

.sb-notice[data-tone="error"] { background: #fff3f3; color: #9b1c1c; border-color: #f4caca; }
.sb-notice[data-tone="ok"] { background: #eefaf2; color: #17672f; border-color: #c9ecd5; }

/* ---------- studio layout ---------- */

.sb-studio {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr) 300px;
  gap: 14px;
  height: var(--sb-studio-h);
  margin-bottom: 18px;
}

.sb-left,
.sb-right,
.sb-stage {
  min-height: 0;
  background: #fff;
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  box-shadow: 0 5px 18px rgba(28, 47, 79, .045);
}

.sb-left,
.sb-right {
  overflow-y: auto;
  scrollbar-width: thin;
}

/* ---------- side panel sections ---------- */

.sb-section {
  padding: 16px 16px 18px;
  border-bottom: 1px solid var(--sb-line-soft);
}

.sb-section:last-child { border-bottom: 0; }

.sb-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sb-muted);
}

.sb-section-title small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sb-muted);
}

.sb-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #536783;
}

.sb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sb-grid-2 + .sb-grid-2,
.sb-grid-2 + .sb-field,
.sb-field + .sb-grid-2,
.sb-field + .sb-field { margin-top: 10px; }

.sb-input-unit { position: relative; }
.sb-input-unit input { padding-right: 34px; }
.sb-input-unit::after {
  content: attr(data-unit);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #9aa6b8;
  pointer-events: none;
}

.sb-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.sb-chip {
  height: 26px;
  padding: 0 9px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #46566f;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.sb-chip:hover { border-color: var(--sb-blue); color: var(--sb-blue); }
.sb-chip.active { background: var(--sb-blue-soft); border-color: #bcd2ff; color: var(--sb-blue); }

.sb-area-readout {
  margin-top: 10px;
  font-size: 12px;
  color: var(--sb-muted);
}

.sb-area-readout b { color: var(--sb-navy); }

/* stand type picker */

.sb-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.sb-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 4px 7px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  color: #46566f;
  cursor: pointer;
  line-height: 1.15;
  text-align: center;
}

.sb-type svg { width: 40px; height: 40px; }
.sb-type small { font-weight: 500; color: #8794a8; font-size: 9.5px; }
.sb-type:hover { border-color: #b9c8de; }
.sb-type.active { border-color: var(--sb-blue); background: var(--sb-blue-soft); color: var(--sb-blue); box-shadow: 0 0 0 1px var(--sb-blue) inset; }

/* segmented */

.sb-seg {
  display: inline-flex;
  width: 100%;
  padding: 3px;
  border-radius: 9px;
  background: #eef2f7;
  gap: 3px;
}

.sb-seg button {
  flex: 1;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #536783;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sb-seg button.active {
  background: #fff;
  color: var(--sb-navy);
  box-shadow: 0 1px 3px rgba(23, 36, 61, .12);
}

.sb-regen {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-regen small {
  font-size: 11px;
  color: var(--sb-muted);
  line-height: 1.4;
}

.sb-regen.pending .sb-btn {
  border-color: var(--sb-orange);
  color: #8a5800;
  background: #fff8e8;
}

/* ---------- library ---------- */

.sb-lib-tabs { margin-bottom: 12px; }

.sb-lib-search { margin-bottom: 10px; }

.sb-lib-list {
  display: grid;
  gap: 7px;
}

.sb-lib-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  background: #fff;
  cursor: grab;
  user-select: none;
  transition: border-color .12s, box-shadow .12s;
  text-align: left;
  font: inherit;
  width: 100%;
}

.sb-lib-item:hover {
  border-color: #b9cbe6;
  box-shadow: 0 3px 10px rgba(23, 36, 61, .06);
}

.sb-lib-item:active { cursor: grabbing; }

.sb-lib-item.active { border-color: var(--sb-blue); background: var(--sb-blue-soft); }

.sb-lib-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f4f9;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #8d9ab0;
}

.sb-lib-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sb-lib-thumb svg { width: 26px; height: 26px; }

.sb-lib-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sb-navy);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-lib-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--sb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-lib-add {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #f1f4f9;
  color: #536783;
  font-weight: 800;
  font-size: 15px;
}

.sb-lib-item:hover .sb-lib-add { background: var(--sb-blue); color: #fff; }

.sb-lib-hint {
  margin-top: 10px;
  font-size: 11px;
  color: var(--sb-muted);
  line-height: 1.45;
}

.sb-empty {
  padding: 16px 10px;
  border: 1px dashed #d6dfeb;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--sb-muted);
  line-height: 1.45;
}

/* ---------- stage ---------- */

.sb-stage {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sb-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--sb-line);
  background: #fff;
  flex-wrap: nowrap;
  gap: 2px;
}

.sb-toolbar .sb-seg { flex: none; }

.sb-toolbar .sb-seg { width: auto; }
.sb-toolbar .sb-seg button { padding: 0 12px; flex: none; }

.sb-tb-sep {
  width: 1px;
  height: 22px;
  background: var(--sb-line);
  margin: 0 4px;
}

.sb-tool {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #46566f;
  cursor: pointer;
}

.sb-tool:hover { background: #f1f4f9; color: var(--sb-navy); }
.sb-tool.active { background: var(--sb-blue-soft); color: var(--sb-blue); }
.sb-tool:disabled { opacity: .35; cursor: default; background: transparent; }

.sb-tool[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--sb-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 30;
  pointer-events: none;
}

.sb-zoom-label {
  min-width: 46px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #46566f;
  font-variant-numeric: tabular-nums;
}

.sb-tb-spacer { flex: 1; }

.sb-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--sb-bg);
}

.sb-viewport[data-view="split"] { grid-template-columns: 1fr 1fr; }
.sb-viewport[data-view="2d"] .sb-pane-3d,
.sb-viewport[data-view="3d"] .sb-pane-2d { display: none; }
.sb-viewport[data-view="split"] .sb-pane-3d { border-left: 1px solid var(--sb-line); }

.sb-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.sb-pane canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.sb-pane-2d canvas { cursor: default; }
.sb-pane-2d canvas.is-panning { cursor: grabbing; }
.sb-pane-2d canvas.is-hover { cursor: move; }
.sb-pane-2d.drop-target::after {
  content: "Loslaten om te plaatsen";
  position: absolute;
  inset: 10px;
  border: 2px dashed var(--sb-blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--sb-blue);
  font-weight: 700;
  font-size: 13px;
  background: rgba(22, 92, 245, .04);
  pointer-events: none;
}

.sb-pane-3d { background: linear-gradient(#eef2f8, #dfe5ee); }

.sb-3d-cams {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--sb-line);
  box-shadow: 0 4px 14px rgba(23, 36, 61, .08);
}

.sb-3d-cams button {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: #46566f;
  cursor: pointer;
}

.sb-3d-cams button:hover { background: #f1f4f9; color: var(--sb-navy); }

.sb-3d-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--sb-muted);
}

.sb-root [hidden] { display: none !important; }

.sb-pane-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--sb-line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--sb-muted);
  pointer-events: none;
}

.sb-statusbar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 30px;
  padding: 0 12px;
  border-top: 1px solid var(--sb-line);
  font-size: 11.5px;
  color: var(--sb-muted);
  background: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
}

.sb-statusbar b { color: var(--sb-navy); font-weight: 700; }
.sb-statusbar .sb-sb-right { margin-left: auto; }

/* ---------- inspector ---------- */

.sb-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sb-kpi {
  padding: 10px 11px;
  border-radius: 10px;
  background: #f6f8fc;
  border: 1px solid #edf1f7;
}

.sb-kpi span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sb-muted);
}

.sb-kpi strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--sb-navy);
  font-variant-numeric: tabular-nums;
}

.sb-kpi small { font-size: 11px; color: var(--sb-muted); font-weight: 600; }

.sb-meter {
  margin-top: 10px;
  height: 6px;
  border-radius: 99px;
  background: #e9eef5;
  overflow: hidden;
}

.sb-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sb-blue);
}

.sb-meter-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--sb-muted);
}

.sb-wall-list { display: grid; gap: 8px; }

.sb-wall {
  padding: 10px 11px;
  border: 1px solid #e6ecf4;
  border-radius: 10px;
}

.sb-wall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.sb-wall-head b { font-size: 12.5px; color: var(--sb-navy); }
.sb-wall-head span { font-size: 11px; color: var(--sb-muted); font-variant-numeric: tabular-nums; }

.sb-wall select { height: 32px; font-size: 12px; }

.sb-checks { display: grid; gap: 6px; }

.sb-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.4;
  background: #f6f8fc;
  color: #3d4c63;
}

.sb-check i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #93a1b5;
}

.sb-check.ok i { background: var(--sb-green); }
.sb-check.warn { background: #fff8e9; }
.sb-check.warn i { background: var(--sb-orange); }
.sb-check.error { background: #fff3f3; }
.sb-check.error i { background: var(--sb-red); }
.sb-check.info i { background: var(--sb-blue); }

.sb-insp-head {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.sb-insp-head .sb-lib-thumb { width: 52px; height: 52px; }

.sb-insp-head b {
  display: block;
  font-size: 14px;
  color: var(--sb-navy);
  line-height: 1.25;
}

.sb-insp-head span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--sb-muted); }

.sb-insp-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.sb-insp-actions .sb-btn { flex: 1; }

.sb-rot-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.sb-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 12px;
}

.sb-dl dt { color: var(--sb-muted); }
.sb-dl dd { margin: 0; text-align: right; font-weight: 600; color: var(--sb-navy); font-variant-numeric: tabular-nums; }

.sb-kbd-list {
  display: grid;
  gap: 5px;
  font-size: 11.5px;
  color: var(--sb-muted);
}

.sb-kbd-list div { display: flex; justify-content: space-between; gap: 10px; }

.sb-kbd {
  display: inline-block;
  min-width: 20px;
  padding: 1px 5px;
  border: 1px solid #d7dfea;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fff;
  font-size: 10.5px;
  font-weight: 700;
  color: #46566f;
  text-align: center;
}

/* ---------- bottom panel ---------- */

.sb-bottom {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.sb-bottom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--sb-line);
  flex-wrap: wrap;
}

.sb-bottom-head .sb-seg { width: auto; }
.sb-bottom-head .sb-seg button { padding: 0 14px; flex: none; }

.sb-bottom-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--sb-navy);
  letter-spacing: -.02em;
}

.sb-table-wrap { overflow-x: auto; }

.sb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.sb-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-muted);
  background: #f8fafd;
  border-bottom: 1px solid var(--sb-line);
  white-space: nowrap;
}

.sb-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--sb-line-soft);
  color: #33435e;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.sb-table tr:last-child td { border-bottom: 0; }
.sb-table td b { color: var(--sb-navy); }
.sb-table td.num, .sb-table th.num { text-align: right; }
.sb-table tfoot td { font-weight: 700; color: var(--sb-navy); background: #f8fafd; border-top: 1px solid var(--sb-line); }

.sb-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: #eef2f7;
  color: #536783;
  white-space: nowrap;
}

.sb-pill.ok { background: #e8f7ee; color: #17723a; }
.sb-pill.warn { background: #fff4dc; color: #8a5800; }
.sb-pill.blue { background: var(--sb-blue-soft); color: var(--sb-blue); }

.sb-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: -1px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.sb-bottom-body { padding: 0; }
.sb-bottom-body .sb-empty { margin: 18px; }

/* ---------- responsive ---------- */

@media (max-width: 1500px) {
  .sb-studio { grid-template-columns: 262px minmax(0, 1fr) 272px; }
}

@media (max-width: 1280px) {
  .sb-studio {
    grid-template-columns: 262px minmax(0, 1fr);
    grid-template-rows: var(--sb-studio-h) auto;
    height: auto;
  }
  .sb-right { grid-column: 1 / -1; max-height: none; }
  .sb-left { max-height: var(--sb-studio-h); }
}

@media (max-width: 900px) {
  .sb-studio { grid-template-columns: 1fr; grid-template-rows: auto 560px auto; }
  .sb-left { max-height: 420px; }
  .sb-viewport[data-view="split"] { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .sb-project select { min-width: 0; }
}

/* ---------- framebibliotheek ---------- */

.sb-lib-group {
  display: flex;
  justify-content: space-between;
  margin: 8px 2px 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-muted);
}

.sb-lib-group:first-child { margin-top: 0; }
.sb-lib-group span { font-weight: 700; letter-spacing: 0; color: #a3aebf; }
.sb-lib-art { font-size: 10.5px; color: #9aa6b8; }

.sb-vis-list { display: grid; gap: 6px; }

.sb-vis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--sb-blue-soft);
  font-size: 12px;
  color: #3d4c63;
}

.sb-vis b { color: var(--sb-blue); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* velden naast elkaar altijd op één lijn */
.sb-grid-2 > .sb-field { margin-top: 0 !important; }
.sb-grid-2 { align-items: end; }
