/* Module 0: shared tokens, shell and responsive UI. No third-party runtime. */
:root {
  --canvas:#f6f6f6;
  --surface:#fff;
  --sidebar:#fafafa;
  --ink:#202020;
  --secondary:#686868;
  --muted:#8a8a8a;
  --line:#e5e5e5;
  --hover:#efefef;
  --radius:10px;
  --success:#286647;
  --success-bg:#edf5ef;
  --warning:#80540e;
  --warning-bg:#fbf2de;
  --danger:#9d3834;
  --danger-bg:#f9eeed;
  --sidebar-width:230px;
  --font-ui:'Helvetica Neue',Helvetica,ui-sans-serif,system-ui,sans-serif;
  font-family:var(--font-ui);
  color:var(--ink);
  font-synthesis:none;
  line-height:1.5;
  font-size:14px;
  -webkit-font-smoothing:antialiased
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--canvas)
}

button,input,select,textarea {
  font:inherit;
  color:inherit
}

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

button {
  cursor:pointer
}

button:disabled {
  cursor:default;
  opacity:.46
}

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

button {
  border:0;
  background:none
}

input,select,textarea {
  min-width:0
}

input[type=search]::-webkit-search-cancel-button {
  cursor:pointer
}

img {
  max-width:100%;
  object-fit:cover
}

h1,h2,h3,p {
  margin:0
}

h1 {
  font-size:28px;
  line-height:1.25;
  letter-spacing:-.7px;
  font-weight:600
}

h2 {
  font-size:15px;
  font-weight:600;
  line-height:1.4
}

h3 {
  font-size:13px;
  font-weight:600
}

strong {
  font-weight:600
}

small {
  font-size:12px
}

button,a,input,select,textarea,summary {
  touch-action:manipulation
}

:focus-visible {
  outline:2px solid #202020;
  outline-offset:3px
}

main:focus {
  outline:none
}

h1:focus {
  outline:none
}

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

.skip-link {
  position:fixed;
  top:-80px;
  left:16px;
  background:#202020;
  color:white;
  z-index:100;
  padding:12px 20px;
  border-radius:6px
}

.skip-link:focus {
  top:12px
}

.icon {
  width:19px;
  height:19px;
  flex-shrink:0;
  display:inline-block;
  vertical-align:middle
}

.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  border-radius:7px;
  color:var(--secondary)
}

.icon-button:hover:not(:disabled) {
  background:var(--hover);
  color:var(--ink)
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar-width);
  border-right:1px solid var(--line);
  background:var(--sidebar);
  z-index:20
}

.sidebar-content {
  display:flex;
  flex-direction:column;
  height:100%;
  padding:31px 13px 18px;
  position:relative;
  overflow-y:auto
}

.brand {
  display:flex;
  gap:10px;
  align-items:center;
  padding:0 13px
}

.brand img,.sidebar-signature img {
  filter:grayscale(1) brightness(.45)
}

.brand-symbol {
  object-fit:contain;
  width:30px;
  height:24px
}

.brand-wordmark {
  width:142px;
  height:auto;
  object-fit:contain
}

.brand-caption {
  color:var(--secondary);
  font-size:11px;
  display:block;
  margin:10px 13px 29px;
  letter-spacing:.3px
}

.nav-group-label {
  display:block;
  color:#858585;
  font-size:9px;
  letter-spacing:1.2px;
  font-weight:600;
  padding:0 13px;
  margin-bottom:10px
}

.nav-link {
  min-height:43px;
  padding:0 12px;
  display:flex;
  align-items:center;
  gap:11px;
  font-size:13px;
  color:#606060;
  border-radius:7px;
  margin-bottom:3px
}

.nav-link:hover {
  background:#eee;
  color:#202020
}

.nav-link.active {
  background:#eaeaea;
  color:#161616;
  font-weight:600
}

.nav-link .icon {
  width:18px;
  height:18px
}

.nav-link>span {
  flex:1
}

.nav-count {
  font-size:10px;
  color:#575757;
  padding:1px 6px;
  min-width:22px;
  text-align:center;
  background:#e6e6e6;
  border-radius:5px
}

.nav-alert {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#8a662e;
  margin-right:7px
}

.community-label {
  margin-top:29px
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:40px
}

.sidebar-signature {
  border-top:1px solid var(--line);
  display:flex;
  gap:11px;
  align-items:center;
  padding:22px 13px 0;
  margin-top:17px
}

.sidebar-signature>span {
  font-size:11px;
  color:#575757
}

.sidebar-signature small {
  display:block;
  font-size:10px;
  color:#8c8c8c;
  margin-top:2px
}

.workspace {
  margin-left:var(--sidebar-width);
  min-height:100dvh;
  display:flex;
  flex-direction:column
}

.topbar {
  height:72px;
  min-height:72px;
  display:flex;
  align-items:center;
  padding:0 32px;
  gap:22px;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:15
}

.topbar-crumb {
  font-size:12px;
  color:var(--secondary);
  min-width:62px
}

.global-search {
  display:flex;
  align-items:center;
  gap:10px;
  max-width:380px;
  min-width:170px;
  flex:1;
  height:37px;
  color:#747474;
  font-size:12px;
  border:1px solid #e7e7e7;
  border-radius:7px;
  padding:0 11px;
  background:#f9f9f9;
  text-align:left
}

.global-search:hover {
  border-color:#c8c8c8
}

.global-search .icon {
  width:16px;
  height:16px
}

.global-search>span {
  flex:1
}

kbd {
  font-family:inherit;
  font-size:10px;
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:4px;
  padding:1px 5px;
  color:#888;
  white-space:nowrap
}

.topbar-tools {
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center
}

.market-picker {
  display:flex;
  gap:7px;
  align-items:center
}

.market-picker>.icon:first-child {
  width:16px;
  height:16px;
  color:#727272
}

.market-picker select {
  border:0;
  background:transparent;
  appearance:none;
  font-size:12px;
  cursor:pointer;
  max-width:191px;
  padding:10px 0
}

.market-picker>.icon:last-child {
  width:13px;
  height:13px;
  color:#727272;
  pointer-events:none
}

.currency-pill {
  font-size:10px;
  padding:3px 6px;
  background:#f4f4f4;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--secondary)
}

.notification-button {
  position:relative;
  margin-left:6px
}

.notification-button i {
  position:absolute;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#686868;
  top:10px;
  right:12px;
  border:1px solid white
}

.avatar {
  border-radius:50%;
  width:32px;
  height:32px;
  min-width:32px;
  font-size:10px;
  letter-spacing:.4px;
  font-weight:600;
  background:#292929;
  color:white
}

