/* ── Bo-settings ─────────────────────────────────────────────────────────── */
.bs-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px; margin-bottom:16px; box-shadow:var(--shadow-sm); }
.bs-section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.bs-section-title { font-size:13.5px; font-weight:600; }
.bs-tile-list { display:flex; flex-wrap:wrap; gap:8px; min-height:40px; }
.bs-tile { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; background:var(--surface2); border:1px solid var(--border); border-radius:8px; cursor:grab; font-size:13px; user-select:none; transition:all .15s; }
.bs-tile:hover { box-shadow:var(--shadow-sm); }
.bs-tile.dragging { opacity:.4; }
.bs-tile-del { border:none; background:none; color:var(--text3); cursor:pointer; font-size:14px; padding:0; line-height:1; margin-left:2px; }
.bs-tile-del:hover { color:var(--red); }
.bs-tile-drag { color:var(--text3); font-size:12px; cursor:grab; }
.bs-add-row { display:flex; gap:7px; margin-top:10px; }
.bs-add-input { flex:1; padding:7px 11px; border:1px solid var(--border2); border-radius:8px; font-size:13px; background:var(--surface); color:var(--text); outline:none; }
.bs-add-input:focus { border-color:var(--blue); }

/* ── Bo-components ───────────────────────────────────────────────────────── */
.bc-comp-card { background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:14px 16px; margin-bottom:8px; cursor:pointer; transition:all .15s; }
.bc-comp-card:hover { border-color:var(--border2); box-shadow:var(--shadow-sm); }
.bc-comp-header { display:flex; align-items:center; gap:11px; }
.bc-comp-icon { width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.bc-comp-name { font-size:13.5px; font-weight:600; color:var(--text); }
.bc-comp-sub { font-size:11.5px; color:var(--text3); margin-top:1px; }
.bc-comp-count { font-size:11px; color:var(--text3); padding:2px 8px; background:var(--surface2); border-radius:6px; }
.bc-comp-actions { display:flex; gap:6px; margin-left:auto; }
.bc-child-list { margin-top:10px; padding-top:10px; border-top:1px solid var(--border); display:flex; flex-wrap:wrap; gap:6px; }
.bc-child-chip { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:7px; border:1px solid var(--border); background:var(--surface2); font-size:12px; color:var(--text2); cursor:pointer; transition:all .15s; }
.bc-child-chip:hover { border-color:var(--blue); color:var(--blue); }

/* ── Bo-workflows ────────────────────────────────────────────────────────── */
.bw-list { display:flex; flex-direction:column; gap:8px; }
.bw-row { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:14px 18px; display:flex; align-items:center; gap:14px; transition:all .15s; box-shadow:var(--shadow-sm); }
.bw-row:hover { border-color:var(--border2); box-shadow:var(--shadow); }
.bw-icon { width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.bw-title { font-size:13.5px; font-weight:600; color:var(--text); }
.bw-meta { display:flex; align-items:center; gap:6px; margin-top:3px; flex-wrap:wrap; }
.bw-actions { display:flex; gap:6px; margin-left:auto; align-items:center; flex-shrink:0; }
.bw-usage { font-size:11px; color:var(--text3); white-space:nowrap; }

/* ── Bo-users ────────────────────────────────────────────────────────────── */
.bu-row { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:13px 18px; display:flex; align-items:center; gap:12px; margin-bottom:8px; box-shadow:var(--shadow-sm); }
.bu-avatar { width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; flex-shrink:0; }
.bu-name { font-size:13.5px; font-weight:600; color:var(--text); }
.bu-meta { font-size:11.5px; color:var(--text3); margin-top:1px; }
.bu-actions { display:flex; gap:6px; margin-left:auto; }
.bu-badge-admin { font-size:10px; font-weight:600; padding:2px 8px; border-radius:5px; background:var(--blue-light); color:var(--blue); }
.bu-badge-cw { font-size:10px; font-weight:600; padding:2px 8px; border-radius:5px; background:var(--green-light); color:#1A9130; }
.bu-badge-inactive { font-size:10px; font-weight:600; padding:2px 8px; border-radius:5px; background:var(--surface3); color:var(--text3); }

/* ── Bo-settings modern UX v4 ─────────────────────────────────────────── */

/* Settings container */
.bset-content { padding: 22px 28px 40px !important; }

/* Settings grid */
.sw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 1180px) {
  .sw-grid { grid-template-columns: repeat(2, 1fr); }
  .sw-widget[style*="grid-column: span 3"],
  .sw-widget[style*="grid-column:span 3"] {
    grid-column: span 2 !important;
  }
}

@media (max-width: 768px) {
  .sw-grid { grid-template-columns: 1fr; }
  .sw-widget { grid-column: span 1 !important; }
}

/* Widget card */
.sw-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.02);
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.sw-widget:hover {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.03);
}

.sw-placeholder {
  background: var(--blue-light);
  border: 2px dashed var(--blue);
  border-radius: 14px;
  opacity: 0.5;
  transition: min-height .15s ease;
}

