/* Approved Connections Studio 07. All rules are scoped; shared shell stays intact. */
#appShell.ui-workspace #paneConnections.connections-studio,body:has(#appShell.ui-workspace) #connectionsEditorModal,body:has(#appShell.ui-workspace) #connectionsNotificationModal{--ui-font-sans:var(--workspace-font-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--ui-surface:#fff;--ui-surface-muted:#f8f9fb;--ui-ink:#172234;--ui-ink-secondary:#758094;--ui-line:#e8ecf1;--ui-blue:#176cf0;--ui-blue-soft:#eff5ff;--ui-green:#238468;--ui-amber:#a16b27;--ui-amber-soft:#fdf7eb}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsNotificationModal{--ui-surface:#182231;--ui-surface-muted:#1d293a;--ui-ink:#e8edf6;--ui-ink-secondary:#98a7bd;--ui-line:#2c3a4e;--ui-blue:#70aaff;--ui-blue-soft:#233b5a;--ui-green:#75c9a8;--ui-amber:#dfb575;--ui-amber-soft:#392f21;color-scheme:dark}
#appShell.ui-workspace #paneConnections.connections-studio{display:block;min-width:0;color:var(--ui-ink);font-family:var(--ui-font-sans)}
#appShell.ui-workspace #paneConnections.connections-studio [hidden],body:has(#appShell.ui-workspace) #connectionsEditorModal [hidden],body:has(#appShell.ui-workspace) #connectionsNotificationModal [hidden]{display:none!important}
#appShell.ui-workspace #paneConnections.connections-studio .connections-hub{display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading,#appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading>div,#appShell.ui-workspace #paneConnections.connections-studio .cs-actions,#appShell.ui-workspace #paneConnections.connections-studio .cs-between{display:flex;align-items:center;justify-content:space-between;gap:14px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading{margin:0 0 17px;justify-content:flex-end}
#appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading h2{font:750 28px/1.3 var(--ui-font-sans);letter-spacing:-1px;margin:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-actions button{font-size:12px;min-height:38px;padding:9px 14px;border-radius:8px;box-shadow:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary{display:flex;align-items:center;gap:22px;font-size:12px;color:var(--ui-ink-secondary);margin-bottom:25px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary>span,#appShell.ui-workspace #paneConnections.connections-studio .cs-summary>button{display:flex;align-items:center;gap:7px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary strong{font-size:12px;color:var(--ui-ink);font-weight:700}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary>button{padding:0;min-height:0;border:0;background:none;color:var(--ui-amber);font-size:12px;box-shadow:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary>button strong{color:var(--ui-amber)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary i,#appShell.ui-workspace #paneConnections.connections-studio .cs-status i,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-status i{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary .cs-healthy i{color:var(--ui-green)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-summary-end{margin-left:auto}
#appShell.ui-workspace #paneConnections.connections-studio .cs-viewbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ui-line);margin-bottom:24px;gap:12px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-tabs{display:flex;gap:26px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-tabs button{padding:0 0 14px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--ui-ink-secondary);font-size:12px;min-height:0;font-weight:600;box-shadow:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-tabs button[aria-selected=true]{color:var(--ui-ink);border-bottom-color:var(--ui-ink);font-weight:750}
#appShell.ui-workspace #paneConnections.connections-studio .cs-tabs button>span{padding:1px 5px;margin-left:6px;border:1px solid var(--ui-line);border-radius:4px;background:var(--ui-surface);font-size:10px}
#appShell.ui-workspace #paneConnections.connections-studio #connectionsHubUpdated{font-size:10px;color:var(--ui-ink-secondary);padding-bottom:14px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-directory{border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-surface);overflow:hidden;box-shadow:0 4px 20px #17223403}
#appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 18px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading h3{margin:0;font:750 15px/1.4 var(--ui-font-sans);letter-spacing:-.3px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading>span{font-size:11px;color:var(--ui-ink-secondary)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading b{font-weight:500}
#appShell.ui-workspace #paneConnections.connections-studio .cs-command{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 24px 20px;flex-wrap:wrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-filters{display:flex;gap:2px;padding:3px;background:var(--ui-surface-muted);border-radius:7px;max-width:100%;flex-wrap:wrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-filters button{font-size:11px;padding:6px 10px;border:1px solid transparent;border-radius:5px;min-height:30px;color:var(--ui-ink-secondary);background:none;box-shadow:none;white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-filters button[aria-pressed=true]{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-ink);box-shadow:0 1px 3px #2436520a}
#appShell.ui-workspace #paneConnections.connections-studio .cs-status-tools{display:flex;align-items:center;justify-content:flex-end}
#appShell.ui-workspace #paneConnections.connections-studio .cs-status-tools select{width:auto;max-width:150px;height:35px;min-height:35px;padding:7px 11px;margin:0;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);font:500 11px/1.5 var(--ui-font-sans);color:var(--ui-ink)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-columns,#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row{display:grid;grid-template-columns:minmax(155px,1fr) minmax(175px,1.5fr) minmax(150px,1fr) 126px 24px;gap:20px;align-items:center;padding-inline:24px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-columns{padding-block:10px;background:var(--ui-surface-muted);border-block:1px solid var(--ui-line);color:var(--ui-ink-secondary);font-size:10px;font-weight:600}
#appShell.ui-workspace #paneConnections.connections-studio .connections-hub-grid{display:block;padding:0;gap:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row{width:100%;position:relative;min-height:80px;padding-block:15px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;margin:0;background:var(--ui-surface);box-shadow:none;text-align:left;color:var(--ui-ink);white-space:normal;font-weight:500;transition:background .15s}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row:last-child{border-bottom:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row:hover{background:var(--ui-blue-soft)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row.is-newly-linked{background:var(--ui-blue-soft);box-shadow:inset 3px 0 var(--ui-blue)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row::before{content:"";position:absolute;left:0;top:17px;bottom:17px;width:3px;background:var(--ui-blue);border-radius:0 3px 3px 0;opacity:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row:hover::before,#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row:focus-visible::before{opacity:1}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-brand,#appShell.ui-workspace #paneConnections.connections-studio .cs-account-copy,#appShell.ui-workspace #paneConnections.connections-studio .cs-schedule-copy{min-width:0}
#appShell.ui-workspace #paneConnections.connections-studio .connections-provider-mark,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-mark{width:140px;height:34px;flex:none;padding:5px 8px;background:#fff;border:0;border-radius:6px;box-shadow:none;display:flex;align-items:center}
#appShell.ui-workspace #paneConnections.connections-studio .connections-provider-mark img,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-mark img{width:100%;height:100%;object-fit:contain;object-position:left center}
/* The supplied wordmark has transparent vertical padding; crop the padding, not the mark. */
#appShell.ui-workspace #paneConnections.connections-studio .connections-provider-mark.is-ticketevolution img,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-mark.is-ticketevolution img{object-fit:cover;object-position:center}
#appShell.ui-workspace #paneConnections.connections-studio .connections-provider-mark .cs-logo-dark,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-mark .cs-logo-dark{display:none}
#appShell.ui-workspace #paneConnections.connections-studio .connections-provider-mark.is-tickpick img,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-mark.is-tickpick img{filter:invert(1) hue-rotate(180deg)}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark:is(.is-tickpick,.is-vivid,.is-gotickets),body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark:is(.is-tickpick,.is-vivid,.is-gotickets){background:transparent}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark .cs-logo-light,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark .cs-logo-light{display:none}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark .cs-logo-dark,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark .cs-logo-dark{display:block}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark.is-tickpick img,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark.is-tickpick img{filter:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-brand>small{display:block;font-size:9px;color:var(--ui-ink-secondary);margin:4px 0 0 7px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-account-copy strong,#appShell.ui-workspace #paneConnections.connections-studio .cs-schedule-copy strong{display:block;font-size:12px;font-weight:650;letter-spacing:-.1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-account-copy small,#appShell.ui-workspace #paneConnections.connections-studio .cs-schedule-copy small{display:block;font-size:10px;line-height:1.6;font-weight:450;color:var(--ui-ink-secondary);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-status,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-status{display:inline-flex;justify-self:start;align-items:center;gap:7px;padding:4px 7px;font-size:10px;font-weight:600;white-space:nowrap;border-radius:5px;color:var(--ui-ink-secondary)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-status.is-connected,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-status.is-connected{color:var(--ui-green)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-status.is-attention,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-status.is-attention{background:var(--ui-amber-soft);color:var(--ui-amber);font-size:9px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-status.is-available i,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-status.is-available i{background:none;border:1px solid currentColor;width:6px;height:6px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-row-arrow{font-size:17px;color:var(--ui-ink-secondary);justify-self:end}
#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row:hover .cs-row-arrow{color:var(--ui-blue)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-directory-foot{padding:14px 24px;border-top:1px solid var(--ui-line);display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--ui-ink-secondary)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-empty{text-align:center;padding:28px 20px;font-size:12px;color:var(--ui-ink-secondary);margin:0;line-height:1.8}
#appShell.ui-workspace #paneConnections.connections-studio .cs-empty p{margin:6px 0 12px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-link,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-link{background:none;box-shadow:none;min-height:0;border:0;padding:3px 0;color:var(--ui-blue);font-size:11px;font-weight:650;border-radius:4px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-attention{margin-top:16px;padding:13px 17px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-amber-soft);color:var(--ui-amber);font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:16px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-attention .cs-link{color:var(--ui-amber);white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-bottom-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:19px;margin-top:22px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-panel{border:1px solid var(--ui-line);border-radius:11px;padding:23px 24px;background:var(--ui-surface)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-panel h3{font:700 14px/1.5 var(--ui-font-sans);letter-spacing:-.25px;margin:7px 0 0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-panel p{font-size:12px;color:var(--ui-ink-secondary);line-height:1.8;margin:16px 0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-eyebrow,body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-eyebrow,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-eyebrow{font-size:9px;letter-spacing:1.1px;font-weight:600;text-transform:uppercase;color:var(--ui-ink-secondary)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--ui-line);font-size:11px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row:last-child{border:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row strong,#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row span{display:block}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row strong{font-size:12px;font-weight:650}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row div>span{font-size:10px;color:var(--ui-ink-secondary);margin-top:4px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row time{margin-left:auto;font-size:10px;color:var(--ui-ink-secondary);white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-activity-dot{width:6px;height:6px;flex:none;border-radius:50%;background:var(--ui-blue-soft);border:1px solid var(--ui-blue)}
#appShell.ui-workspace #paneConnections.connections-studio #connectionsRecentActivity .cs-activity-row{padding:12px 0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-section-heading{margin-bottom:20px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-section-heading h3{font-size:17px;margin:0 0 7px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-section-heading p{font-size:12px;color:var(--ui-ink-secondary);margin:0}
#appShell.ui-workspace #paneConnections.connections-studio .connections-notifications{border:0;border-radius:0;background:none;padding:0;margin:0}
#appShell.ui-workspace #paneConnections.connections-studio .connections-notifications-header{border:0;padding:0 0 22px}
#appShell.ui-workspace #paneConnections.connections-studio .connections-notification-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:12px;overflow:hidden}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary{padding:23px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-surface);min-width:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary h3{font-size:16px;letter-spacing:-.3px;margin:8px 0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary p{font-size:12px;line-height:1.8;color:var(--ui-ink-secondary);margin:0 0 18px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary>button{font-size:12px;padding:8px 12px;min-height:35px;border-radius:7px}
body:has(#appShell.ui-workspace) #connectionsEditorModal,body:has(#appShell.ui-workspace) #connectionsNotificationModal{padding:18px;justify-content:center;align-items:center;background:#11213740;backdrop-filter:blur(3px)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-panel,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel{display:flex;flex-direction:column;gap:0;width:min(580px,100%);max-width:580px;max-height:calc(100dvh - 36px);height:auto;min-height:0;padding:0;margin:0;border:1px solid var(--ui-line);border-radius:14px;box-shadow:0 20px 80px #10213924;overflow:hidden;background:var(--ui-surface);color:var(--ui-ink);font-family:var(--ui-font-sans)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-panel>header,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 28px 16px;border-bottom:1px solid var(--ui-line);flex:none;margin:0;background:var(--ui-surface)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-panel>header h3,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>header h3{font:750 24px/1.3 var(--ui-font-sans);letter-spacing:-.9px;margin:5px 0 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-hub-kicker{font-size:9px;color:var(--ui-ink-secondary);letter-spacing:1.1px;text-transform:uppercase}
body:has(#appShell.ui-workspace) #connectionsEditorModal #connectionsEditorClose,body:has(#appShell.ui-workspace) #connectionsNotificationModal #connectionsNotificationClose{font-size:11px;padding:6px 10px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface-muted);color:var(--ui-ink-secondary);min-height:30px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview{display:flex;flex-direction:column;flex:0 1 auto;min-height:0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 28px;flex:0 1 auto}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-hero{border:1px solid var(--ui-line);border-radius:10px;overflow:hidden}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-hero>div{display:flex;align-items:center;justify-content:space-between;padding:20px;gap:12px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-hero .connections-provider-mark{width:168px;height:42px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-hero footer{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--ui-surface-muted);border-top:1px solid var(--ui-line);font-size:10px;color:var(--ui-ink-secondary);padding:11px 16px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-accounts{padding-top:18px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-account-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-account-switcher button{min-height:70px;padding:13px 14px;border:1px solid var(--ui-line);border-radius:8px;text-align:left;background:var(--ui-surface);color:var(--ui-ink);box-shadow:none;white-space:normal}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-account-switcher button:only-child{grid-column:1/-1}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-account-switcher button[aria-pressed=true]{border-color:var(--ui-blue);background:var(--ui-blue-soft)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-account-switcher strong{font-size:12px;font-weight:650;display:block;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-account-switcher small{font-size:10px;color:var(--ui-ink-secondary);display:block;margin-top:5px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-facts>div+div{border-left:1px solid var(--ui-line);padding-left:20px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-facts span{display:block;font-size:11px;color:var(--ui-ink-secondary);margin-bottom:7px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-facts strong{font-size:12px;line-height:1.7;font-weight:600;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-section{border-top:1px solid var(--ui-line);padding:22px 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-section h4{font-size:13px;margin:0;font-weight:700}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-schedule-card{margin-top:14px;padding:17px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-muted)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-schedule-card strong{font-size:12px;line-height:1.8}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-schedule-card p{font-size:11px;line-height:1.8;color:var(--ui-ink-secondary);margin:7px 0 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-capabilities{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-capabilities span{padding:5px 8px;font-size:10px;border:1px solid var(--ui-line);border-radius:5px;background:var(--ui-surface-muted);color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-details{padding:15px 17px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface-muted);font-size:11px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-details summary{font-size:11px;cursor:pointer;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-details p{line-height:1.8;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-details dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:13px;line-height:1.8}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-details dt{color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-details dd{margin:0;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-warning{padding:14px 16px;border-radius:8px;margin-top:20px;background:var(--ui-amber-soft);color:var(--ui-amber);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-warning p{margin:6px 0 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-available{text-align:center;padding:32px 8px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-available h4{font-size:23px;letter-spacing:-.6px;margin:0 0 15px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-available p{font-size:12px;line-height:1.9;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-available .cs-capabilities{justify-content:center}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-actions,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>footer{padding:14px 24px;border-top:1px solid var(--ui-line);display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--ui-surface);flex:none}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-actions small,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>footer>span{font-size:10px;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-actions>div{display:flex;gap:8px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-actions button,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>footer button{font-size:12px;padding:9px 13px;border-radius:8px;min-height:37px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-form{display:block;overflow:auto;overscroll-behavior:contain;min-height:0;flex:0 1 auto;padding:18px 28px 0;margin:0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-navigation{display:flex;flex-direction:column;gap:16px;align-items:flex-start;margin-bottom:17px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-navigation>div{display:flex;gap:3px;padding:4px;background:var(--ui-surface-muted);border:1px solid var(--ui-line);border-radius:8px;width:100%}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-navigation>div>button{flex:1;border:1px solid transparent;border-radius:5px;background:none;box-shadow:none;font-size:12px;padding:8px 12px;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-navigation>div>button[aria-pressed=true]{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-ink);font-weight:700}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview{padding:17px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-muted);margin:0 0 16px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview :is(p,strong,span){font-size:11px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field>span{font-size:12px;color:var(--ui-ink-secondary);font-weight:600}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field input,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field select{width:100%;max-width:none;min-height:40px;padding:10px 12px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);color:var(--ui-ink);font:500 12px/1.6 var(--ui-font-sans)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-help{padding:14px 16px;font-size:11px;line-height:1.8;border:1px solid var(--ui-line);background:var(--ui-surface-muted);color:var(--ui-ink-secondary);border-radius:8px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-schedule{padding:0;border:0;background:none;border-radius:0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-schedule h4{font-size:15px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-schedule p{font-size:12px;line-height:1.8}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-schedule-toggle{font-size:12px;display:flex;gap:10px;align-items:center;margin:20px 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-actions{position:sticky;bottom:0;z-index:1;display:flex;gap:8px;padding:14px 0;margin:14px 0 0;border-top:1px solid var(--ui-line);background:var(--ui-surface);box-shadow:0 -8px 15px var(--ui-surface)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-actions button,body:has(#appShell.ui-workspace) #connectionsEditorModal #connectionsEditorScheduleSave{font-size:12px;min-height:37px;border-radius:7px;padding:9px 12px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-picker{padding:18px 28px;overflow:auto;flex:0 1 auto;min-height:0;margin:0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-picker-intro{font-size:12px;line-height:1.8;margin-bottom:22px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-picker-intro h4{font-size:18px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-picker-grid{display:grid;grid-template-columns:1fr;gap:10px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice-copy strong{font-size:12px;color:var(--ui-ink)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice-copy small,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice-limit{font-size:10px;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice-limit{margin-left:auto}
body:has(#appShell.ui-workspace) #connectionsNotificationModal #connectionsNotificationBody{overflow:auto;padding:18px 28px;min-height:0;flex:0 1 auto;overscroll-behavior:contain}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-card{padding:0;border:0;box-shadow:none;background:none;display:block}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-card-head{display:none}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .utility-destination-settings{margin:0;padding:0;border:0;display:block}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .utility-destination-settings>summary{display:none}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-channels{display:grid;grid-template-columns:1fr;gap:17px;margin:0}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-channel{padding:19px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface);min-width:0}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-channel label{font-size:12px}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-channel input[type=password]{width:100%;min-height:40px;font-size:12px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);color:var(--ui-ink);margin:10px 0;padding:10px 12px}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-channel-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}
body:has(#appShell.ui-workspace) #connectionsNotificationModal button{font-size:11px;min-height:35px;border-radius:7px;padding:8px 12px}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .connections-notification-save-state,body:has(#appShell.ui-workspace) #connectionsNotificationModal [data-notification-status]{font-size:11px;line-height:1.8;display:block}
#appShell.ui-workspace #paneConnections.connections-studio button:focus-visible,body:has(#appShell.ui-workspace) #connectionsEditorModal button:focus-visible,body:has(#appShell.ui-workspace) #connectionsNotificationModal button:focus-visible{outline:2px solid var(--ui-blue);outline-offset:3px}
body:has(#appShell.ui-workspace) #connectionsEditorModal.show .connections-editor-panel,body:has(#appShell.ui-workspace) #connectionsNotificationModal.show .cs-notification-panel{animation:cs-sheet-in .2s ease-out}
@keyframes cs-sheet-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:1200px){
 #appShell.ui-workspace #paneConnections.connections-studio .cs-columns,#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row{grid-template-columns:145px minmax(130px,1.2fr) minmax(100px,1fr) 105px 18px;gap:14px;padding-inline:20px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row .connections-provider-mark{width:130px;height:32px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-status{font-size:9px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-status.is-attention{font-size:8px}
}
@media(max-width:950px){
 #appShell.ui-workspace #paneConnections.connections-studio .cs-columns,#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row{grid-template-columns:145px minmax(140px,1fr) 110px 20px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-schedule-copy,#appShell.ui-workspace #paneConnections.connections-studio .cs-columns>span:nth-child(3){display:none}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading>div>span{display:none}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-bottom-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
 #appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading h2{font-size:23px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-page-heading{flex-wrap:wrap}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-actions{gap:6px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-actions button{padding:8px 10px;font-size:10px;min-height:35px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-summary{gap:12px;font-size:10px;flex-wrap:wrap}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-summary>button,#appShell.ui-workspace #paneConnections.connections-studio .cs-summary strong{font-size:10px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-summary-end{display:none}
 #appShell.ui-workspace #paneConnections.connections-studio #connectionsHubUpdated{display:none}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-tabs{gap:23px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-tabs button{font-size:11px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading{padding:18px 16px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading h3{font-size:13px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-directory-heading>span{font-size:9px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-command{display:block;padding:0 16px 17px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-filters{justify-content:space-between;margin-bottom:12px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-filters button{font-size:9px;padding:6px 7px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-status-tools{width:100%;justify-content:flex-start}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-status-tools select{font-size:10px;max-width:135px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-columns{display:none}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row{grid-template-columns:125px minmax(0,1fr) 18px;gap:6px 11px;padding:15px 16px;min-height:85px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-provider-brand{grid-row:1/3}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row .connections-provider-mark{width:119px;height:30px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-account-copy{grid-column:2;grid-row:1}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-account-copy strong{font-size:11px;white-space:normal}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-account-copy small{display:none}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-status{grid-column:2;grid-row:2;padding:2px 0}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-status.is-attention{padding:3px 5px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-row-arrow{grid-column:3;grid-row:1/3}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-directory-foot{font-size:9px;padding:13px 16px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-directory-foot>span:last-child{display:none}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-attention{align-items:flex-start;flex-direction:column;gap:7px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-panel{padding:20px}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row{flex-wrap:wrap}
 #appShell.ui-workspace #paneConnections.connections-studio .cs-activity-row time{white-space:normal}
 #appShell.ui-workspace #paneConnections.connections-studio .connections-notification-grid{grid-template-columns:1fr}
 body:has(#appShell.ui-workspace) #connectionsEditorModal,body:has(#appShell.ui-workspace) #connectionsNotificationModal{padding:12px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-panel,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel{width:100%;max-width:none;max-height:calc(100dvh - 24px)}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-panel>header,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>header{padding:18px 21px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-body,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-form,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-picker,body:has(#appShell.ui-workspace) #connectionsNotificationModal #connectionsNotificationBody{padding-inline:21px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-hero .connections-provider-mark{width:140px;height:38px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-hero footer{font-size:9px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-actions,body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel>footer{padding:15px 19px;flex-wrap:wrap}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice{gap:10px;flex-wrap:wrap}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-choice .connections-provider-mark{width:125px;height:33px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-overview-actions>small{font-size:9px}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-actions{flex-wrap:wrap}
}
#appShell.ui-workspace #paneConnections.connections-studio #connectionsNotifications{container-type:inline-size;container-name:cs-notifications}
body:has(#appShell.ui-workspace) #connectionsNotificationModal button{font-family:var(--ui-font-sans);border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);color:var(--ui-ink);padding:9px 12px;box-shadow:none}
body:has(#appShell.ui-workspace) #connectionsNotificationModal :is([data-notification-save],#connectionsWorkflowAlertsSave,#connectionsNotificationDone){background:var(--ui-blue);border-color:var(--ui-blue);color:var(--workspace-primary-ink,#fff)}
body:has(#appShell.ui-workspace) #connectionsNotificationModal :is([data-notification-remove],#connectionsWorkflowAlertsRemove){color:var(--ui-danger,#c33a43)}
body:has(#appShell.ui-workspace) #connectionsNotificationModal button:disabled{opacity:.5;cursor:wait}
@container cs-notifications (max-width:900px){
 #appShell.ui-workspace #paneConnections.connections-studio .connections-notification-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){body:has(#appShell.ui-workspace) #connectionsEditorModal.show .connections-editor-panel,body:has(#appShell.ui-workspace) #connectionsNotificationModal.show .cs-notification-panel{animation:none}#appShell.ui-workspace #paneConnections.connections-studio .cs-provider-row{transition:none}}
/* Read-only bank connections share the Connections surfaces and table tokens. */
#appShell.ui-workspace #paneConnections #connectionsBanks .cs-panel { padding:24px; margin:16px 0; min-width:0; }
#appShell.ui-workspace #paneConnections #connectionsBanks .cs-actions { flex-wrap:wrap; justify-content:flex-start; margin:16px 0; }
#connectionsBanks .cs-actions label { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#connectionsBanks .table-wrap { max-width:100%; overflow:auto; }
#connectionsBanks table { width:100%; min-width:660px; border-collapse:collapse; }
#connectionsBanks th, #connectionsBanks td { padding:12px; text-align:left; border-bottom:1px solid var(--ui-line); }
#connectionsBanks input[type=checkbox] { width:auto; }
#plaidConnections h4 { overflow-wrap:anywhere; }
#connectionsBanks .plaid-provider-logo, .connections-provider-choice .plaid-provider-logo { width:100px; height:38px; object-fit:contain; }
#plaidLinkTitle { display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
#connectionsBanks #plaidState:empty, #connectionsBanks #plaidActionStatus:empty, #connectionsBanks #plaidPending:empty { display:none; }
#appShell[data-ui-theme="dark"] .plaid-provider-logo, body:has(#appShell[data-ui-theme="dark"]) .connections-provider-mark.is-plaid img { filter:invert(1); }
#connectionsNotifications { padding:20px; }
#connectionsBanks .plaid-bank-heading { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
#connectionsBanks .plaid-bank-logo { display:grid; place-items:center; width:40px; height:40px; border:1px solid var(--ui-line); border-radius:9px; background:var(--ui-surface,#fff); color:var(--ui-blue,#1474ed); font-size:18px; font-weight:750; overflow:hidden; }
#connectionsBanks .plaid-bank-logo img { display:block; width:100%; height:100%; object-fit:contain; }
#appShell.ui-workspace #paneConnections.connections-studio #connectionsBanks .cs-provider-row { border-top:1px solid var(--ui-line); }
#connectionsBanks .plaid-bank-title { flex:1; min-width:160px; }
#connectionsBanks .plaid-bank-title h4 { margin:0 0 5px; font-size:21px; }
#connectionsBanks .plaid-bank-title p { margin:0; overflow-wrap:anywhere; }
#connectionsBanks .plaid-bank-badge { padding:6px 12px; border-radius:999px; background:var(--ui-surface-muted,#eef2f7); font-size:13px; font-weight:650; text-transform:capitalize; }
#connectionsBanks .plaid-bank-badge.is-connected { color:var(--ui-green,#087653); background:var(--ui-green-soft,#e6f6ee); }
#connectionsBanks .plaid-bank-notice { margin:0; color:var(--ui-ink-secondary,#6d7b90); }
#connectionsBanks .plaid-bank-error { color:var(--ui-red,#be3434); }
#connectionsBanks .plaid-bank-more { margin-top:16px; font-size:14px; }
#connectionsBanks .plaid-bank-more summary { cursor:pointer; color:var(--ui-ink-secondary,#6d7b90); padding:8px 0; }
#connectionsBanks .plaid-bank-more p, #connectionsBanks .plaid-help { color:var(--ui-ink-secondary,#6d7b90); font-size:14px; }
#connectionsBanks .plaid-details-dialog { position:fixed; inset:0; margin:auto; width:min(620px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 48px); padding:24px; border:1px solid var(--ui-line); border-radius:22px; background:var(--ui-surface,#fff); color:var(--ui-ink,#192436); box-shadow:0 24px 80px #10234440; overflow:auto; box-sizing:border-box; }
#connectionsBanks .plaid-details-dialog::backdrop { background:#10234466; backdrop-filter:blur(3px); }
#connectionsBanks .plaid-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#connectionsBanks .plaid-dialog-heading h3 { margin:0; font-size:20px; }
#connectionsBanks .plaid-options-button { font-size:13px; }
#appShell.ui-workspace #panePlaid .cs-panel { background:var(--ui-surface,#fff); border:1px solid var(--ui-line); border-radius:20px; padding:24px; margin:20px 0; min-width:0; }
#panePlaid .cs-actions { display:flex; flex-wrap:wrap; align-items:end; gap:16px; margin:18px 0; }
#panePlaid .cs-actions label { display:flex; flex-direction:column; gap:7px; min-width:0; font-weight:600; font-size:13px; }
#panePlaid select { max-width:100%; min-width:180px; }
#panePlaid .cs-actions input[type=checkbox] { width:auto; }
#panePlaid .cs-actions .plaid-pending-toggle { flex-direction:row; align-items:center; min-height:40px; }
#panePlaid .plaid-pending-toggle input { margin:0; }
#panePlaid .plaid-dialog-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; flex-wrap:wrap; }
#panePlaid .plaid-help, #panePlaid #plaidBankSummary { color:var(--ui-ink-secondary,#6d7b90); font-size:14px; }
#panePlaid .table-wrap { overflow:auto; max-width:100%; }
#panePlaid table { width:100%; min-width:760px; border-collapse:collapse; }
/* Saved-day geometry must not depend on asynchronous workflow/history text. */
#panePlaid #plaidBatchWrap { min-height:360px; scrollbar-gutter:stable; overflow-anchor:none; }
#panePlaid #plaidBatchWrap table { table-layout:fixed; min-width:1510px; }
#panePlaid #plaidBatchWrap :is(th,td) { box-sizing:border-box; overflow-wrap:anywhere; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(1) { width:140px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(2) { width:190px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(3) { width:270px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(4) { width:75px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(5) { width:130px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(6) { width:95px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(7) { width:300px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(8) { width:190px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(9) { width:120px; }
#panePlaid #plaidBatchWrap :is(th,td):nth-child(10) { width:220px; }
#panePlaid #plaidBatchWrap [data-view-bank-changes] { margin-left:8px; }
#panePlaid #plaidRecordedChangesDialog { width:min(1100px,calc(100vw - 32px)); }
#plaidRecordedChangesDialog .table-wrap { overflow:auto; max-height:55dvh; }
#panePlaid #plaidBatchWrap .plaid-day-history { min-height:60px; margin-top:6px; }
#appShell.ui-workspace #plaidBatchWrap .plaid-day-history :is(.plaid-addition-badge,.plaid-removal-badge) { margin-top:2px; white-space:nowrap; font-size:11px; }
#panePlaid #plaidBatchWrap .marketplace-sync-workflow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); min-width:0; align-content:center; }
#panePlaid #plaidBatchWrap [data-bank-day] .marketplace-sync-workflow { min-height:84px; }
#panePlaid #plaidBatchWrap .marketplace-sync-workflow-step { min-width:0; box-sizing:border-box; }
#panePlaid #plaidBatchWrap .marketplace-sync-workflow-step > span:last-child { min-width:0; }
#panePlaid #plaidBatchWrap .marketplace-sync-workflow-step small { white-space:normal; }
/* Historical-review context belongs under the steps, never in the date cell.
   It fits within the row space already reserved by .plaid-day-history. */
#panePlaid #plaidBatchWrap .marketplace-sync-workflow > .plaid-type-badge { grid-column:1 / -1; justify-self:start; max-width:100%; box-sizing:border-box; white-space:normal; }
#panePlaid .plaid-history-entry { padding:16px 0; border-bottom:1px solid var(--ui-line); }
#panePlaid .plaid-history-entry p { margin:5px 0; }
#plaidHistoryRows .plaid-history-entry { padding:16px 0; border-bottom:1px solid var(--ui-line); overflow-wrap:anywhere; }
#plaidHistoryRows .plaid-history-entry p { margin:8px 0; }
#plaidHistoryRows details { margin-top:12px; }
#plaidHistoryRows details summary { cursor:pointer; }
#plaidHistoryRows li { margin:8px 0; }
#panePlaid summary { cursor:pointer; font-weight:650; }
#appShell.ui-workspace #plaidBankCards { display:grid; gap:0; border:1px solid var(--ui-line); border-radius:12px; overflow:hidden; margin:20px 0; background:var(--ui-surface-solid,#fff); box-shadow:none; }
#appShell.ui-workspace #plaidBankCards .plaid-source-card { display:grid; grid-template-columns:116px minmax(0,1fr) 172px 228px; align-items:center; gap:18px; width:100%; min-height:68px; padding:12px 18px; margin:0; border:0; border-bottom:1px solid var(--ui-line); border-radius:0; background:var(--ui-surface-solid,#fff); color:var(--ui-ink,#192436); box-shadow:none; text-align:left; font:inherit; cursor:pointer; transform:none; }
#appShell.ui-workspace #plaidBankCards .plaid-source-card:last-child { border-bottom:0; }
#appShell.ui-workspace #plaidBankCards .plaid-source-card:hover { background:var(--ui-surface-muted,#f8fafc); }
#appShell.ui-workspace #plaidBankCards .plaid-source-card:focus-visible { outline:2px solid var(--ui-blue,#1474ed); outline-offset:-3px; }
#plaidBankCards .marketplace-sync-card-logo-stage { display:grid; place-items:center; width:100%; height:38px; padding:6px 8px; border:1px solid var(--ui-line); border-radius:7px; background:var(--ui-surface-muted,#f5f7fa); color:var(--ui-blue,#1474ed); font-size:11px; line-height:1.2; text-align:center; font-weight:700; overflow:hidden; }
#plaidBankCards .marketplace-sync-card-logo-stage img { width:26px; height:26px; object-fit:contain; }
#plaidBankCards .marketplace-sync-card-summary, #plaidBankCards .marketplace-sync-card-run, #plaidBankCards .marketplace-sync-card-actions { display:flex; flex-direction:column; gap:3px; min-width:0; overflow-wrap:anywhere; }
#plaidBankCards .marketplace-sync-card-summary strong { font-size:13px; font-weight:600; }
#plaidBankCards .marketplace-sync-card-summary > span, #plaidBankCards .marketplace-sync-card-run { font-size:11px; color:var(--ui-ink-secondary,#6d7b90); }
#plaidBankCards .marketplace-sync-card-run small { font-size:9px; text-transform:uppercase; letter-spacing:.04em; }
#plaidBankCards .marketplace-sync-card-actions { flex-direction:row; justify-content:flex-end; align-items:center; gap:16px; font-size:12px; color:var(--ui-blue,#1474ed); }
#plaidBankCards .marketplace-sync-pill { border-radius:6px; padding:4px 8px; color:var(--ui-green,#087653); background:var(--ui-green-soft,#e6f6ee); }
#plaidBankCards .marketplace-sync-pill.is-attention { color:var(--ui-amber,#865d10); background:var(--ui-amber-soft,#fff4d8); }
#panePlaid .plaid-workspace-dialog { position:fixed; inset:0; margin:auto; width:min(620px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 48px); padding:24px; border:1px solid var(--ui-line); border-radius:16px; background:var(--ui-surface-solid,#fff); color:var(--ui-ink,#192436); box-shadow:0 24px 80px #10234440; overflow:auto; box-sizing:border-box; }
#panePlaid .plaid-workspace-dialog::backdrop { background:#10234466; backdrop-filter:blur(3px); }
#panePlaid #plaidPeriodPreview { width:min(1180px,calc(100vw - 40px)); max-width:calc(100vw - 40px); max-height:calc(100dvh - 40px); }
#plaidPeriodPreview .marketplace-sync-table-wrap { max-height: min(55dvh,520px); overflow:auto; }
#plaidPeriodPreview table { width:100%; min-width:600px; }
@media(max-width:700px){
  #panePlaid #plaidPeriodPreview { width:calc(100vw - 24px); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); padding:16px; }
}
#panePlaid .plaid-group-open { border:0; padding:5px; color:var(--ui-blue,#1671ec); background:none; cursor:pointer; white-space:nowrap; font:inherit; font-size:12px; }
#plaidWorkspaceStatus:empty { display:none; }
#panePlaid .plaid-table-actions { justify-content:flex-end; margin:0 0 12px; }
#panePlaid .plaid-sync-dates { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
#panePlaid .plaid-sync-dates input { min-width:0; width:100%; }
#syncWorkspaceTabs { margin:0 auto 20px; width:fit-content; max-width:100%; }
#panePlaid .plaid-auto-settings { border-block:1px solid var(--ui-line); padding:16px 0; margin:18px 0; }
#panePlaid .plaid-auto-settings label { display:flex; align-items:center; gap:10px; font-weight:600; }
#panePlaid .plaid-dialog-heading > .cs-actions { margin:0; }
#panePlaid #plaidWorkspaceStatus:empty { display:none; }
@media(max-width:1100px) { #appShell.ui-workspace #plaidBankCards .plaid-source-card { grid-template-columns:100px minmax(0,1fr) auto; gap:5px 14px; } #plaidBankCards .marketplace-sync-card-logo-stage { grid-column:1; grid-row:1/span 2; } #plaidBankCards .marketplace-sync-card-run { grid-column:2; grid-row:2; } #plaidBankCards .marketplace-sync-card-actions { grid-column:3; grid-row:1/span 2; } }
@media(max-width:700px) { #appShell.ui-workspace #plaidBankCards .plaid-source-card { grid-template-columns:92px minmax(0,1fr); gap:6px 12px; padding:12px; } #plaidBankCards .marketplace-sync-card-logo-stage { grid-row:1; } #plaidBankCards .marketplace-sync-card-run { grid-column:1/-1; grid-row:2; } #plaidBankCards .marketplace-sync-card-actions { grid-column:1/-1; grid-row:3; justify-content:space-between; } }
@media(max-width:600px) { #panePlaid .cs-actions > label { width:100%; } #panePlaid .cs-actions > button { flex:1 1 100%; } }
@media(max-width:600px) {
  #connectionsBanks .plaid-bank-badge { margin-left:80px; }
  #connectionsBanks .plaid-bank-actions button { width:100%; }
}
/* Preserve the transparent TicketNetwork artwork; no white tile in dark mode. */
#appShell .connections-provider-mark.is-ticketnetwork,body #connectionsEditorModal .connections-provider-mark.is-ticketnetwork{padding:0;border-radius:8px}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark.is-ticketnetwork,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark.is-ticketnetwork{background:transparent}
#appShell.ui-workspace[data-ui-theme="dark"] .connections-provider-mark.is-ticketnetwork img,body:has(#appShell[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark.is-ticketnetwork img{filter:brightness(0) invert(1)}
/* Keep webhook setup and alert settings on the same compact Connections scale. */
#appShell.ui-workspace #connectionsWebhooks {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#appShell.ui-workspace #connectionsWebhooks[hidden] {display:none}
#appShell.ui-workspace #poBetaAccessNotice {grid-column:1/-1;margin:0}
#appShell.ui-workspace #connectionsWebhooks .po-beta-card {margin:0;padding:22px;border-radius:11px;min-width:0;box-shadow:none}
#appShell.ui-workspace #connectionsWebhooks .po-beta-heading {gap:10px;padding-bottom:16px;border-bottom:1px solid var(--ui-line)}
#appShell.ui-workspace #connectionsWebhooks h2 {font-size:16px;letter-spacing:-.3px}
#appShell.ui-workspace #connectionsWebhooks :is(p,li),body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta p {font-size:12px;line-height:1.65;overflow-wrap:anywhere}
#appShell.ui-workspace #connectionsWebhooks :is(#poBetaState,#skyboxWebhookState) {font-size:11px;font-weight:600;padding:5px 8px;border-radius:6px;background:var(--ui-surface-muted);color:var(--ui-ink-secondary)}
#appShell.ui-workspace #connectionsWebhooks fieldset {min-width:0;margin:20px 0;padding:14px 16px;border:1px solid var(--ui-line);border-radius:8px}
#appShell.ui-workspace #connectionsWebhooks legend {padding:0 6px;font-size:12px;font-weight:600}
#appShell.ui-workspace #connectionsWebhooks .cs-setup-help {margin:16px 0;padding:12px 14px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface-muted)}
#appShell.ui-workspace #connectionsWebhooks .cs-setup-help summary {cursor:pointer;font-size:12px;font-weight:600}
#appShell.ui-workspace #connectionsWebhooks .cs-setup-help ol {padding-left:20px}
#appShell.ui-workspace #connectionsWebhooks :is(button,a) {font-size:12px}
#appShell.ui-workspace #connectionsWebhooks button {min-height:36px;padding:8px 12px;border-radius:7px}
#appShell.ui-workspace :is(#connectionsWebhooks,#connectionsSkyboxAlerts) .po-beta-check,body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .po-beta-check {display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;margin:12px 0}
#appShell.ui-workspace :is(#connectionsWebhooks,#connectionsSkyboxAlerts) .po-beta-check input,body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .po-beta-check input {flex:none;width:16px;height:16px;margin:2px 0 0}
#appShell.ui-workspace #connectionsWebhooks label:not(.po-beta-check),body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta label:not(.po-beta-check) {display:block;font-size:12px;margin:14px 0}
#appShell.ui-workspace #connectionsWebhooks :is(input:not([type=checkbox]):not([type=hidden]),select),body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta input[type=password] {display:block;box-sizing:border-box;width:100%;min-width:0;min-height:40px;margin-top:7px;padding:9px 12px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);color:var(--ui-ink);font-size:12px}
#appShell.ui-workspace #connectionsWebhooks [role=status]:empty,body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta [role=status]:empty {display:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary {padding:20px;box-shadow:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary h3 {margin:0 0 8px;font-size:15px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary > .cs-eyebrow {display:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary p {line-height:1.65;margin-bottom:14px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary > button {margin:0 6px 6px 0}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta {padding:0;margin:0;border:0;background:none}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta > h4 {display:none}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel > header h3 {font-size:18px;font-weight:650;letter-spacing:-.3px;margin:0}
body:has(#appShell.ui-workspace) #connectionsNotificationModal .cs-notification-panel > header .cs-eyebrow {display:none}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .cs-notification-subtitle{font-size:13px;margin:0 0 8px}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .connections-notification-channels{gap:12px;margin:16px 0}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .connections-notification-channel{padding:14px 16px}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .connections-notification-channel label{margin:0 0 8px}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .cs-notification-events{margin:24px 0 0;min-width:0;border:1px solid var(--ui-line);border-radius:9px;padding:12px 16px 16px}
body:has(#appShell.ui-workspace) #connectionsNotificationPoBeta .cs-notification-events legend{padding:0 6px;font-size:13px;font-weight:600}
@media(max-width:1000px){#appShell.ui-workspace #connectionsWebhooks {grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){#appShell.ui-workspace #connectionsWebhooks .po-beta-card {padding:18px}}
/* Notifications share one compact list; detailed controls stay out of the overview. */
#appShell.ui-workspace #paneConnections.connections-studio #connectionsNotifications{padding:24px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:6px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;padding:20px 24px;margin:0;background:var(--ui-surface)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary h3{grid-column:1;margin:0;font-size:14px;line-height:1.5}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary p{grid-column:1;margin:0;max-width:780px;font-size:12px;line-height:1.6}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary>.cs-notification-badges{grid-column:1;margin:3px 0 0;gap:12px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-badges .app-status{padding:0;border:0;background:transparent;font-size:11px;line-height:1.5;white-space:normal}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary>button{grid-column:2;grid-row:1/4;align-self:center;margin:0;white-space:nowrap}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-options{grid-column:1/-1;margin-top:12px;padding:0;border:0}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-options>summary{display:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-options:not([open]){display:none}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-options[open]{padding-top:16px;border-top:1px solid var(--ui-line)}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-options .connections-notification-channel-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 10px}
#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-options button{min-height:36px;padding:8px 12px;font-size:12px;border-radius:7px}
@media(max-width:600px){#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary{padding:18px;column-gap:12px}#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary>p,#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary>.cs-notification-badges{grid-column:1/-1}#appShell.ui-workspace #paneConnections.connections-studio .cs-notification-summary>button{grid-row:1}}
/* Dark-mode artwork blends into the surrounding surface, including the picker. */
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark:is(.is-quickbooks,.is-skybox,.is-tradedesk,.is-tmr,.is-seatgeek,.is-automatiq,.is-plaid,.is-reach,.is-ticketevolution),body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark:is(.is-quickbooks,.is-skybox,.is-tradedesk,.is-tmr,.is-seatgeek,.is-automatiq,.is-plaid,.is-reach,.is-ticketevolution){background:transparent}
/* The compact StubHub badge is taller than a wordmark; give it the full stage. */
#appShell.ui-workspace #paneConnections.connections-studio .connections-provider-mark.is-reach,body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-provider-mark.is-reach{padding:0;background:transparent}
#appShell.ui-workspace[data-ui-theme="dark"] #paneConnections.connections-studio .connections-provider-mark:is(.is-tmr,.is-ticketevolution) img,body:has(#appShell.ui-workspace[data-ui-theme="dark"]) #connectionsEditorModal .connections-provider-mark:is(.is-tmr,.is-ticketevolution) img{filter:brightness(0) invert(1)}

/* Shared marketplace connection details: identity, settings, then credentials. */
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .connections-editor-panel{width:min(720px,100%);max-width:720px;border-radius:18px}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .connections-editor-panel>header h3{font-size:20px;font-weight:650;letter-spacing:-.4px;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-provider-hero{border:0;border-radius:0}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-provider-hero>div{padding:4px 0 20px;align-items:center;gap:18px;flex-wrap:wrap}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-identity{flex:1;min-width:100px;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-identity strong{display:block;font-size:15px;line-height:1.5;font-weight:650}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-provider-identity small{display:block;font-size:12px;color:var(--ui-ink-secondary);margin-top:3px}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-overview-accounts{border-top:1px solid var(--ui-line);padding-top:20px}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-account-switcher button{min-height:62px;border-radius:10px}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-facts{padding:20px 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-overview-section{padding:18px 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-schedule-card{padding:14px 16px;margin-top:12px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview{padding:0;background:none;border:0;border-radius:0;margin-bottom:20px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head{display:flex;flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap;text-align:left;margin-bottom:18px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head .connections-editor-overline{display:none}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field.u-hidden{display:none!important}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head>div:not(.cs-editor-logo){flex:1;min-width:100px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head strong{display:block;font-size:16px;font-weight:650;line-height:1.5}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-logo{display:block;flex:none}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head .connections-status{margin:0 0 0 auto}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head .connections-status.is-connected{--state-ink:var(--ui-green);--state-fill:color-mix(in srgb,var(--ui-green) 8%,var(--ui-surface))}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview-head .connections-status.is-attention{--state-ink:var(--ui-amber);--state-fill:var(--ui-amber-soft)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-overview #connectionsEditorDescription{font-size:12px;line-height:1.7;margin:14px 0;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-reference{border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface-muted);padding:12px 14px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-reference summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--ui-ink-secondary)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:16px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-facts>div{border:0;background:none;padding:0;min-width:0;overflow-wrap:anywhere}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-section{border-top:1px solid var(--ui-line);padding:20px 0 4px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-section-heading{margin-bottom:18px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-section-heading h4{font-size:14px;font-weight:650;line-height:1.5;margin:0;color:var(--ui-ink)}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-section-heading p{font-size:12px;color:var(--ui-ink-secondary);line-height:1.6;margin:4px 0 0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-account-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-account-fields .connections-editor-settings{display:block}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-account-fields:has(.connections-editor-settings:empty)>.connections-editor-field{grid-column:1/-1}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-navigation:has(#connectionsEditorScheduleTab[hidden])>div{display:none}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-credentials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-credentials>.connections-editor-field:only-child{grid-column:1/-1}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-credentials:has(#connectionsTmrAuthMethod){grid-template-columns:minmax(0,1fr)}
body:has(#appShell.ui-workspace) #connectionsEditorModal #connectionsTmrCredentials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
body:has(#appShell.ui-workspace) #connectionsEditorModal #connectionsTmrCredentials>:only-child{grid-column:1/-1}
@media(max-width:600px){body:has(#appShell.ui-workspace) #connectionsEditorModal #connectionsTmrCredentials{grid-template-columns:minmax(0,1fr)}}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field{min-width:0}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-field :is(input,select){min-height:44px;border-radius:9px;font-size:13px}
body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-field-hint{font-size:11px;line-height:1.5;color:var(--ui-ink-secondary);font-weight:400}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-help{padding:0;background:none;border:0;margin:4px 0 14px;line-height:1.7}
body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-last-error:not([hidden]){display:block;background:var(--ui-amber-soft);color:var(--ui-amber);padding:12px 14px;margin-top:14px;border-radius:9px;overflow-wrap:anywhere;font-size:12px;line-height:1.6}
body:has(#appShell.ui-workspace) #connectionsEditorModal :is(button,input,select,summary):focus-visible{outline:2px solid var(--ui-blue);outline-offset:3px}
@media(max-width:600px){
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-credentials{grid-template-columns:minmax(0,1fr)}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .cs-editor-account-fields{grid-template-columns:minmax(0,1fr)}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-actions{flex-wrap:wrap}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-actions button{flex:1 1 auto;white-space:nowrap}
 body:has(#appShell.ui-workspace) #connectionsEditorModal .connections-editor-actions-spacer{display:none}
 body:has(#appShell.ui-workspace) #connectionsEditorModal[data-marketplace="true"] .cs-provider-hero .connections-provider-mark{width:140px}
}
#appShell.ui-workspace #paneConnections .plaid-link-notice,
#appShell.ui-workspace #paneConnections #plaidConnectionError:not([hidden]){margin:12px 20px;padding:14px 16px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface);font-size:13px;line-height:1.5;color:var(--ui-ink-secondary)}
#appShell.ui-workspace #paneConnections .plaid-link-notice strong{display:block;color:var(--ui-ink);font-size:13px}
#appShell.ui-workspace #paneConnections .plaid-link-notice p{margin:6px 0 10px;font-size:13px;line-height:1.5}
#appShell.ui-workspace #paneConnections .plaid-link-notice button{margin-top:6px}
/* Shared TEvo choices in Connections and the Sync schedule pop-out. */
.tevo-sync-types{display:flex;flex-wrap:wrap;gap:12px 24px;min-width:0;margin:0 0 16px;padding:0;border:0}
.tevo-sync-types legend{padding:0;margin-bottom:10px;font-size:13px;font-weight:600;color:var(--ui-ink)}
.tevo-sync-types label{display:flex;align-items:center;gap:8px;min-height:36px;font-size:13px;color:var(--ui-ink)}
.tevo-sync-types input[type=checkbox]{width:18px;height:18px;min-height:18px;max-width:18px;margin:0;accent-color:var(--ui-blue)}
