:root {
  --bg: #f3f0e9;
  --surface: #fffaf1;
  --surface-2: #ece5d8;
  --ink: #171d1f;
  --muted: #667174;
  --line: rgba(31, 42, 46, 0.16);
  --navy: #132333;
  --green: #0f7b67;
  --blue: #315f8f;
  --gold: #bd8b2f;
  --red: #b64d52;
  --paper: #fff8ea;
  --paper-ink: #1f2527;
  --paper-muted: #756d60;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(26, 31, 33, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(19, 35, 51, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 35, 51, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #f8f5ee 0%, var(--bg) 42%, #ebe4d6 100%);
  background-size: 36px 36px, 36px 36px, auto;
  font-family: Inter, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }
h1 {
  font-size: clamp(2.45rem, 6vw, 5.9rem);
  line-height: 0.93;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(1.45rem, 3vw, 3rem);
  line-height: 1.05;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.05rem;
  line-height: 1.22;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(19, 35, 51, 0.16);
}
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
nav a, .button, button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  padding: 10px 13px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
nav a:hover, .button:hover, button:hover {
  border-color: rgba(15, 123, 103, 0.45);
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(19, 35, 51, 0.1);
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(15, 123, 103, 0.32);
  outline-offset: 2px;
}

main { min-height: 72vh; }
.eyebrow {
  color: var(--green);
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.lede {
  color: #4f5d61;
  font-size: clamp(1.02rem, 1.6vw, 1.26rem);
  line-height: 1.68;
  max-width: 780px;
}

.hero {
  min-height: min(840px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(44px, 7vw, 96px) clamp(16px, 5vw, 72px) 42px;
}
.hero-copy {
  max-width: 840px;
  position: relative;
}
.hero-copy::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.button.primary {
  background: var(--navy);
  color: #fffaf1;
  border-color: var(--navy);
  box-shadow: 0 16px 34px rgba(19, 35, 51, 0.2);
}
.button.secondary {
  background: #fffaf1;
  color: var(--navy);
}
.button.ghost {
  background: rgba(15, 123, 103, 0.08);
  color: #0c5e4e;
  border-color: rgba(15, 123, 103, 0.22);
}
.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.signal-strip span {
  border: 1px solid rgba(15, 123, 103, 0.22);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 250, 241, 0.76);
  color: #0f5f51;
  font-weight: 850;
  font-size: .82rem;
}

.hero-panel {
  min-height: 570px;
  border: 1px solid rgba(19, 35, 51, 0.17);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.86), rgba(236, 229, 216, 0.94)),
    url("/assets/zcureit-company-banner.svg") center 16px / 82% auto no-repeat;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
}
.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--navy);
}
.panel-label span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.panel-label strong { color: var(--green); }
.hero-panel canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 1px solid rgba(19, 35, 51, 0.12);
  border-radius: var(--radius);
  background: #12212c;
}
.hero-dossier {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hero-dossier a {
  min-height: 96px;
  border: 1px solid rgba(19, 35, 51, 0.14);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 250, 241, 0.76);
}
.hero-dossier span {
  display: block;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
  margin-bottom: 7px;
}
.hero-dossier strong {
  display: block;
  color: var(--navy);
  line-height: 1.18;
}

