#product-preview {
  color: #262c29;
  font: inherit;
  text-align: left;
  overflow: auto;
  border-radius: 13px;
  background: #fbfcf9;
  scrollbar-width: thin;
  scrollbar-color: #deddd4 transparent;
}
#product-preview * {
  box-sizing: border-box;
}
#product-preview button {
  font: inherit;
  cursor: pointer;
}
#product-preview button:focus-visible {
  outline: 2px solid #fc4c02;
  outline-offset: 3px;
}
#product-preview .tp-window {
  min-width: 650px;
  max-width: 1080px;
  margin: auto;
  border: 1px solid #dddfd7;
  border-radius: 13px;
  overflow: hidden;
  background: #fbfcf9;
}
#product-preview .tp-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
#product-preview .tp-chrome {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f2f3ed;
  border-bottom: 1px solid #dedfd7;
  font-size: 11px;
  color: #555d53;
  font-weight: 600;
  letter-spacing: 0.015em;
}
#product-preview .tp-window-dots {
  position: absolute;
  left: 17px;
  display: flex;
  gap: 6px;
}
#product-preview .tp-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d4cc;
}
#product-preview .tp-window-dots i:first-child {
  background: #efa494;
}
#product-preview .tp-window-dots i:nth-child(2) {
  background: #e6cd90;
}
#product-preview .tp-window-dots i:nth-child(3) {
  background: #b9cca7;
}
#product-preview .tp-chrome-tag {
  position: absolute;
  right: 17px;
  font-size: 8px;
  color: #65705e;
  letter-spacing: 0.13em;
  font-weight: 500;
}
#product-preview .tp-app {
  display: grid;
  grid-template-columns: 163px minmax(0, 1fr);
  min-height: 488px;
}
#product-preview .tp-sidebar {
  position: relative;
  background: #f6f6f0;
  border-right: 1px solid #e5e6df;
  padding: 25px 12px 80px;
}
#product-preview .tp-brand {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 9px 33px;
  font-size: 13px;
  letter-spacing: -0.025em;
}
#product-preview .tp-brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #fc4c02;
  color: white;
}
#product-preview .tp-brand-mark svg {
  width: 21px;
  height: 21px;
}
#product-preview .tp-workspace-label {
  font-size: 7px;
  letter-spacing: 0.14em;
  color: #65705e;
  font-weight: 600;
  margin: 0 11px 12px;
}
#product-preview .tp-sidebar nav {
  display: grid;
  gap: 5px;
}
#product-preview .tp-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 10px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #687064;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  transition:
    background 0.15s,
    color 0.15s;
}
#product-preview .tp-sidebar nav button:hover {
  background: #edece4;
  color: #343b30;
}
#product-preview .tp-sidebar nav button[aria-pressed="true"] {
  background: #fff0e5;
  color: #bc3e0b;
}
#product-preview .tp-sidebar nav button[aria-pressed="true"] .tp-icon {
  stroke-width: 1.9;
}
#product-preview .tp-sidebar-foot {
  position: absolute;
  bottom: 20px;
  left: 19px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #65705e;
}
#product-preview .tp-sidebar-foot .tp-icon {
  width: 15px;
  height: 15px;
}
#product-preview .tp-sidebar-foot div {
  display: grid;
  gap: 4px;
}
#product-preview .tp-sidebar-foot strong {
  font-size: 9px;
  font-weight: 500;
  color: #67705f;
}
#product-preview .tp-sidebar-foot span {
  font-size: 7px;
  color: #65705e;
}
#product-preview .tp-sidebar-foot > i {
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: #8ca280;
  border-radius: 50%;
}
#product-preview .tp-content {
  padding: 19px 24px 17px;
  min-width: 0;
  background: #fbfcf9;
}
#product-preview .tp-view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  min-height: 40px;
}
#product-preview .tp-kicker {
  font-size: 7px !important;
  line-height: 1 !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #65705e;
  margin: 0 0 8px !important;
}
#product-preview h3 {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.055em;
  margin: 0;
  color: #2f362b;
}
#product-preview .tp-heading-note {
  font-size: 9px;
  color: #65705e;
  align-self: flex-end;
  margin-bottom: 4px;
  white-space: nowrap;
}
#product-preview .tp-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
#product-preview .tp-metric {
  border: 1px solid #e5e7de;
  border-radius: 8px;
  padding: 11px 13px 9px;
  background: #fff;
  min-width: 0;
}
#product-preview .tp-metric p {
  font-size: 7px;
  line-height: 1.2;
  color: #65705e;
  margin: 0 0 9px;
  letter-spacing: 0.025em;
  font-weight: 500;
}
#product-preview .tp-metric strong {
  display: block;
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #30382b;
  white-space: nowrap;
}
#product-preview .tp-metric small {
  font-size: 12px;
  color: #65705e;
  letter-spacing: 0;
  font-weight: 400;
}
#product-preview .tp-metric > span {
  display: block;
  font-size: 7px;
  color: #65705e;
  margin-top: 8px;
  line-height: 1.4;
}
#product-preview .tp-panel {
  background: #fff;
  border: 1px solid #e5e7df;
  border-radius: 9px;
  overflow: hidden;
}
#product-preview .tp-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
#product-preview h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #505846;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
#product-preview h4 > span {
  font-size: 9px;
  font-weight: 400;
  color: #65705e;
  margin-left: 7px;
}
#product-preview .tp-small-text {
  font-size: 7px;
  color: #65705e;
  white-space: nowrap;
}
#product-preview .tp-calendar {
  padding: 13px 15px 9px;
  margin-bottom: 14px;
}
#product-preview .tp-calendar-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  font-size: 7px;
  color: #65705e;
  margin: 0 0 8px 26px;
}
#product-preview .tp-calendar-body {
  display: flex;
  gap: 7px;
}
#product-preview .tp-calendar-weekdays {
  font-size: 6px;
  color: #65705e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0 14px;
  width: 19px;
  flex: 0 0 auto;
}
#product-preview .tp-calendar-grid {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-template-columns: repeat(52, 1fr);
  grid-auto-flow: column;
  gap: 3px;
  flex: 1;
  height: 67px;
  min-width: 0;
}
#product-preview .tp-calendar-day {
  border-radius: 1.5px;
  background: #edf0e7;
  transition: transform 0.15s;
}
#product-preview .tp-calendar-day:hover {
  transform: scale(1.4);
  outline: 1px solid #e5641f;
  outline-offset: 1px;
}
#product-preview .tp-intensity-0 {
  background: #edf0e7;
}
#product-preview .tp-intensity-1 {
  background: #ffddc4;
}
#product-preview .tp-intensity-2 {
  background: #ffb67f;
}
#product-preview .tp-intensity-3 {
  background: #ff9450;
}
#product-preview .tp-intensity-4 {
  background: #fc4c02;
}
#product-preview .tp-calendar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: #65705e;
  font-size: 7px;
}
#product-preview .tp-calendar-key {
  display: flex;
  align-items: center;
  gap: 4px;
}
#product-preview .tp-calendar-key i {
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
}
#product-preview .tp-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 14px;
}
#product-preview .tp-weekly,
#product-preview .tp-recent {
  padding: 14px 14px 10px;
  min-width: 0;
}
#product-preview .tp-bar-chart {
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 0 4px;
  position: relative;
}
#product-preview .tp-bar-chart > span {
  position: relative;
  flex: 1;
  height: var(--bar-height);
  display: flex;
  align-items: stretch;
}
#product-preview .tp-bar-chart > span > i {
  display: block;
  border-radius: 3px 3px 0 0;
  background: #ffb385;
  width: 100%;
  opacity: 0.84;
}
#product-preview .tp-bar-chart > span.tp-current-bar > i {
  background: #fc4c02;
  opacity: 1;
}
#product-preview .tp-chart-guide {
  position: absolute;
  height: 1px;
  background: #f0f1e9;
  left: 0;
  right: 0;
}
#product-preview .tp-chart-guide-top {
  top: 4px;
}
#product-preview .tp-chart-guide-mid {
  top: 40px;
}
#product-preview .tp-chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  color: #65705e;
  margin-top: 8px;
}
#product-preview .tp-recent .tp-panel-title {
  margin-bottom: 4px;
}
#product-preview .tp-recent-list {
  display: grid;
}
#product-preview .tp-recent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f1eb;
}
#product-preview .tp-recent-row:last-child {
  border: 0;
  padding-bottom: 2px;
}
#product-preview .tp-sport-icon {
  display: grid;
  place-items: center;
  background: #faf1e9;
  color: #d67b3e;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 7px;
}
#product-preview .tp-sport-icon .tp-icon {
  width: 15px;
  height: 15px;
}
#product-preview .tp-recent-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
#product-preview .tp-recent-row strong {
  font-size: 9px;
  color: #69715f;
  font-weight: 500;
}
#product-preview .tp-recent-row span {
  font-size: 7px;
  color: #65705e;
}
#product-preview .tp-recent-row > b {
  margin-left: auto;
  font-size: 9px;
  color: #65705e;
  font-weight: 500;
  white-space: nowrap;
}
#product-preview .tp-preview-foot {
  height: 31px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f6f0;
  border-top: 1px solid #e3e5dc;
  font-size: 8px;
  color: #65705e;
}
#product-preview .tp-preview-foot > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
#product-preview .tp-preview-foot i {
  width: 5px;
  height: 5px;
  background: #fc4c02;
  border-radius: 50%;
}
#product-preview .tp-view-status {
  font-size: 7px;
}
#product-preview .tp-filter-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0 0 18px;
}
#product-preview .tp-filter-row button {
  border: 1px solid #e4e7dc;
  background: white;
  color: #65705e;
  padding: 7px 11px;
  font-size: 9px;
  line-height: 1;
  border-radius: 5px;
}
#product-preview .tp-filter-row button:hover {
  border-color: #d8b29b;
}
#product-preview .tp-filter-row button[aria-pressed="true"] {
  background: #fff0e5;
  border-color: #f7d2ba;
  color: #bc3e0b;
}
#product-preview .tp-filter-row > span {
  margin-left: auto;
  font-size: 8px;
  color: #65705e;
}
#product-preview .tp-activity-table {
  padding: 3px 16px;
  min-height: 281px;
}
#product-preview .tp-table-header,
#product-preview .tp-table-row {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) 0.72fr 0.8fr 0.7fr;
  gap: 10px;
  align-items: center;
}
#product-preview .tp-table-header {
  font-size: 7px;
  color: #65705e;
  padding: 12px 0;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #eceee5;
}
#product-preview .tp-table-row {
  min-height: 47px;
  border-bottom: 1px solid #f0f2ea;
  font-size: 9px;
  color: #65705e;
}
#product-preview .tp-table-row:last-child {
  border: 0;
}
#product-preview .tp-table-row > b {
  font-weight: 500;
  color: #65705e;
}
#product-preview .tp-table-activity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
#product-preview .tp-table-activity > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
#product-preview .tp-table-activity strong {
  font-size: 9px;
  color: #616d50;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#product-preview .tp-table-activity > div > span {
  font-size: 7px;
  color: #65705e;
}
#product-preview .tp-activity-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
#product-preview .tp-activity-summary .tp-metric {
  padding: 12px 14px;
  background: #f6f7ef;
}
#product-preview .tp-activity-summary .tp-metric strong {
  font-size: 17px;
}
#product-preview .tp-map-panel {
  position: relative;
  background: #edf0e7;
}
#product-preview .tp-route-map text {
  fill: #536145;
}
#product-preview .tp-route-map {
  display: block;
  width: 100%;
  height: 294px;
  object-fit: cover;
}
#product-preview .tp-map-caption {
  position: absolute;
  bottom: 11px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  color: #536145;
}
#product-preview .tp-map-caption > span:first-child {
  background: #fffffbe6;
  display: flex;
  gap: 6px;
  align-items: center;
  border-radius: 20px;
  padding: 6px 9px;
}
#product-preview .tp-map-caption i {
  width: 5px;
  height: 5px;
  background: #fc4c02;
  border-radius: 50%;
}
#product-preview .tp-map-caption > span:last-child {
  padding: 4px 6px;
  background: #edf0e7b3;
  border-radius: 4px;
}
#product-preview .tp-map-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17px;
  gap: 14px;
  color: #65705e;
  font-size: 8px;
}
#product-preview .tp-map-stats strong {
  color: #63744d;
  font-size: 11px;
  font-weight: 500;
  margin-right: 5px;
}
#product-preview .tp-analytics-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 11px;
  margin-bottom: 17px;
}
#product-preview .tp-metric-featured {
  background: #fff2e8;
  border-color: #f6ddc8;
}
#product-preview .tp-metric-featured strong {
  color: #bc3e0b;
}
#product-preview .tp-formula {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#product-preview .tp-formula-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  color: #65705e;
  white-space: nowrap;
}
#product-preview .tp-formula-code span {
  color: #bc3e0b;
}
#product-preview .tp-analytics-chart {
  padding: 17px 18px 14px;
}
#product-preview .tp-stacked-chart {
  height: 184px;
  display: flex;
  margin-top: 18px;
}
#product-preview .tp-stacked-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  font-size: 7px;
  color: #65705e;
}
#product-preview .tp-stacked-bars {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex: 1;
  background: repeating-linear-gradient(
    to top,
    #edf0e7 0px,
    #edf0e7 1px,
    transparent 1px,
    transparent 61px
  );
  padding: 0 10px;
}
#product-preview .tp-stacked-bars > div {
  display: flex;
  flex-direction: column-reverse;
  flex: 1;
  max-width: 32px;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
