    /* ==========================================================================
       Unified Ticket Detail Modal / Bottom Sheet (#ticketDetailModal)
       ========================================================================== */
    body.has-open-modal {
      overflow: hidden !important;
      overscroll-behavior: none;
    }

    .ticket-modal[hidden] {
      display: none !important;
    }

    .ticket-modal {
      position: fixed;
      inset: 0;
      z-index: var(--z-index-modal, 1000);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      height: 100vh;
      height: 100dvh;
      min-height: 0;
      overflow: hidden;
    }

    .ticket-modal-backdrop {
      position: fixed;
      inset: 0;
      background: var(--bg-overlay);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      touch-action: none;
    }

    .ticket-sheet {
      position: relative;
      z-index: var(--z-index-modal-surface, 1001);
      width: 100%;
      max-width: 100%;
      max-height: 90vh;
      max-height: 90dvh;
      min-height: 0;
      display: flex;
      flex-direction: column;
      background: var(--bg-panel);
      border: 1px solid var(--border);
      border-bottom: none;
      border-radius: 18px 18px 0 0;
      box-shadow: var(--shadow);
      overflow: hidden;
      animation: ticket-sheet-slide-up 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes ticket-sheet-slide-up {
      from { transform: translateY(100%); }
      to   { transform: translateY(0); }
    }

    @media (min-width: 769px) {
      .ticket-modal {
        align-items: center;
      }
      .ticket-sheet {
        width: 560px;
        max-width: calc(100vw - 40px);
        max-height: 85vh;
        max-height: 85dvh;
        min-height: 0;
        border-radius: 16px;
        border-bottom: 1px solid var(--border);
        animation: ticket-modal-fade-in 0.18s ease-out;
      }
      .history-detail-sheet {
        width: 640px;
      }
      .ticket-sheet-body {
        scrollbar-gutter: stable;
      }
      @keyframes ticket-modal-fade-in {
        from {
          opacity: 0;
          transform: scale(0.96) translateY(10px);
        }
        to {
          opacity: 1;
          transform: scale(1) translateY(0);
        }
      }
    }

    .ticket-sheet-handle,
    .ticket-sheet-topbar,
    .ticket-sheet-header,
    .ticket-sheet-footer {
      flex: 0 0 auto;
    }

    .ticket-sheet-handle {
      width: 40px;
      height: 5px;
      background: var(--bg-card-hover);
      border-radius: 9999px;
      margin: 10px auto 4px auto;
      flex-shrink: 0;
    }

    .ticket-sheet-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 6px 14px;
      flex-shrink: 0;
    }

    .ticket-modal-back-btn,
    .ticket-modal-close-x {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 20px;
      cursor: pointer;
      padding: 4px 8px;
      line-height: 1;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ticket-modal-back-btn:hover,
    .ticket-modal-close-x:hover {
      background: var(--bg-card);
      color: var(--text-main);
    }

    .ticket-sheet-badges {
      display: flex;
      gap: 6px;
      align-items: center;
      flex-wrap: wrap;
    }

    .ticket-sheet-header {
      padding: 4px 18px 12px 18px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

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

    .ticket-title-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    .ticket-detail-title {
      font-size: 16.5px;
      font-weight: 750;
      color: var(--text-main);
      line-height: 1.3;
      word-break: keep-all;
    }

    .ticket-sheet-body {
      flex: 1 1 auto;
      min-height: 0;
      min-width: 0;
      padding: 14px 18px;
      overflow-x: hidden;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-y: contain;
      touch-action: pan-y;
      scroll-padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .ticket-sheet-body > * {
      flex-shrink: 0;
    }

    .ticket-info-row {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .info-row-icon {
      font-size: 16px;
      flex-shrink: 0;
      width: 20px;
      text-align: center;
    }

    .info-row-content {
      display: flex;
      align-items: baseline;
      gap: 6px;
      flex: 1;
      min-width: 0;
    }

    .info-row-label {
      color: var(--text-muted);
      font-size: 12px;
      flex-shrink: 0;
    }

    .info-row-val {
      color: var(--text-main);
      font-weight: 600;
      word-break: break-word;
    }

    .ticket-detail-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 10px 14px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .detail-key-val {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      font-size: 12px;
    }

    .detail-key {
      color: var(--text-muted);
      flex-shrink: 0;
      min-width: 80px;
    }

    .detail-val {
      color: var(--text-main);
      font-weight: 600;
      text-align: right;
      word-break: break-word;
    }

    .detail-val a[href^="tel:"] {
      color: var(--info);
      text-decoration: underline;
      font-weight: 700;
    }

    .btn-cancel-reservation {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 2px 8px;
      font-size: 11px;
      font-weight: 600;
      color: var(--danger);
      background: var(--danger-bg, var(--danger-bg));
      border: 1px solid var(--danger-border);
      border-radius: var(--radius-sm, 4px);
      cursor: pointer;
      margin-left: 6px;
      vertical-align: middle;
      transition: all 0.15s ease;
    }

    .btn-cancel-reservation:hover {
      background: var(--danger-bg);
      border-color: var(--danger, var(--danger));
    }

    .cancel-confirm-box {
      background: var(--bg-panel, var(--bg-panel));
      border: 1px solid var(--border, var(--border));
      border-radius: var(--radius, 8px);
      padding: 12px;
      margin-top: 8px;
      text-align: left;
      box-sizing: border-box;
      max-width: 100%;
    }

    .cancel-confirm-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 6px;
    }

    .cancel-confirm-body {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.45;
      margin-bottom: 10px;
      word-break: break-word;
    }

    .cancel-confirm-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
    }

    .btn-cancel-confirm {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 600;
      color: var(--on-accent);
      background: var(--danger-fg);
      border: 1px solid var(--danger-fg);
      border-radius: var(--radius-sm, 4px);
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-cancel-confirm:hover {
      filter: brightness(1.08);
    }

    .btn-cancel-confirm[aria-busy="true"],
    .btn-cancel-confirm:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .btn-cancel-dismiss {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-muted);
      background: var(--bg-card, var(--bg-card));
      border: 1px solid var(--border, var(--border));
      border-radius: var(--radius-sm, 4px);
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-cancel-dismiss:hover {
      background: var(--bg-card-hover, var(--bg-card-hover));
      color: var(--text-main);
    }

    .btn-cancel-dismiss:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .cancel-status-text {
      display: inline-flex;
      align-items: center;
      padding: 2px 6px;
      font-size: 11px;
      font-weight: 500;
      color: var(--text-muted);
      background: var(--bg-inset);
      border: 1px solid var(--border, var(--border));
      border-radius: var(--radius-sm, 4px);
    }

    .ticket-remarks-box {
      background: var(--bg-inset);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 12px;
    }

    .remarks-box-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 6px;
    }

    .remarks-box-content {
      font-size: 12px;
      color: var(--text-main);
      line-height: 1.55;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .remarks-sub-item {
      margin-bottom: 10px;
    }

    .remarks-sub-item:last-child {
      margin-bottom: 0;
    }

    .remarks-sub-label {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 2px;
    }

    .remarks-sub-body {
      font-size: 12px;
      color: var(--text-main);
      line-height: 1.55;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .remarks-empty {
      color: var(--text-muted);
    }

    .detail-schedule-memo-box {
      margin-top: 14px;
      background: var(--bg-inset);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 12px;
    }

    .detail-schedule-memo-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .detail-schedule-memo-label {
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
    }

    .detail-schedule-memo-counter {
      font-size: 11px;
      color: var(--text-muted);
      font-variant-numeric: tabular-nums;
    }

    .detail-schedule-memo-input {
      width: 100%;
      box-sizing: border-box;
      background: var(--bg-card, var(--bg-panel));
      border: 1px solid var(--border, var(--border));
      border-radius: var(--radius-sm, 4px);
      padding: 8px 10px;
      font-size: 13px;
      color: var(--text-main);
      line-height: 1.45;
      resize: vertical;
      min-height: 72px;
      font-family: inherit;
    }

    .detail-schedule-memo-input:focus {
      outline: none;
      border-color: var(--info);
      box-shadow: var(--shadow);
    }

    .detail-schedule-memo-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      margin-top: 8px;
    }

    .btn-schedule-memo-clear {
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 600;
      color: var(--danger-fg);
      background: var(--danger-bg);
      border: 1px solid var(--danger-border);
      border-radius: var(--radius-sm, 4px);
      cursor: pointer;
      transition: background 0.12s ease;
    }

    .btn-schedule-memo-clear:hover:not(:disabled) {
      background: var(--danger-bg);
    }

    .btn-schedule-memo-clear:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .btn-schedule-memo-save {
      padding: 6px 14px;
      font-size: 12px;
      font-weight: 600;
      color: var(--on-accent);
      background: var(--accent);
      border: 1px solid var(--accent);
      border-radius: var(--radius-sm, 4px);
      cursor: pointer;
      transition: background 0.12s ease;
    }

    .btn-schedule-memo-save:hover:not(:disabled) {
      background: var(--accent);
    }

    .btn-schedule-memo-save:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .detail-schedule-memo-disabled-msg {
      font-size: 12px;
      color: var(--text-muted);
      padding: 4px 0;
    }

    .ticket-sheet-footer {
      padding: 12px 18px;
      background: var(--bg-panel);
      border-top: 1px solid var(--border);
      flex-shrink: 0;
    }

    .btn-sidekick-action {
      width: 100%;
      padding: 12px;
      font-size: 14px;
      font-weight: 700;
      background: var(--accent);
      color: var(--on-accent);
      border-radius: 8px;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      box-shadow: var(--shadow);
      transition: all 0.15s ease;
    }

    .btn-sidekick-action:hover {
      background: var(--accent-hover);
      box-shadow: var(--shadow);
    }

    /* ==========================================================================
       Unified Ecount History Detail Modal / Bottom Sheet (#historyDetailModal)
       ========================================================================== */
    .history-detail-sheet {
      width: 640px;
      max-width: calc(100vw - 32px);
    }

    .history-slip-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 7px;
      color: var(--text-muted);
      font-size: 12px;
    }

    .history-copy-btn {
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 3px 8px;
      background: var(--bg-card);
      color: var(--accent);
      cursor: pointer;
      font-size: 11px;
      display: inline-flex;
      align-items: center;
      transition: background-color 0.15s ease, border-color 0.15s ease;
    }
    .history-copy-btn:hover {
      background: var(--info-bg);
      border-color: var(--info);
    }

    .history-meta-grid {
      display: grid;
      grid-template-columns: 85px minmax(0, 1fr);
      margin: 0;
      padding: 10px 12px;
      gap: 8px 12px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
    }
    .history-meta-grid dt {
      color: var(--text-muted);
      font-size: 12px;
    }
    .history-meta-grid dd {
      margin: 0;
      color: var(--text-main);
      font-size: 12px;
      font-weight: 600;
      overflow-wrap: anywhere;
    }

    .history-text-section {
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      background: var(--bg-inset);
    }
    .history-text-section h3 {
      margin: 0;
      padding: 8px 12px;
      background: var(--bg-inset);
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
      border-bottom: 1px solid var(--border);
    }

    .history-full-text {
      min-height: 40px;
      padding: 10px 12px;
      color: var(--text-main);
      font-size: 12.5px;
      line-height: 1.6;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      word-break: break-word;
      user-select: text;
    }

    .history-inline-link {
      color: var(--info);
      text-decoration: underline;
      font-weight: 700;
    }
    .history-part-code {
      border: 1px solid var(--border);
      background: var(--bg-card);
      color: var(--accent);
      border-radius: 4px;
      padding: 1px 5px;
      font-size: 11px;
      font-family: monospace;
      cursor: pointer;
      margin: 0 2px;
    }
    .history-part-code:hover {
      background: var(--bg-card-hover);
      border-color: var(--accent);
    }

    /* ==========================================================================
       Version Badge Popover / Sheet (#versionPopover)
       ========================================================================== */
    .version-popover-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1050;
      background: var(--bg-overlay);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
    }

    .version-popover {
      position: fixed;
      z-index: 1051;
      top: 60px;
      left: 16px;
      width: calc(100vw - 32px);
      max-width: 360px;
      background: var(--bg-panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 16px;
      color: var(--text-main);
      animation: version-popover-in 0.15s ease-out;
    }

    @keyframes version-popover-in {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .version-popover-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }

    .version-popover-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-main);
      margin: 0;
    }

    .version-popover-close {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: var(--version-badge-touch-target);
      min-height: var(--version-badge-touch-target);
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 18px;
      padding: 0;
      border-radius: var(--radius-sm);
    }

    .version-popover-close:hover,
    .version-popover-close:focus-visible {
      color: var(--text-main);
      background: var(--bg-card-hover);
    }

    .version-popover-body {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .version-popover-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      font-size: 12px;
      gap: 12px;
    }

    .version-popover-label {
      color: var(--text-muted);
      flex-shrink: 0;
    }

    .version-popover-val {
      color: var(--text-main);
      font-family: monospace;
      font-weight: 500;
      text-align: right;
      word-break: break-all;
    }

    .version-popover-val.is-dirty {
      color: var(--warning);
    }

    .version-popover-val.is-clean {
      color: var(--success);
    }

    /* Unlinked Reservation Cancellation Modal (#unlinkedReservationModal) */
    .unlinked-reservation-sheet {
      max-width: var(--unlinked-reservation-max-width);
      margin: auto;
      padding: 20px;
    }

    .unlinked-reservation-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      border-bottom: 1px solid var(--border);
      padding-bottom: 10px;
    }

    .unlinked-reservation-title {
      margin: 0;
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
    }

    .unlinked-reservation-body {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .unlinked-res-notice {
      margin: 0;
      font-size: 13px;
      line-height: 1.5;
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      background: var(--warning-bg);
      border: 1px solid var(--warning-border);
      color: var(--warning-fg);
    }

    .unlinked-res-card {
      background: var(--bg-inset);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 16px;
    }

    .unlinked-res-dl {
      display: grid;
      grid-template-columns: 110px 1fr;
      row-gap: 8px;
      column-gap: 8px;
      margin: 0;
      font-size: 13px;
    }

    .unlinked-res-dt {
      color: var(--text-muted);
      font-weight: 500;
    }

    .unlinked-res-dd {
      margin: 0;
      color: var(--text-main);
    }

    .unlinked-res-dd-strong {
      font-weight: 700;
    }

    .unlinked-res-dd-mono {
      font-family: monospace;
      font-weight: 600;
      color: var(--text-secondary);
      word-break: break-all;
    }

    .unlinked-res-initial-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      margin-top: 6px;
    }

    .unlinked-res-initial-actions .btn,
    .unlinked-reservation-topbar .ticket-modal-close-x {
      min-width: 44px;
      min-height: 44px;
    }
  }
}

