:root {
  --bg: #f5f7fa;
  --surface: #fff;
  --ink: #172033;
  --muted: #657386;
  --line: #d9e2ea;
  --teal: #006d77;
  --blue: #2f5b9f;
  --green: #3a7d44;
  --amber: #b85c00;
  --red: #b23a48;
  --violet: #7557a6;
  --shadow: 0 14px 34px rgba(23, 32, 51, 0.07);
  --radius: 8px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 250, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.brand {
  font-weight: 820;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--surface);
  color: var(--ink);
}
main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 26px 24px 64px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  padding: 12px 0 24px;
}
h1 {
  font-size: 38px;
  line-height: 1.12;
  margin: 8px 0 12px;
}
h2 {
  font-size: 24px;
  line-height: 1.24;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0;
}
.kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.lede {
  color: var(--muted);
  max-width: 780px;
  font-size: 16px;
  margin: 0;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
}
.summary {
  background: #172033;
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}
.summary b {
  font-size: 28px;
  display: block;
  line-height: 1.1;
  margin-top: 6px;
}
.summary span {
  color: rgba(255, 255, 255, 0.72);
}
.section {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}
.note {
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.full-row {
  margin-top: 16px;
}
.trend-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trend-readout {
  text-align: right;
  min-height: 42px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.trend-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.trend-controls[hidden] {
  display: none;
}
.trend-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trend-controls select {
  max-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}
.trend-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trend-presets button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.trend-presets button[aria-pressed="true"] {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}
.trend-navigator {
  margin: 12px 0 6px;
  touch-action: none;
  user-select: none;
}
.trend-navigator svg {
  display: block;
  width: 100%;
  height: 64px;
}
.trend-range-label {
  flex-basis: 100%;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.rule {
  border: 1px dashed var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 13px;
  min-height: 126px;
}
.rule-title {
  font-weight: 820;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.rule p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.rule small {
  display: block;
  color: var(--ink);
  margin-top: 8px;
  font-size: 12px;
}
.rule-note {
  color: var(--muted);
  margin-top: 10px;
  font-size: 12px;
}
.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.045);
}
.card {
  padding: 15px;
  min-height: 120px;
}
.label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.value {
  font-size: 28px;
  font-weight: 840;
  line-height: 1;
  margin-top: 8px;
}
.foot {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.panel {
  padding: 17px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.panel-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.mini-select {
  height: 32px;
  min-width: 150px;
  max-width: 240px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 32px 0 10px;
  font: inherit;
  font-weight: 700;
  outline: none;
}
.mini-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.12);
}
.search-input {
  height: 36px;
  min-width: 240px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 11px;
  font: inherit;
  outline: none;
}
.search-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.12);
}
.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.chart {
  width: 100%;
  min-height: 310px;
  overflow: hidden;
  position: relative;
}
.chart svg {
  display: block;
  width: 100%;
  min-height: 310px;
}
.growth-board {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.growth-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  padding: 4px 0 8px;
}
.growth-store {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.growth-store:first-child {
  border-top: 0;
}
.growth-store-head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 138px;
  gap: 16px;
  align-items: center;
}
.growth-store-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
}
.growth-primary {
  display: grid;
  gap: 5px;
}
.growth-primary-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 30px;
}
.growth-metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}
.growth-axis {
  min-width: 0;
}
.growth-axis svg {
  display: block;
  width: 100%;
  height: 28px;
  min-height: 0;
}
.growth-toggle {
  border: 1px solid #9bb8e8;
  border-radius: 6px;
  background: #fff;
  color: #1d4ed8;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
  white-space: nowrap;
}
.growth-toggle:hover {
  background: #f3f7ff;
  border-color: #1d4ed8;
}
.growth-toggle:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.18);
  outline-offset: 2px;
}
.growth-channel-detail {
  margin: 12px 0 0 148px;
  padding: 8px 12px;
  border: 1px solid #dce8ef;
  border-radius: 7px;
  background: #f7fbfc;
}
.growth-channel-detail[hidden] {
  display: none;
}
.growth-channel-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 8px 0;
}
.growth-channel-row + .growth-channel-row {
  border-top: 1px solid #e3ebf0;
}
.growth-channel-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}
.growth-channel-metric {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.growth-channel-metric .growth-metric-label {
  font-size: 11px;
}
.chart-tooltip {
  position: absolute;
  display: none;
  pointer-events: none;
  z-index: 4;
  background: #111827;
  color: #fff;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
  max-width: min(280px, calc(100% - 16px));
  white-space: normal;
  overflow-wrap: anywhere;
}
.chart-tooltip strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}
.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  margin-right: 5px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1180px;
}
.compact-table {
  min-width: 520px;
}
th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f0f4f7;
  color: var(--muted);
  font-size: 12px;
  position: sticky;
  top: 0;
  cursor: pointer;
}
td {
  font-size: 13px;
}
.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf5f3;
  color: var(--teal);
  font-weight: 760;
  font-size: 12px;
}
.tag.problem {
  background: #fff0f2;
  color: var(--red);
}
.tag.star {
  background: #eef8ef;
  color: var(--green);
}
.tag.pressure {
  background: #fff5e8;
  color: var(--amber);
}
.tag.growth {
  background: #edf3ff;
  color: var(--blue);
}
.callout {
  border-left: 4px solid var(--amber);
  background: #fff8ef;
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  color: #61420f;
}
@media (max-width: 980px) {
  .hero,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4,
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .growth-store-head {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .growth-toggle {
    grid-column: 2;
    justify-self: start;
  }
  .growth-channel-detail {
    margin-left: 124px;
  }
}
@media (max-width: 620px) {
  main {
    padding: 18px 14px 48px;
  }
  .topbar-inner {
    align-items: start;
    flex-direction: column;
  }
  .grid-4,
  .rule-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 30px;
  }
  .growth-store-head {
    grid-template-columns: 1fr;
  }
  .growth-primary-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .growth-toggle {
    grid-column: 1;
  }
  .growth-channel-detail {
    margin-left: 0;
  }
  .growth-channel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

:root {
  --px-ink: #203c36;
  --px-green: #286653;
  --px-muted: #64736c;
  --px-line: #dce4dc;
  --px-paper: #f6f7f2;
  --px-red: #ac493e;
}
body {
  background: var(--px-paper);
  color: var(--px-ink);
}
[hidden] {
  display: none !important;
}
#px-app {
  max-width: 1160px;
  margin: auto;
  padding: 0 28px 64px;
  font-family:
    system-ui,
    -apple-system,
    "PingFang SC",
    sans-serif;
  line-height: 1.65;
}
#px-app * {
  box-sizing: border-box;
}
#px-app a {
  color: inherit;
  text-decoration: none;
}
#px-app button,
#px-app input,
#px-app select {
  font: inherit;
}
#px-app button,
#px-app a {
  touch-action: manipulation;
}
#px-app :focus-visible {
  outline: 3px solid #be8734;
  outline-offset: 4px;
}
#px-app h1,
#px-app h2,
#px-app h3,
#px-app p {
  margin: 0;
}
#px-app h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.3;
}
#px-app h2 {
  font-size: 21px;
  letter-spacing: -0.3px;
}
#px-app h3 {
  font-size: 18px;
}
#px-app p {
  color: var(--px-muted);
}
#px-app .px-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--px-line);
  margin-bottom: 25px;
}
.px-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.px-logo {
  background: var(--px-ink);
  color: white;
  border-radius: 9px;
  padding: 2px 9px;
  font-size: 20px;
}
.px-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.px-nav a,
.px-chip {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.px-nav a:hover {
  background: #e6ece4;
}
.px-chip {
  background: #e7eee5;
  color: #426149;
  white-space: nowrap;
}
.px-muted {
  color: var(--px-muted);
  font-size: 13px;
}
.px-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--px-green);
  font-weight: 700;
  margin-bottom: 10px;
}
.px-headline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin: 24px 0;
}
.px-headline p {
  margin-top: 8px !important;
  font-size: 14px;
}
.px-period {
  text-align: right;
  font-size: 13px;
  color: var(--px-muted);
}
.px-kpis {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--px-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--px-line);
  margin: 24px 0 30px;
}
.px-kpi {
  padding: 18px 24px;
  background: white;
}
.px-kpi:first-child {
  background: var(--px-ink);
  color: #fff;
}
.px-kpi-label {
  font-size: 12px;
  opacity: 0.75;
}
.px-kpi strong {
  display: block;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.px-kpi small {
  font-size: 11px;
  opacity: 0.75;
}
.px-up {
  color: #286653;
}
.px-down {
  color: var(--px-red);
}
.px-section {
  margin-top: 32px;
}
.px-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
}
.px-section-head p {
  font-size: 13px;
}
.px-priorities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.px-priority {
  padding: 18px;
  border: 1px solid var(--px-line);
  background: #eff2e9;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.px-priority:first-child {
  background: #f7ede4;
  border-color: #ebd9c7;
}
.px-priority h3 {
  font-size: 16px !important;
  font-weight: 600;
  padding-right: 12px;
}
.px-priority .px-arrow {
  position: absolute;
  right: 14px;
  top: 15px;
}
.px-priority small {
  font-size: 12px;
  color: var(--px-muted);
}
.px-priority:hover,
.px-store:hover,
.px-module:hover {
  border-color: #6f9180;
  box-shadow: 0 4px 18px #203c3609;
}
.px-arrow {
  color: var(--px-green);
  font-size: 21px;
}
.px-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
.px-tools input {
  width: 180px;
  border: 1px solid var(--px-line);
  border-radius: 6px;
  background: white;
  padding: 7px 10px;
  font-size: 13px !important;
}
.px-tools button {
  border: 1px solid var(--px-line);
  border-radius: 6px;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px !important;
}
.px-tools button[aria-pressed="true"] {
  background: var(--px-ink);
  color: white;
  border-color: var(--px-ink);
}
.px-stores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.px-store {
  display: block;
  border: 1px solid var(--px-line);
  border-radius: 10px;
  background: white;
  padding: 17px 18px;
}
.px-store-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.px-store h3 {
  font-size: 16px !important;
}
.px-store-revenue {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 9px 0 5px;
}
.px-store-revenue strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}
.px-store-revenue span {
  font-size: 12px;
}
.px-store p {
  font-size: 12px;
  line-height: 1.6;
}
.px-store-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  font-size: 12px;
  color: var(--px-muted);
  border-top: 1px solid #edf0e9;
  padding-top: 8px;
}
.px-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.px-module {
  display: block;
  border: 1px solid var(--px-line);
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}
.px-module .px-icon {
  display: block;
  font-size: 23px;
  color: var(--px-green);
  margin-bottom: 14px;
}
.px-module p {
  font-size: 13px;
  margin-top: 7px !important;
}
.px-module .px-link {
  display: block;
  margin-top: 16px;
  color: var(--px-green);
  font-size: 13px;
}
.px-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--px-muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.px-breadcrumbs a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.px-summary {
  border-left: 3px solid #829e74;
  background: #edf1e7;
  padding: 18px 22px;
  margin: 22px 0;
}
.px-summary p {
  font-size: 16px;
  color: var(--px-ink) !important;
  line-height: 1.8;
}
.px-summary label {
  display: block;
  font-size: 12px;
  color: var(--px-muted);
  margin-bottom: 6px;
}
.px-detail {
  border: 1px solid var(--px-line);
  border-radius: 10px;
  background: white;
  margin: 12px 0;
  overflow: hidden;
}
.px-detail > summary {
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.px-detail > summary::-webkit-details-marker {
  display: none;
}
.px-detail > summary:after {
  content: "＋";
  font-weight: 400;
  color: var(--px-green);
}
.px-detail[open] > summary:after {
  content: "−";
}
.px-detail[open] > summary {
  border-bottom: 1px solid var(--px-line);
}
.px-detail-body {
  padding: 20px;
}
.px-detail-body p {
  margin-bottom: 12px !important;
  color: #34463e !important;
  line-height: 1.9;
  font-size: 15px;
}
.px-detail-body li {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.8;
}
.px-detail-body ul,
.px-detail-body ol {
  padding-left: 22px;
}
.px-table-wrap {
  overflow-x: auto;
}
.px-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.px-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--px-muted);
  background: #f5f7f1;
}
.px-table td,
.px-table th {
  padding: 13px 16px;
  border-bottom: 1px solid #e8ede4;
  white-space: nowrap;
}
.px-table td:not(:first-child),
.px-table th:not(:first-child) {
  text-align: right;
}
.px-footer {
  border-top: 1px solid var(--px-line);
  margin-top: 35px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--px-muted);
}
.px-footer a {
  text-decoration: underline !important;
}
.px-empty {
  padding: 30px;
  text-align: center;
}
.px-small-note {
  font-size: 12px !important;
  margin-top: 20px !important;
}
.px-parent {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--px-green) !important;
}
.px-mounted-panel .section {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  margin: 0;
}
.px-mounted-panel .section > h2,
.px-mounted-panel .section > .section-kicker {
  display: none;
}
.px-mounted-panel .grid-2 {
  display: block;
}
.px-mounted-panel .panel {
  margin: 12px 0;
  background: white;
}
.px-mounted-panel .chart svg {
  max-width: 100%;
  height: auto;
}
.px-mounted-panel table {
  font-size: 13px;
}
.px-mounted-panel {
  min-width: 0;
}
.px-mounted-panel .panel-head {
  flex-wrap: wrap;
}
.px-mounted-panel .px-detail-body {
  padding: 10px;
}
.px-mounted-panel .px-detail-body > .panel {
  border: 0;
  box-shadow: none;
  margin: 0;
}
@media (max-width: 900px) {
  .px-stores,
  .px-modules {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-priorities {
    grid-template-columns: 1fr;
  }
  .px-priority {
    padding: 14px 18px;
  }
  .px-priority h3 {
    font-size: 15px !important;
  }
  .px-section-head {
    align-items: start;
    flex-direction: column;
  }
  .px-kpi {
    padding: 16px;
  }
  .px-kpi strong {
    font-size: 25px;
  }
}
@media (max-width: 600px) {
  #px-app {
    padding: 0 16px 35px;
  }
  #px-app h1 {
    font-size: 26px;
  }
  .px-brand {
    font-size: 15px;
  }
  .px-header {
    flex-wrap: wrap;
    padding: 15px 0 !important;
  }
  .px-nav {
    gap: 0;
  }
  .px-nav a {
    padding: 5px 8px;
  }
  .px-headline {
    display: block;
  }
  .px-period {
    text-align: left;
    margin-top: 12px;
  }
  .px-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-stores,
  .px-modules {
    grid-template-columns: 1fr;
  }
  .px-tools {
    flex-wrap: wrap;
  }
  .px-tools input {
    width: 100%;
  }
  .px-kpi strong {
    font-size: 28px;
  }
  .px-detail-body {
    padding: 15px;
  }
  .px-detail > summary {
    padding: 16px;
  }
  .px-footer {
    display: block;
  }
  .px-footer span {
    display: block;
    margin-bottom: 8px;
  }
  .px-mounted-panel .chart {
    overflow-x: auto;
  }
  .px-mounted-panel .chart svg {
    min-width: 650px;
  }
  .px-mounted-panel .trend-controls {
    flex-wrap: wrap;
  }
  .px-mounted-panel .trend-navigator {
    min-width: 0;
  }
  .px-mounted-panel .grid-3 {
    grid-template-columns: 1fr;
  }
  .px-mounted-panel select {
    max-width: 100%;
  }
}
@media print {
  #px-app .px-sidebar,
  #px-app .px-sidebar-scrim,
  #px-app .px-mobile-header {
    display: none !important;
  }
}

