:root {
  color-scheme: light;
  font-family: "Kantumruy Pro", "Segoe UI", Tahoma, Arial, sans-serif;
  color: #182b26;
  background: #f6f5ef;
  line-height: 1.65;
  --green: #174c3a;
  --muted: #4c6258;
  --line: #d7dfd5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .2em; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #246873; outline-offset: 4px; }
.shell { width: min(100% - 2rem, 880px); margin-inline: auto; }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 1rem; }
header { border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 750; text-decoration: none; }
.brand span { background: var(--green); color: white; padding: .12rem .42rem; border-radius: .35rem; font-size: .75rem; }
.hero { text-align: center; padding-block: clamp(2rem, 7vw, 4.2rem) 1.5rem; }
h1, h2, p { margin-block: 0 .55rem; }
h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.2; letter-spacing: -.03em; }
h1 bdi { color: var(--green); }
.hero p { color: var(--muted); margin-top: .7rem; }
.workspace { padding: clamp(.7rem, 3vw, 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: 0 12px 35px #2546340d; }
.drop { text-align: center; padding: 1.35rem .7rem; border: 2px dashed #a5b9aa; border-radius: .85rem; background: #f1f7ef; }
.drop.active { background: #e0efdb; border-color: var(--green); }
.upload-icon { display: grid; place-items: center; width: 3rem; height: 3rem; background: #dcebdd; border-radius: .75rem; margin: 0 auto .5rem; color: var(--green); font-size: 1.8rem; }
.drop small { display: block; margin-top: .55rem; color: var(--muted); }
button { border: 1px solid transparent; border-radius: .6rem; background: var(--green); color: white; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; padding: .45rem 1.05rem; }
button:hover:enabled { background: #23634e; }
button:disabled { opacity: .5; cursor: default; }
button.secondary { color: var(--green); background: #fff; border-color: var(--line); }
button.secondary:hover:enabled { background: #edf5ee; }
.local { text-align: center; font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }
#status:empty { display: none; }
#status, #selection, #download { margin-top: .75rem; }
#status.error { color: #9d271d; }
#list { padding: 0; margin: .65rem 0; list-style: none; }
#list li { display: flex; gap: .55rem; align-items: center; min-width: 0; padding: .4rem 0; border-bottom: 1px solid var(--line); }
#list img { width: 48px; height: 48px; object-fit: contain; background: #f1f4ef; border-radius: .35rem; }
#list bdi { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
#list button { width: 44px; padding: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.guide { margin-block: 2rem; }
.guide ol { padding-inline-start: 1.25rem; }
details { border-top: 1px solid var(--line); padding-block: .55rem; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: .35rem 0 0; }
#ad { margin-block: 2rem; text-align: center; }
footer { border-top: 1px solid var(--line); }

.tool-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
}
.tool-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .72rem;
  border-radius: .55rem;
  font-size: .9rem;
  text-decoration: none;
}
.tool-nav a:hover { background: #e9f0e7; }
.tool-nav a[aria-current="page"] { background: #dcebdd; font-weight: 750; }
#resize-fields { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
#resize-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
#resize-drop:focus-within .file-label { outline: 3px solid #246873; outline-offset: 4px; }
.file-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem 1.05rem;
  border-radius: .6rem;
  background: var(--green);
  color: white;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.file-label:hover { background: #23634e; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.tool-grid label, .editor-label { display: block; font-weight: 700; }
.tool-grid input, .tool-grid select, #text-input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-block-start: .3rem;
  padding: .5rem .65rem;
  border: 1px solid #a5b9aa;
  border-radius: .55rem;
  background: #fff;
  color: inherit;
  font: inherit;
}
.check { display: flex; align-items: center; gap: .5rem; min-height: 44px; margin-block: .55rem; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--green); }
.asset-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  margin-block: .9rem;
  padding: .75rem;
  background: #f1f7ef;
  border-radius: .65rem;
}
.asset-preview img { width: 110px; height: 84px; object-fit: contain; }
.asset-preview p { margin-block: 0 .4rem; overflow-wrap: anywhere; }
.tool-status { margin-block: .7rem 0; overflow-wrap: anywhere; }
.tool-status:empty { display: none; }
.tool-status.error { color: #9d271d; }
.text-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-block: 0 .8rem; }
.text-stats > div { background: #f1f7ef; border: 1px solid var(--line); border-radius: .65rem; padding: .55rem; }
.text-stats dt { font-size: .85rem; }
.text-stats dd { margin: 0; color: var(--green); font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 750; overflow-wrap: anywhere; }
#text-input { resize: vertical; }
.text-actions { margin-top: .8rem; }
button[data-edit]:disabled { cursor: default; }
@media (max-width: 380px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-nav a { padding-inline: .45rem; }
}

/* ---- v2 additions ---- */
.tool-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.tool-nav a { white-space: nowrap; }
.text-stats { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
.workspace > .tool-grid { margin-bottom: .9rem; }
.results { padding: 0; margin: .75rem 0; list-style: none; }
.results li { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.results img { width: 56px; height: 56px; object-fit: contain; background: #f1f4ef; border-radius: .35rem; }
.results p { flex: 1; min-width: 10rem; margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.results .error { color: #9d271d; }
.file-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: #fbe9e6; color: #9d271d; border-radius: .35rem; font-size: .7rem; font-weight: 800; }
#list li > .file-icon + bdi { flex: 1; }
.more { margin-block: 2.5rem 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .7rem; padding: 0; margin: .8rem 0 0; list-style: none; }
.cards a { display: block; height: 100%; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: .85rem; text-decoration: none; color: inherit; }
.cards a:hover { border-color: var(--green); box-shadow: 0 6px 18px #2546340f; }
.cards strong { display: block; color: var(--green); }
.cards span { display: block; font-size: .88rem; color: var(--muted); }
.ad-slot { margin-block: 2rem; text-align: center; min-height: 100px; }
.ad-slot small { display: block; color: var(--muted); font-size: .75rem; }
footer { flex-wrap: wrap; padding-block: .8rem; font-size: .9rem; }
footer .links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- v3 additions ---- */
header .links { display: flex; gap: 1rem; align-items: center; }
.lang-switch { font-weight: 700; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: .5rem; text-decoration: none; }
.layout { display: block; }
.side { display: none; }
@media (min-width: 1240px) {
  .with-side .layout { display: grid; grid-template-columns: minmax(0, 880px) 300px; gap: 2rem; justify-content: center; width: min(100% - 2rem, 1212px); margin-inline: auto; }
  .with-side .layout > main.shell { width: 100%; }
  .side { display: block; padding-top: 2rem; }
  html:not(.with-side) .side { display: none; }
  .side .ad-slot { position: sticky; top: 1rem; margin: 0; min-height: 600px; }
}
.ad-result { margin-block: 1.5rem 0; }
.intro { font-size: 1.05rem; }
.note { color: var(--muted); font-size: .9rem; margin-block: .5rem; }
.center { text-align: center; justify-content: center; }
.file-info { font-weight: 650; overflow-wrap: anywhere; }
#options { margin-top: .9rem; }
#options > .tool-grid, #options > .radios, #options > .wide-label { margin-bottom: .8rem; }
.wide-label { display: block; font-weight: 700; margin-block: .6rem; }
.wide-label input:not([type=range]) { display: block; width: 100%; min-height: 44px; margin-top: .3rem; padding: .5rem .65rem; border: 1px solid #a5b9aa; border-radius: .55rem; font: inherit; }
.wide-label input[type=range] { display: block; width: 100%; accent-color: var(--green); margin-top: .4rem; }
.radios { border: 0; padding: 0; margin: 0; }
.radios legend { font-weight: 700; margin-bottom: .2rem; }
.radios .check { margin-block: .2rem; }
.tool-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-grid input[type=color] { padding: .2rem; height: 44px; }
.stage { display: grid; place-items: center; margin-top: 1rem; }
#crop { touch-action: none; cursor: grab; border-radius: .4rem; box-shadow: 0 0 0 1px var(--line), 0 8px 24px #25463418; background: #eee; max-width: 100%; }
#crop:active { cursor: grabbing; }
.qr-preview { display: grid; place-items: center; margin-block: 1rem; }
.qr-canvas { width: min(280px, 100%); height: auto; image-rendering: pixelated; border: 1px solid var(--line); border-radius: .5rem; }
.secondary-link { background: #fff; color: var(--green); border: 1px solid var(--line); }
.secondary-link:hover { background: #edf5ee; }
.converter { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem; }
.converter h2 { font-size: 1.1rem; }
.big-result { display: block; min-height: 2.2em; margin-top: .7rem; padding: .7rem .9rem; background: #f1f7ef; border-radius: .65rem; color: var(--green); font-size: 1.2rem; font-weight: 750; }
.big-result:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .8rem 0 0; list-style: none; }
.chips a { display: inline-block; padding: .4rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.chips a:hover { border-color: var(--green); }
.prose { padding-block: 2rem; }
textarea#qr-text { display: block; width: 100%; padding: .6rem; border: 1px solid #a5b9aa; border-radius: .55rem; font: inherit; margin: .3rem 0 .8rem; resize: vertical; }
@media (max-width: 520px) { .tool-grid.three { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; } }
@media (min-width: 1240px) { .with-side body > .shell { width: min(100% - 2rem, 1212px); } }

/* ---- v4 additions ---- */
.next-steps { margin-top: 1.2rem; padding: 1rem; background: #fff; border: 2px solid #cfe3d3; border-radius: 1rem; }
.next-steps h2 { font-size: 1.05rem; margin-bottom: .2rem; }
.next-steps .cards { margin-top: .5rem; }
.calc-result:empty { display: none; }
.calc-result { margin-top: 1rem; }
.calc-out { display: grid; gap: .35rem; margin: 0; }
.calc-out > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .7rem; border-bottom: 1px solid var(--line); }
.calc-out dt { color: var(--muted); }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: end; }
.calc-out .main { background: #e3f0e4; border: 0; border-radius: .6rem; padding: .8rem .9rem; }
.calc-out .main dt { color: var(--green); font-weight: 750; }
.calc-out .main dd { color: var(--green); font-size: clamp(1.3rem, 4vw, 1.8rem); }
h2.sub { font-size: 1rem; margin: .4rem 0 .5rem; color: var(--muted); }
.workspace .tool-grid + .note { margin-top: .9rem; }
.article { max-width: 720px; }
.article h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.3; margin-top: .4rem; }
.article h2 { margin-top: 1.6rem; }
.article li { margin-block: .25rem; }
.crumbs { font-size: .9rem; margin: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 1rem 0 1.4rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: .8rem; }
.cta p { margin: 0; font-weight: 650; }
.cards.guides { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
nav.crumbs { font-size: .85rem; color: var(--muted); padding-top: 1rem; }
nav.crumbs a { color: var(--muted); }
.updated, .sources { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* ---- batch 3 ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hub-search input { display: block; width: 100%; min-height: 50px; margin: 1rem 0 .5rem; padding: .6rem .9rem; font: inherit; font-size: 1.05rem; border: 2px solid var(--line); border-radius: .8rem; background: #fff; color: inherit; }
.hub-search input:focus { border-color: var(--green); outline: none; }
.hub-cat { margin-top: 1.6rem; }
.bg-stage { display: grid; place-items: center; margin: 1rem 0; padding: .6rem; border-radius: .8rem;
  background: repeating-conic-gradient(#e8ece6 0 25%, #fff 0 50%) 50% / 22px 22px; }
.bg-stage img { max-width: 100%; max-height: 460px; }
#ocr-text { display: block; width: 100%; margin: .8rem 0; padding: .7rem; font: inherit; border: 1px solid #a5b9aa; border-radius: .6rem; resize: vertical; background: #fff; color: inherit; }
.sign-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 1rem; }
#sig-pad { width: 100%; height: auto; aspect-ratio: 600 / 220; border: 2px dashed #a5b9aa; border-radius: .6rem; background: #fff; touch-action: none; cursor: crosshair; }
.page-wrap { position: relative; display: inline-block; max-width: 100%; margin-top: .6rem; }
#page-view { display: block; max-width: 100%; height: auto; box-shadow: 0 0 0 1px var(--line), 0 6px 18px #25463418; cursor: copy; }
#sig-overlay { position: absolute; pointer-events: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .8rem; padding: 0; margin: 1rem 0; list-style: none; }
.thumbs li { display: grid; gap: .35rem; justify-items: center; padding: .5rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; }
.thumbs img { max-width: 100%; height: 150px; object-fit: contain; transition: transform .2s; }
.thumbs span { font-size: .85rem; color: var(--muted); }
.thumb-tools { display: flex; gap: .25rem; }
.thumb-tools button { min-height: 34px; padding: .1rem .5rem; }
.weekdays { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .6rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.data-table thead th { color: var(--muted); font-weight: 650; }
.calc-result .error { color: #9d271d; }

/* ---- dark mode (follows the device setting) ---- */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; color: #e3ebe6; background: #0f1714; --green: #7fd1a8; --muted: #9db3a8; --line: #2a3a33; }
  .workspace, .cards a, .chips a, .next-steps, .cta, .thumbs li, .results li, button.secondary, .secondary-link,
  .hub-search input, #ocr-text, textarea, input, select, #sig-pad { background: #16211d !important; color: #e3ebe6; border-color: var(--line); }
  .drop, .big-result, .text-stats > div, .calc-out .main, .asset-preview, .ad-slot { background: #13201a; }
  .drop { border-color: #3c5a4c; }
  .upload-icon, .tool-nav a[aria-current="page"], .tool-nav a:hover { background: #1f3a2e; }
  button:not(.secondary), .file-label, .brand span { background: #2f8a63; color: #fff; }
  button:not(.secondary):hover:enabled, .file-label:hover { background: #379b70; }
  .file-icon { background: #3a1f1c; color: #ffb4a9; }
  .error, #status.error, .tool-status.error, .results .error { color: #ffb4a9 !important; }
  .bg-stage { background: repeating-conic-gradient(#25332d 0 25%, #1a2621 0 50%) 50% / 22px 22px; }
  #page-view, .thumbs img, .qr-canvas, .results img { background: #fff; }
}

/* Website analyzer */
.site-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.site-form .grow { flex: 1 1 260px; }
.scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin: 1rem 0; text-align: center; }
.score p { margin: .4rem 0 0; font-weight: 600; }
.ring { --c: #c0392b; width: 92px; height: 92px; margin: auto; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #e5e7eb 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.ring span { position: relative; font-size: 1.6rem; font-weight: 700; color: var(--c); }
.score.good .ring { --c: #0c8a4b; } .score.avg .ring { --c: #c77700; }
.site-url { word-break: break-all; color: #555; }
.site-sec h3 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.audit-list { list-style: none; padding: 0; margin: 0; }
.audit-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; border-bottom: 1px solid #eee; border-inline-start: 4px solid #ccc; }
.audit-list li.good { border-inline-start-color: #0c8a4b; } .audit-list li.avg { border-inline-start-color: #c77700; } .audit-list li.bad { border-inline-start-color: #c0392b; }
.audit-list .val { white-space: nowrap; font-weight: 600; }
.site-shot { display: block; max-width: 240px; margin: 1rem auto; border: 1px solid #ddd; border-radius: 8px; }
.tool-status.error { color: #9d271d; }
@media (prefers-color-scheme: dark) { .ring::before { background: #16211d; } .ring { background: conic-gradient(var(--c) calc(var(--p) * 1%), #2a3a33 0); } .audit-list li { border-bottom-color: var(--line); } .site-url { color: #aaa; } }
.site-form { display: grid; grid-template-columns: 1fr auto auto; align-items: end; }
.site-form button { min-height: 44px; }
@media (max-width: 600px) { .site-form { grid-template-columns: 1fr; } }

/* Analyzer v2 */
.site-hist { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .6rem; font-size: .9rem; color: var(--muted, #667); }
.chip { padding: .25rem .7rem; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; font: inherit; min-height: 32px; }
.site-summary { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pill { padding: .25rem .8rem; border-radius: 99px; font-weight: 700; font-size: .9rem; }
.pill.bad { background: #fde8e6; color: #9d271d; } .pill.avg { background: #fff1d6; color: #7a4a00; } .pill.good { background: #dff3e7; color: #0b6b3a; }
.audit-list li { align-items: flex-start; }
.audit-list .ic { flex: 0 0 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: #8a94a0; margin-top: .1rem; }
.audit-list li.good .ic { background: #0c8a4b; } .audit-list li.avg .ic { background: #c77700; } .audit-list li.bad .ic { background: #c0392b; }
.audit-list .txt { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.audit-list .txt .v { color: #555; font-size: .9rem; overflow-wrap: anywhere; }
.audit-list .txt .fix { color: #7a4a00; font-size: .85rem; }
.audit-list li.bad .txt .fix { color: #9d271d; }
.site-sec.priority { border: 1px solid #f3c8c2; border-radius: .8rem; padding: .2rem .9rem .6rem; background: #fff8f7; }
.serp { border: 1px solid var(--line); border-radius: .8rem; padding: .9rem 1rem; max-width: 640px; background: #fff; font-family: Arial, Tahoma, sans-serif; }
.serp-url { color: #202124; font-size: .85rem; text-align: start; overflow-wrap: anywhere; }
.serp-title { color: #1a0dab; font-size: 1.25rem; line-height: 1.3; margin: .2rem 0; }
.serp-desc { color: #4d5156; font-size: .9rem; line-height: 1.5; }
.outline { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.outline li { display: flex; gap: .5rem; padding: .2rem 0; }
.outline b { flex: 0 0 2rem; color: var(--green); }
.outline .h2 { padding-inline-start: 1rem; } .outline .h3 { padding-inline-start: 2rem; } .outline .h4, .outline .h5, .outline .h6 { padding-inline-start: 3rem; }
.kw-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
table.kw { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.kw caption { text-align: start; font-weight: 700; padding-bottom: .3rem; }
table.kw th, table.kw td { padding: .35rem .5rem; border-bottom: 1px solid var(--line); text-align: start; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; margin-bottom: .6rem; }
.seg button { border: 0; border-radius: 0; background: transparent; color: inherit; padding: .5rem 1.2rem; min-height: 40px; }
.seg button[aria-selected="true"] { background: var(--green); color: #fff; }
.speed-panel h4 { margin: 1rem 0 .3rem; font-size: 1rem; }
.site-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.note.loading::before { content: ''; display: inline-block; width: .9rem; height: .9rem; margin-inline-end: .4rem; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) {
  .serp { background: #202124; } .serp-url { color: #dadce0; } .serp-title { color: #8ab4f8; } .serp-desc { color: #bdc1c6; }
  .audit-list .txt .v { color: #aab; } .site-sec.priority { background: #2a1714; border-color: #5a2a24; }
  .pill.bad { background: #4a1f1a; color: #ffb4a8; } .pill.avg { background: #4a3510; color: #ffd48a; } .pill.good { background: #163a27; color: #9be3b8; }
}
@media print {
  header, nav, footer, .ad-slot, .next-steps, .site-form, .site-hist, .site-actions, .seg, .breadcrumbs, .crumbs, aside, .guide, .faq, .more, .related, .cta { display: none !important; }
  .pane[hidden] { display: block !important; }
  .workspace { box-shadow: none; border: 0; }
  .site-sec { break-inside: avoid; }
}
