:root {
  --bg: #37322D;
  --surf: #3F3A34;
  --surf2: #34302B;
  --ink: #F4EFE8;
  --mut: #BBB1A4;
  --line: rgba(255,255,255,.1);
  --pcap: #4FD1C5;
  --strace: #A79BFF;
  --sar: #F4B04A;
  --btn: #F4EFE8;
  --btnt: #2A2622;
  --shadow: 10px 10px 24px rgba(0,0,0,.38),
             -8px -8px 20px rgba(255,255,255,.035),
             inset 1px 1px 0 rgba(255,255,255,.07);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
}

:root {
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}

html {
  scroll-padding-top: env(safe-area-inset-top,0px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  min-height: 100vh;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--strace);
  outline-offset: 2px;
}

.mono {
  font-family: 'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

.side {
  background: var(--surf);
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 8px;
}

.brand b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--mut);
  font-size: 12px;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  color: var(--mut);
  font-weight: 500;
}

nav button:hover:not(:disabled) {
  background: var(--surf2);
  color: var(--ink);
}

nav button.on {
  background: var(--btn);
  color: var(--btnt);
}

nav button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.sidefoot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 6px;
  font-size: 12px;
  color: var(--mut);
}

.ghost {
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 500;
}

main {
  padding: 28px clamp(16px,3vw,40px) 60px;
  min-width: 0;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(24px,3vw,32px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}

.sub {
  color: var(--mut);
  max-width: 62ch;
  margin-top: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.pcap {
  --c: var(--pcap);
}

.strace {
  --c: var(--strace);
}

.sar {
  --c: var(--sar);
}

.dot[class*=" "],
.dot.pcap,
.dot.strace,
.dot.sar {
  background: var(--c);
}

.card {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 12px;
}

.view {
  display: none;
}

.view.on {
  display: block;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.drop {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  background: var(--surf2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-top: 4px solid var(--c);
  transition: background .15s;
}

.drop:hover,
.drop.over {
  background: color-mix(in srgb,var(--c) 10%,var(--surf2));
}

.drop b {
  font-size: 16px;
}

.drop small {
  color: var(--mut);
}

.drop .fn {
  font-size: 13px;
  word-break: break-all;
}

.drop.ok {
  border-style: solid;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  background: var(--btn);
  color: var(--btnt);
  border: 0;
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 600;
}

.btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.btn.sec {
  background: var(--surf2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.step {
  flex: 1 1 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--mut);
  transition: all .25s;
}

.step.on {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surf2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat b {
  display: block;
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.stat span {
  color: var(--mut);
  font-size: 13px;
}

.two {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.cv {
  position: relative;
  height: 260px;
}

.recon {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.ph {
  border-left: 3px solid var(--ink);
  padding: 2px 0 2px 12px;
}

.ph b {
  display: block;
  font-size: 14px;
}

.ph p {
  color: var(--mut);
  font-size: 13px;
  margin: 4px 0;
}

.ph .n {
  font-size: 12px;
  color: var(--mut);
}

.ctl {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--mut);
}

.tl-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surf2);
}

.tl-in {
  position: relative;
}

.phases {
  display: flex;
  height: 34px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.phb {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--line);
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  background: color-mix(in srgb,var(--ink) calc(var(--i)*3%),transparent);
}

.lane {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.lane:last-child {
  border: 0;
}

.lbl {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 98px;
  height: 100%;
  background: var(--surf);
  border-right: 1px solid var(--line);
  padding: 10px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  float: left;
}

.band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--ink);
  opacity: .045;
  border-radius: 6px;
  pointer-events: none;
}

.band.hot {
  opacity: .12;
}

.ev {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--surf);
  box-shadow: 0 0 0 1px var(--c);
  padding: 0;
  z-index: 2;
  transition: transform .12s;
}

.ev:hover {
  transform: scale(1.35);
}

.ev.sel {
  transform: scale(1.5);
  box-shadow: 0 0 0 3px var(--ink);
}

.ev.dim {
  opacity: .35;
}

.axis {
  position: relative;
  height: 24px;
  font-size: 11px;
  color: var(--mut);
}

.axis i {
  position: absolute;
  top: 4px;
  font-style: normal;
  transform: translateX(-50%);
}

.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 12px;
  color: var(--mut);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.fchip {
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 7px;
  align-items: center;
}

.fchip.on {
  background: var(--btn);
  color: var(--btnt);
  border-color: var(--btn);
}

input[type=search] {
  border: 1px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  min-width: 220px;
  flex: 1;
  max-width: 340px;
}

.tw {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surf);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}

th {
  text-align: left;
  font-weight: 600;
  color: var(--mut);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surf2);
  white-space: nowrap;
}

td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover {
  background: var(--surf2);
}

tbody tr.sel {
  background: color-mix(in srgb,var(--strace) 12%,transparent);
}

.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  font-size: 12.5px;
}

.gtag {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12px;
  color: var(--mut);
}


.insp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 15, 12, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.insp-backdrop.on {
  opacity: 1;
  pointer-events: auto;
}

.insp {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100vw);
  background: #39332d;
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 44px rgba(0, 0, 0, 0.55);
  transform: translateX(105%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100; /* ALWAYS strictly above .bar (z-index: 100) and backdrop (z-index: 1050) */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.insp.on {
  transform: translateX(0);
}

.insp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #2f2a25;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.insp-header-info {
  flex: 1;
  min-width: 0;
}

.insp-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.insp-title {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 2px;
  color: var(--ink);
  word-break: break-word;
}

.insp-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--mut);
}

.insp-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.insp-close-btn:hover {
  background: rgba(255, 77, 79, 0.25);
  border-color: #ff4d4f;
  color: #ff7875;
  transform: translateY(-1px);
}

.insp-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 32px;
}

.insp-body dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 14px;
  margin: 0 0 20px;
  font-size: 13.5px;
}

.insp-body dt {
  color: var(--mut);
  font-size: 12.5px;
}

.insp-body dd {
  word-break: break-all;
}

.insp-footer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.insp-footer-close-btn:hover {
  background: rgba(255, 77, 79, 0.18);
  border-color: #ff4d4f;
  color: #ff7875;
}

.x {
  float: right;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  color: var(--ink);
}

dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px 10px;
  margin: 16px 0;
  font-size: 13.5px;
}

dt {
  color: var(--mut);
}

dd {
  word-break: break-all;
}

pre {
  background: var(--surf2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  border-radius: 8px;
  padding: 12px;
  font-size: 12.5px;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 6px 0 14px;
}

.sh {
  font-size: 13px;
  font-weight: 650;
  margin-top: 16px;
}

.rel {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 13px;
}

.why {
  background: var(--surf2);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--mut);
  margin-top: 6px;
}

.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--mut);
}

.view.on > * {
  animation: in .55s cubic-bezier(.2,.7,.2,1) both;
}

.view.on > :nth-child(2) {
  animation-delay: .08s;
}

.view.on > :nth-child(3) {
  animation-delay: .16s;
}

.view.on > :nth-child(4) {
  animation-delay: .24s;
}

@keyframes in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.drop {
  transition: transform .2s,background .15s;
}

.drop:hover {
  transform: translateY(-4px);
}

.ph {
  cursor: pointer;
  transition: border-color .2s,background .2s;
}

.ph:hover {
  background: var(--surf2);
  border-color: var(--strace);
}

.player {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--btn);
  color: var(--btnt);
  font-size: 16px;
  transition: transform .15s;
}

.play:hover {
  transform: scale(1.1);
}

.player input[type=range] {
  flex: 1;
  min-width: 140px;
  accent-color: var(--ink);
}

.clock {
  font-size: 20px;
  font-weight: 600;
  min-width: 90px;
}

.phl {
  padding: 5px 13px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
}

.head {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E5484D;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 12px #E5484D;
}

.head::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E5484D;
}

.ev.off {
  opacity: .18;
  transform: scale(.55);
}

.ev.pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--c);
  animation: rip 1s ease-out forwards;
}

@keyframes rip {
  to {
    transform: scale(3.4);
    opacity: 0;
  }
}