.avatar:hover {
  background:#505050
}

.mobile-menu {
  display:none
}

.demo-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:11px 34px;
  font-size:11px;
  border-bottom:1px solid var(--line);
  background:#f2f2f2;
  color:#6b6b6b
}

.demo-banner strong {
  font-weight:600;
  color:#464646
}

.banner-divider {
  margin:0 9px
}

.demo-banner a {
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  font-size:10px
}

.demo-banner a .icon {
  width:12px;
  height:12px
}

main {
  width:100%;
  max-width:1490px;
  padding:34px 34px 28px;
  margin:0 auto;
  flex:1
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px
}

.page-heading p {
  color:var(--secondary);
  font-size:12px;
  margin-top:7px
}

.page-actions {
  display:flex;
  gap:9px;
  flex-shrink:0
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:37px;
  padding:0 13px;
  border-radius:7px;
  font-size:12px;
  line-height:1.25;
  font-weight:500;
  white-space:nowrap;
  transition:background 140ms,border-color 140ms
}

.button .icon {
  width:15px;
  height:15px
}

.primary {
  color:white;
  background:#242424;
  border:1px solid #242424;
  box-shadow:0 1px 1px #00000015
}

.primary:hover:not(:disabled) {
  background:#414141;
  border-color:#414141
}

.secondary {
  background:white;
  border:1px solid #dbdbdb;
  box-shadow:0 1px 2px #00000006
}

.secondary:hover:not(:disabled) {
  background:#f5f5f5;
  border-color:#c5c5c5
}

.button.small {
  font-size:11px;
  min-height:32px;
  padding:0 10px
}

.text-link {
  display:inline-flex;
  gap:6px;
  align-items:center;
  font-size:11px;
  font-weight:500;
  color:#4c4c4c;
  padding:4px 0
}

.text-link:hover {
  color:#111;
  text-decoration:underline;
  text-underline-offset:3px
}

.text-link .icon {
  width:14px;
  height:14px
}

.overview-toolbar {
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin-bottom:18px
}

.overview-toolbar>span {
  font-size:10px;
  color:#858585
}

.dot-separator {
  padding:0 7px
}

.select-wrap {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:white;
  border:1px solid #ddd;
  border-radius:7px;
  padding:0 10px;
  min-height:34px
}

.select-wrap>.icon {
  width:15px;
  height:15px;
  color:#646464
}

.select-wrap>.icon:last-child {
  width:12px;
  height:12px;
  pointer-events:none
}

.select-wrap select {
  background:none;
  border:0;
  appearance:none;
  font-size:11px;
  cursor:pointer;
  padding:7px 0
}

.metric-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
  margin-bottom:21px
}

.metric {
  border:1px solid var(--line);
  background:white;
  border-radius:var(--radius);
  padding:17px 18px 16px;
  display:flex;
  flex-direction:column;
  min-height:137px;
  box-shadow:0 2px 4px #00000002
}

.metric:hover {
  border-color:#bdbdbd
}

.metric>span:first-child {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:#5e5e5e
}

.metric>span:first-child>.icon {
  width:13px;
  height:13px;
  color:#919191
}

.metric-value {
  font-size:27px;
  font-weight:500;
  letter-spacing:-.9px;
  line-height:1.3;
  margin-top:11px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}

.metric-value small {
  font-size:10px;
  letter-spacing:0;
  margin-left:8px;
  font-weight:400;
  color:#737373
}

.metric-comparison {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:9px;
  color:#7d7d7d;
  white-space:nowrap;
  margin-top:10px
}

.metric-comparison strong {
  font-weight:500;
  color:#555
}

.metric-comparison .icon {
  width:12px;
  height:12px
}

.metric-comparison>span:last-child {
  margin-left:2px
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 2px 5px #00000002;
  min-width:0
}

.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 285px;
  gap:20px;
  margin-bottom:21px
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:20px 21px 0
}

.section-heading h2 {
  font-size:13px
}

.section-subtitle {
  font-size:11px;
  color:#818181;
  padding:5px 21px 0
}

.sales-panel {
  display:flex;
  flex-direction:column
}

.chart-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:13px 21px 0;
  color:#8c8c8c;
  font-size:9px
}

.legend {
  display:flex;
  align-items:center;
  gap:16px
}

.legend>span {
  display:flex;
  align-items:center;
  gap:6px
}

.legend-line {
  width:15px;
  height:0;
  border-top:2px solid #333
}

.legend-line.dashed {
  border-top:2px dashed #b3b3b3
}

.chart-wrapper {
  padding:12px 16px 4px;
  flex:1;
  display:flex;
  align-items:center
}

.sales-chart {
  width:100%;
  height:228px;
  overflow:visible
}

.sales-chart text {
  font-family:var(--font-ui);
  font-size:11px;
  fill:#8a8a8a
}

.chart-grid {
  stroke:#ededed;
  stroke-width:1
}

.chart-area {
  fill:#f5f5f5;
  stroke:none
}

.chart-previous {
  stroke:#b5b5b5;
  stroke-width:1.8;
  fill:none;
  stroke-dasharray:4 5
}

.chart-current {
  stroke:#2b2b2b;
  stroke-width:2.3;
  fill:none;
  stroke-linejoin:round;
  stroke-linecap:round
}

.chart-point {
  fill:white;
  stroke:#2b2b2b;
  stroke-width:1.8
}

.chart-details {
  border-top:1px solid #f0f0f0;
  font-size:10px;
  color:#7d7d7d
}

.chart-details summary {
  cursor:pointer;
  padding:9px 21px;
  list-style-position:inside
}

.chart-details .data-table {
  font-size:11px
}

.count-pill {
  border:1px solid #e4e4e4;
  border-radius:5px;
  color:#707070;
  font-size:10px;
  padding:1px 6px;
  min-width:22px;
  text-align:center
}

.task-list {
  padding:12px 19px 2px
}

.task-row {
  display:flex;
  gap:10px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid #efefef
}

.task-row:last-child {
  border:0
}

.task-icon {
  width:33px;
  height:33px;
  border:1px solid #e8e8e8;
  background:#fafafa;
  border-radius:7px;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#606060
}

.task-icon .icon {
  width:16px;
  height:16px
}

.task-row>span:nth-child(2) {
  flex:1
}

.task-row strong {
  font-size:11px;
  font-weight:500;
  display:block
}

.task-row small {
  display:block;
  font-size:10px;
  margin-top:2px;
  color:#8b8b8b
}

.task-row>.icon {
  width:12px;
  height:12px;
  color:#919191
}

