/* Scoped to independent agent dashboard, no global styling changes */
#aeEth,#aeSas{direction:rtl;background:linear-gradient(145deg,#102238,#071421);border:1px solid #8f7544;border-radius:18px;padding:16px;margin:20px 0;color:#e6eefb;box-shadow:0 8px 30px #0002}
#aeEth h2,#aeSas h2{font-size:18px;color:#f5d28d;margin:0 0 10px}
.ae-muted{color:#a8b7c8;font-size:12px;line-height:1.8;margin:8px 0}
.ae-warning{color:#ffc4ae;font-size:13px;line-height:1.8}
.ae-router{border-top:1px solid #32455b;margin-top:18px;padding-top:12px}.ae-router h3{font-size:15px;color:#ffdb97}
.ae-ethgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.ae-port{background:#15253a;border:1px solid #2d4058;border-radius:13px;padding:14px;min-width:0}
.ae-port-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}
.ae-port-top strong{color:#f5f7ff}.ae-up{color:#52d5a9}.ae-down{color:#ff7279}
.ae-small{display:block;color:#9caec4;font-size:10px;margin-top:12px;text-align:right}
.ae-count{font-size:34px;color:#f4bf5e;font-weight:800;text-align:right;padding:5px 0 12px}
.ae-detail{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid #28384e;font-size:12px}
.ae-detail span{color:#9fafc0}.ae-detail strong{color:#e9e4da;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.ae-btn{border:1px solid #967b4c;border-radius:10px;background:#132b43;color:#f1d9a7;font-weight:700;cursor:pointer;padding:10px 13px;margin:5px 0;font-size:13px}
.ae-btn:disabled{opacity:.5;cursor:wait}.ae-primary{background:linear-gradient(120deg,#f4cb75,#bb8f42);color:#222;border:0}.ae-danger{border-color:#a8515a;color:#ffc1c8}
.ae-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.ae-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}
.ae-form input,.ae-search{min-height:44px;min-width:0;width:100%;box-sizing:border-box;border:1px solid #40526b;border-radius:10px;background:#091629;color:white;padding:9px 12px;font:inherit}
.ae-form .ae-primary{align-self:end}.ae-form .ae-muted{align-self:center}
.ae-sas-card{background:#0e2032;border:1px solid #354d66;border-radius:13px;padding:12px;margin:12px 0}
.ae-sas-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px}
.ae-sas-head strong{display:block;font-size:14px}.ae-sas-head small{display:block;color:#9faec0;overflow-wrap:anywhere;margin-top:5px}
.ae-actions{display:flex;gap:7px;flex-wrap:wrap}
.ae-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0}
.ae-sumitem{background:#162f47;border:1px solid #304b66;border-radius:12px;padding:10px;text-align:center}
.ae-sumitem small{display:block;font-size:11px;color:#afbdd0}.ae-sumitem strong{display:block;color:#f7d081;font-size:24px;margin-top:5px}
.ae-users{max-height:360px;overflow:auto;margin-top:10px}
.ae-user{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 6px;border-bottom:1px solid #2a3d52;font-size:12px}
.ae-user strong,.ae-user small{display:block}.ae-user small{color:#a4b7c9;margin-top:5px}
@media(max-width:650px){#aeEth,#aeSas{padding:11px;margin:12px 0}.ae-ethgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ae-port{padding:9px}.ae-detail{font-size:10px;gap:5px}.ae-detail strong{font-size:10px}.ae-form{grid-template-columns:1fr}.ae-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-count{font-size:29px}}
@media(max-width:370px){.ae-ethgrid{grid-template-columns:1fr}}
