@import url("https://fonts.googleapis.com/css2?family=Syne:wght@500&display=swap");

:root {
  --bg: #0a0a0c;
  --bg-elevated: #121214;
  --bg-card: rgba(28, 28, 30, 0.72);
  --bg-terminal: rgba(22, 22, 24, 0.85);
  --glass: rgba(28, 28, 30, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-glow: rgba(194, 65, 12, 0.18);
  --green: #4ade80;
  --orange: #c2410c;
  --blue: #60a5fa;
  --purple: #c084fc;
  --red: #f87171;
  --yellow: #fbbf24;
  --radius: 14px;
  --radius-pill: 999px;
  --nav-clearance: 140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: #000;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body:not(.landing-page) {
  background-image:
    radial-gradient(ellipse 95% 70% at 50% 42%, rgba(251, 146, 60, 0.12) 0%, rgba(234, 88, 12, 0.05) 46%, transparent 74%),
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(249, 115, 22, 0.1) 0%, transparent 58%),
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(194, 65, 12, 0.08) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 0% 50%, rgba(234, 88, 12, 0.05) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 100% 50%, rgba(234, 88, 12, 0.05) 0%, transparent 62%);
  background-attachment: fixed;
}

body.landing-page {
  background-color: #000;
  background-image: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 40px);
  max-width: 1080px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.64);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav .container {
  max-width: none;
  padding: 0 18px;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  padding: 0;
}

.logo {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  justify-self: start;
}

.logo-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text {
  margin-left: 9px;
  font-family: "Syne", var(--font);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--text-muted);
  text-transform: lowercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-self: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
  padding-bottom: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.75;
}

.nav-link.active .nav-icon {
  opacity: 1;
  color: var(--accent);
}

.nav-credits-wrap {
  position: relative;
}

.nav-credits-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-credits-btn:hover,
.nav-credits-btn.open {
  border-color: var(--border-light);
  color: var(--text);
  background: rgba(40, 40, 42, 0.8);
}

.nav-chevron {
  transition: transform 0.2s;
  opacity: 0.6;
}

.nav-credits-btn.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-credits-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 140, 60, 0.6);
}

.nav-credits-btn.has-notify {
  border-color: rgba(255, 140, 60, 0.45);
  color: var(--text);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(22, 22, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: background 0.15s, color 0.15s;
  position: relative;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-dropdown-item .nav-icon {
  width: 15px;
  height: 15px;
}

.nav-dropdown-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 8px rgba(255, 140, 60, 0.45);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-ghost {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text);
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

/* Hero */
.hero {
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 360px;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}

.platform-btn:hover,
.platform-btn.active {
  border-color: var(--accent);
  background: #1a1a1a;
}

.platform-btn.active {
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.platform-btn .icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
}

/* Terminal */
.terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  position: absolute;
  left: 16px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-x: auto;
  min-height: 340px;
}

.t-comment { color: var(--text-dim); }
.t-cmd { color: var(--green); }
.t-key { color: var(--orange); }
.t-str { color: var(--blue); }
.t-num { color: var(--purple); }
.t-bool { color: var(--red); }

/* Sections */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.price-card:hover {
  border-color: var(--border-light);
}

.price-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.price-card .credits {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 12px 0 4px;
}

.price-card .package-detail {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  margin: 12px 0 8px;
}

.price-card .ltc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.price-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.nav-inner-landing {
  grid-template-columns: 1fr auto;
}

.nav-inner-landing .nav-links {
  display: none;
}

.nav-auth-btn {
  font-size: 0.72rem;
  padding: 8px 18px;
  border: 1px solid var(--glass-border);
}

.nav-auth-btn.btn-primary {
  border-color: var(--accent);
}

/* Landing page */
.landing-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}

.landing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.45) 68%,
    #000 100%
  );
  z-index: 1;
}

.landing-bg-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.landing-bg-blob-main {
  top: 8%;
  left: 50%;
  width: min(78vw, 920px);
  height: min(52vh, 520px);
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(251, 146, 60, 0.42) 0%,
    rgba(234, 88, 12, 0.22) 38%,
    rgba(194, 65, 12, 0.08) 62%,
    transparent 100%
  );
  filter: blur(88px);
}

.landing-bg-blob-streak {
  top: -12%;
  left: -18%;
  width: min(95vw, 1100px);
  height: min(42vh, 420px);
  transform: rotate(-22deg);
  border-radius: 45%;
  background: radial-gradient(
    ellipse 100% 100% at 35% 55%,
    rgba(249, 115, 22, 0.36) 0%,
    rgba(234, 88, 12, 0.14) 48%,
    transparent 100%
  );
  filter: blur(96px);
}

.landing-bg-blob-side {
  top: 22%;
  left: -14%;
  width: min(52vw, 560px);
  height: min(58vh, 560px);
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(234, 88, 12, 0.28) 0%,
    rgba(194, 65, 12, 0.1) 52%,
    transparent 100%
  );
  filter: blur(104px);
}

.landing-page .landing-hero,
.landing-page .landing-section {
  position: relative;
  z-index: 1;
}

.landing-page .footer {
  position: relative;
  z-index: 2;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-page .nav {
  position: fixed;
  z-index: 100;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.landing-page .landing-hero {
  padding: 176px 0 168px;
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.landing-page .landing-hero-inner {
  margin-top: 28px;
}

.landing-hero-enter {
  animation: heroContentIn 1s ease-out both;
}

.landing-hero-enter .hero-badge {
  animation: heroItemIn 0.85s ease-out 0.12s both;
}

.landing-hero-enter h1 {
  animation: heroItemIn 0.9s ease-out 0.22s both;
}

.landing-hero-enter .landing-hero-sub {
  animation: heroItemIn 0.9s ease-out 0.34s both;
}

.landing-hero-enter .landing-hero-actions {
  animation: heroItemIn 0.9s ease-out 0.46s both;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.landing-page .nav {
  animation: navFadeIn 0.75s ease-out both;
}

@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--glass);
}

.landing-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}

.landing-hero-sub {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px !important;
}

.landing-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-btns-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta-btn {
  min-width: 168px;
  padding: 12px 28px;
  font-size: 0.9rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-page .hero-cta-btn:hover {
  transform: translateY(-2px);
}

.landing-page .hero-cta-btn.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.35);
}

.landing-page .hero-cta-btn.btn-outline:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-links-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.hero-link:hover {
  color: var(--accent);
}

.landing-section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.landing-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-section .section-label {
  transition: opacity 0.6s ease 0.08s, transform 0.6s ease 0.08s;
}

.landing-section:not(.is-visible) .section-label {
  opacity: 0;
  transform: translateY(10px);
}

.landing-section.is-visible .section-label {
  opacity: 1;
  transform: translateY(0);
}

.landing-page .landing-hero + .landing-section {
  border-top: none;
}