.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.links path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: march .8s linear infinite;
}

@keyframes march {
  to {
    stroke-dashoffset: -12;
  }
}

.term {
  background: #0B1220;
  color: #B8C7E6;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  height: 196px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 14px;
}

.term div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term div:last-child {
  animation: in .3s both;
}

.flow {
  width: 100%;
  height: 132px;
  display: block;
  border-radius: 12px;
  background: var(--surf2);
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(45, 40, 35, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, box-shadow 0.2s;
}

.bar nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.bar nav button {
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 500;
  color: var(--mut);
  background: transparent;
  border: 1px solid transparent;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.bar nav button:hover:not(:disabled) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.bar nav button.on {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bar nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

#newa {
  background: linear-gradient(135deg, rgba(167, 155, 255, 0.18), rgba(79, 209, 197, 0.18));
  border-color: rgba(167, 155, 255, 0.4);
}

#newa:hover {
  background: linear-gradient(135deg, rgba(167, 155, 255, 0.32), rgba(79, 209, 197, 0.32));
  border-color: var(--strace);
}

h1 {
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.card {
  border-radius: 28px;
  background: linear-gradient(145deg,#443F38,#38332E);
}

.hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 440px;
  padding: clamp(24px,5vw,56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(120deg,#2A2622,#4A433B);
  box-shadow: var(--shadow);
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > *:not(canvas) {
  position: relative;
}

.hero h1 {
  font-size: clamp(28px,4.8vw,54px);
  font-weight: 800;
  line-height: 1.06;
  max-width: 17ch;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}

.hero p {
  color: var(--mut);
  margin-top: 12px;
  max-width: 46ch;
}

.finder {
  display: flex;
  gap: 6px;
  align-items: center;
  background: #fff;
  color: #1d1a17;
  border-radius: 22px;
  padding: 10px 12px 10px 22px;
  margin-top: 30px;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
}

.finder label {
  display: flex;
  flex-direction: column;
  padding: 2px 18px 2px 0;
  font-size: 12px;
  color: #6b635a;
}

.finder select {
  border: 0;
  background: none;
  font: 600 15px 'Poppins',sans-serif;
  color: #1d1a17;
  padding: 2px 0;
  cursor: pointer;
}

.finder .btn {
  background: #37322D;
  color: #fff;
  border-radius: 14px;
  padding: 14px 26px;
}

.strip {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(16px,5vw,48px);
  margin: 52px 0 22px;
}

.strip button {
  background: none;
  border: 0;
  color: var(--mut);
  font: 700 clamp(14px,2vw,20px) 'Poppins',sans-serif;
  opacity: .55;
  text-transform: uppercase;
  transition: all .4s;
}

.strip button.on {
  color: var(--ink);
  opacity: 1;
  font-size: clamp(28px,5vw,48px);
}

.car {
  position: relative;
  height: 430px;
  overflow: hidden;
}

.cc {
  --w: min(380px,72vw);

  position: absolute;
  left: 50%;
  top: 6px;
  width: var(--w);
  margin-left: calc(var(--w)/-2);
  height: 400px;
  border-radius: 44px;
  padding: 26px;
  background: linear-gradient(150deg,#4a443c,#37322d);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition:
    transform .65s cubic-bezier(.2,.8,.2,1),
    opacity .65s,
    filter .65s;
  transform:
    translateX(calc(var(--p) * 86%))
    scale(calc(1 - var(--a) * .18))
    rotateX(var(--rx,0deg))
    rotateY(var(--ry,0deg));
  opacity: calc(1 - var(--a) * .45);
  filter: blur(calc(var(--a) * 2px));
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cc h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cc .meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--mut);
  margin: 6px 0 16px;
}

.viz {
  flex: 1;
  width: 100%;
  border-radius: 28px;
  background: var(--surf2);
  box-shadow:
    inset 6px 6px 14px rgba(0,0,0,.35),
    inset -4px -4px 10px rgba(255,255,255,.04);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 18px;
}

.cc.strace .viz,
.cc.sar .viz {
  display: block;
}

.viz i {
  flex: 1;
  background: var(--c);
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom;
  animation: bar 1.3s ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * -.11s);
}

@keyframes bar {
  from {
    transform: scaleY(.18);
  }
}

.sc {
  text-align: left;
  font-size: 12.5px;
  color: var(--c);
  line-height: 2.1;
  animation: sc 9s linear infinite;
}

@keyframes sc {
  to {
    transform: translateY(-50%);
  }
}

.viz polyline {
  stroke-dasharray: 700;
  animation: dr 3.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px var(--c));
}

@keyframes dr {
  from {
    stroke-dashoffset: 700;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 4px 0 44px;
}

.dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #fff;
  transition: all .3s;
}

.dots button.on {
  background: var(--sar);
  transform: scale(1.3);
}

.cat h2 {
  text-align: center;
  font-size: clamp(24px,4vw,40px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 30px;
  background: linear-gradient(
    90deg,
    #9d958a,
    #fff 25%,
    #fff 75%,
    #9d958a
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px 30px;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.tile {
  display: flex;
  gap: 16px;
  align-items: center;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 500;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  padding: 6px;
  border-radius: 20px;
  transition: transform .2s;
}

.tile:hover {
  transform: translateY(-3px);
}

.tile i {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#463f38,#2f2b27);
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}

.tile:hover i {
  box-shadow:
    inset 5px 5px 12px rgba(0,0,0,.45),
    inset -4px -4px 10px rgba(255,255,255,.05);
}

.tile svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#spot {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(
      440px circle at var(--mx,50%) var(--my,30%),
      rgba(244,176,74,.1),
      transparent 62%
    );
}

.car {
  perspective: 1100px;
}

.cc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--gx,50%) var(--gy,0%),
      rgba(255,255,255,.17),
      transparent 55%
    );
}

.hero h1 {
  cursor: pointer;
  min-height: 2.2em;
}

.cap {
  border-left: 4px solid var(--sar);
  background: var(--surf2);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 14px;
  box-shadow: inset 4px 4px 10px rgba(0,0,0,.3);
  min-height: 68px;
}

.cap > * {
  display: block;
  animation: in .45s both;
}

.cap b {
  font-size: 15px;
}

.cap span {
  font-size: 13px;
  color: var(--mut);
}

#pal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20,17,14,.62);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
}

#pal.on {
  display: flex;
  animation: in .2s both;
}

.pbox {
  width: min(580px,92vw);
  background: linear-gradient(145deg,#4a443c,#37322d);
  border-radius: 24px;
  box-shadow: var(--shadow),0 30px 80px rgba(0,0,0,.5);
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#pq {
  background: var(--surf2);
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  font: 500 15px 'Poppins',sans-serif;
  box-shadow: inset 4px 4px 10px rgba(0,0,0,.35);
  outline: none;
}

#pl {
  list-style: none;
  padding: 0;
  margin: 0;
}

#pl li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

#pl li small {
  margin-left: auto;
  color: var(--mut);
  font-family: 'IBM Plex Mono',monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40%;
}

#pl li.on,
#pl li:hover {
  background: rgba(255,255,255,.1);
}

.pbox > small {
  color: var(--mut);
  font-size: 12px;
  padding: 2px 8px;
}

.st {
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 99px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  color: var(--mut);
  white-space: nowrap;
}

.st.y {
  color: var(--pcap);
  border-color: var(--pcap);
}





.mini-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.mini-bars i {
  display: block;
  flex: none;
  width: 9px;
  height: var(--h);
  min-height: 12px;
  border-radius: 8px 8px 2px 2px;
  background: var(--pcap);
  transform-origin: bottom center;

  animation:
    pcapBars 1.15s ease-in-out infinite alternate;

  animation-delay: var(--d);
}

@keyframes pcapBars {
  0% {
    transform: scaleY(.55);
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(.7);
  }
}



.mini-terminal {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  gap: 8px;
  padding: 4px 10px;

  text-align: left;
}