#px-app h1:focus {
  outline: none;
}
.px-tools button:disabled {
  opacity: 0.4;
  cursor: default;
}
/* Fixed v2 components. Legacy table minimums cannot affect the active report. */
#px-app table {
  min-width: 0;
  max-width: 100%;
  table-layout: fixed;
}
#px-app td,
#px-app th {
  white-space: normal;
  overflow-wrap: anywhere;
}
#px-app .px-source-table {
  display: none !important;
}
#weekly-panel-source .px-legacy-cards {
  display: none;
}
.px-data-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.px-fact-card {
  min-width: 0;
  border: 1px solid var(--px-line);
  background: white;
  border-radius: 10px;
  padding: 20px;
}
.px-fact-card h3 {
  font-size: 15px !important;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.px-fact-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0 0;
}
.px-fact-card dl > div {
  min-width: 0;
}
.px-fact-card dt {
  font-size: 12px;
  color: var(--px-muted);
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.px-fact-card dd {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.px-card-delta {
  font-size: 12px;
  margin-top: 16px !important;
  border-top: 1px solid #edf0e9;
  padding-top: 10px;
}
.px-legacy-cards .px-fact-card dd {
  font-size: 14px;
}
.px-legacy-cards .px-fact-card dl {
  gap: 14px;
}
.px-legacy-cards .px-data-cards {
  margin: 12px;
}
.px-mounted-panel .table-wrap {
  overflow: visible;
  border: 0;
  background: none;
}
.px-mounted-panel .px-fact-card {
  box-shadow: none;
}
.px-voice-store h3 {
  font-size: 17px !important;
  line-height: 1.7;
  margin-top: 9px !important;
}
.px-voice-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.px-voice-theme {
  display: block;
  background: white;
  border: 1px solid var(--px-line);
  border-left: 3px solid #8ca582;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
}
.px-voice-theme.check,
.px-voice-theme.priority {
  border-left-color: #b57a44;
}
.px-voice-theme h3 {
  line-height: 1.65;
  margin: 7px 0 !important;
}
.px-voice-theme p {
  font-size: 14px;
  line-height: 1.8;
}
.px-voice-theme .px-link {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: var(--px-green);
}
.px-wordcloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  background: #eef2e9;
  border-radius: 12px;
  padding: 30px 24px;
  margin-top: 20px;
}
.px-wordcloud a {
  line-height: 1.55;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}
.px-cloud-keep {
  color: #2e664e !important;
}
.px-cloud-check,
.px-cloud-priority {
  color: #8d582f !important;
}
.px-cloud-size-0 {
  font-size: 24px;
  font-weight: 650;
}
.px-cloud-size-1 {
  font-size: 19px;
  font-weight: 500;
}
.px-cloud-size-2 {
  font-size: 16px;
}
.px-wordcloud a:hover {
  text-decoration: underline !important;
  text-underline-offset: 6px;
}
.px-voice-analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.px-voice-analysis article {
  border: 1px solid var(--px-line);
  border-radius: 12px;
  background: white;
  padding: 24px;
}
.px-voice-analysis p {
  margin-top: 14px !important;
  line-height: 1.9;
  color: var(--px-ink) !important;
  font-size: 16px;
}
.px-evidence-link {
  display: inline-block;
  margin: 16px 0;
  font-size: 14px;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.px-quote-card {
  margin: 18px 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--px-line);
  border-radius: 10px;
}
.px-review-quote {
  margin: 16px 0 0;
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.px-priority p {
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .px-data-cards,
  .px-voice-lanes,
  .px-voice-analysis {
    grid-template-columns: 1fr;
  }
  .px-fact-card {
    padding: 18px;
  }
  .px-fact-card dd {
    font-size: 22px;
  }
  .px-wordcloud {
    padding: 24px 16px;
    gap: 14px;
  }
  .px-cloud-size-0 {
    font-size: 21px;
  }
  .px-cloud-size-1 {
    font-size: 17px;
  }
  .px-cloud-size-2 {
    font-size: 15px;
  }
  .px-voice-theme,
  .px-voice-analysis article {
    padding: 18px;
  }
  .px-quote-card {
    padding: 18px;
  }
}
#px-app .px-mounted-panel #stores > .note {
  display: none;
}
#px-app .px-mounted-panel .chart svg {
  min-width: 0 !important;
  max-width: 100%;
  height: auto;
}
/* v3: chart-first operating cockpit, fixed programmatic hierarchy. */
#px-app h1 {
  font-size: 22px;
  letter-spacing: -0.4px;
}
#px-app h2 {
  font-size: 17px;
}
#px-app h3 {
  font-size: 15px;
}
.px-headline {
  margin: 18px 0;
}
.px-headline p {
  font-size: 13px !important;
}
.px-kicker {
  font-size: 10px;
  margin-bottom: 6px;
}
.px-brand {
  font-size: 16px;
}
.px-header {
  padding: 15px 0 !important;
  margin-bottom: 18px !important;
}
.px-kpi strong {
  font-size: 25px;
}
.px-kpi {
  padding: 16px 20px;
}
#px-app[data-template="dashboard"] {
  max-width: 1480px;
  padding-left: 28px;
  padding-right: 28px;
}
.dash-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 12px;
}
.dash-title h1 {
  font-size: 19px !important;
}
.dash-title > span {
  font-size: 12px;
  color: var(--px-muted);
}
.dash-title > a {
  margin-left: auto;
  font-size: 12px;
  color: var(--px-green) !important;
}
.dash-verdict {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-left: 3px solid #ac8a4d;
  background: #f0f1e9;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.dash-verdict > span {
  flex-shrink: 0;
  font-size: 11px;
  color: #7a704e;
}
.dash-verdict p {
  font-size: 13px;
  color: var(--px-ink) !important;
  line-height: 1.7;
}
.dash-verdict > a {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--px-green) !important;
}
#px-app[data-template="dashboard"] .px-kpis {
  margin: 0 0 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#px-app[data-template="dashboard"] .px-kpi {
  padding: 13px 18px;
}
#px-app[data-template="dashboard"] .px-kpi strong {
  font-size: 25px;
}
#px-app[data-template="dashboard"] .px-kpi small {
  font-size: 11px;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.dash-panel {
  grid-column: span var(--dash-span);
  min-width: 0;
  border: 1px solid var(--px-line);
  border-radius: 10px;
  background: #fff;
  padding: 17px 18px 12px;
  overflow: hidden;
}
.dash-panel-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 9px;
}
.dash-panel-head h2 {
  font-size: 15px !important;
  line-height: 1.5;
}
.dash-question {
  font-size: 11px;
  display: block;
  color: var(--px-muted);
  margin-top: 3px;
}
.dash-more {
  font-size: 18px;
  color: #6d8b7d !important;
}
.dash-plot {
  width: 100%;
  min-width: 0;
}
.dash-plot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font:
    12px system-ui,
    -apple-system,
    "PingFang SC",
    sans-serif;
  color: var(--px-ink);
}
.dash-plot text {
  fill: var(--px-ink);
}
.dash-plot .dash-small {
  font-size: 10px;
  fill: var(--px-muted);
}
.dash-plot .dash-value {
  font-size: 11px;
  fill: var(--px-muted);
}
.dash-plot .dash-group-label {
  font-size: 12px;
  font-weight: 600;
}
.dash-plot .dash-zone {
  font-size: 9px;
  fill: #809188;
}
.dash-plot .dash-scatter-label {
  font-size: 11px;
}
.dash-plot a:hover rect,
.dash-plot a:hover circle {
  opacity: 0.75;
}
.dash-plot a:focus-visible {
  outline: 2px solid #b08b44;
}
.dash-legend {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--px-muted);
}
.dash-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dash-legend .swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
.dash-panel select {
  max-width: 170px;
  border: 1px solid var(--px-line);
  background: white;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px !important;
  color: var(--px-ink);
}
#dash-trend-host > .panel {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
#dash-trend-host .panel-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
  gap: 6px;
}
#dash-trend-host #trendTitle {
  display: none;
}
#dash-trend-host .trend-selectors {
  display: flex;
  gap: 7px;
}
#dash-trend-host .panel-title-row {
  gap: 0;
}
#dash-trend-host #trendMetricLabel {
  font-size: 10px;
  max-width: 310px;
  line-height: 1.6;
}
#dash-trend-host .trend-readout {
  font-size: 11px;
  min-height: 34px;
  line-height: 1.6;
}
#dash-trend-host .chart {
  min-height: 0 !important;
  overflow: visible;
}
#dash-trend-host .chart svg {
  min-height: 0 !important;
  height: auto !important;
  width: 100%;
}
#dash-trend-host #trend svg text {
  font-size: 17px;
}
#dash-trend-host .trend-navigator {
  margin: 7px 0;
}
#dash-trend-host .trend-navigator svg {
  height: 42px;
}
#dash-trend-host .trend-controls {
  font-size: 10px;
  gap: 6px;
}
#dash-trend-host .trend-controls select {
  font-size: 10px !important;
  max-width: 158px;
  padding: 4px;
}
#dash-trend-host .trend-presets {
  gap: 5px;
}
#dash-trend-host .trend-presets button {
  font-size: 11px;
  padding: 5px 8px;
}
#dash-trend-host .trend-range-label {
  width: 100%;
  font-size: 10px;
  line-height: 1.5;
}
#dash-trend-host .trend-controls > span:last-child:not(.trend-range-label) {
  display: none;
}
.dash-store-section {
  margin: 26px 0 0;
}
.dash-section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 11px;
}
.dash-section-heading h2 {
  font-size: 15px !important;
}
.dash-section-heading > span {
  font-size: 11px;
  color: var(--px-muted);
}
.dash-section-heading > a {
  margin-left: auto;
  color: var(--px-green) !important;
  font-size: 12px;
}
.dash-store-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}
.dash-store-links > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--px-line);
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
}
.dash-store-links b {
  font-size: 13px;
  font-weight: 600;
}
.dash-store-links > a > span:last-child {
  margin-left: auto;
  color: #668575;
}
.dash-store-links i {
  font-size: 10px;
  font-style: normal;
  color: var(--px-muted);
}
.dash-store-links > a:hover {
  border-color: #8ba88f;
}
.dash-store-links .px-up,
.dash-store-links .px-down {
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .dash-trend {
    grid-column: span 12;
  }
  .dash-ranking,
  .dash-growth,
  .dash-quadrants,
  .dash-mix,
  .dash-platforms {
    grid-column: span 6;
  }
  .dash-hourly {
    grid-column: span 12;
  }
  .dash-store-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #dash-trend-host #trend svg text {
    font-size: 15px;
  }
}
@media (max-width: 720px) {
  #px-app[data-template="dashboard"] {
    padding-left: 15px;
    padding-right: 15px;
  }
  .dash-panel {
    grid-column: span 12;
    padding: 15px 13px 10px;
  }
  .dash-title {
    flex-wrap: wrap;
    gap: 5px 12px;
  }
  .dash-title > span {
    font-size: 11px;
  }
  .dash-title > a {
    font-size: 11px;
  }
  .dash-verdict {
    gap: 7px;
    align-items: start;
    flex-wrap: wrap;
    padding: 9px 11px;
  }
  .dash-verdict p {
    font-size: 12px;
    flex: 1;
    min-width: 180px;
  }
  .dash-verdict > a {
    font-size: 11px;
  }
  #px-app[data-template="dashboard"] .px-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }
  #px-app[data-template="dashboard"] .px-kpi {
    padding: 11px 13px;
  }
  #px-app[data-template="dashboard"] .px-kpi strong {
    font-size: 22px;
  }
  #px-app[data-template="dashboard"] .px-kpi small {
    font-size: 10px;
  }
  .dash-grid {
    gap: 12px;
  }
  .dash-store-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-store-links > a {
    padding: 10px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .dash-section-heading {
    flex-wrap: wrap;
  }
  .dash-section-heading > span {
    display: none;
  }
  #dash-trend-host #trend svg text {
    font-size: 24px;
  }
  #dash-trend-host #trendMetricLabel {
    max-width: 100%;
  }
  #dash-trend-host .trend-readout {
    font-size: 10px;
  }
  .px-headline h1 {
    font-size: 20px !important;
  }
}
@media (max-width: 720px) {
  #dash-trend-host #trend svg text {
    font-size: 32px;
  }
  #dash-trend-host #trendRangeLabel {
    font-size: 10px;
  }
}

