:root {
  --bg1: #0b0f16;
  --bg2: #0e1720;
  --accent: #9be3ff;
  --accent-strong: #4fd8ff;
  --accent-deep: #007bb5;
  --muted: #9aa6b2;
  --card: #0f1720;
  --malicious: #ff405d;
  --malicious-soft: rgba(255, 64, 93, 0.14);
  --benign: #52e39a;
  --benign-soft: rgba(82, 227, 154, 0.12);
  --line: rgba(155, 227, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #020711;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #e8eef6;
  background: #020711;
}

button,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 11% at 50% 0%,
      rgba(0, 90, 155, 0.02) 0%,
      rgba(0, 174, 255, 0.065) 38%,
      rgba(70, 86, 255, 0.12) 68%,
      transparent 100%),
    radial-gradient(ellipse 95% 12% at 50% 100%,
      rgba(70, 86, 255, 0.12) 0%,
      rgba(0, 174, 255, 0.065) 42%,
      rgba(0, 90, 155, 0.02) 70%,
      transparent 100%),
    linear-gradient(180deg,
      #08233a 0%,
      #071d32 7%,
      #051727 16%,
      #04111f 28%,
      #020a14 43%,
      #01070f 50%,
      #020a14 58%,
      #04111f 73%,
      #051727 85%,
      #071d32 94%,
      #08233a 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 43%, rgba(67, 202, 255, 0.09), transparent 26%),
}

.ambient-grid {
  position: absolute;
  inset: 78px 0 0;
  pointer-events: none;
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 78%, transparent);
  background-image:
    linear-gradient(rgba(155, 227, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 227, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(600px) rotateX(60deg) translateY(27%);
  transform-origin: center bottom;
}

.decorative-side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 190px;
  opacity: 0.22;
  pointer-events: none;
  filter: blur(0.2px);
}

.decorative-left {
  left: 0;
  background:
    linear-gradient(90deg, rgba(0, 174, 255, 0.09), transparent 70%),
    repeating-linear-gradient(135deg, rgba(155, 227, 255, 0.055) 0 1px, transparent 1px 24px);
  mask-image: linear-gradient(to right, black, transparent);
}

.decorative-right {
  right: 0;
  transform: scaleX(-1);
  background:
    linear-gradient(90deg, rgba(0, 174, 255, 0.09), transparent 70%),
    repeating-linear-gradient(135deg, rgba(155, 227, 255, 0.055) 0 1px, transparent 1px 24px);
  mask-image: linear-gradient(to right, black, transparent);
}

header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(91, 214, 255, 0.28));
}

.brand h1 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-tagline {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu a {
  position: relative;
  margin-left: 16px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(155, 227, 255, 0.75);
}

main {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
  padding: 20px 24px 64px;
}

.analysis-shell {
  width: min(920px, 100%);
  text-align: center;
}

.analysis-intro {
  margin: 0 auto 24px;
}

.agent-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: #bfeeff;
  border: 1px solid rgba(155, 227, 255, 0.18);
  border-radius: 999px;
  background: rgba(2, 10, 20, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.agent-state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5be5ff;
  box-shadow: 0 0 0 5px rgba(91, 229, 255, 0.08), 0 0 13px rgba(91, 229, 255, 0.9);
  animation: statusPulse 2s ease-in-out infinite;
}

.analysis-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  filter:
    drop-shadow(0 0 10px rgba(91, 214, 255, 0.55))
    drop-shadow(0 0 24px rgba(0, 123, 181, 0.25));
  animation: logoHover 4s ease-in-out infinite;
}

.eyebrow,
.verdict-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
}

.analysis-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -1px;
  text-shadow: 0 0 26px rgba(57, 189, 255, 0.14);
}

.lead {
  max-width: 620px;
  margin: 14px auto 0;
  color: #b8c5d1;
  font-size: 15px;
  line-height: 1.65;
}

