.tool-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 40px; }
.tool-panel > *, .tool-section > *, .tool-row > *, .tool-subgrid > *, .opt-grid > * { min-width: 0; }
.tool-section { border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); padding: 22px; }
.tool-section > h2 { font-size: 16px; margin: 0 0 4px; }
.tool-section > .field-hint { margin-bottom: 16px; }
.tool-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; align-items: end; }
.tool-row .field { margin-bottom: 0; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.tool-actions .btn { margin: 0; }

.input--mono, textarea.input--mono { font-family: var(--font-mono); font-size: 13px; line-height: 1.55; }
select.input { appearance: auto; padding-right: 8px; }
.input[readonly] { background: var(--color-section); }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px 22px; }
.check { display: flex; gap: 9px; align-items: flex-start; min-height: 24px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--color-accent); flex: none; }
fieldset.tool-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.tool-fieldset > legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 12px; }
.tool-subgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-top: 16px; }
.tool-subgrid .field { margin-bottom: 0; }
.is-hidden { display: none !important; }

.stat-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--color-neutral-400); margin: 0 0 14px; }
.stat-row strong { color: var(--color-text); font-weight: 600; }
.status-line { font-size: 13px; color: var(--color-neutral-400); min-height: 20px; margin: 10px 0 0; overflow-wrap: anywhere; }
.status-line.is-error { color: var(--color-warn); }

.tool-table-wrap { overflow-x: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
.tool-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
.tool-table th, .tool-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.tool-table th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-500); font-weight: 600; background: var(--color-section); }
.tool-table tr:last-child td { border-bottom: 0; }
.tool-table code, .finding code, .tool-note code { font-family: var(--font-mono); font-size: 12.5px; background: var(--color-section); padding: 1px 5px; border-radius: 4px; }
.bot-name { font-weight: 600; }
.bot-meta { display: block; font-size: 12px; color: var(--color-neutral-500); }

.verdict { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 13px; white-space: nowrap; }
.verdict--allow { color: var(--color-accent); }
.verdict--block { color: var(--color-warn); }
.verdict--none { color: var(--color-neutral-500); }

.findings { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); font-size: 14px; line-height: 1.5; }
.finding-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; margin-top: 1px; }
.finding--problem { border-color: var(--color-warn); }
.finding--problem .finding-tag { color: var(--color-warn); }
.finding--check .finding-tag { color: var(--color-neutral-300); }
.finding--good .finding-tag, .finding--note .finding-tag { color: var(--color-accent); }
.finding p { margin: 0; }
.finding .fix { display: block; margin-top: 4px; color: var(--color-neutral-400); font-size: 13px; }

.hit { background: var(--color-accent-800); color: var(--color-text); border-radius: 3px; padding: 0 1px; }
.test-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.test-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 8px 12px; border: 1px solid var(--color-divider); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; word-break: break-all; }
.test-item .verdict { font-family: var(--font-body); }
.test-item .caps { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 12px; color: var(--color-neutral-400); word-break: normal; }

.pattern-out { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.explain { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--color-neutral-300); }
.tool-note { font-size: 12.5px; line-height: 1.55; color: var(--color-neutral-500); margin: 12px 0 0; }

.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.diff-col h3 { font-size: 13px; margin: 0 0 8px; }
details.tool-details { border-top: 1px solid var(--color-divider); padding-top: 14px; margin-top: 16px; }
details.tool-details > summary { cursor: pointer; font-size: 14px; font-weight: 600; min-height: 24px; }
details.tool-details[open] > summary { margin-bottom: 14px; }

@media (max-width: 560px) {
  .tool-section { padding: 16px; }
  .pattern-out { grid-template-columns: 1fr; }
}

.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.link-btn { display: inline-block; min-height: 24px; background: none; border: 0; padding: 0; margin-top: 6px; font: inherit; font-size: 14px; color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { text-decoration-thickness: 2px; }
.muted { color: var(--color-neutral-500); }

.rt-input-row { display: flex; gap: 10px; align-items: stretch; }
.rt-input-row .input { flex: 1 1 auto; min-width: 0; }
.rt-input-row .btn { margin: 0; flex: none; }
.rt-checked { font-size: 14px; color: var(--color-neutral-400); margin: 0 0 14px; overflow-wrap: anywhere; }
.rt-checked strong { color: var(--color-text); font-weight: 600; }
.rt-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin-bottom: 20px; }
.rt-group { border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: 12px 14px; display: grid; gap: 4px; }
.rt-group-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-500); font-weight: 600; }
.rt-group-value { font-size: 15px; font-weight: 600; }
.rt-group--allow .rt-group-value { color: var(--color-accent); }
.rt-group--block { border-color: var(--color-warn); }
.rt-group--block .rt-group-value { color: var(--color-warn); }
.rt-page-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--color-neutral-400); }
.rt-page-list strong { color: var(--color-text); font-weight: 600; overflow-wrap: anywhere; }
.rt-bots-head { margin-top: 26px; }
.rt-bot-controls { margin: 0 0 14px; }
.rt-raw-text { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; background: var(--color-section); border-radius: var(--radius-md); padding: 12px 14px; margin: 10px 0 0; }

