/* Project 221B. Copyright 2026 RX Group. All rights reserved. */
:root {
  color-scheme: dark;
  --canvas: #191a1c;
  --panel: #242629;
  --border: #36383c;
  --ink: #f3f0eb;
  --text: #d2d0cc;
  --muted: #adaeaf;
  --accent: #f1ac80;
  --focus: #8d9097;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.page { width: min(704px, calc(100% - 44px)); margin-inline: auto; padding: clamp(30px, 6vw, 86px) 0 56px; }
.document-title { margin-bottom: 24px; }
.app-icon { display: block; border-radius: 12px; margin-bottom: 12px; }
h1, h2, h3 { margin: 0; line-height: 1.24; }
h1 { font-size: clamp(32px, 5.4vw, 43px); font-weight: 700; letter-spacing: -.045em; }
h1 span { color: var(--accent); font-weight: 550; }
h2 { margin-bottom: 10px; font-size: clamp(21px, 3.4vw, 24px); font-weight: 650; letter-spacing: -.025em; }
h3 { font-size: 16px; font-weight: 650; }
p { margin: 0; color: var(--text); }
p + p { margin-top: 7px; }
strong { color: var(--ink); font-weight: 650; }
a { color: var(--ink); text-decoration-color: var(--muted); text-underline-offset: .2em; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--focus); outline-offset: 2px; }

section { scroll-margin-top: 18px; }
section + section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.platforms { margin: 0; padding: 0; list-style: none; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(256px, 100%), 1fr)); gap: 16px 26px; }
.platforms h3 { margin: 1px 0 4px; }
.platforms p + p { color: var(--muted); font-size: 14px; }
.report-steps { margin: 0 0 16px; padding-inline-start: 1.33em; color: var(--text); }
.report-steps li { padding-inline-start: 4px; }
.report-steps li + li { margin-top: 6px; }
.report-steps li::marker { color: var(--muted); }

.report { padding: 11px 14px 13px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }
.report-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.report-heading h3 { font-size: 15px; }
.report-heading button {
  min-width: 108px;
  min-height: 34px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.report-heading button:hover { background: var(--border); }
.report pre {
  margin: 8px 0 0;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .page { width: calc(100% - 32px); padding-bottom: 35px; }
  .report-heading button { min-height: 44px; }
}