.mini-terminal span {
  display: block;
  flex: none;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  font-family:
    'IBM Plex Mono',
    'Courier New',
    monospace;

  font-size: 12px;
  line-height: 1.4;

  color: var(--strace);

  opacity: .85;

  animation:
    straceScroll 4.5s linear infinite;
}

.mini-terminal span:nth-child(1) {
  animation-delay: 0s;
}

.mini-terminal span:nth-child(2) {
  animation-delay: .25s;
}

.mini-terminal span:nth-child(3) {
  animation-delay: .5s;
}

.mini-terminal span:nth-child(4) {
  animation-delay: .75s;
}

.mini-terminal span:nth-child(5) {
  animation-delay: 1s;
}

.mini-terminal span:nth-child(6) {
  animation-delay: 1.25s;
}

.mini-terminal span:nth-child(7) {
  animation-delay: 1.5s;
}

.mini-terminal span:nth-child(8) {
  animation-delay: 1.75s;
}

@keyframes straceScroll {
  0% {
    transform: translateY(45px);
    opacity: 0;
  }

  15% {
    opacity: .9;
  }

  70% {
    opacity: .9;
  }

  100% {
    transform: translateY(-35px);
    opacity: 0;
  }
}



.mini-chart {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.mini-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mini-chart .sar-grid {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 1;
}

.mini-chart .sar-line {
  fill: none;
  stroke: var(--sar);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 900;
  stroke-dashoffset: 900;

  filter: drop-shadow(0 0 6px rgba(244,176,74,.45));

  animation:
    sarFlow 2.8s linear infinite;
}

@keyframes sarFlow {
  0% {
    stroke-dashoffset: 900;
  }

  100% {
    stroke-dashoffset: 0;
  }
}



.cc-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cc-live i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--pcap);
  box-shadow: 0 0 8px var(--pcap);
  animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(.75);
    opacity: .55;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}



.viz-core {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viz-core.pcap {
  align-items: flex-end;
}

.viz-core.strace {
  align-items: center;
}

.viz-core.sar {
  align-items: center;
}



@media (max-width: 600px) {

  .mini-bars {
    gap: 4px;
  }

  .mini-bars i {
    width: 7px;
  }

  .mini-terminal span {
    font-size: 10px;
  }

  .mini-chart {
    height: 130px;
  }
}



@media print {
  :root {
    --bg: #fff;
    --surf: #fff;
    --surf2: #f3f3f3;
    --ink: #111;
    --mut: #555;
    --line: #ccc;
    --shadow: none;
  }

  .bar,
  #spot,
  .insp,
  .row,
  #pal {
    display: none !important;
  }

  .card {
    background: #fff !important;
    box-shadow: none;
    break-inside: avoid;
  }

  body {
    background: #fff;
  }
}



@media (max-width:900px) {

  .bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .bar nav {
    order: 3;
    flex: 1 1 100%;
    overflow-x: auto;
    margin: 0;
  }
}

@media (max-width:900px) {

  .app {
    width: 100%;
  }

  .side {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  nav {
    flex-direction: row;
    overflow-x: auto;
    flex: 1 1 100%;
    order: 3;
  }

  nav button {
    white-space: nowrap;
  }

  .sidefoot {
    margin: 0 0 0 auto;
    flex-direction: row;
    align-items: center;
  }

  .grid3,
  .two,
  .recon {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2,1fr);
  }
}



@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}


.correlation-card {
  overflow: hidden;
}

.corr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.corr-head h2 {
  margin-bottom: 5px;
}

.corr-sub {
  margin: 0;
  opacity: .65;
  font-size: .9rem;
}

.corr-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}



.corr-id {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 17px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.corr-id span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .55;
}

.corr-id code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .82rem;
  word-break: break-all;
  opacity: .9;
}



.corr-layers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.corr-layer {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
  transition:
    transform .2s ease,
    background .2s ease;
}

.corr-layer:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.045);
}

.corr-icon {
  min-width: 58px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.pcap-layer .corr-icon {
  background: rgba(91,220,205,.12);
}

.strace-layer .corr-icon {
  background: rgba(145,125,255,.12);
}

.sar-layer .corr-icon {
  background: rgba(244,176,74,.12);
}

.corr-layer b {
  display: block;
  font-size: .82rem;
  margin-bottom: 5px;
}

.corr-layer span {
  display: block;
  font-size: .72rem;
  opacity: .58;
}

.corr-line {
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,.18);
}



.corr-summary {
  margin-top: 22px;
  padding: 17px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}

.corr-summary-title {
  margin-bottom: 13px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  opacity: .55;
}

.corr-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.corr-summary-grid > div {
  padding: 12px;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
}

.corr-summary-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: .72rem;
  opacity: .55;
}

.corr-summary-grid b {
  font-size: 1.1rem;
}



.corr-method {
  margin-top: 18px;
}

.corr-method strong {
  display: block;
  margin-bottom: 6px;
}

.corr-method p {
  margin: 0;
  line-height: 1.6;
  font-size: .82rem;
  opacity: .72;
}



@media (max-width: 850px) {

  .corr-layers {
    flex-direction: column;
    align-items: stretch;
  }

  .corr-line {
    width: 1px;
    height: 16px;
    margin: 0 auto;
  }

  .corr-summary-grid {
    grid-template-columns: 1fr;
  }

}


.timeline-summary {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.timeline-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.timeline-summary-head h2 {
  margin-bottom: 5px;
}

.timeline-summary-head p {
  margin: 0;
  color: var(--mut);
  font-size: .9rem;
}

.timeline-id {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.timeline-id span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mut);
}

.timeline-id code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem;
  word-break: break-all;
}


.timeline-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 24px;
}

.timeline-time,
.timeline-duration {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.timeline-time span,
.timeline-duration span {
  display: block;
  margin-bottom: 6px;
  font-size: .68rem;
  letter-spacing: .07em;
  color: var(--mut);
}

.timeline-time b,
.timeline-duration b {
  display: block;
  font-size: .82rem;
  word-break: break-word;
}

.timeline-duration {
  min-width: 150px;
  text-align: center;
}


.timeline-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.timeline-node {
  flex: 1;
  min-height: 105px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
  transition:
    transform .2s ease,
    background .2s ease;
}

.timeline-node:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.05);
}

.timeline-dot {
  width: max-content;
  min-width: 58px;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.pcap-node .timeline-dot {
  background: rgba(79,209,197,.12);
  color: var(--pcap);
}

.strace-node .timeline-dot {
  background: rgba(167,155,255,.12);
  color: var(--strace);
}

.sar-node .timeline-dot {
  background: rgba(244,176,74,.12);
  color: var(--sar);
}

.timeline-node strong {
  display: block;
  margin-bottom: 5px;
  font-size: .82rem;
}

.timeline-node span {
  color: var(--mut);
  font-size: .72rem;
}

.timeline-connector {
  width: 34px;
  height: 1px;
  flex: none;
  background: rgba(255,255,255,.2);
}


.timeline-activity {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}

.timeline-activity-title {
  margin-bottom: 13px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--mut);
}

.timeline-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.timeline-activity-grid > div {
  padding: 13px;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
}

.timeline-activity-grid span {
  display: block;
  margin-bottom: 5px;
  font-size: .72rem;
  color: var(--mut);
}

.timeline-activity-grid b {
  font-size: 1.1rem;
}


.timeline-method {
  margin-top: 18px;
}

.timeline-method strong {
  display: block;
  margin-bottom: 6px;
}

.timeline-method p {
  margin: 0;
  line-height: 1.6;
  font-size: .82rem;
}


@media (max-width: 850px) {

  .timeline-range {
    grid-template-columns: 1fr;
  }

  .timeline-duration {
    min-width: 0;
    text-align: left;
  }

  .timeline-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-connector {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }

  .timeline-connector::after {
    right: auto;
    top: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
  }

  .timeline-activity-grid {
    grid-template-columns: 1fr;
  }
}


.behavior-card {
  margin-top: 16px;
}

.behavior-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.behavior-head h2 {
  margin: 0 0 6px;
}

