:root{color-scheme:light;--bg:#f6f7fb;--surface:#fff;--surface2:#f8f9fc;--text:#283346;--strong:#162237;--muted:#6a768a;--border:#e6eaf1;--border2:#d7ddea;--accent:#5557d9;--accent2:#4546bf;--ring:#5557d928;--good:#138567;--bad:#c03c49;--sidebar-bg:#fff;--rowhover:#f4f4ff;--code-bg:#f3f5f9;--menu-hover:#f0f2f8}

:root[data-theme=dark]{color-scheme:dark;--bg:#101521;--surface:#191f2e;--surface2:#1e2637;--text:#d6deee;--strong:#f2f5fc;--muted:#9ba9c2;--border:#2b3448;--border2:#3b4760;--accent:#a09bff;--accent2:#c0bcff;--ring:#a09bff30;--good:#64d7b4;--bad:#ff9ba5;--sidebar-bg:#161d2b;--rowhover:#252c44;--code-bg:#111827;--menu-hover:#29334a}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 'Segoe UI',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea,summary{touch-action:manipulation}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
h1,h2,h3,p{margin-top:0}
h1{font-size:28px;letter-spacing:-.8px;font-weight:650;color:var(--strong);margin-bottom:6px}
h2{font-size:19px;letter-spacing:-.3px}
h3{font-size:16px;font-weight:650;color:var(--strong);margin-bottom:15px}
.muted{color:var(--muted)}
.app{display:flex;min-height:100vh}
.sidebar{width:244px;flex:0 0 244px;background:var(--sidebar-bg);border-right:1px solid var(--border);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:auto}
.brand{display:flex;align-items:center;gap:12px;padding:28px 24px 22px;color:var(--strong);font-size:18px;font-weight:750;letter-spacing:1.5px}
.brand:hover{text-decoration:none}
.brand-mark{width:39px;height:39px;border-radius:12px;background:var(--accent);color:white;display:flex;align-items:center;justify-content:center;font-size:28px;letter-spacing:-2px}
.brand-mark span{color:#b8f1d8}
.brand-caption{display:block;color:var(--muted);font-size:10px;letter-spacing:.2px;font-weight:500}
.sidebar nav{padding:0 14px;flex:1}
.sec{text-transform:uppercase;letter-spacing:1.3px;font-size:10px;color:var(--muted);font-weight:650;margin:22px 12px 9px}
.sidebar nav a{display:flex;align-items:center;gap:12px;color:var(--muted);padding:10px 13px;border-radius:9px;margin:3px 0;font-weight:550}
.sidebar nav a:hover{background:var(--surface2);color:var(--strong);text-decoration:none}
.sidebar nav a.active{background:var(--ring);color:var(--accent)}
.ic{width:19px;height:19px;display:inline-flex;flex:none}
.ic svg{width:100%;height:100%}
.sidebar-account{display:flex;align-items:center;gap:11px;margin:25px 18px 20px;padding-top:18px;border-top:1px solid var(--border);font-size:12px;overflow-wrap:anywhere}
.avatar{width:36px;height:36px;border-radius:11px;background:var(--ring);color:var(--accent);display:grid;place-items:center;font-weight:700;flex:none}
.main{flex:1;min-width:0}
.topbar{height:73px;display:flex;gap:14px;align-items:center;padding:0 34px;background:var(--surface);border-bottom:1px solid var(--border)}
.workspace-label{font-size:12px;font-weight:600}
.workspace-label span{color:var(--muted);font-weight:400;margin-left:12px}
.tb-right{margin-left:auto;display:flex;align-items:center;gap:20px}
.support-link,.logout{color:var(--muted);font-size:12px}
.inner{max-width:1510px;margin:auto;padding:30px 34px 20px}
.pagehead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:23px}
.pagehead p{margin:0;font-size:13px}
.eyebrow{color:var(--accent);font-size:10px;font-weight:700;letter-spacing:1.7px;margin-bottom:7px;text-transform:uppercase}
.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:23px;margin:18px 0;box-shadow:0 3px 7px #15244002;min-width:0}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.card-head h3{margin:0}
.card-head a{font-size:12px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0}
.stat{border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:9px}
.stat b{font-size:30px;letter-spacing:-1px;font-weight:650;color:var(--strong);line-height:1.2}
.stat span{font-size:12px;color:var(--muted)}
.stat small{font-size:11px;color:var(--muted)}
.stat.featured{background:var(--accent);color:white;border-color:var(--accent)}
.stat.featured b,.stat.featured span,.stat.featured small{color:white}
.stat.featured small{opacity:.75}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:20px}
.dashboard-columns>.card{margin:0}
.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}
.quick-link{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px;display:flex;align-items:center;gap:14px;color:var(--strong)}
.quick-link:hover{border-color:var(--accent);text-decoration:none}
.quick-icon{width:38px;height:38px;background:var(--ring);border-radius:10px;color:var(--accent);display:grid;place-items:center;font-size:21px;flex:none}
.quick-link b{font-size:13px;display:block}
.quick-link small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.quick-link .arrow{margin-left:auto;color:var(--muted)}
.check-step{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--border)}
.check-step:last-child{border:0;padding-bottom:0}
.check-step>span{width:25px;height:25px;border-radius:50%;background:var(--ring);color:var(--accent);display:grid;place-items:center;flex:none;font-size:12px}
.check-step b{font-size:13px}
.check-step p{font-size:12px;color:var(--muted);margin:3px 0}
.check-step a{font-size:12px}
.chart{height:175px;display:flex;gap:14px;align-items:flex-end;padding-top:14px}
.chart-day{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;min-width:0}
.chart-bar{width:100%;max-width:44px;background:var(--accent);border-radius:5px 5px 0 0;min-height:3px}
.chart-day:last-child .chart-bar{background:var(--accent)}
.chart-day small{color:var(--muted);font-size:10px}
.chart-value{font-size:10px;color:var(--text)}
.section-note{font-size:12px;color:var(--muted);margin:-9px 0 18px}
.page-footer{margin-top:32px;padding-top:18px;border-top:1px solid var(--border);color:var(--muted);display:flex;justify-content:space-between;gap:12px;font-size:11px}
.subtabs{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid var(--border);margin:-6px 0 23px}
.subtabs a{white-space:nowrap;color:var(--muted);padding:12px 0;border-bottom:2px solid transparent;font-size:13px}
.subtabs a.on{color:var(--accent);border-color:var(--accent);font-weight:650}
.toolbar,.form-row{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}
.toolbar{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px;margin:18px 0}
.fld{flex:1;min-width:150px}
.toolbar .fld{max-width:320px}
label{display:block;font-size:12px;font-weight:550;color:var(--muted);margin:13px 0 6px}
input,select,textarea{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--border2);border-radius:8px;padding:10px 12px;min-height:41px}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}
input[type=checkbox]{width:17px!important;min-height:17px;height:17px;accent-color:var(--accent)}
textarea{resize:vertical;min-height:100px}
button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 17px;border-radius:8px;border:1px solid transparent;background:var(--action-bg,var(--accent));color:#fff;font-size:12px;font-weight:600;cursor:pointer;margin-top:14px;min-height:40px}
button:hover,.button:hover{background:var(--action-hover,var(--accent2));text-decoration:none}
button:disabled{opacity:.5;cursor:not-allowed}
.btn-ghost{background:var(--surface);border-color:var(--border2);color:var(--text)}
.btn-ghost:hover{background:var(--menu-hover)}
.btn-sm{margin:0;padding:8px 13px}
.toolbar button,.topbar button,.pagehead .button,.pager .button{margin:0}
.topbar button{font-size:11px;min-height:32px;padding:6px 10px}
.tablewrap{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:9px}
table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
th{background:var(--surface2);color:var(--muted);font-size:11px;font-weight:600;padding:12px 15px;white-space:nowrap}
td{padding:14px 15px;border-top:1px solid var(--border)}
tbody tr:hover{background:var(--rowhover)}
td .code{white-space:nowrap}
td:has(.row-actions){width:1%;white-space:nowrap}
.row-actions{margin:0;padding:5px 9px;background:var(--surface);border:1px solid var(--border2);color:var(--muted);min-height:30px}
.row-actions:hover{background:var(--menu-hover)}
.pill{display:inline-block;font-size:10px;border-radius:6px;padding:4px 8px;background:var(--surface2);color:var(--muted);white-space:nowrap}
.pill.ok{background:#16a07815;color:var(--good)}
.pill.no{background:#d3465712;color:var(--bad)}
.code{font-family:Consolas,monospace;background:var(--code-bg);padding:3px 6px;border-radius:5px;overflow-wrap:anywhere}
.flash{border:1px solid var(--border2);border-left:3px solid var(--accent);padding:14px 18px;background:var(--surface);border-radius:8px;margin-bottom:20px}
.empty-state{text-align:center;padding:40px 20px;color:var(--muted)}
.empty-state b{display:block;color:var(--strong);font-size:15px;margin-bottom:6px}
.empty-state a{display:inline-block;margin-top:12px}
.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;color:var(--muted);font-size:12px}
.pager nav{display:flex;gap:8px}
.ctxmenu{position:fixed;z-index:1000;min-width:210px;max-width:calc(100vw - 12px);max-height:80vh;overflow:auto;background:var(--surface);border:1px solid var(--border2);border-radius:10px;padding:6px;box-shadow:0 10px 45px #10183026}
.ctxmenu button{display:block;text-align:left;width:100%;background:none;color:var(--text);margin:0;border:0;padding:10px}
.ctxmenu button:hover{background:var(--menu-hover)}
.ctxmenu .danger{color:var(--bad)}
.ctxmenu .sep{border-top:1px solid var(--border);margin:5px}
.docking-remark{min-width:150px;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere}
.toast{position:fixed;bottom:24px;right:24px;background:var(--strong);color:var(--surface);padding:12px 20px;border-radius:10px;z-index:1100}
.danger-zone{border-color:var(--border2)}
summary{cursor:pointer;font-weight:600}
details>form{margin-top:14px}
.upload-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:20px}
.upload-layout>.card{margin:0}
.upload-help{padding-left:20px;color:var(--muted);font-size:13px}
.upload-help li{padding:9px 0}
.file-picker{padding:18px;border:1px dashed var(--border2);border-radius:10px;background:var(--surface2)}
.input-hint{font-size:12px;color:var(--muted);margin:8px 0}
.secret-field{display:flex;gap:8px;align-items:center}
.secret-field button{margin:0}
.secret-field input{font-family:Consolas,monospace}
.burger{display:none}
.skip-link{position:fixed;top:-100px;left:20px;z-index:2000;padding:12px;background:var(--surface)}
.skip-link:focus{top:10px}
.wrap{max-width:430px;margin:10vh auto;padding:20px}
.wrap header{display:flex;justify-content:space-between;align-items:center}
.wrap h1{font-size:23px}
.wrap .card{padding:28px}
.wrap form button{width:100%}

@media(min-width:1500px){.inner{padding-top:38px}
.grid{gap:22px}
}

@media(max-width:1100px){.sidebar{width:216px;flex-basis:216px}
.inner{padding:25px}
.topbar{padding:0 25px}
.dashboard-columns{grid-template-columns:1fr}
.grid{gap:12px}
.stat{padding:17px}
.stat b{font-size:26px}
.quick-link{padding:14px}
.quick-icon{display:none}
}

@media(max-width:820px){.sidebar{position:fixed;left:-260px;top:0;width:244px;z-index:80;box-shadow:15px 0 40px #10183020;transition:left .18s}
.sidebar.open{left:0}
.burger{display:inline-flex}
.topbar{padding:0 18px;height:62px}
.workspace-label{display:none}
.inner{padding:22px 18px}
.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.quick-links{grid-template-columns:1fr}
.quick-icon{display:grid}
.quick-link{padding:15px}
.upload-layout{grid-template-columns:1fr}
.page-footer{flex-direction:column}
.tb-right{gap:14px}
.card{padding:18px}
.pagehead h1{font-size:25px}
.toolbar .fld{max-width:none}
.toolbar .fld input,.toolbar .fld select{width:100%}
.subtabs{gap:22px}
.chart{gap:8px}
.support-link{display:none}
}

@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}
}