.task-row:hover strong {
  text-decoration:underline;
  text-underline-offset:3px
}

.quick-actions {
  padding:12px 19px 19px;
  display:grid;
  gap:7px
}

.quick-actions h3 {
  color:#919191;
  font-size:9px;
  font-weight:400;
  margin-bottom:3px
}

.quick-actions .button {
  min-height:32px;
  font-size:10px;
  justify-content:flex-start;
  padding-left:11px
}

.quick-actions .icon {
  width:13px;
  height:13px
}

.lower-grid {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:20px
}

.recent-panel .section-heading,.bestseller-panel .section-heading {
  padding-bottom:16px
}

.bestseller-list {
  padding:0 18px 7px
}

.bestseller-row {
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  border-top:1px solid #ededed;
  padding:12px 0
}

.bestseller-row .rank {
  font-size:10px;
  color:#aaa;
  width:15px;
  flex-shrink:0
}

.bestseller-row>span:nth-last-child(2) {
  flex:1;
  min-width:0
}

.bestseller-row strong {
  display:block;
  font-size:11px;
  font-weight:500
}

.bestseller-row small {
  font-size:9px;
  color:#8c8c8c;
  display:block;
  margin-top:3px
}

.bestseller-row:hover strong {
  text-decoration:underline;
  text-underline-offset:3px
}

.bestseller-row .product-photo {
  width:36px;
  height:43px
}

.sold-quantity {
  font-size:13px;
  min-width:32px;
  text-align:right;
  font-variant-numeric:tabular-nums
}

.sold-quantity small {
  font-size:9px
}

.table-wrap {
  overflow-x:auto
}

.data-table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:12px
}

.data-table thead {
  background:#fbfbfb;
  color:#818181;
  font-size:10px
}

.data-table th {
  font-weight:400;
  white-space:nowrap;
  padding:11px 20px;
  border-top:1px solid #eee;
  border-bottom:1px solid #eaeaea
}

.data-table td {
  padding:15px 20px;
  border-bottom:1px solid #ededed;
  vertical-align:middle
}

.data-table tr:last-child td {
  border-bottom:0
}

.data-table tbody tr:hover {
  background:#fdfdfd
}

.align-right {
  text-align:right!important
}

.amount-cell {
  white-space:nowrap;
  font-variant-numeric:tabular-nums
}

.order-link {
  font-size:12px;
  font-weight:500;
  color:#363636;
  padding:0
}

.cell-sub {
  display:block;
  color:#969696;
  font-size:10px;
  margin-top:2px
}

.customer-cell {
  color:#727272;
  font-size:11px
}

.orders-table.compact th {
  padding:9px 18px
}

.orders-table.compact td {
  padding:13px 18px
}

.orders-table.compact .order-link {
  font-size:10px
}

.orders-table.compact .customer-cell {
  font-size:10px
}

.orders-table.compact .amount-cell {
  font-size:11px
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  font-size:10px;
  font-weight:400;
  padding:3px 7px;
  border-radius:5px;
  line-height:1.3
}

.badge-success {
  background:var(--success-bg);
  color:var(--success)
}

.badge-warning {
  background:var(--warning-bg);
  color:var(--warning)
}

.badge-danger {
  background:var(--danger-bg);
  color:var(--danger)
}

.badge-neutral {
  background:#efefef;
  color:#666
}

.badge-muted {
  background:#f3f3f3;
  color:#929292
}

.status-dot {
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
  opacity:.65
}

.compact .badge {
  font-size:9px;
  padding:3px 5px
}

.product-photo {
  width:42px;
  height:50px;
  flex-shrink:0;
  border-radius:5px;
  border:1px solid #e8e8e8;
  object-position:50% 40%;
  background:#f3f3f3
}

.product-link {
  display:flex;
  align-items:center;
  gap:13px;
  padding:0;
  text-align:left
}

.product-link span {
  min-width:0
}

.product-link strong {
  display:block;
  font-size:12px;
  font-weight:500
}

.product-link small {
  display:block;
  color:#959595;
  font-size:10px;
  margin-top:3px
}

.product-link:hover strong {
  text-decoration:underline;
  text-underline-offset:3px
}

.list-tabs {
  display:flex;
  gap:5px;
  overflow-x:auto;
  white-space:nowrap;
  padding:15px 19px 12px;
  border-bottom:1px solid var(--line)
}

.tab {
  font-size:12px;
  min-height:34px;
  padding:0 12px;
  color:#767676;
  border-radius:6px
}

.tab:hover {
  background:#f5f5f5
}

.tab.selected {
  background:#ededed;
  color:#333;
  font-weight:500
}

.list-toolbar {
  display:flex;
  align-items:center;
  gap:10px;
  padding:17px 20px
}

.search-field {
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid #ddd;
  border-radius:7px;
  padding:0 10px;
  height:38px;
  max-width:440px;
  flex:1;
  color:#8f8f8f
}

.search-field .icon {
  width:15px;
  height:15px
}

.search-field input {
  border:0;
  outline:0;
  background:none;
  flex:1;
  width:100%;
  height:100%;
  font-size:12px
}

.search-field:focus-within {
  border-color:#737373;
  box-shadow:0 0 0 1px #737373
}

.search-field input::placeholder {
  color:#9a9a9a
}

.filter-button {
  min-height:38px
}

.filter-dot {
  width:5px;
  height:5px;
  background:#484848;
  border-radius:50%
}

.clear-button {
  margin-left:auto
}

.pagination {
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 20px;
  font-size:10px;
  color:#898989;
  gap:10px
}

.pagination>div {
  display:flex;
  gap:10px;
  align-items:center
}

.pagination .icon-button {
  height:32px;
  min-width:32px;
  border:1px solid #e2e2e2;
  background:white
}

.pagination .icon {
  height:13px;
  width:13px
}

.active-filter {
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:11px;
  background:#eee;
  margin:0 20px 14px;
  padding:4px 6px 4px 10px;
  border-radius:5px
}

.active-filter button {
  padding:3px;
  display:flex
}

.active-filter .icon {
  width:13px;
  height:13px
}

.location-bar {
  display:flex;
  gap:13px;
  align-items:center;
  background:#ececec;
  border:1px solid #e2e2e2;
  padding:17px 20px;
  border-radius:8px;
  margin-bottom:19px
}

.location-bar>.icon {
  width:21px;
  height:21px;
  color:#666
}

.location-bar>div {
  flex:1
}

.location-bar strong {
  font-size:12px;
  font-weight:500;
  display:block
}

.location-bar span:not(.location-code) {
  display:block;
  color:#848484;
  font-size:11px;
  margin-top:2px
}

