/* Channel sections share the AI connections grid and the shell's Inter typography. */ .channel-section { /* T58 palette, scoped to this DOM section; no canvas consumer needs a TS mirror. */ --channel-navy: #1F4E78; --channel-gold: #C8A24B; } .channel-section-body { min-height: 0; } .slack-agents-panel { min-width: 0; min-height: 0; } .conn-setup .slack-agents-panel > .set-pane { padding: var(--set-space-6) 0; } .conn-setup .slack-agents-panel > .set-pane > .set-h { margin: 0 0 var(--set-space-4); font-size: var(--lp-fs-md); font-weight: var(--lp-fw-semibold); line-height: var(--lp-lh-tight); } .channel-link-confirm { padding-block: var(--set-space-2) var(--set-space-4); } .channel-link-actions, .channel-linked-member { display: flex; align-items: center; gap: var(--set-space-2); } .channel-link-actions { margin-top: var(--set-space-2); } .channel-linked-member { justify-content: space-between; } .channel-link-actions .set-primary:disabled, .channel-link-actions .set-secondary:disabled { opacity: .5; cursor: not-allowed; } .channel-install { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); color: var(--channel-navy); font: inherit; font-size: var(--lp-fs-xs); font-weight: 500; text-decoration: none; } .channel-install:focus-visible { outline: 2px solid var(--channel-gold); outline-offset: 2px; } .channel-section .ea-grid-btn:disabled { opacity: .5; cursor: not-allowed; } .channel-skeleton-line { display: block; width: 75%; height: 12px; margin-block: 8px; border-radius: var(--lp-r-sm); background: var(--lp-line); } .channel-skeleton, .channel-link-skeleton { font-size: var(--lp-fs-2xs); } .channel-skeleton > .channel-skeleton-line { width: min(100%, 360px); height: 1lh; margin-block: 5px 0; } .channel-link-skeleton > .channel-skeleton-line { width: min(100%, 360px); height: 1lh; margin-block: 5px 8px; } .channel-link-skeleton > .channel-skeleton-actions { width: 144px; height: 32px; margin: 0; } @media (hover: hover) and (pointer: fine) { .channel-install:hover { background: var(--lp-wash); } } .conn-setup[data-connector-guide="slack"]:has(.slack-connect) { position: relative; } .conn-modal.conn-setup[data-connector-guide="slack"]:has(.slack-connect) > .conn-modal-head { position: absolute; top: var(--lp-section-gap); right: var(--lp-section-gap); z-index: var(--cg-z-editor); padding: 0; } /* A hidden referenced label keeps the dialog name while the wizard owns the visible title. */ .conn-modal.conn-setup[data-connector-guide="slack"]:has(.slack-connect) > .conn-modal-head .conn-modal-name { display: none; } /* Every wrapper must shrink so only the guide body scrolls. */ .conn-setup[data-connector-guide="slack"]:has(.slack-connect) > .conn-modal-body, .conn-setup[data-connector-guide="slack"]:has(.slack-connect) #slack-tab-panel, .conn-setup[data-connector-guide="slack"] .slack-connect, .slack-connect .external-wizard { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; min-width: 0; overflow: hidden; } .slack-connect .external-wizard { margin: 0; max-width: none; } .slack-connect .external-wizard .external-wizard-head, .conn-setup[data-connector-guide="slack"]:has(.slack-connect) .slack-connect .external-wizard-head { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, calc(var(--lp-r-sm) * 8)); column-gap: calc(var(--lp-r-sm) * 3); row-gap: var(--lp-r-sm); padding: var(--lp-section-gap) calc(var(--lp-login-control-height) + var(--lp-section-gap) * 2) var(--lp-section-gap) var(--lp-login-control-height); } .slack-connect .external-wizard-heading { display: contents; } .slack-connect .external-wizard-head h2 { grid-area: 1 / 1; } .slack-connect .external-wizard .external-wizard-head > .lp-mark, .slack-connect-mark { position: static; inset: auto; transform: none; grid-row: 1 / 3; width: calc(var(--lp-r-sm) * 8); height: calc(var(--lp-r-sm) * 8); } .slack-connect .external-wizard-head > .lp-mark { grid-column: 3; } .slack-connect-mark { display: flex; grid-column: 2; } .slack-connect-subtitle { grid-area: 2 / 1; margin: 0; white-space: nowrap; color: var(--lp-muted); font-size: var(--lp-fs-xs); } .slack-connect .external-wizard-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .slack-connect-heading { margin: 0 0 16px; font-size: var(--lp-fs-sm); font-weight: var(--lp-fw-semibold); } .slack-connect-modes { display: flex; gap: 4px; padding: 4px; margin-bottom: 24px; border-radius: var(--lp-r-md); background: var(--lp-surface-2); } .slack-connect-modes button, .slack-connect-choice { appearance: none; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; } .slack-connect-modes button { flex: 1; min-height: 36px; padding: 4px 12px; border-radius: var(--lp-r-sm); font-size: var(--lp-fs-xs); color: var(--lp-muted); } .slack-connect-modes button[aria-selected="true"] { background: var(--lp-surface); color: var(--lp-ink); } .slack-connect-choice { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px; text-align: left; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); } .slack-connect-choice > span:first-child { display: grid; gap: 4px; min-width: 0; } .slack-connect-choice strong { font-size: var(--lp-fs-sm); font-weight: var(--lp-fw-semibold); } .slack-connect-choice > span:first-child > span { font-size: var(--lp-fs-xs); color: var(--lp-muted); } .slack-connect-modes button:focus-visible, .slack-connect-choice:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } .slack-connect-fields { display: grid; gap: 16px; margin-bottom: 16px; } .slack-connect-fields .external-sub { min-height: 1lh; } .slack-connect-access { margin-bottom: 16px; } .slack-connect .external-wizard-foot { display: grid; flex: none; grid-template-columns: 1fr 1fr; } .slack-connect .conn-tutorial-error { color: var(--lp-red-deep); } @media (hover: hover) and (pointer: fine) { .slack-connect-choice:hover { background: var(--lp-wash); } } @media (max-width: 480px) { .conn-modal.conn-setup[data-connector-guide="slack"]:has(.slack-connect) > .conn-modal-head { top: var(--lp-home-tile-inset); right: var(--lp-home-tile-inset); } .slack-connect .external-wizard .external-wizard-head, .conn-setup[data-connector-guide="slack"]:has(.slack-connect) .slack-connect .external-wizard-head { column-gap: calc(var(--lp-r-sm) * 2); padding: var(--lp-home-tile-inset) calc(var(--lp-home-tile-inset) + var(--lp-login-control-height)) var(--lp-home-tile-inset) var(--lp-home-tile-inset); } .slack-connect .external-wizard-body, .slack-connect .external-wizard-foot { padding: var(--lp-home-tile-inset); } } .set-pane.notify-destinations { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lp-section-gap); } .set-modal .notify-destinations > :not(:last-child), .notify-destinations > .set-h { margin: 0; } .notify-matrix-scroll { min-width: 0; max-width: 100%; overflow-x: auto; border: var(--lp-hairline-width) solid var(--lp-line); border-radius: var(--lp-r-md); } .notify-destinations .notify-matrix { margin: 0; } .notify-destinations .notify-matrix th, .notify-destinations .notify-matrix td { padding: calc(var(--lp-content-inset) / 2); vertical-align: middle; } .notify-destinations .notify-matrix .notify-event { min-width: calc(var(--lp-content-inset) * 9); width: 100%; background: var(--lp-surface); color: var(--lp-ink); font-size: var(--lp-fs-xs); font-weight: 400; overflow-wrap: anywhere; } .notify-destinations .notify-matrix .notify-channel-heading, .notify-destinations .notify-matrix .notify-matrix-cell { min-width: calc(var(--lp-content-inset) * 6); max-width: calc(var(--lp-content-inset) * 10); text-align: center; } .notify-channel-name { display: block; margin-top: var(--set-space-1); font-weight: 400; overflow-wrap: anywhere; } .notify-destinations .notify-matrix .notify-category th { padding-block: 0; color: var(--lp-ink); } .notify-category-toggle { appearance: none; display: flex; align-items: center; gap: var(--set-space-2); width: 100%; min-height: var(--set-control-height); padding: var(--set-space-2) 0; border: 0; border-radius: var(--lp-r-sm); background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; } .notify-category-toggle:focus-visible { outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-blue-deep); outline-offset: calc(var(--lp-hairline-width) * -2); } .notify-category-caret { flex: none; transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing); } .notify-category-toggle[aria-expanded="true"] .notify-category-caret { transform: rotate(90deg); } .notify-matrix tr[hidden] { display: none; } @media (hover: hover) and (pointer: fine) { .notify-category-toggle:hover { background: var(--lp-wash); } } @media (prefers-reduced-motion: reduce) { .notify-category-caret { transition: none; } } .notify-matrix tbody:last-child tr:last-child > * { border-bottom: 0; } .notify-matrix .notify-channel-list { display: block; margin: 0; } .notify-cell-content { display: grid; justify-items: center; gap: var(--set-space-1); min-width: 0; } .notify-matrix .notify-choice { align-items: center; justify-content: center; width: var(--set-control-height); min-height: var(--set-control-height); } .notify-matrix .notify-channel-pick { margin: 0; } .notify-matrix .notify-email { font-size: var(--lp-fs-2xs); text-align: center; } .notify-delivery-state { color: var(--lp-muted); font-size: var(--lp-fs-2xs); overflow-wrap: anywhere; } .notify-delivery-state[data-state="sent"] { color: var(--lp-green-deep); } .notify-matrix .notify-channel > .notify-destination-reasons { padding-left: 0; } .notify-matrix .notify-destination-reason { color: var(--lp-ink); } .notify-destinations .notify-slack-status:empty, .notify-destinations .notify-save-status:empty { display: none; } .notify-destinations .notify-empty { color: var(--lp-ink); } .notify-matrix-scroll:focus-visible { outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-blue-deep); outline-offset: calc(var(--lp-hairline-width) * 2); } .notify-destinations .notify-matrix-skeleton { gap: 0; padding: 0; border: var(--lp-hairline-width) solid var(--lp-line); border-radius: var(--lp-r-md); } .notify-skeleton-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, var(--set-control-height)); align-items: center; gap: var(--lp-section-gap); padding: calc(var(--lp-content-inset) / 2); } .notify-skeleton-row + .notify-skeleton-row { border-top: var(--lp-hairline-width) solid var(--lp-line); } .notify-skeleton-row .set-skeleton-line:first-child { width: 70%; min-height: var(--lp-fs-md); }