.assistant-main { display:grid; gap:1rem; padding-block:1rem 2rem; }
.assistant-hero,.assistant-panel { padding:clamp(1rem,3vw,1.6rem); border-radius:1rem; }
.assistant-hero { background:linear-gradient(120deg,#07162e,#163e96); color:#fff; }
.assistant-hero p { color:#edf4ff; max-width:62ch; }
.assistant-panel { border:1px solid #b9c9e6; background:#fff; color:#122b53; }
.assistant-fields { display:grid; gap:.7rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); }
.assistant-panel label { display:grid; gap:.35rem; min-width:0; margin-block:.35rem; }
.assistant-panel :is(input,select,button) { min-height:44px; max-width:100%; font:inherit; padding:.5rem; }
.assistant-panel button { border:1px solid #13347f; background:#1b49aa; color:#fff; border-radius:.45rem; }
.assistant-panel li { margin-block:.38rem; }
.assistant-panel a { text-decoration:underline; }
.assistant-main > * { min-width:0; }
.assistant-panel :is(input,select) { width:100%; min-width:0; }
.connected-list { padding-inline-start:1.2rem; overflow-wrap:anywhere; }
.connected-list li { padding-block:.55rem; border-block-end:1px solid #b9c9e6; }
.connected-list p { margin:.25rem 0; }
.connected-list button, #connected-settings button { margin:.2rem .35rem .2rem 0; }
.assistant-panel label.connected-check { display:flex; align-items:center; margin-block:.45rem; }
.assistant-panel .connected-check input { width:1.35rem; height:1.35rem; min-height:0; flex:none; }
.assistant-panel summary { cursor:pointer; padding-block:.45rem; font-weight:700; }
.assistant-main[data-large-text] { font-size:1.2rem; }
.assistant-main[data-reduce-motion] *, .assistant-main[data-reduce-motion] *::before,
.assistant-main[data-reduce-motion] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
.assistant-main :focus-visible { outline:3px solid #245bdf; outline-offset:3px; }
.assistant-hero a { color:#fff; text-decoration:underline; }

body[data-cx-dark]:not(.light) .assistant-panel { background: #122341; color: #edf5ff; border-color: #657fa8; }