.location-code {
  font-size:10px;
  white-space:nowrap;
  font-weight:500;
  color:#606060;
  background:white;
  padding:4px 9px;
  border:1px solid #e1e1e1;
  border-radius:5px
}

.stock-amount {
  display:inline-block;
  font-variant-numeric:tabular-nums;
  font-weight:500;
  min-width:28px
}

.inventory-table .badge {
  font-size:9px
}

.page-note {
  display:flex;
  align-items:flex-start;
  gap:7px;
  font-size:10px;
  color:#909090;
  margin:14px 2px 23px;
  max-width:800px
}

.page-note .icon {
  width:13px;
  height:13px;
  margin-top:1px
}

.history-panel {
  margin-top:21px
}

.history-panel .section-heading {
  padding-bottom:15px
}

.inline-note {
  font-size:12px;
  color:#858585;
  line-height:1.6;
  padding:18px 20px
}

.history-list {
  padding:0 20px
}

.history-row {
  display:flex;
  gap:12px;
  align-items:center;
  padding:16px 0;
  border-top:1px solid #ededed
}

.history-row>.icon {
  color:#929292;
  width:17px
}

.history-row>div {
  flex:1
}

.history-row strong {
  font-size:12px;
  display:block
}

.history-row span {
  font-size:10px;
  color:#939393;
  display:block;
  margin-top:3px
}

.history-row>strong {
  white-space:nowrap;
  font-weight:500;
  font-size:13px
}

.empty-state {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:65px 20px 60px
}

.empty-state>.icon {
  width:30px;
  height:30px;
  color:#b2b2b2;
  margin-bottom:18px
}

.empty-state h2 {
  font-size:17px;
  font-weight:500
}

.empty-state p {
  max-width:360px;
  font-size:12px;
  color:#969696;
  margin-top:8px
}

.empty-state .button {
  margin-top:22px
}

.future-panel {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:90px 28px;
  text-align:center
}

.future-panel>.icon {
  height:35px;
  width:35px;
  color:#a0a0a0;
  margin-bottom:25px
}

.eyebrow {
  font-size:9px;
  color:#999;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px
}

.future-panel h2 {
  font-size:24px;
  font-weight:500
}

.future-panel p {
  font-size:12px;
  color:#929292;
  max-width:330px;
  margin-top:10px
}

.future-panel .button {
  margin-top:28px
}

.settings-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}

.settings-panel .field {
  margin:20px
}

.settings-panel .section-heading {
  padding-bottom:12px
}

.settings-panel>p {
  padding:12px 20px;
  font-size:12px;
  color:#858585
}

.setting-location {
  display:flex;
  gap:12px;
  align-items:center;
  margin:0 20px;
  padding:17px 0;
  border-top:1px solid #eee
}

.setting-location>div {
  flex:1
}

.setting-location strong {
  font-size:12px;
  font-weight:500
}

.setting-location p {
  font-size:10px;
  color:#8c8c8c;
  margin-top:4px
}

.setting-location>.icon {
  width:15px;
  color:#878787
}

.help-panel {
  padding:24px;
  max-width:850px;
  margin-bottom:20px
}

.help-panel h2 {
  font-size:16px;
  font-weight:500
}

.help-panel p {
  font-size:13px;
  color:#838383;
  max-width:670px;
  margin:12px 0 23px
}

.state-buttons {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}

.workspace-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  max-width:1490px;
  width:100%;
  padding:15px 35px 25px;
  margin:0 auto;
  color:#999;
  font-size:9px
}

.workspace-footer select {
  appearance:none;
  background:none;
  border:0;
  font-size:10px;
  color:#818181;
  padding:10px 3px;
  cursor:pointer
}

.empty-preview {
  text-align:center;
  padding-bottom:50px
}

.empty-preview>.button {
  margin-top:-30px
}

.skeleton {
  background:#e9e9e9;
  border-radius:8px;
  animation:breathe 1.6s ease-in-out infinite
}

.sk-heading {
  height:28px;
  width:260px;
  margin-bottom:35px
}

.skeleton-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px
}

.sk-card {
  height:138px
}

.sk-chart {
  height:360px;
  margin-top:25px
}

@keyframes breathe {
  50% {
    opacity:.45
  }
}

dialog {
  border:1px solid #dfdfdf;
  background:white;
  border-radius:12px;
  padding:0;
  color:var(--ink);
  width:min(520px,calc(100% - 32px));
  max-height:calc(100dvh - 48px);
  box-shadow:0 15px 80px #00000020;
  overflow:auto
}

dialog::backdrop {
  background:#00000035
}

.dialog-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:24px 24px 20px;
  border-bottom:1px solid var(--line)
}

.dialog-heading h2 {
  font-size:19px;
  font-weight:500;
  line-height:1.3;
  letter-spacing:-.3px;
  padding-top:4px
}

.dialog-heading p {
  font-size:12px;
  color:#929292;
  margin-top:7px;
  max-width:350px
}

.dialog-heading .icon-button {
  margin:-5px -7px 0 0
}

.dialog-body {
  padding:22px 24px
}

.dialog-footer {
  padding:17px 24px;
  display:flex;
  justify-content:flex-end;
  gap:9px;
  border-top:1px solid var(--line);
  background:#fdfdfd;
  border-radius:0 0 12px 12px
}

.dialog-footer .button {
  min-height:40px
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:20px;
  font-size:12px
}

.field:last-child {
  margin-bottom:0
}

.field input,.field select,.field textarea {
  font-size:14px;
  border:1px solid #d6d6d6;
  border-radius:6px;
  padding:10px 11px;
  background:white;
  min-height:42px;
  width:100%
}

.field small {
  font-size:10px;
  color:#919191;
  line-height:1.5
}

.field textarea {
  resize:vertical
}

.dialog-body>.inline-note {
  background:#f6f6f6;
  border-radius:7px;
  padding:13px 15px;
  font-size:11px
}

.detail-panel {
  margin:0 0 0 auto;
  top:0;
  right:0;
  height:100dvh;
  max-height:100dvh;
  width:min(510px,100%);
  border-radius:0;
  border:0;
  border-left:1px solid #ddd;
  display:none
}

.detail-panel[open] {
  display:flex;
  flex-direction:column
}

.detail-panel .dialog-heading {
  flex-shrink:0
}

.drawer-body {
  padding:20px 25px;
  overflow-y:auto;
  flex:1
}

.detail-panel .dialog-footer {
  flex-shrink:0;
  border-radius:0
}

.order-detail-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px
}

.detail-section {
  margin-bottom:27px
}