/* Conference screen and collapsible navigation. */
body.px-has-sidebar {
  --px-sidebar-width: 148px;
  --px-sidebar-bg: #18312d;
  padding-left: var(--px-sidebar-width);
}
body.px-sidebar-collapsed {
  --px-sidebar-width: 54px;
}
.px-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: var(--px-sidebar-width);
  background: var(--px-sidebar-bg);
  color: #e7f0ec;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 13px 8px;
  overflow-y: auto;
}
.px-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 31px;
}
.px-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.px-sidebar-logo {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background: #326052;
  color: #fff;
  font-size: 13px;
  flex: none;
}
#px-app #px-sidebar-toggle,
#px-app #px-mobile-open {
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  width: 27px;
  height: 29px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
#px-app #px-sidebar-toggle:hover {
  background: #33524b;
}
#px-sidebar-links {
  display: grid;
  gap: 4px;
}
#px-app #px-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
}
#px-app #px-sidebar-links a:hover {
  background: #294a41;
}
#px-app #px-sidebar-links a[aria-current="page"] {
  background: #346557;
  color: #fff;
  font-weight: 650;
}
.px-sidebar-icon {
  display: grid;
  place-items: center;
  width: 20px;
  font-size: 15px;
  flex: none;
}
.px-sidebar-collapsed .px-sidebar-head {
  flex-direction: column;
  gap: 10px;
}
.px-sidebar-collapsed .px-sidebar-text {
  display: none;
}
.px-mobile-header,
.px-sidebar-scrim {
  display: none;
}
#px-app:not([data-template="dashboard"]) {
  padding-top: 18px;
}
#px-app[data-template="dashboard"] {
  max-width: none;
  padding: 0 18px 20px;
}
#px-app .dash-title {
  margin: 12px 0 7px;
}
#px-app .dash-title h1 {
  font-size: 18px !important;
}
.dash-verdict {
  padding: 5px 10px;
  margin-bottom: 9px;
}
.dash-verdict p {
  font-size: 12px;
}
#px-app[data-template="dashboard"] .px-kpis {
  margin-bottom: 10px;
}
#px-app[data-template="dashboard"] .px-kpi {
  padding: 9px 13px;
}
#px-app[data-template="dashboard"] .px-kpi strong {
  line-height: 1.12;
  font-size: 24px;
}
.dash-grid {
  grid-template-columns: repeat(var(--dash-columns), minmax(0, 1fr));
  gap: 9px;
}
.dash-panel {
  border-radius: 7px;
  padding: 9px 12px 7px;
}
.dash-panel-head {
  min-height: 25px;
  margin-bottom: 4px;
  align-items: center;
  gap: 7px;
}
.dash-panel-head h2 {
  font-size: 14px !important;
}
.dash-panel-head h2 small {
  margin-left: 7px;
  color: var(--px-muted);
  font-size: 10px;
  font-weight: 400;
}
.dash-more {
  font-size: 15px;
}
.dash-legend {
  margin-bottom: 3px;
  gap: 12px;
}
.dash-panel select {
  padding: 3px 5px;
}
.dash-plot .dash-growth-value {
  font-size: 11px;
  font-weight: 500;
}
#dash-trend-host #trendMetricLabel {
  display: none;
}
#dash-trend-host .trend-readout {
  font-size: 10px;
  min-height: 28px;
  line-height: 1.35;
}
#dash-trend-host .trend-navigator svg {
  height: 23px;
}
#dash-trend-host .trend-controls {
  gap: 4px;
}
#dash-trend-host .trend-controls label,
#dash-trend-host .trend-range-label {
  display: none;
}
#dash-trend-host .trend-presets button {
  padding: 3px 7px;
}
.dash-store-section {
  margin-top: 15px;
}
.dash-section-heading {
  margin-bottom: 7px;
}
.dash-store-links {
  gap: 6px;
}
.dash-store-links > a {
  padding: 7px 9px;
}
#px-app[data-template="dashboard"] .px-footer {
  margin-top: 14px;
  padding-top: 8px;
}

