/* Nova X Ventures · On-Page SEO Checker
   Scoped to .ops so it sits inside the novax-agency theme header and footer.
   Tokens match the Keyword Cannibalization Checker and Contrast Checker pages. */
.ops {
  --navy: #14173F;
  --deep: #0A0C2B;
  --gold: #E9B96E;
  --blue: #3340F5;
  --card: rgba(255, 255, 255, .045);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --ink: #FFFFFF;
  --ink-2: #E4E5F5;
  --muted: #B4B6DA;
  --pass: #7FD8A4;
  --pass-bg: #1F3A3A;
  --warn: #E9B96E;
  --warn-bg: #3A3223;
  --fail: #FF9A9A;
  --fail-bg: #3D2232;
  --info: #A9AFFF;
  --info-bg: #262A5A;
  --orange: #FFB27A;
  --text-dark: #14173F;
  --text-body: #555A80;
  --light: #F5F6FB;
  --light-line: #E7E8F3;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --head-font: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;

  font-size: 16px;
  line-height: 1.6;
  display: block;
}
.ops *, .ops *::before, .ops *::after { box-sizing: border-box; }
.ops [hidden] { display: none !important; }
.ops h1, .ops h2, .ops h3, .ops h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; color: inherit; }
.ops p { margin: 0; }
.ops ul, .ops ol { margin: 0; padding: 0; list-style: none; }
.ops li { margin: 0; }
.ops svg { display: block; }
.ops :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ops .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ops code {
  font-family: var(--mono); font-size: .86em; padding: .1em .45em; border-radius: 6px;
  background: var(--card-2); border: 1px solid var(--line); color: #fff; overflow-wrap: anywhere;
}
.ops-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ops-narrow { max-width: 880px; }

/* =========================================================
   Dark hero + tool
   ======================================================= */
.ops-hero {
  position: relative; overflow: hidden; overflow: clip; color: var(--ink);
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
  padding: calc(var(--ops-head, 0px) + 88px) 0 96px;
}
.ops-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
}
.ops-hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(51,64,245,.35), transparent 65%); pointer-events: none;
}
.ops-hero .ops-in { position: relative; z-index: 1; }
.ops-top { max-width: 760px; }
.ops-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(233,185,110,.35); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px;
}
.ops-eyebrow::before, .ops-dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.ops-hero h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 700; color: #fff; }
.ops-hero h1 span { color: var(--gold); }
.ops .lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin-top: 18px; }
.ops-dots { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px !important; }
.ops-dots li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }

.ops .panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ops .note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Buttons */
.ops .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  border: 0; border-radius: 12px; padding: 15px 26px; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(51,64,245,.35);
  transition: transform .15s, filter .15s, border-color .15s;
  text-transform: none; letter-spacing: 0; min-height: 0; width: auto; text-decoration: none; white-space: nowrap;
}
.ops .btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ops .btn:disabled { opacity: .65; cursor: wait; transform: none; }
.ops .btn.line { background: transparent; border: 1px solid var(--line-2); color: #fff; box-shadow: none; padding: 12px 18px; }
.ops .btn.line:hover { border-color: var(--gold); filter: none; }
.ops .btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.ops .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ops .btn.sm svg { width: 16px; height: 16px; }

/* Form */
.ops-form { margin-top: 40px; }
.ops-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
@media (max-width: 800px) { .ops-fields { grid-template-columns: minmax(0, 1fr); } .ops-submit { width: 100%; } }
.ops .fld label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: #fff; }
.ops .fld .opt { font-weight: 400; color: var(--muted); }
.ops .fld input {
  display: block; width: 100%; height: 52px; margin: 0; padding: 0 16px;
  font: 500 16px/1 var(--mono); color: #fff; background: var(--deep);
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: none;
  transition: border-color .15s;
}
.ops .fld input::placeholder { color: #8A8DB8; opacity: 1; }
.ops .fld input:hover { border-color: var(--muted); }
.ops .fld input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,185,110,.3); }
.ops .fld input[aria-invalid="true"] { border-color: var(--fail); box-shadow: 0 0 0 3px rgba(255,154,154,.2); }
.ops-submit { height: 52px; min-width: 170px; position: relative; }
.ops .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: ops-spin .8s linear infinite;
}
.ops-submit.is-loading .spinner { display: inline-block; }
@keyframes ops-spin { to { transform: rotate(360deg); } }
.ops .field-error { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--fail); }
.ops .field-error:empty { display: none; }