.demo-lookup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.demo-lookup-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.landing-page .demo-lookup-card {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.landing-section.is-visible .demo-lookup-card {
  opacity: 1;
  transform: translateY(0);
}

.landing-section.is-visible .demo-lookup-grid .demo-lookup-card:nth-child(1) {
  transition-delay: 0.06s;
}

.landing-section.is-visible .demo-lookup-grid .demo-lookup-card:nth-child(2) {
  transition-delay: 0.14s;
}

.landing-section.is-visible .demo-lookup-grid .demo-lookup-card:nth-child(3) {
  transition-delay: 0.22s;
}

.landing-page .demo-lookup-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 65, 12, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.demo-lookup-card h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.demo-lookup-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.demo-card-meta {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.demo-card-meta li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

.demo-card-meta li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.demo-lookup-card .field {
  margin-bottom: 10px;
}

.demo-lookup-card .field label {
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.demo-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.demo-run-btn {
  width: 100%;
  margin-top: 4px;
}

.demo-results-panel {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0;
  margin-top: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.demo-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.demo-results-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.demo-results-query {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.demo-results-note {
  margin: 0;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

.demo-results-body {
  padding: 16px 20px 4px;
}

.demo-results-panel .tlo-results {
  padding: 16px 20px 4px;
}

.demo-results-panel .osint-results {
  padding: 0 0 10px;
}

.demo-results-panel .demo-results-head {
  margin: 20px 20px 16px;
}

.demo-static-btn {
  pointer-events: none;
  opacity: 0.45;
}

.demo-results-panel .btn-download:disabled {
  opacity: 0.55;
  cursor: default;
}

.tools-subhead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tools-subhead:not(:first-of-type) {
  margin-top: 36px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tools-grid-orders {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.tool-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.landing-page .tools-grid .tool-card {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.landing-section.is-visible .tools-grid .tool-card {
  opacity: 1;
  transform: translateY(0);
}

.landing-section.is-visible .tools-grid .tool-card:nth-child(1) { transition-delay: 0.04s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(2) { transition-delay: 0.08s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(3) { transition-delay: 0.12s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(4) { transition-delay: 0.16s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(5) { transition-delay: 0.2s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(6) { transition-delay: 0.24s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(7) { transition-delay: 0.28s; }
.landing-section.is-visible .tools-grid .tool-card:nth-child(8) { transition-delay: 0.32s; }

.landing-page .tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 65, 12, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tool-card-icon {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tool-card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(194, 65, 12, 0.12);
  border: 1px solid rgba(194, 65, 12, 0.25);
}

.tool-card h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.tool-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.tool-card-sm {
  padding: 14px 16px;
}

.tool-card-sm h4 {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.landing-page .plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.landing-page .plan-popular:hover {
  border-color: rgba(194, 65, 12, 0.45);
}

.plan-popular {
  border-color: rgba(194, 65, 12, 0.35);
  box-shadow: 0 0 0 1px rgba(194, 65, 12, 0.1);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.plan-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-discount {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(255, 140, 60, 0.35);
}

.plan-price-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.plan-rate {
  font-size: 0.82rem;
  color: var(--green);
  margin-bottom: 12px;
}

.plan-blurb {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.plan-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-cta {
  width: 100%;
}

.orders-slideshow {
  width: 100%;
  margin-bottom: 32px;
}

.orders-slide-viewport {
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px;
}

.orders-slide-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-height: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: start;
  width: 100%;
}

.orders-slide-top {
  grid-column: 1;
  grid-row: 1 / 3;
  margin-bottom: 0;
  align-self: start;
  padding-top: 2px;
}

.orders-slide-card h4 {
  font-size: 0.92rem;
  margin-bottom: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.orders-slide-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
  grid-column: 2;
  grid-row: 2;
}

.orders-slide-top .tool-card-badge {
  display: inline-block;
}

.orders-slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
}

.orders-slide-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.orders-slide-btn:hover {
  border-color: var(--accent);
}

.orders-slide-dots {
  display: flex;
  gap: 8px;
}

.orders-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.orders-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}

.orders-more-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  width: 100%;
  max-width: 760px;
  margin: 8px auto 0;
  text-align: center;
}

.orders-more-note strong {
  color: var(--text);
  font-weight: 500;
}

.landing-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-faq .faq-item {
  padding: 18px 20px;
  margin: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.landing-page .landing-faq .faq-item:hover {
  border-color: rgba(194, 65, 12, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.landing-faq .faq-item h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.landing-faq .faq-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-collapsible {
  padding: 0;
  overflow: hidden;
}

.faq-collapsible summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-collapsible summary::-webkit-details-marker {
  display: none;
}

.faq-collapsible summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-collapsible[open] summary::after {
  content: "−";
}

.faq-collapsible[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-collapsible p {
  padding: 14px 20px 18px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-btn:hover {
  color: var(--accent-hover);
}

/* Pages */
.page {
  padding: var(--nav-clearance) 0 80px;
  min-height: calc(100vh - var(--nav-clearance));
}

html.page-loading main.page,
html.page-loading .nav,
html.page-loading .footer,
html.page-loading #app-footer {
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  transition: filter 0.28s ease, opacity 0.28s ease;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-loader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.page-enter {
  animation: pageIn 0.45s ease-out both;
}

.view-enter {
  animation: viewIn 0.7s ease-out both;
}

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

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

.container-narrow {
  max-width: 820px;
}

.page-header {
  margin-bottom: 36px;
}

.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.balance-inline {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

.balance-inline-value {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.balance-inline-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mono-inline {
  font-family: var(--mono);
  color: var(--text);
}

/* Pill tab bar */
.pill-tab-bar {
  display: flex;
  gap: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px;
  overflow-x: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.pill-tab-bar-sm {
  margin-bottom: 14px;
  padding: 4px;
}

.pill-tab-bar-lookup {
  overflow: visible;
}

.pill-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.pill-tab-mini {
  padding: 8px 12px;
  font-size: 0.78rem;
}

.pill-tab:hover {
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.pill-tab.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pill-tab-icon {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0.85;
  min-width: 1.6em;
  text-align: center;
}

.pill-tab.active .pill-tab-icon {
  color: var(--accent);
  opacity: 1;
}

.pill-tab-endato.active {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.22), rgba(140, 55, 12, 0.1));
  color: #ffd4b8;
  border-color: rgba(180, 75, 20, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 180, 120, 0.1), 0 2px 10px rgba(0, 0, 0, 0.15);
}

.pill-tab-endato.active .pill-tab-icon,
.pill-tab-endato.active .pill-tab-badge {
  color: #e07a2f;
}

.pill-tab-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.pill-tab-mini.active .pill-tab-module-icon {
  color: var(--accent);
  opacity: 1;
}

.pill-tab-badge {
  font-size: 0.6rem;
  color: var(--accent);
  font-family: var(--mono);
}

.pill-tab-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  cursor: help;
  position: relative;
}

.pill-tab-info:hover,
.pill-tab-info:focus-visible {
  color: var(--text-muted);
  outline: none;
}

.pill-tab-info svg {
  display: block;
}

.pill-tab-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  background: #1c1c20;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  color: #d4d4d8;
  white-space: normal;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 60;
}

.pill-tab-tooltip-price {
  color: #ffd4b8;
  font-weight: 600;
  font-size: 0.76rem;
}

.pill-tab-info:hover .pill-tab-tooltip,
.pill-tab-info:focus-visible .pill-tab-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Field grid (Enformion) */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field label .req {
  color: var(--accent);
}

.field label .opt {
  color: var(--text-dim);
  font-weight: 400;
}

.field label .suggest {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.field-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.field input {
  width: 100%;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.search-submit-btn {
  width: 100%;
  padding: 14px !important;
}

.search-form-panel {
  margin-top: 20px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}

.page-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--mono);
}

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

/* Search bar */
.lookup-shell {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lookup-shell > * {
  width: 100%;
  max-width: 720px;
}

.page-lookup .container-narrow {
  max-width: 1279px;
}

.page-lookup:has(.results-panel.hidden) {
  min-height: calc(100vh + 5rem);
  padding-bottom: 128px;
}

.page-lookup:has(.results-panel.hidden) .lookup-shell {
  min-height: 30vh;
  margin-bottom: 40px;
}

.page-lookup .page-header {
  width: 100%;
  max-width: 1123px;
  margin-left: auto;
  margin-right: auto;
}

.page-lookup .lookup-shell > * {
  max-width: 1123px;
}

.page-lookup .results-panel.page-results {
  max-width: 1123px;
  width: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 6px 6px 18px;
  margin-top: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.search-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

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

.page-results {
  margin-top: 0;
}

.error-text {
  color: var(--red) !important;
}

.results-meta {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.8rem;
}

/* Dashboard */
.dash-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  min-width: 180px;
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-unit {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 6px;
}

.dash-section {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.dash-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  flex: 1;
  margin-bottom: 0;
}

.balance-dash {
  margin-top: 0;
  flex-shrink: 0;
  align-self: flex-end;
}

.page-dashboard,
.page.page-info {
  --nav-clearance: 120px;
}

.dash-serial-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.dash-serial-row code {
  word-break: break-all;
}

.page-dashboard .page-header {
  margin-bottom: 28px;
}

.page-dashboard .dash-grid-2 {
  margin: 14px 0 20px;
}

.page-dashboard .dash-panel-full {
  margin-top: 4px;
}

.dash-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.dash-card-head h3 {
  margin-bottom: 0 !important;
}

.dash-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
  color: var(--text-muted);
}

.dash-icon {
  width: 20px;
  height: 20px;
}

.dash-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left;
  width: 100%;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

a.dash-card:hover,
.dash-card-btn:hover {
  border-color: var(--border-light);
  background: rgba(40, 40, 42, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.dash-card h3,
.dash-card-btn h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.dash-card-btn p {
  color: var(--text-muted);
}

.dash-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.dash-card-link {
  color: var(--accent);
  font-size: 0.85rem;
}

.dash-card-btn {
  cursor: pointer;
  font: inherit;
  color: var(--text);
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 14px 0 20px;
}

.dash-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.dash-panel-full {
  margin-bottom: 32px;
}

.dash-panel h2 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-dot {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
}

.status-dot.ok {
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.status-dot.warn {
  background: rgba(194, 65, 12, 0.12);
  color: var(--accent);
  border: 1px solid rgba(194, 65, 12, 0.3);
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.update-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.update-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.update-date {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.update-title {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.update-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.order-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.history-row:last-child {
  border-bottom: none;
}

.history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.history-product {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.history-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.history-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field-input {
  width: 100%;
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.field-input:focus {
  border-color: var(--accent);
}

.price-card.coming-soon {
  opacity: 0.85;
  border-style: dashed;
}

.req {
  color: var(--accent);
}

/* Order page */
.order-examples-box {
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.order-examples-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 14px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.order-examples-trigger::-webkit-details-marker {
  display: none;
}

.order-examples-trigger:hover,
.order-examples-box[open] > .order-examples-trigger {
  background: rgba(255, 255, 255, 0.03);
}

.order-examples-trigger-text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.order-examples-trigger-label {
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.order-examples-trigger-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-examples-trigger-desc::before {
  content: "·";
  margin-right: 6px;
  color: var(--text-dim);
}

.order-examples-count {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.order-examples-box .order-cat-chevron {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.order-examples-box[open] .order-cat-chevron {
  transform: rotate(180deg);
}

.order-examples-panel {
  padding: 0 14px 12px;
  border-top: 1px solid var(--border);
}

.order-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.order-example-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  text-align: left;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.order-example-card:hover,
.order-example-card:focus-visible {
  border-color: rgba(255, 107, 53, 0.35);
  background: rgba(255, 107, 53, 0.06);
  outline: none;
  transform: translateY(-1px);
}

.order-example-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.order-example-icon svg {
  width: 16px;
  height: 16px;
}

.order-example-icon-pdf {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.08);
}

.order-example-icon-txt {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.25);
  background: rgba(96, 165, 250, 0.08);
}

.order-example-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-example-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.order-example-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.order-example-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.order-example-cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.order-example-type {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-dim);
}

.order-example-modal {
  max-width: min(960px, 96vw);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.order-example-modal-head {
  padding-right: 32px;
  margin-bottom: 14px;
}

.order-example-modal-head h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.order-example-modal-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.order-example-viewer {
  flex: 1;
  min-height: 0;
  height: min(68vh, 640px);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.order-example-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.order-example-text {
  height: 100%;
  margin: 0;
  padding: 16px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.order-example-loading,
.order-example-error {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.order-example-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.order-browse {
  margin-top: 8px;
}

.order-category-bar {
  margin-bottom: 20px;
}

.order-category-dropdown {
  position: relative;
}

.order-category-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.order-category-trigger:hover,
.order-category-trigger:focus-visible {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  outline: none;
}

.order-category-trigger-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: hsla(var(--cat-hue, 210), 55%, 50%, 0.14);
  border: 1px solid hsla(var(--cat-hue, 210), 55%, 55%, 0.28);
  color: hsl(var(--cat-hue, 210), 70%, 72%);
}

.order-category-trigger-icon svg {
  width: 22px;
  height: 22px;
}

.order-category-trigger-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-category-trigger-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.order-category-trigger-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.order-cat-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.order-category-trigger[aria-expanded="true"] .order-cat-chevron {
  transform: rotate(180deg);
}

.order-category-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 8px;
  background: rgba(14, 14, 16, 0.98);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.order-category-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.order-category-option:hover,
.order-category-option.is-active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.order-category-option.is-active {
  border-color: hsla(var(--cat-hue, 210), 55%, 55%, 0.35);
}

.order-category-option-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: hsla(var(--cat-hue, 210), 55%, 50%, 0.12);
  border: 1px solid hsla(var(--cat-hue, 210), 55%, 55%, 0.22);
  color: hsl(var(--cat-hue, 210), 70%, 72%);
}

.order-category-option-icon svg {
  width: 18px;
  height: 18px;
}

.order-category-option-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.order-category-option-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.order-category-option-desc {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.order-category-count {
  margin: 10px 2px 0;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.order-products-panel {
  margin-top: 4px;
}

.order-prompt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  padding: 48px 28px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.order-prompt-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.order-prompt-icon svg {
  width: 28px;
  height: 28px;
}

.order-prompt-empty h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

.order-prompt-empty p {
  margin: 0;
  max-width: 420px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.order-category-trigger.is-placeholder .order-category-trigger-label {
  color: var(--text-muted);
}

.order-category-trigger-icon.is-placeholder {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.order-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.product-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.product-order-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 0.9rem;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-order-btn:hover {
  transform: translateY(-2px);
  border-color: hsla(var(--card-hue, 220), 50%, 55%, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.product-order-btn.selected {
  border-color: hsl(var(--card-hue, 220), 55%, 58%);
  background: linear-gradient(145deg, hsla(var(--card-hue, 220), 45%, 45%, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px hsla(var(--card-hue, 220), 55%, 55%, 0.25), 0 12px 32px rgba(0, 0, 0, 0.3);
}

.product-order-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: hsl(var(--card-hue, 220), 75%, 78%);
  background: hsla(var(--card-hue, 220), 45%, 45%, 0.16);
  border: 1px solid hsla(var(--card-hue, 220), 50%, 60%, 0.28);
}

.product-order-icon svg {
  width: 20px;
  height: 20px;
}

.product-order-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-order-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.product-order-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.product-order-cost-pill {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.22);
  white-space: nowrap;
}

.product-order-cost-pill.is-free {
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.25);
}

.product-order-cost {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .order-category-trigger {
    padding: 14px;
    gap: 12px;
  }

  .order-category-trigger-desc {
    display: none;
  }

  .product-order-grid {
    grid-template-columns: 1fr;
  }

  .product-order-meta {
    display: none;
  }
}

.order-panel {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.order-panel h3 {
  margin-bottom: 16px;
}

.order-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.order-cost {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.order-search-bar {
  margin-top: 0;
}

.order-error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 12px;
}

.order-success {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.order-success .btn-download {
  margin-top: 4px;
}

/* Captcha */
.captcha-box {
  margin: 16px 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.captcha-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.captcha-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.captcha-input {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9rem;
  outline: none;
}

.captcha-input:focus {
  border-color: var(--accent);
}

.captcha-error {
  color: var(--red);
  font-size: 0.85rem;
}

/* Credit history */
.credit-history-list {
  min-height: 80px;
}

.credit-entry {
  padding: 4px 0;
}

.credit-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.credit-amount {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
}

.credit-pos {
  color: var(--green);
}

.credit-neg {
  color: var(--red);
}

.credit-date {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.credit-reason {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Admin members */
.members-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

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

.members-table th {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.members-table td {
  font-family: var(--mono);
  color: var(--text-muted);
}

.members-table td.member-browser-cell {
  font-family: var(--font);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.members-table tr:hover td {
  color: var(--text);
}

.admin-update-form {
  margin-bottom: 20px;
}

.admin-updates-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Top-up payment */
.paginated-block {
  min-height: 120px;
}

.topup-payment-card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
}

.topup-timer-wrap {
  text-align: center;
  padding: 24px;
  margin-bottom: 24px;
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.topup-timer-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.topup-timer {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
}

.topup-timer-sub {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 6px;
}

.topup-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.topup-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topup-detail-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.topup-detail-value {
  font-size: 0.95rem;
}

.topup-detail-value.mono {
  font-family: var(--mono);
  font-size: 0.85rem;
  word-break: break-all;
}

.topup-detail-value.highlight {
  color: var(--blue);
  font-weight: 600;
  font-family: var(--mono);
}

.topup-address-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.address-display {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: anywhere;
  margin: 12px 0 16px;
  user-select: all;
  max-width: 100%;
}

.address-display.copyable {
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.address-display.copyable:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

.copy-btn {
  width: 100%;
  text-align: center;
}

.topup-receipt {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.topup-receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.topup-receipt-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.topup-receipt-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.topup-receipt-grid .topup-detail-wide {
  grid-column: 1 / -1;
}

.topup-receipt-tx,
.topup-receipt-addr {
  font-size: 0.68rem;
  word-break: break-all;
}

.topup-receipt-actions,
.credit-receipt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.topup-receipt-history-link {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
}

.topup-receipt-history-link:hover {
  text-decoration: underline;
}

.topup-complete-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.topup-complete-actions .btn-primary,
.topup-complete-actions .btn-outline {
  flex: 1;
  min-width: 140px;
  text-align: center;
  justify-content: center;
}

.credit-entry-new {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.credit-receipt {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.credit-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.credit-receipt-row span:last-child {
  color: var(--text);
  text-align: right;
}

.credit-receipt-tx {
  font-size: 0.68rem;
  word-break: break-all;
  max-width: 65%;
}

.credit-receipt-dl {
  margin-top: 8px;
}

/* Admin */
body[data-standalone="admin"] {
  scroll-behavior: smooth;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-bottom: 20px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.admin-nav-link {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.admin-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.admin-nav-logout {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.admin-nav-logout:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.members-table .member-troll {
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.members-table .member-troll:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.5);
}

.admin-login {
  max-width: 400px;
  margin: 80px auto;
}

.admin-hint {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 20px;
  line-height: 1.6;
}

.admin-section {
  margin-bottom: 40px;
}

.admin-section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.admin-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.admin-credit-form {
  max-width: 400px;
  margin-bottom: 12px;
}

.empty-inline {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.status-pill {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.status-awaiting-delivery {
  border-color: var(--accent);
  color: var(--accent);
}

.status-open {
  border-color: var(--blue);
  color: var(--blue);
}

.status-replied {
  border-color: var(--green);
  color: var(--green);
}

.status-row-toggle {
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text-muted);
  text-align: left;
  border-radius: 8px;
  transition: background 0.2s;
}

.status-row-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
}

.status-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-chevron {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1;
  width: 14px;
  text-align: center;
}

.status-providers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: -2px 0 4px;
  padding-left: 4px;
}

.status-row-sub {
  padding-left: 12px;
  font-size: 0.82rem;
}

.status-row-sub span:first-child {
  color: var(--text-dim);
}

.status-live-note {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: right;
}

.site-banner {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: calc(100% - 40px);
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-banner.hidden {
  display: none;
}

.site-banner-item {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-banner-maintenance {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.site-banner-announce {
  background: rgba(194, 65, 12, 0.12);
  border-color: rgba(194, 65, 12, 0.3);
  color: var(--text);
}

body.has-site-banner {
  --nav-clearance: 168px;
}

body.has-site-banner.landing-page .landing-hero {
  padding-top: 216px;
}

.admin-site-settings textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
}

.admin-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.admin-toggle-label input {
  accent-color: var(--accent);
}

.admin-settings-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.admin-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.members-table .admin-member-actions {
  font-family: var(--font);
}

.members-table .admin-member-actions .btn-sm {
  font-size: 0.68rem;
  padding: 5px 10px;
}

.status-closed {
  border-color: var(--text-dim);
  color: var(--text-dim);
}

.status-refunded {
  border-color: var(--yellow);
  color: var(--yellow);
}

.status-denied {
  border-color: var(--red);
  color: var(--red);
}

/* Coverage / Products */
.category-block {
  margin-bottom: 40px;
}

.category-block h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
}

.product-item .cost {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  position: relative;
}

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--border-light);
}

.field textarea {
  min-height: 80px;
  resize: vertical;
  font-family: var(--font);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.modal-actions .btn-primary {
  flex: 1;
  text-align: center;
  padding: 12px;
}

.modal-csint-terms {
  max-width: 480px;
}

.modal-csint-lead {
  margin-bottom: 14px;
}

.modal-csint-list {
  margin: 0 0 18px 1.1rem;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.modal-csint-list li {
  margin-bottom: 8px;
}

.csint-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}

.csint-terms-check input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.lookup-order-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 12px 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.lookup-order-hint-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.lookup-order-hint-icon {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.15s;
}

.lookup-order-hint:hover .lookup-order-hint-icon,
.lookup-order-hint:focus-within .lookup-order-hint-icon {
  color: var(--accent);
}

.lookup-order-hint-tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: max-content;
  max-width: min(280px, 90vw);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(18, 18, 20, 0.98);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  pointer-events: none;
}

.lookup-order-hint:hover .lookup-order-hint-tip,
.lookup-order-hint:focus-within .lookup-order-hint-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lookup-order-hint-tip a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.lookup-order-hint-tip a:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--red);
}

.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green);
}

.alert-info {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue);
}

.serial-display-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 16px 0;
}

.serial-display {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.08em;
  user-select: all;
  word-break: break-all;
}

.serial-copy-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 64px;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.serial-copy-btn:hover {
  border-color: rgba(194, 65, 12, 0.35);
  color: var(--text);
  background: rgba(194, 65, 12, 0.08);
}

.hidden {
  display: none !important;
}

.results-panel {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: visible;
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.results-panel.page-results {
  margin-top: 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.app-toast.toast-error {
  background: rgba(60, 20, 20, 0.9);
  color: var(--red);
}

.app-toast.toast-success {
  background: rgba(20, 50, 30, 0.9);
  color: var(--green);
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius) var(--radius) 0 0;
}

.results-toolbar .results-meta {
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.results-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.results-empty-state {
  color: var(--text-muted);
  text-align: center;
  padding: 48px 24px;
  font-size: 0.9rem;
}

/* Breach result cards */
.breach-results {
  padding: 16px 20px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.breach-results.is-masonry {
  display: flex;
  align-items: flex-start;
}

.breach-masonry-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 739px) {
  .breach-results {
    grid-template-columns: 1fr;
  }

  .breach-results.is-masonry {
    display: grid;
    grid-template-columns: 1fr;
  }

  .breach-masonry-col {
    display: contents;
  }
}

.breach-record {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.breach-record-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(194, 65, 12, 0.08);
  border-bottom: 1px solid var(--border);
}

.breach-index {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.breach-source {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.breach-provider {
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.breach-provider-datavoid {
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.breach-provider-snusbase,
.breach-provider-snus {
  border-color: rgba(192, 132, 252, 0.35);
  color: #d8b4fe;
}

.breach-provider-kittylogs {
  border-color: rgba(251, 146, 60, 0.4);
  color: #fdba74;
}

.breach-provider-oathnet {
  border-color: rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.breach-provider-leakosint {
  border-color: rgba(251, 191, 36, 0.35);
  color: #fcd34d;
}

.breach-provider-npd {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.breach-kind-badge {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.breach-kind-osint {
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.breach-kind-breach {
  border-color: rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}

.breach-stealer-panel {
  margin-top: 22px;
  padding: 18px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.breach-stealer-panel .stealer-results-head,
.breach-stealer-panel .stealer-results {
  margin: 0;
  width: 100%;
}

.breach-stealer-panel .stealer-results-head {
  padding: 6px 12px 8px;
}

.breach-stealer-panel .stealer-record-row {
  align-items: center;
}

.breach-osint-panel {
  margin-top: 22px;
  padding: 18px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.breach-osint-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.breach-osint-select {
  min-width: 220px;
}

.stealer-cell-meta {
  margin-bottom: 2px;
}

.stealer-provider {
  font-size: 0.52rem;
  padding: 2px 6px;
  vertical-align: middle;
}

.breach-section {
  margin-bottom: 28px;
}

.breach-section-oathnet {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
}

.breach-section-other {
  padding-top: 8px;
}

.breach-section-head {
  margin-bottom: 16px;
}

.breach-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.breach-section-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breach-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.breach-section-desc {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.breach-subsection {
  margin-top: 18px;
}

.breach-subsection-title {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.breach-subsection-count {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.breach-section-empty {
  margin: 0;
}

.breach-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px 20px;
  padding: 14px 16px;
}

.breach-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.breach-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.breach-value {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
  word-break: break-word;
}

.breach-value.sensitive {
  color: var(--yellow);
}

.stealer-results-head {
  display: grid;
  grid-template-columns: 36px 1.35fr 0.95fr 1.1fr 72px;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  margin: 0 20px 4px 12px;
  width: calc(100% - 32px);
  max-width: 100%;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stealer-results {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 20px 0 12px;
  width: calc(100% - 32px);
  max-width: 100%;
}

.stealer-record {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.stealer-record-row {
  display: grid;
  grid-template-columns: 36px 1.35fr 0.95fr 1.1fr 72px;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
}

.stealer-idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.stealer-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stealer-label {
  display: none;
}

.stealer-value-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.stealer-value-wrap .stealer-value {
  flex: 1;
  min-width: 0;
}

.stealer-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
}

.stealer-record:hover .stealer-copy-btn,
.stealer-copy-btn:focus-visible {
  opacity: 1;
}

.stealer-copy-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.stealer-copy-btn svg {
  width: 11px;
  height: 11px;
}

.stealer-value {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stealer-value.sensitive {
  color: var(--yellow);
}

.stealer-cell-date .stealer-value {
  color: var(--text-muted);
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .stealer-results-head {
    display: none;
  }

  .stealer-results {
    margin: 0 12px;
    width: calc(100% - 24px);
  }

  .stealer-record-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stealer-idx {
    margin-bottom: 2px;
  }

  .stealer-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
  }

  .stealer-value {
    white-space: normal;
    word-break: break-word;
  }

}

.breach-value.muted {
  color: var(--text-muted);
}

.breach-daily-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
  width: 100%;
}

.breach-daily-note {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.breach-daily-banner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(194, 65, 12, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.38);
  color: #fb923c;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

.breach-daily-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fb923c;
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.55);
}

.breach-daily-banner.hidden {
  display: none;
}

.breach-hidden-note {
  padding: 8px 16px 12px;
  font-size: 0.75rem;
  color: var(--yellow);
}

/* Enformion person search — form */
.enf-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(154, 52, 18, 0.06));
  border-bottom: 1px solid rgba(194, 65, 12, 0.2);
}

.enf-form-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.enf-form-logo {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(194, 65, 12, 0.22), rgba(154, 52, 18, 0.18));
  border: 1px solid rgba(251, 146, 60, 0.28);
  color: #fb923c;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.enf-form-brand-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}

.enf-form-brand-text p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.enf-form-hint {
  margin: 0;
  padding: 14px 22px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.enf-form-grid {
  padding: 16px 22px 0;
  margin-bottom: 18px;
}

.enf-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 22px 22px;
  width: calc(100% - 44px);
}

/* Enformion person search — results */
.tlo-results {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tlo-report {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.enf-report {
  border-color: rgba(194, 65, 12, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.enf-report-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: linear-gradient(90deg, rgba(154, 52, 18, 0.55), rgba(194, 65, 12, 0.35));
  border-bottom: 1px solid rgba(251, 146, 60, 0.2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.enf-report-provider {
  color: #fdba74;
}

.enf-report-type {
  color: rgba(255, 255, 255, 0.72);
}

.enf-report-ref {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.tlo-report-head {
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(194, 65, 12, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-bottom: 1px solid var(--border);
}

.enf-report-head {
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(194, 65, 12, 0.1) 0%, rgba(0, 0, 0, 0.18) 100%);
  border-bottom: 1px solid rgba(194, 65, 12, 0.15);
}

.enf-subject-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.enf-subject-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(194, 65, 12, 0.2), rgba(154, 52, 18, 0.15));
  border: 1px solid rgba(251, 146, 60, 0.28);
  color: #fb923c;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tlo-report-title h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 4px 0 0;
  letter-spacing: -0.02em;
}

.tlo-subject-num {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.tlo-report-meta {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.enf-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.enf-meta-pill {
  font-size: 0.74rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.enf-meta-pill strong {
  color: var(--text-dim);
  font-weight: 600;
  margin-right: 4px;
}

.tlo-report-body {
  padding: 4px 0 0;
}

.enf-report-body {
  background: rgba(0, 0, 0, 0.12);
}

.tlo-section {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.enf-section {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.enf-section:last-child {
  border-bottom: none;
}

.enf-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.enf-section-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(194, 65, 12, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.22);
  color: #fb923c;
}

.enf-section-icon svg {
  width: 14px;
  height: 14px;
}

.tlo-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}

.enf-section .tlo-section-title {
  flex: 1;
  color: #fb923c;
}

.enf-section-count {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.enf-data-panel {
  padding: 4px 0;
}

.enf-section-note {
  margin: 0;
  padding: 12px 20px 14px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(194, 65, 12, 0.05);
}

.enf-section-note a {
  color: #fb923c;
  font-weight: 600;
  text-decoration: none;
}

.enf-section-note a:hover {
  text-decoration: underline;
}

.enf-data-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.enf-data-row:last-child {
  border-bottom: none;
}

.enf-data-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.tlo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 24px;
}

.tlo-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  align-items: baseline;
}

.tlo-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
}

.enf-data-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 2px;
}

.tlo-value {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
  word-break: break-word;
}

.enf-data-value {
  font-size: 0.82rem;
  line-height: 1.5;
}

.enf-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.enf-value-list li {
  position: relative;
  padding-left: 12px;
}

.enf-value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.enf-value-more {
  color: var(--text-dim) !important;
  font-style: italic;
}

.enf-value-more::before {
  display: none !important;
}

.enf-report-footer {
  padding: 10px 20px;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .enf-form-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .enf-search-btn {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
  }

  .enf-form-hint,
  .enf-form-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .enf-data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .enf-report-ref {
    margin-left: 0;
    width: 100%;
  }
}

.live-text-result {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.results-raw {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  overflow-x: auto;
  margin: 0;
}

.live-line {
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}

.live-idx {
  color: var(--accent);
  margin-right: 8px;
}

.result-card {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.result-card:last-child {
  border-bottom: none;
}

.result-card h4 {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.result-field {
  color: var(--text-muted);
  margin-bottom: 4px;
}

.result-field span {
  color: var(--text);
}

.result-field.sensitive span {
  color: var(--yellow);
}

.hidden-note {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 6px;
}

/* Search loading */
.results-panel.searching {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-loading {
  text-align: center;
  padding: 48px 24px;
}

.search-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.search-loading-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--mono);
}

.search-dots::after {
  content: "";
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

/* Order receipt on page */
.receipt-card {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row-block {
  flex-direction: column;
  align-items: flex-start;
}

.receipt-label {
  color: var(--text-dim);
  flex-shrink: 0;
}

.receipt-value {
  color: var(--text);
  text-align: right;
}

.receipt-pre {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
  width: 100%;
}

.order-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.order-form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Tickets */
.ticket-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ticket-list-head h2 {
  margin: 0;
  font-size: 1rem;
  color: var(--accent);
}

.ticket-row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.ticket-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ticket-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.ticket-row-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.ticket-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ticket-detail-head h2 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
}

.ticket-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.ticket-msg {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.ticket-msg-user {
  background: rgba(255, 255, 255, 0.03);
}

.ticket-msg-admin {
  background: rgba(194, 65, 12, 0.08);
  border-color: rgba(194, 65, 12, 0.2);
}

.ticket-msg-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.ticket-msg-body {
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-reply-form textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 10px;
}

.admin-ticket-view {
  margin-top: 12px;
}

.page-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.page-title-row h1 {
  margin-bottom: 0 !important;
}

.dash-actions-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
}

.dash-actions-3 .dash-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.dash-actions-3 .dash-card p {
  flex: 1;
}

.endato-form-card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(194, 65, 12, 0.18);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.endato-form-card.enf-form-card {
  padding: 0;
  overflow: hidden;
}

.btn-glass {
  width: 100%;
  padding: 14px !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.search-loading-sub {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.45;
}

#live-results-dynamic,
#breach-results-dynamic {
  padding-bottom: 4px;
}

.live-results-panel {
  margin: 0 16px 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.live-overview {
  margin-bottom: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.live-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-column: 1 / -1;
}

.live-overview-stat {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-align: center;
}

.live-overview-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.live-overview-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-overview-details {
  grid-column: 1 / -1;
}

.live-overview-details h4,
.live-connection-head h4 {
  font-size: 0.88rem;
  margin: 0 0 8px;
  color: var(--text);
}

.live-overview-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

.live-id-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.live-id-group {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  min-width: 0;
}

.live-id-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-id-group-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.live-id-group-count {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.live-id-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.live-id-group-list li {
  font-size: 0.78rem;
  font-family: var(--mono);
  word-break: break-all;
}

.live-id-val {
  color: var(--text-muted);
}

.live-id-link {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.live-id-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.live-overview-empty {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.live-connection-map {
  grid-column: 1 / -1;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.live-connection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.live-connection-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.live-graph-svg {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: visible;
}

.live-graph-bg {
  fill: rgba(0, 0, 0, 0.28);
}

.live-graph-grid {
  pointer-events: none;
}

.live-graph-plat-edge {
  fill: none;
  stroke: rgba(192, 132, 252, 0.45);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.38;
  transition: stroke-width 0.15s ease, opacity 0.15s ease;
}

.live-graph-plat-edge:hover {
  stroke-width: 2;
  opacity: 0.65;
}

.live-graph-hub-edge {
  fill: none;
  stroke: var(--edge-color, rgba(255, 255, 255, 0.28));
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: 0.32;
}

.live-graph-hub {
  cursor: help;
}

.live-graph-hub-circle {
  fill: rgba(12, 14, 20, 0.95);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.25;
}

.live-graph-hub-icon {
  text-anchor: middle;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  fill: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.live-graph-plat {
  cursor: default;
}

.live-graph-plat.is-linked .live-graph-plat-square {
  stroke: rgba(192, 132, 252, 0.55);
  stroke-width: 2;
}

.live-graph-plat-square {
  fill: hsl(var(--node-hue, 220), 42%, 32%);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.5;
}

.live-graph-plat-letter {
  text-anchor: middle;
  font-size: 13px;
  font-weight: 700;
  fill: #fff;
  pointer-events: none;
}

.live-graph-plat-label {
  text-anchor: middle;
  font-size: 9px;
  fill: var(--text-muted);
  pointer-events: none;
}

.live-graph-plat-count {
  text-anchor: middle;
  font-size: 8px;
  font-weight: 600;
  fill: var(--purple);
  pointer-events: none;
}

.live-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

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

.live-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--edge-color, #4ade80);
  box-shadow: 0 0 8px color-mix(in srgb, var(--edge-color, #4ade80) 55%, transparent);
}

.live-legend-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
}

.live-legend-plat {
  background: rgba(192, 132, 252, 0.75);
}

.live-legend-hub {
  background: rgba(255, 255, 255, 0.35);
}

.live-graph-note,
.live-graph-empty {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.live-graph-empty {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.live-timeline {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.live-timeline-head {
  margin-bottom: 10px;
}

.live-timeline-head h4 {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text);
}

.live-timeline-table-wrap .pagination {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.live-timeline-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-timeline-canvas {
  position: relative;
  padding: 10px 10px 28px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.live-timeline-now {
  position: absolute;
  top: 8px;
  bottom: 32px;
  width: 2px;
  background: var(--accent);
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}

.live-timeline-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  margin-bottom: 8px;
}

.live-timeline-row-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: right;
  padding-right: 4px;
}

.live-timeline-track {
  position: relative;
  height: 44px;
}

.live-timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.live-timeline-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1;
}

.live-timeline-plat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: hsl(var(--node-hue, 220), 42%, 32%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.live-timeline-marker:hover .live-timeline-plat {
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.35);
}

.live-timeline-axis {
  position: relative;
  height: 22px;
  margin-top: 4px;
}

.live-timeline-year {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.live-timeline-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.live-timeline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.live-timeline-table th {
  text-align: left;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-timeline-table td {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  vertical-align: middle;
}

.live-timeline-table-row {
  cursor: pointer;
  transition: background 0.12s ease;
}

.live-timeline-table-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.live-timeline-table-plat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: hsl(var(--node-hue, 220), 42%, 32%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}

.live-timeline-jump {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(194, 65, 12, 0.35);
  background: rgba(194, 65, 12, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.live-timeline-jump:hover {
  background: rgba(194, 65, 12, 0.2);
  border-color: rgba(194, 65, 12, 0.5);
}


@media (max-width: 900px) {
  .live-overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .live-timeline-canvas {
    padding-left: 12px;
  }

  .live-timeline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .live-timeline-row-label {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .live-id-groups {
    grid-template-columns: 1fr;
  }
}

.live-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.live-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-stat-pill strong {
  color: var(--text);
  font-weight: 600;
}

.live-stat-module {
  color: var(--accent);
  border-color: rgba(255, 107, 53, 0.25);
  background: rgba(255, 107, 53, 0.08);
  text-transform: capitalize;
  font-family: var(--mono);
}

.live-stat-filtered {
  color: var(--green);
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.06);
}

.live-results-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.live-filter-search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-dim);
}

.live-filter-search:focus-within {
  border-color: var(--accent);
  color: var(--text-muted);
}

.live-filter-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 0;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
}

.live-filter-select {
  min-width: 180px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.live-filter-select:focus {
  border-color: var(--accent);
}

/* Live OSINT result cards */
.osint-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  padding: 0 12px 6px;
  align-items: start;
}

/* Live search: one horizontal row per page (pagination handles overflow) */
.osint-results-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: flex-start;
}

.osint-results-row .osint-card {
  flex: 1 1 0;
  min-width: 0;
}

.breach-results.osint-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px 20px;
  align-items: start;
}

.breach-results.osint-results.is-masonry {
  display: flex;
}

.osint-card {
  position: relative;
  align-self: start;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 22, 26, 0.95), rgba(14, 14, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.osint-card:hover {
  border-color: hsla(var(--card-hue, 220), 50%, 55%, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.osint-card-accent {
  display: none;
}

.osint-card-inner {
  position: relative;
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
}

.osint-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.osint-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.osint-card-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    hsl(var(--card-hue, 220), 55%, 48%),
    hsl(var(--card-hue, 220), 40%, 32%)
  );
  box-shadow: 0 4px 14px hsla(var(--card-hue, 220), 50%, 40%, 0.35);
}

.osint-card-logo-letter,
.osint-card-logo.is-letter {
  background: linear-gradient(
    135deg,
    hsl(var(--card-hue, 220), 55%, 48%),
    hsl(var(--card-hue, 220), 40%, 32%)
  );
}

.osint-card-favicon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: rgba(0, 0, 0, 0.2);
}

.osint-card-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.osint-card-logo.is-letter .osint-card-fallback {
  display: flex;
}

.live-timeline-plat-inner,
.live-timeline-table-plat-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.live-timeline-plat-inner-favicon,
.live-timeline-table-plat-inner-favicon,
.live-plat-logo-favicon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.live-timeline-plat-inner-fallback,
.live-timeline-table-plat-inner-fallback,
.live-plat-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: inherit;
  font-weight: 700;
}

.live-timeline-plat-inner.is-letter .live-timeline-plat-inner-fallback,
.live-timeline-table-plat-inner.is-letter .live-timeline-table-plat-inner-fallback,
.live-plat-logo.is-letter .live-plat-logo-fallback,
.live-plat-logo-letter,
.live-timeline-plat-inner-letter,
.live-timeline-table-plat-inner-letter {
  display: flex;
}

.osint-card-meta {
  min-width: 0;
}

.osint-card-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osint-card-sub {
  font-size: 0.64rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.osint-card-toolbar {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.osint-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.osint-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.osint-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.osint-field-grid,
.osint-field-more {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  align-items: start;
}

.osint-field-more {
  margin-top: 0;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.osint-field {
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 0;
  align-self: start;
}

.osint-field:hover {
  background: rgba(255, 255, 255, 0.04);
}

.osint-field-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.osint-field-value-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.osint-field-value {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  color: var(--text);
  line-height: 1.25;
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osint-field-link {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osint-field-link:hover {
  text-decoration: underline;
}

.osint-field-has-image .osint-field-value-wrap {
  align-items: center;
}

.osint-field-image-link {
  display: inline-flex;
  flex-shrink: 0;
}

.osint-field-image {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.osint-copy-field {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
}

.osint-field:hover .osint-copy-field,
.osint-copy-field:focus-visible {
  opacity: 1;
}

.osint-copy-field:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.osint-card-footer {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.osint-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.osint-expand-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.osint-expand-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.osint-expand-btn.open .osint-expand-chevron {
  transform: rotate(180deg);
}

.osint-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.osint-icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.osint-card-dismiss {
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 700px) {
  .osint-results:not(.osint-results-row) {
    grid-template-columns: 1fr;
  }

  .osint-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy kv rows (landing demos) */
.demo-osint-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Admin troll effects (client-side) */
@keyframes troll-shake-kf {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  10% { transform: translate(-6px, 2px) rotate(-1deg); }
  20% { transform: translate(5px, -3px) rotate(1deg); }
  30% { transform: translate(-4px, 4px) rotate(0deg); }
  40% { transform: translate(6px, -2px) rotate(1deg); }
  50% { transform: translate(-5px, 1px) rotate(-1deg); }
  60% { transform: translate(4px, 3px) rotate(0deg); }
  70% { transform: translate(-3px, -4px) rotate(-1deg); }
  80% { transform: translate(5px, 2px) rotate(1deg); }
  90% { transform: translate(-2px, -1px) rotate(0deg); }
}

@keyframes troll-spin-kf {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes troll-rainbow-kf {
  from { filter: hue-rotate(0deg) saturate(1.4); }
  to { filter: hue-rotate(360deg) saturate(1.4); }
}

@keyframes troll-emoji-fall {
  from { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  to { transform: translateY(110vh) rotate(360deg); opacity: 0.85; }
}

@keyframes troll-glitch-kf {
  0%, 100% { transform: translate(0); filter: none; }
  20% { transform: translate(-3px, 1px); filter: hue-rotate(90deg); }
  40% { transform: translate(3px, -2px); filter: invert(0.2); }
  60% { transform: translate(-2px, 2px); filter: hue-rotate(180deg); }
  80% { transform: translate(2px, -1px); filter: contrast(1.4); }
}

.troll-shake {
  animation: troll-shake-kf 0.45s ease-in-out infinite;
}

.troll-spin {
  animation: troll-spin-kf 2.2s ease-in-out 1;
  transform-origin: center center;
}

.troll-rainbow {
  animation: troll-rainbow-kf 2s linear infinite;
}

.troll-blur {
  filter: blur(4px);
  transition: filter 0.4s;
}

.troll-flip {
  transform: rotate(180deg);
  transition: transform 0.6s ease;
}

.troll-glitch {
  animation: troll-glitch-kf 0.25s steps(2) infinite;
}

.troll-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 0, 0, 0.55);
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.troll-overlay.is-visible {
  opacity: 1;
}

.troll-overlay span {
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.6);
  animation: troll-shake-kf 0.35s ease-in-out infinite;
}

.troll-emoji-layer {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  overflow: hidden;
}

.troll-emoji-layer span {
  position: absolute;
  top: -5vh;
  animation: troll-emoji-fall linear forwards;
}

.demo-osint-card {
  background: rgba(18, 18, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px;
}

.demo-osint-card .osint-card-head {
  margin-bottom: 6px;
}

.demo-osint-card .osint-card-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: hsl(var(--logo-hue, 220), 42%, 38%);
  box-shadow: none;
}

.demo-osint-card .osint-kv-row {
  display: grid;
  grid-template-columns: minmax(72px, 100px) 1fr;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.demo-osint-card .osint-kv-label {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.demo-osint-card .osint-kv-text {
  font-size: 0.8rem;
  color: var(--text);
}

.endato-grid {
  margin-bottom: 16px;
}

.page-info .container {
  max-width: 960px;
}

.info-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.info-hero-text h2 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--text);
}

.info-hero-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 52ch;
}

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

.info-section {
  margin: 0;
}

.info-section h2 {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.info-section p {
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.info-providers {
  display: grid;
  gap: 8px;
  margin: 0;
}

.info-provider-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 10px;
}

.info-provider-row dt {
  font-weight: 500;
  color: var(--text);
  margin: 0;
  font-size: 0.86rem;
}

.info-provider-row dd {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: right;
}

.info-provider-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.info-provider-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

.info-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.info-link-card {
  display: block;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.info-link-card:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.06);
}

.info-link-title {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.info-link-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.faq-item h3 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.faq-item p {
  margin-bottom: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.info-pay-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.info-pay-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.info-pay-list strong {
  color: var(--text);
  font-weight: 500;
}

.info-pay-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 10px;
}

.topup-voucher-panel {
  margin-bottom: 28px;
}

.topup-section-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.topup-pricing-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.45;
}

.pay-method-package {
  margin-bottom: 24px;
}

.pay-method-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 140, 60, 0.08);
  border: 1px solid rgba(255, 140, 60, 0.2);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pay-method-grid {
  display: grid;
  gap: 12px;
}

.pay-method-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.pay-method-card:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

.pay-method-card-preferred {
  border-color: rgba(255, 140, 60, 0.35);
}

.pay-method-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.pay-method-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-method-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.pay-method-preferred {
  color: var(--accent);
  border-color: rgba(255, 140, 60, 0.35);
}

.pay-method-auto {
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.3);
}

.pay-method-manual {
  color: var(--text-muted);
}

.pay-method-custom {
  color: var(--text-muted);
}

.pay-method-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.topup-manual-note {
  margin-bottom: 16px;
}

.topup-support-note {
  margin-bottom: 16px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.topup-support-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.topup-payment-card .topup-support-note {
  margin-top: 16px;
  margin-bottom: 0;
}

.voucher-redeem-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.voucher-redeem-row .field-input {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.voucher-redeem-row .field-input:focus {
  border-color: var(--accent);
}

.admin-update-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-update-main {
  flex: 1;
  min-width: 0;
}

.admin-pagination {
  border-top: none;
  padding-top: 12px;
  margin-top: 8px;
}

.admin-voucher-card .voucher-code-display {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
}

.info-bot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .info-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-grid-2,
  .info-links {
    grid-template-columns: 1fr;
  }
}

.admin-deliver-panel {
  margin-bottom: 16px;
}

.admin-deliver-card textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.history-delivery {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.history-delivery-label {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.history-delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.history-delivery-text {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow: auto;
  color: var(--text);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 36px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 24px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.73rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  margin: 6px 0 0;
  padding-top: 0;
  font-size: 0.72rem;
  text-align: center;
  color: var(--text-dim);
}

.footer-copy-link {
  color: inherit;
  text-decoration: none;
}

.serial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.serial-actions .btn-outline,
.serial-actions .btn-primary {
  flex: 1;
  min-width: 140px;
}

.signup-warning {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0 16px;
}

.signup-warning p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.signup-warning p:last-child {
  margin-bottom: 0;
}

.signup-warning strong {
  color: var(--text);
}

.signup-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
  margin-bottom: 18px;
}

.signup-confirm-label input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .demo-lookup-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-bar { gap: 18px; }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .page-header-row { flex-direction: column; align-items: flex-start; }
  .dash-section { flex-direction: column; align-items: stretch; }
  .balance-dash { align-self: flex-end; }
  .dash-actions-3 { grid-template-columns: 1fr; }
  .voucher-redeem-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .platform-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .tools-grid { grid-template-columns: 1fr; }
  .landing-hero-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .nav,
  .landing-hero-enter,
  .landing-hero-enter .hero-badge,
  .landing-hero-enter h1,
  .landing-hero-enter .landing-hero-sub,
  .landing-hero-enter .landing-hero-actions {
    animation: none !important;
  }

  .landing-section,
  .landing-section .section-label,
  .landing-page .demo-lookup-card,
  .landing-page .tools-grid .tool-card {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .landing-page .hero-cta-btn,
  .landing-page .demo-lookup-card,
  .landing-page .tool-card,
  .landing-page .plan-card {
    transition: none !important;
  }

  .landing-page .hero-cta-btn:hover,
  .landing-page .demo-lookup-card:hover,
  .landing-page .tool-card:hover,
  .landing-page .plan-card:hover {
    transform: none;
    box-shadow: none;
  }
}