.detail-section h3 {
  font-size:12px;
  font-weight:500;
  margin-bottom:13px
}

.detail-section>p {
  font-size:13px
}

.detail-section>small {
  color:#999;
  font-size:10px
}

.detail-product {
  display:flex;
  gap:12px;
  align-items:center;
  padding:16px 0;
  border-top:1px solid #eee
}

.detail-product>div {
  flex:1
}

.detail-product strong {
  font-size:12px;
  font-weight:500;
  display:block
}

.detail-product span {
  font-size:11px;
  color:#999;
  margin-top:5px;
  display:block
}

.detail-total {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #eee;
  padding-top:17px;
  font-size:14px
}

.timeline {
  margin:0;
  padding:0;
  list-style:none
}

.timeline li {
  display:flex;
  gap:12px;
  padding:11px 0
}

.timeline-dot {
  border:1px solid #b3b3b3;
  position:relative;
  background:#f7f7f7;
  width:7px;
  height:7px;
  border-radius:50%;
  margin-top:6px;
  flex-shrink:0
}

.timeline li:not(:last-child) .timeline-dot:after {
  content:'';
  position:absolute;
  top:9px;
  left:2px;
  width:1px;
  height:41px;
  background:#ededed
}

.timeline strong {
  font-size:12px;
  font-weight:400;
  display:block
}

.timeline small {
  font-size:10px;
  color:#999;
  margin-top:3px;
  display:block
}

.product-detail-hero {
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:30px
}

.product-detail-hero .product-photo {
  width:115px;
  height:142px
}

.product-detail-hero p {
  font-size:12px;
  color:#969696;
  margin:9px 0
}

.product-detail-hero strong {
  font-size:24px;
  font-weight:500
}

.product-detail-hero small {
  font-size:10px;
  color:#999;
  display:block;
  margin-top:4px
}

.variant-list>div {
  display:flex;
  align-items:center;
  gap:13px;
  border-top:1px solid #eee;
  padding:14px 0
}

.variant-list>div>span:first-child {
  flex:1
}

.variant-list strong {
  display:block;
  font-size:12px;
  font-weight:500
}

.variant-list small {
  display:block;
  font-size:9px;
  color:#999;
  margin-top:4px
}

.variant-list>div>span:nth-child(2) {
  font-size:11px;
  color:#777
}

.adjust-product {
  display:flex;
  align-items:center;
  gap:13px;
  border:1px solid #eee;
  background:#fafafa;
  border-radius:7px;
  padding:12px;
  margin-bottom:22px
}

.adjust-product strong {
  display:block;
  font-size:12px;
  font-weight:500
}

.adjust-product span {
  display:block;
  font-size:10px;
  color:#858585;
  margin-top:5px
}

.adjust-preview {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:35px;
  border:1px solid #eee;
  border-radius:7px;
  padding:13px;
  margin-bottom:20px;
  background:#fafafa
}

.adjust-preview>span {
  text-align:center;
  font-size:10px;
  color:#949494
}

.adjust-preview strong {
  display:block;
  font-size:24px;
  font-weight:500;
  color:#3e3e3e;
  margin-top:2px
}

.adjust-preview>.icon {
  color:#b0b0b0;
  width:16px
}

.adjust-preview .invalid,.form-error {
  color:var(--danger)
}

.form-error {
  font-size:11px;
  line-height:1.5;
  padding:12px;
  background:var(--danger-bg);
  border-radius:6px
}

.notification-list {
  padding-top:9px
}

.notification-list a {
  display:flex;
  align-items:center;
  gap:14px;
  padding:17px 0;
  border-bottom:1px solid #eee
}

.notification-list a>span {
  flex:1
}

.notification-list strong {
  font-size:13px;
  font-weight:500;
  display:block
}

.notification-list small {
  font-size:11px;
  color:#999;
  display:block;
  margin-top:3px
}

.notification-list>.icon {
  color:#888
}

.profile-content {
  display:flex;
  flex-direction:column;
  gap:12px
}

.profile-content .button {
  justify-content:flex-start;
  min-height:44px
}

.search-dialog {
  width:min(660px,calc(100% - 32px));
  margin-top:12dvh;
  max-height:73dvh
}

.search-dialog-top {
  display:flex;
  align-items:center;
  gap:13px;
  padding:12px 18px;
  border-bottom:1px solid #eee
}

.search-dialog-top>.icon {
  color:#929292
}

.search-dialog-top input {
  flex:1;
  border:0;
  background:none;
  font-size:15px;
  outline:none;
  height:40px;
  width:100%
}

.search-dialog-top input::placeholder {
  color:#aaa
}

.search-results {
  padding:10px 13px;
  overflow:auto;
  max-height:53dvh
}

.search-intro {
  padding:17px 13px 19px
}

.search-intro h3 {
  font-size:15px;
  font-weight:500
}

.search-intro p {
  font-size:11px;
  color:#999;
  margin-top:6px;
  line-height:1.5
}

.search-group-title {
  font-size:9px;
  letter-spacing:1px;
  color:#a2a2a2;
  text-transform:uppercase;
  padding:10px 12px 5px;
  display:block
}

.search-result {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding:10px 12px;
  border-radius:6px;
  width:100%;
  text-align:left;
  font-size:13px
}

.search-result>span {
  flex:1
}

.search-result>.icon {
  color:#999;
  width:17px;
  height:17px
}

.search-result>.icon:last-child {
  width:13px;
  height:13px
}

.search-result:hover,.search-result:focus-visible {
  background:#f3f3f3
}

.search-result strong {
  font-size:12px;
  font-weight:500;
  display:block
}

.search-result small {
  font-size:10px;
  color:#999;
  display:block;
  margin-top:3px
}

.search-result .product-photo {
  width:30px;
  height:36px
}

.search-result-count {
  font-size:10px;
  color:#aaa;
  padding:8px 12px
}

.search-dialog-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:11px 22px;
  border-top:1px solid #eee;
  background:#fafafa;
  font-size:10px;
  color:#999
}

.nav-modal {
  margin:0 auto 0 0;
  max-height:100dvh;
  height:100dvh;
  width:280px;
  border-radius:0;
  border:0;
  overflow:visible
}

.nav-modal .sidebar-content {
  padding-top:35px
}

.nav-modal .brand {
  padding-left:10px
}

.nav-close {
  position:absolute;
  top:23px;
  right:-51px;
  color:white;
  border:1px solid #ffffff55
}

.nav-close:hover {
  color:#222
}