/* Status pills */
.ops .pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  background: var(--info-bg); color: var(--info);
}
.ops .pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ops .pill[data-s="pass"] { background: var(--pass-bg); color: var(--pass); }
.ops .pill[data-s="warn"] { background: var(--warn-bg); color: var(--warn); }
.ops .pill[data-s="fail"], .ops .pill[data-s="error"] { background: var(--fail-bg); color: var(--fail); }

/* =========================================================
   Light sections
   ======================================================= */
.ops-light { background: var(--light); color: var(--text-dark); padding: 96px 0; }
.ops-white { background: #FFFFFF; }
.ops-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.ops-head-left { max-width: none; text-align: left; margin-bottom: 24px; }
.ops-head small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.ops-light h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--text-dark); }
.ops-head p { color: var(--text-body); margin-top: 14px; }
.ops-prose p { color: var(--text-body); font-size: 17px; margin-bottom: 16px; }
.ops-prose p:last-child { margin-bottom: 0; }
.ops-prose strong { color: var(--text-dark); }
.ops-narrow-block { max-width: 760px; margin: 40px auto 0; text-align: center; }
.ops-light code { background: #EEF0F8; border-color: var(--light-line); color: var(--text-dark); }

.ops-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.ops-card { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 14px 40px rgba(20,23,63,.07); border: 1px solid var(--light-line); }
.ops-card-soft { background: var(--light); box-shadow: none; }
.ops-card .num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 700; margin-bottom: 18px;
}
.ops-card .tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px;
  background: var(--navy); color: var(--gold); font: 800 13px/1 var(--head-font); letter-spacing: .04em; margin-bottom: 16px;
}
.ops-card h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 10px; }
.ops-card p { color: var(--text-body); font-size: 15px; }

.ops-steps { counter-reset: st; display: grid; gap: 12px; margin: 8px 0 28px !important; }
.ops-steps li {
  counter-increment: st; position: relative; padding: 18px 20px 18px 68px;
  background: #fff; border: 1px solid var(--light-line); border-radius: 16px; color: var(--text-body);
  box-shadow: 0 8px 24px rgba(20,23,63,.04);
}
.ops-steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 14px;
}
.ops-steps strong { color: var(--text-dark); }

.ops-table-card { margin: 0 0 28px; background: #fff; border: 1px solid var(--light-line); border-radius: 20px; box-shadow: 0 14px 40px rgba(20,23,63,.07); overflow-x: auto; }
.ops .info-table th, .ops .info-table td { padding: 15px 20px; border-bottom: 1px solid var(--light-line); }
.ops .info-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-body); background: #FAFBFE; }
.ops .info-table td { color: var(--text-body); }
.ops .info-table td:first-child { font-weight: 600; color: var(--text-dark); }
.ops .info-table tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.ops-faq { display: grid; gap: 12px; }
.ops-faq details { background: #fff; border: 1px solid var(--light-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(20,23,63,.05); }
.ops-white .ops-faq details { background: var(--light); box-shadow: none; }
.ops-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 60px 20px 24px; font: 600 18px/1.4 var(--head-font); color: var(--text-dark);
}
.ops-faq summary::-webkit-details-marker { display: none; }
.ops-faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 12px no-repeat,
    var(--navy);
  transition: transform .2s;
}
.ops-faq details[open] summary::after { transform: rotate(45deg); }
.ops-faq summary:focus-visible { border-radius: 16px; }
.ops-faq details p { padding: 0 24px 22px; color: var(--text-body); }

/* CTA band */
.ops-cta {
  position: relative; overflow: hidden; overflow: clip; margin-top: 56px; padding: 40px; border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
}
.ops-cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(51,64,245,.4), transparent 65%); pointer-events: none; }
.ops-cta > * { position: relative; z-index: 1; }
.ops-light .ops-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.ops-cta p { color: var(--muted); max-width: 52ch; }
.ops-gold-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.2;
  background: var(--gold); color: var(--navy); text-decoration: none;
  box-shadow: 0 10px 30px rgba(233,185,110,.3); transition: transform .15s, filter .15s;
}
.ops-gold-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--navy); }
@media (max-width: 680px) { .ops-cta { flex-direction: column; align-items: flex-start; padding: 28px; } }

