@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #eef8f5;
  --muted: #88a09e;
  --faint: #5a7472;
  --line: rgba(129, 170, 164, .14);
  --line-strong: rgba(129, 170, 164, .23);
  --surface: #0d2628;
  --surface-2: #102d2f;
  --surface-3: #163638;
  --background: #071a1c;
  --teal: #35d1bd;
  --teal-soft: rgba(53, 209, 189, .14);
  --coral: #fb867d;
  --coral-soft: rgba(251, 134, 125, .13);
  --blue: #83b7fa;
  --blue-soft: rgba(131, 183, 250, .13);
  --violet: #b5a2ff;
  --orange: #ffb46d;
  --shadow: 0 22px 60px rgba(0, 0, 0, .20);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--background); }
body { min-height: 100vh; margin: 0; background: radial-gradient(circle at 82% -10%, rgba(32, 100, 96, .24), transparent 31rem), var(--background); }
button, input, select { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 260px; flex: 0 0 260px; min-height: 100vh; padding: 27px 15px 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(8, 29, 31, .94); }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 13px 28px; }
.brand-mark { width: 35px; height: 35px; position: relative; display: grid; place-items: center; border: 1px solid rgba(53, 209, 189, .58); border-radius: 10px; background: linear-gradient(145deg, #2bcdb7, #187d78); box-shadow: 0 0 25px rgba(53, 209, 189, .15); }
.brand-mark span { position: relative; z-index: 1; color: #05211f; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: -.07em; }
.brand-mark i { position: absolute; inset: 5px; border: 1px solid rgba(0, 47, 44, .42); border-radius: 7px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1.1; }
.brand-product { margin-top: 4px; color: var(--faint); font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.workspace-switcher { min-height: 62px; display: flex; align-items: center; gap: 10px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18, 48, 49, .58); }
.workspace-avatar, .account-avatar { display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #aaf1df; background: rgba(53, 209, 189, .15); font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.workspace-avatar { width: 33px; height: 33px; }
.workspace-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.workspace-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.workspace-copy span, .account-copy span { color: var(--faint); font-size: 10px; }
.icon-button { display: inline-grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: transparent; transition: .2s ease; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover { color: var(--ink); border-color: var(--line-strong); background: var(--surface-3); }
.icon-button.subtle { width: 24px; height: 24px; border: 0; }
.icon-button.subtle svg { width: 15px; height: 15px; }
.primary-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 28px; }
.nav-label { margin: 15px 13px 8px; color: #4f6d6b; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nav-item { width: 100%; height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; text-align: left; font-size: 12px; transition: .18s ease; }
.nav-item svg { width: 17px; height: 17px; color: #668481; }
.nav-item:hover { color: var(--ink); background: rgba(20, 54, 55, .62); }
.nav-item.active { color: #9ef0dd; background: linear-gradient(90deg, rgba(44, 170, 157, .2), rgba(44, 170, 157, .07)); box-shadow: inset 3px 0 0 var(--teal); }
.nav-item.active svg { color: var(--teal); }
.nav-item em { margin-left: auto; padding: 3px 6px; border-radius: 4px; color: #70dec7; background: rgba(53, 209, 189, .09); font-size: 8px; font-style: normal; font-weight: 700; letter-spacing: .05em; }
.nav-count { min-width: 21px; margin-left: auto; padding: 3px 6px; border-radius: 5px; color: var(--muted); background: rgba(130, 160, 158, .1); font-size: 10px; text-align: center; }
.sidebar-bottom { margin-top: auto; }
.edge-card { margin: 18px 5px 15px; padding: 13px 12px; border: 1px solid rgba(53, 209, 189, .14); border-radius: 11px; background: rgba(18, 52, 51, .5); }
.edge-card-top, .edge-location { display: flex; align-items: center; gap: 6px; }
.edge-card-top { color: #a9c1be; font-size: 10px; font-weight: 600; }
.pulse-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(53, 209, 189, .11); }
.edge-online { margin-left: auto; color: #74d7c5; font-size: 9px; }
.edge-location { margin-top: 14px; font-size: 10px; }
.edge-location strong { color: var(--ink); font-weight: 500; }
.edge-location > span:last-child { margin-left: auto; color: var(--faint); }
.location-pin { color: var(--teal); font-size: 14px; }
.edge-progress { height: 3px; margin: 12px 0 7px; overflow: hidden; border-radius: 5px; background: rgba(108, 154, 148, .13); }
.edge-progress span { display: block; width: 91%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #259f92, #6de0cb); }
.edge-card small { color: var(--faint); font-size: 9px; }
.account-row { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 10px 3px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.account-avatar { width: 31px; height: 31px; border-radius: 50%; color: #d3c8ff; background: rgba(181, 162, 255, .15); }
.account-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.account-copy strong { font-size: 11px; font-weight: 600; }
.account-row > svg { width: 15px; height: 15px; color: var(--faint); }

.main-content { min-width: 0; flex: 1; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(24px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 11px; }
.breadcrumbs b { color: #46615f; font-size: 15px; font-weight: 400; }
.breadcrumbs strong { color: #b3c6c3; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.connection-state { display: flex; align-items: center; gap: 8px; margin-right: 4px; color: #78d5c4; font-size: 10px; }
.connection-state.offline { color: var(--coral); }
.connection-state.offline .pulse-dot { background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.notification-button { position: relative; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; color: var(--muted); background: transparent; }
.notification-button svg { width: 17px; height: 17px; }
.notification-button span { position: absolute; top: 2px; right: 3px; width: 5px; height: 5px; border: 1px solid var(--background); border-radius: 50%; background: var(--coral); }
.topbar-divider { width: 1px; height: 22px; background: var(--line); }
.topbar-date { color: var(--faint); font-size: 10px; }
.mobile-menu { display: none; border: 0; padding: 5px; color: var(--muted); background: transparent; }
.mobile-menu svg { width: 21px; height: 21px; }
.content-wrap { max-width: 1480px; margin: 0 auto; padding: 42px clamp(24px, 4vw, 56px) 58px; }
.view { display: none; animation: viewIn .28s ease both; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 31px; }
.page-heading.compact { margin-bottom: 27px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #5dbcae; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow-line { width: 20px; height: 1px; background: var(--teal); }
h1, h2, p { margin: 0; }
h1 { margin-top: 10px; color: #f0faf7; font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3vw, 39px); font-weight: 600; letter-spacing: -.045em; line-height: 1.09; }
.page-heading p { margin-top: 9px; color: var(--muted); font-size: 12px; }
.wave { display: inline-block; margin-left: 5px; color: var(--teal); font-size: 21px; vertical-align: 4px; }
.heading-actions { display: flex; align-items: center; gap: 10px; }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select { height: 37px; appearance: none; padding: 0 33px 0 13px; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; color: #abc0bd; background: rgba(16, 43, 45, .75); font-size: 11px; }
.select-wrap select:focus, input:focus { border-color: rgba(53, 209, 189, .72); box-shadow: 0 0 0 3px rgba(53, 209, 189, .1); }
.select-wrap > svg { position: absolute; right: 10px; width: 13px; height: 13px; pointer-events: none; color: #6f8b88; }
.select-wrap.small select { height: 34px; font-size: 10px; }
.button { min-height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 600; transition: .2s ease; }
.button svg { width: 15px; height: 15px; }
.button-primary { color: #05221f; background: var(--teal); box-shadow: 0 7px 18px rgba(53, 209, 189, .12); }
.button-primary:hover { background: #61dfcc; transform: translateY(-1px); }
.button-secondary { border-color: var(--line-strong); color: #b9cdca; background: rgba(19, 48, 49, .6); }
.button-secondary:hover { border-color: rgba(53, 209, 189, .45); color: var(--ink); background: var(--surface-3); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card { position: relative; min-height: 162px; overflow: hidden; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(19, 52, 53, .78), rgba(10, 34, 35, .82)); }
.metric-card::before { position: absolute; top: 0; left: 18px; width: 31px; height: 2px; content: ''; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.accent-teal { --accent: var(--teal); } .accent-coral { --accent: var(--coral); } .accent-blue { --accent: var(--blue); } .accent-violet { --accent: var(--violet); }
.metric-head { display: flex; align-items: center; justify-content: space-between; color: #9fb6b2; font-size: 11px; }
.metric-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.metric-icon svg { width: 15px; height: 15px; }
.metric-value { margin-top: 13px; font-family: 'Space Grotesk', sans-serif; color: var(--ink); font-size: 29px; font-weight: 600; letter-spacing: -.06em; }
.metric-value small { margin-left: 3px; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.metric-foot { display: flex; align-items: center; gap: 7px; margin-top: 5px; color: var(--faint); font-size: 9px; }
.trend { font-weight: 600; } .trend.positive { color: var(--teal); } .trend.neutral { color: var(--blue); }
.mini-chart { position: absolute; right: 0; bottom: 0; left: 0; height: 47px; opacity: .85; }
.mini-chart svg { width: 100%; height: 100%; stroke-width: 1.8; }
.chart-area { fill: color-mix(in srgb, var(--accent) 10%, transparent); stroke: none; }
.chart-line { fill: none; stroke: var(--accent); }
.device-bar { height: 4px; margin-top: 23px; overflow: hidden; border-radius: 9px; background: rgba(131, 183, 250, .12); }
.device-bar span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--blue); }
.device-bar.violet { background: rgba(181, 162, 255, .11); } .device-bar.violet span { width: 98.6%; background: var(--violet); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .9fr); gap: 14px; margin-top: 14px; }
.bottom-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); gap: 14px; margin-top: 14px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: rgba(13, 38, 40, .74); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 20px 0; }
.panel-heading h2 { color: #e2f0ed; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.panel-heading p { margin-top: 5px; color: var(--faint); font-size: 10px; }
.legend { display: flex; gap: 15px; color: var(--muted); font-size: 9px; }
.legend > span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.legend-dot.teal, .posture-dot.teal { background: var(--teal); } .legend-dot.coral, .posture-dot.coral { background: var(--coral); }
.traffic-panel { min-height: 300px; }
.traffic-chart { position: relative; display: flex; height: 223px; margin: 26px 19px 15px 18px; padding-left: 35px; }
.chart-y-labels { position: absolute; top: -5px; bottom: 28px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: #597573; font-size: 9px; }
.chart-grid { position: relative; flex: 1; min-width: 0; margin-bottom: 25px; }
.chart-grid > span { position: relative; display: block; height: 25%; border-top: 1px dashed rgba(128, 166, 160, .11); }
.chart-grid > svg { position: absolute; inset: 0 0 -1px; width: 100%; height: calc(100% + 1px); overflow: visible; }
.traffic-line { fill: none; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.teal-line { stroke: var(--teal); filter: drop-shadow(0 0 4px rgba(53, 209, 189, .28)); }
.coral-line { stroke: var(--coral); stroke-width: 1.7; filter: drop-shadow(0 0 4px rgba(251, 134, 125, .2)); }
.chart-point { fill: var(--teal); stroke: #183c3b; stroke-width: 5; }
.hover-line { stroke: rgba(53, 209, 189, .28); stroke-dasharray: 3 4; }
.chart-x-labels { position: absolute; right: 0; bottom: -25px; left: 0; display: flex; justify-content: space-between; color: #597573; font-size: 9px; }
.chart-tooltip { position: absolute; right: 21%; top: 95px; display: flex; flex-direction: column; gap: 5px; min-width: 128px; padding: 10px; border: 1px solid rgba(53, 209, 189, .3); border-radius: 7px; background: #163c3c; box-shadow: 0 8px 25px rgba(0, 0, 0, .25); font-size: 9px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.traffic-panel:hover .chart-tooltip { opacity: 1; }
.chart-tooltip strong { color: var(--ink); font-size: 10px; } .chart-tooltip span { color: var(--muted); } .chart-tooltip .legend-dot { margin-right: 4px; }
.posture-panel { min-height: 300px; }
.more-button { border: 0; padding: 0 2px; color: var(--faint); background: transparent; font-weight: 700; letter-spacing: 2px; }
.posture-score { display: flex; align-items: center; gap: 20px; margin: 25px 20px 24px; }
.score-ring { position: relative; flex: 0 0 102px; height: 102px; }
.score-ring svg { width: 102px; height: 102px; transform: rotate(-90deg); }
.ring-track, .ring-value { fill: none; stroke-width: 9; }
.ring-track { stroke: rgba(98, 139, 134, .13); }
.ring-value { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 4.2; filter: drop-shadow(0 0 5px rgba(53, 209, 189, .25)); }
.score-ring > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.score-ring strong { font-family: 'Space Grotesk', sans-serif; font-size: 21px; letter-spacing: -.06em; } .score-ring span { margin-top: 2px; color: var(--teal); font-size: 8px; font-weight: 600; }
.posture-copy { display: flex; flex-direction: column; gap: 6px; }
.posture-copy strong { font-size: 12px; font-weight: 600; } .posture-copy span, .posture-copy small { color: var(--muted); font-size: 10px; line-height: 1.4; } .posture-copy small { color: var(--faint); font-size: 9px; }
.posture-list { display: flex; flex-direction: column; gap: 11px; margin: 0 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.posture-list > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.posture-list > div span { display: flex; align-items: center; gap: 7px; } .posture-list strong { color: #c6dad6; font-size: 10px; font-weight: 600; }
.posture-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; } .posture-dot.blue { background: var(--blue); } .posture-dot.violet { background: var(--violet); }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 0; color: var(--teal); background: transparent; font-size: 10px; font-weight: 600; } .text-button:hover { color: #83ead8; } .text-button span { font-size: 15px; line-height: 8px; }
.posture-panel > .text-button { margin: 20px; }
.activity-panel, .profile-panel { min-height: 306px; }
.activity-panel .panel-heading, .profile-panel .panel-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.activity-table { width: 100%; }
.activity-row { display: grid; grid-template-columns: minmax(220px, 1.5fr) 78px minmax(95px, .7fr) 75px; align-items: center; gap: 15px; min-height: 47px; padding: 0 20px; border-bottom: 1px solid rgba(129, 170, 164, .08); font-size: 10px; }
.activity-row:last-child { border-bottom: 0; } .activity-header { min-height: 35px; color: #5e7976; font-size: 9px; }
.domain-cell { min-width: 0; display: flex; align-items: center; gap: 9px; } .domain-cell > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .domain-cell strong { overflow: hidden; color: #cfe0dc; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; } .domain-cell small { overflow: hidden; color: var(--faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.domain-icon { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border-radius: 7px; font-size: 11px; font-weight: 700; } .domain-icon.coral { color: var(--coral); background: var(--coral-soft); } .domain-icon.teal { color: var(--teal); background: var(--teal-soft); } .domain-icon.blue { color: var(--blue); background: var(--blue-soft); }
.decision { width: max-content; padding: 4px 7px; border-radius: 5px; font-size: 8px; font-weight: 600; } .decision.blocked { color: var(--coral); background: var(--coral-soft); } .decision.allowed { color: var(--teal); background: var(--teal-soft); }
.muted-cell { overflow: hidden; color: var(--faint); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.profile-list { display: flex; flex-direction: column; gap: 2px; padding: 11px 20px 14px; }
.profile-row { display: flex; align-items: center; gap: 10px; min-height: 48px; } .profile-row > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; } .profile-row strong { color: #cfe0dc; font-size: 10px; font-weight: 600; } .profile-row small { color: var(--faint); font-size: 9px; }
.profile-avatar { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border-radius: 8px; font-size: 11px; font-weight: 700; } .profile-avatar.green { color: var(--teal); background: var(--teal-soft); } .profile-avatar.purple { color: var(--violet); background: rgba(181, 162, 255, .14); } .profile-avatar.orange { color: var(--orange); background: rgba(255, 180, 109, .14); }
.profile-status { width: max-content; padding: 4px 6px; border-radius: 4px; font-size: 8px; } .profile-status.active { color: var(--teal); background: var(--teal-soft); } .profile-status.paused { color: var(--orange); background: rgba(255, 180, 109, .1); }
.outline-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 600; transition: .2s ease; } .outline-button:hover { border-color: rgba(53, 209, 189, .45); color: var(--teal); background: var(--teal-soft); } .outline-button.full { width: calc(100% - 40px); margin: 0 20px 17px; }

.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.search-box { position: relative; flex: 1; max-width: 290px; } .search-box svg { position: absolute; top: 10px; left: 11px; width: 15px; height: 15px; color: var(--faint); } .search-box input { width: 100%; height: 34px; padding: 0 12px 0 33px; outline: 0; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: rgba(12, 37, 38, .8); font-size: 10px; } .search-box input::placeholder { color: #5a7472; }
.filter-chip { height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; white-space: nowrap; } .filter-chip:hover, .filter-chip.active { border-color: rgba(53, 209, 189, .35); color: var(--teal); background: var(--teal-soft); } .filter-chip span { margin-left: 4px; color: var(--faint); font-size: 9px; }
.filter-bar .select-wrap { margin-left: auto; }
.table-panel { overflow: hidden; } .table-toolbar { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; } .table-toolbar strong { color: #cfe0dc; font-size: 11px; font-weight: 600; } .table-toolbar span { color: var(--faint); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--teal) !important; font-size: 9px !important; } .live-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--teal-soft); }
.full-table-row { display: grid; grid-template-columns: minmax(190px, 1.6fr) 82px minmax(130px, 1fr) minmax(130px, .9fr) 100px; align-items: center; gap: 18px; min-height: 64px; padding: 0 20px; border-bottom: 1px solid rgba(129, 170, 164, .08); font-size: 10px; } .full-table-row:last-child { border-bottom: 0; } .full-table-header { min-height: 38px; color: #5e7976; font-size: 9px; } .full-table-row.hidden { display: none; }
.reason-text, .device-text { color: var(--muted); font-size: 9px; } .reason-text small { display: block; margin-top: 3px; color: var(--faint); font-size: 8px; } .device-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; } .profile-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13, 38, 40, .74); } .profile-card.featured { border-color: rgba(53, 209, 189, .35); box-shadow: 0 10px 40px rgba(25, 124, 115, .08); } .profile-card.muted { opacity: .84; } .profile-card-top { display: flex; align-items: center; justify-content: space-between; } .profile-card .profile-avatar { width: 38px; height: 38px; border-radius: 10px; font-size: 14px; } .profile-card h2 { margin-top: 18px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; letter-spacing: -.03em; } .profile-card p { min-height: 33px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; } .profile-stat-row { display: flex; gap: 24px; margin: 18px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--faint); font-size: 9px; } .profile-stat-row strong { display: block; margin-bottom: 3px; color: #d1e2de; font-family: 'Space Grotesk', sans-serif; font-size: 15px; } .protection-tags { display: flex; flex-wrap: wrap; gap: 5px; min-height: 49px; } .protection-tags span, .tag { display: inline-flex; align-items: center; width: max-content; height: 22px; padding: 0 7px; border-radius: 5px; color: var(--muted); background: rgba(122, 163, 157, .1); font-size: 8px; }
.device-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 15px; } .device-summary > div { display: flex; flex-direction: column; min-height: 104px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(13, 38, 40, .74); } .summary-label { color: var(--faint); font-size: 10px; } .device-summary strong { margin-top: 9px; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: 24px; letter-spacing: -.05em; } .summary-note { margin-top: 3px; color: var(--faint); font-size: 9px; } .summary-note.positive { color: var(--teal); }
.device-table .full-table-row { grid-template-columns: minmax(210px, 1.7fr) minmax(95px, .8fr) minmax(105px, .9fr) 90px 100px; } .device-name { display: flex; align-items: center; gap: 10px; min-width: 0; } .device-name > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .device-name strong { overflow: hidden; color: #cfe0dc; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } .device-name small { color: var(--faint); font-size: 8px; } .device-symbol { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; font-size: 15px; } .device-symbol.laptop { color: var(--blue); background: var(--blue-soft); } .device-symbol.phone { color: var(--violet); background: rgba(181, 162, 255, .12); } .device-symbol.router { color: var(--orange); background: rgba(255, 180, 109, .12); } .tag { height: 23px; } .purple-tag { color: var(--violet); background: rgba(181, 162, 255, .12); } .green-tag { color: var(--teal); background: var(--teal-soft); } .orange-tag { color: var(--orange); background: rgba(255, 180, 109, .12); } .online-label { color: var(--teal); font-size: 9px; white-space: nowrap; } .online-label i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: currentColor; }
.rules-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .9fr); gap: 15px; } .rules-panel, .list-panel { min-height: 340px; } .count-badge { padding: 5px 8px; border-radius: 5px; color: var(--teal); background: var(--teal-soft); font-size: 9px; } .rules-list { padding: 15px 20px; } .rule-row { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); } .rule-row:last-child { border-bottom: 0; } .rule-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .rule-row strong { overflow: hidden; color: #cfe0dc; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; } .rule-row small { overflow: hidden; color: var(--faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; } .rule-action { display: inline-flex; align-items: center; justify-content: center; width: 53px; height: 23px; border-radius: 5px; font-size: 8px; font-weight: 700; } .rule-action.allow { color: var(--teal); background: var(--teal-soft); } .rule-action.block { color: var(--coral); background: var(--coral-soft); } .rule-action.rewrite { color: var(--blue); background: var(--blue-soft); }
.toggle { position: relative; width: 32px; height: 19px; flex: 0 0 32px; padding: 0; border: 0; border-radius: 10px; background: #29484a; transition: .2s ease; } .toggle i { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #8aa3a0; transition: .2s ease; } .toggle.on { background: rgba(53, 209, 189, .42); } .toggle.on i { left: 16px; background: var(--teal); } .source-list { display: flex; flex-direction: column; padding: 12px 20px 17px; } .source-list > div { display: flex; align-items: center; gap: 10px; min-height: 59px; border-bottom: 1px solid var(--line); } .source-list > div:last-child { border-bottom: 0; } .source-list > div > div { flex: 1; display: flex; flex-direction: column; gap: 4px; } .source-list strong { color: #cfe0dc; font-size: 10px; font-weight: 600; } .source-list small { color: var(--faint); font-size: 8px; } .source-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-size: 11px; font-weight: 700; } .source-icon.teal { color: var(--teal); background: var(--teal-soft); } .source-icon.blue { color: var(--blue); background: var(--blue-soft); } .source-icon.violet { color: var(--violet); background: rgba(181, 162, 255, .12); } .source-state { color: var(--teal); font-size: 8px; }
.settings-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 15px; } .settings-nav { display: flex; flex-direction: column; gap: 3px; } .settings-tab { height: 37px; padding: 0 12px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; text-align: left; font-size: 10px; } .settings-tab:hover, .settings-tab.active { color: var(--teal); background: var(--teal-soft); } .settings-panel { overflow: hidden; } .settings-section { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr); gap: 17px 28px; padding: 23px 24px; border-bottom: 1px solid var(--line); } .settings-section > div { grid-column: 1 / -1; } .settings-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; } .settings-section p { margin-top: 5px; color: var(--faint); font-size: 10px; } .settings-section label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 9px; } .settings-section input, .settings-section select { height: 35px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; outline: 0; color: var(--ink); background: rgba(9, 30, 31, .8); font-size: 10px; } .setting-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; } .setting-row > div { display: flex; flex-direction: column; gap: 4px; } .setting-row strong { font-size: 10px; font-weight: 600; } .setting-row small { color: var(--faint); font-size: 9px; } .settings-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; color: var(--faint); font-size: 9px; }
.audit-list { padding: 6px 20px; } .audit-row { display: flex; align-items: center; gap: 13px; min-height: 69px; border-bottom: 1px solid var(--line); } .audit-row:last-child { border-bottom: 0; } .audit-row > div { flex: 1; display: flex; flex-direction: column; gap: 4px; } .audit-row strong { color: #cfe0dc; font-size: 10px; font-weight: 500; } .audit-row small, .audit-row time { color: var(--faint); font-size: 9px; } .audit-row time { white-space: nowrap; } .audit-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-size: 11px; font-weight: 700; } .audit-icon.teal { color: var(--teal); background: var(--teal-soft); } .audit-icon.blue { color: var(--blue); background: var(--blue-soft); } .audit-icon.violet { color: var(--violet); background: rgba(181, 162, 255, .12); } .audit-icon.coral { color: var(--coral); background: var(--coral-soft); }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(2, 14, 15, .72); opacity: 0; pointer-events: none; transition: .2s ease; } .modal-backdrop.open { opacity: 1; pointer-events: auto; } .modal { width: min(440px, 100%); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: #102c2e; box-shadow: 0 30px 90px rgba(0, 0, 0, .45); transform: translateY(12px); transition: .2s ease; } .modal-backdrop.open .modal { transform: none; } .modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); } .modal-head h2 { margin-top: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: -.03em; } .modal-body { display: flex; flex-direction: column; gap: 17px; padding: 21px 22px; } .modal-body label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 10px; } .modal-body input, .modal-body select { height: 38px; padding: 0 11px; outline: 0; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: rgba(6, 25, 26, .75); font-size: 10px; } .modal-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 7px; color: var(--muted); background: rgba(53, 209, 189, .07); font-size: 9px; line-height: 1.5; } .modal-note svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--teal); } .modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 15px 22px; border-top: 1px solid var(--line); background: rgba(5, 22, 23, .22); }
.toast { position: fixed; z-index: 20; right: 23px; bottom: 23px; display: flex; align-items: center; gap: 9px; padding: 11px 14px 11px 11px; border: 1px solid rgba(53, 209, 189, .35); border-radius: 8px; color: #d5efeb; background: #153e3d; box-shadow: var(--shadow); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .24s ease; } .toast.show { opacity: 1; transform: none; } .toast-icon { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #06221f; background: var(--teal); font-size: 11px; font-weight: 700; }

@media (max-width: 1120px) { .sidebar { width: 226px; flex-basis: 226px; } .activity-row { grid-template-columns: minmax(170px, 1.4fr) 70px minmax(80px, .7fr) 65px; gap: 9px; padding-right: 13px; padding-left: 13px; } .metric-card { padding-right: 14px; padding-left: 14px; } .metric-card::before { left: 14px; } .metric-value { font-size: 25px; } .profile-panel .panel-heading, .activity-panel .panel-heading { padding-right: 14px; padding-left: 14px; } }
@media (max-width: 900px) { .sidebar { position: fixed; z-index: 8; top: 0; bottom: 0; left: 0; width: 260px; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 18px 0 50px rgba(0,0,0,.3); } .sidebar.open { transform: none; } .mobile-scrim { position: fixed; z-index: 7; inset: 0; display: block; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .25s ease; } .mobile-scrim.open { opacity: 1; pointer-events: auto; } .mobile-menu { display: block; } .topbar { justify-content: flex-start; } .topbar-actions { margin-left: auto; } .topbar-date { display: none; } .metric-grid { grid-template-columns: repeat(2, 1fr); } .overview-grid, .bottom-grid { grid-template-columns: 1fr; } .posture-panel { min-height: 0; } .rules-layout { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .topbar { height: 64px; padding: 0 17px; } .breadcrumbs { display: none; } .connection-state span:last-child { display: none; } .topbar-actions { gap: 8px; } .topbar-divider { display: none; } .content-wrap { padding: 29px 16px 40px; } .page-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 25px; } .page-heading.compact { margin-bottom: 23px; } .heading-actions { width: 100%; } .heading-actions .select-wrap { flex: 1; } .heading-actions .select-wrap select { width: 100%; } .heading-actions .button { white-space: nowrap; } h1 { font-size: 30px; } .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; } .metric-card { min-height: 145px; padding: 15px 12px 11px; } .metric-card::before { left: 12px; } .metric-head { font-size: 9px; } .metric-icon { width: 25px; height: 25px; } .metric-value { margin-top: 11px; font-size: 22px; } .metric-foot { display: block; line-height: 1.45; } .metric-foot span:last-child { display: block; } .device-bar { margin-top: 17px; } .traffic-panel, .posture-panel { min-height: 0; } .panel-heading { padding: 17px 14px 0; } .legend { gap: 7px; font-size: 8px; } .traffic-chart { height: 190px; margin-right: 12px; margin-left: 12px; } .activity-row { grid-template-columns: minmax(140px, 1fr) 62px 55px; padding: 0 12px; gap: 7px; } .activity-row > span:nth-last-child(2) { display: none; } .activity-header > span:nth-child(3) { display: none; } .profile-panel .panel-heading, .activity-panel .panel-heading { padding-right: 12px; padding-left: 12px; } .activity-panel .text-button { font-size: 9px; } .posture-score { margin: 22px 14px; } .posture-list { margin: 0 14px; } .posture-panel > .text-button { margin: 17px 14px; } .filter-bar { flex-wrap: wrap; } .search-box { flex: 1 0 100%; max-width: none; } .filter-bar .select-wrap { margin-left: 0; } .full-table { overflow-x: auto; } .full-table-row { min-width: 680px; } .table-toolbar { padding: 0 14px; } .profile-cards { grid-template-columns: 1fr; } .profile-card { padding: 17px; } .device-summary { gap: 8px; } .device-summary > div { min-height: 94px; padding: 13px 11px; } .device-summary strong { font-size: 19px; } .summary-label, .summary-note { font-size: 8px; } .settings-layout { grid-template-columns: 1fr; } .settings-nav { display: grid; grid-template-columns: repeat(2, 1fr); } .settings-section { grid-template-columns: 1fr; padding: 20px 16px; } .settings-footer { padding: 14px 16px; flex-direction: column; align-items: flex-start; } .settings-footer .button { width: 100%; } .audit-row { gap: 9px; } .audit-row time { font-size: 8px; } }
@media (max-width: 390px) { .metric-grid { grid-template-columns: 1fr; } .metric-card { min-height: 135px; } .mini-chart { height: 40px; } .device-summary { grid-template-columns: 1fr; } .device-summary > div { min-height: 80px; } }