.toast {
  position:fixed;
  bottom:26px;
  left:calc(50% + var(--sidebar-width)/2);
  transform:translate(-50%,20px);
  background:#262626;
  color:white;
  font-size:12px;
  padding:13px 20px;
  border-radius:8px;
  box-shadow:0 6px 26px #00000020;
  max-width:calc(100% - 40px);
  opacity:0;
  pointer-events:none;
  transition:opacity 150ms,transform 150ms;
  z-index:60
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}

@media(min-width:1650px) {
  main {
    padding-top:44px
  }
  .overview-grid {
    grid-template-columns:minmax(0,1fr) 315px
  }
  .metric {
    padding:21px 24px
  }
  .metric-value {
    font-size:31px
  }
}

@media(max-width:1250px) {
  :root {
    --sidebar-width:205px
  }
  .brand {
    gap:8px;
    padding:0 10px
  }
  .brand-wordmark {
    width:123px
  }
  .brand-symbol {
    width:25px
  }
  .topbar {
    padding:0 24px;
    gap:14px
  }
  .topbar-crumb {
    display:none
  }
  .global-search {
    max-width:290px
  }
  .topbar-tools {
    gap:7px
  }
  .market-picker select {
    max-width:175px;
    font-size:11px
  }
  .currency-pill {
    display:none
  }
  main {
    padding:29px 24px
  }
  .demo-banner {
    padding:10px 24px
  }
  .overview-grid {
    grid-template-columns:minmax(0,1fr) 260px;
    gap:16px
  }
  .lower-grid {
    gap:16px;
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)
  }
  .metric {
    padding:16px 14px
  }
  .metric-value {
    font-size:24px
  }
  .metric-comparison {
    font-size:8px
  }
  .metric-comparison>span:last-child {
    white-space:normal
  }
  .orders-table.compact .customer-cell {
    display:none
  }
  .orders-table.compact th:nth-child(2) {
    display:none
  }
  .data-table th,.data-table td {
    padding-left:15px;
    padding-right:15px
  }
  .bestseller-row {
    gap:9px
  }
  .rank {
    display:none
  }
  .section-heading {
    padding-left:18px;
    padding-right:18px
  }
}

@media(max-width:1000px) {
  :root {
    --sidebar-width:0px
  }
  .sidebar {
    display:none
  }
  .topbar {
    padding:0 22px;
    height:65px;
    min-height:65px;
    gap:14px
  }
  .mobile-menu {
    display:flex
  }
  .global-search {
    max-width:340px
  }
  .overview-grid {
    grid-template-columns:minmax(0,1fr) 270px
  }
  .metric-grid {
    gap:11px
  }
  .metric-comparison {
    font-size:9px
  }
  .lower-grid {
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)
  }
  .toast {
    left:50%
  }
  .workspace-footer {
    padding-left:25px;
    padding-right:25px
  }
}

@media(max-width:760px) {
  h1 {
    font-size:26px
  }
  .topbar {
    padding:0 14px;
    gap:7px
  }
  .global-search {
    width:36px;
    max-width:36px;
    min-width:36px;
    border:0;
    background:transparent;
    padding:0;
    justify-content:center;
    height:42px;
    flex:0
  }
  .global-search>span,.global-search kbd {
    display:none
  }
  .global-search>.icon {
    width:18px;
    height:18px
  }
  .topbar-tools {
    gap:5px
  }
  .market-picker {
    gap:4px
  }
  .market-picker>.icon:first-child {
    display:none
  }
  .market-picker select {
    max-width:190px;
    font-size:11px;
    padding-left:3px
  }
  .notification-button {
    margin-left:2px;
    min-width:34px
  }
  .avatar {
    width:29px;
    height:29px;
    min-width:29px;
    font-size:9px
  }
  .demo-banner {
    padding:10px 20px;
    font-size:10px;
    align-items:flex-start
  }
  .demo-banner>span {
    max-width:420px
  }
  .banner-divider {
    margin:0 6px
  }
  .demo-banner a {
    font-size:10px;
    min-height:24px
  }
  .demo-banner .text-link {
    font-size:10px
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
    margin-bottom:23px
  }
  .page-heading p {
    font-size:12px
  }
  .page-actions {
    gap:8px
  }
  .page-actions .button {
    min-height:42px;
    font-size:12px
  }
  .overview-toolbar {
    align-items:flex-start;
    gap:13px
  }
  .overview-toolbar>span {
    font-size:9px;
    text-align:right;
    max-width:170px
  }
  .overview-toolbar .dot-separator {
    display:none
  }
  .overview-toolbar>span {
    display:flex;
    flex-direction:column;
    gap:2px
  }
  .metric-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .metric {
    padding:18px;
    min-height:136px
  }
  .metric-value {
    font-size:27px
  }
  .metric>span:first-child {
    font-size:11px
  }
  .metric-comparison {
    font-size:9px
  }
  .overview-grid {
    grid-template-columns:minmax(0,1fr);
    gap:19px
  }
  .tasks-panel .task-list {
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:15px;
    padding:16px 20px
  }
  .task-row {
    flex-direction:column;
    align-items:flex-start;
    border-bottom:0;
    padding:0;
    gap:10px
  }
  .task-row>.icon {
    display:none
  }
  .task-icon {
    width:31px;
    height:31px
  }
  .quick-actions {
    border-top:1px solid #eee;
    display:flex;
    align-items:center;
    gap:8px;
    padding-top:14px
  }
  .quick-actions h3 {
    display:none
  }
  .quick-actions .button {
    min-height:40px;
    flex:1;
    font-size:11px
  }
  .lower-grid {
    grid-template-columns:1fr;
    gap:19px
  }
  .orders-table.compact .customer-cell,.orders-table.compact th:nth-child(2) {
    display:table-cell
  }
  .section-heading {
    padding-left:20px;
    padding-right:20px
  }
  .sales-chart {
    height:205px
  }
  .legend {
    gap:10px
  }
  .chart-meta {
    font-size:9px
  }
  .bestseller-row .rank {
    display:block
  }
  .bestseller-row {
    padding:14px 0;
    gap:12px
  }
  .bestseller-row strong {
    font-size:12px
  }
  .bestseller-row small {
    font-size:10px
  }
  .bestseller-row .product-photo {
    width:40px;
    height:47px
  }
  .bestseller-list {
    padding:0 20px 7px
  }
  .bestseller-row .sold-quantity {
    font-size:16px
  }
  .settings-grid {
    grid-template-columns:1fr
  }
  .workspace-footer {
    padding-left:22px;
    padding-right:22px
  }
  .location-bar {
    padding:16px;
    align-items:flex-start
  }
  .location-bar strong {
    font-size:13px
  }
  .location-bar span:not(.location-code) {
    font-size:10px
  }
  .list-toolbar {
    padding:15px 17px;
    gap:8px;
    flex-wrap:wrap
  }
  .search-field {
    min-width:0
  }
  .search-field input {
    font-size:16px
  }
  .search-field input::placeholder {
    font-size:12px
  }
  .clear-button {
    width:100%;
    margin-left:0;
    padding-top:6px
  }
  .list-tabs {
    padding:12px 13px 10px;
    gap:4px
  }
  .tab {
    font-size:11px;
    min-height:44px;
    padding:0 12px
  }
  .filter-button {
    min-width:44px;
    min-height:44px;
    font-size:11px
  }
  .field input,.field select,.field textarea {
    font-size:16px;
    min-height:46px
  }
  .field label {
    font-size:13px
  }
  .button.small {
    min-height:42px;
    font-size:11px
  }
  .icon-button {
    min-height:44px;
    min-width:44px
  }
  .market-picker select {
    min-height:44px
  }
  .select-wrap select {
    min-height:40px
  }
  .avatar {
    width:32px;
    height:32px
  }
  .search-dialog-top input {
    font-size:16px
  }
  .dialog-footer .button {
    min-height:44px
  }
  .search-dialog {
    margin-top:5dvh;
    max-height:85dvh
  }
  .search-results {
    max-height:66dvh
  }
  .nav-link {
    min-height:45px
  }
  .nav-modal {
    width:min(280px,calc(100vw - 60px))
  }
  .nav-close {
    right:-51px
  }
  .product-link .product-photo {
    width:37px;
    height:45px
  }
  .product-link {
    gap:10px
  }
  .product-link strong {
    font-size:12px
  }
  .product-link small {
    font-size:9px
  }
}

