/* 連線槽 (claude-slackslot-20261113): 連線卡照 Grok 的連線卡（服務、✔ 已連結・帳戶、〔新增帳戶〕〔管理〕），其餘用設定頁原本的元件。 */
.slot-card{margin:8px 0 4px;padding:18px 20px;border-radius:24px;background:var(--surface)}
.slot-card-head{display:flex;align-items:center;gap:14px;min-width:0}
.slot-logo{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:14px;background:var(--bg);color:var(--ink)}
.slot-logo svg{width:26px;height:26px}
.slot-card-words{min-width:0;flex:1}
.slot-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;font-size:18px;line-height:1.35}
.slot-card-title strong{font-size:19px}
.slot-card-state{font-size:15px;color:var(--ink)}
.slot-card-account{margin:3px 0 0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.slot-card-line{margin:14px 0 0;font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.slot-card-ask{display:flex;align-items:flex-start;gap:8px;margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.slot-card-ask svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}
.slot-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.slot-card-actions .choice-button{margin:0;min-height:44px;min-width:88px}
.slot-via{margin:12px 0 0;line-height:1.5}
.slot-page .preference-row .ds-switch{flex-shrink:0;border:0;background:none;padding:10px 0 10px 6px;min-height:44px;display:grid;place-items:center}
.slot-page .ds-switch:disabled{opacity:.45}
.slot-provider{color:var(--muted)}
.slot-provider.warn{color:#9a4a06}
:root[data-theme=dark] .slot-provider.warn{color:#f5a35d}
.slot-note{margin:10px 16px 0;line-height:1.5}
.slot-user .slot-user-caps{color:var(--muted)}
.slot-user-last{flex-shrink:0;color:var(--muted);font-size:14px;text-align:right;max-width:40%}
.slot-user-last small{display:inline;font-size:13px}
.slot-log{display:flex;flex-direction:column;padding:6px 0;border-radius:20px;background:var(--surface)}
.slot-log-row{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;gap:6px 12px;align-items:baseline;padding:10px 18px;font-size:14px;line-height:1.45}
.slot-log-row+.slot-log-row{border-top:1px solid var(--line)}
.slot-log-when{color:var(--muted);white-space:nowrap}
.slot-log-what{overflow-wrap:anywhere}
.slot-log-out{color:var(--muted);white-space:nowrap}
.slot-log-row.blocked .slot-log-out,.slot-log-row.missing_scope .slot-log-out,.slot-log-row.error .slot-log-out{color:#9a4a06}
:root[data-theme=dark] .slot-log-row.blocked .slot-log-out,:root[data-theme=dark] .slot-log-row.missing_scope .slot-log-out,:root[data-theme=dark] .slot-log-row.error .slot-log-out{color:#f5a35d}
.slot-empty{margin:4px 16px}
.slot-check{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:22px 0 8px}
.slot-check .choice-button{margin:0;min-height:44px}
.slot-steps{margin:4px 0 14px;padding-left:22px;line-height:1.7;font-size:15px}
.slot-confirm{margin:6px 0 14px;padding-left:20px;line-height:1.6;font-size:15px}
.slot-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:22px;text-decoration:none;margin:2px 0 10px}
.slot-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
.slot-dialog-actions button{min-height:44px;min-width:96px;margin:0;flex:1 1 0}
.es-hint{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:2px 0 10px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;font-size:14px;line-height:1.5}
.es-hint span{flex:1 1 220px;min-width:0}
.es-hint .choice-button{margin:0;min-height:40px}
@media(max-width:560px){
 .slot-card{padding:16px}
 .slot-card-actions .choice-button{flex:1 1 0;min-width:0}
 .slot-log-row{grid-template-columns:minmax(0,1fr) max-content;padding:10px 16px}
 .slot-log-when{grid-column:1/-1}
 .slot-user-last{max-width:34%}
}
/* Rows here are a title with one or two lines under it (not the settings list's title ⟷ value on one line). */
.slot-page .preference-text{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;flex:1}
.slot-page .preference-text>span{flex:none;max-width:100%;overflow-wrap:anywhere}
.slot-page .preference-text small{display:block;white-space:normal;text-align:left;margin:0;max-width:100%;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.5}
.slot-page .preference-row{align-items:center}
@media(max-width:560px){
 .slot-user{flex-wrap:wrap;row-gap:4px}
 .slot-user .slot-user-last{flex-basis:100%;max-width:none;text-align:left;padding-left:39px;font-size:13px}
}
