/* ========================================================================== Headroom — capacity operations console ========================================================================== */ :root { --bg: #060a0d; --bg-soft: #081015; --surface: #0c151a; --surface-2: #101c22; --surface-3: #16252c; --line: #1c2c34; --line-strong: #2a414b; --text: #e8f0f4; --text-2: #c2d2da; --muted: #7f95a0; --faint: #5a6e78; --accent: #3ce6a4; --accent-soft: rgba(60, 230, 164, 0.12); --accent-line: rgba(60, 230, 164, 0.28); --cyan: #4ec9f5; --ok: #3ce6a4; --watch: #f2c45c; --tight: #ffa04d; --crit: #ff6b7a; --violet: #b69cff; --radius: 14px; --radius-sm: 10px; --shadow: 0 18px 50px rgba(0, 0, 0, 0.38); --mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; --sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } * { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.5; letter-spacing: 0.005em; -webkit-font-smoothing: antialiased; } body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 8% -10%, rgba(60, 230, 164, 0.10), transparent 60%), radial-gradient(800px 600px at 100% 0%, rgba(78, 201, 245, 0.06), transparent 55%), linear-gradient(180deg, #070c10 0%, #060a0d 60%); pointer-events: none; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } button, input, select, textarea { font: inherit; color: inherit; } h1, h2, h3, h4, p { margin: 0; } [hidden] { display: none !important; } ::selection { background: rgba(60, 230, 164, 0.28); } /* Scrollbars */ * { scrollbar-width: thin; scrollbar-color: #24404a transparent; } ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: #1f353e; border: 3px solid transparent; background-clip: content-box; border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: #2c4b56; background-clip: content-box; } ::-webkit-scrollbar-track { background: transparent; } /* -------------------------------------------------------------------------- Boot -------------------------------------------------------------------------- */ .boot { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--bg); z-index: 60; } .boot-mark { width: 64px; height: 64px; color: var(--accent); filter: drop-shadow(0 0 22px rgba(60, 230, 164, 0.35)); animation: bootPulse 1.6s ease-in-out infinite; } .boot-mark svg { width: 100%; height: 100%; } .boot-text { font-weight: 700; letter-spacing: 0.42em; font-size: 15px; color: var(--text); } .boot-sub { color: var(--muted); font-size: 12.5px; letter-spacing: 0.04em; } .boot-error { color: var(--crit); font-size: 12.5px; max-width: 420px; text-align: center; } @keyframes bootPulse { 0%, 100% { opacity: 0.7; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1); } } /* -------------------------------------------------------------------------- Login -------------------------------------------------------------------------- */ .login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr); } .login-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(32px, 5vw, 76px); overflow: hidden; border-right: 1px solid var(--line); background: radial-gradient(600px 400px at 20% 20%, rgba(60, 230, 164, 0.14), transparent 65%), radial-gradient(500px 400px at 90% 90%, rgba(78, 201, 245, 0.10), transparent 60%), #071014; } .login-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(90, 140, 160, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 140, 160, 0.055) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 35% 40%, #000 20%, transparent 78%); pointer-events: none; } .login-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; } .login-brand .brand-mark { width: 38px; height: 38px; } .login-brand strong { font-size: 16px; letter-spacing: 0.34em; font-weight: 700; } .login-hero { position: relative; z-index: 1; max-width: 520px; } .login-hero h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 18px; } .login-hero h1 em { font-style: normal; color: var(--accent); } .login-hero p { color: var(--text-2); font-size: 15px; max-width: 460px; } .login-points { display: grid; gap: 14px; margin-top: 34px; } .login-point { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 13.5px; } .login-point .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; } .login-point .dot svg { width: 14px; height: 14px; } .login-foot { position: relative; z-index: 1; color: var(--faint); font-size: 12px; display: flex; gap: 18px; flex-wrap: wrap; } .login-panel { display: grid; place-items: center; padding: 40px 26px; background: #080d11; } .login-card { width: min(400px, 100%); padding: 34px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #0e181e, #0a1216); box-shadow: var(--shadow); } .login-card .eyebrow { margin-bottom: 10px; } .login-card h2 { font-size: 22px; letter-spacing: -0.02em; } .login-card > p { color: var(--muted); font-size: 13px; margin-top: 6px; margin-bottom: 24px; } .login-card .field { margin-bottom: 16px; } .login-card .btn { width: 100%; margin-top: 6px; } .login-hint { margin-top: 20px; padding: 11px 13px; border-radius: 10px; border: 1px dashed var(--line-strong); background: rgba(78, 201, 245, 0.05); color: var(--muted); font-size: 12px; display: flex; gap: 8px; align-items: center; } .login-hint code { color: var(--text-2); font-family: var(--mono); font-size: 11.5px; } .login-error { color: var(--crit); font-size: 12.5px; margin-top: 12px; min-height: 18px; } /* -------------------------------------------------------------------------- Shell -------------------------------------------------------------------------- */ .shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; } .sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px 16px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 18, 23, 0.96), rgba(7, 12, 16, 0.98)); backdrop-filter: blur(12px); z-index: 30; } .brand { display: flex; align-items: center; gap: 11px; padding: 4px 10px 18px; color: var(--text); } .brand:hover { text-decoration: none; } .brand-mark { width: 33px; height: 33px; color: var(--accent); flex: 0 0 auto; filter: drop-shadow(0 0 12px rgba(60, 230, 164, 0.28)); } .brand-mark svg { width: 100%; height: 100%; } .brand-word { font-size: 13.5px; font-weight: 700; letter-spacing: 0.33em; } .brand-sub { display: block; font-size: 9.5px; letter-spacing: 0.16em; color: var(--faint); font-weight: 600; margin-top: 2px; text-transform: uppercase; } .nav-section { padding: 14px 12px 6px; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; } .nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; border: 1px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; } .nav-item:hover { background: var(--surface-2); color: var(--text); text-decoration: none; } .nav-item.active { background: linear-gradient(90deg, rgba(60, 230, 164, 0.13), rgba(60, 230, 164, 0.03)); color: var(--text); border-color: var(--accent-line); } .nav-item.active .ic { color: var(--accent); } .nav-item .ic { width: 17px; height: 17px; color: var(--faint); flex: 0 0 auto; } .nav-item .nav-count { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 20px; background: rgba(255, 107, 122, 0.14); color: var(--crit); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; font-family: var(--mono); } .nav-item .nav-lock { margin-left: auto; color: var(--faint); width: 13px; height: 13px; } .sidebar-foot { margin-top: auto; padding: 12px 4px 0; } .edition-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px; background: radial-gradient(180px 100px at 100% 0%, rgba(60, 230, 164, 0.12), transparent 70%), var(--surface); } .edition-card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .edition-card .label { font-size: 12.5px; font-weight: 600; } .edition-card p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 7px 0 11px; } .edition-card .btn { width: 100%; } .main { min-width: 0; display: flex; flex-direction: column; } .topbar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 16px; height: 63px; padding: 0 26px; border-bottom: 1px solid var(--line); background: rgba(7, 12, 16, 0.82); backdrop-filter: blur(14px); } .topbar-title { min-width: 0; } .topbar-title h1 { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .topbar-title span { display: block; color: var(--faint); font-size: 11px; margin-top: 1px; } .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; } .topbar-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; padding-right: 6px; } .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(60, 230, 164, 0.5); animation: live 2.4s ease-out infinite; } @keyframes live { 0% { box-shadow: 0 0 0 0 rgba(60, 230, 164, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(60, 230, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 230, 164, 0); } } .user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 9px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--text-2); font-size: 12px; } .user-chip:hover { border-color: var(--line-strong); } .avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #1a9c74); color: #04120c; font-weight: 800; font-size: 11px; } .menu { position: absolute; top: 58px; right: 22px; width: 208px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface-2); box-shadow: var(--shadow); padding: 6px; z-index: 50; } .menu-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 7px; color: var(--text-2); font-size: 12.5px; text-align: left; cursor: pointer; } .menu-item:hover { background: var(--surface-3); color: var(--text); } .menu-item .ic { width: 14px; height: 14px; color: var(--muted); } .menu-sep { height: 1px; background: var(--line); margin: 5px 4px; } .menu-meta { padding: 8px 10px 4px; color: var(--faint); font-size: 10.5px; } .view { padding: 26px clamp(18px, 2.6vw, 34px) 56px; width: 100%; max-width: 1620px; margin: 0 auto; } .mobile-menu-btn { display: none; } /* -------------------------------------------------------------------------- Page head + toolbars -------------------------------------------------------------------------- */ .page-head { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; } .page-head .eyebrow { margin-bottom: 5px; } .page-head h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; } .page-head p { color: var(--muted); font-size: 13px; margin-top: 5px; max-width: 760px; } .page-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .eyebrow { color: var(--accent); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; } .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 13px; } .back-link:hover { color: var(--text); text-decoration: none; } .back-link .ic { width: 13px; height: 13px; } .toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 16px; } .toolbar .spacer { flex: 1; } .toolbar-label { color: var(--muted); font-size: 11.5px; } /* -------------------------------------------------------------------------- Buttons / inputs -------------------------------------------------------------------------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s; } .btn:hover { background: var(--surface-3); border-color: #37535e; color: var(--text); text-decoration: none; } .btn:active { transform: translateY(1px); } .btn .ic { width: 14px; height: 14px; } .btn.primary { background: linear-gradient(180deg, #46eab0, #28c48c); border-color: rgba(60, 230, 164, 0.55); color: #04140d; box-shadow: 0 6px 20px rgba(60, 230, 164, 0.16); } .btn.primary:hover { background: linear-gradient(180deg, #55f2bc, #30d49a); color: #04140d; } .btn.danger { border-color: rgba(255, 107, 122, 0.3); color: #ff9aa5; background: rgba(255, 107, 122, 0.07); } .btn.danger:hover { background: rgba(255, 107, 122, 0.14); border-color: rgba(255, 107, 122, 0.5); color: #ffc0c6; } .btn.ghost { background: transparent; border-color: transparent; color: var(--muted); } .btn.ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--line); } .btn.sm { height: 28px; padding: 0 9px; font-size: 11.5px; border-radius: 7px; } .btn.sm .ic { width: 12px; height: 12px; } .btn:disabled, .btn.is-busy { opacity: 0.55; cursor: progress; } .btn.is-busy .ic { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; } .icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--line); } .icon-btn .ic { width: 15px; height: 15px; } .icon-btn.danger:hover { color: var(--crit); border-color: rgba(255, 107, 122, 0.3); } .input, .select, .textarea { width: 100%; height: 36px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-strong); background: #0a1317; color: var(--text); font-size: 13px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; } .textarea { height: auto; min-height: 84px; padding: 9px 11px; resize: vertical; line-height: 1.55; } .input::placeholder, .textarea::placeholder { color: var(--faint); } .input:focus, .select:focus, .textarea:focus { border-color: rgba(60, 230, 164, 0.55); box-shadow: 0 0 0 3px rgba(60, 230, 164, 0.08); } .select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237f95a0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; } .input.sm, .select.sm { height: 30px; font-size: 12px; } .search { position: relative; flex: 1 1 220px; max-width: 340px; } .search .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--faint); pointer-events: none; } .search .input { padding-left: 32px; } .field { display: flex; flex-direction: column; gap: 6px; } .field > label { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; } .field .help { color: var(--faint); font-size: 11px; line-height: 1.45; } .field-error { color: var(--crit); font-size: 11.5px; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .form-grid .span-2 { grid-column: 1 / -1; } .check { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 12.5px; cursor: pointer; } .check input { width: 15px; height: 15px; accent-color: var(--accent); } .switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-size: 11.5px; user-select: none; } .switch input { position: absolute; opacity: 0; pointer-events: none; } .switch .track { width: 32px; height: 18px; border-radius: 20px; background: #24343c; border: 1px solid #2c424c; position: relative; transition: background 0.15s; flex: 0 0 auto; } .switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8ba0a9; transition: transform 0.15s, background 0.15s; } .switch input:checked + .track { background: rgba(60, 230, 164, 0.28); border-color: rgba(60, 230, 164, 0.5); } .switch input:checked + .track::after { transform: translateX(14px); background: var(--accent); } .seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 8px; border: 1px solid var(--line); background: #081115; } .seg button { border: 0; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 6px; cursor: pointer; } .seg button:hover { color: var(--text); } .seg button.on { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); } /* -------------------------------------------------------------------------- Cards, grids, KPIs -------------------------------------------------------------------------- */ .grid { display: grid; gap: 16px; } .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; } .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } .cols-main-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } .mb-16 { margin-bottom: 16px; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 10px; margin-bottom: 16px; } .panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(15, 25, 31, 0.96), rgba(10, 17, 21, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025); overflow: hidden; } .panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); min-height: 52px; } .panel-head h3 { font-size: 13.5px; font-weight: 650; letter-spacing: -0.005em; } .panel-head .sub { color: var(--faint); font-size: 11px; margin-top: 1px; } .panel-head .actions { margin-left: auto; display: flex; align-items: center; gap: 6px; } .panel-body { padding: 16px; } .panel-body.flush { padding: 0; } .panel-foot { padding: 11px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; display: flex; align-items: center; gap: 8px; } .kpi { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(240px 130px at 100% 0%, rgba(60, 230, 164, 0.06), transparent 70%), linear-gradient(180deg, rgba(15, 25, 31, 0.97), rgba(10, 17, 21, 0.97)); padding: 16px; min-height: 132px; display: flex; flex-direction: column; overflow: hidden; } .kpi::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(60, 230, 164, 0.32), transparent); opacity: 0.5; } .kpi-top { display: flex; align-items: center; gap: 8px; } .kpi-label { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; } .kpi-icon { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); } .kpi-icon .ic { width: 13px; height: 13px; } .kpi-value { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin-top: 11px; display: flex; align-items: baseline; gap: 6px; } .kpi-value small { font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; } .kpi-sub { color: var(--muted); font-size: 11.5px; margin-top: 6px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; } .kpi-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 10px; } .kpi .bar { flex: 1; } .kpi.crit { border-color: rgba(255, 107, 122, 0.26); background: radial-gradient(240px 130px at 100% 0%, rgba(255, 107, 122, 0.09), transparent 70%), linear-gradient(180deg, rgba(28, 17, 21, 0.97), rgba(13, 13, 17, 0.97)); } .kpi.tight { border-color: rgba(255, 160, 77, 0.24); } .resource-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: linear-gradient(180deg, rgba(15, 25, 31, 0.96), rgba(10, 17, 21, 0.96)); } .resource-card .rc-top { display: flex; align-items: flex-start; gap: 12px; } .resource-card .rc-label { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; } .resource-card .rc-value { font-family: var(--mono); font-size: 25px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; } .resource-card .rc-value small { font-size: 11.5px; color: var(--muted); font-weight: 500; } .resource-card .rc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); } .resource-card .rc-meta dt { color: var(--faint); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; } .resource-card .rc-meta dd { margin: 3px 0 0; font-family: var(--mono); font-size: 12px; color: var(--text-2); } .resource-card .ring { margin-left: auto; } .bar { height: 6px; border-radius: 20px; background: #1a2a32; overflow: hidden; position: relative; } .bar > span { display: block; height: 100%; border-radius: 20px; background: var(--ok); transition: width 0.5s ease; } .bar[data-band="watch"] > span { background: var(--watch); } .bar[data-band="tight"] > span { background: var(--tight); } .bar[data-band="critical"] > span { background: var(--crit); } .bar[data-band="unknown"] > span { background: var(--muted); } .bar.lg { height: 8px; } .bar.xs { height: 4px; } /* -------------------------------------------------------------------------- Pills, badges, status -------------------------------------------------------------------------- */ .pill { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 20px; border: 1px solid var(--line-strong); font-size: 10.5px; font-weight: 650; letter-spacing: 0.02em; white-space: nowrap; color: var(--muted); background: rgba(255, 255, 255, 0.02); } .pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; } .pill.plain::before { display: none; } .pill.healthy, .pill.ok { color: var(--ok); border-color: rgba(60, 230, 164, 0.26); background: rgba(60, 230, 164, 0.07); } .pill.watch { color: var(--watch); border-color: rgba(242, 196, 92, 0.26); background: rgba(242, 196, 92, 0.07); } .pill.tight { color: var(--tight); border-color: rgba(255, 160, 77, 0.28); background: rgba(255, 160, 77, 0.08); } .pill.critical, .pill.crit { color: var(--crit); border-color: rgba(255, 107, 122, 0.3); background: rgba(255, 107, 122, 0.08); } .pill.info { color: var(--cyan); border-color: rgba(78, 201, 245, 0.26); background: rgba(78, 201, 245, 0.07); } .pill.accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); } .pill.violet { color: var(--violet); border-color: rgba(182, 156, 255, 0.28); background: rgba(182, 156, 255, 0.08); } .pill.muted { color: var(--muted); } .badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--muted); } .badge.custom { color: var(--violet); border-color: rgba(182, 156, 255, 0.3); background: rgba(182, 156, 255, 0.07); } .badge.bundled { color: var(--cyan); border-color: rgba(78, 201, 245, 0.24); background: rgba(78, 201, 245, 0.06); } .badge.enterprise { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); } .badge.community { color: var(--muted); } .dot-status { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; } .dot-status.ok { background: var(--ok); box-shadow: 0 0 8px rgba(60, 230, 164, 0.55); } .dot-status.error { background: var(--crit); box-shadow: 0 0 8px rgba(255, 107, 122, 0.5); } .dot-status.pending { background: var(--watch); } .dot-status.disabled { background: var(--faint); } .trend { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); } .trend.up { color: var(--tight); } .trend.down { color: var(--ok); } .trend .ic { width: 11px; height: 11px; } .mono { font-family: var(--mono); } .muted { color: var(--muted); } .faint { color: var(--faint); } .crit-text { color: var(--crit); } .ok-text { color: var(--ok); } .nowrap { white-space: nowrap; } .right { text-align: right; } /* -------------------------------------------------------------------------- Tables -------------------------------------------------------------------------- */ .table-wrap { overflow-x: auto; } table.data { width: 100%; border-collapse: collapse; font-size: 12.5px; } table.data th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); white-space: nowrap; } table.data td { padding: 11px 14px; border-bottom: 1px solid rgba(28, 44, 52, 0.65); vertical-align: middle; } table.data tbody tr { transition: background 0.12s; } table.data tbody tr:hover { background: rgba(60, 230, 164, 0.028); } table.data tbody tr.clickable { cursor: pointer; } table.data tbody tr:last-child td { border-bottom: 0; } table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; } table.data .cell-main { display: flex; align-items: center; gap: 10px; min-width: 190px; } table.data .cell-main .name { font-weight: 600; color: var(--text); font-size: 12.5px; } table.data .cell-main .sub { color: var(--faint); font-size: 10.5px; margin-top: 1px; } .table-empty { padding: 38px 18px; text-align: center; color: var(--muted); } .table-empty strong { display: block; color: var(--text-2); margin-bottom: 4px; font-size: 13px; } .type-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); } .type-icon .ic { width: 15px; height: 15px; } .type-icon.t-hypervisor { color: var(--cyan); background: rgba(78, 201, 245, 0.07); border-color: rgba(78, 201, 245, 0.2); } .type-icon.t-storage, .type-icon.t-nas { color: var(--accent); background: rgba(60, 230, 164, 0.07); border-color: rgba(60, 230, 164, 0.2); } .type-icon.t-appliance { color: var(--watch); background: rgba(242, 196, 92, 0.07); border-color: rgba(242, 196, 92, 0.2); } .type-icon.t-network { color: var(--violet); background: rgba(182, 156, 255, 0.07); border-color: rgba(182, 156, 255, 0.2); } .type-icon.t-server { color: #9db5c0; } .type-icon.t-power { color: var(--tight); } .util-cell { display: flex; align-items: center; gap: 9px; min-width: 120px; } .util-cell .bar { width: 64px; flex: 0 0 auto; } .util-cell strong { font-family: var(--mono); font-size: 11.5px; font-weight: 500; min-width: 38px; text-align: right; } .mini-metric { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); } /* -------------------------------------------------------------------------- Lists (pressure leaders, alerts, modules) -------------------------------------------------------------------------- */ .list { display: flex; flex-direction: column; } .list-row { display: flex; align-items: center; gap: 11px; padding: 11px 16px; border-bottom: 1px solid rgba(28, 44, 52, 0.6); min-width: 0; } .list-row:last-child { border-bottom: 0; } a.list-row { color: inherit; } a.list-row:hover { background: rgba(60, 230, 164, 0.03); text-decoration: none; } .list-row .lr-main { min-width: 0; flex: 1; } .list-row .lr-main .name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list-row .lr-main .sub { color: var(--faint); font-size: 10.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list-row .lr-value { text-align: right; flex: 0 0 auto; } .list-row .lr-value strong { font-family: var(--mono); font-size: 12.5px; font-weight: 500; display: block; } .list-row .lr-value span { color: var(--faint); font-size: 10px; } .list-row .bar { margin-top: 7px; } .severity-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--watch); } .severity-dot.critical { background: var(--crit); box-shadow: 0 0 8px rgba(255, 107, 122, 0.55); } .severity-dot.warning { background: var(--watch); } .severity-dot.info { background: var(--cyan); } .alert-row { display: flex; gap: 11px; padding: 12px 16px; border-bottom: 1px solid rgba(28, 44, 52, 0.6); align-items: flex-start; } .alert-row:last-child { border-bottom: 0; } .alert-row .a-main { min-width: 0; flex: 1; } .alert-row .a-msg { font-size: 12.5px; color: var(--text-2); line-height: 1.4; } .alert-row .a-msg a { color: var(--text); font-weight: 600; } .alert-row .a-meta { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--faint); font-size: 10.5px; flex-wrap: wrap; } .alert-row.resolved { opacity: 0.58; } /* -------------------------------------------------------------------------- Charts -------------------------------------------------------------------------- */ .chart-wrap { position: relative; width: 100%; } .chart-svg { display: block; width: 100%; height: auto; overflow: visible; } .chart-grid { stroke: rgba(120, 160, 175, 0.11); stroke-width: 1; } .chart-axis { fill: var(--faint); font-size: 10px; font-family: var(--mono); } .chart-guide { stroke: rgba(60, 230, 164, 0.5); stroke-width: 1; stroke-dasharray: 3 3; } .chart-tip { position: absolute; top: 8px; min-width: 150px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(10, 19, 24, 0.96); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); pointer-events: none; z-index: 4; } .chart-tip .tip-time { color: var(--faint); font-size: 10px; margin-bottom: 5px; } .chart-tip .tip-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; padding: 2px 0; } .chart-tip .tip-row span { display: flex; align-items: center; gap: 6px; color: var(--muted); } .chart-tip .tip-row i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; } .chart-tip .tip-row strong { font-family: var(--mono); font-weight: 500; color: var(--text); } .chart-empty { display: grid; place-items: center; min-height: 160px; color: var(--faint); font-size: 12px; border: 1px dashed var(--line); border-radius: 10px; } .legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 11px; } .legend span { display: inline-flex; align-items: center; gap: 6px; } .legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; } .ring { position: relative; display: grid; place-items: center; flex: 0 0 auto; } .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; } .ring-track { stroke: #1a2b33; } .ring-value { stroke: var(--ok); transition: stroke-dashoffset 0.7s ease; } .ring[data-band="watch"] .ring-value { stroke: var(--watch); } .ring[data-band="tight"] .ring-value { stroke: var(--tight); } .ring[data-band="critical"] .ring-value { stroke: var(--crit); } .ring[data-band="unknown"] .ring-value { stroke: var(--muted); } .ring-label { position: relative; text-align: center; line-height: 1; } .ring-label strong { display: block; font-family: var(--mono); font-size: 21px; font-weight: 600; letter-spacing: -0.04em; } .ring-label span { display: block; color: var(--faint); font-size: 9px; margin-top: 4px; letter-spacing: 0.04em; } .ring.sm .ring-label strong { font-size: 15px; } .ring.sm .ring-label span { font-size: 8px; margin-top: 2px; } .spark { width: 100%; height: 34px; display: block; overflow: visible; } .spark-empty { display: block; height: 34px; } .dist { display: flex; gap: 2px; height: 7px; border-radius: 20px; overflow: hidden; background: #16242b; } .dist-bar { flex: 1; background: #1a2a32; overflow: hidden; } .dist-bar span { display: block; height: 100%; } .metric-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 13px 14px; min-width: 0; } .metric-card .mc-top { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; } .metric-card .mc-value { font-family: var(--mono); font-size: 21px; font-weight: 600; margin-top: 5px; letter-spacing: -0.02em; } .metric-card .mc-value small { color: var(--faint); font-size: 10.5px; font-weight: 500; margin-left: 2px; } .metric-card .mc-delta { font-family: var(--mono); font-size: 10.5px; color: var(--faint); } .metric-card .mc-delta.up { color: var(--tight); } .metric-card .mc-delta.down { color: var(--ok); } .metric-card .spark { margin-top: 7px; height: 28px; } /* -------------------------------------------------------------------------- Hero (asset detail) -------------------------------------------------------------------------- */ .hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(420px 180px at 0% 0%, rgba(60, 230, 164, 0.07), transparent 70%), linear-gradient(180deg, rgba(15, 25, 31, 0.97), rgba(10, 17, 21, 0.97)); margin-bottom: 16px; } .hero .hero-main { min-width: 0; } .hero h2 { font-size: 23px; letter-spacing: -0.025em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .hero .hero-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 7px; color: var(--muted); font-size: 11.5px; } .hero .hero-actions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; justify-content: flex-end; } .reco { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: linear-gradient(180deg, rgba(15, 25, 31, 0.96), rgba(10, 17, 21, 0.96)); border-left: 3px solid var(--accent); } .reco.critical { border-left-color: var(--crit); } .reco.warning { border-left-color: var(--watch); } .reco.info { border-left-color: var(--cyan); } .reco.healthy { border-left-color: var(--ok); } .reco .reco-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; } .reco h3 { font-size: 14px; letter-spacing: -0.01em; } .reco p { color: var(--text-2); font-size: 12.5px; line-height: 1.55; } .reco .action { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; display: flex; gap: 8px; } .reco .action .ic { width: 13px; height: 13px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; } .kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } .kv > div { padding: 9px 12px; border-bottom: 1px solid var(--line); min-width: 0; } .kv > div:nth-child(odd) { border-right: 1px solid var(--line); } .kv > div:nth-last-child(-n+2) { border-bottom: 0; } .kv dt { color: var(--faint); font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; } .kv dd { margin: 3px 0 0; font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; } .tabs { display: flex; gap: 3px; border-bottom: 1px solid var(--line); padding: 0 16px; overflow-x: auto; } .tab { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; padding: 11px 10px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; } .tab:hover { color: var(--text); } .tab.on { color: var(--accent); border-bottom-color: var(--accent); } .tab-panel { padding: 16px; } /* -------------------------------------------------------------------------- Modules -------------------------------------------------------------------------- */ .modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; } .module-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(15, 25, 31, 0.96), rgba(10, 17, 21, 0.96)); padding: 16px; min-width: 0; transition: border-color 0.15s, transform 0.15s; } .module-card:hover { border-color: var(--line-strong); } .module-card.disabled { opacity: 0.68; } .module-card.disabled:hover { opacity: 0.9; } .module-top { display: flex; align-items: flex-start; gap: 11px; } .module-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--cyan); flex: 0 0 auto; } .module-icon .ic { width: 18px; height: 18px; } .module-title { min-width: 0; flex: 1; } .module-title h3 { font-size: 14px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; } .module-title .sub { color: var(--faint); font-size: 10.5px; margin-top: 2px; } .module-desc { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 11px 0 13px; min-height: 36px; } .module-stats { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 12px; } .module-stats div { min-width: 0; } .module-stats dt { color: var(--faint); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; } .module-stats dd { margin: 2px 0 0; font-family: var(--mono); font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 118px; } .module-foot { display: flex; align-items: center; gap: 5px; margin-top: auto; } .module-foot .switch { margin-left: auto; } .module-status { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10.5px; margin-top: 7px; } .upload-drop { border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 26px 18px; text-align: center; background: rgba(78, 201, 245, 0.025); cursor: pointer; transition: border-color 0.15s, background 0.15s; } .upload-drop:hover { border-color: var(--accent-line); background: rgba(60, 230, 164, 0.04); } .upload-drop .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 8px; } .upload-drop strong { display: block; font-size: 13px; } .upload-drop span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; } .upload-file { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-family: var(--mono); font-size: 11.5px; } .log-box { max-height: 380px; overflow: auto; margin: 0; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: #060c0f; color: #a9c0ca; font-family: var(--mono); font-size: 11px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; } /* -------------------------------------------------------------------------- Simulator -------------------------------------------------------------------------- */ .sim-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .sim-form .span-3 { grid-column: 1 / -1; } .sim-results { display: grid; gap: 12px; } .sim-resource { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: rgba(255, 255, 255, 0.012); } .sim-resource .sr-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; } .sim-resource .sr-head strong { font-size: 12px; } .sim-resource .sr-head .pill { margin-left: auto; } .sim-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; } .sim-compare div { color: var(--muted); font-size: 10.5px; } .sim-compare strong { display: block; font-family: var(--mono); font-size: 14px; color: var(--text-2); margin-top: 2px; font-weight: 500; } .sim-compare .after strong { color: var(--accent); } .sim-compare .warn strong { color: var(--crit); } .findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .findings li { display: flex; gap: 8px; color: var(--text-2); font-size: 12px; line-height: 1.45; } .findings li .ic { width: 13px; height: 13px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; } .verdict { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); } .verdict strong { display: block; font-size: 13.5px; } .verdict span { color: var(--muted); font-size: 11.5px; } /* -------------------------------------------------------------------------- Copilot -------------------------------------------------------------------------- */ .chat-panel { display: flex; flex-direction: column; min-height: 560px; } .chat-log { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: 60vh; } .msg { display: flex; gap: 10px; max-width: 88%; } .msg.user { margin-left: auto; flex-direction: row-reverse; } .msg .msg-avatar { width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--accent); } .msg.user .msg-avatar { color: var(--cyan); } .msg .msg-avatar .ic { width: 13px; height: 13px; } .msg .bubble { padding: 10px 13px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); font-size: 12.5px; line-height: 1.6; overflow-wrap: anywhere; } .msg.user .bubble { background: rgba(78, 201, 245, 0.09); border-color: rgba(78, 201, 245, 0.22); color: var(--text); } .msg .bubble p { margin: 0 0 8px; } .msg .bubble p:last-child { margin-bottom: 0; } .msg .bubble ul { margin: 4px 0 8px; padding-left: 18px; } .msg .bubble li { margin: 3px 0; } .msg .bubble code { font-family: var(--mono); font-size: 11px; background: rgba(255, 255, 255, 0.06); padding: 1px 4px; border-radius: 4px; } .msg .bubble strong { color: var(--text); } .msg-note { color: var(--faint); font-size: 10px; margin-top: 5px; } .typing { display: inline-flex; gap: 4px; align-items: center; } .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; } .typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; } @keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } } .chat-input { display: flex; gap: 9px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: flex-end; } .chat-input textarea { flex: 1; height: 42px; min-height: 42px; max-height: 150px; resize: none; } .chat-input .btn { height: 42px; } .chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; } .chat-suggest button { border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--muted); border-radius: 20px; padding: 5px 10px; font-size: 11px; cursor: pointer; text-align: left; } .chat-suggest button:hover { border-color: var(--accent-line); color: var(--text); } /* -------------------------------------------------------------------------- API / settings -------------------------------------------------------------------------- */ .code-block { position: relative; margin: 0; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: #060c0f; color: #a9c0ca; font-family: var(--mono); font-size: 11px; line-height: 1.65; overflow-x: auto; white-space: pre; } .code-block .copy-btn { position: absolute; top: 8px; right: 8px; } .endpoint-list { display: flex; flex-direction: column; } .endpoint { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(28, 44, 52, 0.55); font-size: 12px; } .endpoint:last-child { border-bottom: 0; } .method { font-family: var(--mono); font-size: 9.5px; font-weight: 700; width: 42px; text-align: center; padding: 2px 0; border-radius: 4px; flex: 0 0 auto; background: rgba(60, 230, 164, 0.09); color: var(--accent); } .method.post { background: rgba(78, 201, 245, 0.09); color: var(--cyan); } .method.put { background: rgba(242, 196, 92, 0.09); color: var(--watch); } .method.delete { background: rgba(255, 107, 122, 0.09); color: var(--crit); } .endpoint code { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); } .endpoint span { color: var(--faint); font-size: 11px; margin-left: auto; text-align: right; } .matrix { width: 100%; border-collapse: collapse; font-size: 12px; } .matrix th { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.09em; } .matrix td { padding: 8px 12px; border-bottom: 1px solid rgba(28, 44, 52, 0.55); } .matrix tr:last-child td { border-bottom: 0; } .matrix td:not(:first-child), .matrix th:not(:first-child) { text-align: center; width: 100px; } .matrix .yes { color: var(--accent); } .matrix .no { color: var(--faint); } .matrix .group-row td { background: rgba(255, 255, 255, 0.018); color: var(--muted); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 12px; } .license-current { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); } .license-current .lc-main { flex: 1; min-width: 0; } .license-current strong { display: block; font-size: 14px; } .license-current span { color: var(--muted); font-size: 11.5px; } .license-current .ring { margin-left: auto; } .kv-list { display: flex; flex-direction: column; gap: 0; } .kv-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(28, 44, 52, 0.55); font-size: 12px; } .kv-list > div:last-child { border-bottom: 0; } .kv-list dt { color: var(--muted); } .kv-list dd { margin: 0; font-family: var(--mono); font-size: 11.5px; text-align: right; overflow-wrap: anywhere; } .danger-zone { border-color: rgba(255, 107, 122, 0.22); } .danger-zone .panel-head h3 { color: #ff9aa5; } /* -------------------------------------------------------------------------- Empty / insight / CTA -------------------------------------------------------------------------- */ .empty { display: grid; place-items: center; text-align: center; padding: 44px 20px; color: var(--muted); } .empty .empty-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--faint); margin-bottom: 12px; } .empty .empty-icon .ic { width: 20px; height: 20px; } .empty strong { display: block; color: var(--text-2); font-size: 13.5px; margin-bottom: 4px; } .empty p { font-size: 12px; max-width: 340px; } .empty .btn { margin-top: 14px; } .upgrade-cta { border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 20px; background: radial-gradient(400px 200px at 0% 0%, rgba(60, 230, 164, 0.12), transparent 70%), linear-gradient(180deg, rgba(15, 27, 31, 0.98), rgba(10, 17, 21, 0.98)); } .upgrade-cta h3 { font-size: 16px; letter-spacing: -0.015em; margin-bottom: 4px; } .upgrade-cta p { color: var(--muted); font-size: 12.5px; max-width: 620px; } .upgrade-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 16px 0; } .upgrade-feature { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); font-size: 12px; } .upgrade-feature .ic { width: 13px; height: 13px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; } .insight { border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); padding: 13px; font-size: 12.5px; line-height: 1.6; color: var(--text-2); } .insight h4 { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 7px; } .insight ul { margin: 5px 0; padding-left: 16px; } .insight p { margin: 0 0 8px; } .insight p:last-child { margin-bottom: 0; } .notice { display: flex; gap: 9px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: 11.5px; color: var(--muted); line-height: 1.5; } .notice .ic { width: 14px; height: 14px; flex: 0 0 auto; color: var(--cyan); margin-top: 1px; } .notice.warn { border-color: rgba(242, 196, 92, 0.28); background: rgba(242, 196, 92, 0.05); } .notice.warn .ic { color: var(--watch); } .notice.crit { border-color: rgba(255, 107, 122, 0.28); background: rgba(255, 107, 122, 0.05); } .notice.crit .ic { color: var(--crit); } .notice.ok { border-color: var(--accent-line); background: var(--accent-soft); } .notice.ok .ic { color: var(--accent); } /* -------------------------------------------------------------------------- Modal -------------------------------------------------------------------------- */ .modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(3, 7, 9, 0.72); backdrop-filter: blur(4px); animation: fadeIn 0.14s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modal { width: min(560px, 100%); max-height: min(86vh, 860px); display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 16px; background: linear-gradient(180deg, #111d23, #0a1216); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65); animation: modalIn 0.16s ease; overflow: hidden; } .modal.wide { width: min(780px, 100%); } .modal.narrow { width: min(430px, 100%); } @keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(0.99); } to { opacity: 1; transform: none; } } .modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); } .modal-head h3 { font-size: 15px; letter-spacing: -0.01em; } .modal-head .sub { color: var(--muted); font-size: 11.5px; margin-top: 3px; } .modal-head .icon-btn { margin-left: auto; margin-top: -4px; margin-right: -6px; } .modal-body { padding: 20px; overflow-y: auto; } .modal-foot { display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding: 13px 20px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.1); } .modal-foot .left { margin-right: auto; } .modal-foot .spacer { flex: 1; } /* -------------------------------------------------------------------------- Toasts -------------------------------------------------------------------------- */ .toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 36px)); } .toast { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(16, 28, 34, 0.98); box-shadow: var(--shadow); color: var(--text-2); font-size: 12.5px; line-height: 1.45; animation: toastIn 0.2s ease; } .toast.leaving { animation: toastOut 0.18s ease forwards; } @keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } @keyframes toastOut { to { opacity: 0; transform: translateY(6px); } } .toast .ic { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--accent); } .toast.error .ic { color: var(--crit); } .toast.warn .ic { color: var(--watch); } .toast.info .ic { color: var(--cyan); } .toast strong { display: block; color: var(--text); font-size: 12.5px; margin-bottom: 1px; } /* -------------------------------------------------------------------------- Loading skeleton -------------------------------------------------------------------------- */ .skeleton { position: relative; overflow: hidden; background: #101b20; border-radius: 6px; color: transparent !important; } .skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent); animation: shimmer 1.4s infinite; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .view-loading { display: grid; gap: 16px; } .view-loading .bar-block { height: 120px; border-radius: var(--radius); } /* -------------------------------------------------------------------------- Responsive -------------------------------------------------------------------------- */ @media (max-width: 1280px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-main, .cols-main-rev { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 980px) { .shell { grid-template-columns: minmax(0, 1fr); } .sidebar { position: fixed; left: 0; top: 0; width: 262px; transform: translateX(-100%); transition: transform 0.22s ease; box-shadow: var(--shadow); } .sidebar.open { transform: none; } .sidebar-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 29; } .mobile-menu-btn { display: inline-grid; } .topbar { padding: 0 16px; } .view { padding: 20px 16px 48px; } .login-screen { grid-template-columns: 1fr; } .login-art { display: none; } .login-panel { min-height: 100vh; } .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); } .hero { grid-template-columns: auto minmax(0, 1fr); } .hero .hero-actions { grid-column: 1 / -1; justify-content: flex-start; } } @media (max-width: 680px) { .kpis { grid-template-columns: minmax(0, 1fr); gap: 10px; } .form-grid { grid-template-columns: minmax(0, 1fr); } .form-grid .span-2 { grid-column: auto; } .sim-form { grid-template-columns: minmax(0, 1fr); } .sim-form .span-3 { grid-column: auto; } .page-head { align-items: flex-start; } .page-actions { margin-left: 0; width: 100%; } .topbar-status { display: none; } .topbar-title span { display: none; } .hero { grid-template-columns: minmax(0, 1fr); } .hero .ring { display: none; } .modal { max-height: 92vh; } .login-card { padding: 26px 22px; } .kv { grid-template-columns: minmax(0, 1fr); } .kv > div:nth-child(odd) { border-right: 0; } .kv > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } .kv > div:last-child { border-bottom: 0; } table.data th, table.data td { padding: 9px 10px; } }