:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #eaf1ff; background: #0e1524; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 720px; background: #0e1524; overflow: hidden; }
.panel { height: 100px; display: flex; align-items: center; gap: 28px; padding: 12px 22px; background: linear-gradient(100deg, #151f35 0%, #111a2d 60%, #142541 100%); border-bottom: 1px solid #2a3c5e; box-shadow: 0 4px 16px #07101f66; position: relative; overflow: hidden; z-index: 1; }
.bitrix-shell { height: calc(100vh - 100px); min-height: 500px; position: relative; background: #fff; }
#bitrix-frame { width: 100%; height: 100%; border: 0; display: block; }
.frame-fallback { display: grid; position: absolute; inset: 0; place-items: center; background: #f5f7fb; color: #1f2937; text-align: center; font: 16px/1.5 sans-serif; }
.frame-fallback a { color: #246bce; }
.identity { display: flex; align-items: center; gap: 10px; min-width: 205px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #3568c7; font-weight: 700; font-size: 12px; }
.eyebrow { color: #91a5c7; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
h1 { margin: 2px 0 3px; font-size: 14px; font-weight: 650; white-space: nowrap; }
.status { color: #8ed5ad; font-size: 10px; }.status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #55d68a; margin-right: 4px; }
.metrics { display: flex; flex: 1; gap: 10px; }
.metric { min-width: 100px; padding: 9px 12px; border-left: 1px solid #2a3c5e; }.metric-label { color: #91a5c7; font-size: 10px; }.metric-value { margin-top: 3px; font-size: 18px; font-weight: 700; }.metric-change { margin-left: 4px; color: #72d99d; font-size: 10px; font-weight: 500; }
.trend { width: 220px; }.trend-head { display: flex; justify-content: space-between; color: #91a5c7; font-size: 10px; }.trend-head strong { color: #72d99d; font-size: 11px; }svg { display: block; width: 220px; height: 42px; }.area { fill: url(#fill); }.line { fill: none; stroke: #5d99ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.refresh { border: 0; color: #9db1d2; background: transparent; font-size: 22px; cursor: pointer; }.refresh:hover { color: white; transform: rotate(30deg); }
@media (max-width: 900px) { body { min-width: 600px; }.trend { display: none; }.panel { gap: 14px; }.identity { min-width: 190px; } }