.chat-message{max-width:80%;background:var(--surface2);border:1px solid var(--border);border-radius:12px;padding:12px 15px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-message.mine{margin-left:auto;background:var(--ring)}
.secret-field{flex-wrap:wrap}
.secret-field input{flex:1;min-width:160px}
.secret-field button{flex:none}
.chart-bar{flex-shrink:1}

.chat-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.chat-compose-actions>button{margin:0}
.shot-capture-notice{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:12px;font-size:12px}
.shot-capture-notice[hidden]{display:none}.shot-capture-notice button{margin:0;min-height:30px;padding:5px 10px}
.chat-compose-actions .screenshot-button{font-size:12px;min-height:30px;padding:5px 10px;font-weight:500}
.shot-dialog{width:min(1080px,96vw);max-width:96vw;max-height:94vh;padding:16px;border:1px solid var(--border2);border-radius:14px;background:var(--surface);color:var(--text);overflow:auto;box-shadow:0 24px 80px #0005}
.shot-dialog::backdrop{background:#111827a6}
.shot-dialog [hidden]{display:none!important}
.shot-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.shot-heading h3{margin:0}
.shot-dialog button{margin:0;min-height:32px;padding:5px 10px;font-size:12px}
.shot-dialog .shot-close{font-size:22px;line-height:1;padding:4px 9px}
.shot-sources{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.shot-sources span{font-size:12px}
.shot-hint{font-size:12px;color:var(--muted);margin:12px 0;min-height:19px}
.shot-stage{max-height:61vh;overflow:auto;border:1px solid var(--border);border-radius:9px;background:var(--surface2)}
.shot-stage canvas{display:block;max-width:100%;height:auto;touch-action:none;cursor:crosshair;margin:auto}
.shot-empty{min-height:220px;display:grid;place-items:center;text-align:center;padding:30px;color:var(--muted);font-size:13px}
.shot-toolbar{display:flex;gap:5px;align-items:center;flex-wrap:wrap;position:sticky;bottom:0;margin-top:12px;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 3px 12px #0001}
.shot-toolbar button[aria-pressed]{min-width:32px;font-size:18px;padding:2px 7px}
.shot-toolbar button[aria-pressed=true]{background:var(--ring);color:var(--accent);border-color:var(--accent)}
.shot-toolbar input[type=color]{width:32px;height:32px;min-height:32px;padding:3px}
.shot-toolbar select{width:70px;height:32px;min-height:32px;padding:3px;font-size:12px}
.shot-toolbar .shot-text{width:160px;min-height:32px;padding:4px 8px;font-size:12px}
.shot-toolbar .shot-send{margin-left:auto;background:var(--accent);border-color:var(--accent);color:#fff}
@media(max-width:600px){.shot-dialog{padding:12px}.shot-stage{max-height:52vh}.shot-sources span{width:100%}.shot-toolbar .shot-send{margin-left:0}.shot-empty{min-height:150px}}
/* Detailed operational reports share compact filters and contain wide tables. */
.history-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); align-items:end; }
.history-filters .fld { min-width:0; }
.history-filters .advanced-filters { grid-column:1/-1; padding:8px 0; }
.advanced-filters summary { cursor:pointer; color:var(--accent); font-size:13px; }
.filter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; padding-top:14px; }
.table-scroll { max-width:100%; overflow-x:auto; }
.history-grid small { display:block; font-size:11px; margin-top:4px; }
.sms-content { min-width:200px; max-width:360px; white-space:pre-wrap; overflow-wrap:anywhere; }
.buyer-selection { border-top:3px solid var(--accent); }
.buyer-filters { gap:16px; margin-top:18px; }
.buyer-filter-actions { display:flex;gap:10px;align-items:center;grid-column:1/-1; }
.buyer-presets { display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:14px;font-size:13px; }
.buyer-grid td:first-child { max-width:210px;overflow-wrap:anywhere; }
.buyer-grid td:last-child { min-width:190px; }
.buyer-grid form { margin:0 0 8px; }
.buyer-detail-link { font-size:12px; }
.seller-modal-open { overflow:hidden; }
.seller-dialog { box-sizing:border-box;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #10182833;overflow:auto; }
.seller-dialog::backdrop { background:#10182880; }
.dialog-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px; }
.dialog-heading h3 { margin:0; }
.dialog-fields { display:grid;grid-template-columns:1fr 1fr;gap:14px; }
.dialog-fields .full { grid-column:1/-1; }
.dialog-fields .fld { min-width:0; }
.dialog-fields label { margin:0 0 6px; }
.dialog-check { display:flex;align-items:center;gap:10px;margin:0; }
.dialog-check input { width:auto;min-height:auto; }
.dialog-footer { display:flex;justify-content:flex-end;gap:10px;margin-top:22px; }
@media(max-width:540px){.seller-dialog{padding:18px}.dialog-fields{grid-template-columns:1fr}}

.access-duration {display:flex; gap:14px; flex-wrap:wrap; align-items:end; margin:12px 0}
.access-duration label {flex:1; min-width:160px; margin:0}
.access-duration [hidden], [data-retention-field][hidden], [data-feedback-notice][hidden] {display:none}
.search-picker {position:relative;min-width:0;width:100%;margin-bottom:8px}
.fld > .search-picker {margin-bottom:0}
.search-picker .picker-input {width:100%;padding-right:38px;margin:0;text-overflow:ellipsis}
.search-picker.picker-clearable .picker-input {padding-right:70px}
.search-picker .picker-toggle,.search-picker .picker-clear {position:absolute;right:2px;top:2px;bottom:2px;width:32px;min-height:0;margin:0;padding:0;border:0;background:transparent;color:var(--muted);box-shadow:none}
.search-picker .picker-clear {right:34px}
.search-picker button:hover {color:var(--strong);background:var(--menu-hover)}
.picker-panel {position:fixed;inset:auto;margin:0;padding:6px;border:1px solid var(--border2);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 12px 32px #0002;overflow-y:auto;overscroll-behavior:contain;z-index:10000;font-size:14px}
.picker-panel[hidden] {display:none}
.picker-option {padding:9px 10px;border-radius:6px;cursor:pointer;overflow-wrap:anywhere}
.picker-option:hover,.picker-option.picker-active {background:var(--menu-hover)}
.picker-option[aria-selected=true] {color:var(--accent);font-weight:650}
.picker-status {padding:8px 10px;color:var(--muted);font-size:12px;border-top:1px solid var(--border);background:var(--surface)}
.picker-panel .picker-checklist {border:0;margin:0;padding:0 8px;max-height:none;overflow:visible}
.picker-checklist legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.picker-panel .picker-done {display:block;width:100%;margin:4px 0 0;padding:7px 12px;min-height:34px;position:sticky;bottom:0}
.feedback-notice {padding:12px 15px;border-left:3px solid var(--accent,#5b50e6);background:var(--bg);font-size:12px;line-height:1.6}
.feedback-notice p {margin:6px 0}
.seller-dialog .fld small {font-size:11px;line-height:1.4;color:var(--muted)}

#createDockingDialog .dialog-footer {position:sticky;bottom:-24px;margin:18px -24px -24px;padding:14px 24px;background:var(--surface);border-top:1px solid var(--border);z-index:2}
@media(max-width:540px){#createDockingDialog .dialog-footer{bottom:-18px;margin:18px -18px -18px;padding:14px 18px}}

.docking-filters {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.2fr)}
.docking-filters .fld {min-width:0}
.docking-filter-actions {grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.agents-layout {display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}
.agent-sidebar {padding:16px}
.agent-list {max-height:650px;overflow:auto;margin-top:12px}
.agent-entry {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-top:1px solid var(--border)}
.agent-entry a {overflow-wrap:anywhere}
.agent-entry small {display:block;color:var(--muted);font-size:11px;margin-top:5px}
.agent-entry form {margin:0}
.agent-entry [aria-current] {font-weight:700;color:var(--accent)}
.agent-main {min-width:0}
.agent-tabs {display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:16px}
.agent-tabs a {padding:8px 12px;border-radius:8px;background:var(--surface);color:var(--muted)}
.agent-tabs a[aria-current] {background:var(--accent,#5b50e6);color:white}
.agent-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
.agent-filters .fld {min-width:0}
.agent-checklist {max-height:210px;overflow:auto;border:1px solid var(--border);border-radius:8px;margin:12px 0;padding:12px}
.agent-checklist label {display:flex;align-items:center;gap:8px;margin:8px 0}
.agent-checklist label[hidden] {display:none}
.agent-checklist input {width:auto;min-height:0;flex-shrink:0}
.agent-settings-form .dialog-check {margin:14px 0}
#createAgentDialog .dialog-footer {position:sticky;bottom:-24px;margin:16px -24px -24px;padding:14px 24px;background:var(--surface);border-top:1px solid var(--border);z-index:2}
.seller-dialog .dialog-header {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.seller-dialog .dialog-header h2 {margin:0}
.seller-dialog .dialog-header button {flex-shrink:0}
#joinAgentsDialog .dialog-footer {position:sticky;bottom:-24px;margin:16px -24px -24px;padding:14px 24px;background:var(--surface);border-top:1px solid var(--border);z-index:2}
@media(max-width:1100px){.agents-layout{grid-template-columns:1fr}.agent-list{max-height:220px}.agent-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.agent-filters{grid-template-columns:1fr}}
@media(max-width:1000px){.docking-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.docking-filters{grid-template-columns:1fr}}
