/* China Load Risk Scanner. Visual identity aligned with dminorstudio.com
   Layout: dark hero carries the scanner card, which overlaps onto a white page; results read top-down, summary before detail. */
:root {
  color-scheme: light;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* dminorstudio brand tokens */
  --white: #ffffff;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --sky-500: #0ea5e9;
  --sky-400: #38bdf8;
  --sky-700: #0369a1;
  --sky-50: #f0f9ff;
  --panel: #efefef;
  --teal: #003333;
  --teal-text: #23595b;
  --teal-100: #cbe7e7;
  --cyan-50: #ecfeff;
  --cyan-200: #a5f3fc;
  --brand-teal: #1590b0;
  --brand-teal-dark: #0e7490;
  --orange: #e85b23;
  --orange-dark: #c2410c;
  --blue: #1083c5;
  --blue-dark: #0b6aa3;
  --logo-blue: #4ea1e1;
  --logo-orange: #e77d3f;

  /* semantic risk colors */
  --sev-critical: #b91c1c; --sev-critical-bg: #fee2e2; --sev-critical-bar: #dc2626;
  --sev-high: #c2410c;     --sev-high-bg: #ffedd5;     --sev-high-bar: #f97316;
  --sev-medium: #a16207;   --sev-medium-bg: #fef9c3;   --sev-medium-bar: #eab308;
  --sev-low: #0f766e;      --sev-low-bg: #ccfbf1;      --sev-low-bar: #0d9488;
  --ok: #065f46; --ok-bg: #ecfdf5;

  --radius: 0.25rem;
  --radius-lg: 0.375rem;
  --shadow-card: 0 18px 40px -14px rgb(0 51 51 / 0.35), 0 2px 6px rgb(0 51 51 / 0.08);
  --shadow: 0 1px 3px rgb(2 6 23 / 0.06), 0 1px 2px rgb(2 6 23 / 0.04);
  --focus: 0 0 0 3px rgb(21 144 176 / 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-600);
  background: var(--white);
}

h1, h2, h3, h4, h5 { color: var(--slate-800); line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
/* Type scale matches dminorstudio.com: h1 48px, h2 36px, h3 20px, lead 20px, nav 16px, buttons 18px */
h1 { font-size: 3rem; line-height: 1; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: 2.25rem; line-height: 1.11; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-500); margin: 1rem 0 0.375rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--brand-teal); }
img { max-width: 100%; height: auto; }
kbd {
  font-family: var(--font-mono); font-size: 0.8em;
  border: 1px solid var(--slate-300); border-bottom-width: 2px; border-radius: 4px;
  padding: 0 0.3em; background: var(--white); color: var(--slate-800);
}
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 50rem; }
.section { padding-block: 5rem; }
.print-only { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 10;
  background: var(--slate-950); color: var(--white); padding: 0.5rem 1rem; border-radius: 9999px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.eyebrow {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-teal-dark); margin: 0 0 0.875rem;
}
.eyebrow-dark { color: var(--brand-teal-dark); }
.eyebrow-cyan { color: var(--cyan-200); }
.lead { font-size: 1.25rem; line-height: 1.6; max-width: 40rem; }

