:root{color:#1f2933;background:#f5f7fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}.app-layout{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:#fff;border-right:1px solid #d9e2ec;flex-direction:column;gap:28px;padding:24px 18px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{color:#fff;background:#0f766e;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-size:.9rem;font-weight:800;display:flex}.brand-title,.brand-subtitle{margin:0}.brand-title{color:#102a43;font-size:.95rem;font-weight:800}.brand-subtitle{color:#627d98;font-size:.82rem}.nav-list{gap:8px;display:grid}.nav-button,.button{cursor:pointer;font:inherit;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;min-height:42px;font-weight:700;display:inline-flex}.nav-button{color:#52606d;text-align:left;background:0 0;justify-content:flex-start;width:100%;padding:10px 12px}.nav-button:hover,.nav-button:focus-visible,.nav-button-active{color:#0f766e;background:#e6fffa;outline:none}.content-shell{min-width:0;padding:32px}.page-grid{gap:24px;max-width:1180px;display:grid}.page-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.eyebrow{color:#0f766e;letter-spacing:0;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:700}h1{color:#102a43;margin:0;font-size:2rem;line-height:1.1}h2{color:#102a43;margin:0;font-size:1.05rem;line-height:1.25}p{color:#52606d;margin:0;font-size:1rem;line-height:1.65}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.metric-card,.tool-panel{background:#fff;border:1px solid #d9e2ec;border-radius:8px;box-shadow:0 14px 28px #1f29330f}.metric-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px;display:grid}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.summary-card{background:#f8fafc;border:1px solid #d9e2ec;border-radius:8px;padding:14px}.metric-icon{color:#334e68;background:#eef2ff;border-radius:8px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.metric-label,.metric-detail{color:#627d98;font-size:.88rem}.metric-value{color:#102a43;text-transform:capitalize;font-size:1.4rem;font-weight:800;line-height:1.2}.connection-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:start;gap:20px;display:grid}.tool-panel{gap:18px;padding:24px;display:grid}.panel-header{justify-content:space-between;align-items:start;display:flex}.qr-frame{aspect-ratio:1;background:#f8fafc;border:1px dashed #bcccdc;border-radius:8px;justify-content:center;align-items:center;width:100%;max-width:420px;min-height:280px;padding:22px;display:flex}.qr-frame img{max-width:100%;height:auto;max-height:100%;display:block}.empty-state{color:#52606d;text-align:center;place-items:center;gap:10px;display:grid}.button-row{flex-wrap:wrap;gap:10px;display:flex}.bulk-actions{border-top:1px solid #edf2f7;justify-content:space-between;align-items:center;gap:14px;padding-top:16px;display:flex}.button{justify-content:center;padding:10px 14px}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{color:#fff;background:#0f766e}.button-secondary{color:#243b53;background:#fff;border-color:#bcccdc}.button-danger{color:#c53030;background:#fff5f5;border-color:#feb2b2}.status-pill{color:#334e68;text-transform:capitalize;background:#edf2f7;border-radius:999px;align-items:center;gap:8px;min-height:36px;padding:8px 12px;font-size:.9rem;font-weight:800;display:inline-flex}.status-ready,.status-authenticated{color:#0f766e;background:#e6fffa}.status-auth_failed,.status-disconnected{color:#c53030;background:#fff5f5}.status-qr_required,.status-initializing,.status-reconnecting,.status-queued,.status-running,.status-paused,.status-preview{color:#975a16;background:#fffbeb}.status-completed{color:#0f766e;background:#e6fffa}.status-stopped,.status-failed{color:#c53030;background:#fff5f5}.compliance-note{color:#744210;background:#fffaf0;border:1px solid #fbd38d;border-radius:8px;max-width:900px;padding:14px 16px;font-weight:700}.status-list{gap:12px;margin:0;display:grid}.status-list div{border-bottom:1px solid #edf2f7;gap:4px;padding-bottom:12px;display:grid}.status-list dt{color:#627d98;text-transform:uppercase;font-size:.8rem;font-weight:800}.status-list dd{color:#102a43;overflow-wrap:anywhere;margin:0}.steps-list{color:#52606d;gap:8px;margin:0;padding-left:22px;line-height:1.55;display:grid}.notice{border-radius:8px;padding:12px 14px;font-weight:700}.notice-info{color:#2b6cb0;background:#ebf8ff}.notice-success{color:#276749;background:#f0fff4}.notice-warning{color:#975a16;background:#fffbeb}.notice-error{color:#c53030;background:#fff5f5}.filter-grid,.form-grid,.import-form,.send-layout{gap:14px;display:grid}.filter-grid{grid-template-columns:1.4fr repeat(3,minmax(160px,.7fr))}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.import-form{grid-template-columns:minmax(240px,1fr) auto;align-items:end}.send-layout{grid-template-columns:repeat(2,minmax(0,1fr))}label{color:#334e68;gap:6px;font-weight:700;display:grid}input,select,textarea{color:#102a43;font:inherit;background:#fff;border:1px solid #bcccdc;border-radius:8px;min-height:40px;padding:9px 11px}textarea{resize:vertical}.textarea-tall,.textarea-message{min-height:180px}.checkbox-label{align-items:center;gap:8px;display:flex}.checkbox-label input{min-height:auto}.full-span{grid-column:1/-1}.send-actions{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;display:grid}.consent-check{color:#243b53;background:#f8fafc;border:1px solid #d9e2ec;border-radius:8px;padding:10px 12px}.progress-track{background:#edf2f7;border-radius:999px;height:12px;overflow:hidden}.progress-fill{background:#0f766e;height:100%;transition:width .18s}.message-results-table{min-width:720px}.input-with-icon{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.input-with-icon input{min-width:0}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:980px}.data-table th,.data-table td{color:#243b53;text-align:left;vertical-align:top;border-bottom:1px solid #edf2f7;padding:11px 10px;font-size:.9rem}.data-table th{color:#52606d;text-transform:uppercase;font-size:.78rem}.badge{border-radius:999px;padding:4px 8px;font-size:.78rem;font-weight:800;display:inline-flex}.badge-success{color:#0f766e;background:#e6fffa}.badge-warning{color:#975a16;background:#fffbeb}.badge-error{color:#c53030;background:#fff5f5}.badge-muted{color:#52606d;background:#edf2f7}.icon-actions{gap:6px;display:flex}.icon-actions button{color:#334e68;cursor:pointer;background:#fff;border:1px solid #bcccdc;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.icon-actions button:disabled{cursor:not-allowed;opacity:.45}.pagination{justify-content:flex-end;align-items:center;gap:12px;display:flex}.empty-table{background:#f8fafc;border:1px dashed #bcccdc;border-radius:8px;justify-content:center;align-items:center;min-height:160px;display:flex}.modal-backdrop{z-index:20;background:#102a4359;justify-content:center;align-items:start;padding:32px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-panel{background:#fff;border:1px solid #d9e2ec;border-radius:8px;gap:18px;width:100%;max-width:720px;padding:24px;display:grid;box-shadow:0 22px 48px #102a4333}@media (width<=860px){.app-layout{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #d9e2ec;border-right:0}.nav-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.content-shell{padding:22px}.page-header,.metric-card{grid-template-columns:1fr;align-items:stretch}.connection-layout,.filter-grid,.form-grid,.import-form,.send-layout,.send-actions{grid-template-columns:1fr}.pagination{justify-content:flex-start}.bulk-actions{flex-direction:column;align-items:stretch}}
