* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .10);
  --line-soft: rgba(0, 0, 0, .06);
  --blue: #0071e3;
  --blue-dark: #005bb5;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9500;
  --shadow: 0 18px 45px rgba(0, 0, 0, .08);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, .06);
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 113, 227, .11), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(52, 199, 89, .08), transparent 28%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 42%, #f2f2f4 100%);
  letter-spacing: 0;
}

.app-shell {
  width: min(1480px, calc(100% - 44px));
  margin: 28px auto 54px;
  display: grid;
  gap: 18px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.title-row,
.progress-head,
.table-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.03;
}

h2 {
  font-size: 20px;
  line-height: 1.15;
}

p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.status-pill {
  min-width: 96px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--blue);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.debug-link {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 113, 227, .09);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.grid-form {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

label {
  grid-column: span 3;
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

label:nth-child(5),
label:nth-child(6),
label:nth-child(7),
label:nth-child(8) {
  grid-column: span 2;
}

input,
select,
button {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

input:focus,
select:focus {
  border-color: rgba(0, 113, 227, .65);
  outline: 4px solid rgba(0, 113, 227, .14);
}

button {
  grid-column: span 2;
  align-self: end;
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #1687ff 0%, var(--blue) 100%);
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 113, 227, .22);
}

button:hover {
  background: linear-gradient(180deg, #0f7bf0 0%, var(--blue-dark) 100%);
}

button:disabled {
  opacity: .55;
  cursor: wait;
  box-shadow: none;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid rgba(0, 113, 227, .18);
  outline-offset: 2px;
}

.secondary-btn,
.warning-btn,
.danger-btn,
.link-btn {
  width: auto;
}

.secondary-btn {
  height: 34px;
  align-self: auto;
  color: var(--blue);
  background: rgba(0, 113, 227, .09);
  border-color: transparent;
  box-shadow: none;
}

.secondary-btn:hover {
  color: #fff;
  background: var(--blue);
}

.link-btn {
  height: auto;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--blue-dark);
  background: transparent;
}

.danger-btn {
  height: 30px;
  align-self: auto;
  padding: 0 10px;
  color: var(--red);
  background: rgba(255, 59, 48, .10);
  border-color: transparent;
  box-shadow: none;
  font-weight: 600;
}

.danger-btn:hover {
  color: #fff;
  background: var(--red);
}

.warning-btn {
  height: 30px;
  align-self: auto;
  padding: 0 10px;
  color: #9a5b00;
  background: rgba(255, 149, 0, .14);
  border-color: transparent;
  box-shadow: none;
  font-weight: 600;
}

.warning-btn:hover {
  color: #fff;
  background: var(--orange);
}

.small-btn {
  height: 30px;
  padding: 0 10px;
}

.progress-track {
  height: 10px;
  margin: 20px 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width .25s ease;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.metrics span {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.metrics strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.log-box {
  min-height: 170px;
  max-height: 300px;
  overflow: auto;
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: #1c1c1e;
  color: #f5f5f7;
  white-space: pre-wrap;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.download {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(52, 199, 89, .20);
}

.download:hover {
  background: #2fb350;
}

.hidden {
  display: none;
}

.table-wrap {
  overflow: auto;
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface-solid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

table {
  width: 100%;
  min-width: 1240px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  line-height: 1.35;
}

.compact-table table {
  min-width: 1280px;
}

.worker-progress {
  width: 210px;
  display: grid;
  gap: 5px;
}

.worker-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.worker-progress-top span:first-child {
  color: var(--text);
  font-weight: 700;
}

.worker-progress-top span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worker-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
}

.worker-progress-bar {
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width .25s ease;
}

.worker-progress-bar.queued,
.worker-progress-bar.starting,
.worker-progress-bar.running {
  animation: worker-progress-pulse 1.4s ease-in-out infinite;
}

@keyframes worker-progress-pulse {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

.worker-progress-bar.queued,
.worker-progress-bar.starting {
  background: linear-gradient(90deg, #8e8e93, var(--orange));
}

.worker-progress-bar.stopped,
.worker-progress-bar.error {
  background: linear-gradient(90deg, var(--orange), var(--red));
}

.worker-progress-bar.done {
  background: var(--green);
}

.worker-progress-message {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: rgba(250, 250, 252, .96);
  font-size: 11px;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: rgba(0, 113, 227, .045);
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 32px;
  font-size: 13px;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

#jobIdLabel {
  color: var(--muted);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .app-shell {
    width: calc(100% - 28px);
  }

  label,
  label:nth-child(1),
  label:nth-child(2),
  label:nth-child(3),
  label:nth-child(4) {
    grid-column: span 6;
  }

  label:nth-child(5),
  label:nth-child(6),
  label:nth-child(7),
  label:nth-child(8),
  button {
    grid-column: span 3;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: calc(100% - 20px);
    margin: 10px auto 32px;
    gap: 12px;
  }

  .panel {
    padding: 16px;
    border-radius: 18px;
  }

  .title-row,
  .progress-head,
  .table-head {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  label,
  label:nth-child(n),
  button {
    grid-column: 1 / -1;
  }

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

  h1 {
    font-size: 40px;
  }
}

/* Public product page and authentication surface. */
.landing-page,
.auth-page {
  background: #f7f7f5;
}

.search-page {
  background: #f5f5f7;
}

.search-page .app-shell {
  margin-top: 22px;
}

.search-page .panel {
  border-radius: 16px;
}

.search-page .panel:first-child {
  border-top: 3px solid var(--blue);
}

.search-page .title-row p {
  margin-top: 10px;
}

.search-page .progress-panel {
  background: #fff;
}

.site-nav,
.landing-hero,
.trust-strip,
.landing-section,
.site-footer,
.auth-shell {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark span,
.site-footer > span:first-child span {
  color: var(--orange);
}

.site-nav nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link,
.site-footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.nav-link:hover,
.site-footer a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta,
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta {
  padding: 11px 16px;
}

.primary-link {
  padding: 15px 19px;
  font-size: 14px;
}

.nav-cta:hover,
.primary-link:hover {
  color: #fff;
  background: #3a3a3c;
  text-decoration: none;
}

.primary-link span,
.outline-link span {
  font-size: 18px;
  line-height: 1;
}

.landing-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: 90px;
  padding: 84px 0 76px;
  padding-left: 64px;
  padding-right: 64px;
  overflow: hidden;
  border-radius: 24px;
  background-color: #1f2c35;
  background-image: url("hero-surprise.webp");
  background-position: center;
  background-size: cover;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(10, 18, 25, .66);
}

.landing-hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 18px 0 22px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
  color: #fff;
}

.hero-copy h1 em {
  color: #8fd3ff;
  font-style: normal;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  line-height: 1.45;
}

.hero-note {
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
}

.hero-signal {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
}

.signal-header,
.signal-row,
.signal-result {
  display: flex;
  align-items: center;
}

.signal-header {
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 199, 89, .12);
}

.signal-status {
  margin-left: auto;
  color: var(--green);
}

.signal-row {
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.signal-row strong {
  color: var(--text);
  font-size: 13px;
  text-align: right;
}

.signal-green {
  color: #16803c !important;
}

.signal-divider {
  height: 1px;
  margin: 24px 0 4px;
  background: var(--line);
}

.signal-result {
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.signal-result:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.result-index {
  color: var(--muted);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
}

.signal-result div {
  min-width: 0;
  flex: 1;
}

.signal-result strong,
.signal-result small {
  display: block;
}

.signal-result strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-result small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.result-score {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.landing-section {
  padding: 112px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
}

.landing-section h2 {
  max-width: 440px;
  margin-top: 18px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.method-list {
  border-top: 1px solid var(--line);
}

.method-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.method-list article > span {
  color: var(--blue);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.method-list h3 {
  margin: 0;
  font-size: 17px;
}

.method-list p,
.output-section p {
  max-width: 540px;
  margin-top: 8px;
  font-size: 14px;
}

.output-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.outline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.outline-link:hover {
  color: var(--blue);
  border-color: var(--blue);
  text-decoration: none;
}

.site-footer {
  justify-content: space-between;
  min-height: 82px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
}

.auth-shell .brand-mark {
  align-self: start;
  justify-self: start;
}

.auth-card {
  width: min(420px, 100%);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
}

.auth-card h1 {
  margin-top: 16px;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.auth-card p {
  margin-bottom: 26px;
  font-size: 14px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  grid-column: auto;
  color: var(--text);
  font-size: 12px;
}

.auth-form button {
  grid-column: auto;
  margin-top: 4px;
  background: var(--text);
  box-shadow: none;
}

.auth-form button:hover {
  background: #3a3a3c;
}

.form-error {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 59, 48, .1);
  color: #b42318;
  font-size: 12px;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 800px) {
  .site-nav,
  .landing-hero,
  .trust-strip,
  .landing-section,
  .site-footer,
  .auth-shell {
    width: min(100% - 32px, 560px);
  }

  .site-nav nav {
    gap: 12px;
  }

  .nav-link {
    display: none;
  }

  .landing-hero,
  .section-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .landing-section h2 {
    font-size: 35px;
  }

  .output-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 56px 0;
  }
}

/* Public guides and search-oriented content. */
.seo-section { border-top: 1px solid var(--line); }
.seo-section h2 { max-width: 760px; }
.seo-section > p { max-width: 780px; line-height: 1.75; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.guide-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.guide-grid h3 { font-size: 21px; line-height: 1.3; }
.guide-grid p, .faq-section p { line-height: 1.7; }
.faq-section details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq-section p { max-width: 850px; margin: 14px 0 0; }
.guide-main { max-width: 820px; margin: 0 auto; padding: 36px 0 80px; }
.breadcrumbs { margin-bottom: 42px; color: var(--muted); font-size: 14px; }
.guide-main h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.08; letter-spacing: -.035em; margin: 18px 0 24px; }
.guide-intro { font-size: 21px; line-height: 1.6; }
.guide-toc { padding: 24px; margin: 32px 0; border: 1px solid var(--line); border-radius: 16px; }
.guide-toc li, .guide-related li { margin: 10px 0; }
.guide-main section { margin-top: 42px; scroll-margin-top: 30px; }
.guide-main h2 { font-size: 28px; line-height: 1.2; }
.guide-main section p { font-size: 17px; line-height: 1.8; }
.guide-related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.guide-related .primary-link { margin-top: 20px; }
@media (max-width: 760px) {
  .guide-grid { grid-template-columns: 1fr; gap: 16px; }
  .guide-main { padding-top: 20px; }
}

/* Shared visual language: warm surfaces, ink typography, blue actions. */
:root { --text: #192c39; --muted: #61707a; --line: #dce2e4; --line-soft: #e8edef; --blue: #1265bb; --blue-dark: #0c4f98; }
html { background: #f6f7f8; scroll-behavior: smooth; }
.landing-page { background: #fafaf7; }
.site-nav { min-height: 92px; border-bottom: 0; gap: 20px; }
.brand-mark { font-size: 29px; font-weight: 850; letter-spacing: -.065em; }
.brand-mark span { color: #e27b42; }
.nav-link { font-weight: 550; }
.nav-cta { padding: 13px 22px; }
.landing-hero { display: flex; min-height: 570px; padding: 72px; margin-top: 8px; border-radius: 28px; background-position: center 42%; }
.landing-hero::before { background: linear-gradient(90deg, rgba(11,29,41,.93), rgba(11,29,41,.65) 58%, rgba(11,29,41,.16)); }
.hero-copy { max-width: 740px; }
.hero-copy .eyebrow { color: #bcd8e8; font-size: 11px; letter-spacing: .13em; }
.hero-copy h1 { max-width: 760px; font-size: clamp(48px, 6.1vw, 78px); font-weight: 650; line-height: 1.04; margin: 24px 0; }
.hero-copy h1 em { color: #f5ba8b; }
.hero-lead { max-width: 575px; font-size: 18px; line-height: 1.7; color: #e1e7eb; }
.hero-actions { flex-wrap: wrap; gap: 18px; margin-top: 32px; }
.hero-actions .primary-link { background: #fff; color: #192c39; border-radius: 12px; padding: 17px 23px; }
.hero-actions .primary-link:hover { background: #f5ba8b; }
.hero-note { color: #d0dbe1; }
.trust-strip { padding: 27px 10px; margin-top: 22px; border-top: 0; letter-spacing: .065em; font-size: 10px; }
.landing-section { padding-top: 80px; padding-bottom: 80px; }
.landing-section h2 { font-size: clamp(30px, 3.7vw, 44px); line-height: 1.13; letter-spacing: -.045em; }
.section-grid { gap: 70px; }
.method-list { border-top: 0; }
.method-list article { padding: 24px 0; }
.method-list article > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #edf2f5; font-weight: 700; }
.method-list h3 { font-size: 19px; }
.method-list p, .output-section p { line-height: 1.8; font-size: 15px; }
.output-section { align-items: center; }
.output-section .outline-link { white-space: nowrap; }
.guide-grid { gap: 20px; }
.guide-grid article { padding: 30px; background: #fff; box-shadow: 0 8px 25px #192c3905; transition: border-color .2s, transform .2s; }
.guide-grid article:hover { border-color: #8caec5; transform: translateY(-3px); }
.guide-grid h3 { margin-top: 0; }
.guide-grid h3 a { color: var(--text); text-decoration: none; }
.guide-grid h3 a:hover { color: var(--blue); }
.faq-section { padding-top: 60px; }
.faq-section h2 { margin-bottom: 26px; }
.faq-section summary { line-height: 1.5; }
.faq-section details[open] summary { color: var(--blue); }
.site-footer { min-height: 100px; }
.guide-main { width: min(820px, calc(100% - 40px)); }
.search-page { background: #f2f5f7; }
.search-page .site-nav { width: min(1360px, calc(100% - 64px)); border-bottom: 1px solid var(--line); }
.search-page .app-shell { width: min(1360px, calc(100% - 64px)); gap: 24px; margin-top: 36px; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 10px 0 14px; }
.workspace-heading h1 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.045em; line-height: 1.12; margin: 14px 0; font-weight: 650; }
.workspace-heading p { font-size: 15px; }
.workspace-guide { font-size: 13px; color: var(--blue); text-decoration: none; padding-bottom: 5px; }
.workspace-guide span { margin-left: 14px; }
.search-page .panel { min-width: 0; padding: 30px; border: 1px solid #e0e7eb; border-radius: 20px; background: #fff; box-shadow: 0 5px 20px #19354a04; backdrop-filter: none; }
.search-page .panel h2 { font-size: 23px; letter-spacing: -.025em; }
.search-page .title-row { padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.search-page .title-row p { margin-top: 7px; font-size: 14px; }
.status-pill { min-width: 88px; color: #23644c; background: #edf7f1; border: 1px solid #d7e9df; box-shadow: none; }
.grid-form { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 26px; }
.grid-form > label:nth-child(n) { grid-column: span 1; font-size: 12px; color: #405463; gap: 9px; }
.form-section-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; color: #233d4f; }
.form-section-label > span { display: grid; place-items: center; width: 26px; height: 26px; font-size: 10px; border: 1px solid #dce5eb; border-radius: 8px; color: var(--blue); }
.form-section-secondary { margin-top: 8px; }
.grid-form input, .grid-form select { height: 49px; padding: 0 14px; border-radius: 10px; background: #f9fbfc; border-color: #dce4e9; box-shadow: none; font-size: 14px; }
.grid-form input::placeholder { color: #82909b; }
.form-submit-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 23px; margin-top: 4px; border-top: 1px solid var(--line-soft); }
.form-submit-row p { font-size: 12px; margin: 0; }
.form-submit-row button { width: auto; min-width: 195px; height: 48px; padding: 0 22px; border-radius: 10px; background: var(--blue); box-shadow: 0 5px 12px #1265bb1a; }
.form-submit-row button:hover { background: var(--blue-dark); }
.form-submit-row button span { margin-left: 22px; }
.search-page .metrics { gap: 16px; margin-top: 20px; }
.search-page .metrics span { padding: 22px; border-radius: 12px; background: #f5f8fa; border: 0; font-size: 12px; }
.search-page .metrics strong { font-size: 29px; margin-bottom: 9px; font-weight: 600; overflow-wrap: anywhere; }
.search-page .progress-track { height: 7px; margin-top: 22px; background: #eaf0f4; }
.search-page .progress-bar { background: #377fb7; }
.activity-details { margin-top: 22px; color: var(--muted); font-size: 12px; }
.activity-details summary { cursor: pointer; padding: 6px 0; }
.log-box { background: #152c3b; min-height: 90px; }
.table-head { align-items: center; }
.table-head .eyebrow { display: block; margin-bottom: 8px; font-size: 10px; }
#jobIdLabel { font-size: 11px; overflow-wrap: anywhere; color: var(--muted); }
.search-page .table-wrap { border-radius: 12px; margin-top: 24px; }
.search-page th { background: #f3f7f9; padding: 15px 13px; font-size: 10px; text-transform: uppercase; letter-spacing: .055em; color: #596d7c; }
.search-page td { padding: 15px 13px; }
.search-page tbody tr:hover td { background: #f7fafc; }
.search-page .empty { text-align: left; height: 150px; padding: 32px; font-size: 13px; line-height: 1.9; }
.empty strong { color: #354e60; font-size: 16px; font-weight: 550; }
.search-page .secondary-btn { border: 1px solid #dce6ee; background: #f5f8fb; color: var(--blue); border-radius: 9px; }
.search-page .secondary-btn:hover { background: #e7eff7; }
@media (max-width: 900px) {
  .landing-hero { padding: 48px; }
  .section-grid { gap: 35px; }
  .grid-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workspace-heading { align-items: flex-start; }
  .workspace-guide { max-width: 165px; line-height: 1.6; }
}
@media (max-width: 600px) {
  .site-nav { min-height: 78px; }
  .brand-mark { font-size: 26px; }
  .nav-cta { font-size: 12px; padding: 12px 16px; }
  .landing-hero { padding: 38px 25px; min-height: 540px; border-radius: 20px; }
  .hero-copy h1 { font-size: clamp(39px, 10vw, 55px); }
  .hero-copy .eyebrow { font-size: 9px; line-height: 1.8; letter-spacing: .07em; }
  .hero-lead { font-size: 16px; }
  .hero-note { line-height: 1.7; font-size: 10px; }
  .landing-section { padding-top: 52px; padding-bottom: 52px; }
  .trust-strip { gap: 18px; line-height: 1.6; }
  .guide-grid article { padding: 24px; }
  .search-page .site-nav, .search-page .app-shell { width: calc(100% - 28px); }
  .search-page .app-shell { margin-top: 24px; gap: 16px; }
  .workspace-heading { flex-direction: column; gap: 16px; padding: 0 6px 12px; }
  .workspace-guide { max-width: none; }
  .search-page .panel { padding: 20px; border-radius: 16px; }
  .search-page .title-row { gap: 12px; }
  .status-pill { min-width: 65px; padding: 7px 9px; font-size: 11px; }
  .grid-form { grid-template-columns: 1fr; gap: 17px; }
  .grid-form input, .grid-form select { font-size: 16px; }
  .form-submit-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .form-submit-row button { width: 100%; }
  .search-page .metrics { grid-template-columns: 1fr; gap: 9px; }
  .search-page .metrics span { padding: 16px; }
  .search-page .metrics strong { font-size: 25px; }
  .table-head { flex-wrap: wrap; }
  .progress-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.email-cell { min-width: 200px; }
.email-cell > a { font-weight: 600; }
.email-cell small { display: block; margin-top: 6px; font-size: 10px; }
.email-cell small a { color: var(--muted); }
.email-missing { display: inline-block; border-radius: 6px; background: #fff4e7; color: #986021; padding: 4px 7px; font-size: 11px; }
.sources-hint { grid-column: 1 / -1; font-size: 11px; line-height: 1.7; margin-top: 0; }