/* More tools */
.ops-more { margin-top: 56px; }
.ops-more h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 16px; }
.ops-more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .ops-more ul { grid-template-columns: minmax(0, 1fr); } }
.ops-more a {
  display: block; padding: 18px 20px; border-radius: 16px; text-decoration: none;
  background: var(--light); border: 1px solid var(--light-line); transition: border-color .15s, transform .15s;
}
.ops-more a:hover { border-color: var(--gold); transform: translateY(-1px); }
.ops-more strong { display: block; color: var(--text-dark); font-weight: 600; }
.ops-more span { display: block; color: var(--text-body); font-size: 15px; }

/* Toast */
.ops-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 9999;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 12px;
  background: var(--gold); color: var(--navy); font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.5); transition: opacity .2s, transform .2s;
}
.ops-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.ops-noscript { margin: 0; padding: 16px; text-align: center; background: var(--fail-bg); color: var(--fail); }

@media (max-width: 700px) {
  .ops-hero { padding: calc(var(--ops-head, 0px) + 56px) 0 64px; }
  .ops .panel { padding: 22px; }
  .ops-light { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ops *, .ops *::before, .ops *::after { transition: none !important; animation-duration: 1.5s !important; }
}
@media (forced-colors: active) {
  .ops .pill, .ops .btn, .ops .panel { border: 1px solid CanvasText; }
}


/* =========================================================
   On-page checker specific
   ======================================================= */
.ops { --sev-high: #FF9A9A; --sev-med: #E9B96E; --sev-low: #A9AFFF; }
.ops .fld .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.ops .fld input.kw { font-family: inherit; }

/* Results wrapper */
.ops-results { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ops-results > * { min-width: 0; }
.ops-results:focus { outline: none; }
.ops-results[hidden] { display: none !important; }
.ops-error { border-color: rgba(255,154,154,.4); }
.ops-error h2 { font-size: 20px; color: var(--fail); margin-bottom: 6px; }
.ops-error p { color: var(--ink-2); }
.ops-loading { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.ops-loading .spinner { display: inline-block; width: 22px; height: 22px; }
.ops-loading small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* Summary */
.ops-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 720px) { .ops-sum { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px; } }
.ops-ring { position: relative; width: 184px; height: 184px; flex: none; }
.ops-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ops-ring circle { fill: none; stroke-width: 12; }
.ops-ring .trk { stroke: rgba(255,255,255,.08); }
.ops-ring .val { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.ops-ring[data-b="good"] .val { stroke: var(--pass); }
.ops-ring[data-b="poor"] .val { stroke: var(--fail); }
.ops-ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ops-ring .n { font: 800 52px/1 var(--head-font); color: #fff; font-variant-numeric: tabular-nums; }
.ops-ring .of { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ops-sum-body { display: grid; gap: 12px; min-width: 0; }
.ops-band { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--warn-bg); color: var(--warn); }
.ops-band[data-b="good"] { background: var(--pass-bg); color: var(--pass); }
.ops-band[data-b="poor"] { background: var(--fail-bg); color: var(--fail); }
@media (max-width: 720px) { .ops-band { justify-self: center; } }
.ops-sum h2 { font-size: clamp(22px, 2.6vw, 28px); color: #fff; }
.ops-url { font: 500 14px/1.5 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.ops-url a { color: inherit; text-decoration: none; }
.ops-url a:hover { color: var(--gold); text-decoration: underline; }
.ops-facts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) { .ops-facts { justify-content: center; } }
.ops-facts li { padding: 6px 12px; border-radius: 10px; background: rgba(10,12,43,.5); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ops-facts b { color: #fff; font-weight: 600; }
.ops-tally { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 720px) { .ops-tally { justify-content: center; } }
.ops-tally span { display: inline-flex; align-items: center; gap: 8px; }
.ops-tally span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.ops-tally .f::before { background: var(--fail); } .ops-tally .w::before { background: var(--warn); } .ops-tally .p::before { background: var(--pass); }
.ops-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 720px) { .ops-actions { justify-content: center; } }
@media (max-width: 480px) { .ops-actions .btn { flex: 1 1 100%; } }

/* Category cards */
.ops-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .ops-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ops-cat { padding: 14px; }
  .ops-cat .nm { font-size: 15px; }
  .ops-cat .sc { font-size: 22px; }
  .ops-cat .cnt { gap: 4px 10px; font-size: 12px; }
}
@media (max-width: 340px) { .ops-cats { grid-template-columns: minmax(0, 1fr); } }
.ops-cat {
  display: block; width: 100%; text-align: left; margin: 0; cursor: pointer; font: inherit; color: #fff;
  padding: 18px; border-radius: 16px; background: rgba(10,12,43,.5); border: 1px solid var(--line);
  transition: border-color .15s, transform .15s;
}
.ops-cat:hover { border-color: var(--gold); transform: translateY(-1px); }
.ops-cat .top { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 10px; }
.ops-cat .nm { font: 700 17px/1.2 var(--head-font); }
.ops-cat .sc { font: 800 26px/1 var(--head-font); font-variant-numeric: tabular-nums; color: var(--warn); }
.ops-cat[data-b="good"] .sc { color: var(--pass); }
.ops-cat[data-b="poor"] .sc { color: var(--fail); }
.ops-cat .bar { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); margin: 12px 0 10px; overflow: hidden; }
.ops-cat .bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--warn); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.ops-cat[data-b="good"] .bar span { background: var(--pass); }
.ops-cat[data-b="poor"] .bar span { background: var(--fail); }
.ops-cat .cnt { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.ops-cat .cnt b { font-weight: 700; }
.ops-cat .cnt .f b { color: var(--fail); } .ops-cat .cnt .w b { color: var(--warn); } .ops-cat .cnt .p b { color: var(--pass); }

/* Section titles inside results */
.ops-sec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.ops-sec-h h2 { font-size: 22px; color: #fff; }
.ops-sec-h p { font-size: 14px; color: var(--muted); }

/* Issues list */
.ops-issues { display: grid; gap: 10px; }
.ops-issue {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 14px; align-items: start;
  padding: 16px 18px; border-radius: 14px; background: rgba(10,12,43,.45); border: 1px solid var(--line);
}
.ops-issue[data-sev="high"] { border-color: rgba(255,154,154,.35); }
.ops-sev { grid-column: 1; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 74px; justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ops-sev[data-sev="high"] { background: var(--fail-bg); color: var(--sev-high); }
.ops-sev[data-sev="medium"] { background: var(--warn-bg); color: var(--sev-med); }
.ops-sev[data-sev="low"] { background: var(--info-bg); color: var(--sev-low); }
.ops-issue h3 { grid-column: 2; grid-row: 1; font-size: 16px; line-height: 1.4; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ops-issue h3 .ct { font-size: 12px; font-weight: 600; line-height: 1; color: var(--muted); padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.06); }
.ops-issue .msg { grid-column: 2; color: var(--ink-2); font-size: 15px; }
.ops-issue .fix { grid-column: 2; font-size: 14px; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--gold); margin-top: 4px; }
.ops-issue .fix b { color: var(--gold); font-weight: 600; }
@media (max-width: 560px) {
  .ops-issue { grid-template-columns: minmax(0, 1fr); }
  .ops-issue .msg, .ops-issue .fix, .ops-issue h3 { grid-column: 1; }
  .ops-issue h3 { grid-row: 2; }
  .ops-sev { justify-self: start; }
}
.ops-allgood { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(127,216,164,.35); background: rgba(127,216,164,.06); color: var(--ink-2); }
.ops-allgood .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pass-bg); color: var(--pass); }
.ops-allgood svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* SERP preview + keyword */
.ops-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .ops-two { grid-template-columns: minmax(0, 1fr); } }
.ops-two > * { min-width: 0; }
.ops-serp { background: #fff; border-radius: 14px; padding: 18px 20px; font-family: Arial, Helvetica, sans-serif; color: #202124; }
.ops-serp .site { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #202124; }
.ops-serp .fav { width: 26px; height: 26px; border-radius: 50%; background: #F1F3F4; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #5F6368; flex: none; }
.ops-serp .crumb { font-size: 12px; color: #4D5156; overflow-wrap: anywhere; }
.ops-serp .t { display: block; margin: 8px 0 4px; font-size: 20px; line-height: 1.3; color: #1A0DAB; overflow-wrap: anywhere; }
.ops-serp .d { font-size: 14px; line-height: 1.58; color: #4D5156; overflow-wrap: anywhere; }
.ops-serp .miss { color: #B3261E; font-style: italic; }
.ops-kw-place { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.ops-kw-place li { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; background: var(--fail-bg); color: var(--fail); }
.ops-kw-place li[data-on="1"] { background: var(--pass-bg); color: var(--pass); }
.ops-kw-place svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ops-kw-stats { display: flex; flex-wrap: wrap; gap: 22px; }
.ops-kw-stats div { display: grid; }
.ops-kw-stats b { font: 800 30px/1 var(--head-font); color: #fff; font-variant-numeric: tabular-nums; }
.ops-kw-stats span { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ops-kw-empty { color: var(--muted); font-size: 15px; }

/* Detailed checks */
.ops-groups { display: grid; gap: 12px; }
.ops-group { border: 1px solid var(--line); border-radius: 16px; background: rgba(10,12,43,.35); scroll-margin-top: calc(var(--ops-head, 0px) + 90px); }
.ops-group > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; position: relative;
}
.ops-group > summary::-webkit-details-marker { display: none; }
.ops-group > summary::after {
  content: ""; width: 10px; height: 10px; margin-left: auto; flex: none;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.ops-group[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.ops-group > summary:focus-visible { border-radius: 16px; }
.ops-group .gn { font: 700 18px/1.2 var(--head-font); color: #fff; }
.ops-group .gs { font: 800 15px/1 var(--head-font); padding: 5px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-variant-numeric: tabular-nums; }
.ops-group[data-b="good"] .gs { background: var(--pass-bg); color: var(--pass); }
.ops-group[data-b="poor"] .gs { background: var(--fail-bg); color: var(--fail); }
.ops-group .gc { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .ops-group .gc { display: none; } }
.ops-checks { display: grid; gap: 0; padding: 0 18px 8px; }
.ops-check { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .ops-check { grid-template-columns: minmax(0, 1fr); } }
.ops-check .pill { justify-self: start; align-self: start; font-size: 13px; padding: 4px 10px; }
.ops-check .pill[data-s="info"] { background: var(--info-bg); color: var(--info); }
.ops-check h4 { font-size: 16px; color: #fff; font-family: var(--head-font); }
.ops-check .val { font: 500 13px/1.5 var(--mono); color: var(--ink-2); margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: rgba(10,12,43,.6); border: 1px solid var(--line); overflow-wrap: anywhere; }
.ops-check .msg { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.ops-check .fix { font-size: 14px; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--gold); margin-top: 8px; }
.ops-check .fix b { color: var(--gold); font-weight: 600; }
.ops-list { margin-top: 10px !important; display: grid; gap: 4px; max-height: 260px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: rgba(10,12,43,.6); border: 1px solid var(--line); }
.ops-list li { font: 13px/1.5 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.ops-list li .lv { display: inline-block; min-width: 30px; color: var(--gold); font-weight: 700; }
.ops-list li[data-l="2"] { padding-left: 14px; } .ops-list li[data-l="3"] { padding-left: 28px; } .ops-list li[data-l="4"] { padding-left: 42px; } .ops-list li[data-l="5"], .ops-list li[data-l="6"] { padding-left: 56px; }
.ops-meta { font-size: 13px; color: var(--muted); }

.ops-tool-band { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Score bands table in the light section */
.ops-bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
@media (max-width: 760px) { .ops-bands { grid-template-columns: minmax(0, 1fr); } }
.ops-bands > div { background: #fff; border: 1px solid var(--light-line); border-radius: 18px; padding: 24px; box-shadow: 0 14px 40px rgba(20,23,63,.06); border-top: 4px solid #E9B96E; }
.ops-bands > div.g { border-top-color: #2E9E62; }
.ops-bands > div.p { border-top-color: #D9534F; }
.ops-bands b { display: block; font: 800 28px/1 var(--head-font); color: var(--text-dark); }
.ops-bands span { display: block; font-weight: 600; color: var(--text-dark); margin: 8px 0 6px; }
.ops-bands p { color: var(--text-body); font-size: 15px; }
