.connection-workspace { width: 100%; max-width: 1480px; margin: 0 auto; }
.connection-workspace .page-heading { margin-bottom: 20px; }
.connection-sync-panel,.connection-list { background: #fff; border: 1px solid #d9e3dc; border-radius: 14px; box-shadow: 0 2px 12px #173c2810; }
.connection-sync-panel { padding: 18px 22px; margin-bottom: 20px; }
.connection-sync-heading,.connection-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.connection-sync-heading h2,.connection-list-heading h2 { margin: 0; color: #173d30; font-size: 16px; font-weight: 750; }
.connection-sync-heading > div > span,.connection-list-heading > span { color: #718579; font-size: 12px; }
.connection-sync-heading > div > span { display: block; margin-top: 3px; }
.connection-sync-form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.connection-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #254537; font-size: 13px; font-weight: 700; }
.connection-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.connection-switch-track { width: 38px; height: 22px; border-radius: 20px; background: #aebdb2; position: relative; transition: background .15s; }
.connection-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 3px #0002; transition: transform .15s; }
.connection-switch input:checked + .connection-switch-track { background: #15583e; }
.connection-switch input:checked + .connection-switch-track::after { transform: translateX(16px); }
.connection-switch input:focus-visible + .connection-switch-track { outline: 3px solid #8acaa6; outline-offset: 2px; }
.connection-interval { height: 36px; min-width: 92px; padding: 0 8px; border: 1px solid #d8e3db; border-radius: 8px; background: white; color: #254537; }
.connection-save { cursor: pointer; }
.connection-list-heading { padding: 18px 22px 14px; border-bottom: 1px solid #e9efea; }
.connection-table-scroll { overflow-x: auto; }
.connection-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.connection-table th { padding: 10px 18px; text-align: left; color: #779083; background: #f7faf8; font-size: 11px; font-weight: 700; }
.connection-table td { padding: 11px 18px; border-top: 1px solid #edf1ed; color: #345645; font-size: 13px; vertical-align: middle; }
.connection-table th:first-child { width: 34%; }
.connection-table th:nth-child(2) { width: 20%; }
.connection-table th:nth-child(3) { width: 37%; }
.connection-table th:last-child { width: 9%; }
.connection-store-name strong { font-size: 14px; font-weight: 700; }
.connection-last-sync { color: #6d8273 !important; white-space: nowrap; }
.connection-dispatch-form { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #dce7df; background: #f5f8f5; border-radius: 9px; white-space: nowrap; }
.connection-dispatch-option { border: 0; border-radius: 6px; padding: 7px 10px; background: transparent; color: #637a6b; font-size: 12px; font-weight: 650; cursor: pointer; }
.connection-dispatch-option:hover { color: #154a34; background: #e8f1e9; }
.connection-dispatch-option.is-selected { color: white; background: #15583e; box-shadow: 0 1px 4px #123d2824; }
.connection-dispatch-option:focus-visible,.connection-row-actions summary:focus-visible { outline: 3px solid #8acaa6; outline-offset: 2px; }
.connection-dispatch-readonly { color: #42654e; font-weight: 650; }
.connection-row-actions { text-align: right; white-space: nowrap; }
.connection-row-actions details { position: relative; display: inline-block; }
.connection-row-actions summary { list-style: none; color: #5d7564; cursor: pointer; }
.connection-row-actions summary::-webkit-details-marker { display: none; }
.connection-row-actions details form { position: absolute; z-index: 2; right: 0; top: 28px; min-width: 108px; padding: 5px; border: 1px solid #dce7df; border-radius: 8px; background: white; box-shadow: 0 8px 18px #123d281e; }
.connection-delete { width: 100%; padding: 7px 9px; border: 0; border-radius: 5px; background: white; color: #a03939; cursor: pointer; }
.connection-delete:hover { background: #fff2f0; }
.connection-empty { padding: 32px 22px; color: #6d8273; }
.connection-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .connection-sync-heading { align-items: flex-start; flex-direction: column; }
  .connection-sync-panel { padding: 16px; }
  .connection-list-heading { padding-inline: 16px; }
  .connection-table { min-width: 640px; }
}