@media (max-width: 640px) {
  .tool-table-wrap--stack { border: 0; overflow: visible; }
  .tool-table--stack { min-width: 0; }
  .tool-table--stack thead { display: none; }
  .tool-table--stack tr { display: block; border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: 8px 0; margin-bottom: 10px; }
  .tool-table--stack tr:last-child td { border-bottom: 0; }
  .tool-table--stack td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; border: 0; padding: 5px 12px; overflow-wrap: anywhere; }
  .tool-table--stack td.bot-cell { display: block; padding-bottom: 8px; }
  .tool-table--stack td.bot-cell::before { display: none; }
  .tool-table--stack td::before { content: attr(data-label); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-neutral-500); font-weight: 600; padding-top: 2px; }
}

.tool-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--color-divider); margin-bottom: -8px; overflow-x: auto; }
.tool-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--color-neutral-400); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tool-tab[aria-selected="true"] { color: var(--color-text); border-bottom-color: var(--color-accent); }
.tool-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 480px) { .tool-tab { flex: 1 1 0; white-space: normal; padding: 10px 8px; text-align: center; line-height: 1.3; } }

.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.task { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: 12px 14px; cursor: pointer; background: var(--color-surface); }
.task input { margin-top: 3px; accent-color: var(--color-accent); flex: none; }
.task strong { display: block; font-size: 14px; font-weight: 600; }
.task small { display: block; font-size: 12.5px; color: var(--color-neutral-500); margin-top: 2px; line-height: 1.45; }
.task:has(input:checked) { border-color: var(--color-accent); }
.task:focus-within { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.link-btn--quiet { font-size: 13px; color: var(--color-neutral-400); margin-top: 2px; }
.rt-verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--color-divider); margin-bottom: 18px; }
.rt-verdict-icon { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: #fff; background: var(--color-neutral-400); }
.rt-verdict-title { font-size: 19px; line-height: 1.35; margin: 2px 0 6px; }
.rt-verdict-sub { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--color-neutral-300); }
.rt-verdict--yes { border-color: var(--color-accent); }
.rt-verdict--yes .rt-verdict-icon { background: var(--color-accent); }
.rt-verdict--partly { border-color: #b7791f; }
.rt-verdict--partly .rt-verdict-icon { background: #b7791f; }
.rt-verdict--no { border-color: var(--color-warn); }
.rt-verdict--no .rt-verdict-icon { background: var(--color-warn); }
.rt-services { list-style: none; margin: 0 0 22px; padding: 0; border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
.rt-service { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--color-divider); font-size: 14.5px; }
.rt-service:last-child { border-bottom: 0; }
.rt-service-name small { display: block; font-size: 12px; color: var(--color-neutral-500); margin-top: 1px; }
.rt-service-state { font-weight: 600; white-space: nowrap; text-align: right; }
.rt-service--ok .rt-service-state { color: var(--color-accent); }
.rt-service--bad .rt-service-state { color: var(--color-warn); }
.rt-service--neutral .rt-service-state { color: var(--color-neutral-400); }
.rt-todo-list { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; }
.rt-todo-none { font-size: 14.5px; margin: 0 0 22px; }
.rt-cta { border-radius: var(--radius-md); background: var(--color-section); padding: 18px; margin-bottom: 6px; }
.rt-cta-title { font-size: 16px; margin: 0 0 6px; }
.rt-cta-text { font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; color: var(--color-neutral-300); }
.rt-cta .input { background: var(--color-surface); }
details.rt-tech { margin-top: 20px; }
.rt-service-name { min-width: 0; }
@media (max-width: 420px) {
  .rt-verdict-title { font-size: 17px; }
}

#rt-results { scroll-margin-top: 96px; }
.rt-turnstile:empty { display: none; }
.rt-turnstile { margin-top: 10px; }
.rt-verdict--unknown .rt-verdict-icon { background: var(--color-neutral-400); }
.rt-copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; }
.rt-copy-row .btn { margin: 0; }
.rt-copy-status { font-size: 14px; color: var(--color-neutral-400); }
.rt-cta-eyebrow { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent); margin: 0 0 6px; }
.rt-cta-list { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; color: var(--color-neutral-300); }