/* ==========================================================================
   Config-Driven Scheduled Collection Settings Modal (#syncSettingsModal)
   ========================================================================== */
.header-actions .btn-sync-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--header-touch-target);
  width: var(--header-touch-target);
  height: var(--header-touch-target);
  padding: 0;
  margin-left: auto;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  box-shadow: none;
  cursor: pointer;
}
.header-actions .btn-sync-settings + .btn-refresh {
  margin-left: 0;
}
.header-actions .btn-sync-settings:hover,
.header-actions .btn-sync-settings:focus-visible {
  background: var(--bg-card-hover);
  border-color: var(--border);
  color: var(--accent);
}
.header-actions .btn-sync-settings:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -3px;
}
.header-actions .sync-settings-icon {
  font-size: 20px;
  line-height: 1;
}

@media (min-width: 769px) {
  .sync-settings-sheet {
    width: 680px;
  }
}
.sync-settings-title {
  margin: 0;
  font-size: 16px;
}
.sync-settings-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 18px 18px 18px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.sync-settings-card {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sync-settings-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sync-mode-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sync-mode-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  color: var(--text-main);
}
.sync-mode-option.is-active {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}
.sync-mode-option-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.sync-mode-option-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.sync-days-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sync-day-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
}
.sync-day-chip.is-selected {
  border-color: var(--border-highlight);
  color: var(--text-main);
  background: var(--bg-card-hover);
}
.sync-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.sync-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sync-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.sync-field input[type="time"],
.sync-field input[type="number"] {
  min-height: 36px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-main);
  font-size: 13px;
}
.sync-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}
.sync-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--text-subtle);
}
.sync-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
}
.sync-pill-badge.is-ok {
  border-color: var(--success-border);
  background: var(--success-bg);
  color: var(--success);
}
.sync-pill-badge.is-warn {
  border-color: var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-fg);
}
.sync-settings-error {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--danger-border);
  background: var(--danger-bg);
  color: var(--danger-fg);
  font-size: 12px;
}
.sync-settings-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 520px) {
  .sync-mode-group {
    grid-template-columns: 1fr;
  }
}