.analysis-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(155, 227, 255, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(15, 27, 39, 0.96), rgba(3, 11, 20, 0.98)),
    rgba(3, 12, 22, 0.98);
  box-shadow:
    0 0 18px rgba(0, 198, 255, 0.15),
    0 0 44px rgba(0, 111, 180, 0.09),
    0 24px 65px rgba(0, 0, 0, 0.58);
  text-align: left;
  isolation: isolate;
}

.analysis-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(155, 227, 255, 0.025), transparent),
    radial-gradient(circle at 50% 0, rgba(73, 203, 255, 0.08), transparent 42%);
}

.card-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  z-index: -1;
  width: 360px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(52, 197, 255, 0.09);
  filter: blur(55px);
}

label {
  display: block;
  margin: 0 0 10px;
  color: #dbe8f2;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.input-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(155, 227, 255, 0.28);
  border-radius: 10px;
  background: rgba(0, 5, 12, 0.66);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.input-frame:focus-within {
  border-color: rgba(155, 227, 255, 0.7);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(91, 214, 255, 0.06),
    0 0 22px rgba(0, 174, 255, 0.11);
  transform: translateY(-1px);
}

.input-prefix {
  position: absolute;
  top: 17px;
  left: 17px;
  color: #69dfff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  text-shadow: 0 0 9px rgba(105, 223, 255, 0.5);
}

textarea {
  display: block;
  width: 100%;
  min-height: 106px;
  resize: vertical;
  padding: 16px 17px 16px 48px;
  color: #eaf7ff;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.55;
  caret-color: var(--accent);
}

textarea::placeholder {
  color: #637587;
}

.input-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28%;
  width: 24%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(155, 227, 255, 0.12), transparent);
}

.analysis-card.is-analyzing .input-scan {
  opacity: 1;
  animation: inputScan 1.15s linear infinite;
}

.input-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 9px 1px 18px;
  color: #738597;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.35px;
}

.analyze-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  cursor: pointer;
  color: #021019;
  border: 1px solid #9be3ff;
  border-radius: 9px;
  background: linear-gradient(135deg, #b7efff, #62d9ff 48%, #31b9eb);
  box-shadow:
    0 0 18px rgba(91, 214, 255, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.6);
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.analyze-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 0 28px rgba(91, 214, 255, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.7);
}

.analyze-button:active {
  transform: translateY(0);
}

.analyze-button:disabled {
  cursor: wait;
  filter: saturate(0.75);
}

.button-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #05202d;
  border-radius: 50%;
}

.button-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  transform: rotate(46deg);
  border-radius: 2px;
  background: #05202d;
}

.analysis-card.is-analyzing .button-icon {
  border-style: dashed;
  animation: spin 0.8s linear infinite;
}

.button-sheen {
  position: absolute;
  inset: -20% auto -20% -30%;
  width: 20%;
  transform: skewX(-20deg);
  background: rgba(255, 255, 255, 0.35);
  filter: blur(4px);
  animation: buttonSheen 3.2s ease-in-out infinite;
}

.analysis-process {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 8px 0 2px;
  animation: fadeUp 320ms ease both;
}

.process-visual {
  position: relative;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
}

.process-visual img {
  z-index: 3;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 11px rgba(91, 214, 255, 0.75));
  animation: processLogo 1.8s ease-in-out infinite;
}

.reaper-orbit {
  position: absolute;
  border: 1px solid rgba(155, 227, 255, 0.28);
  border-radius: 50%;
}

.orbit-one {
  inset: 5px;
  border-top-color: #9be3ff;
  animation: spin 1.1s linear infinite;
}

.orbit-two {
  inset: 14px;
  border-right-color: #2eb9ec;
  animation: spinReverse 1.8s linear infinite;
}

.orbit-three {
  inset: 24px;
  border-bottom-color: #fff;
  animation: spin 2.4s linear infinite;
}

.process-sweep {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(119, 224, 255, 0.22) 88%, transparent);
  animation: spin 1.35s linear infinite;
}

.process-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.process-copy strong {
  color: #effaff;
  font-size: 16px;
}

.process-copy span {
  color: #8ea2b4;
  font-size: 12px;
}

