/* MAX Agent 3.0 — independent black/purple Control Center */
#agent .agent-hero{position:relative;overflow:hidden;border:1px solid #6353ad;background:radial-gradient(ellipse at 88% 7%,#392b73 0%,#17172f 52%,#0e1322 100%);padding:26px;border-radius:23px;margin-bottom:17px}
#agent .agent-eyebrow{color:#c9bcff;font-size:12px;letter-spacing:2px;font-weight:750}
#agent .agent-hero h2{font-size:clamp(25px,3vw,35px);margin:8px 0}
#agent .agent-hero p{color:#d4d3eb;max-width:690px;margin:7px 0;line-height:1.6}
#agent .agent-pulse{display:inline-block;height:9px;width:9px;border-radius:50%;background:#70e8c6;box-shadow:0 0 13px #70e8c6;vertical-align:middle;margin-right:5px}
#agent .agent-chip{font-size:12px;font-weight:700;display:inline-block;padding:7px 12px;background:#2b2654;border:1px solid #52458e;border-radius:30px;color:#e4dfff}
#agent .agent-head-row{display:flex;justify-content:space-between;gap:15px;align-items:start;flex-wrap:wrap}
#agent .agent-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:15px}
#agent .agent-box{padding:20px;background:linear-gradient(145deg,#191b32,#101426);border:1px solid #373958;border-radius:19px;min-width:0}
#agent .agent-box h3{margin:0 0 8px;font-size:18px;color:#fff}
#agent .agent-subtle{font-size:13px;color:#bfc1dc;line-height:1.6}
#agent .agent-box textarea{min-height:115px}
#agent .agent-small-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}
#agent .agent-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
#agent .agent-actions button{min-height:42px}
#agent .agent-quick-list{display:grid;gap:8px;margin-top:15px}
#agent .agent-quick-list button{text-align:left;background:#242343!important;border:1px solid #474075!important;font-size:13px;padding:11px 13px}
#agent .agent-quick-list button:hover{border-color:#a18eff!important}
#agent .agent-permissions{display:grid;gap:8px;margin-top:12px}
#agent .agent-app{background:#13162b;border:1px solid #353853;border-radius:13px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
#agent .agent-app strong{display:block;font-size:14px;color:#fafaff}
#agent .agent-app small{display:block;font-size:11px;color:#babcd8;margin-top:4px;line-height:1.35}
#agent .agent-app label{margin:0;flex:0 0 auto;display:flex;align-items:center;gap:7px;font-size:12px;color:#e9e7ff;cursor:pointer}
#agent .agent-app input{width:19px;height:19px;accent-color:#8c6cff;padding:0}
#agent .agent-app .agent-unavailable{font-size:11px;color:#ffb5c8;max-width:98px;text-align:right}
#agent .agent-banner{background:#201c3c;border:1px solid #574a84;padding:13px 15px;border-radius:13px;margin-top:14px;color:#e0dcff;font-size:13px;line-height:1.6}
#agent .agent-banner.warn{background:#2a2033;border-color:#785572;color:#ffe0ed}
#agent .agent-task-list{display:grid;gap:10px}
#agent .agent-task{border:1px solid #3d3e5e;border-radius:14px;background:#14182d;padding:15px}
#agent .agent-task strong{font-size:14px;overflow-wrap:anywhere}
#agent .agent-task-meta{font-size:12px;color:#b7bad5;margin-top:7px;line-height:1.6}
#agent .agent-task-status{font-size:11px;border-radius:99px;padding:5px 9px;background:#40366a;color:#ddd4ff;display:inline-block;margin-right:6px}
#agent .agent-task-status.ready{background:#205347;color:#b0ffe5}
#agent .agent-task-status.paused{background:#533d2e;color:#ffe0b4}
#agent .agent-task button{font-size:12px;padding:9px 12px}
#agent .agent-task .agent-actions{margin-top:10px}
#agent .agent-mic:disabled{opacity:.6}
#agent .agent-approval{border-radius:15px;border:1px solid #786bc3;background:#252047;padding:14px;margin-top:12px}
#agent .agent-approval strong{display:block;margin-bottom:9px}
#agent #agent-preview-details{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#e7e2ff;line-height:1.6}
#agent .agent-connected-note{font-size:12px;color:#acb6cc}
#agent #agent-live-status{min-height:22px;color:#d2c9ff;font-size:13px;margin-top:10px}
#agent .agent-footer{margin-top:16px;color:#aab1d2;font-size:12px;line-height:1.6}
#agent .agent-stack{display:grid;gap:15px}
#agent .agent-voice-label{font-size:12px;color:#bab4da}
#agent button.agent-critical{background:#4a2746!important;border:1px solid #80516e;color:white}
#agent button.secondary{background:#2a294b!important;color:#f0ebff}
#agent .agent-inline-check{display:flex;gap:10px;align-items:center;margin:12px 0;color:#dad7ee;font-size:13px}
#agent .agent-inline-check input{width:19px;height:19px;accent-color:#8c6cff}
#agent .agent-full{grid-column:1/-1}
@media(max-width:890px){#agent .agent-grid{grid-template-columns:1fr}}
@media(max-width:560px){#agent .agent-box{padding:14px}#agent .agent-small-row{grid-template-columns:1fr}#agent .agent-hero{padding:19px}}
