.dreport {
  --dr-ink: #221c33;
  --dr-quiet: #615a69;
  --dr-rule: #d5cfdd;
  --dr-violet: #53439d;
  --dr-warm: #ff6430;
  scroll-margin-top: 94px;
  padding: clamp(50px, 6vw, 88px) 0;
  background: #e9e6f1;
  color: var(--dr-ink);
  font-family: var(--sans, 'DM Sans', Arial, sans-serif);
}
.dreport * { box-sizing: border-box; }
.dreport [hidden] { display: none !important; }
.dreport-shell { width: min(1160px, calc(100% - clamp(32px, 7vw, 96px))); margin: 0 auto; }
.dreport-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 20px 36px;
  margin: 0 0 clamp(24px, 3vw, 38px);
}
.dreport .dreport-intro h2 {
  margin: 0; max-width: 18ch; font-family: Anton, 'Arial Narrow', sans-serif;
  font-size: clamp(42px, 5.3vw, 79px); font-weight: 400;
  letter-spacing: -.025em; line-height: 1.02; color: var(--dr-ink);
}
.dreport .dreport-intro p { max-width: 53ch; margin: 0; color: #463d57; line-height: 1.55; font-size: clamp(15px, 1.25vw, 18px); }
.dreport-panel {
  border: 1px solid #bcb4c9; border-radius: 26px;
  background: #fdfbf5; overflow: hidden;
  box-shadow: 0 16px 35px -29px #241934, inset 0 1px white;
}
.dreport-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; padding: 22px clamp(18px, 2.7vw, 34px);
  background: #2b223e; color: #fff9f1;
}
.dreport-client h3 {
  margin: 0 0 4px; color: inherit; font: 400 clamp(26px, 2.4vw, 36px)/1.08 Anton, 'Arial Narrow', sans-serif;
  letter-spacing: -.015em;
}
.dreport-client p { margin: 0; color: #e0d7eb; font-size: 13px; line-height: 1.4; }
.dreport-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.dreport label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; line-height: 1.25; }
.dreport select {
  margin: 0; min-height: 41px; max-width: 100%; border-radius: 8px;
  padding: 5px 32px 5px 11px; appearance: none; font: 600 13px/1.3 var(--sans, Arial, sans-serif);
  color: inherit; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23564e62' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 10px; background-position: right 12px center;
  background-color: #f9f7fc; color: var(--dr-ink); border: 1px solid #b9b2c4;
}
.dreport select:disabled { opacity: 1; cursor: default; background-image: none; padding-right: 11px; background-color: #f2efef; color: #554e5c; }
.dreport :is(summary, button, select):focus-visible { outline: 3px solid #a2450a; outline-offset: 3px; }
.dreport-toolbar select:focus-visible { outline-color: #ffc565; }
.dreport-metrics {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0;
  padding: 22px clamp(18px, 2.7vw, 34px) 15px; gap: clamp(16px, 4vw, 64px);
}
.dreport-metric { min-width: 0; }
.dreport-metric dt { color: var(--dr-ink); font-size: 14px; font-weight: 700; line-height: 1.25; }
.dreport-metric dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 7px 0 0; }
.dreport-metric strong { font: 400 clamp(27px, 3vw, 43px)/1 Anton, 'Arial Narrow', sans-serif; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.dreport-metric dd span { color: var(--dr-quiet); font-size: 12px; font-variant-numeric: tabular-nums; }
.dreport-bar { flex: 0 0 100%; display: block; margin-top: 7px; background: #e5e0e7; height: 5px; overflow: hidden; border-radius: 2px; }
.dreport-bar i { display: block; height: 100%; background: var(--dr-violet); }
.dreport-metric:nth-child(2) .dreport-bar i { background: #a75128; }
.dreport-metric:nth-child(3) .dreport-bar i { background: #247261; }
.dreport .dreport-method {
  margin: 0; padding: 0 clamp(18px, 2.7vw, 34px) 19px;
  color: var(--dr-quiet); font-size: 12px; line-height: 1.45;
}
.dreport-workspace { border-top: 1px solid var(--dr-rule); }
.dreport-interactive .dreport-workspace { display: grid; grid-template-columns: minmax(200px, .76fr) minmax(0, 2fr); }
.dreport-question-list { padding: clamp(17px, 2vw, 26px); background: #f1edf4; border-right: 1px solid var(--dr-rule); }
.dreport .dreport-question-list h3, .dreport .dreport-observation h4 {
  margin: 0 0 10px; font: 700 13px/1.3 var(--sans, Arial, sans-serif);
  letter-spacing: 0; color: var(--dr-quiet);
}
.dreport-question-list button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 9px;
  padding: 11px 12px; margin: 0 0 4px; border: 1px solid transparent;
  color: var(--dr-ink); background: transparent; border-radius: 8px;
  text-align: left; font: 600 14px/1.35 var(--sans, Arial, sans-serif); cursor: pointer;
}
.dreport-question-list button[aria-pressed=true] { background: #fffdf8; border-color: #b8abc9; box-shadow: 0 2px 3px #30213f09; }
.dreport-question-list button[aria-pressed=false]:hover { border-color: #c9c1d3; }
.dreport-question-list button span:last-child { opacity: 0; color: var(--dr-violet); }
.dreport-question-list button[aria-pressed=true] span:last-child { opacity: 1; }
.dreport-evidence { min-width: 0; }
.dreport .dreport-case { margin: 0; }
.dreport .dreport-case + .dreport-case { border-top: 1px solid var(--dr-rule); }
.dreport details > summary { cursor: pointer; }
.dreport-case > summary { padding: 16px 22px; font-weight: 700; }
.dreport-case-inner { padding: 0 clamp(18px, 2.6vw, 34px) 24px; }
.dreport-interactive .dreport-case-inner { padding-top: clamp(17px, 2vw, 26px); }
.dreport-interactive .dreport-case + .dreport-case { border-top: 0; }
.dreport-interactive .dreport-case > summary, .dreport-interactive .dreport-observation > summary { display: none; }
.dreport-inspector-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 22px; justify-content: space-between; margin-bottom: 20px; }
.dreport .dreport-inspector-head h3 {
  flex: 1 1 235px; margin: 0; font: 700 clamp(18px, 1.65vw, 23px)/1.2 var(--sans, Arial, sans-serif);
  letter-spacing: -.035em; color: var(--dr-ink);
}
.dreport-inspector-head label { color: var(--dr-quiet); }
.dreport-inspector-head select { font-size: 12px; }
.dreport-observation > summary, .dreport-reference > summary { padding: 9px 0; font-size: 13px; }
.dreport-observation > summary { font-weight: 700; }
.dreport-observation-body { padding: 7px 0 0; }
.dreport-interactive .dreport-observation-body { padding-top: 0; }
.dreport .dreport-observation h4 { margin: 0 0 5px; }
.dreport blockquote {
  margin: 0 0 15px; padding: 0 0 0 13px; border: 0; border-left: 3px solid #c1b2db;
  font: normal 400 clamp(17px, 1.55vw, 21px)/1.44 Georgia, 'Times New Roman', serif;
  letter-spacing: -.012em; color: var(--dr-ink);
}
.dreport-sources ul { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; }
.dreport code { overflow-wrap: anywhere; font: 500 12px/1.5 ui-monospace, Menlo, Consolas, monospace; color: #44376b; }
.dreport-action { margin-top: 15px; padding: 12px 15px; border-left: 3px solid #df7734; background: #fbefdc; border-radius: 0 7px 7px 0; }
.dreport .dreport-action h4 { color: var(--dr-ink); }
.dreport-action p,.dreport-reference p { font-size: 14px; line-height: 1.45; margin: 0; }
.dreport-reference { margin-top: 6px; }
.dreport-analyse { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--dr-violet); font: 700 14px/1.3 var(--sans, Arial, sans-serif); text-decoration: underline; text-underline-offset: 3px; }
.dreport-analyse:focus-visible { outline: 3px solid #a2450a; outline-offset: 3px; }
.dreport-reference > summary { color: var(--dr-violet); font-weight: 700; }
.dreport-reference p { margin: 0 0 3px; }
.dreport-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 780px) {
  .dreport-intro { grid-template-columns: 1fr; gap: 10px; }
  .dreport-interactive .dreport-workspace { grid-template-columns: minmax(170px, .7fr) minmax(0, 1.4fr); }
  .dreport-inspector-head label { flex: 1 1 100%; }
  .dreport-inspector-head select { width: fit-content; }
}
@media(max-width: 610px) {
  .dreport { scroll-margin-top: 78px; }
  .dreport-panel { border-radius: 17px; }
  .dreport-toolbar { align-items: flex-start; gap: 13px; }
  .dreport-filters { width: 100%; gap: 8px; }
  .dreport-filters label { flex: 1 1 100px; min-width: 0; }
  .dreport-filters select { min-width: 0; width: 100%; }
  .dreport-metrics { gap: 9px; padding: 18px 15px 12px; }
  .dreport-metric dt { font-size: 12px; }
  .dreport-metric dd { display: grid; gap: 3px; }
  .dreport-metric dd span { font-size: 11px; }
  .dreport-interactive .dreport-workspace { grid-template-columns: 1fr; }
  .dreport-question-list { border-right: 0; border-bottom: 1px solid var(--dr-rule); padding: 13px 16px; }
  .dreport-question-list button { margin-bottom: 2px; padding: 9px; }
  .dreport-inspector-head { gap: 10px; }
  .dreport-inspector-head label { width: 100%; }
}
@media(prefers-reduced-motion:no-preference) {
  .dreport-bar i { transition: width .28s ease; }
}