.behavior-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.behavior-summary {
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.behavior-summary strong {
  display: block;
  line-height: 1.6;
}

.behavior-findings {
  display: grid;
  gap: 12px;
}

.behavior-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.behavior-category {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.behavior-content strong {
  display: block;
  margin-bottom: 5px;
}

.behavior-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.behavior-empty {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
}

@media (max-width: 700px) {

  .behavior-item {
    grid-template-columns: 1fr;
  }

  .behavior-category {
    width: fit-content;
  }

}



.bar nav button[data-v="rep"].on {
  background: rgba(255,255,255,.14);
  color: var(--ink);
}

.upload-header-card {
  padding: 24px;
  margin-bottom: 20px;
}

.upload-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.window-config label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mut);
}

.select-styled {
  background: var(--surf2);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.select-styled:focus {
  border-color: var(--strace);
}

.drop-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.drop {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px;
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 20px;
  background: var(--surf);
  transition: all 0.25s ease;
  min-height: 240px;
  justify-content: center;
  gap: 8px;
}

.drop:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
}

.drop.over {
  border-color: var(--pcap);
  background: rgba(79, 209, 197, 0.08);
}

.drop.ok {
  border-color: #52c41a;
  background: rgba(82, 196, 26, 0.06);
}

.drop-icon {
  color: var(--mut);
  margin-bottom: 6px;
}

.drop.pcap:hover .drop-icon { color: var(--pcap); }
.drop.strace:hover .drop-icon { color: var(--strace); }
.drop.sar:hover .drop-icon { color: var(--sar); }
.drop.ok .drop-icon { color: #52c41a; }

.btn-choose {
  margin-top: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.2s;
}

.btn-choose:hover {
  background: rgba(255,255,255,0.22);
}

.file-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--mut);
  margin-top: 6px;
  word-break: break-all;
}

.btn-clear-file {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,77,79,0.2);
  border: 1px solid rgba(255,77,79,0.4);
  color: #ff7875;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clear-file:hover {
  background: rgba(255,77,79,0.4);
}

.integrity-box {
  padding: 22px;
}

.integrity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.integrity-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  font-size: 13px;
  font-weight: 500;
}

.integrity-status-pill.verified {
  background: rgba(82,196,26,0.16);
  color: #73d13d;
  border: 1px solid rgba(82,196,26,0.3);
}

.dot-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mut);
}

.integrity-status-pill.verified .dot-status {
  background: #52c41a;
  box-shadow: 0 0 8px #52c41a;
}

.integrity-table-wrap {
  overflow-x: auto;
}

.integrity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.integrity-table th,
.integrity-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.integrity-table th {
  color: var(--mut);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.hash-cell {
  color: #e6f7ff;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.chip-muted {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--mut);
  font-size: 11px;
}

.chip-verified {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(82,196,26,0.16);
  color: #73d13d;
  font-weight: 600;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sample-action-box {
  padding: 18px 22px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  text-decoration: none;
  transition: all 0.2s;
}

.sample-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--pcap);
}

.step.active {
  background: rgba(255,255,255,0.18);
  border-color: var(--pcap);
  color: var(--ink);
  box-shadow: 0 0 12px rgba(79,209,197,0.25);
}

.step.done {
  background: rgba(82,196,26,0.15);
  border-color: #52c41a;
  color: #95de64;
}

.step.limited {
  background: rgba(217, 164, 65, 0.12);
  border-color: #c58f35;
  color: #e7bd70;
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.risk-critical { background: rgba(255,77,79,0.2); color: #ff7875; border: 1px solid rgba(255,77,79,0.4); }
.risk-high     { background: rgba(250,140,22,0.2); color: #ffc069; border: 1px solid rgba(250,140,22,0.4); }
.risk-medium   { background: rgba(250,219,20,0.2); color: #fffb8f; border: 1px solid rgba(250,219,20,0.4); }
.risk-low      { background: rgba(82,196,26,0.2);  color: #95de64; border: 1px solid rgba(82,196,26,0.4); }
.risk-info     { background: rgba(24,144,255,0.2); color: #69c0ff; border: 1px solid rgba(24,144,255,0.4); }

.timeline-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surf2);
  border-radius: 16px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}

.timeline-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-player {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-player:hover {
  background: rgba(255,255,255,0.18);
}

.btn-player.active {
  background: var(--sar);
  color: var(--btnt);
  border-color: var(--sar);
}

.speed-select {
  background: var(--surf);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.timeline-phase-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phase-chip {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  color: var(--mut);
  cursor: pointer;
  transition: all 0.2s;
}

.phase-chip:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.12);
}

.phase-chip.active {
  background: rgba(255,255,255,0.18);
  color: var(--ink);
  border-color: var(--pcap);
}

.timeline-interactive-item {
  display: grid;
  grid-template-columns: 80px 32px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.2s;
  cursor: pointer;
}

.timeline-interactive-item:hover {
  background: rgba(255,255,255,0.04);
}

.timeline-interactive-item.highlighted {
  background: rgba(255,255,255,0.08);
  box-shadow: inset 3px 0 0 var(--sar);
}

.tl-time-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--mut);
  text-align: right;
  padding-top: 4px;
}

.tl-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 5px;
  margin-left: 9px;
  position: relative;
}

.tl-bullet::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 6px;
  width: 2px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

.timeline-interactive-item:last-child .tl-bullet::after {
  display: none;
}

.tl-bullet.pcap { background: var(--pcap); box-shadow: 0 0 8px var(--pcap); }
.tl-bullet.strace { background: var(--strace); box-shadow: 0 0 8px var(--strace); }
.tl-bullet.sar { background: var(--sar); box-shadow: 0 0 8px var(--sar); }

.tl-card-content {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}

.tl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.tl-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.tl-corr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(167,155,255,0.18);
  color: var(--strace);
  font-size: 11px;
  font-weight: 600;
}

.tl-card-desc {
  font-size: 13px;
  color: var(--mut);
  line-height: 1.5;
}

.ev-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.ev-search-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ev-search-input {
  flex: 1;
  background: var(--surf);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.ev-search-input:focus {
  border-color: var(--strace);
}

.ev-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ev-filter-select {
  background: var(--surf);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.btn-reset-filters {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--mut);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset-filters:hover {
  color: var(--ink);
  border-color: rgba(255,255,255,0.4);
}

th[data-sort] {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

th[data-sort]:hover {
  color: var(--ink);
}

.sort-icon {
  font-size: 11px;
  opacity: 0.5;
}

th.sorted-asc .sort-icon {
  opacity: 1;
  color: var(--pcap);
}

th.sorted-desc .sort-icon {
  opacity: 1;
  color: var(--strace);
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--surf);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.pagination-info {
  font-size: 13px;
  color: var(--mut);
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  background: var(--surf2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
}

.page-btn.active {
  background: var(--btn);
  color: var(--btnt);
  font-weight: 700;
  border-color: var(--btn);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-size-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mut);
}

.insp-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.insp-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mut);
  margin-bottom: 8px;
}

.raw-evidence-box {
  background: #1e1b18;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #a7f3d0;
  white-space: pre-wrap;
  word-break: break-all;
  position: relative;
  max-height: 180px;
  overflow-y: auto;
}

.btn-copy-raw {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 4px;
  color: var(--ink);
  padding: 3px 8px;
  font-size: 10px;
  cursor: pointer;
}

.btn-copy-raw:hover {
  background: rgba(255,255,255,0.25);
}

.corr-link-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.corr-link-card:hover {
  border-color: var(--strace);
  background: rgba(255,255,255,0.08);
}


.report-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.report-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 24px;
  background: var(--surf);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.report-action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-report-export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surf2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-report-export:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
}

.btn-report-print {
  background: var(--btn);
  color: var(--btnt);
  font-weight: 700;
  border-color: var(--btn);
}

.btn-report-print:hover {
  background: #ffffff;
}