/* Header */
.site-header { background: var(--cyan-50); border-bottom: 1px solid rgb(0 51 51 / 0.06); position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img, .brand svg { width: 146px; height: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 1.75rem; }
.header-nav a:not(.btn) { font-weight: 600; font-size: 1rem; color: var(--slate-950); text-decoration: none; }
.header-nav a:not(.btn):hover { color: var(--brand-teal); }

/* Hero: dark band that the scanner card overlaps */
.hero {
  position: relative; isolation: isolate;
  background: linear-gradient(var(--cyan-200) 0 calc(100% - 7rem), var(--white) calc(100% - 7rem));
  color: var(--teal-text);
  padding-block: 4.5rem 0;
}
/* Background texture on the cyan band: soft glows plus a dot grid that fades out behind the text */
.hero::before, .hero::after {
  content: ""; position: absolute; inset: 0 0 7rem; z-index: -1; pointer-events: none;
}
.hero::before {
  background:
    radial-gradient(circle at 92% 8%, transparent 0 3rem, rgb(14 116 144 / 0.16) 3rem calc(3rem + 1.5px), transparent calc(3rem + 2px) 6.5rem, rgb(14 116 144 / 0.12) 6.5rem calc(6.5rem + 1.5px), transparent calc(6.5rem + 2px) 10rem, rgb(14 116 144 / 0.08) 10rem calc(10rem + 1.5px), transparent calc(10rem + 2px)),
    radial-gradient(circle at 6% 92%, transparent 0 3rem, rgb(14 116 144 / 0.14) 3rem calc(3rem + 1.5px), transparent calc(3rem + 2px) 6.5rem, rgb(14 116 144 / 0.1) 6.5rem calc(6.5rem + 1.5px), transparent calc(6.5rem + 2px) 10rem, rgb(14 116 144 / 0.06) 10rem calc(10rem + 1.5px), transparent calc(10rem + 2px)),
    radial-gradient(38rem 24rem at 8% 12%, rgb(255 255 255 / 0.6), transparent 70%),
    radial-gradient(34rem 22rem at 94% 88%, rgb(21 144 176 / 0.2), transparent 70%);
}
.hero::after {
  background-image: radial-gradient(rgb(14 116 144 / 0.32) 1.3px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 46rem 26rem at 50% 38%, transparent 35%, #000 85%);
  mask-image: radial-gradient(ellipse 46rem 26rem at 50% 38%, transparent 35%, #000 85%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { color: var(--teal); margin-bottom: 1rem; }
.hero .lead { color: var(--teal-text); margin: 0 auto 2.5rem; }

.scan-card {
  width: 100%; max-width: 50rem; text-align: left;
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.hero-points {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem;
  font-size: 1.125rem; font-weight: 500; color: var(--slate-700);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-points li::before {
  content: ""; width: 1.375rem; height: 1.375rem; border-radius: 9999px; flex: none;
  background: var(--cyan-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230e7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.875rem no-repeat;
  box-shadow: inset 0 0 0 1px rgb(21 144 176 / 0.4);
}

.hero-fine { max-width: 44rem; margin: 1.25rem auto 0; font-size: 0.9375rem; line-height: 1.5; color: var(--slate-500); }

/* Scan form: URL mode puts input and button on one row */
.scan-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; }
.scan-form > * { grid-column: 1 / -1; min-width: 0; }
.scan-form:has(#mode-url:checked) .url-field { grid-column: 1; }
.scan-form:has(#mode-url:checked) .actions { grid-column: 2; align-self: end; }
.scan-form:has(#mode-html:checked) .url-field { order: 2; }
.scan-form:has(#mode-html:checked) .html-field { order: 1; }
.scan-form .mode-toggle { order: 0; }
.scan-form .actions { order: 3; }
.scan-form .form-notes { order: 4; }

.mode-toggle {
  justify-self: start; display: inline-flex; gap: 0.25rem; padding: 0.25rem; margin: 0 0 1.25rem; border: 0;
  background: var(--slate-100); border-radius: var(--radius);
}
.mode-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.mode-toggle label {
  margin: 0; padding: 0.5rem 1.25rem; border-radius: 3px; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600; color: var(--slate-600); min-height: 40px; display: inline-flex; align-items: center;
  transition: background-color .15s, color .15s;
}
.mode-toggle label:hover { color: var(--slate-900); }
.mode-toggle input:checked + label { background: var(--brand-teal); color: var(--white); }
.mode-toggle input:focus-visible + label { box-shadow: var(--focus); }

.field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--slate-800); margin-bottom: 0.375rem; }
.optional { font-weight: 400; color: var(--slate-500); font-size: 0.875rem; }
.help { font-size: 1rem; line-height: 1.55; color: var(--slate-500); margin: 0; }
.help.meta { margin-top: 0.375rem; min-height: 1.25rem; }
.help.fine { font-size: 0.8125rem; margin-top: 1rem; }
.help.status:empty { display: none; }
.help.status { color: var(--brand-teal-dark); font-weight: 600; }

input[type="url"], input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--slate-900); background: var(--white);
  border: 1px solid var(--slate-300); border-radius: var(--radius); padding: 0.75rem 1rem;
  transition: border-color .15s, box-shadow .15s;
}
input[type="url"] { min-height: 3.25rem; font-size: 1.0625rem; }
input::placeholder, textarea::placeholder { color: var(--slate-400); }
textarea { font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.5; resize: vertical; min-height: 13rem; }
input:focus-visible, textarea:focus-visible { border-color: var(--brand-teal); box-shadow: var(--focus); }
input[aria-invalid="true"] { border-color: var(--sev-critical); }
.error { color: var(--sev-critical); font-size: 0.875rem; font-weight: 600; margin: 0.375rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.actions { margin-bottom: 1rem; }
.form-notes { display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--slate-100); }
.scan-error { margin: 0; }
.samples { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0.25rem 0 0; font-size: 1rem; color: var(--slate-500); }
.link-btn {
  font: inherit; font-weight: 600; color: var(--brand-teal-dark); background: none; border: 0; padding: 0.25rem 0;
  cursor: pointer; text-decoration: underline; text-decoration-color: rgb(14 116 144 / 0.35); text-underline-offset: 3px;
}
.link-btn:hover { color: var(--brand-teal); text-decoration-color: currentColor; }
.btn-outline { background: var(--white); color: var(--slate-700); box-shadow: inset 0 0 0 1px var(--slate-300); }
.btn-outline:hover { color: var(--brand-teal-dark); box-shadow: inset 0 0 0 1px var(--brand-teal); }
.btn-clear { margin-left: auto; min-height: 36px; padding: 0.375rem 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 1.125rem; line-height: 1.25; white-space: nowrap;
  padding: 0.75rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
/* Orange is the site's "Contact Us" action color; teal is its "Learn More" color */
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-primary:disabled, .btn-primary[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn-dark { background: var(--brand-teal); color: var(--white); }
.btn-dark:hover { background: var(--brand-teal-dark); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 1rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1.125rem; }
.btn-scan { min-height: 3.25rem; padding-inline: 1.75rem; width: 100%; }

/* Results */
.results { padding-block: 4rem 1rem; }
#results-title { margin-bottom: 1.5rem; }
#results-title:focus { box-shadow: none; }
.results[data-band="low"]      { --gauge: var(--sev-low-bar);      --band: var(--sev-low); }
.results[data-band="moderate"] { --gauge: var(--sev-medium-bar);   --band: var(--sev-medium); }
.results[data-band="high"]     { --gauge: var(--sev-high-bar);     --band: var(--sev-high); }
.results[data-band="critical"] { --gauge: var(--sev-critical-bar); --band: var(--sev-critical); }

.score-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center;
  border: 1px solid var(--slate-200); border-top: 4px solid var(--gauge, var(--sky-500));
  border-radius: var(--radius-lg); padding: 2rem; background: var(--white); box-shadow: var(--shadow);
}
.gauge { position: relative; width: 9.5rem; height: 9.5rem; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 11; }
.gauge-track { stroke: var(--slate-100); }
.gauge-bar { stroke: var(--gauge, var(--sky-500)); stroke-linecap: round; transition: stroke-dashoffset 0.8s ease-out; }
.gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-num { font-size: 2.75rem; font-weight: 800; color: var(--slate-900); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-max { font-size: 0.8125rem; color: var(--slate-500); margin-top: 0.25rem; }
.band { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.01em; color: var(--band, var(--slate-900)); margin-bottom: 0.375rem; }
.score-text { margin-bottom: 1.25rem; color: var(--slate-700); font-size: 1.125rem; }

.scale-bar {
  position: relative; height: 0.5rem; border-radius: 9999px;
  background: linear-gradient(90deg,
    var(--sev-low-bar) 0 20%, var(--sev-medium-bar) 20% 50%, var(--sev-high-bar) 50% 75%, var(--sev-critical-bar) 75% 100%);
}
.scale-marker {
  position: absolute; top: 50%; left: calc(var(--score, 0) * 1%); width: 1.125rem; height: 1.125rem;
  transform: translate(-50%, -50%); border-radius: 9999px; background: var(--white);
  box-shadow: 0 0 0 3px var(--slate-900); transition: left 0.8s ease-out;
}
.scale-labels { display: grid; grid-template-columns: 20% 30% 25% 25%; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--slate-500); }

.stats {
  grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--slate-100);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.stats div { background: var(--slate-100); border-radius: var(--radius); padding: 0.875rem 1rem; }
.stats dt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--slate-500); }
.stats dd { margin: 0.125rem 0 0; font-size: 1.75rem; font-weight: 800; color: var(--slate-900); font-variant-numeric: tabular-nums; }

.section-title { margin: 3rem 0 1rem; font-size: 1.5rem; }
.issue-list, .report-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.875rem; }
.issue-card, .report-item {
  border: 1px solid var(--slate-200); border-left: 4px solid var(--sev, var(--sky-500));
  border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--white);
}
.issue-card:has(.sev-critical), .report-item:has(.sev-critical) { --sev: var(--sev-critical-bar); }
.issue-card:has(.sev-high), .report-item:has(.sev-high) { --sev: var(--sev-high-bar); }
.issue-card:has(.sev-medium), .report-item:has(.sev-medium) { --sev: var(--sev-medium-bar); }
.issue-card:has(.sev-low), .report-item:has(.sev-low) { --sev: var(--sev-low-bar); }
.issue-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.issue-head h4 { margin: 0; font-size: 1.125rem; }
.issue-meta { font-size: 0.875rem; color: var(--slate-500); margin: 0.25rem 0 0.625rem; }
.issue-why { margin: 0; color: var(--slate-700); max-width: 65ch; font-size: 1.125rem; }
.report-item p { margin-bottom: 0.5rem; max-width: 70ch; }
.report-item .alt {
  background: var(--cyan-50); border-radius: var(--radius); padding: 0.75rem 1rem; color: var(--slate-800);
}

.badges { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 9999px; white-space: nowrap; }
.sev-critical { background: var(--sev-critical-bg); color: var(--sev-critical); }
.sev-high { background: var(--sev-high-bg); color: var(--sev-high); }
.sev-medium { background: var(--sev-medium-bg); color: var(--sev-medium); }
.sev-low { background: var(--sev-low-bg); color: var(--sev-low); }
.impact { background: var(--slate-100); color: var(--slate-800); }
.blocking { background: var(--teal); color: var(--cyan-200); }
.watch { background: #e6f0f0; color: var(--teal); }

.evidence-wrap { margin-top: 0.75rem; font-size: 0.875rem; }
.evidence-wrap summary { cursor: pointer; font-weight: 600; color: var(--brand-teal-dark); min-height: 32px; display: list-item; }
.evidence { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.375rem; }
.evidence li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.5rem; align-items: start; }
.evidence .more { display: block; color: var(--slate-500); }
.evidence li.from-file { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; }
.evidence li.from-file .line-no { overflow-wrap: anywhere; }
.line-no { font-family: var(--font-mono); color: var(--slate-500); font-size: 0.8125rem; padding-top: 0.2rem; }
.evidence code {
  font-family: var(--font-mono); font-size: 0.8125rem; background: var(--slate-100); color: var(--slate-800);
  padding: 0.2rem 0.4rem; border-radius: 4px; overflow-wrap: anywhere; white-space: pre-wrap;
}

.notice { background: var(--panel); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; font-size: 0.9375rem; color: var(--slate-700); }
.notice p { margin: 0; }
.notice.success { background: var(--ok-bg); color: var(--ok); }
.notice.demo { background: var(--sev-medium-bg); color: #713f12; margin: 0 0 1rem; }

/* Gate */
.gate {
  margin-top: 3rem; background: var(--blue); color: var(--white); border-radius: var(--radius-lg);
  padding: 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem;
}
.gate h3 { color: var(--white); font-size: 1.625rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.gate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.625rem; font-size: 0.9375rem; }
.gate-list li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.625rem; color: var(--white); }
.gate-list li::before { content: "\2713"; color: var(--cyan-200); font-weight: 800; }
.gate .eyebrow { color: var(--cyan-200); }
.gate label { color: var(--white); }
.gate .help { color: var(--cyan-50); }
.gate .error { color: var(--white); background: var(--sev-critical); padding: 0.25rem 0.5rem; border-radius: var(--radius); }
.gate input[type="email"] { border-color: var(--white); min-height: 3rem; }
.check { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.625rem; align-items: start; margin-bottom: 0.875rem; }
.check input { width: 1.125rem; height: 1.125rem; margin: 0.2rem 0 0; accent-color: var(--orange); }
.check label { font-weight: 400; font-size: 0.875rem; line-height: 1.5; margin: 0; }
.gate .check label { color: var(--white); }
.gate-notice { font-size: 0.875rem; line-height: 1.5; color: var(--white); margin: 0.75rem 0 0; }
.gate a { color: var(--cyan-200); }
.gate .btn { width: 100%; margin-top: 0.25rem; min-height: 3rem; }
#gate-status:empty { display: none; }
#gate-status { margin-top: 0.75rem; }

/* Full report */
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 3rem 0 1rem; }
.report-head .section-title { margin: 0; }
.report-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.report-lead { margin: -0.25rem 0 1rem; color: var(--slate-600); max-width: 65ch; }
#copy-all-status { margin: 0 0 1rem; }
.fix-cta { margin: 1.25rem 0 0; }

/* Fix code */
.report-list > li, .fix { min-width: 0; }
.fix { margin-top: 1rem; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 0.875rem 1rem 0.5rem; background: var(--slate-100); }
.fix-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem 1rem; flex-wrap: wrap; margin-bottom: 0.25rem; }
.fix-head h5 { margin: 0; }
.report-item .fix-title { margin: 0.125rem 0 0; font-weight: 700; color: var(--teal); }
.btn-copy { min-height: 36px; padding: 0.375rem 0.875rem; font-size: 0.9375rem; background: var(--white); color: var(--brand-teal-dark); box-shadow: inset 0 0 0 1px var(--brand-teal); }
.btn-copy:hover { background: var(--brand-teal); color: var(--white); }
.report-item .fix-step { margin: 0.625rem 0 0.375rem; font-size: 0.9375rem; color: var(--slate-700); }
.fix-code {
  margin: 0 0 0.5rem; padding: 0.75rem 0.875rem; border-radius: 4px; background: var(--slate-900); color: #e2e8f0;
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.5; overflow-x: auto; max-width: 100%; white-space: pre; tab-size: 2;
}
.fix-code code { font: inherit; color: inherit; background: none; padding: 0; }
.report-item .fix-note { margin: 0.375rem 0 0.5rem; font-size: 0.875rem; color: var(--slate-600); }
.fix-none { background: var(--white); border-style: dashed; padding-bottom: 0.375rem; }
.fix-none h5 { margin: 0; }
@media print {
  .fix-code { white-space: pre-wrap; overflow-wrap: anywhere; background: #f8fafc; color: #0f172a; border: 1px solid #cbd5e1; }
}
.pdf-doc .fix-code { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; overflow: visible; background: #f8fafc; color: #0f172a; border: 1px solid #cbd5e1; }
.passed-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.passed-list li { background: var(--ok-bg); color: var(--ok); font-size: 0.8125rem; font-weight: 600; border-radius: 9999px; padding: 0.25rem 0.75rem; }
.passed-list li::before { content: "\2713  "; }

/* Baidu SEO readiness */
.baidu { margin-top: 3rem; border: 1px solid var(--slate-200); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.5rem; background: var(--white); }
.baidu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.75rem 2rem; margin-bottom: 1.25rem; }
.baidu-head .section-title { margin: 0 0 0.25rem; }
.baidu-sub { margin: 0; color: var(--slate-500); }
.baidu-score { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.5rem; color: var(--slate-700); font-weight: 600; }
.baidu-count { font-size: 1.75rem; font-weight: 800; color: var(--slate-900); font-variant-numeric: tabular-nums; }
.baidu[data-readiness="ready"] .baidu-count { color: var(--ok); }
.baidu[data-readiness="partial"] .baidu-count { color: var(--sev-medium); }
.baidu[data-readiness="not-ready"] .baidu-count { color: var(--sev-critical); }
.baidu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem 1.25rem; }
.baidu-item { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.75rem; align-items: start; padding: 0.75rem 0; border-top: 1px solid var(--slate-100); }
.baidu-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 9999px; font-weight: 800; font-size: 0.875rem; }
.baidu-item-pass .baidu-icon { background: var(--ok-bg); color: var(--ok); }
.baidu-item-warn .baidu-icon { background: var(--sev-medium-bg); color: var(--sev-medium); }
.baidu-item-fail .baidu-icon { background: var(--sev-critical-bg); color: var(--sev-critical); }
.baidu-item-skip .baidu-icon { background: var(--slate-100); color: var(--slate-500); }
.baidu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.625rem; }
.baidu-row h4 { margin: 0; font-size: 1rem; }
.baidu-detail { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--slate-600); overflow-wrap: anywhere; }
.baidu-pass { background: var(--ok-bg); color: var(--ok); }
.baidu-warn { background: var(--sev-medium-bg); color: var(--sev-medium); }
.baidu-fail { background: var(--sev-critical-bg); color: var(--sev-critical); }
.baidu-skip { background: var(--slate-100); color: var(--slate-600); }
.baidu-note { margin: 1rem 0 0; }
.report-item.baidu-fix-fail { --sev: var(--sev-critical-bar); }
.report-item.baidu-fix-warn { --sev: var(--sev-medium-bar); }
.baidu-fixes .notice { margin-top: 0; }
.report-cta {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  background: var(--teal); color: var(--cyan-50); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; box-shadow: var(--shadow-card);
}
.report-cta[hidden] { display: none; }
.report-cta-copy { flex: 1 1 26rem; }
.report-cta p { margin: 0; max-width: 52ch; color: var(--teal-100); }
.report-cta .report-cta-title { font-size: 1.375rem; font-weight: 700; color: var(--white); margin-bottom: 0.375rem; }
.report-cta .btn { flex: none; }
.baidu-cta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--cyan-50); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.125rem 1.25rem; }
.baidu-cta p { margin: 0; max-width: 46ch; color: var(--teal-text); }
.baidu-cta strong { color: var(--teal); }
.baidu-checks { margin-top: 1.25rem; background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; border-left: 4px solid var(--blue); }
.baidu-checks h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; }
.baidu-checks ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.baidu-checks li { background: #e0f2fe; color: var(--blue-dark); font-size: 0.875rem; font-weight: 600; border-radius: 9999px; padding: 0.25rem 0.75rem; }
/* Hosting and CDN */
.hosting .baidu-count { font-size: 1.25rem; }
.baidu[data-readiness="unknown"] .baidu-count { color: var(--slate-500); }
.hosting-headline { margin: -0.5rem 0 1rem; font-weight: 600; color: var(--slate-900); }
.hosting-headline:empty { display: none; }
.baidu-item-info .baidu-icon { background: #e0f2fe; color: var(--blue-dark); font-style: italic; font-family: Georgia, serif; }
.baidu-info { background: #e0f2fe; color: var(--blue-dark); }
.hosting-method { margin: 0 0 1rem; }
.hosting-fixes .table-wrap { overflow-x: auto; margin-bottom: 1.25rem; border: 1px solid var(--slate-200); border-radius: var(--radius); }
.hosting-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.hosting-table th, .hosting-table td { text-align: left; vertical-align: top; padding: 0.625rem 0.75rem; border-top: 1px solid var(--slate-100); }
.hosting-table thead th { border-top: 0; background: var(--slate-50, #f8fafc); color: var(--slate-700); font-size: 0.8125rem; }
.hosting-table tbody th { font-weight: 600; color: var(--slate-900); min-width: 9rem; }
.hosting-table th span, .hosting-where span { display: block; }
.hosting-group { font-weight: 400; font-size: 0.75rem; color: var(--slate-500); }
.hosting-table code { font-size: 0.8125rem; overflow-wrap: anywhere; word-break: break-word; }
.hosting-where { color: var(--slate-600); overflow-wrap: anywhere; }
.hosting-row-china th { box-shadow: inset 3px 0 0 var(--sev-critical-bar, #ef4444); }
.hosting-row-western th { box-shadow: inset 3px 0 0 var(--blue); }
.hosting-limits { margin: 1rem 0 0.25rem; }
@media (max-width: 760px) {
  .hosting-table thead { display: none; }
  .hosting-table tr { display: block; padding: 0.5rem 0; border-top: 1px solid var(--slate-100); }
  .hosting-table th, .hosting-table td { display: block; border: 0; padding: 0.25rem 0.75rem; }
}
/* Tags inside GTM */
.gtm .baidu-detail strong { color: var(--slate-900); font-weight: 600; }
.gtm-containers { margin: -0.5rem 0 1rem; overflow-wrap: anywhere; }
.gtm-meta, .source-line { margin: 0.25rem 0 0; font-size: 0.8125rem; color: var(--slate-500); overflow-wrap: anywhere; }
.source-line a { color: var(--blue-dark); }
.baidu[data-readiness=""] .baidu-score { display: none; }
/* CSS files and iframes */
.assets-sub { margin: 1.25rem 0 0.25rem; font-size: 0.9375rem; color: var(--slate-900); }
.assets-sub:first-of-type { margin-top: 0; }
.assets-note { margin: 0 0 0.5rem; }
.assets-list { margin-bottom: 0.25rem; }
.asset-name { overflow-wrap: anywhere; }
.assets[data-readiness="ready"] .baidu-count { color: var(--ok); }
.baidu-checks .help { margin: -0.25rem 0 0.75rem; }
@media (max-width: 760px) {
  .baidu { padding: 1.125rem; }
  .baidu-list { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .baidu, .baidu-item { break-inside: avoid; }
  .baidu-icon, .baidu .badge, .baidu-cta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .baidu-cta .btn { display: none; }
}
.pdf-doc .baidu-cta .btn { display: none; }

/* How it works */
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.how { border-top: 1px solid var(--slate-100); margin-top: 3rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: none; }
.steps li { position: relative; padding-top: 1.25rem; border-top: 2px solid var(--slate-200); }
.steps li:first-child { border-top-color: var(--brand-teal); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin-bottom: 0.875rem;
  border-radius: 9999px; background: var(--brand-teal); color: var(--white); font-weight: 700; font-size: 0.875rem;
}
.steps p { margin: 0; font-size: 1.125rem; }

/* Bookmarklet */
.bookmarklet { border-top: 1px solid var(--slate-100); }
.bm-lead { font-size: 1.125rem; margin: 1rem 0 0; }
.bm-grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.bm-card { background: var(--cyan-50); border: 2px dashed var(--brand-teal); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.bm-link { display: inline-flex; align-items: center; gap: 0.5rem; cursor: grab; }
.bm-link:active { cursor: grabbing; }
.bm-drag { margin: 0.875rem 0 0.25rem; font-weight: 600; color: var(--teal-text); }
.bm-copy { font-size: 0.9375rem; }
.bm-note { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--brand-teal-dark); }
.bm-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.bm-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.bm-steps .step-num { margin: 0; }
.bm-steps h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.bm-steps p { margin: 0; font-size: 1.0625rem; }
.bm-fine { margin-top: 2rem; font-size: 0.9375rem; }
.bm-hint a, #url-help a { color: var(--brand-teal-dark); font-weight: 600; }
.line-no.runtime { color: var(--brand-teal-dark); font-weight: 600; }
@media (max-width: 760px) {
  .bm-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}

/* What we check */
.checks { background: var(--panel); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; margin: 1rem 0 0; font-size: 0.875rem; font-weight: 600; color: var(--slate-700); }
.legend .dot + .dot, .legend .slow { margin-left: 0.75rem; }
.dot, .check-group li::before { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 9999px; flex: none; }
.dot.blocked, .check-group li.blocked::before { background: var(--sev-critical-bar); }
.dot.slow, .check-group li.slow::before { background: var(--sev-medium-bar); }
.check-grid { columns: 4 14rem; column-gap: 1.25rem; }
.check-group { break-inside: avoid; background: var(--white); border-radius: var(--radius); padding: 1rem 1.125rem; margin-bottom: 1.25rem; }
.check-group h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-500); margin: 0 0 0.5rem; }
.check-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.check-group li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--slate-800); font-weight: 500; }
.check-group li::before { content: ""; }

/* CTA + footer */
.cta { background: var(--cyan-200); color: var(--teal-text); padding-block: 4.5rem; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; }
.cta h2 { color: var(--teal); }
.cta .lead { color: var(--teal-text); margin: 0; }
.cta .eyebrow-cyan { color: var(--brand-teal-dark); }

.site-footer { background: var(--slate-950); color: var(--slate-400); font-size: 0.875rem; padding-block: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-copy a { color: inherit; text-decoration: none; }
.footer-copy a:hover { color: var(--white); text-decoration: underline; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; }
.footer-social { display: inline-flex; border-radius: 9999px; transition: opacity .15s; }
.footer-social:hover { opacity: 0.85; }
.footer-logo { display: inline-flex; align-items: center; text-decoration: none; }
.footer-logo img { width: 120px; height: auto; display: block; }

/* Responsive */
@media (max-width: 760px) {
  .section { padding-block: 3.5rem; }
  .header-nav a:not(.btn) { display: none; }
  .hero { padding-top: 3rem; background: linear-gradient(var(--cyan-200) 0 calc(100% - 9rem), var(--white) calc(100% - 9rem)); }
  h1 { font-size: 2.25rem; line-height: 1.1; }
  h2 { font-size: 1.75rem; }
  .lead { font-size: 1.125rem; }
  .scan-card { padding: 1.25rem; }
  .scan-form:has(#mode-url:checked) .url-field,
  .scan-form:has(#mode-url:checked) .actions { grid-column: 1 / -1; }
  .mode-toggle { justify-self: stretch; }
  .mode-toggle label { flex: 1; justify-content: center; padding-inline: 0.75rem; }
  .hero-points { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .score-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 1.5rem; }
  .score-copy { width: 100%; }
  .stats { gap: 0.5rem; }
  .stats div { padding: 0.75rem 0.5rem; text-align: center; }
  .stats dt { font-size: 0.6875rem; letter-spacing: 0.04em; }
  .gate { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; gap: 1.75rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .evidence li { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; }
  .issue-card, .report-item { padding: 1rem 1.125rem; }
  .btn-clear { margin-left: 0; }
  .footer-inner { flex-direction: column-reverse; justify-content: center; text-align: center; }
}

/* Print to PDF */
@media print {
  @page { margin: 16mm 14mm; }
  body { font-size: 10.5pt; color: #1f2937; background: #fff; }
  .no-print, .skip-link, .evidence-wrap summary::marker { display: none !important; }
  .print-only { display: block; }
  .site-header { border-bottom: 2px solid var(--brand-teal); background: #fff; }
  .header-inner { min-height: 0; padding: 0 0 8pt; }
  .container, .narrow { max-width: none; padding: 0; }
  .section, .results { padding: 0; }
  .print-head { margin: 12pt 0 4pt; }
  .print-title { font-size: 20pt; font-weight: 700; color: var(--slate-950); margin: 0; }
  .print-meta { color: var(--slate-500); margin: 0; }
  #results-title { display: none; }
  .score-card { box-shadow: none; padding: 12pt; gap: 16pt; break-inside: avoid; }
  .gauge { width: 90pt; height: 90pt; }
  .gauge-num { font-size: 26pt; }
  .gauge-bar, .scale-marker { transition: none; }
  #top-issues-wrap { display: none; }
  .report-item { border-color: #d1d5db; }
  .issue-head, .fix-code, .fix-head { break-inside: avoid; page-break-inside: avoid; }
  .fix-head, .fix-step { break-after: avoid; page-break-after: avoid; }
  .badge, .report-item .alt, .evidence code, .passed-list li, .notice, .gauge circle, .score-card, .report-item, .scale-bar, .stats div {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .evidence-wrap summary { color: var(--slate-800); }
  a { color: inherit; text-decoration: none; }
  .print-cta { margin-top: 16pt; padding: 12pt 14pt; border-left: 3pt solid var(--orange); background: var(--cyan-50); break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .full-report[hidden] { display: none !important; }
}

/* Generated PDF (mirrors the print styles; see downloadPdf in app.js) */
.pdf-doc { width: 100%; padding: 0; background: #fff; color: #1f2937; font-size: 14px; }
.pdf-doc .container, .pdf-doc .narrow { max-width: none; padding: 0; margin: 0; }
.pdf-doc .print-only { display: block; }
.pdf-brand { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--brand-teal); padding-bottom: 10px; }
.pdf-doc a.pdf-site { font-size: 13px; font-weight: 600; color: var(--brand-teal-dark); }
.pdf-logo { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.pdf-logo span:first-child { color: var(--logo-blue); }
.pdf-logo span:last-child { color: var(--logo-orange); }
.pdf-doc .print-head { margin: 16px 0 10px; }
.pdf-doc .print-title { font-size: 26px; font-weight: 700; color: var(--slate-950); margin: 0; }
.pdf-doc .print-meta { color: var(--slate-500); margin: 0; }
.pdf-doc .score-card { box-shadow: none; padding: 16px; gap: 20px; }
.pdf-doc .gauge { width: 120px; height: 120px; }
.pdf-doc .gauge svg { transform: none; }
.pdf-doc .gauge-num { font-size: 34px; }
.pdf-doc .scale-marker { transition: none; }
.pdf-doc .report-item { border-color: #d1d5db; }
.pdf-doc .evidence-wrap summary { color: var(--slate-800); list-style: none; }
.pdf-doc .evidence-wrap summary::-webkit-details-marker { display: none; }
.pdf-doc a { color: inherit; text-decoration: none; }
.pdf-doc .print-cta { margin-top: 24px; padding: 16px 20px; border-left: 4px solid var(--orange); background: var(--cyan-50); }
.pdf-doc .evidence code { overflow-wrap: normal; word-break: break-all; }

/* Report closing CTA (print and generated PDF) */
.print-cta p { margin: 0 0 0.5rem; }
.print-cta .print-cta-title { font-size: 1.125rem; font-weight: 700; color: var(--teal); }
.print-cta .print-contact-label { margin: 0.875rem 0 0.375rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.print-contact { list-style: none; margin: 0; padding: 0; }
.print-contact li { display: flex; gap: 0.75rem; margin-bottom: 0.25rem; }
.print-contact li span { width: 3.25rem; color: var(--slate-500); }
.print-cta .print-contact a { color: var(--brand-teal-dark); font-weight: 600; }

/* Fix plan */
.fix-plan { margin: 0 0 2rem; border: 1px solid var(--slate-200); border-top: 4px solid var(--brand-teal); border-radius: var(--radius-lg); padding: 1.25rem 1.25rem 1.25rem; background: var(--white); box-shadow: var(--shadow); }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; }
.plan-title { margin: 0; font-size: 1.375rem; color: var(--teal); }
.plan-total { margin: 0; font-size: 1.375rem; font-weight: 700; color: var(--teal); }
.plan-total-sub { font-size: 0.9375rem; font-weight: 400; color: var(--slate-600); }
.plan-intro { margin: 0.5rem 0 1rem; color: var(--slate-600); max-width: 65ch; }
.plan-tier { margin-top: 1rem; }
.plan-tier-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.5rem 0.75rem; background: var(--slate-100); border-radius: var(--radius); }
.plan-tier-head h4 { margin: 0; font-size: 1.0625rem; color: var(--teal); }
.plan-tier-head h4 .plan-step { margin-right: 0.5rem; vertical-align: 0.0625rem; }
.plan-step { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 9999px; background: var(--brand-teal); color: var(--white); font-size: 0.8125rem; }
.plan-tier-quick .plan-step { background: var(--ok); }
.plan-tier-hosting .plan-step { background: var(--orange); }
.plan-count { font-weight: 400; color: var(--slate-500); }
.plan-subtotal { font-weight: 700; color: var(--teal); white-space: nowrap; }
.plan-blurb { margin: 0.375rem 0.75rem 0.25rem; font-size: 0.875rem; color: var(--slate-600); }
.plan-items { list-style: none; margin: 0; padding: 0; }
.plan-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--slate-200); }
.plan-item:last-child { border-bottom: 0; }
.plan-item-body { min-width: 0; }
.plan-item-name { margin: 0; font-weight: 600; color: var(--slate-900); }
.plan-item-action { margin: 0.125rem 0 0; font-size: 0.875rem; color: var(--slate-600); }
.plan-hours { flex: none; font-variant-numeric: tabular-nums; color: var(--slate-700); white-space: nowrap; }
.plan-grand { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding: 0.75rem; border-top: 2px solid var(--teal); font-size: 1.0625rem; color: var(--teal); }
.plan-grand strong { font-size: 1.25rem; white-space: nowrap; }
.plan-disclaimer { margin: 0.25rem 0.75rem 0; font-size: 0.8125rem; color: var(--slate-500); }
.plan-cta { margin-top: 1.25rem; }
@media (max-width: 480px) {
  .fix-plan { padding: 1rem 0.875rem; }
  .plan-item, .plan-tier-head, .plan-grand { padding-left: 0.5rem; padding-right: 0.5rem; }
}
@media print {
  .fix-plan { box-shadow: none; }
  .plan-tier-head, .plan-step, .fix-plan { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .plan-item { break-inside: avoid; page-break-inside: avoid; }
}
.pdf-doc .fix-plan { box-shadow: none; }
