
:root{--red:#d93951;--ink:#20232b;--muted:#68707e;--line:#e9ebef;--bg:#f6f7f9}*{box-sizing:border-box}body{margin:0;font:14px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;padding:10px 15px;color:inherit}button:hover{background:#f5f5f7}button:focus-visible,input:focus-visible{outline:3px solid #df8191}button.primary{background:var(--red);color:white;border:0}aside{position:fixed;width:220px;background:white;border-right:1px solid var(--line);height:100vh;padding:28px 16px;display:flex;flex-direction:column}.brand{font-size:21px;font-weight:750;padding:0 14px 28px}.logo{display:inline-grid;place-items:center;background:var(--red);color:white;width:32px;height:32px;border-radius:10px;margin-right:8px}.label{font-size:11px;color:var(--muted);margin:18px 15px 8px;letter-spacing:1px}nav button{border:0;width:100%;text-align:left;margin:2px 0;background:transparent;padding:12px 15px;display:flex;gap:13px;align-items:center}nav button.active{background:#fcecef;color:var(--red);font-weight:650}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.sys{margin-top:auto;padding:16px;background:#f7f8fa;border-radius:10px;font-size:12px;color:var(--muted);line-height:2}.dot{color:#21805c}main{margin-left:220px}header{height:74px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.muted{color:var(--muted)}.pill{font-size:11px;border-radius:5px;background:#f1f3f6;padding:5px 9px;margin-left:10px}article{padding:32px 36px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}h1{font-size:26px;margin:0 0 9px;letter-spacing:-.7px}h2{font-size:16px;margin:0}p{color:var(--muted);line-height:1.6}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat,.panel{background:white;border:1px solid var(--line);border-radius:12px}.stat{padding:22px}.stat strong{display:block;font-size:30px;margin:14px 0 8px;font-weight:650}.stat small{color:var(--muted)}.stat:first-child{background:#fff8f9;border-color:#f3dce1}.panel{padding:24px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow:auto}.tabs button{border:0;border-radius:0;padding:0 0 15px;white-space:nowrap}.tabs button.active{color:var(--red);border-bottom:2px solid var(--red)}.toolbar{display:flex;gap:10px;margin:18px 0;align-items:center}input,select,textarea{border:1px solid #dfe2e8;background:white;border-radius:7px;padding:10px 12px;min-width:0}input.search{width:310px}.spacer{flex:1}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-size:12px;font-weight:500;color:var(--muted);background:#f8f9fb;padding:14px 12px}td{padding:19px 12px;border-bottom:1px solid var(--line);font-size:13px}.avatar{display:inline-grid;place-items:center;width:36px;height:36px;background:#eee6dc;border-radius:11px;margin-right:10px;color:#665649;font-weight:700}.person{display:flex;align-items:center}.sub{font-size:11px;color:var(--muted);margin-top:5px}.badge{background:#eaf6f0;color:#237b58;padding:5px 8px;border-radius:5px;font-size:11px}.badge.warn{background:#fff0df;color:#996014}.link{border:0;background:transparent;color:#536780;padding:0}.foot{display:flex;justify-content:space-between;margin-top:22px;color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.notice{background:#fff8ed;color:#886023;padding:13px 16px;border-radius:8px;font-size:12px;margin-bottom:20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cover{height:160px;border-radius:8px;display:grid;place-items:center;font-size:28px;background:#ede6dc;color:#71614d}.chat{display:grid;grid-template-columns:210px 260px 1fr;min-height:540px}.chat>section{padding:20px;border-right:1px solid var(--line)}.contact{padding:17px 10px;border-bottom:1px solid var(--line);cursor:pointer}.bubble{background:#f1f2f5;padding:15px;border-radius:0 12px 12px;margin:22px 0;max-width:80%;line-height:1.7}.bubble.mine{background:#fcecef;margin-left:auto;border-radius:12px 0 12px 12px}dialog{border:0;border-radius:16px;padding:28px;width:560px;box-shadow:0 24px 100px #20232b33}dialog::backdrop{background:#20232b55}dialog label{display:block;margin:18px 0 7px}dialog input,dialog textarea,dialog select{width:100%}.toast{position:fixed;bottom:25px;left:50%;background:#20232b;color:white;padding:14px 24px;border-radius:10px;display:none}.progress{height:6px;background:#eee;border-radius:5px;margin:15px 0}.progress span{display:block;height:100%;width:65%;background:var(--red);border-radius:5px}@media(max-width:1000px){aside{width:175px}main{margin-left:175px}article{padding:24px}.stats{grid-template-columns:repeat(2,1fr)}.chat{grid-template-columns:160px 1fr}.chat>section:first-child{display:none}}@media(max-width:600px){aside{position:static;width:auto;height:auto;padding:16px}nav{display:flex;overflow:auto}nav button{min-width:120px}.label,.sys{display:none}.brand{padding:0 0 12px}main{margin:0}header{padding:15px}.heading{align-items:flex-start;gap:15px}.grid,.cards{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.chat{grid-template-columns:1fr}.chat>section:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
