  /* ── COLLAPSIBLE SECTIONS ── */
  .collapsible-section {
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .collapsible-section:hover {
    border-color: var(--border-bright);
  }
  .collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    background: var(--surface);
    transition: background 0.15s ease;
    gap: 16px;
  }
  .collapsible-header:hover {
    background: rgba(255, 255, 255, 0.025);
  }
  .collapsible-section:not(.collapsed) .collapsible-header {
    border-bottom: 1px solid var(--border);
  }
  .sync-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
  }
  .collapse-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px !important;
    color: var(--text-dim) !important;
    border: 1px solid var(--border-bright) !important;
    padding: 6px 12px !important;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .collapse-btn:hover {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    background: var(--accent-dim2) !important;
  }
  .collapsible-icon {
    font-size: 10px;
    color: var(--accent);
    transition: transform 0.2s ease-in-out;
    display: inline-block;
    line-height: 1;
  }
  .collapsible-section.collapsed .collapsible-icon {
    transform: rotate(-90deg);
  }
  .collapsible-body {
    padding: 20px;
  }
  .collapsible-section.collapsed .collapsible-body {
    display: none !important;
  }
  .sync-section-title {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
  }

  /* ── SYNC STATUS & TASK ROWS ── */
  .sync-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
  }
  .sync-row.nested {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-bright);
  }
  .sync-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  .sync-right {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
  .sync-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    width: 100%;
  }
  .sync-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
  }
  .sync-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
  }
  .sync-desc {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-muted);
    margin-top: 3px;
  }

  /* ── PROGRESS BAR ── */
  .progress-wrap {
    margin-top: 12px;
    background: var(--bg);
    border: 1px solid var(--border-bright);
    padding: 12px;
    border-radius: var(--radius);
  }
  .progress-wrap.jumbo {
    padding: 24px;
    border-color: var(--border-bright);
    background: #000;
  }
  .progress-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .progress-wrap.jumbo .progress-track {
    border: 1px solid #222;
  }
  .progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s ease;
  }
  .progress-wrap.jumbo .progress-fill {
    background: linear-gradient(90deg, var(--accent), #e1ff75);
    box-shadow: 0 0 15px rgba(200,241,53,0.4);
  }
  .progress-text {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
  }
  .progress-text .pct { color: var(--text-dim); }

  /* ── FILTER PICKER ── */
  .filter-picker {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  .filter-select-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .filter-select-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
  }
  .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .chip {
    background: var(--accent-dim);
    border: 1px solid rgba(200,241,53,0.3);
    color: var(--accent);
    padding: 3px 8px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .chip-remove {
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
  }
  .chip-remove:hover { color: #fff; }

  .picker-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-height: 80vh;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    z-index: 100;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }
  .picker-modal.show { display: flex; }
  .picker-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .picker-search {
    padding: 12px;
    border-bottom: 1px solid var(--border);
  }
  .picker-search input {
    background: var(--bg);
    border: 1px solid var(--border-bright);
    color: var(--text);
    padding: 8px 12px;
    width: 100%;
    font-size: 12px;
  }
  .picker-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
  }
  .picker-item {
    padding: 10px 12px;
    cursor: pointer;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .picker-item:hover { background: var(--bg); color: var(--text); }
  .picker-item.selected { color: var(--accent); background: var(--accent-dim2); }

  .sync-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 12px;
  }
  .sync-table th {
    background: var(--surface);
    color: var(--text-muted);
    text-align: left;
    padding: 10px 12px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .sync-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
  }
  .sync-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--text); }

  .sync-results {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent);
    margin-top: 8px;
    cursor: pointer;
    text-decoration: underline;
    display: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .sync-results:hover { color: #fff; }