/* Card Header */
.sw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 12px;
  cursor: grab;
  user-select: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.sw-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sw-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sw-grip {
  color: var(--text3);
  opacity: 0.45;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity .15s ease, color .15s ease;
}

.sw-header:hover .sw-grip {
  opacity: 0.85;
  color: var(--blue);
}

.sw-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sw-title-block {
  min-width: 0;
}

.sw-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sw-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.15px;
  white-space: nowrap;
}

.bset-head-badge {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text2);
  background: var(--surface3);
  padding: 1.5px 7px;
  border-radius: 12px;
  white-space: nowrap;
}

.sw-width-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all .15s ease;
}

.sw-width-btn:hover {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--border2);
}

/* Card Body */
.sw-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sw-resize {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  opacity: 0.3;
  transition: opacity .15s ease, color .15s ease;
}

.sw-resize:hover {
  opacity: 1;
  color: var(--blue);
}

/* ── Settings list rows (categories / levels) ── */
.bset-items-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.bset-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
  position: relative;
  user-select: none;
}

.bset-list-row:hover {
  background: var(--surface2);
  border-color: var(--border);
}

.bset-item-grip {
  width: 14px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  opacity: 0.25;
  cursor: grab;
  transition: opacity .15s ease, color .15s ease;
  margin-right: 4px;
  flex-shrink: 0;
}

.bset-item-grip:hover,
.bset-list-row:hover .bset-item-grip {
  opacity: 0.8;
  color: var(--blue);
}

.bset-item-grip:active {
  cursor: grabbing;
}

.bset-list-row.bset-item--dragging {
  opacity: 0.35;
  background: var(--blue-light) !important;
  border: 1px dashed var(--blue) !important;
  transform: scale(0.99);
}

.bset-list-row.bset-drop-before::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 6px;
  right: 6px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 113, 227, 0.5);
  pointer-events: none;
  z-index: 10;
}

.bset-list-row.bset-drop-after::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 6px;
  right: 6px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 113, 227, 0.5);
  pointer-events: none;
  z-index: 10;
}

.bset-item-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.bset-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: 0.8;
}

.bset-bullet--cyan { background: var(--cyan); }

.bset-item-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bset-item-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  letter-spacing: 0.2px;
}

.badge-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #4F46E5;
}

.bset-usage-badge {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text3);
  background: var(--surface3);
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 4px;
  white-space: nowrap;
  transition: all .15s ease;
}

.bset-list-row:hover .bset-usage-badge {
  color: var(--text2);
}

.bset-usage-badge--zero {
  opacity: 0.55;
  font-size: 10px;
  padding: 1px 5px;
}

/* Actions in list rows */
.bset-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.75;
  transition: opacity .15s ease;
}

.bset-list-row:hover .bset-actions {
  opacity: 1;
}

.bset-action-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}

.bset-action-btn:hover {
  background: var(--surface3);
  color: var(--text);
  border-color: var(--border2);
}

.bset-action-btn--danger:hover {
  background: var(--red-light);
  color: var(--red);
  border-color: rgba(255, 59, 48, 0.25);
}

/* Add row footer */
.bset-add-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.bset-add-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.bset-add-icon {
  position: absolute;
  left: 10px;
  color: var(--text3);
  pointer-events: none;
}

.bset-add-input {
  width: 100%;
  padding-left: 28px !important;
  height: 32px;
  font-size: 12.5px !important;
  border-radius: 8px !important;
}

.bset-add-btn {
  height: 32px;
  padding: 0 12px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
  flex-shrink: 0;
}

.bset-empty {
  text-align: center;
  padding: 24px 12px;
  color: var(--text3);
  font-size: 12px;
}

/* ── Backup panel 2-column layout ── */
.bset-backup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .bset-backup-grid {
    grid-template-columns: 1fr;
  }
}

.bset-backup-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .2s ease;
}

.bset-backup-card:hover {
  border-color: var(--border2);
}

.bset-backup-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bset-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bset-card-icon--blue {
  background: var(--blue-light);
  color: var(--blue);
}

.bset-card-icon--green {
  background: var(--green-light);
  color: var(--green);
}

.bset-backup-heading {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.1px;
}

.bset-backup-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

.bset-backup-body {
  flex: 1;
}

.bset-backup-text {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 12px;
}

.bset-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.bset-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 9px;
  border-radius: 7px;
}

.bset-feature-tag svg {
  color: var(--green);
  flex-shrink: 0;
}

.bset-backup-footer {
  margin-top: auto;
  padding-top: 10px;
}

.bset-backup-btn {
  width: 100%;
  height: 38px;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 9px;
  gap: 7px;
}

.bset-backup-meta {
  font-size: 10.5px;
  color: var(--text3);
  text-align: center;
  margin-top: 8px;
}

/* Drop zone for restore */
.bset-drop-zone-upload {
  border: 2px dashed var(--border2);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  transition: all .2s ease;
  margin-bottom: 12px;
}

.bset-drop-zone-upload.active,
.bset-drop-zone-upload:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.bset-drop-icon {
  color: var(--text3);
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  transition: all .2s ease;
}

.bset-drop-zone-upload:hover .bset-drop-icon {
  color: var(--blue);
  transform: translateY(-2px);
}