#product-preview .tp-stacked-bars i {
  display: block;
  min-height: 8px;
}
#product-preview .tp-stacked-labels {
  margin-left: 25px;
  margin-right: 10px;
}
#product-preview .tp-chart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 17px;
  color: #65705e;
  font-size: 7px;
}
#product-preview .tp-chart-legend > span {
  display: flex;
  gap: 4px;
  align-items: center;
}
#product-preview .tp-chart-legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}
#product-preview .tp-analytics-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 8px;
  color: #65705e;
  margin-top: 17px;
}
#product-preview .tp-analytics-foot svg {
  width: 13px;
  height: 13px;
}
@media (max-width: 800px) {
  #product-preview .tp-app {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  #product-preview .tp-sidebar {
    padding-left: 9px;
    padding-right: 9px;
  }
  #product-preview .tp-brand {
    margin-left: 5px;
    margin-right: 0;
    font-size: 12px;
  }
  #product-preview .tp-content {
    padding: 20px 17px 18px;
  }
  #product-preview .tp-heading-note {
    display: none;
  }
  #product-preview h3 {
    font-size: 21px;
  }
  #product-preview .tp-metric {
    padding: 12px 10px;
  }
  #product-preview .tp-metric strong {
    font-size: 19px;
  }
  #product-preview .tp-calendar-grid {
    gap: 2px;
    height: 61px;
  }
  #product-preview .tp-calendar {
    padding: 13px 11px 10px;
  }
  #product-preview .tp-calendar-months {
    font-size: 6px;
  }
  #product-preview .tp-sidebar-foot {
    left: 14px;
  }
  #product-preview .tp-formula-code {
    font-size: 7px;
  }
  #product-preview .tp-stacked-bars {
    gap: 10px;
  }
}
#product-preview .tp-mobile-stat-label,
#product-preview .tp-week-controls {
  display: none;
}
/* Compact screens keep the same views without a desktop-sized canvas. */
@media (max-width: 800px) {
  #product-preview .tp-window { min-width: 0; }
  #product-preview .tp-app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  #product-preview .tp-chrome { font-size: 12px; }
  #product-preview .tp-chrome-tag { font-size: 10px; letter-spacing: .04em; }
  #product-preview .tp-sidebar { padding: 8px; border-right: 0; border-bottom: 1px solid #e5e6df; }
  #product-preview .tp-brand,
  #product-preview .tp-workspace-label,
  #product-preview .tp-sidebar-foot { display: none; }
  #product-preview .tp-sidebar nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  #product-preview .tp-sidebar nav button {
    flex-direction: column; justify-content: center; gap: 6px;
    min-height: 60px; padding: 8px 2px; font-size: 12px; text-align: center;
  }
  #product-preview .tp-content { padding: 22px 14px; }
  #product-preview .tp-kicker { font-size: 10px !important; line-height: 1.4 !important; }
  #product-preview h3 { font-size: 25px; }
  #product-preview .tp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #product-preview .tp-metric { padding: 14px 12px; }
  #product-preview .tp-metric p { font-size: 11px; line-height: 1.4; }
  #product-preview .tp-metric strong { font-size: 24px; }
  #product-preview .tp-metric > span { font-size: 11px; }
  #product-preview .tp-panel-title { flex-wrap: wrap; gap: 5px 10px; }
  #product-preview h4 { font-size: 14px; }
  #product-preview h4 > span,
  #product-preview .tp-small-text { font-size: 11px; }
  #product-preview .tp-calendar { padding: 14px 10px; }
  #product-preview .tp-calendar-months { font-size: 9px; margin-left: 30px; }
  #product-preview .tp-calendar-weekdays { font-size: 10px; width: 23px; padding-block: 4px; }
  #product-preview .tp-calendar-grid { gap: 1px; height: 84px; }
  #product-preview .tp-calendar-foot { flex-wrap: wrap; gap: 8px; font-size: 10px; }
  #product-preview .tp-bottom-grid { grid-template-columns: minmax(0, 1fr); }
  #product-preview .tp-bar-chart { height: 125px; gap: 4px; }
  #product-preview .tp-chart-axis { font-size: 10px; }
  #product-preview .tp-week-controls { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
  #product-preview .tp-week-controls button {
    width: 44px; height: 44px; border: 1px solid #e4e7dc; border-radius: 6px;
    background: #fff0e5; color: #bc3e0b; font-size: 20px;
  }
  #product-preview .weekly-readout { font-size: 12px; line-height: 1.5; text-align: left; }
  #product-preview .tp-recent-row { padding-block: 14px; }
  #product-preview .tp-recent-row strong,
  #product-preview .tp-recent-row > b { font-size: 12px; }
  #product-preview .tp-recent-row span { font-size: 10px; }
  #product-preview .tp-preview-foot { height: auto; min-height: 44px; padding: 10px 12px; flex-wrap: wrap; gap: 8px; font-size: 10px; }
  #product-preview .tp-view-status { font-size: 10px; }
  #product-preview .tp-filter-row { flex-wrap: wrap; gap: 6px; }
  #product-preview .tp-filter-row button { min-height: 44px; padding: 10px; font-size: 12px; }
  #product-preview .tp-filter-row > span { flex-basis: 100%; margin-left: 0; padding-top: 4px; font-size: 11px; }
  #product-preview .tp-activity-table { padding: 0 12px; min-height: 0; }
  #product-preview .tp-table-header { display: none; }
  #product-preview .tp-table-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; padding-block: 18px; font-size: 12px; }
  #product-preview .tp-table-activity { grid-column: 1 / -1; }
  #product-preview .tp-table-activity strong { font-size: 14px; white-space: normal; }
  #product-preview .tp-table-activity > div > span { font-size: 11px; }
  #product-preview .tp-mobile-stat-label { display: block; font-size: 10px; font-weight: 400; margin-bottom: 4px; }
  #product-preview .tp-activity-summary,
  #product-preview .tp-analytics-top { grid-template-columns: minmax(0, 1fr); }
  #product-preview .tp-activity-summary .tp-metric strong { font-size: 22px; }
  #product-preview .tp-route-map { height: auto; aspect-ratio: 800 / 480; }
  #product-preview .tp-map-caption { position: static; padding: 10px; flex-wrap: wrap; gap: 8px; font-size: 11px; }
  #product-preview .tp-map-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; font-size: 12px; }
  #product-preview .tp-map-stats strong { font-size: 16px; }
  #product-preview .tp-formula-code { font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  #product-preview .tp-stacked-bars { gap: 6px; padding-inline: 4px; }
  #product-preview .tp-stacked-axis { font-size: 11px; width: 28px; }
  #product-preview .tp-chart-legend { flex-wrap: wrap; gap: 10px; font-size: 11px; }
  #product-preview .tp-analytics-foot { font-size: 12px; line-height: 1.5; align-items: flex-start; }
  #product-preview .tp-analytics-foot svg { flex-shrink: 0; margin-top: 3px; }
}
@media (max-width: 360px) {
  #product-preview .tp-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #product-preview .tp-sidebar nav button { flex-direction: row; min-height: 44px; gap: 8px; }
  #product-preview .tp-metrics { grid-template-columns: minmax(0, 1fr); }
  #product-preview .tp-recent-row { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  #product-preview .tp-recent-row > b { grid-column: 2; margin-left: 0; }
  #product-preview .tp-calendar-months { font-size: 10px; }
  #product-preview .tp-calendar-months > span:nth-child(even) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  #product-preview * {
    transition: none !important;
  }
}
