/* Connected exchanges (SnapTrade): the portfolio card, the consent screen, the manage list. Plain text only:
   no logos or marks. 2026-11-03, release/v2. Tokens and components from static/v2.css. */
.cx-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 20px; }
.cx-card form { margin: 0; }
.cx-main { min-width: 0; flex: 1 1 260px; }
.cx-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 650; font-size: 15px; color: var(--text); }
.cx-title svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.cx-sub { color: var(--dim); font-size: 13.5px; margin-top: 4px; }
.cx-locked .cx-title { color: var(--dim); }

.cx-page { max-width: 760px; }
.cx-consent { padding: 22px 24px; }
.cx-lead { font-size: 15.5px; line-height: 1.5; color: var(--text); margin: 0 0 10px; }
.cx-text { color: var(--dim); font-size: 14.5px; margin: 0 0 18px; }
.cx-text a { color: var(--blue); text-decoration: underline; }
.cx-form { margin: 0; }
.cx-check { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--raised); cursor: pointer; font-size: 14.5px; color: var(--text); }
.cx-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
/* Where it goes (2026-11-13): two stacked choices, the cx-check look with the pv-radio selected state. */
.cx-place { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.cx-place legend { font-size: 12px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: 8px; padding: 0; }
.cx-opt { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--raised); cursor: pointer; }
.cx-opt:has(input:checked) { border-color: rgba(59, 130, 246, .55); background: var(--blue-soft); }
.cx-opt input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.cx-opt-off { opacity: .5; cursor: not-allowed; }
.cx-opt-body { display: grid; gap: 3px; min-width: 0; }
.cx-opt-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 650; font-size: 14.5px; color: var(--text); }
.cx-opt-sub { color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 0; }
.cx-actions .v2-btn[disabled] { opacity: .45; cursor: not-allowed; }
.cx-fine { display: flex; align-items: center; gap: 6px; margin-top: 16px; }

.cx-list { padding: 4px 20px; }
.cx-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0;
    border-bottom: 1px solid var(--line); }
.cx-row:last-child { border-bottom: 0; }
.cx-row-actions { display: flex; gap: 8px; align-items: center; }
.cx-row-actions form { margin: 0; }
.cx-del { color: #FDA4AF; }
.cx-empty { text-align: center; padding: 28px 20px; }
.cx-empty p { margin: 0 0 14px; }

@media (max-width: 520px) {
    .cx-card > .v2-btn, .cx-card form, .cx-card form .v2-btn { width: 100%; justify-content: center; }
    .cx-actions .v2-btn { width: 100%; justify-content: center; }
    .cx-consent { padding: 18px 16px; }
}
