:root {
  --ink: #151816;
  --ink-soft: #343a36;
  --muted: #6b736d;
  --muted-2: #929991;
  --line: #dfe4df;
  --line-strong: #cbd2cc;
  --canvas: #edf1ee;
  --paper: #ffffff;
  --soft: #f6f8f6;
  --soft-green: #edfff3;
  --green: #35e875;
  --green-dark: #087a36;
  --blue: #356ee6;
  --blue-soft: #edf3ff;
  --amber: #ad6a00;
  --amber-soft: #fff7e8;
  --red: #b33a3a;
  --red-soft: #fff1f0;
  --violet: #7153c8;
  --violet-soft: #f4f0ff;
  --shadow: 0 1px 1px rgba(20, 26, 22, .03), 0 22px 70px rgba(25, 39, 30, .09);
  --sans: Inter, "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

.report--direct .agency-banner,
.report--direct .expert-comment { display: none; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,.56), rgba(255,255,255,.56)),
    linear-gradient(90deg, rgba(26,37,30,.035) 1px, transparent 1px),
    linear-gradient(rgba(26,37,30,.035) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, 48px 48px, 48px 48px, auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 9px 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

.report-shell {
  width: min(1360px, calc(100% - 40px));
  margin: 20px auto 42px;
  overflow: clip;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 66px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}

.method-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.method-brand img { display: block; }
.method-brand__name {
  font: 760 13px/1 var(--mono);
  letter-spacing: .08em;
}
.method-brand__product {
  padding-left: 11px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font: 660 11px/1 var(--mono);
  letter-spacing: .1em;
}

.report-nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 590;
}
.report-nav a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.report-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--ink);
  transition: transform .18s ease;
}
.report-nav a:hover,
.report-nav a.is-active { color: var(--ink); }
.report-nav a.is-active::after { transform: scaleX(1); }

.topbar__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.agency-banner {
  min-height: 102px;
  padding: 17px 36px 17px 40px;
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(260px, 1.05fr) minmax(250px, .9fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #d6dbdd;
  background: linear-gradient(105deg, #faf9f6 0%, #f1f3f4 48%, #f8f9f8 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.8);
}
.agency-banner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #18201c 0%, #61716a 100%);
}
.agency-banner__mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid #18201c;
  border-radius: 10px;
  background: #18201c;
  color: #fff;
  box-shadow: 0 8px 24px rgba(19,27,23,.12);
  font: 760 12px var(--mono);
  letter-spacing: .06em;
}
.agency-banner__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.agency-banner__copy,
.agency-banner__role { display: grid; gap: 3px; }
.agency-banner__copy span,
.agency-banner__role span {
  color: var(--muted);
  font: 650 9.5px/1.25 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}
