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

:root {
  --bg: #f9fafb;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --radius: 8px;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

nav { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 2rem; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-weight: 700; color: var(--primary); text-decoration: none; font-size: 1.1rem; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.35rem 0.75rem; border-radius: var(--radius); }
.nav-link:hover { background: var(--bg); color: var(--text); text-decoration: none; }
.nav-link-active { background: var(--bg); color: var(--primary); font-weight: 600; }

main { max-width: 900px; margin: 2rem auto; padding: 0 1rem; display: flex; flex-direction: column; gap: 1.5rem; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.card h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1rem; margin: 1rem 0 0.5rem; color: var(--muted); }

.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
input, select { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem 0.75rem; font-size: 0.95rem; width: 100%; outline: none; }
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }

button, .btn { background: var(--primary); color: #fff; border: none; border-radius: var(--radius); padding: 0.6rem 1.25rem; font-size: 0.95rem; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: var(--primary-hover); }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 2px solid var(--border); color: var(--muted); font-weight: 500; }
td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
td.url { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.score { font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.score-good { background: #dcfce7; color: var(--good); }
.score-warn { background: #fef3c7; color: var(--warn); }
.score-bad  { background: #fee2e2; color: var(--bad); }

.schema-type-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.25rem;
}

.status-pending { color: var(--muted); }
.status-running { color: var(--warn); }
.status-done    { color: var(--good); }
.status-failed  { color: var(--bad); }

progress { width: 100%; height: 8px; border-radius: 4px; margin-top: 0.5rem; }

.stats { display: flex; gap: 2rem; margin-bottom: 1rem; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--muted); }

.badge { background: var(--border); border-radius: 4px; padding: 0.1rem 0.4rem; font-size: 0.8rem; margin-left: 0.5rem; }

.issues li { padding: 0.3rem 0; color: var(--bad); }
.suggestions li { padding: 0.3rem 0; color: var(--good); }
ul.issues, ul.suggestions { padding-left: 1rem; }

.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.meta-grid strong { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; }
.meta-grid p { margin-top: 0.2rem; }

.breadcrumb { font-size: 0.875rem; color: var(--muted); }
.breadcrumb a { color: var(--primary); text-decoration: none; }

.error { color: var(--bad); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Logs page ─────────────────────────────────────────────────────────── */
.log-filters { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; }
.log-filters .field { margin-bottom: 0; }

.log-counts { display: flex; gap: 0.75rem; align-items: center; font-size: 0.875rem; color: var(--muted); flex-wrap: wrap; }

.log-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: 4px; letter-spacing: 0.03em; }
.log-info    { background: #dbeafe; color: #1d4ed8; }
.log-warning { background: #fef3c7; color: #b45309; }
.log-error   { background: #fee2e2; color: #b91c1c; }

.logs-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.logs-table th { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--border); color: var(--muted); font-weight: 500; background: var(--bg); }
.logs-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.logs-table tr:last-child td { border-bottom: none; }
.logs-table tr:hover td { background: var(--bg); }

.log-time { font-family: monospace; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.log-url  { max-width: 220px; font-family: monospace; font-size: 0.8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-empty { text-align: center; padding: 2rem; color: var(--muted); font-style: italic; }

.log-pagination { display: flex; gap: 1rem; align-items: center; justify-content: center; }

/* ── landing page ─────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
.cursor { display:inline-block; width:7px; height:13px; background:#f97316; vertical-align:-2px; animation: blink 1s infinite; }

body.landing {
  --lp-bg:      #06090f;
  --lp-bg2:     #0b1120;
  --lp-bg3:     #0f1929;
  --lp-orange:  #f97316;
  --lp-orange2: #fb923c;
  --lp-border:  rgba(255,255,255,0.08);
  --lp-border2: rgba(255,255,255,0.12);
  --lp-dim:     rgba(255,255,255,0.5);
  --lp-dimmer:  rgba(255,255,255,0.25);
  --lp-dimmest: rgba(255,255,255,0.06);
  --font-mono:  'SF Mono','Fira Code','Cascadia Code',Consolas,monospace;
  background: var(--lp-bg);
  color: #fff;
  line-height: 1.6;
}

/* reset inherited light-theme leakage */
body.landing a { color: inherit; text-decoration: none; }
body.landing input, body.landing select {
  border: none; border-radius: 0; padding: 0; background: transparent;
  box-shadow: none; width: auto; font-size: inherit;
}
body.landing button { background: none; border: none; border-radius: 0; padding: 0; }
body.landing input:focus, body.landing select:focus { box-shadow: none; }

/* ── Nav ── */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,9,15,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--lp-border);
}
.lp-nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.lp-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; color: #fff; text-decoration: none;
}
.lp-brand-icon {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #f97316, #fb923c);
}
.lp-nav-cta {
  background: var(--lp-orange); color: #fff;
  font-size: 13px; font-weight: 500; padding: 7px 16px;
  border-radius: 7px; text-decoration: none; transition: opacity 0.15s;
}
.lp-nav-cta:hover { opacity: 0.85; }

/* ── Hero ── */
.lp-hero {
  background: var(--lp-bg); padding: 110px 48px 90px;
  text-align: center; position: relative; overflow: hidden;
}
.lp-orb { position: absolute; pointer-events: none; border-radius: 50%; }
.lp-orb-t {
  width: 900px; height: 450px; top: -180px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(249,115,22,0.13) 0%, transparent 65%);
}
.lp-orb-l {
  width: 600px; height: 600px; top: 0; left: -250px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.08) 0%, transparent 65%);
}
.lp-orb-r {
  width: 600px; height: 600px; top: 80px; right: -250px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,0.07) 0%, transparent 65%);
}
.lp-hero-inner {
  position: relative; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.lp-badge {
  display: inline-block;
  border: 1px solid rgba(249,115,22,0.4); background: rgba(249,115,22,0.08);
  color: var(--lp-orange2); font-family: var(--font-mono); font-size: 11px;
  padding: 5px 14px; border-radius: 20px; letter-spacing: 0.3px;
}
.lp-h1 {
  font-size: 60px; font-weight: 600; letter-spacing: -2px; line-height: 1.1; margin: 0;
}
.lp-text-orange {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero-sub {
  font-size: 18px; color: var(--lp-dim); max-width: 540px; margin: 0; line-height: 1.65;
}

/* hero URL bar */
.lp-hero-form { width: 100%; max-width: 640px; }
.lp-input-wrap {
  display: flex; border: 0.5px solid var(--lp-border2);
  border-radius: 12px; background: rgba(11,17,32,0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.lp-url-input {
  flex: 1; border: none !important; background: transparent !important;
  color: #fff !important; padding: 15px 18px !important;
  font-size: 15px !important; outline: none !important;
  border-radius: 0 !important; width: auto !important;
}
.lp-url-input::placeholder { color: var(--lp-dimmer); }
.lp-input-btn {
  background: var(--lp-orange) !important; color: #fff !important;
  border: none; padding: 15px 22px !important; font-size: 14px !important;
  font-weight: 500; cursor: pointer; white-space: nowrap;
  border-radius: 0 12px 12px 0; transition: opacity 0.15s;
}
.lp-input-btn:hover { opacity: 0.85; }

/* trust + platforms */
.lp-trust { display: flex; gap: 20px; font-size: 13px; color: var(--lp-dimmer); }
.lp-platforms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lp-platform-tag {
  background: var(--lp-dimmest); border: 0.5px solid var(--lp-border);
  color: var(--lp-dimmer); font-size: 12px; padding: 4px 13px; border-radius: 20px;
}

/* hero preview card */
.lp-preview {
  width: 100%; max-width: 860px;
  background: var(--lp-bg2); border: 0.5px solid var(--lp-border2);
  border-radius: 16px; overflow: hidden; text-align: left; margin-top: 16px;
}
.lp-preview-bar {
  background: var(--lp-bg3); padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 0.5px solid var(--lp-border);
}
.lp-preview-dots { display: flex; gap: 6px; }
.lp-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-dot-r { background: #ff5f56; }
.lp-dot-y { background: #ffbd2e; }
.lp-dot-g { background: #27c93f; }
.lp-preview-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--lp-dim); flex: 1;
}
.lp-done-pill {
  background: rgba(74,222,128,0.1); color: #4ade80;
  font-family: var(--font-mono); font-size: 11px;
  padding: 3px 9px; border-radius: 4px;
}
.lp-preview-stats {
  display: flex; align-items: stretch; border-bottom: 0.5px solid var(--lp-border);
}
.lp-stat-cell { flex: 1; text-align: center; padding: 18px 12px; }
.lp-stat-div { width: 0.5px; background: var(--lp-border); flex-shrink: 0; }
.lp-stat-val { font-size: 24px; font-weight: 600; color: var(--lp-orange); }
.lp-stat-lbl {
  font-family: var(--font-mono); font-size: 10px; color: var(--lp-dimmer); margin-top: 2px;
}
.lp-preview-rows { display: flex; flex-direction: column; }
.lp-preview-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 0.5px solid var(--lp-border); font-size: 13px;
}
.lp-preview-row:last-child { border-bottom: none; }
.lp-purl {
  flex: 1; color: var(--lp-dim); font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-pscore {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
}
.lp-ps-good { background: rgba(74,222,128,0.1);  color: #4ade80; }
.lp-ps-warn { background: rgba(251,191,36,0.1);  color: #fbbf24; }
.lp-ps-bad  { background: rgba(248,113,113,0.1); color: #f87171; }
.lp-pissues { font-size: 11px; color: var(--lp-dimmer); flex-shrink: 0; }
.lp-pview   { font-size: 11px; color: var(--lp-orange2); flex-shrink: 0; }

/* ── Logos bar ── */
.lp-logos {
  border-top: 0.5px solid var(--lp-border); border-bottom: 0.5px solid var(--lp-border);
  background: var(--lp-bg); padding: 18px 0;
}
.lp-logos-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.lp-logos-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--lp-orange);
  white-space: nowrap; flex-shrink: 0;
}
.lp-logo-name { font-size: 13px; color: var(--lp-dimmer); white-space: nowrap; }

/* ── Bento section ── */
.lp-bento-section { background: var(--lp-bg2); padding: 80px 0; }
.lp-bento-inner { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.lp-section-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--lp-orange);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.lp-section-title { font-size: 30px; font-weight: 600; letter-spacing: -0.5px; margin: 0 0 10px; }
.lp-section-sub { font-size: 15px; color: var(--lp-dim); margin: 0 0 48px; }

.lp-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a a b b"
    "c d e e";
  gap: 14px;
}
.lp-bcard {
  background: var(--lp-bg3); border: 0.5px solid var(--lp-border2);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-bcard-a { grid-area: a; }
.lp-bcard-b { grid-area: b; }
.lp-bcard-c { grid-area: c; }
.lp-bcard-d { grid-area: d; }
.lp-bcard-e { grid-area: e; }
.lp-bc-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--lp-orange); letter-spacing: 0.3px;
}
.lp-bc-title { font-size: 15px; font-weight: 600; color: #fff; }
.lp-bc-desc { font-size: 13px; color: var(--lp-dim); line-height: 1.6; margin: 0; }

/* mini terminal */
.lp-mini-term {
  background: rgba(6,9,15,0.6); border: 0.5px solid var(--lp-border);
  border-radius: 8px; padding: 14px 16px; margin-top: auto;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.8;
}
.lp-mt-line { white-space: pre-wrap; }
.lp-mt-dim   { color: var(--lp-dimmer); }
.lp-mt-fn    { color: var(--lp-orange2); }
.lp-mt-str   { color: #60a5fa; }
.lp-mt-orange { color: var(--lp-orange); }
.lp-mt-green  { color: #4ade80; }
.lp-mt-red    { color: #f87171; }
.lp-mt-light  { color: rgba(255,255,255,0.8); }
.lp-mt-spacer { height: 10px; }

/* score ring */
.lp-score-ring-wrap {
  position: relative; width: 80px; height: 80px; margin: 8px auto;
}
.lp-ring-svg { width: 80px; height: 80px; }
.lp-ring-val {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px; font-weight: 700; color: var(--lp-orange);
  font-family: var(--font-mono);
}
.lp-score-band {
  font-family: var(--font-mono); font-size: 11px; text-align: center;
  padding: 3px 10px; border-radius: 4px; width: fit-content; margin: 0 auto;
}
.lp-band-good { background: rgba(74,222,128,0.1); color: #4ade80; }

/* provider pills */
.lp-ppills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.lp-ppill {
  font-family: var(--font-mono); font-size: 11px;
  background: var(--lp-dimmest); border: 0.5px solid var(--lp-border);
  color: var(--lp-dimmer); padding: 4px 10px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
}
.lp-ppill-on {
  background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.3);
  color: var(--lp-orange2);
}
.lp-pfree {
  background: rgba(74,222,128,0.15); color: #4ade80;
  font-size: 9px; padding: 1px 5px; border-radius: 3px;
}

/* checklist */
.lp-checklist { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-top: auto; }
.lp-checklist li { font-size: 12px; color: var(--lp-dim); display: flex; align-items: center; gap: 7px; }
.lp-ck { color: #4ade80; font-size: 11px; flex-shrink: 0; }

/* ── Form section ── */
.lp-form-section { background: var(--lp-bg); padding: 80px 28px; }
.lp-form-inner { max-width: 680px; margin: 0 auto; }
.lp-form-card {
  background: rgba(11,17,32,0.9); border: 0.5px solid var(--lp-border2);
  box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 16px; padding: 36px;
}
.lp-form-title { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.lp-form-sub { font-size: 13px; color: var(--lp-dim); margin: 0 0 28px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lp-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--lp-orange);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.lp-input {
  background: var(--lp-bg) !important; border: 0.5px solid var(--lp-border2) !important;
  border-radius: 8px !important; color: #fff !important;
  padding: 11px 14px !important; font-size: 14px !important;
  width: 100% !important; outline: none !important; transition: border-color 0.15s;
}
.lp-input::placeholder { color: var(--lp-dimmer); }
.lp-input:focus { border-color: var(--lp-orange) !important; }

.lp-provider-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--lp-bg); border: 0.5px solid var(--lp-border2);
  border-radius: 8px; padding: 11px 14px;
}
.lp-provider-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 5px #4ade80; flex-shrink: 0;
}
.lp-provider-name { font-size: 13px; color: #fff; flex: 1; }
.lp-provider-pills { display: flex; gap: 5px; }
.lp-pill {
  font-family: var(--font-mono); font-size: 10px; color: var(--lp-dimmer);
  background: var(--lp-dimmest); border: 0.5px solid var(--lp-border);
  padding: 2px 7px; border-radius: 4px;
}
.lp-submit {
  width: 100% !important; background: var(--lp-orange) !important;
  color: #fff !important; border: none !important; border-radius: 8px !important;
  padding: 14px !important; font-family: var(--font-mono) !important;
  font-size: 15px !important; font-weight: 500 !important; cursor: pointer;
  margin-top: 8px; transition: opacity 0.15s; display: block;
}
.lp-submit:hover { opacity: 0.85; }
.lp-privacy {
  font-family: var(--font-mono); font-size: 11px; color: var(--lp-dimmer);
  text-align: center; margin-top: 14px;
}

.field-error {
  display: block; font-size: 12px; color: #f87171;
  margin-top: 4px; font-family: var(--font-mono);
}
.lp-field-hint {
  font-size: 11px; color: var(--lp-dimmer); margin-top: 3px;
  font-family: var(--font-mono);
}
.char-counter {
  font-size: 11px; color: rgba(255,255,255,0.3); text-align: right;
  margin-top: 4px; font-family: var(--font-mono);
}
.char-counter.warn   { color: #fbbf24; }
.char-counter.danger { color: #f87171; }

body.landing .lp-textarea {
  resize: vertical !important; min-height: 80px !important; max-height: 160px !important;
  line-height: 1.5 !important;
}

/* Hero section link CTA (replaces inline form) */
.lp-hero-cta-link { text-decoration: none; display: block; }
.lp-input-wrap-link { cursor: pointer; }
.lp-url-input-placeholder {
  flex: 1; color: var(--lp-dimmer); font-size: 15px; padding: 0 20px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Button loading state ── */
#run-btn.lp-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ── Job status badge (dark theme) ── */
.job-status-badge {
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px; border-radius: 4px; font-weight: 500;
}
.job-status-badge.status-pending { background: rgba(107,114,128,0.15); color: #9ca3af; }
.job-status-badge.status-running { background: rgba(249,115,22,0.15);  color: #f97316; }
.job-status-badge.status-done    { background: rgba(74,222,128,0.15);  color: #4ade80; }
.job-status-badge.status-failed  { background: rgba(248,113,113,0.15); color: #f87171; }

/* ── Inline audit results ── */
.audit-results-container { max-width: 680px; margin: 20px auto 0; }

.inline-job-card {
  background: rgba(11,17,32,0.8);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 12px; overflow: hidden;
}
.inline-job-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(15,25,41,0.9);
}
.inline-job-title {
  font-size: 13px; font-weight: 500; color: #fff; font-family: var(--font-mono);
}
.inline-progress { padding: 20px; }
.inline-progress-bar {
  height: 4px; background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden; margin-bottom: 10px;
}
.inline-progress-fill {
  height: 100%; background: linear-gradient(90deg, #f97316, #fb923c);
  border-radius: 2px; transition: width 0.5s ease;
}
.inline-progress-text {
  font-size: 12px; color: rgba(255,255,255,0.4); font-family: var(--font-mono);
}
.inline-results {
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
}
.inline-summary {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.07);
  border-radius: 8px; overflow: hidden;
}
.inline-stat {
  background: rgba(11,17,32,0.9); padding: 14px;
  text-align: center; display: flex; flex-direction: column;
}
.inline-stat-val { font-size: 22px; font-weight: 500; color: #f97316; }
.inline-stat-lbl {
  font-size: 10px; color: rgba(255,255,255,0.3);
  font-family: var(--font-mono); margin-top: 3px;
}
.inline-pages {
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(255,255,255,0.07); border-radius: 8px; overflow: hidden;
}
.inline-page-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: rgba(11,17,32,0.9); font-size: 12px;
}
.inline-page-url {
  flex: 1; color: rgba(255,255,255,0.5); font-family: var(--font-mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.inline-page-row .score {
  font-size: 12px; padding: 2px 6px; border-radius: 3px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}
.inline-page-row .score.sc-good { background: rgba(74,222,128,0.1);  color: #4ade80; }
.inline-page-row .score.sc-warn { background: rgba(251,191,36,0.1);  color: #fbbf24; }
.inline-page-row .score.sc-bad  { background: rgba(248,113,113,0.1); color: #f87171; }
.inline-issue-count {
  font-size: 11px; color: rgba(255,255,255,0.3);
  font-family: var(--font-mono); white-space: nowrap;
}
.inline-no-analysis { font-size: 12px; color: rgba(255,255,255,0.2); }
.inline-view-link {
  font-size: 11px; color: #f97316; text-decoration: none; white-space: nowrap;
}
.inline-view-link:hover { text-decoration: underline; }
.inline-full-report {
  display: block; font-size: 13px; color: #f97316; text-decoration: none;
  text-align: center; padding: 10px;
  border: 0.5px solid rgba(249,115,22,0.3); border-radius: 8px;
  font-family: var(--font-mono);
}
.inline-full-report:hover { background: rgba(249,115,22,0.06); }
.inline-alert {
  padding: 10px 14px; border-radius: 8px;
  font-size: 12px; font-family: var(--font-mono);
}
.inline-alert-warn {
  background: rgba(251,191,36,0.08); border: 0.5px solid rgba(251,191,36,0.2);
  color: #fbbf24;
}
.inline-alert-error {
  background: rgba(248,113,113,0.08); border: 0.5px solid rgba(248,113,113,0.2);
  color: #f87171;
}

/* ── Footer ── */
.lp-footer {
  background: var(--lp-bg); border-top: 0.5px solid var(--lp-border);
  padding: 22px 28px; display: flex; align-items: center; justify-content: space-between;
}
.lp-footer-left { font-family: var(--font-mono); font-size: 11px; color: var(--lp-dimmer); }
.lp-footer-link {
  font-family: var(--font-mono); font-size: 11px; color: var(--lp-dimmer); text-decoration: none;
}
.lp-footer-link:hover { color: #fff; }

/* ── Inline page-group (view ↓ expand rows) ── */
.inline-page-group { background: rgba(11,17,32,0.9); }
.page-detail-container:not(:empty) {
  border-top: 0.5px solid rgba(255,255,255,0.07);
}
.inline-view-btn {
  background: none; border: none; cursor: pointer;
  font-size: 11px; color: #f97316; white-space: nowrap;
  font-family: var(--font-mono); padding: 0;
}
.inline-view-btn:hover { text-decoration: underline; }

/* ── Full job report inline ── */
.full-report-wrap {
  display: flex; flex-direction: column; gap: 12px; padding: 4px 0;
}
.frs {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 14px 16px;
}
.frs-title {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.5);
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.frs-subtitle {
  font-size: 10px; color: rgba(255,255,255,0.35);
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.05em; margin: 10px 0 6px;
}
.frs-stats { display: flex; gap: 20px; margin-bottom: 4px; }
.frs-stat { display: flex; flex-direction: column; }
.frs-stat-val { font-size: 20px; font-weight: 500; color: #f97316; }
.frs-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.3); font-family: var(--font-mono); }
.frs-top-issues { margin-top: 10px; }
.frs-issue-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0; border-bottom: 0.5px solid rgba(255,255,255,0.05);
  font-size: 11px; color: rgba(255,255,255,0.55);
}
.frs-issue-row:last-child { border-bottom: none; }
.frs-issue-text { flex: 1; font-family: var(--font-mono); }
.frs-issue-badge {
  font-size: 10px; background: rgba(249,115,22,0.15); color: #f97316;
  padding: 1px 6px; border-radius: 3px; font-family: var(--font-mono);
}
.frs-export {
  display: inline-block; margin-top: 12px; font-size: 12px;
  color: #f97316; text-decoration: none; font-family: var(--font-mono);
  border: 0.5px solid rgba(249,115,22,0.3); border-radius: 6px;
  padding: 6px 12px;
}
.frs-export:hover { background: rgba(249,115,22,0.06); }
.frs-bots { display: flex; flex-direction: column; gap: 4px; }
.frs-bot-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; padding: 4px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.frs-bot-row:last-child { border-bottom: none; }
.frs-bot-name { color: rgba(255,255,255,0.5); font-family: var(--font-mono); }
.frs-bot-status { font-size: 10px; font-family: var(--font-mono); padding: 2px 6px; border-radius: 3px; }
.frs-bot-allowed { background: rgba(74,222,128,0.1);  color: #4ade80; }
.frs-bot-blocked { background: rgba(248,113,113,0.1); color: #f87171; }
.frs-bot-unknown { background: rgba(251,191,36,0.1);  color: #fbbf24; }
.frs-alert {
  padding: 8px 12px; border-radius: 6px; font-size: 11px; font-family: var(--font-mono);
}
.frs-alert-warn {
  background: rgba(251,191,36,0.08); border: 0.5px solid rgba(251,191,36,0.2); color: #fbbf24;
}
.frs-pages { display: flex; flex-direction: column; gap: 1px; }
.frs-page-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 0.5px solid rgba(255,255,255,0.05);
  font-size: 11px;
}
.frs-page-row:last-child { border-bottom: none; }
.frs-page-url {
  flex: 1; color: rgba(255,255,255,0.45); font-family: var(--font-mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frs-score {
  font-size: 11px; padding: 2px 6px; border-radius: 3px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0; font-family: var(--font-mono);
}
.frs-score.sc-good { background: rgba(74,222,128,0.1);  color: #4ade80; }
.frs-score.sc-warn { background: rgba(251,191,36,0.1);  color: #fbbf24; }
.frs-score.sc-bad  { background: rgba(248,113,113,0.1); color: #f87171; }
.frs-issue-count {
  font-size: 10px; color: rgba(255,255,255,0.3); font-family: var(--font-mono); white-space: nowrap;
}
.frs-no-analysis { font-size: 11px; color: rgba(255,255,255,0.2); }
.frs-view-btn {
  background: none; border: none; cursor: pointer;
  font-size: 10px; color: #f97316; white-space: nowrap;
  font-family: var(--font-mono); padding: 0;
}
.frs-view-btn:hover { text-decoration: underline; }

/* ── Page inline detail ── */
.page-inline-wrap {
  padding: 14px 16px; display: flex; flex-direction: column; gap: 12px;
}
.pi-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.pi-meta-item { display: flex; flex-direction: column; gap: 2px; }
.pi-meta-label {
  font-size: 9px; color: rgba(255,255,255,0.3);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
}
.pi-meta-val { font-size: 11px; color: rgba(255,255,255,0.6); word-break: break-word; }
.pi-score-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-top: 0.5px solid rgba(255,255,255,0.07);
}
.pi-score-label {
  font-size: 10px; color: rgba(255,255,255,0.3);
  font-family: var(--font-mono); text-transform: uppercase;
}
.pi-provider { font-size: 10px; color: rgba(255,255,255,0.2); font-family: var(--font-mono); }
.pi-section { display: flex; flex-direction: column; gap: 6px; }
.pi-section-title {
  font-size: 10px; color: rgba(255,255,255,0.35);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
}
.pi-issues {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.pi-issues li {
  font-size: 11px; color: rgba(255,255,255,0.55);
  padding: 4px 0; border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.pi-issues li:last-child { border-bottom: none; }
.pi-issues li::before { content: "⚠ "; color: #fbbf24; }
.pi-suggestions {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pi-suggestions li { display: flex; flex-direction: column; gap: 4px; }
.pi-suggestion-text { font-size: 11px; color: rgba(255,255,255,0.6); }
.pi-suggestion-text::before { content: "✓ "; color: #4ade80; }
.pi-example {
  font-size: 10px; color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03); border-left: 2px solid rgba(249,115,22,0.4);
  padding: 6px 8px; font-family: var(--font-mono); white-space: pre-wrap; line-height: 1.5;
}
.pi-no-analysis { font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--font-mono); }

/* ── Full report button (replaces .inline-full-report anchor) ── */
button.inline-full-report {
  width: 100%; background: none; border: 0.5px solid rgba(249,115,22,0.3);
  border-radius: 8px; cursor: pointer; font-size: 13px; color: #f97316;
  text-align: center; padding: 10px; font-family: var(--font-mono);
}
button.inline-full-report:hover { background: rgba(249,115,22,0.06); }

/* ── Tablet ── */
@media (max-width: 900px) and (min-width: 601px) {
  .lp-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "b b"
      "c d"
      "e e";
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .lp-h1 { font-size: 36px; letter-spacing: -1px; }
  .lp-hero { padding: 64px 20px 48px; }
  .lp-hero-sub { font-size: 16px; }
  .lp-input-wrap { flex-direction: column; border-radius: 12px; }
  .lp-url-input  { border-radius: 12px 12px 0 0 !important; }
  .lp-input-btn  { border-radius: 0 0 12px 12px !important; width: 100% !important; text-align: center; }
  .lp-bento {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e";
  }
  .lp-bento-section { padding: 56px 0; }
  .lp-bento-inner { padding: 0 16px; }
  .lp-form-section { padding: 56px 16px; }
  .lp-form-card { padding: 24px 20px; }
  .lp-logos-inner { gap: 16px; }
  .lp-logos { padding: 16px 0; }
  .lp-preview { max-width: 100%; }
  .lp-stat-val { font-size: 20px; }
}

/* ── BOT ACCESS ROWS (job.html + _job_full_inline.html) ── */
.bot-table {
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.bot-row {
  padding: 14px 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}

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

.bot-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bot-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono, monospace);
}

.bot-badge {
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.bot-allowed { background: rgba(74,222,128,0.12); color: #4ade80; }
.bot-blocked { background: rgba(248,113,113,0.12); color: #f87171; }
.bot-unknown { background: rgba(251,191,36,0.12); color: #fbbf24; }

.bot-desc-line {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono, monospace);
  margin-bottom: 8px;
}

.bot-status-msg {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.bot-ok {
  background: rgba(74,222,128,0.06);
  color: #4ade80;
}

.bot-warn {
  background: rgba(251,191,36,0.06);
  color: #fbbf24;
  border: 0.5px solid rgba(251,191,36,0.15);
}

.bot-error {
  background: rgba(248,113,113,0.06);
  color: #f87171;
  border: 0.5px solid rgba(248,113,113,0.15);
}

.bot-fix {
  margin-top: 8px;
}

.bot-fix-label {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
  font-family: var(--font-mono, monospace);
}

.bot-code-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(6,9,15,0.8);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 6px;
}

.bot-code-block code {
  flex: 1;
  font-size: 12px;
  color: #4ade80;
  font-family: var(--font-mono, monospace);
  white-space: pre;
  line-height: 1.6;
}

.copy-btn {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-mono, monospace);
  flex-shrink: 0;
}

.copy-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.bot-why {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-mono, monospace);
  line-height: 1.5;
  font-style: italic;
}

.robots-summary-banner {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* ── PAGE INLINE — response time + noindex ── */
.pi-rt-good { color: #4ade80; }
.pi-rt-warn { color: #fbbf24; }
.pi-rt-bad  { color: #f87171; }

.pi-status-msg {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  margin: 8px 0;
  line-height: 1.5;
}

.pi-noindex {
  background: rgba(248,113,113,0.08);
  color: #f87171;
  border: 0.5px solid rgba(248,113,113,0.2);
  font-family: var(--font-mono, monospace);
}

/* ── INLINE BADGE (hreflang pills in _page_inline.html) ── */
.inline-badge {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-mono, monospace);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 3px;
}

/* ── E-E-A-T SIGNALS CARD ── */
.eeat-table { display: block; }
.eeat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.eeat-row:last-child { border-bottom: none; }
.eeat-label { color: var(--text); }
.eeat-status-ok { color: #16a34a; font-weight: 600; font-size: 0.82rem; }
.eeat-status-missing { color: #c00; font-weight: 600; font-size: 0.82rem; }
.eeat-missing-msg {
  margin-top: 12px;
  padding: 8px 12px;
  background: #fff8f0;
  border-left: 3px solid #f0a500;
  font-size: 0.83rem;
  color: #7a5200;
  border-radius: 0 4px 4px 0;
}
.eeat-missing-msg code {
  font-family: var(--font-mono, monospace);
  background: rgba(0,0,0,0.06);
  padding: 1px 4px;
  border-radius: 3px;
}