.section,
.content-shell,
.article-book {
  padding: 40px clamp(16px, 5vw, 72px);
}
.grid, .cards, .tool-grid, .breach-grid, .article-grid, .source-grid {
  display: grid;
  gap: 16px;
}
.dashboard { grid-template-columns: 1.18fr .82fr; }
.article-grid, .breach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.source-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.panel, .card, .tool, .breach-card, .article-card, .source-card, .metric, .locked-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) inset;
  padding: 18px;
}
.feature-panel {
  padding: clamp(22px, 3vw, 36px);
}
.breach-feature {
  border-top: 5px solid var(--green);
}
.live-threat-surface {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid rgba(19, 35, 51, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #10212c, #132b35);
  color: #edf6f2;
  box-shadow: var(--shadow);
}
.live-threat-surface header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 22px 22px 14px;
  border-bottom: 1px solid rgba(209, 238, 229, 0.16);
}
.live-threat-surface .eyebrow { color: #84d9bf; }
.live-threat-surface h2 { margin-bottom: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #5ee0b8;
  box-shadow: 0 0 0 0 rgba(94, 224, 184, 0.58);
  animation: status-pulse 2.5s ease-out infinite;
}
.activity-updated { color: #b7cec6; white-space: nowrap; font-size: .86rem; }
.activity-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 13px 22px;
  color: #b7cec6;
  font-size: .9rem;
  border-bottom: 1px solid rgba(209, 238, 229, 0.12);
}
.activity-summary strong { color: #fffaf1; font-size: 1.08rem; }
.scan-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.scan-status i { width: 34px; height: 2px; background: linear-gradient(90deg, transparent, #5ee0b8, transparent); animation: scan-progress 1.9s linear infinite; }
.activity-feed { transition: opacity .18s ease, transform .18s ease; }
.activity-feed.is-refreshing { opacity: .32; transform: translateY(3px); }
.activity-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(209, 238, 229, 0.11);
}
.activity-row:last-child { border-bottom: 0; }
.activity-row strong { display: block; color: #fffaf1; }
.activity-row p { margin: 4px 0 0; color: #b7cec6; font-size: .9rem; line-height: 1.4; }
.severity { display: inline-flex; min-width: 58px; justify-content: center; border-radius: 999px; padding: 5px 8px; font-size: .69rem; font-weight: 900; letter-spacing: .04em; }
.severity-high { background: rgba(255, 99, 125, .2); color: #ffb1be; }
.severity-medium { background: rgba(245, 200, 98, .18); color: #f8da90; }
.severity-low { background: rgba(94, 224, 184, .16); color: #9ee8d2; }
.activity-source, .activity-row time { color: #b7cec6; font-size: .8rem; white-space: nowrap; }
.activity-note { margin: 0; padding: 13px 22px; color: #96afa6; font-size: .78rem; line-height: 1.45; background: rgba(2, 8, 11, .16); }
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 224, 184, 0); }
  35% { box-shadow: 0 0 0 8px rgba(94, 224, 184, .15); }
}
@keyframes scan-progress { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
.brief-stack {
  border-top: 5px solid var(--gold);
}
.feed-row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(31, 42, 46, 0.12);
}
.feed-row strong { color: var(--navy); }
.feed-row span, .muted, .metric span { color: var(--muted); }
.metric strong {
  display: block;
  font-size: 2rem;
  margin-top: 10px;
}

.console-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 9px;
}
.console-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: #fffaf1;
  border-color: var(--navy);
}
.tabpanel { margin-top: 16px; }

.map-layout {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 18px;
  align-items: stretch;
}
.map-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  padding: 24px;
}
.legend {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.legend span {
  border-left: 3px solid var(--green);
  padding: 9px 11px;
  background: rgba(15, 123, 103, 0.07);
  color: #244045;
}
.threat-map {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(19, 35, 51, 0.16);
  border-radius: var(--radius);
  background: #132333;
  box-shadow: var(--shadow);
}
.threat-map canvas {
  display: block;
  width: 100%;
  height: auto;
  min-height: 520px;
}

.article-card {
  position: relative;
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-left: 5px solid var(--navy);
}
.article-card-index {
  position: absolute;
  right: 16px;
  top: 12px;
  color: rgba(19, 35, 51, 0.18);
  font: 900 2.3rem Georgia, "Times New Roman", serif;
}
.article-card h2, .breach-card h2 { color: var(--navy); }
.article-card p, .breach-card p, .source-card p, .tool p {
  color: #526063;
  line-height: 1.56;
}
.source-card, .card {
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.95), rgba(245, 239, 228, 0.88));
}
.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(49, 95, 143, 0.1);
  color: var(--blue);
  font-weight: 900;
  font-size: .72rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
}
form {
  display: grid;
  gap: 10px;
}
label span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.breach-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}
.severity-high { color: var(--red); }
.severity-medium { color: var(--gold); }
.severity-low { color: var(--blue); }

.article-book {
  background:
    linear-gradient(180deg, rgba(19, 35, 51, 0.05), transparent 180px),
    linear-gradient(180deg, #f3f0e9, #e7dfd1);
}
.book-cover {
  max-width: 1180px;
  margin: 0 auto 28px;
  border: 1px solid rgba(51, 42, 31, 0.22);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 66px);
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.98), rgba(233, 221, 200, 0.98)),
    var(--paper);
  color: var(--paper-ink);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.book-cover::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31, 37, 39, 0.13);
  pointer-events: none;
}
.book-cover .eyebrow { color: var(--green); }
.book-cover h1 {
  max-width: 980px;
  color: var(--paper-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .9;
}
.book-cover .lede { color: #4d504a; }
.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.book-meta span {
  border: 1px solid rgba(31, 37, 39, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  color: #4c514b;
  font-weight: 850;
  font-size: .8rem;
}
.flip-reader {
  max-width: 1120px;
  margin: 0 auto;
}
.flip-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.flip-toolbar span {
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 250, 241, 0.72);
  font-weight: 850;
}
.book-stage {
  min-height: 590px;
  perspective: 1900px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
}
.book-stage::before {
  content: "";
  position: absolute;
  width: min(92%, 850px);
  height: 38px;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(43, 37, 30, 0.38), transparent 70%);
  filter: blur(10px);
}
.book-page {
  min-height: 420px;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  color: var(--paper-ink);
  background:
    linear-gradient(90deg, rgba(69, 55, 35, 0.16), transparent 11%, transparent 89%, rgba(69, 55, 35, 0.08)),
    linear-gradient(180deg, #fffaf0, #ede1ca);
  box-shadow:
    0 20px 48px rgba(31, 37, 39, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  position: relative;
}
.book-stage .book-page {
  width: min(92vw, 780px);
  min-height: 510px;
  grid-area: 1 / 1;
  transform-origin: left center;
  backface-visibility: hidden;
  transition: transform .78s cubic-bezier(.2,.8,.2,1), opacity .42s ease, filter .42s ease;
  touch-action: pan-y;
  user-select: text;
}
.book-stage .book-page.is-active {
  opacity: 1;
  transform: rotateY(0deg) translateX(0) scale(1);
  z-index: 4;
  filter: none;
}
.book-stage .book-page.is-before {
  opacity: .5;
  transform: rotateY(-76deg) translateX(-29%) scale(.92);
  z-index: 2;
  filter: saturate(.74);
}
.book-stage .book-page.is-after {
  opacity: .34;
  transform: rotateY(20deg) translateX(19%) scale(.94);
  z-index: 3;
  filter: saturate(.78);
}
.book-stage .book-page.is-dragging {
  box-shadow: 0 30px 70px rgba(31, 37, 39, 0.3);
}
.page-corner {
  position: absolute;
  width: 78px;
  height: 78px;
  border: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(98, 75, 42, 0.16));
  box-shadow: -7px 7px 18px rgba(0,0,0,0.13);
  padding: 0;
  z-index: 5;
}
.next-corner {
  right: 0;
  top: 0;
  border-radius: 0 var(--radius) 0 78px;
}
.prev-corner {
  left: 0;
  top: 0;
  border-radius: var(--radius) 0 78px 0;
  transform: scaleX(-1);
}
.page-corner::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-top: 2px solid rgba(117, 96, 62, 0.5);
  border-right: 2px solid rgba(117, 96, 62, 0.5);
  transform: rotate(45deg);
}
.book-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
}
.book-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
  background: rgba(19, 35, 51, 0.18);
}
.book-dots button[aria-current="page"] {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 123, 103, 0.12);
}
.book-page::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(var(--green), var(--gold));
}
.page-number {
  color: var(--paper-muted);
  font: 850 .78rem Inter, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: 16px;
}
.book-page h2 {
  color: var(--paper-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3.05rem);
  line-height: 1;
  margin-left: 16px;
}
.book-page p {
  margin-left: 16px;
  color: #2f3432;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.72;
}
.book-pages {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.book-related {
  max-width: 1180px;
  margin: 24px auto 0;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.related a, .locked-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.78);
  padding: 16px;
}
.locked-panel {
  text-align: center;
  padding: 40px;
}
.check-item {
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--blue);
  color: #3f4d51;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}
