
    .account-panel.drag-over {
      border-color: var(--green);
      background: #f0fdf9;
      box-shadow: 0 0 0 3px rgba(13, 126, 115, 0.14);
    }

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

    .account-actions .account-stats-entry {
      margin-left: auto;
      color: #ffffff;
      border-color: var(--green);
      background: var(--green);
      box-shadow: 0 0 0 3px rgba(19, 115, 51, 0.10);
      font-weight: 760;
    }

    .account-actions .account-stats-entry:hover {
      border-color: #0f5f2b;
      background: #0f5f2b;
    }

    .account-import-raw {
      display: grid;
      gap: 10px;
    }

    .account-import-raw[hidden] {
      display: none;
    }

    .account-import-raw textarea {
      width: 100%;
      min-height: 150px;
      resize: vertical;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 10px 12px;
      color: var(--text);
      background: #fbfdff;
      font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

    .account-import-raw-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .route-batch-panel {
      display: grid;
      grid-template-columns: minmax(320px, 560px) minmax(260px, 1fr);
      gap: 14px;
      align-items: start;
    }

    .route-picker-card,
    .route-file-list-panel {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .route-picker-card {
      display: grid;
      gap: 14px;
      width: min(560px, 100%);
      min-height: 116px;
      padding: 16px;
      align-content: center;
    }

    .route-picker-card .panel-header {
      margin-bottom: 0;
    }

    .route-batch-guidance {
      display: grid;
      gap: 2px;
      max-width: 420px;
      padding: 16px 4px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
      text-align: left;
    }

    .route-file-list-panel {
      grid-column: 1 / -1;
      display: grid;
      gap: 8px;
      padding: 14px 16px 16px;
    }

    .route-batch-panel.batch-detail-mode {
      gap: 10px;
    }

    .route-batch-panel.batch-detail-mode .route-picker-card,
    .route-batch-panel.batch-detail-mode .route-batch-guidance,
    .route-batch-panel.batch-detail-mode .route-file-list-panel > .panel-header {
      display: none;
    }

    .route-batch-panel.batch-detail-mode .route-file-list-panel {
      padding: 12px 14px;
    }

    .route-batch-actions,
    .user-create-grid {
      display: grid;
      grid-template-columns: minmax(220px, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .sd-truck-sync-panel {
      align-content: start;
    }

    .sd-truck-sync-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: end;
    }

    .sd-truck-sync-controls .compact-field {
      min-width: 190px;
    }

    .sd-truck-sync-controls .compact-field.wide {
      min-width: 360px;
      flex: 1 1 360px;
    }

    .sd-truck-report-option {
      min-height: 38px;
      font-weight: 650;
    }

    .sd-truck-sync-status {
      display: grid;
      gap: 8px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: var(--surface-soft);
    }

    .sync-progress-head {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: baseline;
      justify-content: space-between;
      color: var(--muted);
      font-size: 12px;
    }

    .sync-progress-head strong {
      color: var(--text);
      font-size: 14px;
    }

    .sync-progress-track {
      height: 10px;
      overflow: hidden;
      border-radius: 999px;
      background: #e5edf7;
    }

    .sync-progress-bar {
      height: 100%;
      width: 0%;
      border-radius: inherit;
      background: var(--accent);
      transition: width 0.2s ease;
    }

    .sd-truck-sync-status.is-running .sync-progress-bar {
      background: var(--green);
    }

    .sd-truck-sync-status.is-paused {
      border-color: #fcd34d;
      background: #fffbeb;
    }

    .sd-truck-sync-status.is-paused .sync-progress-bar {
      background: #d97706;
    }

    .sd-truck-sync-status.is-failed {
      border-color: #fecaca;
      background: #fff1f2;
    }

    .sd-truck-sync-status.is-failed .sync-progress-bar {
      background: var(--danger);
    }

    .route-batch-actions {
      grid-template-columns: auto;
      justify-items: end;
    }

    .user-create-grid {
      grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
    }

    .route-batch-list,
    .tool-download-grid,
    .collection-request-list,
    .user-list {
      display: grid;
      gap: 8px;
    }

    .tool-download-grid {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }

    .tool-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      min-height: 118px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: var(--surface-soft);
    }

    .tool-card-main {
      display: grid;
      gap: 6px;
      min-width: 0;
    }

    .tool-platform {
      width: max-content;
      max-width: 100%;
      padding: 3px 8px;
      border-radius: 999px;
      color: var(--accent);
      background: var(--accent-soft);
      font-size: 12px;
      font-weight: 720;
    }

    .tool-card h3 {
      margin: 0;
      font-size: 17px;
      line-height: 1.25;
    }

    .tool-card p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      overflow-wrap: anywhere;
    }

    .tool-download-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 8px 13px;
      border: 1px solid var(--accent);
      border-radius: 6px;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
    }

    .tool-download-button:hover {
      background: #0d655f;
      border-color: #0d655f;
      text-decoration: none;
    }

    .collection-request-card,
    .user-row {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: var(--surface-soft);
    }

    .route-batch-card {
      display: grid;
      grid-template-columns: minmax(220px, 1.1fr) minmax(340px, 1.4fr) auto auto;
      gap: 12px;
      align-items: center;
      min-height: 70px;
      padding: 11px 12px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: var(--surface-soft);
      cursor: pointer;
    }

    .route-batch-card:hover {
      border-color: var(--line-strong);
      background: #ffffff;
    }

    .batch-detail-summary {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }

    .batch-detail-main {
      display: grid;
      flex: 1;
      min-width: 260px;
      gap: 4px;
    }

    .batch-detail-summary .tag {
      margin-left: auto;
    }

    .route-batch-head,
    .collection-request-head,
    .user-row-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .route-batch-title,
    .collection-request-title,
    .user-row-title {
      font-weight: 740;
      overflow-wrap: anywhere;
    }

    .route-batch-main {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .route-batch-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 12px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .route-batch-summary span {
      white-space: nowrap;
    }

    .route-batch-state {
      justify-self: end;
    }

    .status-select.tag {
      width: auto;
      min-height: 26px;
      padding: 2px 28px 2px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 650;
      cursor: pointer;
    }

    .route-batch-actions-inline,
    .collection-request-actions,
    .user-row-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .route-batch-actions-inline {
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .route-batch-actions-inline button {
      min-height: 30px;
      padding: 5px 9px;
      font-size: 12px;
    }

    .route-batch-history-actions {
      display: flex;
      justify-content: center;
      padding: 6px 0 2px;
      color: var(--muted);
      font-size: 13px;
    }

    .collection-request-actions select {
      min-height: 30px;
      font-size: 12px;
    }

    .collection-request-actions {
      display: grid;
      grid-template-columns: minmax(150px, 0.7fr) minmax(120px, 0.5fr) minmax(120px, 0.5fr) auto;
      gap: 10px;
      align-items: end;
    }

    .collection-request-actions button {
      grid-column: 4;
      justify-self: end;
      min-height: 38px;
    }

    .collection-request-running {
      grid-column: 1 / 4;
    }

    .collection-request-skip {
      grid-column: 1 / 4;
      align-self: center;
      min-height: 24px;
      padding-top: 2px;
    }

    .collection-request-running strong {
      color: var(--text);
      font-size: 14px;
    }

    .collection-task-stack {
      display: grid;
      gap: 10px;
    }

    .collection-task-card {
      background: #fbfcfd;
    }

    .collection-task-actions {
      grid-template-columns: minmax(260px, 1.1fr) minmax(130px, 0.55fr) minmax(110px, 0.45fr) minmax(110px, 0.45fr);
    }

    .collection-task-actions .collection-task-batch {
      grid-column: 1;
    }

    .collection-task-actions .collection-request-skip {
      grid-column: 1 / 5;
    }

    .collection-task-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .collection-task-run-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

    .icon-button.collection-task-add,
    .collection-task-remove {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 58px;
      height: 44px;
      padding: 0;
      border-radius: 8px;
      font-size: 24px;
      font-weight: 720;
      line-height: 1;
    }

    .collection-task-remove {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      color: var(--muted);
      font-size: 22px;
      background: transparent;
    }

    .compact-field {
      display: grid;
      gap: 5px;
      min-width: 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 650;
    }

    .compact-field input,
    .compact-field select {
      width: 100%;
      min-height: 38px;
      padding: 7px 10px;
      border: 1px solid var(--line);
      border-radius: 7px;
      color: var(--text);
      background: #fff;
      font-size: 14px;
      font-weight: 600;
    }

    .request-range-field[hidden] {
      display: none;
    }
