:root {
    --c-ink: #0f1117;
    --c-ink-2: #3a3d4a;
    --c-ink-3: #6b6f80;
    --c-ink-4: #9ea3b5;
    --c-surface: #ffffff;
    --c-surface-2: #f4f5f8;
    --c-surface-3: #eceef4;
    --c-border: rgba(15,17,23,0.08);
    --c-border-2: rgba(15,17,23,0.14);
    --c-accent: #2563eb;
    --c-accent-light: #eff4ff;
    --c-accent-mid: #93b8fd;
    --c-green: #059669;
    --c-green-light: #ecfdf5;
    --c-amber: #d97706;
    --c-amber-light: #fffbeb;
    --c-red: #dc2626;
    --c-red-light: #fef2f2;
    --c-purple: #7c3aed;
    --c-purple-light: #f5f3ff;
    --c-teal: #0d9488;
    --c-teal-light: #f0fdfa;
    --nav-w: 240px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--c-ink);
    background: var(--c-surface-2);
    display: flex;
    min-height: 100vh;
    line-height: 1.5;
  }

  /* ── SIDEBAR ── */
  .sidebar {
    width: var(--nav-w);
    background: var(--c-ink);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
  }

  .sidebar-logo {
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: center; gap: 10px;
  }

  .logo-mark {
    width: 34px; height: 34px;
    background: var(--c-accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; color: #fff;
    flex-shrink: 0;
  }

  .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.2;
  }

  .logo-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .nav-section {
    padding: 16px 12px 4px;
  }

  .nav-label {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 8px 8px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 1px;
    font-size: 13.5px;
    font-weight: 400;
    text-decoration: none;
  }

  .nav-item:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85); }
  .nav-item.active { background: var(--c-accent); color: #fff; font-weight: 500; }

  .nav-icon {
    width: 16px; height: 16px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.8;
  }

  .sidebar-footer {
    margin-top: auto;
    padding: 14px 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .user-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
  }

  .user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--c-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600; color: #fff; flex-shrink: 0;
  }

  .user-name { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 400; }
  .user-role { font-size: 11px; color: rgba(255,255,255,0.35); }

  /* ── MAIN ── */
  .main {
    margin-left: var(--nav-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .topbar {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 0 28px;
    height: 58px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 50;
  }

  .page-title {
    font-size: 15px; font-weight: 600; color: var(--c-ink);
  }
  .page-breadcrumb {
    font-size: 12px; color: var(--c-ink-3);
    margin-top: 1px;
  }

  .topbar-actions {
    display: flex; align-items: center; gap: 10px;
  }

  .btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px; font-weight: 500;
    cursor: pointer; border: none; transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
    text-decoration: none;
  }

  .btn-primary { background: var(--c-accent); color: #fff; }
  .btn-primary:hover { background: #1d4ed8; }
  .btn-ghost { background: transparent; color: var(--c-ink-2); border: 1px solid var(--c-border-2); }
  .btn-ghost:hover { background: var(--c-surface-2); }
  .btn-sm { padding: 5px 11px; font-size: 12px; }
  .btn-success { background: var(--c-green); color: #fff; }
  .btn-success:hover { background: #047857; }
  .btn-danger { background: var(--c-red); color: #fff; }

  .content { padding: 24px 28px; flex: 1; }

  /* ── STAT CARDS ── */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }

  .stat-card {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
  }

  .stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .stat-card.blue::before { background: var(--c-accent); }
  .stat-card.green::before { background: var(--c-green); }
  .stat-card.amber::before { background: var(--c-amber); }
  .stat-card.red::before { background: var(--c-red); }

  .stat-label { font-size: 12px; color: var(--c-ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
  .stat-value { font-size: 26px; font-weight: 600; color: var(--c-ink); line-height: 1; margin-bottom: 6px; letter-spacing: -0.5px; }
  .stat-delta { font-size: 12px; color: var(--c-ink-3); }
  .stat-delta .up { color: var(--c-green); }
  .stat-delta .down { color: var(--c-red); }

  .stat-icon {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }

  .stat-card.blue .stat-icon { background: var(--c-accent-light); }
  .stat-card.green .stat-icon { background: var(--c-green-light); }
  .stat-card.amber .stat-icon { background: var(--c-amber-light); }
  .stat-card.red .stat-icon { background: var(--c-red-light); }

  /* ── CARDS ── */
  .card {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
  }

  .card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-border);
    display: flex; align-items: center; justify-content: space-between;
  }

  .card-title { font-size: 14px; font-weight: 600; color: var(--c-ink); }
  .card-subtitle { font-size: 12px; color: var(--c-ink-3); margin-top: 1px; }
  .card-body { padding: 20px; }

  /* ── TABLE ── */
  .table-wrap { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  thead th {
    padding: 10px 14px; text-align: left;
    font-size: 11px; font-weight: 600;
    color: var(--c-ink-3);
    text-transform: uppercase; letter-spacing: 0.5px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface-2);
    white-space: nowrap;
  }
  tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-ink-2);
    vertical-align: middle;
  }
  tbody tr:last-child td { border-bottom: none; }
  tbody tr:hover { background: var(--c-surface-2); }

  /* ── BADGES ── */
  .badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 20px;
    font-size: 11.5px; font-weight: 500;
  }
  .badge-green { background: var(--c-green-light); color: #065f46; }
  .badge-red { background: var(--c-red-light); color: #991b1b; }
  .badge-amber { background: var(--c-amber-light); color: #92400e; }
  .badge-blue { background: var(--c-accent-light); color: #1e3a8a; }
  .badge-gray { background: var(--c-surface-3); color: var(--c-ink-3); }
  .badge-purple { background: var(--c-purple-light); color: #5b21b6; }
  .badge-teal { background: var(--c-teal-light); color: #115e59; }

  /* ── FORMS ── */
  .form-grid { display: grid; gap: 16px; }
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .form-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

  .form-group { display: flex; flex-direction: column; gap: 5px; }
  .form-label {
    font-size: 12px; font-weight: 500; color: var(--c-ink-2);
    letter-spacing: 0.2px;
  }
  .form-required { color: var(--c-red); }

  input[type="text"], input[type="number"], input[type="date"], input[type="email"],
  select, textarea {
    padding: 8px 12px;
    border: 1px solid var(--c-border-2);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: 'DM Sans', sans-serif;
    color: var(--c-ink);
    background: var(--c-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    outline: none;
  }

  input:focus, select:focus, textarea:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  }

  select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236b6f80' d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; padding-right: 32px; }

  textarea { resize: vertical; min-height: 80px; }

  /* ── INLINE FORM ROW ── */
  .inline-form {
    background: var(--c-surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    overflow: hidden;
  }

  .inline-form-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    font-size: 13px; font-weight: 600; color: var(--c-ink);
  }

  .inline-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1fr 100px;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border);
    align-items: center;
    background: var(--c-surface);
  }

  .inline-row:last-child { border-bottom: none; }
  .inline-row:nth-child(even) { background: var(--c-surface-2); }

  /* ── PAYMENT FORM ── */
  .payment-row {
    display: grid;
    grid-template-columns: 30px 2fr 130px 130px 2fr 120px 36px;
    gap: 10px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
  }

  .payment-row:nth-child(even) { background: var(--c-surface-2); }
  .payment-row.header { background: var(--c-surface-2); font-size: 11px; font-weight: 600; color: var(--c-ink-3); text-transform: uppercase; letter-spacing: 0.5px; padding: 9px 16px; border-bottom: 2px solid var(--c-border); }

  .checkbox-cell input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; accent-color: var(--c-accent); }

  .remove-row {
    width: 28px; height: 28px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-red-light); color: var(--c-red);
    cursor: pointer; border: none; font-size: 14px;
    transition: background 0.15s;
  }
  .remove-row:hover { background: #fee2e2; }

  /* ── CHARTS PLACEHOLDER ── */
  .chart-area {
    height: 200px;
    background: linear-gradient(180deg, var(--c-accent-light) 0%, transparent 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex; align-items: flex-end;
  }

  .chart-bars {
    display: flex; align-items: flex-end;
    gap: 6px; padding: 0 12px 12px;
    width: 100%; height: 100%;
  }

  .chart-bar {
    flex: 1;
    background: var(--c-accent);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: opacity 0.2s;
    min-height: 4px;
  }

  .chart-bar:hover { opacity: 1; }
  .chart-bar.alt { background: var(--c-teal); }

  /* ── TABS ── */
  .tabs { display: flex; gap: 0; border-bottom: 2px solid var(--c-border); margin-bottom: 20px; }
  .tab {
    padding: 10px 18px; font-size: 13px; font-weight: 500;
    color: var(--c-ink-3); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.15s; white-space: nowrap;
  }
  .tab:hover { color: var(--c-ink); }
  .tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

  /* ── SEARCH BAR ── */
  .search-wrap {
    position: relative;
  }

  .search-wrap svg {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    color: var(--c-ink-4);
  }

  .search-wrap input {
    padding-left: 34px;
    width: 240px;
  }

  /* ── FILTER BAR ── */
  .filter-bar {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  /* ── TREND CHART (SVG) ── */
  .trend-svg { width: 100%; height: 160px; }

  /* ── STUDENT CARD ── */
  .student-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.15s;
    cursor: pointer;
  }

  .student-card:hover { box-shadow: var(--shadow-md); }

  .student-avatar {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; color: #fff; flex-shrink: 0;
  }

  /* ── DUE INDICATOR ── */
  .due-bar {
    height: 4px; border-radius: 2px;
    background: var(--c-border); overflow: hidden;
    margin-top: 5px;
  }
  .due-fill { height: 100%; border-radius: 2px; background: var(--c-red); }

  /* ── SECTION HEADERS ── */
  .section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
  }

  .section-title { font-size: 15px; font-weight: 600; color: var(--c-ink); }
  .section-sub { font-size: 12px; color: var(--c-ink-3); margin-top: 2px; }

  /* ── MODAL ── */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
  }

  .modal-overlay.open { display: flex; }

  .modal {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--c-border);
    display: flex; align-items: center; justify-content: space-between;
  }

  .modal-title { font-size: 15px; font-weight: 600; }

  .modal-close {
    width: 28px; height: 28px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--c-ink-3);
    background: var(--c-surface-2); border: none; font-size: 16px;
  }

  .modal-body { padding: 20px 22px; }
  .modal-footer { padding: 14px 22px; border-top: 1px solid var(--c-border); display: flex; gap: 10px; justify-content: flex-end; }

  /* ── DUES LIST ── */
  .dues-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
  }
  .dues-item:last-child { border-bottom: none; }

  /* ── SUMMARY BOX ── */
  .summary-box {
    background: var(--c-accent-light);
    border: 1px solid var(--c-accent-mid);
    border-radius: var(--radius);
    padding: 14px 18px;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid-4 { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 900px) {
    :root { --nav-w: 0px; }
    .sidebar { transform: translateX(-240px); }
    .main { margin-left: 0; }
    .form-grid-3 { grid-template-columns: 1fr 1fr; }
    .payment-row { grid-template-columns: 30px 1fr 100px 100px; }
    .payment-row > *:nth-child(n+5) { display: none; }
  }

  @media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
    .content { padding: 16px; }
    .topbar { padding: 0 16px; }
  }

  /* ── VOUCHER BADGE ── */
  .voucher-code {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    background: var(--c-surface-3);
    border: 1px solid var(--c-border-2);
    border-radius: 5px;
    padding: 2px 7px;
    color: var(--c-ink-2);
    letter-spacing: 0.5px;
  }

  /* ── TOGGLE ── */
  .toggle-switch {
    display: flex; align-items: center; gap: 8px;
  }

  .toggle {
    width: 36px; height: 20px;
    background: var(--c-border-2);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
  }

  .toggle.on { background: var(--c-accent); }

  .toggle::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: left 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }

  .toggle.on::after { left: 19px; }

  /* ── DIVIDER ── */
  .divider { height: 1px; background: var(--c-border); margin: 20px 0; }

  /* ── AMOUNT ── */
  .amount { font-variant-numeric: tabular-nums; font-weight: 500; }
  .amount-large { font-size: 22px; font-weight: 600; letter-spacing: -0.5px; }

  /* ── GRID LAYOUTS ── */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

  @media (max-width: 900px) {
    .two-col, .three-col { grid-template-columns: 1fr; }
  }

  /* ── PENDING LIST ── */
  .pending-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
  }
  .pending-item:last-child { border-bottom: none; }

  /* ── PROGRESS BAR ── */
  .progress { height: 6px; background: var(--c-surface-3); border-radius: 3px; overflow: hidden; }
  .progress-fill { height: 100%; border-radius: 3px; background: var(--c-accent); }

  /* ── MONTH SELECT GRID ── */
  .month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .month-btn {
    padding: 10px 8px; border-radius: 8px; text-align: center;
    cursor: pointer; border: 1px solid var(--c-border-2);
    font-size: 12px; font-weight: 500; color: var(--c-ink-2);
    transition: all 0.15s; background: var(--c-surface);
  }
  .month-btn:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-light); }
  .month-btn.selected { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
  .month-btn.generated { background: var(--c-green-light); color: #065f46; border-color: #6ee7b7; }

  /* ── NOTIFICATION DOT ── */
  .notif-dot {
    display: inline-block; width: 7px; height: 7px; border-radius: 50%;
    background: var(--c-red); margin-left: 4px; vertical-align: middle;
  }

  /* ── DETAIL LIST ── */
  .detail-list { display: flex; flex-direction: column; gap: 0; }
  .detail-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--c-border);
    font-size: 13px;
  }
  .detail-row:last-child { border-bottom: none; }
  .detail-key { color: var(--c-ink-3); }
  .detail-val { color: var(--c-ink); font-weight: 500; }

  /* ── ALERT ── */
  .alert {
    padding: 12px 14px; border-radius: var(--radius);
    font-size: 13px; margin-bottom: 16px; border: 1px solid;
    display: flex; align-items: flex-start; gap: 10px;
  }
  .alert-info { background: var(--c-accent-light); color: #1e3a8a; border-color: var(--c-accent-mid); }
  .alert-warning { background: var(--c-amber-light); color: #78350f; border-color: #fcd34d; }
  .alert-success { background: var(--c-green-light); color: #065f46; border-color: #6ee7b7; }
  .alert-error { background: var(--c-green-light); color: #5f1006; border-color: #e76e6e; }

  /* ── TOAST NOTIFICATIONS ── */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%; /* Move to center */
  transform: translateX(-50%); /* Center horizontally */
  z-index: 99999; /* Increased z-index to guarantee it stays above topbars/navs */
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none; /* Let clicks pass through the container */
}

.alert-toast {
  margin-bottom: 0;
  pointer-events: auto; /* Re-enable clicks on the alert itself */
  box-shadow: var(--shadow-md);
  min-width: 300px;
  max-width: 450px;
  /* Changed animation to slide from top */
  animation: slideInTop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
  align-items: center;
}

.alert-error {
  background: var(--c-red-light);
  color: #991b1b;
  border-color: #fca5a5;
}

.toast-close {
  background: none;
  border: none;
  margin-left: auto;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* New Keyframes for sliding down from the top */
@keyframes slideInTop {
  from { transform: translateY(-150%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── TOM SELECT UI OVERRIDES ── */
.ts-control {
  border: 1px solid var(--c-border-2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-family: 'DM Sans', sans-serif;
  background: var(--c-surface);
  box-shadow: none;
}
.ts-control.focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.ts-dropdown {
  border-radius: 8px;
  border-color: var(--c-border-2);
  box-shadow: var(--shadow-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
}
.ts-dropdown .active {
  background-color: var(--c-surface-2);
  color: var(--c-accent);
}