@media (max-width: 1370px) {
  .dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-panel {
    grid-column: auto;
  }
}
@media (max-width: 820px) {
  body.px-has-sidebar {
    padding-left: 0;
    --px-sidebar-width: 166px;
  }
  .px-sidebar {
    display: none;
  }
  .px-sidebar-open .px-sidebar {
    display: flex;
  }
  .px-sidebar-open .px-sidebar-scrim {
    position: fixed;
    inset: 0;
    display: block;
    z-index: 19;
    border: none;
    background: #101d1b75;
  }
  .px-mobile-header {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 650;
    border-bottom: 1px solid var(--px-line);
  }
  #px-app #px-mobile-open {
    width: 36px;
    height: 35px;
  }
  #px-app:not([data-template="dashboard"]) {
    padding-top: 0;
  }
}
@media (max-width: 640px) {
  #px-app[data-template="dashboard"] {
    padding-inline: 14px;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #px-app[data-template="dashboard"] .px-kpi strong {
    font-size: 21px;
  }
  .dash-panel {
    padding-inline: 9px;
  }
  .dash-panel select {
    max-width: 140px;
  }
}
@media print {
  body.px-has-sidebar,
  body.px-sidebar-collapsed {
    padding-left: 0;
  }
}

#px-app:is([data-template="dashboard"], [data-template="store_overview"]) .px-kpi {
  padding: 7px 10px;
  line-height: 1.25;
}
#px-app:is([data-template="dashboard"], [data-template="store_overview"]) .px-kpi strong {
  margin-block: 2px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
