@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #172f29;
  --muted: #586b64;
  --border: #dde7e0;
  --bg: #f3f7f4;
  --white: #fff;
  --green: #216754;
  --nav: #102a24;
  --accent: #d9ef88;
  font: 16px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); }
button, select, input { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid #279b74; outline-offset: 3px; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 225px;
  background: var(--nav); color: #edf7ef; display: flex; flex-direction: column;
  padding: 36px 19px 25px;
}
.brand { margin: 0 12px 38px; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.brand span { color: var(--accent); font-size: 34px; font-weight: 850; letter-spacing: -.07em; line-height: 1; }
.brand small { margin-top: 9px; color: #bdcec4; font-size: 12px; letter-spacing: .105em; font-weight: 680; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { padding: 12px; display: flex; align-items: center; gap: 12px; color: #ccdcd3; text-decoration: none; font-size: .92rem; border-radius: 10px; white-space: nowrap; }
.sidebar nav a:hover, .sidebar nav a.selected { background: #224238; color: #f0f8ee; }
.sidebar nav a.selected { color: var(--accent); }
.nav-icon { display: inline-block; width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; flex: 0 0 15px; }
.nav-icon.overview { background: linear-gradient(90deg,transparent 43%,currentColor 43%,currentColor 54%,transparent 54%),linear-gradient(0deg,transparent 43%,currentColor 43%,currentColor 54%,transparent 54%); }
.nav-icon.products { border-radius: 50%; border-left-color: transparent; transform: rotate(35deg); }
.nav-icon.stores { background: linear-gradient(0deg,transparent 28%,currentColor 28%,currentColor 38%,transparent 38%,transparent 62%,currentColor 62%,currentColor 72%,transparent 72%); }
.sidebar-footer { margin-top: auto; padding: 17px 8px 0; border-top: 1px solid #385148; display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: #e2ece5; }
.sidebar-footer > span { margin-top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sidebar-footer small { display: block; margin-top: 3px; color: #b5c9be; font-size: .78rem; }
main { margin-left: 225px; padding: 34px clamp(22px, 3vw, 48px); max-width: 1640px; }
.masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 8px 0 26px; }
.eyebrow { color: var(--green); font-size: .75rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 7px; }
.eyebrow span { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 4px; background: #e6efda; letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.045em; line-height: 1.17; margin: 0; font-weight: 800; }
.intro { color: var(--muted); margin: 9px 0 0; }
.data-source { color: var(--green); font-size: .82rem; margin: 6px 0 0; }
.filters, .table-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.filters label { font-size: .88rem; font-weight: 650; }
.filters .select-wrap { margin-top: 4px; display: block; }
.select-wrap { display: inline-block; position: relative; }
.select-wrap::after { content: ''; width: 8px; height: 8px; border: solid #526d60; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); position: absolute; right: 15px; top: calc(50% - 6px); pointer-events: none; }
select, input { min-height: 42px; border: 1px solid #d4e0d7; border-radius: 8px; background: var(--white); padding: 8px 12px; font-size: .89rem; }
select { appearance: none; padding-right: 36px; width: 100%; }
.filters select { min-width: 134px; }
input { width: 175px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.metric { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px 17px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.metric:first-child { background: #e6f0da; border-color: #d6e5c7; }
.metric p { font-size: .9rem; font-weight: 680; margin: 0; color: #37574a; }
.metric strong { font-size: clamp(1.25rem, 2.15vw, 2rem); font-weight: 770; line-height: 1.25; letter-spacing: -.055em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric small { color: var(--muted); font-size: .78rem; min-height: 1.2em; }
.metric a { color: var(--green); text-underline-offset: 3px; font-weight: 650; }
.analytics { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(235px, 1fr); gap: 16px; margin-bottom: 17px; }
.panel { border: 1px solid var(--border); border-radius: 14px; background: var(--white); min-width: 0; scroll-margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 19px 10px; }
.panel-head h2 { font-size: 1.12rem; margin: 0; font-weight: 750; letter-spacing: -.025em; }
.panel-head p, .chart-caption { margin: 4px 0 0; color: var(--muted); font-size: .83rem; }
.segmented { display: flex; gap: 2px; padding: 3px; background: #edf3ef; border-radius: 8px; white-space: nowrap; }
.segmented button, .pagination button { border: 0; padding: 5px 10px; border-radius: 6px; background: transparent; font-size: .875rem; }
.segmented button[aria-pressed="true"] { background: var(--white); color: #195944; box-shadow: 0 1px 3px #182f2420; font-weight: 700; }
.chart-wrap { position: relative; padding: 4px 12px 0; }
#chart { display: block; width: 100%; height: 202px; }
.chart-caption { padding: 2px 19px 14px; }
.tooltip { position: absolute; pointer-events: none; background: var(--nav); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: .8rem; white-space: nowrap; transform: translate(-50%,-100%); }
.donut { width: 124px; height: 124px; border-radius: 50%; background: #ecf1ed; display: grid; place-items: center; margin: 2px auto 11px; }
.donut > div { display: grid; align-content: center; justify-items: center; width: 91px; height: 91px; border-radius: 50%; background: #fff; }
.donut strong { font-size: 1.42rem; line-height: 1.2; font-weight: 780; letter-spacing: -.045em; }
.donut span { font-size: .78rem; color: var(--muted); }
.product-list { list-style: none; margin: 0; padding: 0 19px 13px; display: grid; gap: 3px; }
.product-list li { display: grid; grid-template-columns: 10px 1fr auto 42px; gap: 8px; align-items: center; font-size: .88rem; }
.product-list .swatch { width: 9px; height: 9px; border-radius: 3px; }
.product-list strong { font-weight: 720; font-variant-numeric: tabular-nums; }
.product-list .share { text-align: right; color: var(--muted); }
.store-head { flex-wrap: wrap; padding-bottom: 16px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 620px; text-align: left; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
th { font-weight: 680; color: #466455; background: #edf3ef; }
th, td { padding: 9px 13px; border-bottom: 1px solid #e8eee9; }
th:first-child, td:first-child { padding-left: 19px; width: 76px; }
th:last-child, td:last-child { padding-right: 19px; }
.numeric { text-align: right; }
td.name { font-weight: 700; }
tbody tr:hover { background: #f7faf7; }
.state { border-radius: 100px; padding: 3px 8px; color: #266050; background: #e7f4ea; font-size: .82rem; }
.state.missing { color: #795020; background: #fbf0dc; }
.state.zero { color: #4d6059; background: #eef1ee; }
.empty { text-align: center; padding: 24px; color: var(--muted); }
.table-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 19px; flex-wrap: wrap; }
.table-footer p { margin: 0; color: var(--muted); font-size: .86rem; }
.pagination { display: flex; gap: 6px; }
.pagination button { background: #edf3ef; font-weight: 650; }
.pagination button:disabled { opacity: .46; cursor: default; }
.page-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-top: 17px; color: var(--muted); font-size: .8rem; }
@media(max-width: 1060px) { .sidebar { width: 178px; } main { margin-left: 178px; } .metric { padding: 13px; } }
@media(max-width: 780px) {
  .sidebar { position: relative; width: 100%; padding: 15px; flex-flow: row wrap; align-items: center; gap: 12px; justify-content: space-between; }
  .brand { margin: 0; } .brand span { font-size: 27px; } .brand small { margin-top: 4px; font-size: 10px; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 2px; } .sidebar nav a { font-size: .83rem; padding: 8px; gap: 5px; }
  .nav-icon, .sidebar-footer { display: none; }
  main { margin-left: 0; padding: 18px 15px; }
  .masthead { margin-bottom: 18px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}
@media(max-width: 585px) {
  .analytics { grid-template-columns: 1fr; }
  .filters { width: 100%; } .filters label { flex: 1; } .filters select { min-width: auto; }
  .table-controls { width: 100%; } .table-controls input { flex: 1; min-width: 105px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

