.integration-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.integration-card{display:flex;flex-direction:column;text-align:left;padding:22px;border:1px solid var(--line,#334155);border-radius:14px;background:var(--panel,#14232b);color:inherit;min-width:0;line-height:1.7;font:inherit;cursor:pointer}.integration-card:disabled{opacity:.55;cursor:not-allowed}.integration-card.selected{border-color:#87b3a0;box-shadow:inset 0 0 0 1px #87b3a04d;background:#1b3438}.integration-engine{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#8fbbb1;font-size:11px;margin-bottom:18px}.integration-engine i{font-style:normal;color:#b5d98e}.integration-card>b{font-size:20px;line-height:1.5;margin-bottom:12px}.integration-card>span:not(.integration-engine){color:#a9b9bd;font-size:13px;margin-bottom:18px}.integration-card>strong{color:#b5d98e;font-size:12px;margin-top:auto}.integration-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-bottom:24px;align-items:start}.integration-space .panel{min-width:0;margin-bottom:22px}.integration-space textarea,.integration-space input,.integration-space select{width:100%;min-width:0;max-width:100%;font-size:16px}.integration-space .checkbox input{width:auto;flex:none}.integration-space .checkbox{display:flex;align-items:flex-start;gap:10px;line-height:1.8;white-space:normal;font-size:13px}.integration-space .checkbox input{margin-top:6px}.integration-space pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:14px/1.95 ui-monospace,'SFMono-Regular','PingFang SC',monospace;border:1px solid #36494b;background:#0e1c24;border-radius:10px;padding:20px;min-height:230px;max-height:650px;overflow:auto}.integration-space .row-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.integration-space .row-actions .button{max-width:100%;min-height:44px;white-space:normal;text-align:center}.integration-history-row{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid #33464a;min-width:0}.integration-history-row>div{min-width:0;overflow-wrap:anywhere}.integration-history-row small{display:block;color:#8ea5a8;margin-top:5px;font-size:11px}.integration-history-row .button{flex:none;min-height:44px}.integration-space .section-line{gap:14px;flex-wrap:wrap}.integration-space .section-line h2{margin:0;font-size:22px}.integration-space .badge{white-space:normal}.integration-space .hint{overflow-wrap:anywhere}.integration-space .error{overflow-wrap:anywhere}.integration-setup p{line-height:1.9}@media(min-width:2300px){.integration-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.integration-card{padding:30px}.integration-card>b{font-size:25px}.integration-card>span:not(.integration-engine){font-size:16px}.integration-workspace{gap:28px}.integration-space pre{font-size:17px;max-height:800px}}@media(max-width:1100px){.integration-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-workspace{grid-template-columns:1fr}.integration-space pre{max-height:520px}}@media(max-width:600px){.integration-cards{grid-template-columns:1fr;gap:12px;margin:20px 0}.integration-card{padding:20px}.integration-card>b{font-size:21px}.integration-card>span:not(.integration-engine){font-size:14px}.integration-engine{font-size:12px;margin-bottom:12px}.integration-workspace{gap:4px}.integration-space .panel{padding:20px 16px}.integration-space .section-line h2{font-size:21px}.integration-space pre{font-size:13px;padding:15px;max-height:480px}.integration-space .row-actions>.button{flex:1 1 145px;min-height:48px}.integration-space .page-heading .button{width:100%;justify-content:center}.integration-space .page-heading h1{font-size:27px}.integration-history-row{align-items:flex-start;gap:12px}.integration-history-row b{font-size:14px}.integration-history-row .button{padding:10px;font-size:12px;min-width:74px}.integration-space .checkbox{font-size:13px}.integration-space .hint{font-size:12px;line-height:1.9}}

.integration-space .text-button{min-height:44px;padding:8px 10px}
/* Match the existing workspace's light visual system with explicit readable contrast. */
.integration-card{background:#fff;color:#212638;border-color:#e0e3ec}.integration-card.selected{background:#f1f0ff;border-color:#8f82cb;box-shadow:inset 0 0 0 1px #8f82cb33}.integration-card>b{color:#252d40}.integration-engine{color:#6a6c84}.integration-engine i{color:#36744d}.integration-card>span:not(.integration-engine){color:#697286}.integration-card>strong{color:#6755a3}.integration-space pre{background:#f7f8fc;color:#283246;border-color:#dfe4ed}.integration-history-row{border-color:#e2e5ed}.integration-history-row small{color:#747b8b}
