:root { color-scheme: dark; --bg: #07090b; --panel: #10171b; --panel-soft: #0c1114; --line: rgba(105,132,143,.3); --hot: rgba(86,214,255,.58); --cyan: #56d6ff; --gold: #ffd98a; --green: #55dc95; --text: #eff8f9; --muted: #92a2a8; font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--text); background: var(--bg); }
body::before { position: fixed; z-index: -1; inset: 0; content: ""; background-image: linear-gradient(rgba(86,214,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(86,214,255,.055) 1px,transparent 1px),linear-gradient(115deg,transparent 0 48%,rgba(232,189,101,.08) 49%,transparent 51%); background-size: 44px 44px,44px 44px,280px 280px; }
[hidden] { display: none !important; }
.shell { min-height: 100vh; padding-left: 208px; }
.taskbar { position: fixed; inset: 0 auto 0 0; width: 196px; padding: 18px 12px; border-right: 1px solid var(--hot); background: rgba(9,13,16,.96); }
.taskbar-brand { display: flex; align-items: center; gap: 10px; padding: 7px 8px 20px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 900; }
.avatar { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(232,189,101,.62); border-radius: 50%; color: #17130b; background: linear-gradient(135deg,var(--gold),var(--cyan)); font-size: 14px; font-weight: 900; }
.taskbar-label { margin: 18px 8px 8px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.taskbar a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 10px; border: 1px solid transparent; border-radius: 5px; color: #d8e6e8; text-decoration: none; font-size: 14px; font-weight: 800; }
.taskbar a::before { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(86,214,255,.48); color: var(--cyan); content: attr(data-mark); font-size: 11px; }
.taskbar a:hover,.taskbar a.active { border-color: var(--hot); color: var(--cyan); background: rgba(86,214,255,.08); }
.taskbar .back { position: absolute; right: 12px; bottom: 18px; left: 12px; color: var(--muted); font-size: 12px; }
.taskbar .back::before { content: "←"; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 48px; }
.topline { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 18px; }
.eyebrow { margin: 0 0 7px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
h1 { margin: 0; font-size: 34px; letter-spacing: 0; }
.account-chip { display: flex; align-items: center; gap: 9px; min-width: 170px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(16,23,27,.9); }
.account-chip strong { font-size: 13px; overflow-wrap: anywhere; }
.account-chip small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.lead { margin: 0 0 22px; color: #c0ced1; line-height: 1.7; }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.metric { min-height: 126px; padding: 18px; border: 1px solid var(--line); border-top-color: var(--hot); border-radius: 7px; background: linear-gradient(145deg,rgba(18,28,34,.97),rgba(10,14,17,.96)); }
.metric span { display: block; color: var(--muted); font-size: 12px; }
.metric b { display: block; margin-top: 12px; color: var(--gold); font-size: 30px; line-height: 1; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: rgba(14,20,24,.94); box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.panel h2 { margin: 0; font-size: 18px; }
.panel-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 17px; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.agent-list { display: grid; gap: 10px; }
.agent-row { display: grid; grid-template-columns: minmax(0,1fr) 88px 88px auto; gap: 12px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-soft); }
.agent-row strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.agent-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.agent-stat { text-align: right; color: var(--muted); font-size: 11px; }
.agent-stat b { display: block; margin-top: 5px; color: var(--green); font-size: 18px; }
.form-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: end; }
label { display: grid; gap: 7px; color: #cbd8dc; font-size: 12px; font-weight: 900; }
input { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #31434b; border-radius: 4px; outline: 0; color: var(--text); background: #090d10; font: inherit; text-transform: uppercase; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(86,214,255,.1); }
button { min-height: 43px; padding: 0 17px; border: 1px solid rgba(232,189,101,.85); border-radius: 4px; color: #17130b; background: linear-gradient(180deg,var(--gold),#e8bd65); cursor: pointer; font: 900 13px inherit; }
button:disabled { cursor: wait; opacity: .65; }
.agent-actions { display: grid; grid-template-columns: repeat(3, auto); gap: 6px; }
.agent-actions button { min-height: 32px; padding: 0 9px; border-color: var(--line); color: var(--cyan); background: rgba(86,214,255,.08); font-size: 11px; }
.agent-actions button:last-child { border-color: rgba(255,149,142,.5); color: #ffb4af; background: rgba(255,119,111,.06); }
.agent-dialog { width: min(430px,calc(100% - 28px)); padding: 0; border: 1px solid var(--hot); border-radius: 7px; color: var(--text); background: var(--panel); box-shadow: 0 26px 80px rgba(0,0,0,.6); }
.agent-dialog::backdrop { background: rgba(0,0,0,.7); }.agent-dialog form { display:grid; gap:14px; padding:22px; }.agent-dialog h2 { margin:0; font-size:21px; }.agent-dialog p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }.dialog-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.dialog-actions .cancel { border-color:var(--line); color:var(--muted); background:transparent; }
.form-note { min-height: 19px; margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.form-note.bad { color: #ff958e; }.form-note.good { color: var(--green); }
.empty { padding: 38px 16px; border: 1px dashed var(--line); border-radius: 5px; color: var(--muted); text-align: center; font-size: 13px; }
.auth-guard { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.auth-guard .panel { width: min(430px,100%); text-align: center; }.auth-guard h1 { font-size: 28px; }.auth-guard p { color: var(--muted); line-height: 1.7; }
@media (max-width: 760px) { .shell { padding: 0 0 68px; }.taskbar { top: auto; right: 0; width: 100%; height: 68px; padding: 8px 10px; border-top: 1px solid var(--hot); border-right: 0; }.taskbar-brand,.taskbar-label,.taskbar .back { display:none; }.taskbar nav { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.taskbar a { justify-content:center; min-height:46px; font-size:12px; } main { width:min(100% - 24px,1120px); padding-top:20px; }.topline { align-items:flex-start; }.account-chip { min-width:0; }.metric-grid { grid-template-columns:1fr; }.agent-row { grid-template-columns:minmax(0,1fr) 82px; }.agent-row .agent-stat:last-child { display:none; }.agent-actions { grid-column:1 / -1; grid-template-columns:repeat(3,1fr); }.form-grid { grid-template-columns:1fr; } }
