#overview-view .stock-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: 32px;
  overflow: hidden;
  min-height: 255px;
  padding: 32px 38px;
  border-radius: 26px;
  background: radial-gradient(circle at 90% 0%, #ad7aff80 0, transparent 35%), linear-gradient(115deg, #29125f, #5820c4 60%, #7e42ef);
  color: #fff;
  box-shadow: 0 22px 42px #4a1baf2b;
}
#overview-view .stock-hero::after {
  position: absolute;
  right: -95px;
  bottom: -140px;
  width: 390px;
  height: 390px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #ffffff09, 0 0 0 75px #ffffff07;
  content: '';
  pointer-events: none;
}
#overview-view .stock-hero-main, #overview-view .stock-hero-side { position: relative; z-index: 1; }
#overview-view .stock-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #ffffff44;
  border-radius: 999px;
  background: #ffffff14;
  color: #f1eaff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
#overview-view .stock-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #8dffcf; box-shadow: 0 0 0 4px #8dffcf27; }
#overview-view .stock-hero h2 { margin: 18px 0 3px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
#overview-view .stock-hero-number { font-size: clamp(64px, 7vw, 90px); font-weight: 850; line-height: 1.02; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
#overview-view .stock-hero p { margin: 10px 0 0; color: #e8dcff; font-size: 13px; line-height: 1.5; }
#overview-view .stock-hero-side { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 10px; }
#overview-view .stock-hero-side div { display: grid; gap: 6px; min-width: 0; padding: 17px 19px; border: 1px solid #ffffff30; border-radius: 17px; background: #ffffff17; backdrop-filter: blur(10px); }
#overview-view .stock-hero-side div:last-child { grid-column: 1 / -1; }
#overview-view .stock-hero-side span { color: #e9deff; font-size: 11px; font-weight: 700; }
#overview-view .stock-hero-side strong { font-size: 26px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

#overview-view .stock-inventory { margin-top: 18px; padding: 25px; background: #fff; }
#overview-view .stock-inventory-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
#overview-view .stock-inventory-head h2 { margin: 5px 0 5px; font-size: 23px; letter-spacing: -.04em; }
#overview-view .stock-inventory-head p { margin: 0; color: var(--muted); font-size: 12px; }
#overview-view .stock-inventory-total { display: grid; gap: 3px; min-width: 118px; padding: 11px 15px; border: 1px solid #e9def8; border-radius: 13px; background: #f8f5ff; text-align: right; }
#overview-view .stock-inventory-total span { color: #796d91; font-size: 11px; font-weight: 700; }
#overview-view .stock-inventory-total strong { color: #5723c5; font-size: 22px; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
#overview-view .stock-inventory-total small { color: #9285a6; font-size: 9px; line-height: 1.25; }
#overview-view .stock-category-grid { display: flex; gap: 8px; overflow-x: auto; padding: 19px 0 14px; scrollbar-width: thin; }
#overview-view .stock-category { display: inline-flex; flex: none; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #e5def0; border-radius: 11px; background: #fff; color: #655a77; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
#overview-view .stock-category strong { min-width: 20px; padding: 3px 6px; border-radius: 7px; background: #f1ebfb; color: #6537c1; font-size: 11px; font-variant-numeric: tabular-nums; }
#overview-view .stock-category:hover { border-color: #a978ed; }
#overview-view .stock-category.selected { border-color: #6630d4; background: #6630d4; color: #fff; }
#overview-view .stock-category.selected strong { background: #ffffff30; color: #fff; }
#overview-view .stock-category:focus-visible { outline: 3px solid #b387ff; outline-offset: 2px; }
#overview-view .stock-product-list { display: grid; gap: 8px; }
#overview-view .stock-product-row { display: flex; align-items: center; gap: 15px; min-width: 0; padding: 14px 16px; border: 1px solid #ece7f5; border-radius: 14px; background: #fcfbff; }
#overview-view .stock-product-mark { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #f0e8ff, #e5d9ff); color: #6832d8; font-size: 11px; font-weight: 850; letter-spacing: .03em; }
#overview-view .stock-product-main { flex: 1; min-width: 0; }
#overview-view .stock-product-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
#overview-view .stock-product-title strong { min-width: 0; color: #211831; font-size: 13px; }
#overview-view .stock-product-category { color: #8f80a8; font-size: 11px; }
#overview-view .stock-product-details { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; color: #857997; font-size: 11px; }
#overview-view .stock-product-details span:first-child { color: #5d4790; font-weight: 750; }
#overview-view .stock-product-track { height: 4px; overflow: hidden; margin-top: 9px; border-radius: 99px; background: #ece7f5; }
#overview-view .stock-product-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9c58f7, #6130e7); }
#overview-view .stock-product-count { display: grid; flex: none; justify-items: end; min-width: 78px; }
#overview-view .stock-product-count strong { color: #2d1765; font-size: 23px; line-height: 1; font-weight: 850; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
#overview-view .stock-product-count span { margin-top: 5px; color: #8e819f; font-size: 10px; }
#overview-view .stock-empty { padding: 30px 12px; color: var(--muted); text-align: center; font-size: 13px; }
#overview-view .overview-section-heading { margin: 27px 0 12px; }
#overview-view .overview-section-heading h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.04em; }
#overview-view .stats-grid { margin: 0 0 18px; }
#overview-view .stat-card { min-height: 118px; background: #fff; }

@media (max-width: 850px) {
  #overview-view .stock-hero { grid-template-columns: 1fr; gap: 20px; }
  #overview-view .stock-hero-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #overview-view .stock-hero-side div:last-child { grid-column: auto; }
}
@media (max-width: 600px) {
  #overview-view .stock-hero { padding: 24px 22px; border-radius: 20px; }
  #overview-view .stock-hero h2 { font-size: 23px; }
  #overview-view .stock-hero-side { gap: 7px; }
  #overview-view .stock-hero-side div { padding: 11px 9px; }
  #overview-view .stock-hero-side span { overflow-wrap: anywhere; font-size: 10px; }
  #overview-view .stock-hero-side strong { font-size: 20px; }
  #overview-view .stock-inventory { padding: 17px 13px; }
  #overview-view .stock-inventory-head h2 { font-size: 20px; }
  #overview-view .stock-inventory-total { min-width: 92px; padding: 9px; }
  #overview-view .stock-inventory-total strong { font-size: 18px; }
  #overview-view .stock-product-row { gap: 10px; padding: 12px 10px; }
  #overview-view .stock-product-mark { width: 34px; height: 34px; font-size: 9px; }
  #overview-view .stock-product-details { gap: 3px 9px; font-size: 10px; }
  #overview-view .stock-product-count { min-width: 52px; }
  #overview-view .stock-product-count strong { font-size: 20px; }
}