.progress-track {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(155, 227, 255, 0.08);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #007bb5, #54dbff, #d5f7ff);
  box-shadow: 0 0 12px rgba(91, 214, 255, 0.7);
  transition: width 360ms cubic-bezier(.2,.8,.2,1);
}

.process-stages {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #566b7d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.process-stages span {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.process-stages span.active {
  color: #a9ecff;
  text-shadow: 0 0 9px rgba(91, 214, 255, 0.55);
}

.verdict-panel {
  animation: verdictReveal 520ms cubic-bezier(.2,.8,.2,1) both;
}

.verdict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.verdict-head h3 {
  margin: 0;
  color: var(--malicious);
  font-size: clamp(27px, 5vw, 40px);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 64, 93, 0.22);
}

.verdict-panel.benign-verdict .verdict-head h3 {
  color: var(--benign);
  text-shadow: 0 0 20px rgba(82, 227, 154, 0.2);
}

#verdict-subtitle {
  margin: 11px 0 0;
  color: #b9c6d1;
  font-size: 13px;
}

.risk-orb {
  position: relative;
  display: grid;
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
}

.risk-orb::before,
.risk-orb::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.risk-orb::before {
  inset: 0;
  border: 1px solid currentColor;
  background: conic-gradient(currentColor var(--risk-angle, 100%), rgba(255,255,255,0.05) 0);
  box-shadow: 0 0 25px color-mix(in srgb, currentColor 27%, transparent);
  mask: radial-gradient(circle, transparent 58%, black 60%);
}

.risk-orb::after {
  inset: 10px;
  border: 1px dashed color-mix(in srgb, currentColor 38%, transparent);
  animation: spin 10s linear infinite;
}

.risk-orb.malicious {
  color: var(--malicious);
}

.risk-orb.benign {
  color: var(--benign);
}

.risk-orb > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.risk-orb strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 28px;
  line-height: 1;
}

.risk-orb span {
  margin-top: 4px;
  color: #8da1b3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.artifact-strip {
  margin: 25px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(155, 227, 255, 0.13);
  border-radius: 8px;
  background: rgba(0, 4, 10, 0.48);
}

.artifact-strip span {
  display: block;
  margin-bottom: 6px;
  color: #71879a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.artifact-strip code {
  display: block;
  overflow-wrap: anywhere;
  color: #d7f4ff;
  font-size: 12px;
}

.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signal-card {
  min-height: 170px;
  padding: 17px;
  border: 1px solid;
  border-radius: 10px;
}

.signal-card.malicious {
  border-color: rgba(255, 64, 93, 0.25);
  background: linear-gradient(145deg, var(--malicious-soft), rgba(12, 7, 14, 0.58));
}

.signal-card.benign {
  border-color: rgba(82, 227, 154, 0.22);
  background: linear-gradient(145deg, var(--benign-soft), rgba(5, 14, 13, 0.58));
}

.signal-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.signal-heading strong {
  color: #eff7fb;
  font-size: 12px;
}

.signal-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.malicious .signal-icon {
  color: var(--malicious);
  background: rgba(255, 64, 93, 0.14);
  box-shadow: 0 0 12px rgba(255, 64, 93, 0.12);
}

.benign .signal-icon {
  color: var(--benign);
  background: rgba(82, 227, 154, 0.12);
  box-shadow: 0 0 12px rgba(82, 227, 154, 0.1);
}

.signal-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-card li {
  position: relative;
  padding-left: 14px;
  color: #aebcc8;
  font-size: 11px;
  line-height: 1.45;
  animation: itemReveal 330ms ease both;
}

.signal-card li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.signal-card.malicious li::before {
  background: var(--malicious);
  box-shadow: 0 0 7px rgba(255, 64, 93, 0.8);
}

.signal-card.benign li::before {
  background: var(--benign);
  box-shadow: 0 0 7px rgba(82, 227, 154, 0.7);
}

.intel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(155, 227, 255, 0.13);
  border-radius: 9px;
  background: rgba(155, 227, 255, 0.13);
}

