:root{--cx-bg:#f4f7fb;--cx-paper:#fff;--cx-ink:#0f172a;--cx-muted:#64748b;--cx-line:#e2e8f0;--cx-red:#b00000;--cx-red2:#dd0000;--cx-gold:#facc15;--cx-shadow:0 16px 36px rgba(15,23,42,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(1000px 500px at 12% -8%,rgba(37,99,235,.08),transparent 55%),radial-gradient(800px 450px at 95% 0,rgba(176,0,0,.08),transparent 55%),var(--cx-bg);color:var(--cx-ink);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial}a{text-decoration:none;color:inherit}.cx-wrap{max-width:1720px;margin:auto;padding:14px}.cx-topbar{position:sticky;top:10px;z-index:20;display:grid;grid-template-columns:320px 1fr 320px;gap:12px;align-items:center;padding:12px 14px;border-radius:22px;background:linear-gradient(180deg,var(--cx-red2),var(--cx-red));box-shadow:var(--cx-shadow)}.cx-user{display:flex;gap:12px;align-items:center;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.10);color:#fff;min-width:0}.cx-avatar{width:44px;height:44px;border-radius:14px;background:#fff;color:#111827;display:grid;place-items:center;font-weight:1000;flex:none}.cx-user b,.cx-user span,.cx-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cx-user b{font-size:13px}.cx-user span{font-size:12px;font-weight:800;margin-top:3px}.cx-user small{font-size:11px;opacity:.85}.cx-search{min-height:46px;border-radius:16px;background:rgba(255,255,255,.96);display:flex;align-items:center;padding:0 16px;font-weight:950;color:#334155}.cx-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center;flex-wrap:wrap}.cx-actions a,.cx-actions button{height:40px;padding:0 13px;border-radius:13px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.12);color:#fff;font-weight:950;display:inline-flex;align-items:center;cursor:pointer}.cx-actions .gold{background:var(--cx-gold);color:#111827;border-color:rgba(0,0,0,.12)}.cx-actions form{margin:0}.cx-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}.cx-kpi{--rgb:71,85,105;position:relative;overflow:hidden;min-height:120px;padding:17px 18px;border-radius:22px;background:linear-gradient(135deg,rgba(var(--rgb),.12),rgba(255,255,255,.96) 60%),#fff;border:1px solid rgba(var(--rgb),.18);box-shadow:0 16px 34px rgba(15,23,42,.06)}.cx-kpi.green{--rgb:34,197,94}.cx-kpi.blue{--rgb:37,99,235}.cx-kpi.amber{--rgb:245,158,11}.cx-kpi.purple{--rgb:139,92,246}.cx-kpi span{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(var(--rgb),.11);color:rgb(var(--rgb));font-weight:1000;font-size:12px}.cx-kpi strong{display:block;font-size:31px;margin-top:12px}.cx-kpi small{display:block;color:var(--cx-muted);font-weight:750;margin-top:4px}.cx-panel{margin-top:14px;background:rgba(255,255,255,.95);border:1px solid var(--cx-line);border-radius:24px;box-shadow:var(--cx-shadow);overflow:hidden}.cx-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 20px;border-bottom:1px solid var(--cx-line)}.cx-panel-head h2{margin:0;font-size:20px}.cx-panel-head p{margin:5px 0 0;color:var(--cx-muted);font-size:13px;font-weight:700}.cx-live{padding:7px 11px;border-radius:999px;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;font-size:11px;font-weight:1000}.cx-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px}.cx-module{position:relative;padding:18px;border:1px solid var(--cx-line);border-radius:19px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);transition:.15s ease}.cx-module:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(15,23,42,.09);border-color:#cbd5e1}.cx-module-dot{width:11px;height:11px;border-radius:50%;background:var(--cx-red);box-shadow:0 0 0 5px rgba(176,0,0,.08);display:block;margin-bottom:14px}.cx-module strong{font-size:15px}.cx-module p{margin:7px 0 15px;color:var(--cx-muted);font-size:12px;line-height:1.55;font-weight:700}.cx-module em{font-style:normal;font-size:12px;font-weight:950;color:#991b1b}.cx-empty{padding:22px;color:var(--cx-muted)}.cx-secondary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}.cx-secondary>div{background:#fff;border:1px solid var(--cx-line);border-radius:18px;padding:16px;box-shadow:0 10px 22px rgba(15,23,42,.05)}.cx-secondary b{display:block;font-size:12px;color:var(--cx-muted)}.cx-secondary strong{display:block;margin-top:7px;font-size:24px}
/* Safe cross-module polish: does not replace module logic. */
body table{border-collapse:collapse}body button,body input,body select,body textarea{font:inherit}body .card,body .panel{box-shadow:0 12px 28px rgba(15,23,42,.055)}
@media(max-width:1100px){.cx-topbar{grid-template-columns:1fr}.cx-actions{justify-content:flex-start}.cx-kpis,.cx-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.cx-wrap{padding:9px}.cx-topbar{position:relative;top:0;border-radius:18px}.cx-kpis,.cx-secondary,.cx-module-grid{grid-template-columns:1fr}.cx-module-grid{padding:12px}.cx-panel-head{align-items:flex-start}.cx-actions a,.cx-actions button{height:38px}.cx-search{font-size:13px}}