.agency-banner__copy strong { font-size: 21px; font-weight: 690; letter-spacing: -.035em; }
.agency-banner__role span {
  width: max-content;
  padding: 4px 7px;
  border: 1px solid #c9ced0;
  background: rgba(255,255,255,.76);
  color: #42504a;
}
.agency-banner__role small { margin-top: 3px; color: var(--ink-soft); font-size: 11px; }
.agency-banner__contact { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.agency-banner__contact > a:first-child { color: var(--muted); font-size: 10.5px; font-weight: 630; }
.agency-banner__contact .button {
  border-color: #27312c;
  background: #27312c;
  color: #fff;
  box-shadow: 0 5px 16px rgba(22,30,26,.11);
}
.agency-banner__contact .button:hover { border-color: #111713; background: #111713; }

.button {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.button:hover { border-color: #9fa8a1; background: var(--soft); }
.button:active { transform: translateY(1px); }
.button--quiet { color: var(--muted); }
.button--primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.button--primary:hover { border-color: #2c312e; background: #2c312e; }
.button--large { min-height: 42px; padding: 0 18px; font-size: 12px; }

.report-hero {
  padding: 34px 36px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 54px;
  border-bottom: 1px solid var(--line);
}

.eyebrow-line {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow,
.section-index,
.panel__kicker {
  color: var(--muted);
  font: 680 10.5px/1.2 var(--mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 650;
}
.status-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(53,232,117,.14);
}

.report-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: .96;
}
.hero-lead {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}
.hero-meta {
  margin: 0;
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
}
.hero-meta div { min-height: 54px; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.hero-meta div:last-child { border-bottom: 0; }
.hero-meta dt {
  margin-bottom: 4px;
  color: var(--muted-2);
  font: 650 10px/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-meta dd { margin: 0; font-size: 12px; font-weight: 620; }

.agency-signature {
  align-self: start;
  min-height: 150px;
  padding: 18px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.agency-signature__label {
  grid-column: 1 / -1;
  margin-bottom: 14px;
  color: var(--muted);
  font: 650 10px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.agency-mark {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd1cc;
  border-radius: 50%;
  background: #fff;
  font: 720 10px var(--mono);
  letter-spacing: .06em;
}
.agency-signature strong { align-self: end; font-size: 13px; }
.agency-signature > span:not(.agency-signature__label) { color: var(--muted); font-size: 10px; }
.agency-signature a { margin-top: 13px; color: var(--ink-soft); font-size: 10px; font-weight: 650; }

.demo-note {
  min-height: 46px;
  padding: 8px 36px;
  display: grid;
  grid-template-columns: 24px auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ead7aa;
  background: #fff9ea;
  color: #66542d;
  font-size: 11px;
}
.demo-note i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #d7b96e;
  border-radius: 50%;
  background: #fff;
  color: #8b6100;
  font: 750 11px var(--mono);
  font-style: normal;
}
.demo-note strong {
  color: #765713;
  font: 680 10px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.demo-note span { color: #6b6047; }

.section {
  padding: 34px 36px 40px;
  border-bottom: 1px solid var(--line);
}
#szanse { background: #fff; }
#kategorie { background: #f6f7f6; }
.section-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading--tight { margin-bottom: 17px; }
.section-heading h2,
.repeat-audit h2,
.methodology h2 {
  margin: 7px 0 0;
  font-size: 23px;
  font-weight: 640;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.metric {
  min-height: 122px;
  padding: 15px 15px 14px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fff;
}
.metric:last-child { border-right: 0; }
.metric__label {
  min-height: 31px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
  line-height: 1.35;
}
.metric strong {
  margin-top: auto;
  font-size: 30px;
  font-weight: 570;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric__note {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.25;
}
.metric--critical { background: linear-gradient(180deg, #fff 0%, var(--red-soft) 130%); }
.metric--critical strong { color: var(--red); }
.metric--positive { background: linear-gradient(180deg, #fff 0%, var(--soft-green) 130%); }
.metric--positive strong { color: var(--green-dark); }

.summary-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 14px;
}

.competitor-overlap {
  grid-column: 1 / -1;
  min-height: 108px;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  overflow: hidden;
}
.competitor-overlap[hidden] { display: none; }
.competitor-overlap__head {
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: #fbfcfb;
}
.competitor-overlap__head h3 { margin: 5px 0 3px; font-size: 15px; font-weight: 620; letter-spacing: -.02em; }
.competitor-overlap__head p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.competitor-overlap__head > small { margin-top: 8px; color: var(--muted-2); font: 500 9px var(--mono); }
.competitor-overlap__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.competitor-overlap__list button {
  min-width: 0;
  padding: 15px 14px 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 6px 9px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease;
}
.competitor-overlap__list button:last-child { border-right: 0; }
.competitor-overlap__list button:hover { background: #f7f9f7; box-shadow: inset 0 -2px var(--green); }
.competitor-overlap__list button.is-active { background: var(--soft-green); box-shadow: inset 0 -3px var(--green); }
.competitor-overlap__list button > span { min-width: 0; display: grid; gap: 8px; }
.competitor-overlap__list button > span strong { overflow: hidden; font-size: 11.5px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.competitor-overlap__list button > span i { height: 3px; overflow: hidden; background: #e5e9e6; }
.competitor-overlap__list button > span b { width: var(--overlap); height: 100%; display: block; background: var(--green); }
.competitor-overlap__list button em { align-self: start; font: 600 15px/1 var(--mono); font-style: normal; }
.competitor-overlap__list button small { grid-column: 1 / -1; color: var(--muted); font-size: 9.5px; }

.expert-comment {
  margin-top: 14px;
  min-height: 150px;
  padding: 20px;
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(320px, 1fr) 280px auto;
  align-items: center;
  gap: 22px;
  border: 1px solid #d2d7d9;
  border-left: 3px solid #27312c;
  background: linear-gradient(105deg, #f5f3ee 0%, #f4f6f7 46%, #fff 100%);
  box-shadow: 0 8px 24px rgba(23,31,27,.045);
}
.expert-comment--summary-only { grid-template-columns: 230px minmax(320px, 1fr) auto; }
.expert-comment__author { display: flex; align-items: center; gap: 13px; }
.expert-comment__author > div:last-child { display: grid; gap: 2px; }
.expert-comment__author span { color: var(--muted); font: 660 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.expert-comment__author strong { margin-top: 3px; font-size: 14px; }
.expert-comment__author small { color: var(--muted); font-size: 9.5px; }
.expert-comment__avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #c9d0cc;
  border-radius: 50%;
  background: #e8eeea;
  color: #273c32;
  font: 700 12px/1 var(--mono);
  box-shadow: 0 6px 18px rgba(19,27,23,.08);
}
.expert-comment__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.expert-comment__phone {
  width: max-content;
  margin-top: 3px;
  color: #4e5b54;
  font-size: 9.5px;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 1px dotted #909a94;
}
.expert-comment__phone:hover { color: #111713; border-bottom-color: #111713; }
.expert-comment__copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
}
.expert-comment blockquote {
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid #c7cdca;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 510;
  line-height: 1.52;
  letter-spacing: -.012em;
}
.expert-comment__text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.expert-comment__copy .expert-comment__text { -webkit-line-clamp: 4; }
.expert-comment__actions .expert-comment__text { -webkit-line-clamp: 5; }
.expert-comment__copy.is-expanded .expert-comment__text,
.expert-comment__actions.is-expanded .expert-comment__text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.expert-comment__expand {
  width: max-content;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px dotted #7d8982;
  background: transparent;
  color: #34433b;
  font: 620 9.5px/1.2 var(--sans);
  cursor: pointer;
}
.expert-comment__copy .expert-comment__expand { margin-left: 22px; }
.expert-comment__expand:hover { color: #111713; border-bottom-color: #111713; }
.expert-comment__expand[hidden] { display: none; }
.expert-comment__actions { display: grid; gap: 5px; }
.expert-comment__actions span { color: var(--muted); font: 660 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.expert-comment__actions strong { font-size: 11px; line-height: 1.45; }
.optional-module {
  align-self: start;
  padding: 5px 7px;
  border: 1px solid #c7cdca;
  background: rgba(255,255,255,.8);
  color: #48554f;
  font: 650 8.5px/1 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.panel { border: 1px solid var(--line); background: #fff; }
.panel__head {
  min-height: 58px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.panel__head h3 { margin: 4px 0 0; font-size: 14px; font-weight: 670; letter-spacing: -.015em; }
.panel__aside { color: var(--muted); font: 600 10px var(--mono); }
.data-quality {
  padding: 4px 6px;
  border: 1px solid #b9ddc5;
  background: var(--soft-green);
  color: var(--green-dark);
  font: 670 10px/1 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.finding-list { margin: 0; padding: 0; list-style: none; }
.finding-list li {
  min-height: 76px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.finding-list li:last-child { border-bottom: 0; }
.finding-list__number { align-self: start; padding-top: 2px; color: var(--muted-2); font: 620 10px var(--mono); }
.finding-list strong { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 670; }
.finding-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.finding-list button {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid #8c948e;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 670;
  cursor: pointer;
}
.finding-list button:hover { border-color: var(--ink); color: var(--ink); }

.distribution { padding: 18px 15px 16px; }
.distribution__bar {
  height: 10px;
  display: flex;
  overflow: hidden;
  background: var(--soft);
}
.distribution__bar i { width: var(--size); height: 100%; border-right: 1px solid #fff; }
.distribution__bar .is-critical { background: #d76262; }
.distribution__bar .is-opportunity { background: var(--green); }
.distribution__bar .is-defend { background: #d69a37; }
.distribution__bar .is-observe { background: #7194df; }
.distribution__bar .is-low { background: #d8ddd9; }
.distribution__bar .is-nodata { border-right: 0; background: repeating-linear-gradient(135deg, #f4f6f4 0 3px, #c9cfca 3px 5px); }
.distribution__rows { margin-top: 13px; display: grid; gap: 8px; }
.distribution__rows > div {
  display: grid;
  grid-template-columns: 8px 1fr 30px 38px;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.distribution__rows strong { text-align: right; font: 680 11px var(--mono); }
.distribution__rows small { color: var(--muted-2); text-align: right; font: 500 10px var(--mono); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #d8ddd9; }
.dot--critical { background: #d76262; }
.dot--opportunity { background: var(--green); }
.dot--defend { background: #d69a37; }
.dot--observe { background: #7194df; }
.dot--nodata { border: 1px solid #adb4ae; background: #fff; }
.priority-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
}
.priority-explainer > div { padding: 11px 14px 12px; }
.priority-explainer > div:first-child { border-right: 1px solid var(--line); }
.priority-explainer strong { font-size: 10.5px; font-weight: 680; }
.priority-explainer p { margin: 4px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.45; }
.priority-explainer p b { color: var(--ink-soft); font-weight: 640; }

.table-toolbar {
  min-height: 46px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--soft);
}

.table-active-filter {
  min-height: 36px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #f2f8f4;
  color: var(--ink-soft);
  font-size: 10.5px;
}
.table-active-filter[hidden] { display: none; }
.table-active-filter > span { color: var(--muted); }
.table-active-filter strong { font-weight: 630; }
.table-active-filter button {
  margin-left: auto;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid #829087;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  cursor: pointer;
}
.table-active-filter button:hover { border-color: var(--ink); color: var(--ink); }

.scenario-grid {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.scenario-grid button {
  position: relative;
  min-height: 78px;
  padding: 11px 46px 11px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease;
}
.scenario-grid button:last-child { border-right: 0; }
.scenario-grid button::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #cdd4ce;
  border-radius: 50%;
  background: #fafbfa;
  color: var(--ink-soft);
  font: 650 10px var(--mono);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.scenario-grid button:hover { position: relative; z-index: 1; background: #f7f9f7; box-shadow: inset 0 -2px #252b27; }
.scenario-grid button:hover::after { transform: translate(2px, -50%); border-color: var(--ink); background: #fff; }
.scenario-grid button.is-active { position: relative; z-index: 1; background: #f4f6f4; box-shadow: inset 0 -3px var(--ink); }
.scenario-grid button.is-active::after { border-color: var(--ink); background: var(--ink); color: #fff; }
.scenario-grid button:focus-visible { position: relative; z-index: 2; }
.scenario-grid button > span:last-child { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 13px 31px; gap: 4px 10px; align-content: center; }
.scenario-grid button small { align-self: center; overflow: hidden; color: var(--muted); font: 670 8.5px/1 var(--mono); letter-spacing: .055em; text-overflow: ellipsis; white-space: nowrap; }
.scenario-grid button strong { grid-column: 1 / -1; align-self: start; font-size: 11.5px; line-height: 1.34; }
.scenario-grid button em { grid-column: 2; grid-row: 1; align-self: center; color: var(--muted); font: 500 9.5px/1 var(--sans); font-style: normal; white-space: nowrap; }
.scenario-grid__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  font: 680 14px var(--mono);
}
.scenario-grid__icon--split { position: relative; grid-template-columns: 1fr 1fr; padding: 0 5px; color: var(--green-dark); font-size: 11px; }
.scenario-grid__icon--split i { color: var(--red); font-style: normal; }
.scenario-grid__icon--missed { border-color: #bee2c9; background: var(--soft-green); color: var(--green-dark); }
.scenario-grid__icon--pressure { border-color: #ecd2a8; background: var(--amber-soft); color: var(--amber); }
.scenario-grid__icon--low { color: var(--muted); }

.advertising-gap {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.65fr);
  border: 1px solid var(--line-strong);
  background: #fff;
}
.advertising-gap__intro {
  padding: 20px 21px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(145deg, #f8faf8 0%, #fff 72%);
}
.advertising-gap__intro h3 { margin: 7px 0 7px; font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.advertising-gap__intro > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.advertising-gap__result { margin-top: 17px; display: flex; align-items: flex-end; align-items: last baseline; gap: 9px; }
.advertising-gap__result strong { font: 650 38px/1 var(--mono); letter-spacing: -.05em; }
.advertising-gap__result span { max-width: 110px; color: var(--ink-soft); font-size: 10px; line-height: 1.25; }
.advertising-gap__intro > button {
  margin-top: 15px;
  padding: 0 0 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #9ea7a0;
  background: transparent;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 680;
  cursor: pointer;
}
.advertising-gap__intro > button:hover { border-color: var(--ink); }
.advertising-gap__analysis { min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.advertising-funnel {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.advertising-funnel li {
  position: relative;
  min-width: 0;
  min-height: 96px;
  padding: 14px 13px 12px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.advertising-funnel li:last-child { border-right: 0; }
.advertising-funnel li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 34px;
  right: -7px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #9ba39d;
  font: 9px var(--mono);
}
.advertising-funnel li > span { color: var(--muted-2); font: 650 8px var(--mono); }
.advertising-funnel li > div { min-width: 0; display: grid; gap: 4px; }
.advertising-funnel small { min-height: 35px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.advertising-funnel strong { font: 650 22px/1 var(--mono); }
.advertising-funnel .is-result { background: #fff8f7; }
.advertising-funnel .is-result span,
.advertising-funnel .is-result strong { color: var(--red); }
.advertising-distribution { padding: 13px 15px 12px; align-self: stretch; }
.advertising-distribution__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.advertising-distribution__head span { font-size: 10px; font-weight: 680; }
.advertising-distribution__head small { color: var(--muted); font: 550 9px var(--mono); }
.advertising-distribution__bar { height: 7px; margin-top: 10px; display: flex; gap: 1px; overflow: hidden; background: var(--soft); }
.advertising-distribution__bar i { width: var(--size); min-width: 0; height: 100%; }
.advertising-distribution .is-gap { background: #d76262; }
.advertising-distribution .is-both { background: #d69a37; }
.advertising-distribution .is-seller { background: #7194df; }
.advertising-distribution .is-organic { background: #d4dad5; }
.advertising-distribution .is-unknown { border: 1px solid #aeb6b0; background: #fff; }
.advertising-distribution__rows { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.advertising-distribution__rows > div { display: grid; grid-template-columns: 6px minmax(0, 1fr) 28px; align-items: center; gap: 7px; }
.advertising-distribution__rows > div > i { width: 6px; height: 6px; border-radius: 50%; }
.advertising-distribution__rows span { color: var(--muted); font-size: 9px; line-height: 1.3; }
.advertising-distribution__rows strong { text-align: right; font: 650 9.5px var(--mono); }
.advertising-gap > footer {
  grid-column: 1 / -1;
  min-height: 34px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}
.filter-tabs { min-width: 0; display: flex; flex: 1 1 auto; align-items: center; gap: 3px; overflow-x: auto; }
.filter-tabs button {
  min-height: 32px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 620;
  white-space: nowrap;
  cursor: pointer;
}
.filter-tabs button span { color: var(--muted-2); font: 600 10px var(--mono); }
.filter-tabs button:hover { color: var(--ink); background: #fff; }
.filter-tabs button.is-active { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(18,24,20,.03); }
.table-search {
  width: 230px;
  min-width: 210px;
  height: 32px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.table-search > span:not(.sr-only) { color: var(--muted); font: 17px/1 var(--mono); transform: translateY(-1px); }
.table-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.table-search input::placeholder { color: var(--muted-2); }

.data-table-frame { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.table-discovery-hint {
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  background: #f5faf7;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
.table-discovery-hint svg { width: 22px; height: 22px; flex: 0 0 auto; }
.table-discovery-hint[hidden] { display: none; }
.table-discovery-hint.is-discovering { animation: table-discovery-hint 3.2s ease both; }
.table-discovery-hint.is-discovering svg { animation: table-discovery-arrow 3.2s ease both; }
[data-product-row],
[data-category-row] { cursor: pointer; }
.data-table tbody tr[data-product-row]:hover,
.data-table tbody tr[data-product-row]:focus-within,
.category-directory__table tbody tr[data-category-row]:hover,
.category-directory__table tbody tr[data-category-row]:focus-within { background: #f0faf4; }
[data-product-row]:hover .row-actions button,
[data-category-row]:hover .category-analysis-cell button { color: var(--green-dark); }
.is-discovery-row > td { animation: table-discovery-row 3.2s ease; }
@keyframes table-discovery-hint {
  0%, 100% { background: #f5faf7; }
  20%, 55% { background: #dcf7e6; }
}
@keyframes table-discovery-arrow {
  0%, 35%, 70%, 100% { transform: translateY(0); }
  20%, 55% { transform: translateY(5px); }
}
@keyframes table-discovery-row {
  0%, 100% { background: transparent; }
  25%, 55% { background: #e5f8ed; }
}
@media (prefers-reduced-motion: reduce) {
  .table-discovery-hint.is-discovering,
  .table-discovery-hint.is-discovering svg,
  .is-discovery-row > td { animation: none; }
}
.data-table-frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  height: 2px;
  opacity: 0;
  transform: scaleX(.12) translateX(-46%);
  transform-origin: left;
  background: linear-gradient(90deg, transparent 0%, #4f61cf 42%, #8792e2 62%, transparent 100%);
  pointer-events: none;
  transition: opacity .16s ease;
}
.data-table-frame.is-updating::before { opacity: 1; animation: table-progress .72s ease-in-out infinite; }
.data-table-scroll { overflow-x: auto; opacity: 1; transform: translateY(0); transition: opacity .16s ease, transform .2s cubic-bezier(.22, 1, .36, 1); }
.data-table-frame.is-updating .data-table-scroll { opacity: .42; transform: translateY(2px); }
.data-table { width: 100%; min-width: 1240px; border-collapse: collapse; table-layout: fixed; }
.data-table th {
  height: 58px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  background: #fbfcfb;
  color: var(--muted);
  text-align: left;
  vertical-align: middle;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}
.data-table th:last-child,
.data-table td:last-child { border-right: 0; }
.data-table th button {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.data-table th button > span { min-width: 0; display: block; overflow-wrap: anywhere; line-height: 1.35; }
.data-table th button:hover { color: var(--ink); }
.data-table th button small { margin-top: 3px; display: block; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.data-table th button i { width: 7px; height: 9px; margin-left: 3px; position: relative; flex: 0 0 auto; }
.data-table th button i::before,
.data-table th button i::after { position: absolute; left: 1px; color: #b5bbb6; font: 6px/1 var(--mono); }
.data-table th button i::before { content: "▲"; top: -1px; }
.data-table th button i::after { content: "▼"; bottom: -1px; }
.data-table th button.is-sort-asc i::before,
.data-table th button.is-sort-desc i::after { color: var(--ink); }
.data-table .is-number,
.data-table td.is-number { text-align: right; }
.data-table th.is-number button { justify-content: flex-end; }
.data-table th.is-number button > span { text-align: right; }
.data-table th.is-number button i { margin-left: 2px; }
.data-table .col-priority { width: 95px; }
.data-table .col-product { width: 260px; }
.data-table .col-action { width: 230px; }
.data-table th:nth-child(3) { width: 112px; }
.data-table th:nth-child(4) { width: 140px; }
.data-table th:nth-child(5) { width: 122px; }
.data-table th:nth-child(6) { width: 128px; }
.data-table th:nth-child(7) { width: 148px; }
.data-table td {
  height: 68px;
  padding: 9px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 12px;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcfb; }
.data-table tbody.is-entering tr { animation: table-row-enter .32s cubic-bezier(.22, 1, .36, 1) both; }
.data-table tbody.is-entering tr:nth-child(2) { animation-delay: 16ms; }
.data-table tbody.is-entering tr:nth-child(3) { animation-delay: 32ms; }
.data-table tbody.is-entering tr:nth-child(4) { animation-delay: 48ms; }
.data-table tbody.is-entering tr:nth-child(5) { animation-delay: 64ms; }
.data-table tbody.is-entering tr:nth-child(6) { animation-delay: 80ms; }
.data-table tbody.is-entering tr:nth-child(7) { animation-delay: 96ms; }
.data-table tbody.is-entering tr:nth-child(8) { animation-delay: 112ms; }
.data-table tbody.is-entering tr:nth-child(9) { animation-delay: 128ms; }
.data-table tbody.is-entering tr:nth-child(10) { animation-delay: 144ms; }
.product-name { display: block; width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 660; }
a.product-name { color: inherit; text-decoration: underline dotted #8d9690; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
a.product-name:hover { color: var(--green); text-decoration-color: currentColor; }
.product-category { display: block; margin-top: 4px; color: var(--muted); font-size: 10.5px; }
.priority-badge {
  width: max-content;
  min-height: 21px;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font: 680 10px/1 var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.priority-badge--critical { border-color: #efc4c1; background: var(--red-soft); color: var(--red); }
.priority-badge--opportunity { border-color: #b8e6c7; background: var(--soft-green); color: var(--green-dark); }
.priority-badge--defend { border-color: #ecd5ae; background: var(--amber-soft); color: var(--amber); }
.priority-badge--observe { border-color: #c8d6f4; background: var(--blue-soft); color: var(--blue); }
.priority-badge--nodata { border-style: dashed; }
.metric-number { display: block; font: 650 12px var(--mono); font-variant-numeric: tabular-nums; }
.metric-sub { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10px; }
.promotion-cell { position: relative; display: grid; gap: 3px; }
.promotion-cell > span { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.promotion-cell small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promotion-cell strong { color: var(--ink-soft); font: 630 9.5px var(--mono); white-space: nowrap; }
.promotion-cell strong.is-active { color: var(--blue); }
.promotion-cell em { width: max-content; margin-top: 2px; padding: 2px 4px; border: 1px solid #efc4c1; background: var(--red-soft); color: var(--red); font: 680 7px var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.promotion-cell--gap > span:first-child strong { color: var(--red); }
.promotion-cell--unknown strong { color: var(--muted-2); }
.capture-cell { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.capture-bar { width: 43px; height: 3px; overflow: hidden; background: #e8ece9; }
.capture-bar i { display: block; width: var(--capture); height: 100%; background: var(--blue); }
.delta { font: 650 10px var(--mono); }
.delta--up { color: var(--red); }
.delta--down { color: var(--green-dark); }
.trend-pill {
  min-width: 49px;
  padding: 3px 5px;
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font: 650 10px var(--mono);
}
.trend-pill--up { border-color: #bee1c9; background: var(--soft-green); color: var(--green-dark); }
.trend-pill--down { border-color: #efc8c4; background: var(--red-soft); color: var(--red); }
.trend-pair { display: grid; gap: 4px; }
.trend-pair > span { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 4px; }
.trend-pair small { color: var(--muted-2); font-size: 9px; }
.trend-pair .trend-pill { min-width: 52px; }
.recommendation { color: var(--ink-soft); font-size: 11.5px; line-height: 1.35; }
.row-actions { margin-top: 5px; display: flex; align-items: center; gap: 10px; }
.row-actions button,
.row-actions a {
  padding: 0 0 1px;
  border: 0;
  border-bottom: 1px solid #aab1ab;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  cursor: pointer;
}
.row-actions button:hover,
.row-actions a:hover { border-color: var(--ink); color: var(--ink); }
.table-empty { padding: 50px 20px; text-align: center; }
.table-empty strong { display: block; margin-bottom: 5px; font-size: 12px; }
.table-empty span { color: var(--muted); font-size: 10px; }
.table-footer {
  min-height: 48px;
  padding: 7px 10px 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
  color: var(--muted);
  font-size: 10px;
}
.pagination { display: flex; gap: 4px; }
.pagination > div { display: flex; gap: 4px; }
.pagination__ellipsis {
  display: inline-flex;
  min-width: 24px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}
.pagination button {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--muted);
  font: 620 10px var(--mono);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s cubic-bezier(.22, 1, .36, 1);
}
.pagination button:hover:not(:disabled) { border-color: #9da59e; color: var(--ink); transform: translateY(-1px); }
.pagination button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pagination button:disabled { opacity: .38; cursor: default; }

@keyframes table-progress {
  0% { transform: scaleX(.12) translateX(-46%); }
  52% { transform: scaleX(.42) translateX(82%); }
  100% { transform: scaleX(.16) translateX(610%); }
}

@keyframes table-row-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.table-disclaimer { margin: 9px 0 0; color: var(--muted-2); font-size: 10px; }

.assortment-map-panel {
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 0 1px 0 rgba(19,25,21,.03);
}
.assortment-map-panel__head {
  min-height: 86px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.assortment-map-panel__head h3 { margin: 5px 0 3px; font-size: 22px; font-weight: 660; letter-spacing: -.035em; }
.assortment-map-panel__head p { margin: 0; color: var(--muted); font-size: 11.5px; }
.assortment-map-scale-note { margin-top: 6px; display: block; color: var(--muted-2); font-size: 9.5px; line-height: 1.4; }
.assortment-map-controls { display: grid; justify-items: end; gap: 8px; }
.assortment-map-scale { display: flex; align-items: center; gap: 8px; }
.assortment-map-scale > span { color: var(--muted-2); font: 600 8.5px var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.assortment-map-scale > div { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.assortment-map-scale button {
  min-height: 27px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: 560 9.5px var(--mono);
  cursor: pointer;
}
.assortment-map-scale button:last-child { border-right: 0; }
.assortment-map-scale button:hover { background: var(--soft); color: var(--ink); }
.assortment-map-scale button.is-active { background: var(--ink); color: #fff; }
.assortment-map-legend { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10.5px; }
.assortment-map-legend button {
  min-height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
}
.assortment-map-legend button:hover { border-color: #aeb6b0; color: var(--ink); }
.assortment-map-legend button:not(.is-active) { background: var(--soft); opacity: .42; }
.assortment-map-legend i { width: 8px; height: 8px; border-radius: 50%; }
.assortment-map-legend .is-critical { background: var(--red); }
.assortment-map-legend .is-opportunity { background: var(--green-dark); }
.assortment-map-legend .is-defend { background: var(--amber); }
.assortment-map-legend .is-other { background: #8b938d; }
.assortment-map-wrap { position: relative; padding: 6px 12px 0; }
.assortment-map-wrap canvas { width: 100%; height: 430px; display: block; }
.assortment-map-panel__foot {
  min-height: 74px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 190px 170px minmax(300px, 1fr);
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
}
.assortment-map-panel__foot > div { display: grid; gap: 2px; }
.assortment-map-panel__foot span { color: var(--muted); font-size: 9.5px; }
.assortment-map-panel__foot strong { font-size: 13px; font-weight: 680; }
.assortment-map-panel__foot small { color: var(--muted-2); font-size: 9px; }
.assortment-map-panel__foot p { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.assortment-map-panel__foot p strong { color: var(--ink-soft); font-size: inherit; }

.chart-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 158px;
  max-width: 260px;
  padding: 10px 11px;
  border: 1px solid #29312c;
  background: rgba(21,24,22,.96);
  color: #fff;
  box-shadow: 0 10px 30px rgba(17,24,19,.2);
  pointer-events: none;
}
.chart-tooltip[hidden] { display: none; }
.chart-tooltip b { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 680; line-height: 1.35; }
.chart-tooltip > span { margin-top: 4px; display: flex; align-items: center; gap: 6px; color: #bfc7c1; font-size: 9.5px; }
.chart-tooltip > span i { width: 8px; height: 3px; flex: 0 0 auto; }
.chart-tooltip > span strong { margin-left: auto; color: #fff; font: 620 9.5px var(--mono); }
.chart-tooltip__hint { margin-top: 8px; padding-top: 7px; display: block; border-top: 1px solid rgba(255,255,255,.18); color: #d7ddd8; font-size: 9px; line-height: 1.35; }

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, .95fr);
  gap: 14px;
}
.category-directory { width: 100%; }
.category-toolbar {
  min-height: 51px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}
.category-filter-tabs { min-width: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.category-filter-tabs button {
  min-height: 33px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 620;
  white-space: nowrap;
  cursor: pointer;
}
.category-filter-tabs button span { color: var(--muted-2); font: 600 10px var(--mono); }
.category-filter-tabs button:hover { background: #fff; color: var(--ink); }
.category-filter-tabs button.is-active { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(18,24,20,.03); }
.category-search {
  width: 230px;
  min-width: 210px;
  height: 33px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.category-search > span:not(.sr-only) { color: var(--muted); font: 17px/1 var(--mono); transform: translateY(-1px); }
.category-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.category-search input::placeholder { color: var(--muted-2); }
.compact-table.category-directory__table { min-width: 1160px; table-layout: fixed; }
.compact-table.category-directory__table th,
.compact-table.category-directory__table td { height: 46px; padding: 5px 9px; font-size: 11px; }
.compact-table.category-directory__table th { height: 58px; padding: 10px 9px; font: 650 11px/1.35 var(--sans); letter-spacing: 0; text-transform: none; white-space: normal; overflow-wrap: anywhere; }
.category-directory__table th:first-child { width: 280px; }
.category-directory__table th:nth-child(2) { width: 126px; }
.category-directory__table th:nth-child(3) { width: 105px; }
.category-directory__table th:nth-child(4) { width: 115px; }
.category-directory__table th:nth-child(5) { width: 126px; }
.category-directory__table th:nth-child(6) { width: 104px; }
.category-directory__table th:nth-child(7) { width: 132px; }
.category-directory__table th:nth-child(8) { width: 94px; }
.category-directory__table th:last-child { width: 78px; }
.category-directory__table th:nth-child(8),
.category-directory__table th:nth-child(8) button { text-align: center; justify-content: center; }
.category-directory__table th:last-child,
.category-directory__table td:last-child { border-left: 1px solid var(--line); }
.category-directory__table td:first-child strong,
.category-name-link { display: block; color: var(--ink); font-size: 12px; font-weight: 650; text-decoration: none; }
.category-name-link { width: fit-content; max-width: 100%; }
.category-name-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.category-directory__table td:first-child small { display: block; margin-top: 2px; overflow: hidden; color: var(--muted-2); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.category-directory__table .is-number { text-align: right; font-variant-numeric: tabular-nums; }
.category-directory__table th button {
  width: 100%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.category-directory__table th.is-number button { justify-content: flex-end; }
.category-directory__table th button:hover { color: var(--ink); }
.category-directory__table th button i {
  width: 7px;
  height: 9px;
  margin-left: 3px;
  position: relative;
  flex: 0 0 auto;
}
.category-directory__table th.is-number button i { margin-left: 3px; }
.category-empty td { height: 86px !important; color: var(--muted); text-align: center !important; }
.category-directory__table th button i::before,
.category-directory__table th button i::after { position: absolute; left: 1px; color: #b5bbb6; font: 6px/1 var(--mono); }
.category-directory__table th button i::before { content: "▲"; top: -1px; }
.category-directory__table th button i::after { content: "▼"; bottom: -1px; }
.category-directory__table th button.is-sort-asc i::before,
.category-directory__table th button.is-sort-desc i::after { color: var(--ink); }
.pressure-value { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.pressure-value small { min-width: 42px; color: inherit; font: 620 10px var(--mono); }
.category-directory__foot {
  min-height: 44px;
  padding: 6px 10px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
  color: var(--muted);
  font-size: 10.5px;
}
.category-directory__foot button {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 650;
  cursor: pointer;
}
.category-directory__foot button:hover { border-color: var(--ink); color: var(--ink); }
.category-analytics-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.chart-legend { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 10px; height: 3px; }
.legend-demand { background: var(--green-dark); }
.legend-offers { background: var(--blue); }
.category-chart { padding: 12px 15px 15px; display: grid; gap: 8px; }
.category-chart__row {
  min-height: 28px;
  display: grid;
  grid-template-columns: 116px minmax(180px, 1fr) 76px;
  align-items: center;
  gap: 10px;
}
.category-chart__label { overflow: hidden; color: var(--ink-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.category-chart__plot { position: relative; height: 24px; background: linear-gradient(90deg, transparent 49.85%, var(--line-strong) 49.85%, var(--line-strong) 50.15%, transparent 50.15%); }
.category-chart__plot::before,
.category-chart__plot::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: #eef1ee; }
.category-chart__plot::before { left: 25%; }
.category-chart__plot::after { left: 75%; }
.category-chart__bar { position: absolute; height: 5px; border-radius: 1px; }
.category-chart__bar.is-demand { top: 5px; background: var(--green-dark); }
.category-chart__bar.is-offers { bottom: 5px; background: var(--blue); }
.category-chart__bar.is-positive { left: 50%; width: var(--width); }
.category-chart__bar.is-negative { right: 50%; width: var(--width); opacity: .65; }
.category-chart__values { display: flex; justify-content: flex-end; gap: 8px; font: 610 10px var(--mono); }
.category-chart__values span:first-child { color: var(--green-dark); }
.category-chart__values span:last-child { color: var(--blue); }

.legend-products { background: var(--ink); }
.legend-buyers { background: var(--green-dark); }
.category-balance { padding: 13px 15px 16px; display: grid; gap: 8px; }
.category-balance__row {
  min-height: 28px;
  display: grid;
  grid-template-columns: 145px minmax(150px, 1fr) 86px;
  align-items: center;
  gap: 10px;
}
.category-balance__row > span { overflow: hidden; color: var(--ink-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.category-balance__row > div { height: 22px; position: relative; }
.category-balance__row > div::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: #edf0ed; }
.category-balance__row i { position: absolute; left: 0; width: var(--value); height: 5px; border-radius: 1px; }
.category-balance__row .is-products { top: 4px; background: var(--ink); }
.category-balance__row .is-buyers { bottom: 4px; background: var(--green-dark); }
.category-balance__row > strong { display: flex; justify-content: flex-end; gap: 9px; font: 610 9.5px var(--mono); }
.category-balance__row > strong span:first-child { color: var(--ink-soft); }
.category-balance__row > strong span:last-child { color: var(--green-dark); }

.compact-table-wrap { overflow-x: auto; }
.compact-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.compact-table th,
.compact-table td { height: 40px; padding: 0 10px; border-bottom: 1px solid var(--line); text-align: right; font-size: 10.5px; }
.compact-table th { height: 33px; background: #fbfcfb; color: var(--muted); font: 650 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.compact-table th:first-child,
.compact-table td:first-child { text-align: left; }
.compact-table tbody tr:last-child td { border-bottom: 0; }
.compact-table td:first-child { font-weight: 610; }
.positive { color: var(--green-dark); }
.negative { color: var(--red); }
.mini-status {
  padding: 3px 5px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font: 630 9.5px var(--mono);
  text-transform: uppercase;
}
.mini-status--good { border-color: #bce3c8; background: var(--soft-green); color: var(--green-dark); }
.mini-status--risk { border-color: #edc7c4; background: var(--red-soft); color: var(--red); }
.mini-status--watch { border-color: #ecd7b5; background: var(--amber-soft); color: var(--amber); }
.category-status-cell { text-align: center !important; }
.category-analysis-cell { text-align: right !important; }
.category-analysis-cell button {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid #9da59f;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 660;
  cursor: pointer;
}
.category-analysis-cell button:hover { border-color: var(--ink); color: var(--ink); }

.context-cta {
  min-height: 82px;
  margin-top: 14px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 210px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  background: linear-gradient(100deg, #f5fff8 0%, #fff 58%);
}
.context-cta--sledz { border-top-color: var(--blue); background: linear-gradient(100deg, #f3f7ff 0%, #fff 58%); }
.context-cta__brand { display: grid; gap: 3px; }
.context-cta__brand span { color: var(--green-dark); font: 710 9px var(--mono); letter-spacing: .09em; }
.context-cta--sledz .context-cta__brand span { color: var(--blue); }
.context-cta__brand strong { font-size: 15px; font-weight: 680; letter-spacing: -.02em; }
.context-cta p { max-width: 610px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.context-cta a {
  padding-bottom: 3px;
  border-bottom: 1px solid #969e98;
  font-size: 10.5px;
  font-weight: 680;
  white-space: nowrap;
}
.context-cta a span { margin-left: 5px; }
.context-cta a:hover { border-color: var(--ink); }

.repeat-audit {
  padding: 34px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #effff4 0%, #f9fffb 55%, #fff 100%);
}
.repeat-audit h2 { max-width: 720px; font-size: 25px; }
.repeat-audit > div:first-child p { max-width: 700px; margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.repeat-audit__action { padding-left: 24px; display: grid; border-left: 1px solid #cfe5d6; }
.repeat-audit__action > span { color: var(--muted); font-size: 10px; }
.repeat-audit__action > strong { margin: 5px 0 13px; font-size: 23px; font-weight: 620; letter-spacing: -.035em; }
.repeat-audit__action > strong small { color: var(--muted); font-size: 10px; font-weight: 550; }

.methodology {
  padding: 34px 36px 38px;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 58px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.methodology h2 { margin-top: 8px; font-size: 24px; }
.methodology__intro { position: sticky; top: 94px; }
.methodology__intro p { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.methodology__columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.methodology__columns p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.methodology__columns strong { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 10.5px; }
.methodology-faq { border-top: 1px solid var(--line-strong); }
.methodology-faq details { border-bottom: 1px solid var(--line-strong); }
.methodology-faq summary {
  min-height: 54px;
  padding: 14px 38px 14px 0;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.methodology-faq summary::-webkit-details-marker { display: none; }
.methodology-faq summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font: 500 15px/1 var(--sans);
}
.methodology-faq details[open] summary::after { content: "−"; border-color: var(--ink); color: var(--ink); }
.methodology-faq details[open] summary { color: var(--ink); }
.methodology-faq details p { max-width: 800px; margin: -2px 45px 17px 0; color: var(--muted); font-size: 12px; line-height: 1.62; }

.site-footer {
  min-height: 82px;
  padding: 19px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer__method { display: flex; align-items: center; gap: 10px; }
.site-footer__method img { display: block; }
.site-footer__method div { display: grid; gap: 2px; }
.site-footer__method strong { font: 680 10.5px var(--mono); letter-spacing: .035em; }
.site-footer__method span { color: var(--muted); font-size: 10px; }
.site-footer__meta { display: flex; gap: 18px; color: var(--muted); font: 500 10px var(--mono); }
.site-footer__meta a { color: var(--ink-soft); }

.product-dialog {
  --dialog-gutter: 28px;
  width: min(680px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px) scale(.978);
  box-shadow: 0 28px 90px rgba(16, 24, 19, .2);
  transition: opacity .28s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1), overlay .28s allow-discrete, display .28s allow-discrete;
}
.product-dialog.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.product-dialog.is-closing { opacity: 0; transform: translateY(10px) scale(.987); }
.product-dialog.is-category { width: min(960px, calc(100% - 28px)); }
.product-dialog.has-history { width: min(800px, calc(100% - 28px)); }
.product-dialog.has-offer-comparison { width: min(940px, calc(100% - 28px)); }
.product-dialog::backdrop {
  background: rgba(18,24,20,0);
  backdrop-filter: blur(0);
  transition: background .28s ease, backdrop-filter .28s ease, overlay .28s allow-discrete, display .28s allow-discrete;
}
.product-dialog.is-visible::backdrop { background: rgba(18,24,20,.34); backdrop-filter: blur(4px); }
.product-dialog.is-closing::backdrop { background: rgba(18,24,20,0); backdrop-filter: blur(0); }
.product-dialog > [data-dialog-content],
.dialog-product,
.category-detail { width: 100%; min-width: 0; max-width: 100%; }
.product-dialog > [data-dialog-content] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}
.product-dialog.is-visible > [data-dialog-content].is-ready { opacity: 1; transform: translateY(0); }
.product-dialog.is-closing > [data-dialog-content] { opacity: 0; transform: translateY(4px); }
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--ink); color: var(--ink); }
.dialog-product__head { padding: 28px 58px 20px var(--dialog-gutter); border-bottom: 1px solid var(--line); }
.dialog-product__head h2 { margin: 10px 0 6px; font-size: 23px; font-weight: 660; letter-spacing: -.035em; line-height: 1.14; }
.dialog-product__head p { margin: 0; color: var(--muted); font-size: 11.5px; }
.dialog-product__metrics { padding: 0 var(--dialog-gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.dialog-product__metrics > div { min-width: 0; min-height: 94px; padding: 16px 14px; border-right: 1px solid var(--line); }
.dialog-product__metrics > div:first-child { padding-left: 0; }
.dialog-product__metrics > div:last-child { border-right: 0; }
.dialog-product__metrics > div:last-child { padding-right: 0; }
.dialog-product__metrics span { display: block; min-height: 27px; overflow: hidden; color: var(--muted); font-size: 10.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.dialog-product__metrics strong { display: block; font: 650 17px var(--mono); white-space: nowrap; }
.dialog-product__metrics small { min-height: 25px; margin-top: 5px; display: block; color: var(--muted); font-size: 9.5px; line-height: 1.3; }
.dialog-product__metrics .promotion-mechanisms { min-height: 23px; display: flex; align-items: center; gap: 4px; }
.dialog-product__metrics .promotion-mechanisms b { padding: 4px 5px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--muted-2); font: 650 8.5px/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.dialog-product__metrics .promotion-mechanisms b.is-active { border-color: #bdc8f4; background: #f1f3ff; color: var(--blue); }
.dialog-product__body { padding: 22px var(--dialog-gutter) 24px; }
.dialog-product__body h3 { margin: 0 0 8px; font-size: 13px; }
.dialog-product__body p { margin: 0; color: var(--ink-soft); font-size: 11.5px; line-height: 1.55; }
.dialog-product__body .dialog-note { margin-top: 17px; padding: 12px 14px; background: var(--soft); color: var(--muted); font-size: 10px; }
.dialog-product__foot { padding: 13px var(--dialog-gutter); display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: #fbfcfb; }

.offer-comparison { border-bottom: 1px solid var(--line); background: #fff; }
.offer-comparison__head { min-height: 88px; padding: 19px var(--dialog-gutter) 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.offer-comparison__head h3 { margin: 5px 0 3px; font-size: 15px; font-weight: 660; letter-spacing: -.02em; }
.offer-comparison__head p { max-width: 630px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.offer-comparison__status { padding: 5px 7px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font: 680 8px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.offer-comparison__status.is-gap { border-color: #efc4c1; background: var(--red-soft); color: var(--red); }
.offer-comparison__scroll { margin: 0 var(--dialog-gutter) 16px; overflow-x: auto; border: 1px solid var(--line); }
.offer-comparison table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.offer-comparison th,
.offer-comparison td { height: 38px; padding: 7px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; font-size: 10.5px; vertical-align: middle; }
.offer-comparison tr > *:last-child { border-right: 0; }
.offer-comparison tbody tr:last-child > * { border-bottom: 0; }
.offer-comparison thead th { height: 62px; background: #fbfcfb; vertical-align: top; }
.offer-comparison thead th:first-child { width: 138px; }
.offer-comparison thead th > span { display: block; color: var(--muted-2); font: 650 8px/1.2 var(--mono); letter-spacing: .045em; }
.offer-comparison thead th > strong { max-width: 190px; margin-top: 5px; display: block; overflow: hidden; font-size: 13px; font-weight: 650; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.offer-comparison thead th > small { margin-top: 3px; display: block; color: var(--muted); font-size: 9.5px; font-weight: 520; }
.offer-comparison tbody th { color: var(--muted); font-size: 9.5px; font-weight: 580; }
.offer-comparison tbody td { font-variant-numeric: tabular-nums; }
.offer-comparison tbody td > strong { font: 680 12px var(--mono); }
.offer-comparison .is-seller { background: #f8fafc; }
.offer-comparison .is-outperforming { background: #fff7f6; }
.comparison-signal { margin-top: 2px; display: block; color: var(--red); font-size: 7.5px; font-weight: 650; }
.offer-comparison > footer { min-height: 38px; padding: 10px var(--dialog-gutter) 12px; border-top: 1px solid var(--line); background: #fbfcfb; color: var(--muted); font-size: 9.5px; line-height: 1.45; }

.product-history-card { padding: 20px var(--dialog-gutter) 14px; border-bottom: 1px solid var(--line); background: #fff; }
.product-history-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.product-history-card__head h3 { margin: 5px 0 0; font-size: 15px; }
.product-history-card__head > span { color: var(--muted); font: 550 10px var(--mono); }
.product-history-card > p { margin: 6px 0 0; color: var(--muted); font-size: 10.5px; }
.product-history-chart,
.history-chart-wrap { position: relative; }
.product-history-chart canvas { width: 100%; height: 220px; margin-top: 4px; display: block; }
.dialog-history-empty { padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--soft); }
.dialog-history-empty > span { color: var(--muted); font: 650 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.dialog-history-empty strong { display: block; margin-top: 5px; font-size: 13px; }
.dialog-history-empty p { margin: 4px 0 0; color: var(--muted); font-size: 10.5px; }

.category-detail__head {
  min-height: 94px;
  padding: 22px 58px 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.category-detail__head h2 { margin: 7px 0 4px; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }
.category-detail__head h2 a { color: inherit; text-decoration: none; }
.category-detail__head h2 a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.category-detail__head p { margin: 0; color: var(--muted); font-size: 12px; }
.category-detail__head .category-path { max-width: 720px; font-size: 10.5px; line-height: 1.4; }
.category-detail__stats { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.category-detail__stats > div { min-height: 86px; padding: 13px; border-right: 1px solid var(--line); }
.category-detail__stats > div:last-child { border-right: 0; }
.category-detail__stats span { min-height: 32px; display: block; color: var(--muted); font-size: 11px; line-height: 1.35; }
.category-detail__stats strong { display: block; font: 650 18px/1.15 var(--mono); letter-spacing: -.025em; }
.category-detail__stats small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; }
.category-detail__main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); border-bottom: 1px solid var(--line); }
.history-card { min-width: 0; padding: 17px 18px 14px; border-right: 1px solid var(--line); }
.history-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.history-card__head > div:first-child > span { color: var(--muted); font: 650 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.history-card__head h3 { margin: 5px 0 0; font-size: 15px; }
.history-card__legend { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10.5px; }
.history-card__legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.history-card__legend i { width: 13px; height: 3px; }
.history-card__legend .is-demand { background: var(--green-dark); }
.history-card__legend .is-pressure { background: var(--blue); }
.history-card__scale { margin: 8px 0 0; color: var(--muted-2); font-size: 10px; }
.history-card__definitions {
  margin-top: 11px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.history-card__definitions p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.4; }
.history-card__definitions strong { display: block; margin-bottom: 2px; color: var(--ink-soft); font-size: 10px; }
.history-card canvas { width: 100%; height: 230px; margin-top: 5px; display: block; }
.category-insight { padding: 18px; background: var(--soft); }
.category-insight h3 { margin: 7px 0 8px; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.category-insight > p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.category-insight dl { margin: 17px 0 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.category-insight dl > div { min-height: 64px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-insight dl > div:nth-child(2n) { border-right: 0; }
.category-insight dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.category-insight dt { min-height: 27px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.category-insight dd { margin: 2px 0 0; font: 650 13px var(--mono); }
.category-insight dd small { display: block; margin-top: 3px; color: var(--muted-2); font: 500 8.5px/1.3 var(--sans); }
.category-insight__facts > div { border-bottom: 0; }
.category-insight__cta {
  min-height: 58px;
  margin-top: 14px;
  padding: 10px 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 10px;
  border: 1px solid #c9d7f4;
  background: #fff;
}
.category-insight__cta span { align-self: end; color: var(--blue); font: 700 8.5px var(--mono); letter-spacing: .07em; }
.category-insight__cta strong { grid-column: 1; align-self: start; margin-top: 2px; font-size: 10px; line-height: 1.35; }
.category-insight__cta i { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); font: 650 13px var(--mono); font-style: normal; }
.category-insight__cta:hover { border-color: var(--blue); }
.category-top-products { background: #fff; }
.category-top-products__head { min-height: 56px; padding: 11px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.category-top-products__head h3 { margin: 4px 0 0; font-size: 14px; }
.category-top-products__head > span { color: var(--muted); font: 550 10px var(--mono); }
.category-top-products__scroll { overflow-x: auto; }
.category-top-products table { width: 100%; min-width: 660px; border-collapse: collapse; }
.category-top-products th,
.category-top-products td { height: 44px; padding: 0 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11.5px; }
.category-top-products th { height: 36px; background: #fbfcfb; color: var(--muted); font: 650 9.5px var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.category-top-products th small { display: block; font-size: 8.5px; text-transform: none; }
.category-top-products tbody tr:last-child td { border-bottom: 0; }
.category-top-products td:first-child { font-weight: 620; }
.category-top-products .is-number { text-align: right; font-variant-numeric: tabular-nums; }
.category-top-products td:last-child { text-align: right; }
.category-top-products td a { padding-bottom: 2px; border-bottom: 1px solid #a6ada7; color: var(--muted); font-size: 10.5px; font-weight: 650; }
.category-top-products td a:hover { border-color: var(--ink); color: var(--ink); }
.category-products-empty td { height: 70px; color: var(--muted); text-align: center !important; font-weight: 500 !important; }
.modal-search {
  width: 210px;
  height: 32px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}
.modal-search > span { color: var(--muted); font: 16px/1 var(--mono); }
.modal-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10.5px; }
.modal-search input::placeholder { color: var(--muted-2); }

@starting-style {
  .product-dialog.is-visible { opacity: 0; transform: translateY(18px) scale(.978); }
  .product-dialog.is-visible::backdrop { background: rgba(18,24,20,0); backdrop-filter: blur(0); }
  .product-dialog.is-visible > [data-dialog-content].is-ready { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .product-dialog,
  .product-dialog::backdrop,
  .product-dialog > [data-dialog-content],
  .data-table-scroll,
  .pagination button { transition-duration: .01ms; }
  .data-table-frame.is-updating::before,
  .data-table tbody.is-entering tr { animation: none; }
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: 330px;
  padding: 11px 14px;
  transform: translateY(20px);
  border: 1px solid #344139;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 42px rgba(15,22,18,.2);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
  .report-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .category-layout { grid-template-columns: 1fr; }
  .expert-comment { grid-template-columns: 190px 1fr 250px; }
  .expert-comment--summary-only { grid-template-columns: 190px 1fr auto; }
  .optional-module { grid-column: 1 / -1; justify-self: start; }
  .methodology { grid-template-columns: 1fr; gap: 20px; }
  .methodology__intro { position: static; }
}

@media (max-width: 860px) {
  .report-shell { width: calc(100% - 20px); margin: 10px auto 24px; }
  .topbar { padding: 0 18px; }
  .agency-banner { padding: 16px 24px 16px 28px; grid-template-columns: 58px 1fr auto; }
  .agency-banner__role { display: none; }
  .agency-banner__contact > a:first-child { display: none; }
  .report-hero { padding: 34px 24px 24px; grid-template-columns: 1fr; gap: 24px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); }
  .hero-meta div { border-right: 1px solid var(--line); border-bottom: 0; }
  .hero-meta div:last-child { border-right: 0; }
  .demo-note { padding: 9px 24px; }
  .section { padding: 29px 24px 34px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .summary-grid { grid-template-columns: 1fr; }
  .competitor-overlap { grid-template-columns: 1fr; }
  .competitor-overlap__head { border-right: 0; border-bottom: 1px solid var(--line); }
  .expert-comment { grid-template-columns: 1fr; gap: 16px; }
  .expert-comment blockquote { padding: 14px 0 0; border-top: 2px solid #27312c; border-left: 0; }
  .expert-comment__copy .expert-comment__expand { margin-left: 0; }
  .advertising-gap { grid-template-columns: 1fr; }
  .advertising-gap__intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .advertising-gap__intro > p { max-width: 640px; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid button:nth-child(2) { border-right: 0; }
  .scenario-grid button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .table-search { width: 100%; }
  .category-toolbar { align-items: stretch; flex-direction: column; }
  .category-search { width: 100%; }
  .assortment-map-panel__head { flex-direction: column; gap: 12px; }
  .assortment-map-controls { width: 100%; justify-items: start; }
  .assortment-map-panel__foot { grid-template-columns: 1fr 1fr; }
  .assortment-map-panel__foot p { grid-column: 1 / -1; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .category-analytics-grid { grid-template-columns: 1fr; }
  .context-cta { grid-template-columns: 180px minmax(220px, 1fr) auto; gap: 16px; }
  .category-detail__stats { grid-template-columns: repeat(3, 1fr); }
  .category-detail__stats > div:nth-child(3) { border-right: 0; }
  .category-detail__stats > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .category-detail__main { grid-template-columns: 1fr; }
  .history-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .repeat-audit { padding: 30px 24px; grid-template-columns: 1fr; gap: 24px; }
  .repeat-audit__action { padding: 18px 0 0; border-top: 1px solid #cfe5d6; border-left: 0; }
  .methodology { padding: 25px 24px; }
  .methodology__columns { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding: 18px 24px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 580px) {
  .product-dialog { --dialog-gutter: 16px; }
  .report-shell { width: 100%; margin: 0; border-right: 0; border-left: 0; }
  .topbar { min-height: 58px; padding: 0 14px; }
  .method-brand__product,
  .button--quiet { display: none; }
  .agency-banner { padding: 16px 18px 16px 22px; grid-template-columns: 50px 1fr; }
  .agency-banner__mark { width: 46px; height: 46px; box-shadow: 0 6px 18px rgba(19,27,23,.11); }
  .agency-banner__copy strong { font-size: 18px; }
  .agency-banner__contact { grid-column: 1 / -1; justify-content: stretch; }
  .agency-banner__contact .button { width: 100%; }
  .report-hero { padding: 28px 18px 22px; }
  .report-hero h1 { font-size: 40px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { min-height: 49px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-meta div:last-child { border-bottom: 0; }
  .demo-note { padding: 10px 18px; grid-template-columns: 24px 1fr; align-items: start; }
  .demo-note strong { align-self: center; }
  .demo-note span { grid-column: 2; }
  .section { padding: 26px 18px 30px; }
  .assortment-map-controls { gap: 9px; }
  .assortment-map-scale { width: 100%; justify-content: space-between; }
  .assortment-map-legend { width: 100%; flex-wrap: wrap; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .competitor-overlap__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competitor-overlap__list button { border-bottom: 1px solid var(--line); }
  .competitor-overlap__list button:nth-child(2n) { border-right: 0; }
  .competitor-overlap__list button:last-child { border-bottom: 0; }
  .metric:nth-child(2),
  .metric:nth-child(4) { border-right: 0; }
  .metric:nth-child(3) { border-right: 1px solid var(--line); }
  .metric:nth-child(4) { border-bottom: 1px solid var(--line); }
  .finding-list li { grid-template-columns: 25px 1fr; }
  .finding-list button { grid-column: 2; justify-self: start; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid button { border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-grid button:last-child { border-bottom: 0; }
  .advertising-funnel { grid-template-columns: repeat(2, 1fr); }
  .advertising-funnel li:nth-child(2) { border-right: 0; }
  .advertising-funnel li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .advertising-funnel li:nth-child(2)::after { display: none; }
  .advertising-distribution__rows { grid-template-columns: 1fr; }
  .category-chart__row { grid-template-columns: 88px minmax(150px, 1fr) 67px; }
  .assortment-map-panel__head { padding: 15px; }
  .assortment-map-panel__head h3 { font-size: 19px; }
  .assortment-map-legend { flex-wrap: wrap; gap: 7px 12px; }
  .assortment-map-legend button { min-height: 32px; }
  .assortment-map-wrap { padding: 4px 4px 0; }
  .assortment-map-panel__foot { padding: 13px 15px; grid-template-columns: 1fr; gap: 12px; }
  .assortment-map-panel__foot p { grid-column: auto; }
  .category-directory__foot { align-items: flex-start; flex-direction: column; gap: 8px; }
  .category-directory__foot button { width: 100%; }
  .category-balance__row { grid-template-columns: 100px minmax(130px, 1fr) 78px; }
  .category-detail__head { min-height: 0; padding: 20px 48px 16px 16px; display: block; }
  .category-detail__head .data-quality { margin-top: 12px; }
  .category-detail__stats { grid-template-columns: repeat(2, 1fr); }
  .category-detail__stats > div,
  .category-detail__stats > div:nth-child(3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .category-detail__stats > div:nth-child(2n) { border-right: 0; }
  .category-detail__stats > div:nth-last-child(-n+2) { border-bottom: 0; }
  .history-card { padding: 15px 12px 10px; }
  .history-card__head { display: grid; }
  .history-card__definitions { grid-template-columns: 1fr; gap: 8px; }
  .history-card canvas { height: 210px; }
  .product-history-card { padding: 15px 12px 10px; }
  .product-history-card__head { display: grid; gap: 5px; }
  .category-top-products__head { align-items: stretch; flex-direction: column; gap: 10px; }
  .modal-search { width: 100%; }
  .context-cta { padding: 14px; grid-template-columns: 1fr; gap: 9px; }
  .context-cta a { justify-self: start; }
  .methodology__columns { grid-template-columns: 1fr; }
  .site-footer__meta { flex-wrap: wrap; gap: 8px 14px; }
  .dialog-product__metrics { padding: 0 var(--dialog-gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-product__metrics div:first-child { padding-left: 0; }
  .dialog-product__metrics div:nth-child(2) { padding-right: 0; }
  .dialog-product__metrics div:nth-child(3) { padding-left: 0; }
  .dialog-product__metrics div:nth-child(2) { border-right: 0; }
  .dialog-product__metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .offer-comparison__head { padding: 15px var(--dialog-gutter) 13px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .offer-comparison__scroll { margin-right: var(--dialog-gutter); margin-left: var(--dialog-gutter); }
  .offer-comparison > footer { padding-right: var(--dialog-gutter); padding-left: var(--dialog-gutter); }
}

@media print {
  @page { size: A4 landscape; margin: 9mm; }
  .is-discovery-row > td { animation: none; }

  html,
  body {
    width: auto;
    min-width: 0;
    background: #fff;
    color: #111;
    font-size: 9pt;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .report-shell {
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }
  .topbar {
    position: static;
    min-height: 14mm;
    padding: 0 5mm;
  }
  .report-nav,
  .topbar__actions,
  .filter-tabs,
  .table-search,
  .table-discovery-hint,
  .category-toolbar,
  .pagination,
  .row-actions,
  .category-analysis-cell button,
  .advertising-gap__intro > button,
  .category-directory__foot button,
  .context-cta a,
  .repeat-audit__action button,
  .toast,
  .product-dialog,
  .chart-tooltip { display: none !important; }

  .agency-banner {
    min-height: 18mm;
    padding: 3mm 5mm;
    grid-template-columns: 13mm 1fr 1fr auto;
    background: #f7f9f7 !important;
  }
  .agency-banner__mark { width: 11mm; height: 11mm; }
  .agency-banner__contact > a:first-child { display: block; }
  .agency-banner__contact .button { display: none; }
  .report-hero { padding: 8mm 5mm 6mm; grid-template-columns: 1fr 68mm; gap: 10mm; }
  .report-hero h1 { font-size: 31pt; }
  .hero-lead { margin: 3mm 0 5mm; font-size: 11pt; }
  .hero-meta div { min-height: 12mm; padding: 2mm 3mm; }
  .demo-note { min-height: 9mm; padding: 2mm 5mm; grid-template-columns: 6mm auto 1fr; }

  .section {
    padding: 7mm 5mm;
    border-bottom: 1px solid var(--line);
    break-inside: auto;
  }
  .section-heading { margin-bottom: 4mm; }
  .section-heading h2 { font-size: 18pt; }
  .section-heading > p { max-width: 115mm; font-size: 8.5pt; }

  .section-heading,
  .panel,
  .metric-grid,
  .expert-comment,
  .scenario-grid,
  .advertising-gap,
  .context-cta,
  .repeat-audit,
  .methodology { break-inside: avoid; }

  .category-directory,
  .methodology { break-inside: auto !important; }
  .compact-table.category-directory__table { width: 100%; min-width: 0; }
  .category-directory__table thead { display: table-header-group; }
  .category-directory__table tr { break-inside: avoid; page-break-inside: avoid; }
  .category-directory__table th:last-child,
  .category-directory__table td:last-child { display: none; }
  .category-directory__table th,
  .category-directory__table td { height: auto; padding: 1.5mm; font-size: 6.8pt; }
  .category-directory__table th button i,
  .data-table th button i { display: none; }
  .category-directory__table td:first-child strong { font-size: 7.2pt; }
  .category-directory__table td:first-child small { font-size: 6.1pt; }
  .assortment-map-panel { break-inside: avoid; }
  .assortment-map-panel__head { min-height: 18mm; padding: 3mm; }
  .assortment-map-panel__foot { min-height: 17mm; padding: 3mm; }
  .category-analytics-grid { break-inside: avoid; }
  .methodology-faq details > :not(summary) { display: block !important; }
  .methodology-faq summary::after { display: none; }
  .methodology-faq summary { min-height: 0; padding: 3mm 0 1mm; font-size: 8pt; }
  .methodology-faq details p { margin: 0 0 3mm; font-size: 7pt; }

  #szanse,
  #kategorie { break-before: page; }

  .metric { min-height: 26mm; padding: 3mm; }
  .metric strong { font-size: 22pt; }
  .summary-grid { gap: 3mm; }
  .finding-list li { min-height: 16mm; }
  .expert-comment {
    min-height: 28mm;
    grid-template-columns: 50mm 1fr 60mm auto;
    gap: 4mm;
  }
  .expert-comment--summary-only { grid-template-columns: 50mm 1fr auto; }
  .expert-comment blockquote { font-size: 9pt; }
  .expert-comment__text { display: block !important; overflow: visible !important; -webkit-line-clamp: unset !important; }
  .expert-comment__expand { display: none !important; }

  .scenario-grid { margin-bottom: 4mm; }
  .scenario-grid button { min-height: 18mm; padding: 3mm; }
  .table-toolbar,
  .table-active-filter { display: none; }
  .data-table-frame { border-color: #aeb5af; }
  .data-table-scroll { display: block !important; overflow: visible; }
  .data-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 7.5pt;
  }
  .data-table thead { display: table-header-group; }
  .data-table tbody { display: table-row-group; }
  .data-table tr { break-inside: avoid; page-break-inside: avoid; }
  .data-table th {
    height: 10mm;
    padding: 1.5mm;
    font-size: 6.7pt;
  }
  .data-table th button small { font-size: 6.2pt; }
  .data-table td {
    height: auto;
    min-height: 13mm;
    padding: 2mm 1.5mm;
    font-size: 7.4pt;
  }
  .data-table .col-priority { width: 19mm; }
  .data-table .col-product { width: 52mm; }
  .data-table .col-action { width: 46mm; }
  .data-table th:nth-child(3) { width: 24mm; }
  .data-table th:nth-child(4) { width: 30mm; }
  .data-table th:nth-child(5) { width: 22mm; }
  .data-table th:nth-child(6) { width: 25mm; }
  .data-table th:nth-child(7) { width: 32mm; }
  .product-name { overflow: visible; white-space: normal; font-size: 7.8pt; }
  .product-category,
  .metric-sub,
  .trend-pair small { font-size: 6.4pt; }
  .metric-number,
  .recommendation { font-size: 7.2pt; }
  .priority-badge,
  .trend-pill { font-size: 6.2pt; }
  .capture-bar { width: 9mm; }
  .table-footer { display: none; }
  .table-disclaimer { margin-top: 2mm; font-size: 7pt; }

  .category-layout { gap: 3mm; }
  .context-cta { min-height: 18mm; padding: 3mm; grid-template-columns: 48mm 1fr auto; gap: 4mm; }
  .repeat-audit { padding: 7mm 5mm; }
  .methodology { padding: 6mm 5mm; gap: 8mm; }
  .site-footer { min-height: 15mm; padding: 3mm 5mm; }
}