#px-app[data-template="store_overview"] .px-kpis {
  margin: 12px 0 16px;
}
#px-app .px-kpis.px-kpis-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1040px) {
  #px-app .px-kpis.px-kpis-six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #px-app .px-kpis.px-kpis-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#px-app .px-kpi-action {
  color: inherit;
  font: inherit;
  text-align: left;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
#px-app .px-kpi-action:hover {
  background: #eef5ed;
}
#px-app .px-kpi-action:focus-visible {
  outline: 2px solid var(--px-green);
  outline-offset: -3px;
}
.px-kpi-detail-label {
  display: inline-block;
  margin-inline-start: 0.5em;
  font-size: 0.75em;
  color: var(--px-green);
  text-decoration: underline;
  white-space: nowrap;
}
.px-dining-dialog {
  box-sizing: border-box;
  width: min(620px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: clamp(12px, 3vw, 24px);
  border: 1px solid var(--px-line);
  border-radius: 12px;
  color: var(--px-ink);
}
.px-dining-dialog .px-table {
  min-width: 0;
  table-layout: fixed;
}
.px-dining-dialog .px-table th,
.px-dining-dialog .px-table td {
  padding: 7px 8px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.px-dining-dialog .px-table th {
  position: static;
  cursor: default;
}
.px-dining-dialog .px-table thead th:first-child {
  width: 24%;
}
.px-dining-dialog .px-table small {
  display: block;
  font-size: 0.875em;
}
.px-dining-dialog .px-small-note {
  margin: 12px 0 0;
}
.px-dining-dialog::backdrop {
  background: rgb(24 45 40 / 48%);
}
.px-dining-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.px-dining-header h2 {
  margin: 0;
  font-size: 1.15rem;
}
.px-dining-header button {
  padding: 6px 12px;
  white-space: nowrap;
  border: 1px solid var(--px-line);
  border-radius: 6px;
  background: white;
  color: var(--px-green);
  cursor: pointer;
}
#trend [data-active-trend-bar] {
  fill-opacity: 1;
  stroke: #526172;
  stroke-width: 1.5;
}

#business-advisory details {
  border: 1px solid #d9e1e7;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}
#business-advisory summary {
  cursor: pointer;
  font-weight: 700;
}
#business-advisory p,
#business-advisory li {
  line-height: 1.7;
}
#business-advisory .store-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin: 16px 0 28px;
}
#business-advisory .store-review-card {
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  background: #f5f8fb;
}
#business-advisory .store-review-card[open] {
  grid-column: 1/-1;
  min-width: 0;
}
#business-advisory .store-review-card > summary {
  padding: 24px 16px;
  min-height: 76px;
  box-sizing: border-box;
}
#business-advisory .store-review-body {
  padding: 0 16px 16px;
  font-size: 14px;
}
#business-advisory .store-review-body h4 {
  margin: 18px 0 8px;
}
#business-advisory .review-evidence {
  padding: 8px;
  margin: 8px 0;
  font-size: 12px;
}
@media (max-width: 900px) {
  #business-advisory .store-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #business-advisory .store-review-grid {
    grid-template-columns: 1fr;
  }
  #business-advisory .store-review-card > summary {
    padding: 18px 12px;
    min-height: 64px;
  }
  #business-advisory .store-review-body {
    padding: 0 12px 12px;
    font-size: 16px;
  }
  #business-advisory .review-evidence {
    font-size: 14px;
  }
  #business-advisory .store-review-body ul,
  #business-advisory .store-review-body ol {
    padding-left: 22px;
  }
}
@media print {
  #business-advisory .store-review-grid {
    display: block;
  }
  #business-advisory details {
    break-inside: avoid;
  }
  #business-advisory details > * {
    display: block !important;
  }
}

.space-above-small {
  margin-top: 8px;
}
.space-above {
  margin-top: 16px;
}
.space-below {
  margin-bottom: 16px;
}
.action-card {
  margin-bottom: 10px;
  min-height: 0;
}
.attribution-tag {
  margin: 3px 4px 3px 0;
}
.legend-teal {
  background: #006d77;
}
.legend-blue {
  background: #2f5b9f;
}
.legend-amber {
  background: #b85c00;
}
.legend-green {
  background: #3a7d44;
}
.legend-purple {
  background: #7557a6;
}
.legend-orange {
  background: #d96b3b;
}
.report-unavailable p {
  margin: 6px 0;
}
.report-unavailable a {
  text-decoration: underline;
}

.trend-navigator [data-drag="pan"] {
  cursor: grab;
}
.trend-navigator :is([data-drag="start"], [data-drag="end"]) {
  cursor: ew-resize;
}
.interactive-chart-mark {
  cursor: pointer;
}
.trend-pointer-overlay {
  cursor: crosshair;
  touch-action: pan-y;
}

.report-fallback {
  max-width: 760px;
}
