@import url("/static/font.css");
:root {
  --bg: #10120f;
  --panel: #1a1d18;
  --panel-2: #20231d;
  --line: #2d3128;
  --text: #f1f2ea;
  --muted: #9a9f92;
  --dim: #89917f;
  --lime: #d5f478;
  --lime-dark: #a8c850;
  --red: #f49482;
  --amber: #e4bd77;
  --radius: 19px;
  --font: "Manrope", "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 13px var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a,
input,
select,
textarea {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
svg {
  display: block;
}
i {
  display: inline-flex;
  flex-shrink: 0;
}
i svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
p {
  color: var(--muted);
  line-height: 1.7;
}
small {
  display: block;
}
.hidden {
  display: none !important;
}
.lime {
  color: var(--lime) !important;
}
.muted {
  color: var(--muted);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  padding: 30px 17px 18px;
  background: #141611;
  border-right: 1px solid #272b22;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 34px;
}
.brand img {
  width: 30px;
  height: 35px;
}
.brand > span {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1.2px;
}
.brand-iq {
  color: var(--lime);
  font-weight: 400;
}
.brand small {
  font-size: 7.8px;
  letter-spacing: 1.55px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #1c1f19;
  border: 1px solid var(--line);
  padding: 12px 10px;
  border-radius: 10px;
  margin-bottom: 32px;
  font-size: 11px;
}
.workspace-icon {
  border: 1px solid #454b39;
  border-radius: 6px;
  font-size: 15px;
  color: var(--lime);
  width: 29px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #2b3220;
}
.workspace small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
}
.workspace small span {
  margin-left: 16px;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--dim);
  margin: 0 12px 14px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  width: 100%;
  padding: 13px 12px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  border-radius: 9px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item:hover {
  background: #24291e;
  color: var(--text);
}
.nav-item.active {
  background: #d5f478;
  color: #202717;
  font-weight: 650;
  box-shadow: 0 3px 18px #c7e8780b;
}
.nav-item i svg {
  width: 17px;
  height: 17px;
}
.active-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #526725;
}
.nav-new {
  font-size: 6px;
  border: 1px solid #455331;
  border-radius: 4px;
  padding: 3px;
  color: var(--lime);
  margin-left: auto;
}
.ai-tag {
  font-size: 8px;
  color: var(--lime);
  background: #303921;
  padding: 3px 5px;
  border-radius: 4px;
  margin-left: auto;
}
.nav-count {
  margin-left: auto;
  background: #292e23;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
}
.nav-item.active .ai-tag,
.nav-item.active .nav-count,
.nav-item.active .nav-new {
  color: #202717;
  background: #bdd965;
  border-color: #9bb446;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.pipeline-live {
  font-size: 10px;
  margin: 0 11px 24px;
  color: #ced3c3;
}
.pipeline-live small {
  font-size: 9px;
  color: var(--dim);
  margin: 8px 0 0 11px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 6px;
  box-shadow: 0 0 8px #d5f42622;
}
.analyst {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  width: 100%;
  padding: 18px 7px 0;
  font-size: 11px;
}
.analyst small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.analyst i {
  margin-left: auto;
  color: var(--dim);
}
.avatar {
  height: 33px;
  width: 33px;
  background: linear-gradient(135deg, #343e2a, #242b1c);
  border: 1px solid #48503c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 10px;
  font-weight: 600;
}
.avatar.small {
  height: 29px;
  width: 29px;
  font-size: 9px;
}
.shell {
  margin-left: 224px;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid #25291f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
}
.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.breadcrumb i {
  color: var(--dim);
}
.breadcrumb strong {
  color: var(--text);
  font-weight: 500;
}
.slash {
  color: #4d5443;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.dataset-tag {
  font-size: 9px;
  color: #b3bc9f;
  background: #20271a;
  border: 1px solid #333e26;
  padding: 7px 10px;
  border-radius: 6px;
}
.divider {
  height: 19px;
  width: 1px;
  background: var(--line);
}
.icon-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 7px;
}
.icon-button:hover {
  background: #303627;
  color: var(--lime);
}
main {
  padding: 30px 32px 18px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
h1 {
  font-size: 27px;
  letter-spacing: -1.2px;
  font-weight: 550;
  line-height: 1.25;
}
h1 span {
  color: #9da58e;
}
.page-heading p {
  margin-top: 11px;
  font-size: 11px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:active {
  transform: translateY(1px);
}
.button.primary {
  background: var(--lime);
  color: #202715;
  box-shadow: inset 0 1px 0 #f2ffd5;
}
.button.primary:hover {
  background: #e2ff93;
}
.button.primary i svg {
  width: 16px;
  height: 16px;
}
.button.secondary {
  background: #1c2018;
  border: 1px solid #33392b;
  color: #d6dacd;
}
.button.secondary:hover {
  background: #2c3323;
}
.button.compact {
  padding: 9px 11px;
  font-size: 10px;
}
.filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.filters,
.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-actions {
  gap: 15px;
  font-size: 9px;
}
.select-control {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  background: #191d15;
  border: 1px solid #303629;
  border-radius: 7px;
  color: #a6ad9a;
}
.select-control i svg {
  width: 13px;
  height: 13px;
}
select {
  color: #d1d5c8;
  background: #1a1e16;
  border: 1px solid #353c2c;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  font-size: 10px;
}
.select-control select {
  border: 0;
  padding: 0 2px;
  background: transparent;
  max-width: 155px;
}
select option {
  background: #21261b;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c5d0ad;
  font-size: 10px;
  padding: 4px;
}
.text-button:hover {
  color: var(--lime);
}
.text-button i svg {
  width: 14px;
  height: 14px;
}
.view {
  display: none;
}
.view.active {
  display: block;
  animation: appear 0.25s ease;
}
.card {
  background: linear-gradient(115deg, #1e211b, #181b16);
  border: 1px solid #2a2f23;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 20px #0000000d;
}
.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 23px 0;
}
.card-heading p {
  font-size: 9px;
  margin-top: 7px;
}
.card-heading > i {
  color: #78816b;
}
.card-icon {
  color: #899477;
}
.card-icon i svg {
  width: 17px;
  height: 17px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 17px;
}
.metric {
  padding: 19px 21px 16px;
  position: relative;
  min-height: 137px;
}
.metric-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b5bbaa;
  font-size: 10px;
}
.metric-head i {
  color: #91a17b;
}
.metric-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}
.metric-value strong {
  font-size: 32px;
  letter-spacing: -1.4px;
  font-weight: 550;
  line-height: 1;
}
.metric-value span {
  color: #8f9b7d;
  font-size: 9px;
}
.metric-foot {
  margin-top: 13px;
  color: #9da98d;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.metric-foot i svg {
  width: 12px;
  height: 12px;
}
.metric-spark {
  position: absolute;
  right: 17px;
  bottom: 30px;
  width: 62px;
  height: 26px;
  opacity: 0.8;
}
.metric.emphasis {
  background: radial-gradient(ellipse at 100% 0, #39452466, transparent 70%), #20251a;
  border-color: #3b472b;
}
.metric.emphasis .metric-value strong {
  color: var(--lime);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.03fr;
  gap: 17px;
}
.activity-card {
  grid-column: span 2;
  min-height: 326px;
}
.chart-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 23px 9px;
}
.chart-summary > strong {
  font-size: 24px;
  letter-spacing: -0.8px;
  font-weight: 550;
}
.chart-summary > span {
  color: var(--muted);
  font-size: 9px;
}
.legend {
  display: flex;
  gap: 14px;
  margin-left: auto;
  font-size: 8px;
  color: #adb5a1;
}
.legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend-line {
  width: 12px;
  height: 2px;
  background: var(--lime);
}
.legend-line.gray {
  background: #6f7c5c;
}
.trend-chart {
  height: 187px;
  padding: 0 16px 8px;
}
.trend-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-label {
  fill: #7f8974;
  font-family: var(--font);
  font-size: 9px;
}
.chart-grid {
  stroke: #30362a;
  stroke-width: 0.7;
  stroke-dasharray: 3 4;
}
.chart-hover {
  fill: transparent;
}
.chart-hover:hover {
  fill: #d5f47809;
}
.globe-card {
  position: relative;
  min-height: 326px;
  background: radial-gradient(ellipse at 50% 40%, #34432136, transparent 65%), #191d15;
}
.micro-badge {
  display: inline-block;
  border: 1px solid #3b452e;
  padding: 4px 6px;
  border-radius: 4px;
  color: #b2c091;
  font-size: 7px;
  letter-spacing: 0.8px;
  white-space: nowrap;
  vertical-align: middle;
}
.globe {
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  height: 238px;
  overflow: hidden;
}
.globe svg {
  height: 100%;
  width: 100%;
}
.globe-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, #1c2118 60%, #1c211800);
  padding: 25px 23px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.globe-stats > div:first-child {
  padding-right: 20px;
  border-right: 1px solid #3a422f;
}
.globe-stats strong {
  display: block;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.7px;
}
.globe-stats span {
  display: block;
  font-size: 8px;
  color: #8f9d7b;
  margin-top: 3px;
}
.globe-stats .tiny-label {
  font-size: 7px;
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.globe-stats .country-top {
  font-size: 12px;
  letter-spacing: 0;
}
.globe-stats .icon-button {
  margin-left: auto;
  border: 1px solid #3c462e;
  border-radius: 50%;
  color: var(--lime);
}
.severity-card,
.departments-card,
.priority-card {
  min-height: 253px;
}
.severity-layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 26px 19px 21px;
}
#severity-donut {
  width: 124px;
  flex-shrink: 0;
}
#severity-donut svg {
  width: 100%;
}
#severity-legend {
  flex: 1;
  max-width: 140px;
}
.severity-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  margin: 11px 0;
  color: #acb4a0;
}
.severity-row strong {
  color: #d6dccd;
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.card-foot {
  border-top: 1px solid #2c3226;
  margin: 0 21px;
  padding: 13px 0;
  color: #8e9b7b;
  font-size: 8px;
}
.card-foot .status-dot {
  width: 4px;
  height: 4px;
}
.bar-list {
  padding: 19px 22px 14px;
}
.bar-row {
  display: grid;
  grid-template-columns: 86px 1fr 33px;
  align-items: center;
  gap: 9px;
  margin: 13px 0;
  font-size: 8px;
  width: 100%;
  text-align: left;
  padding: 0;
}
.bar-row .bar-label {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #abb59d;
}
.bar-track {
  height: 7px;
  border-radius: 3px;
  background: #2a3221;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 3px;
  display: block;
}
.bar-row:nth-child(n + 2) .bar-fill {
  background: #99b65e;
}
.bar-row:nth-child(n + 4) .bar-fill {
  background: #6a8444;
}
.bar-row .bar-number {
  text-align: right;
  color: #d0d9c2;
  font-variant-numeric: tabular-nums;
}
.priority-card {
  background: radial-gradient(ellipse at 85% 10%, #4b592038, transparent 70%), #22291a;
  border-color: #414c2b;
}
.priority-card .card-heading {
  padding-bottom: 15px;
}
.priority-card .eyebrow {
  font-size: 7px;
  letter-spacing: 1.3px;
}
.priority-card h2 {
  font-size: 19px;
  letter-spacing: -0.6px;
}
.priority-host {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 23px 16px;
}
.host-icon {
  display: grid;
  place-items: center;
  background: #343f23;
  border: 1px solid #4a5833;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  color: var(--lime);
}
.priority-host strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
.priority-host small {
  color: #a1ac8e;
  font-size: 9px;
  margin-top: 4px;
}
.priority-signals {
  display: flex;
  margin: 0 23px 17px;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
}
.priority-signals > span {
  color: #aab993;
  font-size: 8px;
  line-height: 1.8;
}
.priority-signals strong {
  display: block;
  font-size: 16px;
  color: #e4eccf;
  line-height: 1.3;
  font-weight: 500;
}
.priority-action {
  width: calc(100% - 46px);
  margin: 0 23px 20px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #60733c;
  background: #c2e5770c;
  border-radius: 8px;
  color: var(--lime);
  font-size: 10px;
}
.priority-action:hover {
  background: #c2e57718;
}
.priority-action i svg {
  width: 14px;
  height: 14px;
}
.recent-card {
  margin-top: 17px;
}
.recent-card .card-heading {
  align-items: center;
  padding-bottom: 17px;
}
.recent-card .micro-badge {
  margin-left: 9px;
  font-size: 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
}
th {
  color: #808c73;
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 500;
  background: #171b14;
  border-top: 1px solid #2d3425;
  border-bottom: 1px solid #2d3425;
  padding: 13px 22px;
}
td {
  border-bottom: 1px solid #2b3124;
  padding: 14px 22px;
  font-size: 10px;
  color: #c7cebd;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #242d1c70;
}
td strong {
  font-size: 10px;
  font-weight: 500;
  color: #dce2d2;
}
td small {
  font-size: 8px;
  color: #838f75;
  margin-top: 5px;
}
.event-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal-icon {
  width: 29px;
  height: 29px;
  border: 1px solid #4a4130;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #342d224d;
  color: var(--amber);
}
.signal-icon i svg {
  width: 14px;
  height: 14px;
}
.source-badge {
  font-size: 8px;
  text-transform: capitalize;
  padding: 4px 7px;
  border-radius: 4px;
  border: 1px solid #35402a;
  color: #afbe99;
}
.severity-badge {
  font-size: 8px;
  padding: 4px 7px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.severity-badge.Critical {
  color: #f29b8e;
  background: #ef947211;
  border: 1px solid #70504477;
}
.severity-badge.High {
  color: #eac58a;
  background: #e4bd770c;
  border: 1px solid #79653b66;
}
.severity-badge.Medium {
  color: #c7d997;
  background: #bdcf730b;
  border: 1px solid #75824666;
}
.severity-badge.Low,
.severity-badge.Unknown {
  color: #9eaf8c;
  background: #91a17b11;
  border: 1px solid #53644866;
}
.severity-badge .dot {
  width: 4px;
  height: 4px;
  background: currentColor;
}
.table-wrap {
  overflow: auto;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  padding-bottom: 5px;
  color: #8a967a;
  font-size: 8px;
  gap: 10px;
}
.page-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.page-footer img {
  width: 11px;
  height: 13px;
  opacity: 0.6;
}
.footer-divider {
  padding: 0 5px;
}
.search-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 520px;
  background: #141910;
  border: 1px solid #343f29;
  border-radius: 8px;
  padding: 11px 13px;
  color: #879674;
}
.search-control input {
  background: none;
  border: 0;
  color: var(--text);
  width: 100%;
  font-size: 11px;
  outline: none;
}
.search-control kbd {
  white-space: nowrap;
  font-size: 8px;
  padding: 2px 4px;
  border: 1px solid #39432d;
  border-radius: 3px;
  color: #6f7e5f;
}
.explorer-controls {
  padding-bottom: 20px;
  align-items: center;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 10px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.graph-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}
.host-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 23px;
  border-bottom: 1px solid #2d3525;
  width: 100%;
  text-align: left;
}
.host-row:hover {
  background: #303c2055;
}
.host-row .host-info {
  flex: 1;
}
.host-row strong {
  font-size: 12px;
  font-weight: 500;
}
.host-row small {
  font-size: 9px;
  color: #9eac8a;
  margin-top: 5px;
}
.host-row .host-score {
  text-align: right;
  color: var(--lime);
  font-size: 14px;
}
.host-row .host-score small {
  font-size: 8px;
}
.graph-story {
  padding: 30px;
  align-self: start;
  position: sticky;
  top: 25px;
}
.graph-story h2 {
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -1px;
  margin-top: 18px;
}
.graph-story > p {
  font-size: 12px;
  line-height: 1.9;
}
.graph-story svg {
  width: 100%;
  margin: 24px 0;
}
.info-note {
  font-size: 10px;
  line-height: 1.8;
  color: #a5b68e;
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid #414e30;
  border-radius: 9px;
  background: #28321e60;
  margin-top: 24px;
}
.info-note i {
  margin-top: 3px;
}
.info-note i svg {
  width: 14px;
  height: 14px;
}
.assistant-layout {
  display: grid;
  grid-template-columns: 1fr 285px;
  gap: 18px;
}
.assistant-main {
  padding: 30px;
  min-height: 590px;
  display: flex;
  flex-direction: column;
}
.agent-welcome {
  padding: 24px 5px 32px;
  text-align: center;
}
.agent-orb {
  width: 59px;
  height: 59px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border-radius: 18px;
  background: radial-gradient(circle at 35% 20%, #d8f38b, #91ad4b);
  box-shadow:
    0 0 60px #c1e56416,
    inset 0 1px 2px #f1ffd4;
  color: #283816;
  transform: rotate(-5deg);
}
.agent-orb i {
  transform: rotate(5deg);
}
.agent-orb i svg {
  width: 30px;
  height: 30px;
}
.agent-welcome h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 12px 0;
}
.agent-welcome p {
  font-size: 11px;
}
.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 25px 0 0;
}
.suggestions button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 10px;
  border: 1px solid #3c462e;
  background: #252d1d55;
  padding: 15px 13px;
  border-radius: 9px;
  color: #c5d4af;
  font-size: 10px;
}
.suggestions button:hover {
  background: #3e4e26;
}
.suggestions i svg {
  width: 14px;
  height: 14px;
}
#ask-form {
  margin-top: auto;
  padding-top: 23px;
}
.ask-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #11170d;
  border: 1px solid #58683d;
  border-radius: 12px;
  padding: 9px 10px 9px 17px;
  box-shadow: 0 0 25px #92ad5110;
}
.ask-input > i {
  color: var(--lime);
}
.ask-input input {
  min-width: 0;
  flex: 1;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 11px;
  outline: none;
}
.ask-input .button {
  padding: 9px;
}
.ask-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  color: #7e8e6c;
  font-size: 8px;
}
.agent-context {
  padding: 28px 24px;
  align-self: start;
}
.agent-context h2 {
  font-size: 22px;
  margin-bottom: 27px;
  line-height: 1.4;
  letter-spacing: -0.7px;
}
.context-item {
  display: flex;
  gap: 13px;
  margin: 23px 0;
  font-size: 11px;
}
.context-item > i {
  color: var(--lime);
  padding-top: 1px;
}
.context-item p {
  font-size: 10px;
  margin-top: 8px;
}
.agent-result {
  border-top: 1px solid #38442b;
  margin-top: 20px;
  padding-top: 20px;
  animation: appear 0.3s;
}
.question-bubble {
  background: #303d2355;
  border: 1px solid #465536;
  border-radius: 12px 12px 2px 12px;
  padding: 13px 15px;
  font-size: 12px;
  margin-left: 35px;
  text-align: right;
  margin-bottom: 23px;
  color: #dfebce;
}
.agent-result h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}
.agent-result p {
  font-size: 11px;
}
.answer-engine {
  color: #aabd8c;
  font-size: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 13px;
}
.answer-chart {
  margin: 20px 0;
}
.answer-chart .bar-row {
  grid-template-columns: minmax(100px, 185px) 1fr 45px;
  font-size: 10px;
}
.answer-chart .bar-track {
  height: 13px;
}
.answer-chart svg {
  width: 100%;
  height: 220px;
}
.agent-result details {
  border: 1px solid #37442a;
  border-radius: 7px;
  padding: 11px;
  color: #94a67c;
  font-size: 9px;
  margin: 16px 0;
}
.agent-result summary {
  cursor: pointer;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font:
    10px/1.8 Consolas,
    monospace;
  color: #c4dba0;
}
code {
  font-family: Consolas, monospace;
}
.answer-note {
  font-size: 9px !important;
  color: #7f926b !important;
}
.quality-metrics {
  margin-bottom: 20px;
}
.quality-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 15px;
  margin: 20px 0;
}
.pipeline-stage {
  text-align: center;
}
.pipeline-stage i {
  color: var(--lime);
  margin-bottom: 12px;
}
.pipeline-stage strong {
  display: block;
  font-size: 14px;
}
.pipeline-stage small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.pipeline-arrow {
  color: #546441;
}
.quality-source {
  padding: 24px;
}
.quality-source h3 {
  font-size: 16px;
}
.quality-source > p {
  font-size: 10px;
  margin-top: 8px;
}
.quality-source details {
  border-top: 1px solid #37432a;
  margin-top: 18px;
  padding-top: 14px;
  font-size: 10px;
  color: #b1bf9c;
}
.quality-source summary {
  cursor: pointer;
}
.quality-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.quality-source .source-counts {
  display: flex;
  gap: 25px;
  padding: 20px 0 5px;
}
.source-counts strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  color: #e0eacf;
}
.source-counts small {
  color: #8fa078;
  font-size: 9px;
  margin-top: 5px;
}
.quality-table th,
.quality-table td {
  padding: 9px 0;
  font-size: 9px;
}
.quality-table th {
  background: none;
}
.quality-table {
  margin-top: 12px;
}
.quality-policies {
  padding: 25px;
  margin-top: 18px;
}
.quality-policies p {
  font-size: 11px;
  margin-top: 12px;
}
.case-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 23px;
  border-top: 1px solid #303b25;
}
.case-row > div {
  flex: 1;
  min-width: 0;
}
.case-row p {
  font-size: 11px;
  margin-top: 9px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.case-row small {
  font-size: 9px;
  color: #7f916c;
  margin-top: 8px;
}
.empty {
  padding: 60px 25px;
  text-align: center;
  color: #93a77b;
  font-size: 12px;
  line-height: 1.9;
}
.empty i {
  color: var(--lime);
  margin-bottom: 14px;
}
.empty h3 {
  color: #d5e4c1;
  font-size: 18px;
  margin-bottom: 10px;
}
.error-banner {
  background: #53291d;
  border: 1px solid #825541;
  color: #ffd7be;
  padding: 15px 18px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 12px;
}
.loading-card {
  height: 137px;
  animation: pulse 1.2s infinite alternate;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #d5f478;
  color: #263316;
  border: 1px solid #e3fdb0;
  border-radius: 9px;
  padding: 13px 20px;
  font-size: 12px;
  box-shadow: 0 10px 40px #0006;
  z-index: 100;
  max-width: 90vw;
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 1000;
  background: var(--lime);
  color: #17200d;
  padding: 14px;
  border-radius: 8px;
}
.skip:focus {
  top: 10px;
}
dialog {
  color: var(--text);
  background: #191f14;
  border: 1px solid #404d30;
  border-radius: 18px;
  box-shadow: 0 20px 100px #0008;
  padding: 0;
}
dialog::backdrop {
  background: #050803bb;
  backdrop-filter: blur(5px);
}
#investigation-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: 650px;
  max-width: 94vw;
  margin: 0;
  border-radius: 20px 0 0 20px;
  overflow-y: auto;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 28px 23px;
  border-bottom: 1px solid #334128;
}
.drawer-header h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
}
.drawer-header p {
  font-size: 10px;
  margin-top: 8px;
}
.drawer-body {
  padding: 25px 28px;
}
.drawer-body .identity-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  margin-bottom: 8px;
}
.identity-info h3 {
  font-size: 15px;
}
.identity-info p {
  font-size: 10px;
  margin-top: 5px;
}
.drawer-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-top: 1px solid #38472b;
  border-bottom: 1px solid #38472b;
  padding: 18px 0;
  margin: 16px 0;
}
.drawer-kpis strong {
  font-size: 25px;
  color: var(--lime);
  font-weight: 500;
}
.drawer-kpis small {
  color: var(--muted);
  font-size: 9px;
  margin-top: 7px;
}
.evidence-graph svg {
  width: 100%;
  height: auto;
}
.drawer-section {
  margin-top: 28px;
}
.drawer-section > h3 {
  margin-bottom: 16px;
}
.timeline-item {
  position: relative;
  padding: 0 0 21px 23px;
  border-left: 1px solid #43582e;
  margin-left: 5px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bddc76;
  left: -4px;
  top: 4px;
  border: 2px solid #1c2416;
}
.timeline-item h4 {
  margin: 5px 0;
  font-size: 11px;
  font-weight: 500;
}
.timeline-item p {
  font-size: 9px;
}
.timeline-item time {
  font-size: 8px;
  color: #8f9f7b;
}
.timeline-id {
  font:
    9px Consolas,
    monospace;
  color: #8da574;
}
.quality-warning {
  font-size: 8px;
  color: #d3b47f;
  margin-top: 6px;
}
.case-form {
  display: grid;
  gap: 12px;
}
.case-form label {
  font-size: 10px;
  color: #a5b591;
  display: grid;
  gap: 8px;
}
.case-form select {
  font-size: 11px;
  padding: 10px;
}
.case-form textarea {
  resize: vertical;
  min-height: 80px;
  background: #12190d;
  border: 1px solid #40532e;
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  font-size: 11px;
}
.about-content {
  padding: 35px;
  max-width: 460px;
}
.about-content .close-dialog {
  float: right;
}
.about-content h2 {
  font-size: 28px;
  margin: 20px 0 15px;
}
.about-content p {
  font-size: 12px;
  margin-bottom: 18px;
}
.about-content .button {
  margin-top: 10px;
}
.busy {
  opacity: 0.55;
  pointer-events: none;
}
.network-label {
  font: 10px var(--font);
  fill: #c1d3ab;
}
.network-value {
  font: 600 15px var(--font);
  fill: #e1efcd;
}
.network-caption {
  font: 8px var(--font);
  fill: #869d6b;
}
.chart-empty {
  height: 100%;
  min-height: 130px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
}
.spark-pulse {
  animation: pulse 3s ease-in-out infinite alternate;
}
.source-note {
  font-size: 9px;
  color: #8fa377;
  margin: 10px 0 0;
}
.chart-download {
  margin-top: 12px;
}
.agent-busy {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--lime);
  font-size: 11px;
  padding: 20px;
  animation: pulse 1s infinite alternate;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  main {
    padding: 34px 40px;
  }
  .topbar {
    padding: 0 40px;
  }
  .metric {
    min-height: 155px;
  }
  .activity-card,
  .globe-card {
    min-height: 375px;
  }
  .trend-chart {
    height: 230px;
  }
  .globe {
    height: 280px;
  }
  .severity-card,
  .departments-card,
  .priority-card {
    min-height: 275px;
  }
  .bar-row {
    font-size: 10px;
    margin: 15px 0;
  }
  .severity-layout {
    padding: 30px 22px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 190px;
    padding: 25px 12px;
  }
  .shell {
    margin-left: 190px;
  }
  .brand {
    margin-left: 10px;
  }
  .brand > span {
    font-size: 22px;
  }
  .nav-item {
    font-size: 10px;
    gap: 8px;
    padding: 12px 9px;
  }
  .nav-new {
    display: none;
  }
  .workspace {
    font-size: 9px;
    padding: 10px 8px;
  }
  .workspace small {
    font-size: 8px;
  }
  .workspace small span {
    margin-left: 2px;
  }
  main {
    padding: 25px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  h1 {
    font-size: 24px;
  }
  .filter-actions #date-range {
    display: none;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 17px 16px;
  }
  .metric-value strong {
    font-size: 29px;
  }
  .metric-spark {
    width: 45px;
    right: 12px;
  }
  .card-heading {
    padding: 19px 18px 0;
  }
  .chart-summary {
    margin-left: 18px;
    margin-right: 18px;
  }
  .chart-summary > span {
    display: none;
  }
  .overview-grid {
    gap: 13px;
  }
  .severity-layout {
    padding: 22px 14px;
    gap: 7px;
  }
  #severity-donut {
    width: 100px;
  }
  .severity-row {
    font-size: 8px;
  }
  .bar-list {
    padding: 16px;
  }
  .bar-row {
    grid-template-columns: 72px 1fr 30px;
    gap: 6px;
  }
  .priority-host {
    padding-left: 18px;
    padding-right: 18px;
  }
  .priority-signals {
    margin-left: 18px;
    margin-right: 18px;
  }
  .priority-action {
    width: calc(100% - 36px);
    margin-left: 18px;
    margin-right: 18px;
  }
  .priority-card h2 {
    font-size: 17px;
  }
  .globe-stats {
    padding-left: 18px;
    padding-right: 18px;
    gap: 12px;
  }
  .globe-stats > div:first-child {
    padding-right: 12px;
  }
  .globe-stats .country-top {
    font-size: 10px;
  }
  .assistant-layout {
    grid-template-columns: 1fr 250px;
  }
  .assistant-main {
    padding: 23px;
  }
  .agent-context {
    padding: 23px 20px;
  }
}
@media (max-width: 1020px) {
  .sidebar {
    width: 72px;
    padding: 26px 10px;
  }
  .shell {
    margin-left: 72px;
  }
  .brand {
    margin: 0 auto 34px;
    justify-content: center;
  }
  .brand > span,
  .workspace,
  .nav-label,
  .nav-item > span,
  .sidebar-bottom .pipeline-live,
  .analyst > span:not(.avatar),
  .analyst > i {
    display: none;
  }
  .nav-item {
    font-size: 0;
    justify-content: center;
    padding: 15px 10px;
    margin-bottom: 10px;
  }
  .nav-item i svg {
    width: 20px;
    height: 20px;
  }
  .analyst {
    justify-content: center;
    padding: 18px 0 0;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .activity-card {
    grid-column: span 2;
  }
  .globe-card {
    grid-column: 2;
    grid-row: 2/4;
  }
  .severity-card,
  .departments-card {
    grid-column: 1;
  }
  .priority-card {
    grid-column: span 2;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    padding-bottom: 12px;
  }
  .priority-card .card-heading {
    padding: 15px 22px;
  }
  .priority-card .priority-host {
    padding-top: 18px;
  }
  .priority-card .priority-signals {
    margin-bottom: 13px;
  }
  .priority-card .priority-action {
    margin-bottom: 5px;
  }
  .globe {
    top: 100px;
    height: 340px;
  }
  .globe-stats {
    padding-bottom: 40px;
  }
  .severity-card {
    min-height: 245px;
  }
  .departments-card {
    min-height: 255px;
  }
  .globe-card .card-heading {
    padding-top: 23px;
  }
  .assistant-layout {
    grid-template-columns: 1fr;
  }
  .agent-context {
    display: none;
  }
  .graph-layout {
    grid-template-columns: 1fr 1fr;
  }
  .graph-story {
    padding: 23px;
  }
  .graph-story h2 {
    font-size: 22px;
  }
  .filterbar {
    gap: 7px;
  }
  .filters {
    gap: 5px;
  }
  .select-control {
    padding: 8px 6px;
  }
  .select-control select {
    max-width: 132px;
  }
  .filter-actions .button {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .metric-spark {
    display: none;
  }
  .metric-value strong {
    font-size: 27px;
  }
  .metric-foot {
    font-size: 8px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: 64px;
    padding: 5px 6px;
    background: #181e13ed;
    backdrop-filter: blur(20px);
    border-top: 1px solid #3d4c2b;
    border-right: 0;
    z-index: 40;
  }
  .sidebar .brand,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    justify-content: space-around;
    gap: 3px;
  }
  .nav-item {
    margin: 0;
    padding: 13px 10px;
    width: auto;
    min-width: 44px;
  }
  .shell {
    margin: 0;
  }
  .topbar {
    height: 59px;
    padding: 0 18px;
  }
  .topbar-right {
    gap: 10px;
  }
  .dataset-tag {
    font-size: 7px;
    padding: 6px 7px;
  }
  .topbar-right > .icon-button,
  .topbar-right > .divider {
    display: none;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 9px;
  }
  .breadcrumb > i {
    display: none;
  }
  main {
    padding: 24px 16px 87px;
  }
  .page-heading {
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-heading .eyebrow {
    font-size: 6px;
    letter-spacing: 1.3px;
  }
  h1 {
    font-size: 24px;
    line-height: 1.3;
  }
  h1 span {
    display: block;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 255px;
    margin-top: 10px;
    line-height: 1.7;
  }
  .page-heading .button {
    padding: 10px;
    font-size: 0;
    border-radius: 10px;
    margin-top: 20px;
  }
  .page-heading .button i:last-child {
    display: none;
  }
  .page-heading .button i svg {
    width: 20px;
    height: 20px;
  }
  .filterbar {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
  }
  .filters {
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }
  .select-control {
    padding: 8px 7px;
    gap: 5px;
    flex: 1;
  }
  .select-control select {
    font-size: 9px;
    width: 100%;
    max-width: 110px;
  }
  .select-control i svg {
    width: 12px;
    height: 12px;
  }
  .filter-actions {
    width: 100%;
    justify-content: space-between;
  }
  .filter-actions #date-range {
    display: block;
    font-size: 8px;
  }
  .filter-actions .button {
    padding: 7px 9px;
    font-size: 8px;
  }
  .filter-actions .button i svg {
    width: 12px;
    height: 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }
  .metric {
    padding: 16px;
    min-height: 126px;
  }
  .metric-head {
    font-size: 9px;
  }
  .metric-head i svg {
    width: 15px;
    height: 15px;
  }
  .metric-value {
    margin-top: 15px;
  }
  .metric-value strong {
    font-size: 29px;
  }
  .metric-foot {
    font-size: 8px;
  }
  .overview-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .activity-card {
    min-height: 300px;
  }
  .card-heading {
    padding: 20px 18px 0;
  }
  .card-heading h2 {
    font-size: 14px;
  }
  .card-heading p {
    font-size: 8px;
  }
  .chart-summary {
    gap: 8px;
    margin-top: 18px;
  }
  .chart-summary > strong {
    font-size: 23px;
  }
  .legend {
    font-size: 7px;
    gap: 10px;
  }
  .trend-chart {
    height: 183px;
    padding: 5px 10px 8px;
  }
  .globe-card {
    min-height: 330px;
  }
  .globe {
    top: 50px;
    height: 250px;
  }
  .globe-stats {
    padding: 25px 22px;
  }
  .globe-stats .country-top {
    font-size: 12px;
  }
  .severity-card {
    min-height: 235px;
  }
  .severity-layout {
    justify-content: center;
    gap: 28px;
    padding: 15px 24px 20px;
  }
  #severity-donut {
    width: 124px;
  }
  #severity-legend {
    max-width: 150px;
  }
  .severity-row {
    font-size: 10px;
  }
  .severity-row strong {
    font-size: 11px;
  }
  .departments-card {
    min-height: 270px;
  }
  .bar-list {
    padding: 15px 22px;
  }
  .bar-row {
    font-size: 10px;
    margin: 15px 0;
    grid-template-columns: 110px 1fr 36px;
  }
  .priority-card {
    display: block;
  }
  .priority-card .card-heading {
    padding: 23px 22px 0;
  }
  .priority-card h2 {
    font-size: 22px;
  }
  .priority-host {
    margin-top: 0;
  }
  .priority-signals {
    padding: 0 5px;
  }
  .priority-signals > span {
    font-size: 10px;
  }
  .priority-signals strong {
    font-size: 21px;
  }
  .priority-action {
    margin-top: 20px !important;
    margin-bottom: 12px !important;
    padding: 12px;
  }
  .recent-card {
    margin-top: 12px;
  }
  .recent-card .card-heading {
    align-items: flex-start;
  }
  .recent-card h2 {
    font-size: 13px;
  }
  .recent-card .micro-badge {
    display: none;
  }
  .recent-card .text-button {
    white-space: nowrap;
    font-size: 8px;
  }
  .recent-card .card-heading p {
    max-width: 210px;
  }
  th {
    padding: 12px 17px;
  }
  td {
    padding: 13px 17px;
  }
  .page-footer {
    align-items: flex-start;
    gap: 13px;
    flex-direction: column;
    margin-top: 22px;
    font-size: 8px;
  }
  .graph-layout {
    grid-template-columns: 1fr;
  }
  .graph-story {
    position: static;
    grid-row: 1;
  }
  .graph-story h2 {
    font-size: 25px;
  }
  .graph-story svg {
    max-height: 180px;
    margin: 12px 0;
  }
  .graph-story p {
    font-size: 11px;
  }
  .graph-story .info-note {
    font-size: 9px;
    margin-top: 18px;
  }
  .host-row {
    padding: 16px;
  }
  .host-row .host-score {
    font-size: 12px;
  }
  .assistant-main {
    padding: 19px 16px;
    min-height: 560px;
  }
  .agent-welcome {
    padding: 15px 0 25px;
  }
  .agent-welcome h2 {
    font-size: 23px;
  }
  .agent-welcome .eyebrow {
    font-size: 7px;
  }
  .agent-welcome p {
    font-size: 10px;
  }
  .suggestions {
    gap: 8px;
  }
  .suggestions button {
    padding: 12px 10px;
    font-size: 9px;
    line-height: 1.6;
  }
  .ask-input {
    padding-left: 11px;
    gap: 7px;
  }
  .ask-input input {
    font-size: 10px;
  }
  .ask-input > i {
    display: none;
  }
  .ask-footer {
    font-size: 7px;
    flex-direction: column;
  }
  .agent-result h3 {
    font-size: 15px;
  }
  .answer-chart .bar-row {
    grid-template-columns: 105px 1fr 30px;
    font-size: 8px;
  }
  .quality-sources {
    grid-template-columns: 1fr;
  }
  .quality-pipeline {
    gap: 9px;
    padding: 25px 12px;
    flex-wrap: wrap;
  }
  .pipeline-stage strong {
    font-size: 10px;
  }
  .pipeline-stage small {
    font-size: 7px;
  }
  .pipeline-stage i svg {
    width: 17px;
    height: 17px;
  }
  .pipeline-arrow i svg {
    width: 12px;
    height: 12px;
  }
  .quality-source .source-counts {
    justify-content: space-between;
    gap: 10px;
  }
  .quality-source {
    padding: 22px;
  }
  .quality-policies {
    padding: 22px;
  }
  .explorer-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search-control {
    max-width: none;
  }
  .search-control input {
    font-size: 10px;
  }
  .pagination {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .pagination > div {
    gap: 12px;
  }
  .case-row {
    padding: 18px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .case-row .host-icon {
    display: none;
  }
  .case-row > .button {
    font-size: 9px;
  }
  .drawer-header {
    padding: 25px 20px;
  }
  .drawer-body {
    padding: 20px;
  }
  .drawer-header h2 {
    font-size: 24px;
  }
  .drawer-kpis strong {
    font-size: 22px;
  }
  .drawer-kpis small {
    font-size: 8px;
  }
  .drawer-body .info-note {
    font-size: 9px;
  }
  .about-content {
    padding: 26px;
  }
  .about-content p {
    font-size: 11px;
  }
  .toast {
    bottom: 80px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.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;
}
/* Shared controls and the guided walkthrough. */
:root {
  color-scheme: dark;
  --scroll-track: #171c13;
  --scroll-thumb: #4a5938;
  --scroll-hover: #829b5b;
}
html {
  scrollbar-gutter: stable;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 12px;
  border: 2px solid var(--scroll-track);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-hover);
}
::-webkit-scrollbar-corner {
  background: transparent;
}
.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 50%;
}
.mobile-tour {
  display: none;
}
.tour-launch {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 16px 10px;
  border: 1px solid #455431;
  border-radius: 12px;
  background: linear-gradient(120deg, #28341c, #1c2416);
}
.tour-launch:hover {
  border-color: #8aa952;
}
.tour-launch-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 33px;
  height: 36px;
  color: var(--lime);
}
.tour-launch strong {
  font-size: 11px;
  font-weight: 600;
}
.tour-launch small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.tour-launch .tour-kicker {
  color: var(--lime);
  font-size: 6px;
  letter-spacing: 1.3px;
  margin: 0 0 5px;
}
.tour-launch > i {
  margin-left: auto;
  color: var(--muted);
}
.tour-launch > i svg {
  width: 13px;
  height: 13px;
}
#tour-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
#tour-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
}
.tour-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#tour-mask {
  fill: #070c08b8;
}
.tour-focus {
  position: fixed;
  border: 2px solid #bada77;
  border-radius: 17px;
  pointer-events: none;
  box-shadow: 0 0 0 4px #d5f47820;
}
.tour-card {
  position: fixed;
  width: 370px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid #566b37;
  border-radius: 18px;
  padding: 23px;
  background: #1c2416;
  box-shadow: 0 16px 70px #0005;
}
.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.tour-header .eyebrow {
  font-size: 7px;
  letter-spacing: 1px;
  margin: 0;
  color: #b4cd8f;
}
.tour-header .icon-button {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.tour-card h2 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.tour-card p {
  font-size: 12px;
  line-height: 1.8;
}
.tour-tip {
  border-left: 2px solid #87a853;
  padding-left: 12px;
  margin: 16px 0;
  color: #c3d5ab;
  font-size: 11px !important;
}
.tour-dots {
  display: flex;
  gap: 5px;
  margin: 20px 0;
}
.tour-dots span {
  width: 6px;
  height: 5px;
  border-radius: 3px;
  background: #50603d;
}
.tour-dots .current {
  width: 23px;
  background: var(--lime);
}
.tour-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tour-actions .button {
  margin-left: auto;
}
.tour-actions .text-button {
  font-size: 11px;
}

/* Light surfaces keep the same layout and lime identity as the dark workspace. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f5f0;
  --panel: #fff;
  --panel-2: #edf0e5;
  --line: #dce2d2;
  --text: #24311d;
  --muted: #637058;
  --dim: #727e67;
  --scroll-track: #f0f2eb;
  --scroll-thumb: #b0bba1;
  --scroll-hover: #7c915e;
}
[data-theme="light"] .sidebar {
  background: #fafbf7;
  border-color: var(--line);
}
[data-theme="light"] .topbar {
  background: #fafbf7;
  border-color: var(--line);
}
[data-theme="light"] .brand img,
[data-theme="light"] .page-footer img {
  filter: brightness(0.6) saturate(1.5);
}
[data-theme="light"] .brand-iq {
  color: #5b761f;
}
[data-theme="light"] .workspace {
  background: #f0f3e8;
  border-color: #dce3ce;
}
[data-theme="light"] .workspace-icon {
  background: #e7edda;
  border-color: #cbd8b7;
  color: #526c22;
}
[data-theme="light"] .nav-item {
  color: #647257;
}
[data-theme="light"] .nav-item:hover {
  background: #edf2e3;
  color: #2e431c;
}
[data-theme="light"] .nav-item.active {
  background: #d5f478;
  color: #2c3c14;
}
[data-theme="light"] .ai-tag,
[data-theme="light"] .nav-count,
[data-theme="light"] .nav-new {
  background: #e8f0d8;
  color: #526b27;
  border-color: #cedbb5;
}
[data-theme="light"] h1 span {
  color: #809065;
}
[data-theme="light"] .dataset-tag {
  color: #516a28;
  background: #edf3e2;
  border-color: #d4e2bc;
}
[data-theme="light"] .status-dot {
  background: #7c9f2f;
}
[data-theme="light"] .card {
  background: linear-gradient(120deg, #fff, #fafbf7);
  border-color: #dfe5d6;
  box-shadow: 0 4px 20px #36472304;
}
[data-theme="light"] .metric.emphasis {
  background: linear-gradient(115deg, #eef6db, #e7f0d3);
  border-color: #d3dfb7;
}
[data-theme="light"] .metric.emphasis .metric-value strong {
  color: #4a671c;
}
[data-theme="light"] .metric-head,
[data-theme="light"] .metric-foot,
[data-theme="light"] .metric-value span,
[data-theme="light"] .metric-head i {
  color: #63754d;
}
[data-theme="light"] .select-control,
[data-theme="light"] .button.secondary {
  background: #fff;
  border-color: #d6dfc9;
  color: #526640;
}
[data-theme="light"] select,
[data-theme="light"] select option {
  color: #3c502c;
  background: #fff;
  border-color: #d4dec6;
}
[data-theme="light"] .select-control select {
  background: transparent;
}
[data-theme="light"] .button.secondary:hover {
  background: #eef4e4;
}
[data-theme="light"] .text-button {
  color: #57762b;
}
[data-theme="light"] .text-button:hover {
  color: #354e13;
}
[data-theme="light"] .icon-button:hover {
  background: #e5edda;
  color: #486121;
}
[data-theme="light"] .chart-label {
  fill: #647354;
}
[data-theme="light"] .chart-grid {
  stroke: #d2dcc6;
}
[data-theme="light"] .chart-hover:hover {
  fill: #8ba54b12;
}
[data-theme="light"] :is(.trend-chart, .answer-chart) svg polyline:last-of-type {
  stroke: #7b9d32;
}
[data-theme="light"] :is(.trend-chart, .answer-chart) svg circle {
  fill: #7b9d32;
}
[data-theme="light"] .metric-spark polyline {
  stroke: #769130;
}
[data-theme="light"] .legend {
  color: #6a795b;
}
[data-theme="light"] .legend-line {
  background: #7b9d32;
}
[data-theme="light"] .legend-line.gray {
  background: #93a380;
}
[data-theme="light"] .bar-label,
[data-theme="light"] .bar-number {
  color: #526540;
}
[data-theme="light"] .bar-track {
  background: #ebf0e3;
}
[data-theme="light"] .bar-fill {
  background: #8cad40;
}
[data-theme="light"] .severity-row {
  color: #65774e;
}
[data-theme="light"] .severity-row strong {
  color: #364c24;
}
[data-theme="light"] #severity-donut text {
  fill: #2b401e;
}
[data-theme="light"] #severity-donut text:last-child {
  fill: #63784d;
}
[data-theme="light"] #severity-donut circle:first-child {
  stroke: #e7edde;
}
[data-theme="light"] .card-foot {
  color: #607347;
  border-color: #dfe6d5;
}
[data-theme="light"] .priority-card {
  background: linear-gradient(130deg, #eff5e1, #e3edce);
  border-color: #cedbb6;
}
[data-theme="light"] .lime,
[data-theme="light"] .eyebrow.lime {
  color: #5d7f23 !important;
}
[data-theme="light"] .priority-host small,
[data-theme="light"] .priority-signals > span {
  color: #657b48;
}
[data-theme="light"] .priority-signals strong {
  color: #3d5725;
}
[data-theme="light"] .priority-action {
  border-color: #b8cc93;
  background: #f8fcec;
  color: #425e20;
}
[data-theme="light"] .priority-action:hover {
  background: #d5edb4;
}
[data-theme="light"] .host-icon {
  background: #e7efd9;
  color: #557d24;
  border-color: #c8d8b0;
}
[data-theme="light"] .micro-badge {
  color: #5f763d;
  border-color: #d1ddbd;
  background: #f4f8eb;
}
[data-theme="light"] th {
  background: #f1f4eb;
  border-color: #dfe6d5;
  color: #6b7b5a;
}
[data-theme="light"] td {
  color: #556b3d;
  border-color: #e7ecdf;
}
[data-theme="light"] td strong {
  color: #354b23;
}
[data-theme="light"] td small {
  color: #70825d;
}
[data-theme="light"] tbody tr:hover {
  background: #eff5e6;
}
[data-theme="light"] .source-badge {
  color: #657b49;
  border-color: #d4dfc4;
  background: #f4f7ed;
}
[data-theme="light"] .signal-icon {
  color: #996b29;
  border-color: #e5d8bd;
  background: #faf3e4;
}
[data-theme="light"] .severity-badge.Critical {
  color: #aa4b36;
  background: #fbece7;
  border-color: #efd1c7;
}
[data-theme="light"] .severity-badge.High {
  color: #8e611c;
  background: #faf2e1;
  border-color: #eadbbc;
}
[data-theme="light"] .severity-badge.Medium {
  color: #647e2a;
  background: #f0f5e3;
  border-color: #dbe6bc;
}
[data-theme="light"] .severity-badge.Low,
[data-theme="light"] .severity-badge.Unknown {
  color: #64754f;
  background: #edf2e6;
  border-color: #d7e2ca;
}
[data-theme="light"] .page-footer {
  color: #727f65;
}
[data-theme="light"] .search-control,
[data-theme="light"] .ask-input {
  background: #fff;
  border-color: #cbdab5;
  color: #637d42;
  box-shadow: none;
}
[data-theme="light"] .search-control kbd {
  color: #758765;
  border-color: #d6e0ca;
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #7a886a;
  opacity: 1;
}
[data-theme="light"] .suggestions button {
  background: #f3f7eb;
  border-color: #dbe6c8;
  color: #536e36;
}
[data-theme="light"] .suggestions button:hover {
  background: #e5efce;
}
[data-theme="light"] .ask-input > i,
[data-theme="light"] .context-item > i {
  color: #72972e;
}
[data-theme="light"] .info-note {
  background: #f0f5e7;
  border-color: #d6e2c4;
  color: #607745;
}
[data-theme="light"] .host-row,
[data-theme="light"] .case-row {
  border-color: #dfe7d3;
}
[data-theme="light"] .host-row:hover {
  background: #edf4e1;
}
[data-theme="light"] .host-row small,
[data-theme="light"] .host-row .host-score {
  color: #698740;
}
[data-theme="light"] .question-bubble {
  background: #edf4df;
  border-color: #d5e1be;
  color: #425d28;
}
[data-theme="light"] .agent-result {
  border-color: #d9e5c8;
}
[data-theme="light"] .agent-result details {
  color: #627d3e;
  border-color: #d2e0bc;
}
[data-theme="light"] pre,
[data-theme="light"] .answer-engine {
  color: #577935;
}
[data-theme="light"] .answer-note,
[data-theme="light"] .ask-footer,
[data-theme="light"] .source-note {
  color: #6c7c5b !important;
}
[data-theme="light"] .agent-busy {
  color: #5b7a2f;
}
[data-theme="light"] .quality-source details {
  color: #657a49;
  border-color: #dce6ce;
}
[data-theme="light"] .source-counts strong {
  color: #3b5225;
}
[data-theme="light"] .source-counts small {
  color: #657949;
}
[data-theme="light"] .pipeline-stage i {
  color: #698b2d;
}
[data-theme="light"] .empty {
  color: #788767;
}
[data-theme="light"] .empty h3,
[data-theme="light"] .empty i {
  color: #55752d;
}
[data-theme="light"] .tour-launch {
  background: linear-gradient(120deg, #eef5de, #e6efda);
  border-color: #d2dfbc;
}
[data-theme="light"] .tour-launch-icon,
[data-theme="light"] .tour-launch .tour-kicker {
  color: #6f9138;
}
[data-theme="light"] dialog:not(#tour-dialog) {
  background: #fafcf6;
  border-color: #d1ddbf;
}
[data-theme="light"] .drawer-header,
[data-theme="light"] .drawer-kpis {
  border-color: #d6e3c4;
}
[data-theme="light"] .drawer-kpis strong {
  color: #5f8327;
}
[data-theme="light"] .case-form label {
  color: #627748;
}
[data-theme="light"] .case-form textarea {
  background: #fff;
  border-color: #d0dfbb;
}
[data-theme="light"] .timeline-item {
  border-color: #c8d9b1;
}
[data-theme="light"] .timeline-item:before {
  border-color: #f8fbf2;
  background: #85a650;
}
[data-theme="light"] .timeline-item time,
[data-theme="light"] .timeline-id {
  color: #6a7e51;
}
[data-theme="light"] .quality-warning {
  color: #9b702e;
}
[data-theme="light"] .network-value {
  fill: #496728;
}
[data-theme="light"] .network-label,
[data-theme="light"] .network-caption {
  fill: #718953;
}
[data-theme="light"] :is(.evidence-graph, #network-preview) g circle {
  fill: #edf5de;
  stroke: #b7d096;
}
[data-theme="light"] .tour-card {
  background: #fcfdf8;
  border-color: #d5e4bc;
}
[data-theme="light"] .tour-header .eyebrow {
  color: #6c8547;
}
[data-theme="light"] .tour-tip {
  color: #6a7e51;
  border-color: #a9c576;
}
[data-theme="light"] .tour-dots span {
  background: #dbe5cc;
}
[data-theme="light"] .tour-dots .current {
  background: #8cac43;
}
[data-theme="light"] .globe-card {
  background: radial-gradient(ellipse at 50% 40%, #34432136, transparent 65%), #191d15;
  border-color: #303c26;
  color: #e8efd9;
}
[data-theme="light"] .globe-card h2 {
  color: #e8efd9;
}
[data-theme="light"] .globe-card p {
  color: #a4b48d;
}
[data-theme="light"] .globe-card .micro-badge {
  color: #bbcc9d;
  background: #243018;
  border-color: #485e32;
}
[data-theme="light"] .globe-card .icon-button {
  color: #d5f478;
}
@media (max-width: 1020px) {
  .tour-launch {
    justify-content: center;
    padding: 12px 4px;
  }
  .tour-launch > span:not(.tour-launch-icon),
  .tour-launch > i {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar-right > .theme-toggle,
  .topbar-right > .mobile-tour {
    display: inline-flex;
  }
  .topbar-right {
    gap: 8px;
  }
  .theme-toggle {
    width: 30px;
    height: 30px;
  }
  [data-theme="light"] .sidebar {
    background: #fafcf5f5;
  }
  .tour-card {
    padding: 19px;
  }
  .tour-card h2 {
    font-size: 18px;
  }
  .tour-card p {
    font-size: 11px;
  }
  .tour-tip {
    font-size: 10px !important;
    margin: 12px 0;
  }
  .tour-header {
    margin-bottom: 10px;
  }
  .tour-dots {
    margin: 14px 0;
  }
  .tour-actions {
    gap: 10px;
  }
}