.report-paper {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.rep-header {
  border-bottom: 2px solid var(--line);
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.rep-header-title h1 {
  font-size: 24px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.rep-header-title p {
  color: var(--mut);
  font-size: 14px;
}

.rep-meta-badge {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.rep-badge-threat {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rep-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--surf2);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.rep-meta-item span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mut);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.rep-meta-item b {
  font-size: 14px;
  color: var(--ink);
}

.rep-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rep-section-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rep-section-head h2 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.rep-section-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.rep-prose {
  font-size: 14px;
  line-height: 1.7;
  color: #e2dbd2;
}

.rep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 8px;
}

.rep-table th,
.rep-table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.rep-table th {
  background: var(--surf2);
  color: var(--mut);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rep-corr-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.rep-corr-card {
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.rep-corr-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.rep-corr-score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #52c41a;
  padding: 2px 8px;
  background: rgba(82,196,26,0.12);
  border-radius: 6px;
}

.rep-phases {
  display: grid;
  gap: 12px;
}

.rep-phase-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}

.rep-phase-tag {
  font-weight: 700;
  font-size: 13px;
  color: var(--sar);
}

.rep-remediation-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.rep-rem-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
}

.rep-rem-icon {
  color: #52c41a;
  font-weight: 700;
}

.rep-signatures {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.rep-sig-box {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.rep-sig-line {
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 6px;
  font-size: 12px;
  color: var(--mut);
}


@media print {
  body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 11pt !important;
  }

  .bar,
  .top,
  .report-action-bar,
  #spot,
  .cta,
  #pal,
  #insp,
  .insp-backdrop {
    display: none !important;
  }

  .app {
    display: block !important;
  }

  main {
    padding: 0 !important;
    margin: 0 !important;
  }

  .view {
    display: none !important;
  }

  #v-rep {
    display: block !important;
  }

  .report-container {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .report-paper {
    background: #ffffff !important;
    color: #111111 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .rep-header {
    border-bottom: 2px solid #333333 !important;
  }

  .rep-header-title h1 {
    color: #000000 !important;
  }

  .rep-header-title p,
  .rep-meta-item span,
  .rep-prose,
  .rep-table th,
  .rep-table td {
    color: #222222 !important;
  }

  .rep-meta-grid,
  .rep-corr-card,
  .rep-phase-item,
  .rep-rem-item,
  .rep-table th {
    background: #f7f7f7 !important;
    border: 1px solid #cccccc !important;
  }

  .rep-table th,
  .rep-table td {
    border: 1px solid #dddddd !important;
  }

  .rep-badge-threat {
    border: 1px solid #ff4d4f !important;
    color: #cf1322 !important;
    background: #fff1f0 !important;
  }

  .rep-corr-score {
    color: #237804 !important;
    background: #f6ffed !important;
    border: 1px solid #b7eb8f !important;
  }

  .rep-section-num {
    background: #e8e8e8 !important;
    color: #000000 !important;
  }

  .rep-sig-line {
    border-top: 1px solid #666666 !important;
    color: #333333 !important;
  }

  a {
    color: #000000 !important;
    text-decoration: underline !important;
  }
}

#v-home .home-action-wrap {
  display: flex;
  align-items: center;
  margin-top: 30px;
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

#v-home .home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

#v-home .home-action span {
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease;
}

#v-home .home-action:hover span {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  #v-home .home-action-wrap { width: 100%; }
  #v-home .home-action { width: 100%; }
}


*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; }
body { width: 100%; max-width: 100%; overflow-x: hidden; }
.app, main, .view, .card, .panel, .report-container, .report-paper,
.rep-corr-card, .rep-header, .rep-meta-grid, .dashboard-grid,
.grid2, .grid3, .grid4, .timeline, .event-table-wrap {
  min-width: 0;
  max-width: 100%;
}
main { width: 100%; }
img, canvas, svg { max-width: 100%; }
button, input, select, textarea { max-width: 100%; }
.card, .report-paper { overflow-wrap: anywhere; }
table { max-width: 100%; }
.table-wrap, .table-responsive, .rep-table-wrap, .event-table-wrap,
#v-event .table-wrap, #v-rep .rep-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.rep-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.rep-table th, .rep-table td {
  overflow-wrap: anywhere;
  word-break: normal;
  vertical-align: top;
}
.rep-corr-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rep-corr-card > *, .rep-meta-grid > *, .grid2 > *, .grid3 > *, .grid4 > * {
  min-width: 0;
}
.rep-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}
.rep-header > *, .rep-header-title { min-width: 0; max-width: 100%; }
.rep-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.rep-section { min-width: 0; }
.rep-section h2 { overflow-wrap: anywhere; }
.rep-corr-score, .badge, .status-badge { max-width: 100%; overflow-wrap: anywhere; }
.rep-signatures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rep-sig-box { gap: 28px; min-width: 0; }
.top, .bar, nav { min-width: 0; max-width: 100%; }
.top { flex-wrap: wrap; }
nav { flex-wrap: wrap; }
main > .view { width: 100%; min-width: 0; }
#v-rep .report-container { width: min(100%, 1200px); margin-inline: auto; }
#v-rep .report-paper { width: 100%; }
#v-rep .rep-table { font-size: 12px; }
#v-rep .rep-table th, #v-rep .rep-table td { padding: 9px 10px; }
#v-dashboard .grid3, #v-evidence .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#v-dashboard .card, #v-evidence .card { min-width: 0; }
@media (max-width: 1000px) {
  .rep-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rep-corr-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #v-dashboard .grid3, #v-evidence .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  main { padding-inline: 12px !important; }
  .card { padding: 14px; }
  .rep-meta-grid, .rep-corr-card, .rep-signatures,
  #v-dashboard .grid3, #v-evidence .grid3, .grid3 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .rep-header { flex-direction: column; }
  .rep-header-title h1 { font-size: clamp(20px, 5vw, 30px); }
  .rep-sig-box { gap: 16px; }
  .top { gap: 10px; }
  nav { gap: 6px; }
}
@media print {
  html, body, main, #v-rep, .report-container, .report-paper {
    width: 100% !important; max-width: 100% !important; overflow: visible !important;
  }
  .rep-table-wrap, .table-wrap, .table-responsive { overflow: visible !important; }
  .rep-table { min-width: 0 !important; width: 100% !important; table-layout: fixed; }
  .rep-table th, .rep-table td { overflow-wrap: anywhere !important; }
}

.rep-corr-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
.rep-corr-card-title { min-width: 0; flex-wrap: wrap; gap: 8px; }
.rep-corr-card-title > * { min-width: 0; max-width: 100%; }
.rep-table { table-layout: auto; }
#v-rep .report-action-bar { width: 100%; min-width: 0; }
#v-rep .report-action-buttons { min-width: 0; }
@media (max-width: 1000px) {
  .rep-corr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .rep-corr-cards { grid-template-columns: minmax(0, 1fr); }
}