@media(max-width:560px) {
  main {
    padding:25px 18px 22px
  }
  .topbar {
    padding:0 9px;
    gap:3px
  }
  .mobile-menu {
    min-width:35px
  }
  .global-search {
    min-width:30px;
    width:30px;
    max-width:30px
  }
  .topbar-tools {
    gap:2px
  }
  .market-picker select {
    max-width:171px;
    font-size:10px
  }
  .market-picker>.icon:last-child {
    width:11px
  }
  .notification-button {
    min-width:32px;
    height:44px
  }
  .notification-button>.icon {
    width:17px
  }
  .notification-button i {
    top:12px;
    right:7px
  }
  .avatar {
    width:30px;
    height:30px;
    min-width:30px;
    font-size:9px;
    margin-left:4px
  }
  .demo-banner {
    padding:10px 18px
  }
  .demo-banner a {
    display:none
  }
  .demo-banner>span {
    font-size:9px;
    line-height:1.5
  }
  .banner-divider {
    margin:0 5px
  }
  .page-heading h1 {
    font-size:25px
  }
  .page-heading p {
    font-size:11px;
    line-height:1.6
  }
  .page-actions {
    width:100%
  }
  .page-actions .button {
    flex:1;
    font-size:11px;
    padding:0 11px
  }
  .page-actions .icon {
    width:14px
  }
  .overview-toolbar>span {
    max-width:146px;
    font-size:8px
  }
  .select-wrap {
    gap:6px;
    padding:0 8px
  }
  .select-wrap select {
    font-size:10px
  }
  .metric {
    padding:16px 14px;
    min-height:130px
  }
  .metric>span:first-child {
    font-size:10px
  }
  .metric-value {
    font-size:25px;
    margin-top:12px
  }
  .metric-value small {
    font-size:9px;
    margin-left:5px
  }
  .metric-comparison {
    font-size:8px;
    margin-top:10px
  }
  .metric-comparison>span:last-child {
    max-width:88px
  }
  .metric-comparison>.icon {
    width:11px
  }
  .chart-meta {
    padding-left:18px;
    padding-right:18px;
    font-size:8px;
    gap:7px
  }
  .legend {
    gap:9px
  }
  .legend-line {
    width:10px
  }
  .sales-chart {
    height:auto;
    min-height:154px
  }
  .sales-chart text {
    font-size:15px
  }
  .chart-wrapper {
    padding:15px 8px 12px
  }
  .chart-details summary {
    min-height:44px;
    display:flex;
    align-items:center;
    font-size:9px
  }
  .task-row strong {
    font-size:10px
  }
  .task-row small {
    font-size:9px
  }
  .tasks-panel .task-list {
    gap:12px;
    padding:16px 18px 20px
  }
  .task-icon {
    width:32px;
    height:32px
  }
  .quick-actions {
    padding:13px 18px 18px
  }
  .quick-actions .button {
    font-size:10px;
    min-height:44px
  }
  .section-heading h2 {
    font-size:12px
  }
  .section-heading {
    padding:18px 18px 0
  }
  .section-heading .text-link {
    font-size:10px;
    min-height:26px
  }
  .recent-panel .section-heading,.bestseller-panel .section-heading {
    padding-bottom:12px
  }
  .data-table.orders-table thead,.data-table.products-table thead,.data-table.inventory-table thead {
    display:none
  }
  .orders-table,.orders-table tbody,.products-table,.products-table tbody,.inventory-table,.inventory-table tbody {
    display:block
  }
  .orders-table tr {
    display:grid;
    grid-template-columns:1fr auto;
    padding:16px 18px;
    gap:7px 12px;
    border-top:1px solid #eee
  }
  .orders-table td {
    border:0;
    padding:0!important
  }
  .orders-table .order-link {
    font-size:12px;
    min-height:28px
  }
  .orders-table .cell-sub {
    font-size:9px
  }
  .orders-table .customer-cell {
    grid-row:2;
    grid-column:1;
    font-size:10px;
    color:#939393
  }
  .orders-table td:nth-child(3) {
    grid-row:1;
    grid-column:2;
    text-align:right;
    padding-top:4px!important
  }
  .orders-table td:nth-child(4) {
    grid-row:2;
    grid-column:2;
    font-size:12px!important;
    align-self:center
  }
  .compact .badge {
    font-size:9px
  }
  .product-link {
    max-width:100%;
    width:100%
  }
  .products-table tr {
    display:grid;
    grid-template-columns:1fr auto;
    padding:18px;
    gap:11px 9px;
    border-top:1px solid #eee
  }
  .products-table td {
    border:0;
    padding:0
  }
  .products-table td:first-child {
    grid-column:1/-1
  }
  .products-table td:nth-child(2) {
    grid-column:1;
    grid-row:2
  }
  .products-table td:nth-child(3) {
    grid-column:1;
    grid-row:3;
    font-size:11px;
    color:#828282
  }
  .products-table td:nth-child(4) {
    display:none
  }
  .products-table td:last-child {
    grid-column:2;
    grid-row:2/4;
    align-self:center;
    font-size:14px
  }
  .products-table td:nth-child(3):before {
    content:attr(data-label) ': ';
    font-size:10px;
    color:#999
  }
  .inventory-table tr {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px 10px;
    padding:18px;
    border-top:1px solid #eee
  }
  .inventory-table td {
    border:0;
    padding:0
  }
  .inventory-table td:first-child {
    grid-column:1/-1
  }
  .inventory-table td:nth-child(n+2):not(:last-child) {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    font-size:16px
  }
  .inventory-table td:nth-child(n+2):not(:last-child):before {
    content:attr(data-label);
    font-size:9px;
    color:#949494
  }
  .stock-amount {
    font-size:16px;
    min-width:0;
    line-height:1.5
  }
  .inventory-table .badge {
    font-size:8px;
    padding:2px 5px
  }
  .inventory-table .adjust-cell {
    grid-column:1/-1
  }
  .adjust-cell .button {
    width:100%;
    min-height:44px;
    font-size:11px
  }
  .product-link .product-photo {
    height:50px;
    width:40px
  }
  .product-link strong {
    font-size:12px
  }
  .product-link small {
    font-size:9px;
    overflow-wrap:anywhere
  }
  .location-bar {
    gap:10px;
    padding:14px
  }
  .location-bar>div {
    min-width:0
  }
  .location-bar strong {
    font-size:12px
  }
  .location-bar span:not(.location-code) {
    font-size:10px;
    line-height:1.5
  }
  .location-bar>.icon {
    width:18px;
    height:18px;
    margin-top:2px
  }
  .location-code {
    font-size:9px;
    padding:3px 6px
  }
  .list-toolbar {
    padding:13px 15px
  }
  .filter-button {
    font-size:0;
    gap:0;
    padding:0;
    width:44px
  }
  .filter-button>.icon {
    width:17px;
    height:17px
  }
  .filter-dot {
    margin-left:4px
  }
  .search-field {
    height:44px;
    padding-left:9px
  }
  .search-field input::placeholder {
    font-size:11px
  }
  .pagination {
    padding:12px 16px;
    font-size:9px
  }
  .pagination .icon-button {
    height:44px;
    min-width:44px
  }
  .pagination>div {
    gap:7px
  }
  .page-note {
    font-size:9px;
    line-height:1.6
  }
  .history-row {
    align-items:flex-start;
    gap:9px
  }
  .history-row>strong {
    font-size:12px
  }
  .history-row strong {
    font-size:11px
  }
  .history-row span {
    font-size:9px;
    line-height:1.6
  }
  .history-row>.icon {
    width:15px;
    height:15px;
    margin-top:2px
  }
  .future-panel {
    padding:70px 20px
  }
  .future-panel h2 {
    font-size:22px
  }
  .future-panel p {
    font-size:11px
  }
  .help-panel {
    padding:21px
  }
  .help-panel p {
    font-size:12px
  }
  .workspace-footer {
    padding:12px 18px 22px;
    font-size:8px;
    gap:8px
  }
  .workspace-footer select {
    font-size:9px;
    min-height:44px
  }
  .toast {
    bottom:17px;
    width:max-content;
    max-width:calc(100% - 30px);
    font-size:11px;
    padding:12px 16px
  }
  .dialog-heading {
    padding:21px 20px 17px
  }
  .dialog-heading h2 {
    font-size:18px
  }
  .dialog-heading p {
    font-size:11px;
    line-height:1.5
  }
  .dialog-body {
    padding:20px
  }
  .dialog-footer {
    padding:15px 20px
  }
  .dialog-footer>.button {
    font-size:11px;
    flex:1;
    padding:0 8px
  }
  .drawer-body {
    padding:20px
  }
  .adjust-product strong {
    font-size:11px
  }
  .adjust-product span {
    font-size:9px
  }
  .search-dialog-top {
    padding:10px 13px;
    gap:9px
  }
  .search-dialog-top input {
    font-size:16px
  }
  .search-dialog-top input::placeholder {
    font-size:12px
  }
  .search-result {
    gap:10px
  }
  .search-result>.badge {
    font-size:8px;
    padding:3px 4px
  }
  .search-result small {
    font-size:9px
  }
  .product-detail-hero .product-photo {
    width:95px;
    height:120px
  }
  .variant-list>div {
    gap:8px;
    flex-wrap:wrap
  }
  .variant-list>div>span:first-child {
    min-width:calc(100% - 90px)
  }
  .variant-list .button {
    width:100%
  }
  .detail-product {
    gap:10px
  }
  .detail-product>strong {
    font-size:11px
  }
  .detail-product>div>strong {
    font-size:11px
  }
  .skeleton-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .sk-heading {
    width:200px
  }
  .sk-chart {
    height:230px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}

/* Legibility and narrow-header refinements after the first local preview. */
.currency-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:31px
}