.dh-list { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.dh-list:empty { display: none; }
.dh-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 5px 12px 5px 0; border-bottom: 1px solid var(--color-divider); border-left: 4px solid transparent; }
.dh-row:last-child { border-bottom: 0; }
.dh-num { text-align: right; color: var(--color-neutral-500); user-select: none; }
.dh-text { overflow-wrap: anywhere; white-space: pre-wrap; }
.dh-tag { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--color-neutral-300); padding-top: 1px; }
.dh-repeat .dh-text { opacity: .78; }
.dh-empty { display: block; padding: 10px 12px; font-family: var(--font-body); color: var(--color-neutral-500); }
.dh-swatch { display: inline-block; font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 999px; border-left: 4px solid transparent; }
.dh-g0 { background: #fde8c8; border-left-color: #c47a12; }
.dh-g1 { background: #d9ecfb; border-left-color: #2f74b5; }
.dh-g2 { background: #f8d9e2; border-left-color: #b8436b; }
.dh-g3 { background: #dff1d5; border-left-color: #4f8a2f; }
.dh-g4 { background: #e8dff7; border-left-color: #7451b3; }
.dh-g5 { background: #fbe0d4; border-left-color: #c2562b; }
.dh-g6 { background: #d6f0ee; border-left-color: #23867c; }
.dh-g7 { background: #f3f0c8; border-left-color: #8f8418; }
:root[data-theme="dark"] .dh-g0 { background: #3d2e17; border-left-color: #e6a94f; }
:root[data-theme="dark"] .dh-g1 { background: #1c2f42; border-left-color: #6fa8dc; }
:root[data-theme="dark"] .dh-g2 { background: #3f1f2a; border-left-color: #e07a9c; }
:root[data-theme="dark"] .dh-g3 { background: #22351b; border-left-color: #8cc46b; }
:root[data-theme="dark"] .dh-g4 { background: #2e2542; border-left-color: #a88be0; }
:root[data-theme="dark"] .dh-g5 { background: #3f261b; border-left-color: #e8875f; }
:root[data-theme="dark"] .dh-g6 { background: #183634; border-left-color: #5cc4b8; }
:root[data-theme="dark"] .dh-g7 { background: #36341a; border-left-color: #cfc35a; }
.dh-row.dh-first .dh-text { font-weight: 600; }

@media (max-width: 560px) {
  .dh-row { grid-template-columns: 40px minmax(0, 1fr); }
  .dh-tag { grid-column: 2; padding-top: 0; }
}
.dh-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.dh-inputs .field { margin-bottom: 0; }
.dh-cols { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--color-divider); }
.dh-near input[type="range"] { width: 100%; max-width: 420px; accent-color: var(--color-accent); display: block; margin: 6px 0 4px; }
#dh-near-out { font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.dh-text .dh-cell { display: inline; }
.dh-text .dh-cell + .dh-cell::before { content: "  |  "; color: var(--color-neutral-500); white-space: pre; }
.dh-text .dh-cell:not(.dh-key) { color: var(--color-neutral-400); }
mark.dh-diff { background: transparent; color: inherit; text-decoration: underline wavy var(--color-warn); text-underline-offset: 3px; font-weight: 700; }
.dh-repeat mark.dh-diff { text-decoration-line: underline; }
.dh-cmp-list { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.dh-cmp-list li { padding: 6px 12px; border-bottom: 1px solid var(--color-divider); overflow-wrap: anywhere; }
.dh-cmp-list li:last-child { border-bottom: 0; }
.dh-cmp-list .dh-tag { margin-left: 6px; }
.dh-pair { color: var(--color-neutral-500); }
.dh-near-check { margin-top: 16px; font-weight: 600; }
.dh-summary { font-size: 15.5px; line-height: 1.55; margin: 0 0 14px; }
.dh-summary:empty { display: none; }
.dh-only { margin: 0 0 12px; }
.dh-more-actions { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-left: 6px; }
.dh-more-actions .link-btn { margin-top: 0; }
#dh-options { margin-top: 18px; }
#dh-options > summary { font-weight: 500; color: var(--color-neutral-400); }
.uc-settings { padding: 0; }
.uc-settings > summary { cursor: pointer; padding: 16px 22px; font-size: 15px; list-style-position: inside; }
.uc-settings[open] > summary { border-bottom: 1px solid var(--color-divider); margin-bottom: 4px; }
.uc-settings > :not(summary) { margin-left: 22px; margin-right: 22px; }
.uc-settings > :last-child { margin-bottom: 20px; }
.uc-set-title { font-weight: 600; }
.uc-set-sum { color: var(--color-neutral-400); font-size: 14px; }
.uc-list { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.uc-list:empty { display: none; }
.uc-row { padding: 7px 12px; border-bottom: 1px solid var(--color-divider); border-left: 4px solid transparent; }
.uc-row:last-child { border-bottom: 0; }
.uc-row-top { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.uc-url { overflow-wrap: anywhere; }
.uc-changed { border-left-color: var(--color-accent); }
.uc-was { list-style: none; margin: 3px 0 0; padding: 0; color: var(--color-neutral-400); font-size: 12px; }
.uc-was li { overflow-wrap: anywhere; }
.uc-was-label { font-family: var(--font-body); color: var(--color-neutral-500); }
.uc-set-edit { font-size: 13px; color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.uc-settings[open] .uc-set-edit { display: none; }

.jr{--paper:var(--color-bg);--surface:var(--color-surface);--raise:var(--color-section);--ink:var(--color-text);--ink2:var(--color-neutral-300);--muted:var(--color-neutral-400);--line:var(--color-divider);--line2:var(--color-divider);--accent:var(--color-accent);--accent-ink:#fff;--accent-soft:var(--color-accent-900);--pass:var(--color-accent);--pass-soft:var(--color-accent-900);--warn:#9a5b00;--warn-soft:#fbf0dd;--fail:var(--color-warn);--fail-soft:#f9e6df;--note:#2f5fbf;--note-soft:#e7eefb;--code:var(--color-section);--js:#7c9cf0;--font:var(--font-body);--mono:var(--font-mono);--r-lg:var(--radius-lg);--r-md:var(--radius-md);--r-sm:var(--radius-sm);--lift:0 1px 0 rgba(28,27,25,.04),0 8px 24px -14px rgba(28,27,25,.25)}
:root[data-theme="dark"] .jr{--accent-ink:#171a19;--warn:#e9ae5b;--warn-soft:#2e2414;--fail-soft:#33201d;--note:#8fb0ff;--note-soft:#1d2843;--js:#4f6fc4;--lift:0 1px 0 rgba(0,0,0,.3),0 10px 30px -12px rgba(0,0,0,.6)}
.jr{margin-top:6px}
.jr code{font-family:var(--font-mono)}
.jr .empty{color:var(--muted);padding:18px 20px;margin:0}
.jr [hidden]{display:none!important}
.jr button{font:inherit;color:inherit}
.jr .btn{margin:0}
.jr .btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;padding:8px 14px;font-weight:500;font-size:14px;cursor:pointer;white-space:nowrap;text-decoration:none}
.jr .btn:hover{background:var(--raise);border-color:color-mix(in srgb,var(--line) 60%,var(--muted))}
.jr .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.jr .btn.primary:hover{filter:brightness(1.07)}
.jr .btn.ghost{border-color:transparent;background:transparent;color:var(--muted)}
.jr .btn.ghost:hover{color:var(--ink);background:var(--line2)}
.jr .btn.sm{padding:5px 10px;font-size:13px;border-radius:7px}
.jr .btn:disabled{opacity:.55;cursor:wait}
@media (max-width:720px){.jr .hero-main{padding:22px 18px 20px}.jr .verdict h2{font-size:21px}}
.jr .hero{align-items:stretch;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--lift);display:grid;grid-template-columns:minmax(0,1fr) 260px;overflow:hidden;margin-bottom:24px}
.jr .hero-main{padding:28px 30px 24px;display:flex;flex-direction:column;justify-content:center;gap:18px;min-width:0}
.jr .verdict{display:flex;gap:14px;align-items:flex-start}
.jr .vmark{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center}
.jr .v-good .vmark{background:var(--pass-soft);color:var(--pass)}
.jr .v-warn .vmark,.jr .v-warn-strong .vmark{background:var(--warn-soft);color:var(--warn)}
.jr .v-bad .vmark{background:var(--fail-soft);color:var(--fail)}
.jr .verdict h2{text-wrap:balance;margin:2px 0 4px;font-size:24px;line-height:1.2;letter-spacing:-.02em;font-weight:600}
.jr .verdict p{margin:0;color:var(--ink2)}
.jr .url{font-family:var(--mono);font-size:13px;color:var(--ink2);word-break:break-all;background:var(--code);border:1px solid var(--line2);border-radius:var(--r-sm);padding:6px 10px;align-self:flex-start;max-width:100%}
.jr .facts{display:flex;flex-wrap:wrap;gap:8px 22px;color:var(--muted);font-size:13.5px;margin:0;padding:0;list-style:none}
.jr .facts b{color:var(--ink);font-weight:600}
.jr .tally{display:flex;gap:8px;flex-wrap:wrap}
.jr .tag{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:600;white-space:nowrap}
.jr .tag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.jr .t-critical{background:var(--fail-soft);color:var(--fail)}
.jr .t-warning{background:var(--warn-soft);color:var(--warn)}
.jr .t-info{background:var(--note-soft);color:var(--note)}
.jr .t-ok{background:var(--pass-soft);color:var(--pass)}
.jr .actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.jr .hero-shot{background:linear-gradient(160deg,var(--accent-soft),var(--raise) 60%);border-left:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:26px 20px}
.jr .phone{position:relative;width:196px;border-radius:32px;padding:6px;background:linear-gradient(145deg,#3A414B,#1B1F25 40%,#2A3038);box-shadow:0 22px 44px -20px rgba(21,25,30,.6),inset 0 0 0 1.5px #4A525D,inset 0 0 0 3px #15191E;cursor:zoom-in;border:0;display:block}
.jr .phone::before,.jr .phone::after{content:"";position:absolute;width:3px;border-radius:2px;background:#3A414B}
.jr .phone::before{left:-3px;top:92px;height:46px;box-shadow:0 -34px 0 -10px #3A414B}
.jr .phone::after{right:-3px;top:110px;height:62px}
.jr .phone .screen{border-radius:26px;overflow:hidden;height:390px;background:#fff;position:relative}
.jr .phone .sbar{height:20px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#fff;color:#15191E;font:600 9px/1 var(--font);border-bottom:1px solid #ECEFF2}
.jr .phone .sbar i{display:inline-block;width:14px;height:6px;border-radius:2px;border:1px solid #15191E;position:relative}
.jr .phone .sbar i::after{content:"";position:absolute;inset:1px 3px 1px 1px;background:#15191E;border-radius:1px}
.jr .phone .sbar b{display:inline-flex;gap:2px;align-items:flex-end;margin-right:6px}
.jr .phone .sbar b u{display:block;width:2px;background:#15191E;border-radius:1px}
.jr .phone img{width:100%;display:block}
.jr .phone .noshot{height:100%;display:grid;place-items:center;text-align:center;padding:20px;color:#5B6470;font-size:12.5px;background:#F4F6F8}
@media (max-width:820px){.jr .hero{grid-template-columns:1fr}.jr .hero-shot{border-left:0;border-top:1px solid var(--line)}}
.jr .delta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:24px}
.jr .dm{padding:16px 18px;border-left:1px solid var(--line2)}
.jr .dm:first-child{border-left:0}
.jr .dm h3{margin:0 0 2px;font-size:13px;font-weight:500;color:var(--muted)}
.jr .dm .num{font-size:22px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.jr .dm .num small{font-size:13px;font-weight:500;color:var(--muted);margin-left:6px;letter-spacing:0}
.jr .bar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:var(--line2);margin:10px 0 6px}
.jr .bar i{display:block;height:100%}
.jr .bar .b-html{background:var(--ink2)}
.jr .bar .b-js{background:repeating-linear-gradient(135deg,var(--js) 0 4px,color-mix(in srgb,var(--js) 55%,transparent) 4px 8px)}
.jr .bar .b-lost{background:var(--fail)}
.jr .dm .cap{font-size:12.5px;color:var(--muted)}
.jr .legend{display:flex;gap:16px;font-size:12.5px;color:var(--muted);margin:-14px 0 24px 2px}
.jr .legend span{display:inline-flex;align-items:center;gap:6px}
.jr .legend i{width:14px;height:8px;border-radius:2px;display:inline-block}
@media (max-width:820px){.jr .delta{grid-template-columns:repeat(2,minmax(0,1fr))}.jr .dm:nth-child(3){border-left:0}.jr .dm:nth-child(n+3){border-top:1px solid var(--line2)}}
.jr .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:24px}
.jr .panel-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--line2)}
.jr .panel-head h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.01em;flex:1}
.jr .seg{display:inline-flex;background:var(--line2);border-radius:9px;padding:3px;gap:2px}
.jr .seg button{border:0;background:transparent;border-radius:7px;padding:5px 11px;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer}
.jr .seg button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(21,25,30,.12)}
.jr .issues{list-style:none;margin:0;padding:0}
.jr .issue{border-top:1px solid var(--line2)}
.jr .issue:first-child{border-top:0}
.jr .issue>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 20px}
.jr .issue>summary::-webkit-details-marker{display:none}
.jr .issue>summary:hover{background:var(--raise)}
.jr .sev{width:10px;height:10px;border-radius:50%}
.jr .s-critical{background:var(--fail)}
.jr .s-warning{background:var(--warn)}
.jr .s-info{background:var(--note)}
.jr .issue .it{font-weight:500;min-width:0}
.jr .issue .ia{font-size:12.5px;color:var(--muted);white-space:nowrap}
.jr .issue .ib{padding:0 20px 18px 44px}
.jr .issue pre{max-height:240px;overflow:auto;margin:0 0 12px;white-space:pre-wrap;word-break:break-all;background:var(--code);border:1px solid var(--line2);border-radius:var(--r-sm);padding:10px 12px;font:12.5px/1.6 var(--mono);color:var(--ink2)}
.jr .fix{display:flex;gap:10px;align-items:flex-start;color:var(--ink2)}
.jr .fix svg{flex:none;margin-top:3px;color:var(--pass)}
.jr .empty{color:var(--muted);padding:18px 20px;margin:0}
.jr .sec{border-top:1px solid var(--line2)}
.jr .sec:first-child{border-top:0}
.jr .sec>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:16px 20px;font-weight:600}
.jr .sec>summary::-webkit-details-marker{display:none}
.jr .sec>summary:hover{background:var(--raise)}
.jr .sec>summary .st{margin-left:auto;font-size:13px;font-weight:500;color:var(--muted)}
.jr .sec>summary .chev{transition:transform .18s;color:var(--muted)}
.jr .sec[open]>summary .chev{transform:rotate(180deg)}
.jr .sec .body{padding:2px 20px 22px}
.jr .dot{width:9px;height:9px;border-radius:50%;flex:none}
.jr .d-good{background:var(--pass)}
.jr .d-warn{background:var(--warn)}
.jr .d-bad{background:var(--fail)}
.jr .d-info{background:var(--note)}
.jr .kv{display:grid;grid-template-columns:230px minmax(0,1fr);border-top:1px solid var(--line2)}
.jr .kv>div{padding:10px 0;border-bottom:1px solid var(--line2);word-break:break-word}
.jr .kv>div:nth-child(odd){color:var(--muted);padding-right:14px}
@media (max-width:640px){.jr .kv{grid-template-columns:1fr}.jr .kv>div:nth-child(odd){border-bottom:0;padding-bottom:0}}
.jr .chip{display:inline-block;border-radius:6px;padding:1px 8px;font-size:12.5px;font-weight:600;white-space:nowrap}
.jr .c-critical,.jr .c-bad{background:var(--fail-soft);color:var(--fail)}
.jr .c-warning{background:var(--warn-soft);color:var(--warn)}
.jr .c-info{background:var(--note-soft);color:var(--note)}
.jr .c-ok{background:var(--pass-soft);color:var(--pass)}
.jr table{width:100%;border-collapse:collapse;font-size:13.5px}
.jr th,.jr td{text-align:left;vertical-align:top;padding:9px 10px;border-bottom:1px solid var(--line2);word-break:break-word}
.jr th{color:var(--muted);font-weight:500;font-size:12.5px;background:var(--raise)}
.jr tr.diff td{background:color-mix(in srgb,var(--warn-soft) 70%,transparent)}
.jr tr.diff td:first-child{box-shadow:inset 3px 0 0 var(--warn)}
.jr .scroll{overflow-x:auto;border:1px solid var(--line2);border-radius:var(--r-sm)}
.jr .scroll table tr:last-child td{border-bottom:0}
.jr .muted{color:var(--muted)}
.jr h4{margin:20px 0 8px;font-size:14px;font-weight:600}
.jr details>summary{cursor:pointer}
.jr .row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.jr .drawer-bg{position:fixed;inset:0;background:rgba(15,18,22,.42);z-index:20;display:none}
.jr .drawer{position:fixed;top:0;right:0;bottom:0;width:min(720px,100%);background:var(--surface);z-index:21;box-shadow:-20px 0 60px -20px rgba(0,0,0,.35);display:none;flex-direction:column}
.jr .drawer.on,.jr .drawer-bg.on{display:flex}
.jr .drawer header{display:flex;align-items:center;gap:10px;padding:16px 20px 0}
.jr .drawer header h2{font-size:18px;font-weight:600;margin:0;flex:1;letter-spacing:-.01em}
.jr .dtabs{display:flex;gap:4px;padding:12px 16px 0;border-bottom:1px solid var(--line)}
.jr .dtabs button{border:0;background:none;border-bottom:2px solid transparent;color:var(--muted);padding:10px 12px;font-weight:500;cursor:pointer}
.jr .dtabs button.on{color:var(--ink);border-bottom-color:var(--accent)}
.jr .dbody{flex:1;overflow:auto;padding:18px 20px}
.jr .dpane{display:none}
.jr .dpane.on{display:block}
.jr .shot{text-align:center}
.jr .shot img{width:100%;max-width:412px;border:1px solid var(--line);border-radius:12px}
.jr .hfind{display:flex;gap:6px;align-items:center;margin-bottom:10px}
.jr .hfind input{flex:1;min-width:0;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.jr .hfind .fc{min-width:64px;text-align:center;color:var(--muted);font-size:12.5px}
.jr .qchips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.jr .qchips button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:3px 11px;font-size:12.5px;cursor:pointer;color:var(--ink2)}
.jr .qchips button.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.jr .code{position:relative;background:var(--code);border:1px solid var(--line2);border-radius:var(--r-sm);font:12px/1.6 var(--mono);overflow:auto;max-height:calc(100vh - 270px)}
.jr .code .l{display:flex;white-space:pre-wrap;word-break:break-all}
.jr .code .l:hover{background:var(--line2)}
.jr .code .n{flex:none;width:52px;text-align:right;padding-right:10px;color:var(--muted);user-select:none;border-right:1px solid var(--line2);margin-right:8px}
.jr .code .c{flex:1;min-width:0}
.jr .code .l.hit-l .c{background:rgba(253,226,147,.35)}
.jr .code .l.cur-l .c{background:rgba(249,171,0,.45);box-shadow:inset 3px 0 0 #f9ab00}
.jr .ht{color:#2A5BD7}
.jr .ha{color:#9A5B00}
.jr .hv{color:#17804B}
.jr .hc{color:#8A929C;font-style:italic}
.jr .hs{color:#7B3FC4}
.jr .hx{color:var(--ink)}
:root[data-theme="dark"] .jr .ht{color:#7FA4FF}
.jr .modal-bg{position:fixed;inset:0;background:rgba(15,18,22,.5);z-index:40;display:none;align-items:center;justify-content:center;padding:16px}
.jr .modal-bg.on{display:flex}
.jr .modal{background:var(--surface);border-radius:var(--r-lg);box-shadow:0 30px 80px -20px rgba(0,0,0,.45);width:min(500px,100%);overflow:hidden}
.jr .modal .bar2{height:3px;background:var(--line2);overflow:hidden;position:relative}
.jr .modal .bar2::after{content:"";position:absolute;top:0;bottom:0;width:35%;background:var(--accent);animation:jr-slide 1.4s ease-in-out infinite}
@keyframes jr-slide{0%{left:-35%}100%{left:100%}}
.jr .modal .mb{padding:24px 26px 18px}
.jr .modal h2{margin:0 0 6px;font-size:19px;font-weight:600;letter-spacing:-.01em}
.jr .modal .mu{font-family:var(--mono);color:var(--muted);word-break:break-all;font-size:12.5px;margin-bottom:18px}
.jr .steps{list-style:none;margin:0;padding:0}
.jr .steps li{display:flex;align-items:center;gap:12px;padding:7px 0;color:var(--muted)}
.jr .steps li .si{width:20px;height:20px;border-radius:50%;border:2px solid var(--line);flex:none;display:grid;place-items:center;font-size:11px;font-weight:700}
.jr .steps li.now{color:var(--ink);font-weight:500}
.jr .steps li.now .si{border-color:var(--accent);border-top-color:transparent;animation:jr-sp 1s linear infinite}
.jr .steps li.done{color:var(--ink2)}
.jr .steps li.done .si{border-color:var(--pass);background:var(--pass);color:#fff}
@keyframes jr-sp{to{transform:rotate(360deg)}}
.jr .modal .mf{display:flex;align-items:center;justify-content:space-between;padding:12px 26px;border-top:1px solid var(--line2);color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.jr .findbar{position:fixed;bottom:18px;right:18px;z-index:35;background:var(--surface);border:1px solid var(--line);box-shadow:var(--lift);border-radius:12px;padding:6px;display:none;align-items:center;gap:6px}
.jr .findbar.on{display:flex}
.jr .findbar input{width:230px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.jr .findbar .fc{min-width:56px;text-align:center;color:var(--muted);font-size:12.5px}
@media (max-width:600px){.jr .findbar{left:8px;right:8px;bottom:8px}.jr .findbar input{flex:1;min-width:0;width:auto}}
.jr mark.hit{background:#fde293;color:#15191E;border-radius:2px}
.jr mark.hit.cur{background:#f9ab00;outline:2px solid #e37400}
.jr .toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:10px 16px;border-radius:10px;z-index:50;display:none;font-size:14px}
.jr .res-sum{display:flex;gap:28px;flex-wrap:wrap;padding:4px 0 14px}
.jr .res-sum .big{font-size:26px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}
.jr .res-sum .warnc{color:var(--warn)}
.jr .res-sum .okc{color:var(--pass)}
.jr .res-sum .mutedc{color:var(--muted)}
.jr .res-sum .muted{font-size:13px}
.jr .types{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:6px;border-bottom:1px solid var(--line2);margin-bottom:6px}
.jr .ty{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.jr .ty b{font-variant-numeric:tabular-nums}
.jr .rt{display:inline-block;min-width:62px;text-align:center;border-radius:6px;padding:2px 7px;font-size:11.5px;font-weight:600;background:var(--line2);color:var(--ink2)}
.jr .rt-script{background:#EDE7FB;color:#5B3BB0}
.jr .rt-stylesheet{background:#E3F1FB;color:#1D6A9A}
.jr .rt-fetch,.jr .rt-xhr{background:#E3F3EA;color:#17804B}
.jr .rt-document{background:#FBF0DD;color:#A8620A}
.jr .rt-image{background:#FBE7EF;color:#A2346A}
:root[data-theme="dark"] .jr .rt-script{background:#2A2247;color:#C9B4FF}
.jr .rgroup{margin-top:18px}
.jr .rgroup h4{margin:0 0 2px;display:flex;align-items:center;gap:8px}
.jr .cntb{background:var(--warn-soft);color:var(--warn);border-radius:999px;padding:0 8px;font-size:12px}
.jr .rhelp{margin:0 0 10px;font-size:13px}
.jr .rsub{font-size:13px;font-weight:600;color:var(--ink2);padding:8px 0 4px}
.jr details.rthird>summary{list-style:none;cursor:pointer}
.jr details.rthird>summary::-webkit-details-marker{display:none}
.jr details.rthird>summary::before{content:"+";display:inline-block;width:14px;color:var(--accent)}
.jr details.rthird[open]>summary::before{content:"\2212"}
.jr .res{border:1px solid var(--line2);border-radius:8px;margin-bottom:6px;background:var(--surface)}
.jr .res>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 12px}
.jr .res>summary::-webkit-details-marker{display:none}
.jr .res>summary:hover{background:var(--raise)}
.jr .rh{display:flex;flex-direction:column;min-width:0}
.jr .rhost{font-weight:600;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jr .rpath{font-family:var(--mono);font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jr .rq{color:var(--muted)}
.jr .rr{font-size:12.5px;color:var(--warn);font-weight:500;text-align:right;max-width:170px}
.jr .rfull{display:flex;gap:10px;align-items:flex-start;padding:0 12px 12px}
.jr .rfull code{flex:1;min-width:0;word-break:break-all;background:var(--code);border:1px solid var(--line2);border-radius:6px;padding:8px 10px;font-size:11.5px;max-height:140px;overflow:auto}
@media (max-width:560px){.jr .res>summary{grid-template-columns:auto minmax(0,1fr)}.jr .rr{grid-column:2;text-align:left;max-width:none}}
.jr .golink{margin-top:12px}
.jr .cmsg{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 0;border-bottom:1px solid var(--line2)}
.jr .cmsg:last-child{border-bottom:0}
.jr .cbody{display:flex;flex-direction:column;gap:3px;min-width:0}
.jr .cbody code{white-space:pre-wrap;word-break:break-word;font-size:12.5px;color:var(--ink)}
.jr .csrc{font-size:12px;color:var(--muted);font-family:var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jr .csrc b{color:var(--ink2);font-family:var(--font);font-weight:600}
.jr .cn{font-size:12px;font-weight:600;color:var(--muted);background:var(--line2);border-radius:999px;padding:1px 8px}
.jr .rgroup.flash{animation:jr-flash 1.6s ease-out}
@keyframes jr-flash{0%{box-shadow:0 0 0 3px var(--accent);border-radius:8px;background:var(--accent-soft)}100%{box-shadow:0 0 0 3px transparent;background:transparent}}
.jr .rgroup{scroll-margin-top:12px;padding:6px 10px;margin:12px -10px 0;border-radius:10px}
@media (prefers-reduced-motion:reduce){.jr *{animation:none!important;transition:none!important}}

[data-regex-tool] .field label, [data-regex-tool] .field-hint, [data-regex-tool] .stat-row, [data-regex-tool] .status-line, [data-regex-tool] .verdict { font-size: 14px; }
[data-regex-tool] .test-item, [data-regex-tool] .input--mono, [data-regex-tool] textarea.input--mono { font-size: 14px; }
[data-regex-tool] .test-item .caps, [data-regex-tool] .tool-note { font-size: 13.5px; }