/* V2.4 compact layout refinements */
.dashboard-layout .corr-layers,
.corr-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
}
.corr-layer {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  gap: 12px;
}
.corr-layer > div:last-child { min-width: 0; }
.corr-layer b { margin-bottom: 3px; }
.corr-layer span {
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.behavior-findings { gap: 8px; }
.behavior-item {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}
.behavior-content { min-width: 0; overflow-wrap: anywhere; }
.behavior-content p { line-height: 1.5; }
.rep-corr-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.rep-corr-card {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 2px;
  background: transparent;
}
.rep-corr-card:last-child { border-bottom: 0; }
.rep-corr-card-title { margin-bottom: 3px; }
.rep-corr-card p, .rep-corr-card .rep-prose {
  margin: 3px 0 0;
  line-height: 1.45;
}
.stats .stat b {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.stats .stat span { line-height: 1.35; }
@media (max-width: 700px) {
  .behavior-item { grid-template-columns: 1fr; }
  .behavior-category { width: fit-content; }
}

/* =========================================================
   ForenSight UI refresh — clean, readable, responsive
   Keeps existing component IDs and the interactive home canvas.
   ========================================================= */
:root {
  --bg: #0b1220;
  --surf: #111c2d;
  --surf2: #162338;
  --ink: #e8eef7;
  --mut: #9aabc1;
  --line: rgba(148, 170, 198, .16);
  --pcap: #38bdf8;
  --strace: #a78bfa;
  --sar: #34d399;
  --btn: #38bdf8;
  --btnt: #071321;
  --shadow: 0 12px 32px rgba(0,0,0,.22);
}
body { background: var(--bg); color: var(--ink); font-size: 14px; }
.app { max-width: 1440px; margin: 0 auto; }
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 12px clamp(16px, 3vw, 38px);
  background: rgba(11,18,32,.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.brand { flex: 0 0 auto; gap: 10px; padding: 0; }
.brand b { font-size: 15px; letter-spacing: -.2px; }
.brand small { font-size: 10px; color: var(--mut); }
#nav { flex: 1; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
#nav button {
  border: 0; border-radius: 9px; padding: 9px 12px; color: var(--mut);
  background: transparent; font-size: 12px; font-weight: 600; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
#nav button:hover:not(:disabled) { background: rgba(56,189,248,.09); color: var(--ink); }
#nav button.on { background: rgba(56,189,248,.14); color: #7dd3fc; box-shadow: inset 0 0 0 1px rgba(56,189,248,.18); }
#nav button:disabled { display: none; }
.bar .cta { border: 0; border-radius: 9px; padding: 10px 14px; background: #38bdf8; color: #061321; font-size: 12px; font-weight: 700; white-space: nowrap; }
main { width: min(100% - 40px, 1220px); margin: 0 auto; padding: 26px 0 64px; }
.top { margin: 4px 0 22px; align-items: end; }
.top h1 { font-size: clamp(21px, 2.5vw, 28px); letter-spacing: -.7px; font-weight: 700; }
.top .sub { max-width: 760px; margin-top: 5px; color: var(--mut); font-size: 12px; line-height: 1.65; }
.card, .drop-card, .upload-header-card { background: var(--surf); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.card { padding: clamp(16px, 2vw, 22px); }
.hero {
  min-height: 340px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; padding: clamp(28px, 6vw, 76px);
  border: 1px solid rgba(56,189,248,.2); border-radius: 20px;
  background: radial-gradient(ellipse at 78% 45%, rgba(14,116,144,.22), transparent 45%), linear-gradient(135deg,#101d30,#0d1728 68%,#101f32);
  box-shadow: var(--shadow);
}
#hc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; }
.hero h1, .hero p, .hero .home-action-wrap { position: relative; z-index: 1; max-width: 620px; }
.hero h1 { font-size: clamp(27px, 4.3vw, 46px); line-height: 1.15; letter-spacing: -1.1px; }
.hero p { margin-top: 16px; color: #b5c5d9; font-size: 14px; line-height: 1.8; }
.hero .btn, .btn, .home-action { border: 0; border-radius: 9px; background: #38bdf8; color: #061321; font-weight: 700; padding: 11px 17px; }
.home-action-wrap { margin-top: 24px; }
.strip, .car, .dots, .cat { position: relative; }
.cat { margin-top: 32px; }
.cat h2 { font-size: 17px; margin-bottom: 14px; }
.tiles { gap: 12px; }
.tiles > * { border: 1px solid var(--line); border-radius: 12px; background: var(--surf); box-shadow: none; }
.upload-header-card { padding: 20px; margin-bottom: 16px; }
.upload-header-content { gap: 18px; }
.upload-header-content h2 { font-size: 17px; }
.upload-header-content .sub { color: var(--mut); font-size: 12px; line-height: 1.65; max-width: 760px; }
.grid3 { gap: 14px; }
.drop-card { padding: 10px; }
.drop { min-height: 210px; border-radius: 10px; background: rgba(255,255,255,.015); padding: 20px 14px; }
.drop b { font-size: 14px; }
.drop small { color: var(--mut); font-size: 11px; }
.btn-choose { border-radius: 8px; border: 1px solid var(--line); background: var(--surf2); color: var(--ink); padding: 9px 12px; font-size: 11px; }
.integrity-box { margin-top: 16px !important; }
.integrity-header h3 { font-size: 15px; }
.integrity-header .sub { color: var(--mut); font-size: 11px; }
.steps { gap: 8px; }
.step { border-radius: 8px; background: var(--surf2); border: 1px solid var(--line); font-size: 11px; padding: 10px; }
button, input, select, textarea { font-family: inherit; }
input, select, textarea { border-radius: 8px !important; }
table { font-size: 12px; }
th { color: #c5d4e7; }
.view { animation: fsFade .2s ease both; }
@keyframes fsFade { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
#spot { display: none; }
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; gap: 10px; }
  #nav { order: 3; flex: 1 0 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  #nav button { flex: 0 0 auto; }
  .bar .cta { margin-left: auto; }
}
@media (max-width: 640px) {
  main { width: min(100% - 24px, 1220px); padding-top: 18px; }
  .hero { min-height: 330px; padding: 26px 20px; }
  .hero p { font-size: 12px; }
  .grid3 { grid-template-columns: 1fr !important; }
  .drop { min-height: 185px; }
  .top { margin-bottom: 16px; }
  .bar { padding: 10px 12px; }
  .brand small { display: none; }
}
/* Keep primary navigation to five destinations; detailed analysis lives inside Analisis. */
#nav button[data-v="tl"], #nav button[data-v="ev"] { display: none !important; }
.analysis-shortcuts {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(17,28,45,.72);
}
.analysis-shortcuts span { margin-right: auto; color: var(--mut); font-size: 11px; font-weight: 600; }
.analysis-shortcuts button {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px;
  color: #c9eaff; background: rgba(56,189,248,.08); font-size: 11px; font-weight: 600;
}
.analysis-shortcuts button:hover { background: rgba(56,189,248,.16); }

/* Clear, non-modal feedback for analysis outcomes */
.analysis-notice {
  border: 1px solid var(--border, #2b3b52);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0 18px;
  line-height: 1.5;
}
.analysis-notice strong { display: block; margin-bottom: 4px; font-weight: 700; }
.analysis-notice p { margin: 0 0 4px; }
.analysis-notice small { opacity: .75; }
.analysis-notice-error { background: rgba(190, 55, 55, .12); border-color: rgba(235, 95, 95, .55); color: #ffdada; }
.analysis-notice-info { background: rgba(37, 133, 190, .12); border-color: rgba(61, 174, 226, .5); color: #d8f1ff; }
.analysis-notice[hidden] { display: none !important; }


/* Final UI corrections requested: concise identity and clearly visible primary actions. */
.bar #newa {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%) !important;
  color: #041522 !important;
  border: 1px solid rgba(125, 211, 252, .9) !important;
  box-shadow: 0 5px 18px rgba(14, 165, 233, .28) !important;
  font-weight: 800 !important;
}
.bar #newa:hover {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%) !important;
  box-shadow: 0 7px 22px rgba(14, 165, 233, .38) !important;
  transform: translateY(-1px);
}
#go {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%) !important;
  color: #041522 !important;
  border: 1px solid rgba(125, 211, 252, .9) !important;
  box-shadow: 0 5px 18px rgba(14, 165, 233, .24) !important;
  font-weight: 800 !important;
}
#go:hover:not(:disabled) {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%) !important;
}
#go:disabled {
  opacity: .55;
  filter: saturate(.65);
}


/* =========================================================
   Final usability pass: uncluttered evidence review and report
   ========================================================= */
.advanced-settings, .integrity-details, .sample-details, .report-hash-details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  padding: 10px 12px;
}
.advanced-settings summary, .integrity-details summary, .sample-details summary, .report-hash-details summary {
  color: #b9d8ee;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  list-style-position: inside;
}
.advanced-settings[open], .integrity-details[open], .sample-details[open], .report-hash-details[open] { margin-top: 10px; }
.advanced-settings label { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--mut); font-size: 12px; }
.advanced-settings select { margin-left: auto; }
.integrity-details { margin-top: 12px; }
.integrity-details .integrity-table-wrap { margin-top: 10px; }
.sample-details .sample-action-content { padding-top: 12px; }
.sample-details .sample-action-content .sub { max-width: 850px; margin: 6px 0 12px; }

.compact-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.compact-stats .stat { min-width: 0; }
.compact-stats .stat b { display: block; font-size: clamp(18px, 2.2vw, 26px); overflow-wrap: anywhere; }
.compact-stats .stat span { color: var(--mut); font-size: 11px; }
.compact-result-card { margin-bottom: 14px; }
.compact-result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.compact-result-head h2 { margin-top: 4px; font-size: clamp(20px, 2vw, 26px); }
.eyebrow { color: #79c8ef; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.status-pill { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: 7px 11px; font-size: 11px; font-weight: 700; }
.status-muted { color: #f4ce8a; background: rgba(217,149,48,.12); border: 1px solid rgba(217,149,48,.28); }
.status-info { color: #9fddff; background: rgba(56,189,248,.11); border: 1px solid rgba(56,189,248,.25); }
.compact-note { color: var(--mut); font-size: 11px; line-height: 1.6; margin-top: 10px; }
.compact-two { gap: 14px; margin-bottom: 14px; }
.compact-card { min-width: 0; margin-bottom: 14px; }
.compact-layer-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.compact-layer-row:last-child { border-bottom: 0; }
.compact-layer-dot { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; }
.compact-layer-dot.pcap { background: var(--pcap); }
.compact-layer-dot.strace { background: var(--strace); }
.compact-layer-dot.sar { background: var(--sar); }
.compact-layer-main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.compact-layer-main strong { font-size: 12px; }
.compact-layer-main small { color: var(--mut); font-size: 10px; }
.compact-layer-row > b { font-size: 11px; white-space: nowrap; }
.correlation-highlight { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.correlation-highlight b { font-size: 25px; line-height: 1.2; }
.correlation-highlight span { color: var(--mut); font-size: 11px; }
.compact-findings { display: flex; flex-direction: column; gap: 9px; }
.compact-finding { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.finding-kind { align-self: start; width: fit-content; border-radius: 7px; padding: 5px 8px; background: var(--surf2); color: #b8dff4; font-size: 10px; font-weight: 700; }
.compact-finding strong { font-size: 12px; }
.compact-finding p { color: var(--mut); font-size: 11px; line-height: 1.55; margin-top: 3px; }
.compact-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 4px; }
.btn-secondary { background: var(--surf2) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.source-label-tag { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.label-malware { background: rgba(167,139,250,.12); color: #d6c8ff; border-color: rgba(167,139,250,.28); }
.label-benign { background: rgba(52,211,153,.10); color: #8ee5c6; border-color: rgba(52,211,153,.24); }
.label-muted { background: rgba(148,163,184,.09); color: #b7c4d4; }
.label-linked { background: rgba(56,189,248,.10); color: #9fddff; }
.label-summary-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom: 14px; }
.label-summary-head h3 { font-size: 20px; }
.label-distribution { display:flex; flex-direction:column; gap:10px; }
.label-dist-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:11px; margin-bottom:4px; }
.label-dist-meta span { color: var(--mut); white-space:nowrap; }
.label-dist-track { height:7px; overflow:hidden; border-radius:999px; background: rgba(148,163,184,.13); }
.label-dist-track span { display:block; height:100%; background: linear-gradient(90deg,#38bdf8,#8b9cf8); border-radius:999px; }
.compact-toolbar { margin-bottom: 12px; }
.compact-toolbar .ev-filter-row { gap: 14px; }
.insp-badge-row { flex-wrap: wrap; }
.insp-body .compact-note { margin-top: 8px; }

.report-clean { max-width: 100%; }
.report-clean .report-action-bar { align-items:center; }
.report-id { display:block; margin-top:3px; color:var(--mut); font:11px 'IBM Plex Mono',monospace; }
.report-clean .report-paper { padding: clamp(18px, 3vw, 34px); }
.report-clean-header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.report-clean-header h1 { margin-top:5px; font-size:clamp(21px, 3vw, 30px); line-height:1.2; }
.report-clean-header p { margin-top:7px; color:var(--mut); font-size:11px; }
.report-clean-section { padding:20px 0; border-bottom:1px solid var(--line); }
.report-clean-section h2 { margin-bottom:10px; font-size:15px; }
.report-clean-section > p { max-width:950px; margin:7px 0; color:#d5dfed; font-size:12px; line-height:1.75; }
.report-clean-section .report-note { color:var(--mut); }
.report-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:12px 0; }
.report-metric { padding:12px; border:1px solid var(--line); border-radius:9px; background:var(--surf2); min-width:0; }
.report-metric b { display:block; font-size:19px; overflow-wrap:anywhere; }
.report-metric span { color:var(--mut); font-size:10px; }
.report-clean .rep-table { margin-top:8px; }
.report-hash-details { margin-top:12px; }
.hash-list { display:flex; flex-direction:column; gap:10px; margin-top:12px; }
.hash-list div { display:flex; flex-direction:column; gap:4px; }
.hash-list b { font-size:11px; }
.hash-list code { color:#c7d9ef; font-size:10px; overflow-wrap:anywhere; }
.report-correlation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
.report-correlation-grid > div { display:flex; flex-direction:column; gap:3px; padding:12px; border:1px solid var(--line); border-radius:9px; background:var(--surf2); }
.report-correlation-grid b { font-size:19px; }
.report-correlation-grid span { color:var(--mut); font-size:10px; }
.report-final-note { border-bottom:0; }
.report-clean-footer { display:flex; justify-content:space-between; gap:10px; padding-top:15px; color:var(--mut); font-size:10px; }

@media (max-width: 760px) {
  .compact-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compact-two { grid-template-columns:1fr; }
  .compact-finding { grid-template-columns:1fr; gap:6px; }
  .report-clean-header { flex-direction:column; }
  .report-metrics { grid-template-columns:1fr; }
  .report-correlation-grid { grid-template-columns:1fr; }
  .report-clean-footer { flex-direction:column; }
}
@media print {
  body { background:#fff !important; color:#111 !important; }
  .bar, .top, .report-action-bar, #insp, #insp-backdrop { display:none !important; }
  main { width:100% !important; padding:0 !important; margin:0 !important; }
  .report-clean .report-paper { background:#fff !important; color:#111 !important; border:0 !important; box-shadow:none !important; padding:0 !important; }
  .report-clean-section > p, .report-clean-header p, .report-clean-footer, .report-note, .report-metric span, .report-correlation-grid span { color:#333 !important; }
  .report-clean-section { break-inside:avoid; }
  .report-clean .rep-table th, .report-clean .rep-table td { color:#111 !important; border-color:#bbb !important; }
  .report-metric, .report-correlation-grid > div { color:#111 !important; background:#f4f6f8 !important; border-color:#ddd !important; }
  .report-hash-details { display:none !important; }
}

/* Explainable rule-based behavioral risk assessment */
.risk-assessment-card { border-color: rgba(124, 145, 165, .28); }
.risk-assessment-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:8px 0 2px; }
.risk-level-line { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:8px; }
.risk-score { font-size:20px; letter-spacing:.02em; }
.risk-indicators { margin-top:14px; }
.risk-indicators h3 { font-size:13px; margin:0 0 8px; }
.risk-indicator-row { display:grid; grid-template-columns:auto 1fr; align-items:start; gap:10px; padding:10px 0; border-top:1px solid var(--line, rgba(127,127,127,.18)); }
.risk-indicator-row strong { display:block; font-size:13px; }
.risk-indicator-row p { margin:3px 0; font-size:12px; color:var(--muted, #9aa4b2); }
.risk-indicator-row small { font-size:11px; color:var(--muted, #9aa4b2); }
.risk-disclaimer { margin-top:12px; padding-top:10px; border-top:1px solid var(--line, rgba(127,127,127,.18)); font-size:11px; line-height:1.5; color:var(--muted, #9aa4b2); }
@media (max-width: 680px) { .risk-indicator-row { grid-template-columns:1fr; } }

/* Report output refinement: structured A4 report matching the supplied sample. */
.report-modern { width:100%; max-width:100%; }
.report-modern .report-action-bar { align-items:center; }
.report-document { display:flex; flex-direction:column; align-items:center; gap:18px; color:#1f2937; }
.report-page {
  position:relative; box-sizing:border-box; width:min(100%, 210mm); min-height:297mm;
  padding:14mm 14mm 17mm; margin:0 auto; background:#fff; color:#1f2937;
  border:1px solid #d9e1e8; border-radius:8px; box-shadow:0 8px 26px rgba(0,0,0,.18);
  font-family:Arial, Helvetica, sans-serif; font-size:9.2pt; line-height:1.45; overflow:hidden;
}
.report-page * { box-sizing:border-box; color:inherit; }
.report-page-topline { display:flex; justify-content:space-between; gap:10px; padding-bottom:7px; border-bottom:1px solid #d9e1e8; color:#64748b; font-size:7.5pt; font-weight:700; letter-spacing:.04em; }
.report-kicker { margin-top:24px; color:#0f766e; font-size:9pt; font-weight:800; letter-spacing:.1em; }
.report-cover-title { margin:13px 0 6px; color:#132b43 !important; font-size:29pt; line-height:1.08; letter-spacing:-.02em; text-transform:uppercase; }
.report-cover-subtitle { margin:0 0 22px; color:#64748b !important; font-size:12pt; }
.report-page-kicker { margin:15px 0 6px; color:#0f766e !important; font-size:8.5pt; font-weight:800; letter-spacing:.08em; }
.report-page-title { margin:0 0 15px; color:#16324f !important; font-size:21pt; line-height:1.18; }
.report-page p { margin:7px 0; color:#334155 !important; }
.report-lead { font-size:10.5pt; line-height:1.65; }
.report-risk-banner { display:grid; grid-template-columns: 34% 1fr; min-height:88px; margin:18px 0; overflow:hidden; background:#edf2f7; border:1px solid #e2e8f0; border-radius:5px; }
.report-risk-level { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; padding:12px 10px; background:#64748b; color:#fff !important; text-align:center; }
.report-risk-level strong { color:#fff !important; font-size:25pt; line-height:1; }
.report-risk-level small { color:#fff !important; font-size:7.5pt; font-weight:800; letter-spacing:.06em; }
.report-risk-level.level-high { background:#b93848; }
.report-risk-level.level-medium { background:#d28a2f; }
.report-risk-level.level-low { background:#24815e; }
.report-risk-level.level-notassessed { background:#64748b; }
.report-risk-description { display:flex; flex-direction:column; justify-content:center; padding:12px 15px; }
.report-risk-description strong { color:#17314d !important; font-size:16pt; }
.report-risk-description p { margin:4px 0 0; color:#475569 !important; font-size:8.7pt; }
.report-risk-banner-small { min-height:72px; margin:12px 0; }
.report-risk-banner-small .report-risk-level strong { font-size:20pt; }
.report-risk-banner-small .report-risk-description strong { font-size:13pt; }
.report-kpi-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:18px 0 22px; padding:12px 8px; background:#edf2f7; }
.report-kpi-row > div { display:flex; flex-direction:column; align-items:center; gap:3px; }
.report-kpi-row strong { color:#17314d !important; font-size:19pt; line-height:1.1; }
.report-kpi-row span { color:#64748b !important; font-size:8pt; }
.report-section-title { margin:18px 0 8px; padding-bottom:5px; border-bottom:1px solid #cbd5e1; color:#0f766e !important; font-size:12pt; font-weight:800; }
.report-layer-title { margin:13px 0 6px; color:#0f766e !important; font-size:11pt; font-weight:800; }
.report-mini-heading { margin:9px 0 4px !important; color:#334155 !important; font-size:8.5pt; font-weight:700; }
.report-table-wrap { width:100%; overflow:visible; margin:7px 0 11px; }
.report-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:8pt; line-height:1.35; }
.report-table th { padding:7px 7px; background:#17314d; color:#fff !important; text-align:left; font-weight:700; border:1px solid #17314d; }
.report-table td { padding:6px 7px; vertical-align:top; color:#27384b !important; border:1px solid #d9e1e8; overflow-wrap:anywhere; }
.report-table tbody tr:nth-child(even) { background:#f3f6f9; }
.report-table code, .report-hash-entry code { color:#24364a !important; font-family:Consolas, monospace; font-size:7.5pt; overflow-wrap:anywhere; word-break:break-all; }
.report-callout { margin:14px 0 5px; padding:10px 12px; border-left:4px solid #64748b; background:#f1f5f9; }
.report-callout strong { display:block; margin-bottom:4px; color:#263e56 !important; font-size:8.5pt; letter-spacing:.04em; }
.report-callout p, .report-callout li { margin:3px 0; color:#334155 !important; font-size:8.3pt; }
.callout-warning { border-left-color:#b7791f; background:#fff5e6; }
.callout-success { border-left-color:#0f766e; background:#e8f5f2; }
.callout-info { border-left-color:#2563a6; background:#eaf2fb; }
.report-callout ul { margin:4px 0 0; padding-left:18px; }
.report-muted { margin:7px 0; color:#64748b !important; font-size:8pt; line-height:1.5; }
.report-interpretation { margin:7px 0 11px !important; color:#334155 !important; font-size:8.4pt; line-height:1.55; }
.report-action-list { margin:7px 0 12px; padding-left:20px; }
.report-action-list li { margin:5px 0; color:#334155 !important; font-size:8.6pt; line-height:1.5; }
.report-hash-entry { display:flex; flex-direction:column; gap:4px; margin:8px 0 12px; padding:7px 9px; border:1px solid #d9e1e8; background:#f8fafc; }
.report-hash-entry strong { color:#334155 !important; font-size:8.5pt; }
.report-page-footer { position:absolute; left:14mm; right:14mm; bottom:7mm; display:flex; justify-content:space-between; padding-top:5px; border-top:1px solid #e2e8f0; color:#64748b !important; font-size:7.5pt; }
.report-page-footer span { color:#64748b !important; }
.risk-method-label { white-space:normal; }
@media (max-width: 760px) {
  .report-page { width:100%; min-height:0; padding:18px 15px 48px; border-radius:6px; }
  .report-cover-title { font-size:24pt; }
  .report-risk-banner { grid-template-columns:1fr; }
  .report-kpi-row { gap:3px; }
  .report-table { font-size:7.3pt; }
  .report-table th, .report-table td { padding:5px 4px; }
  .report-page-footer { left:15px; right:15px; bottom:12px; }
}
@page { size:A4; margin:0; }
@media print {
  html, body, main, #v-rep, .report-container, .report-document { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; overflow:visible !important; background:#fff !important; }
  #v-rep { display:block !important; }
  .report-modern .report-action-bar { display:none !important; }
  .report-document { display:block !important; }
  .report-page { width:210mm !important; height:297mm !important; min-height:297mm !important; max-height:297mm !important; margin:0 !important; padding:14mm 14mm 17mm !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; overflow:hidden !important; break-after:page; page-break-after:always; }
  .report-page:last-child { break-after:auto; page-break-after:auto; }
  .report-page-footer { position:absolute !important; bottom:7mm !important; }
  .report-table-wrap { overflow:visible !important; }
  .report-table { width:100% !important; table-layout:fixed !important; }
  .report-table th, .report-table td { overflow-wrap:anywhere !important; }
  .report-page, .report-page * { -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; }
}
.report-modern .report-table { table-layout:fixed !important; }
.report-modern .report-table th,
.report-modern .report-table td { white-space:normal !important; overflow-wrap:break-word !important; word-wrap:break-word !important; word-break:break-word !important; }
.report-modern .report-table td code { word-break:break-all !important; }
.report-modern .report-table th,
.report-modern .report-table td { padding:5px 6px; }
.report-modern .report-section-title { margin-top:13px; margin-bottom:6px; }
.report-modern .report-hash-entry { margin:5px 0 8px; padding:6px 8px; }
.report-modern .report-action-list li { margin:4px 0; }