.intel-row > div {
  min-width: 0;
  padding: 14px;
  background: rgba(2, 9, 17, 0.92);
}

.intel-row span {
  display: block;
  margin-bottom: 6px;
  color: #697f91;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.intel-row strong {
  display: block;
  overflow: hidden;
  color: #e5f3fa;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verdict-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.capture-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfeefa;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.capture-mark span {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 9px currentColor;
}

.verdict-panel:not(.benign-verdict) .capture-mark {
  color: var(--malicious);
}

.verdict-panel.benign-verdict .capture-mark {
  color: var(--benign);
}

.reset-button {
  cursor: pointer;
  padding: 10px 13px;
  color: #bfeeff;
  border: 1px solid rgba(155, 227, 255, 0.28);
  border-radius: 7px;
  background: rgba(155, 227, 255, 0.04);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.reset-button:hover {
  border-color: rgba(155, 227, 255, 0.6);
  background: rgba(155, 227, 255, 0.09);
}

.footer-note {
  margin: 13px 0 0;
  color: #718294;
  font-size: 13px;
  letter-spacing: 0.25px;
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 25px;
  color: #718294;
  font-size: 10px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--benign);
  box-shadow: 0 0 8px rgba(82, 227, 154, 0.85);
}

[hidden] {
  display: none !important;
}

.shake {
  animation: shake 330ms ease;
}

@keyframes logoHover {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.75; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes inputScan {
  from { left: -30%; }
  to { left: 112%; }
}

@keyframes buttonSheen {
  0%, 45% { left: -30%; opacity: 0; }
  55% { opacity: 1; }
  75%, 100% { left: 125%; opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes processLogo {
  0%, 100% { transform: scale(0.94); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes verdictReveal {
  from { opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes itemReveal {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

@media (max-width: 760px) {
  header {
    padding: 20px 18px;
  }

  .nav-menu {
    display: none;
  }

  main {
    min-height: calc(100vh - 135px);
    padding: 16px 14px 40px;
  }

  .analysis-logo {
    width: 62px;
    height: 62px;
  }

  .analysis-intro h2 {
    font-size: 30px;
  }

  .analysis-card {
    padding: 20px 16px;
    border-radius: 13px;
  }

  .verdict-head {
    align-items: flex-start;
  }

  .risk-orb {
    flex-basis: 82px;
    width: 82px;
    height: 82px;
  }

  .risk-orb strong {
    font-size: 22px;
  }

  .verdict-grid {
    grid-template-columns: 1fr;
  }

  .intel-row {
    grid-template-columns: 1fr 1fr;
  }

  .analysis-process {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .process-visual {
    width: 68px;
    height: 68px;
  }

  .verdict-footer,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-stages {
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .brand-tagline {
    display: none;
  }

  .analysis-intro h2 {
    font-size: 26px;
  }

  .agent-state {
    letter-spacing: 0.7px;
  }

  .verdict-head {
    gap: 12px;
  }

  .risk-orb {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .intel-row {
    grid-template-columns: 1fr;
  }

  .input-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Invalid IOC verdict */
#verdict-panel.invalid-verdict #verdict-title {
  color: #f5b942;
}

#verdict-panel.invalid-verdict .risk-orb.invalid {
  border-color: #f5b942;
  box-shadow:
    0 0 0 1px rgba(245, 185, 66, 0.16),
    0 0 24px rgba(245, 185, 66, 0.18);
}

#verdict-panel.invalid-verdict .risk-orb.invalid::before {
  background: conic-gradient(
    #f5b942 var(--risk-angle),
    rgba(245, 185, 66, 0.12) 0
  );
}

#verdict-panel.invalid-verdict #risk-score,
#verdict-panel.invalid-verdict #capture-copy {
  color: #f5b942;
}
#ioc-form label {
    display: block;
    text-align: left;
    text-transform: none;
}

#agent-name {
  white-space: pre-line;
  overflow: visible;
  text-overflow: clip;
}