footer strong { color: var(--navy); }
.error { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .book-stage {
    display: block;
    min-height: auto;
  }
  .book-stage .book-page {
    display: none;
    transform: none !important;
    width: 100%;
  }
  .book-stage .book-page.is-active {
    display: block;
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  nav { justify-content: flex-start; }
  .hero,
  .dashboard,
  .article-grid,
  .breach-grid,
  .map-layout,
  .book-pages {
    grid-template-columns: 1fr;
  }
  .source-grid,
  .tool-grid,
  .breach-filters,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: auto;
  }
  .hero-panel {
    min-height: 500px;
  }
  .hero-dossier {
    grid-template-columns: 1fr;
  }
  .book-stage {
    min-height: 630px;
  }
  .book-stage .book-page {
    width: 100%;
    min-height: 575px;
  }
  .book-stage .book-page.is-before {
    transform: rotateY(-62deg) translateX(-18%) scale(.92);
  }
  .book-stage .book-page.is-after {
    transform: rotateY(12deg) translateX(8%) scale(.94);
  }
}

@media (max-width: 580px) {
  h1 { font-size: 2.4rem; }
  nav a { font-size: .9rem; }
  .source-grid,
  .tool-grid,
  .breach-filters,
  .metrics {
    grid-template-columns: 1fr;
  }
  .hero-panel,
  .hero-panel canvas,
  .threat-map,
  .threat-map canvas {
    min-height: 300px;
  }
  .live-threat-surface header {
    display: block;
    padding: 18px 16px 12px;
  }
  .activity-updated { margin: 10px 0 0; }
  .activity-summary { padding: 12px 16px; }
  .scan-status { margin-left: 0; }
  .activity-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px 16px;
  }
  .activity-source { grid-column: 2; }
  .activity-row time { grid-column: 2; }
  .activity-note { padding: 12px 16px; }
  .flip-toolbar {
    flex-wrap: wrap;
  }
  .book-stage {
    min-height: 700px;
    padding: 4px;
  }
  .book-stage .book-page {
    min-height: 650px;
  }
  .page-corner {
    width: 58px;
    height: 58px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Breach Index — responsive, accessible, reduced-motion safe */
.breach-index {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.breach-index h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.breach-index-notice {
  background: var(--surface-2);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  margin: 1rem 0;
}
.breach-index-source { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; }
.breach-index-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.breach-index-form input { flex: 1; min-width: 240px; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; }
.breach-index-form button { padding: 0.6rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.breach-index-form button:hover { background: var(--surface-2); }
.breach-index-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }

.breach-index-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.breach-index-table th, .breach-index-table td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.breach-index-table th { background: var(--surface-2); font-weight: 600; }

.breach-index-pagination { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.breach-index-pagination button { padding: 0.4rem 0.9rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.breach-index-pagination button:disabled { opacity: 0.5; cursor: not-allowed; }

.breach-index-empty, .breach-index-error { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.breach-index-footer { font-size: 0.8rem; color: var(--paper-muted); margin-top: 2rem; }

/* Reduced motion & keyboard focus */
@media (prefers-reduced-motion: reduce) {
  .breach-index * { transition: none !important; }
}
.breach-index input:focus, .breach-index button:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 640px) {
  .breach-index-table { font-size: 0.85rem; }
  .breach-index-form { flex-direction: column; }
  .breach-index-form input { width: 100%; }
}