.bset-drop-primary {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}

.bset-drop-secondary {
  font-size: 11px;
  color: var(--text3);
}

.bset-drop-link {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* File selected state */
.bset-file-chosen {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 12px;
}

.bset-file-icon {
  color: var(--green);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bset-file-details {
  flex: 1;
  min-width: 0;
}

.bset-file-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bset-file-size {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

.bset-file-remove {
  font-size: 11px !important;
  padding: 3px 8px !important;
  color: var(--text2) !important;
}

.bset-file-remove:hover {
  color: var(--red) !important;
}

/* Integration modes */
.bset-mode-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
}

.bset-mode-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.bset-mode-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s ease;
}

.bset-mode-tile:hover {
  border-color: var(--border2);
  background: var(--surface2);
}

.bset-mode-tile.active {
  border-color: var(--blue);
  background: rgba(0, 113, 227, 0.04);
}

.bset-mode-tile--danger.active {
  border-color: var(--red);
  background: rgba(255, 59, 48, 0.05);
}

.bset-mode-tile input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.bset-mode-tile--danger input[type="radio"] {
  accent-color: var(--red);
}

.bset-mode-content {
  flex: 1;
  min-width: 0;
}

.bset-mode-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.bset-mode-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.bset-mode-danger {
  color: var(--red);
}

.bset-mode-desc {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.4;
  margin-top: 2px;
}

/* Restore warning */
.bset-restore-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.25);
  font-size: 11.5px;
  color: var(--red);
  line-height: 1.4;
  margin-bottom: 10px;
}

.bset-restore-warning svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.bset-restore-warning code {
  font-family: monospace;
  font-weight: 700;
  padding: 1px 4px;
  background: rgba(255, 59, 48, 0.15);
  border-radius: 4px;
}

.bset-confirm-input {
  margin-bottom: 12px;
}

/* Preview report card */
.bset-preview-card {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.bset-preview-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.bset-preview-date {
  font-size: 10.5px;
  color: var(--text3);
  margin-bottom: 10px;
}

.bset-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bset-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.bset-preview-row:last-child {
  border-bottom: none;
}

.bset-preview-label {
  font-weight: 500;
  color: var(--text2);
}

.bset-preview-values {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bset-preview-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 5px;
}

.bset-preview-badge--add {
  background: var(--green-light);
  color: #1A9130;
}

.bset-preview-badge--upd {
  background: var(--amber-light);
  color: #B36800;
}

.bset-preview-badge--skip {
  background: var(--surface3);
  color: var(--text3);
}

.bset-preview-none {
  font-size: 11px;
  color: var(--text3);
}

.bset-backup-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.bset-backup-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ── Editor views panel ── */
.bset-views-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bset-view-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: all .15s ease;
}

.bset-view-row:hover {
  background: var(--surface);
  border-color: var(--border2);
}

.bset-view-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bset-view-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bset-view-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.bset-view-desc {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

.bset-view-badge {
  font-size: 11px;
  font-weight: 500;
  color: #1A9130;
  padding: 3px 9px;
  background: var(--green-light);
  border-radius: 6px;
  white-space: nowrap;
}

/* ── Component drag cards in settings ── */
.bset-drop-zone {
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 10px;
  border: 2px dashed transparent;
  transition: border-color .2s, background .2s;
  min-height: 32px;
}

.bset-drop-zone.active,
.bset-drop-zone[style*="border-color: var(--blue)"] {
  border-color: var(--blue);
  background: var(--blue-light);
}

.bset-drop-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
  padding-left: 2px;
}

.bset-drop-empty {
  padding: 12px;
  text-align: center;
  font-size: 11px;
  color: var(--text3);
  border: 1px dashed var(--border);
  border-radius: 8px;
  opacity: .7;
}

.bset-comp-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  cursor: grab;
  transition: all .2s ease;
}

.bset-comp-card:hover {
  background: var(--surface);
  border-color: var(--border2);
  box-shadow: var(--shadow-sm);
}

.bset-comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bset-comp-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bset-drag-grip {
  opacity: .35;
  flex-shrink: 0;
}

.bset-comp-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bset-comp-name {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text);
}

.bset-comp-sub {
  font-size: 10.5px;
  color: var(--text3);
  margin-top: 1px;
}

.bset-comp-actions {
  display: flex;
  gap: 4px;
}

.bset-comp-actions .btn {
  padding: 3px 8px;
  font-size: 11px;
}

.bset-child-list {
  margin-top: 6px;
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bset-child-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--surface);
  border-radius: 7px;
  border: 1px solid var(--border);
}

.bset-child-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bset-child-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bset-child-name {
  font-weight: 500;
  color: var(--text);
  font-size: 11.5px;
}

/* ── Modal helpers ── */
.bset-modal-affected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--blue-light);
  border: 1px solid rgba(0, 113, 227, 0.18);
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.bset-modal-affected--warn {
  background: var(--amber-light);
  border-color: rgba(255, 149, 0, 0.25);
}

.bset-modal-affected svg {
  flex-shrink: 0;
}