.cell-sub,.product-link small,.bestseller-row small,.task-row small,.page-note,.inline-note,.workspace-footer,.field small,.chart-meta,.legend,.overview-toolbar>span,.metric-comparison,.setting-location p,.search-intro p,.search-result small,.search-group-title,.variant-list small {
  color:#757575
}

.data-table thead,.pagination {
  color:#707070
}

.chart-point {
  vector-effect:non-scaling-stroke
}

@media(max-width:760px) {
  .market-picker select {
    max-width:148px
  }
  .currency-pill {
    font-size:8px;
    min-width:27px;
    padding:3px 4px;
    margin-left:3px
  }
  .topbar-tools {
    gap:3px
  }
}

@media(max-width:560px) {
  .market-picker select {
    max-width:135px
  }
  .topbar-tools {
    gap:1px
  }
  .overview-toolbar>span {
    line-height:1.6
  }
  .metric>span:first-child {
    font-size:11px
  }
  .page-heading p {
    font-size:12px
  }
  .search-field input::placeholder {
    font-size:12px
  }
}

@media(max-width:350px) {
  .market-picker select {
    max-width:97px
  }
  .notification-button {
    min-width:30px
  }
  .metric-value {
    font-size:22px
  }
  .metric-value small {
    font-size:8px
  }
  .metric {
    padding:15px 12px
  }
  .metric-grid {
    gap:9px
  }
  .metric-comparison {
    font-size:8px
  }
  .chart-meta {
    flex-wrap:wrap
  }
  .brand-wordmark {
    width:130px
  }
}

