.hd-home-redesigned {
  background: #fff;
  padding: 0 17px 24px;
}

.hd-home-redesigned > :not(.hd-home-v2) {
  display: none !important;
}

.hd-home-v2 {
  color: #0b1220;
  display: grid;
  gap: 12px;
}

.hd-home-v2 * {
  box-sizing: border-box;
}

.hd-home-v2 button {
  font: inherit;
}

.hd-home-status {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: .01em;
  padding: 2px 3px 6px;
}

.hd-home-status span:last-child {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.hd-signal {
  align-items: end;
  display: inline-flex;
  gap: 2px;
  height: 13px;
}

.hd-signal i {
  background: #0b1220;
  border-radius: 2px;
  display: block;
  width: 3px;
}

.hd-signal i:nth-child(1) { height: 5px; }
.hd-signal i:nth-child(2) { height: 8px; }
.hd-signal i:nth-child(3) { height: 11px; }

.hd-wifi {
  border: 3px solid #0b1220;
  border-bottom: 0;
  border-left-color: transparent;
  border-radius: 12px 12px 0 0;
  height: 10px;
  position: relative;
  width: 17px;
}

.hd-wifi:after {
  background: #0b1220;
  border-radius: 50%;
  bottom: -5px;
  content: "";
  height: 4px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 4px;
}

.hd-battery {
  border: 2px solid #0b1220;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1;
  padding: 2px 4px;
  position: relative;
}

.hd-battery:after {
  background: #0b1220;
  border-radius: 0 2px 2px 0;
  content: "";
  height: 7px;
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
}

.hd-home-head {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr) 46px;
  padding: 2px 1px 4px;
}

.hd-app-logo {
  background: linear-gradient(145deg, #0f6bff, #2563eb);
  border-radius: 14px;
  box-shadow: 0 9px 18px rgba(37, 99, 235, .24);
  color: #fff;
  display: grid;
  font-size: 19px;
  font-weight: 950;
  height: 42px;
  letter-spacing: -.08em;
  place-items: center;
  width: 42px;
}

.hd-home-head h1 {
  color: #0f2344;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.hd-home-head small {
  align-items: center;
  color: #374151;
  display: flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 7px;
}

.hd-home-bell {
  background: #fff;
  border-radius: 15px;
  color: #1f2937;
  display: grid;
  height: 44px;
  place-items: center;
  position: relative;
  width: 44px;
}

.hd-home-bell b {
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  min-width: 20px;
  padding: 3px 5px;
  position: absolute;
  right: 1px;
  top: 1px;
}

.hd-notification-wrap {
  position: relative;
}

.hd-notification-popover {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
  display: none;
  min-width: 295px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 30;
}

.hd-notification-popover.open {
  display: block;
}

.hd-notification-head {
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  display: flex;
  justify-content: space-between;
  padding: 12px 13px;
}

.hd-notification-head strong {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.hd-notification-head button {
  background: #f1f5f9;
  border-radius: 10px;
  color: #475467;
  display: grid;
  font-size: 19px;
  font-weight: 800;
  height: 30px;
  line-height: 1;
  place-items: center;
  width: 30px;
}

.hd-notification-list {
  display: grid;
  max-height: 340px;
  overflow: auto;
}

.hd-notification-row {
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.hd-notification-row:last-child {
  border-bottom: 0;
}

.hd-notification-icon {
  background: #e7f0ff;
  border-radius: 12px;
  color: #1262f4;
  display: grid;
  font-size: 15px;
  font-weight: 950;
  height: 38px;
  place-items: center;
  width: 38px;
}

.hd-notification-icon.stock {
  background: #fff1df;
  color: #f97316;
}

.hd-notification-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hd-notification-main strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-notification-main small,
.hd-notification-row time {
  color: #667085;
  font-size: 11px;
}

.hd-notification-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-notification-row time {
  max-width: 78px;
  text-align: right;
}

.hd-notification-empty {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  padding: 20px 12px;
  text-align: center;
}

.hd-revenue-panel {
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, .22), transparent 28%),
    linear-gradient(145deg, #0d62ff, #2367f2 55%, #0b5ae8);
  border-radius: 18px;
  box-shadow: 0 13px 28px rgba(37, 99, 235, .29);
  color: #fff;
  min-height: 214px;
  overflow: hidden;
  padding: 18px 15px;
  position: relative;
}

.hd-revenue-panel > span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  opacity: .92;
}

.hd-revenue-panel > strong {
  display: block;
  font-size: clamp(31px, 8vw, 42px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.05;
  margin-top: 12px;
}

.hd-profit-secret {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  display: inline-grid;
  gap: 8px;
  grid-template-columns: auto auto 34px;
  margin-top: 10px;
  max-width: 100%;
  padding: 7px 8px 7px 11px;
  position: relative;
  z-index: 2;
}

.hd-profit-secret span {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 700;
}

.hd-profit-secret b {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.hd-profit-secret button {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 0;
  border-radius: 10px;
  color: #fff;
  display: flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.hd-revenue-trend {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  max-width: 62%;
  position: relative;
  z-index: 2;
}

.hd-revenue-trend b {
  color: #9cff67;
  font-size: 15px;
}

.hd-revenue-trend.down b {
  color: #fecaca;
}

.hd-revenue-trend small {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  line-height: 1.35;
}

.hd-revenue-time {
  align-items: center;
  color: rgba(255, 255, 255, .9);
  display: flex;
  font-size: 12px;
  gap: 7px;
  margin-top: 13px;
  position: relative;
  z-index: 2;
}

.hd-chart-icon {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  display: grid;
  height: 46px;
  place-items: center;
  position: absolute;
  right: 15px;
  top: 16px;
  width: 46px;
}

.hd-chart {
  bottom: 0;
  height: 123px;
  opacity: .72;
  position: absolute;
  right: 10px;
  width: 164px;
}

.hd-chart .bar {
  background: rgba(255, 255, 255, .14);
  border-radius: 6px 6px 0 0;
  bottom: 0;
  position: absolute;
  width: 18px;
}

.hd-chart svg {
  bottom: 18px;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .16));
  left: 0;
  position: absolute;
}

.hd-periods {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 17px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px;
}

.hd-periods button {
  background: transparent;
  border-radius: 14px;
  color: #586174;
  min-height: 42px;
  padding: 0 4px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}

.hd-periods button.active {
  background: #1162f6;
  box-shadow: 0 7px 14px rgba(17, 98, 246, .25);
  color: #fff;
}

.hd-stat-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.hd-mini-stat {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: 0 9px 19px rgba(15, 23, 42, .07);
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 13px 10px;
}

.hd-mini-stat i {
  align-items: center;
  background: #dbeafe;
  border-radius: 18px;
  color: #1262f4;
  display: flex;
  font-style: normal;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.hd-mini-stat:nth-child(2) i {
  background: #dcfce7;
  color: #16a34a;
}

.hd-mini-stat:nth-child(3) i {
  background: #ffedd5;
  color: #f97316;
}

.hd-mini-stat span {
  color: #5d6678;
  font-size: 11px;
  font-weight: 700;
}

.hd-mini-stat strong {
  color: #050b16;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.035em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-mini-stat small {
  color: #667085;
  font-size: 10px;
  line-height: 1.35;
}

.hd-mini-stat small b {
  color: #16a34a;
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.hd-board {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: 0 9px 20px rgba(15, 23, 42, .07);
  padding: 14px 12px;
}

.hd-board-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hd-board-head h2 {
  color: #101828;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.hd-board-head button {
  background: transparent;
  color: #1262f4;
  font-size: 13px;
  font-weight: 800;
}

.hd-product-list,
.hd-activity-list {
  display: grid;
}

.hd-product-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 35px 44px minmax(0, 1fr) auto;
  padding: 7px 0;
}

.hd-rank {
  background: #e8f0ff;
  border-radius: 10px;
  color: #1262f4;
  display: grid;
  font-size: 15px;
  font-weight: 900;
  height: 35px;
  place-items: center;
  width: 35px;
}

.hd-product-row:nth-child(3) .hd-rank {
  background: #fff1df;
  color: #f97316;
}

.hd-product-row:nth-child(4) .hd-rank {
  background: #eef0f5;
  color: #667085;
}

.hd-thumb {
  background: #f1f5f9;
  border-radius: 10px;
  display: grid;
  height: 44px;
  place-items: center;
  width: 44px;
}

.hd-product-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.hd-product-main strong {
  color: #111827;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-progress {
  background: #e1e5ee;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.hd-progress i {
  background: linear-gradient(90deg, #1262f4, #0f6bff);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.hd-product-money {
  display: grid;
  gap: 3px;
  text-align: right;
}

.hd-product-money b {
  color: #1262f4;
  font-size: 15px;
  white-space: nowrap;
}

.hd-product-money small {
  color: #667085;
  font-size: 12px;
  white-space: nowrap;
}

.hd-activity-row {
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  display: grid;
  gap: 10px;
  grid-template-columns: 43px minmax(0, 1fr) auto 16px;
  min-height: 64px;
  padding: 8px 0;
}

.hd-activity-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hd-activity-icon {
  background: #e7f0ff;
  border-radius: 13px;
  color: #1262f4;
  display: grid;
  height: 43px;
  place-items: center;
  width: 43px;
}

.hd-activity-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hd-activity-main strong {
  color: #111827;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-activity-main small {
  color: #667085;
  font-size: 12px;
}

.hd-activity-money {
  display: grid;
  gap: 6px;
  text-align: right;
}

.hd-activity-money time {
  color: #667085;
  font-size: 12px;
}

.hd-activity-money b {
  color: #16a34a;
  font-size: 13px;
  white-space: nowrap;
}

.hd-empty {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  padding: 18px 6px;
  text-align: center;
}

.product-page .fab {
  align-items: center !important;
  background: #2563eb !important;
  border-radius: 999px !important;
  bottom: 86px !important;
  box-shadow: 0 14px 26px rgba(37, 99, 235, .34) !important;
  color: #fff !important;
  display: grid !important;
  height: 56px !important;
  justify-content: center !important;
  left: auto !important;
  padding: 0 !important;
  position: fixed !important;
  right: max(16px, calc(50% - 199px)) !important;
  width: 56px !important;
  z-index: 20 !important;
}

body:has(.sheet-layer) .product-page .fab {
  display: none !important;
}

.product-page .fab span {
  display: none !important;
}

.product-page .fab svg {
  height: 27px !important;
  width: 27px !important;
}

.product-page .product-row .add-item {
  display: none !important;
}

.product-page .product-info > small:last-child {
  display: none !important;
}

.product-info > small:first-of-type,
.product-detail-hero small {
  align-items: center;
  display: flex !important;
  gap: 7px;
}

.product-sku-color {
  background: var(--product-color, #fff);
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #ffffff80;
  display: inline-flex;
  flex: 0 0 auto;
  height: 11px;
  width: 11px;
}

.color-swatch-row button[style*="#FFFFFF"],
.color-swatch-row button[aria-label*="#FFFFFF"] {
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.color-swatch-row button[style*="#FFFFFF"].active,
.color-swatch-row button[aria-label*="#FFFFFF"].active {
  border-color: #0f172a !important;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #cbd5e1 !important;
}

.custom-color-picker {
  align-items: center;
  background: #eff6ff;
  border: 1px dashed #93c5fd;
  border-radius: 13px;
  color: #2563eb;
  cursor: pointer;
  display: grid;
  min-height: 44px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.custom-color-picker input {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.custom-color-picker span {
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.custom-color-picker.selected {
  background: var(--custom-product-color, #2563eb);
  border-color: #0f172a;
  box-shadow: inset 0 0 0 2px #ffffffd9;
}

.custom-color-picker.selected span {
  font-size: 0;
}

.custom-color-picker.selected span::after {
  color: #fff;
  content: "\2713";
  font-size: 18px;
  text-shadow: 0 1px 2px #0f172a;
}

.product-page .mini-tag,
.product-detail-hero .mini-tag {
  display: none !important;
}

.invoice-empty-state {
  align-items: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 17px;
  color: #64748b;
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 26px 14px;
  text-align: center;
}

.invoice-empty-state svg {
  color: #2563eb;
}

.invoice-empty-state strong {
  color: #0f172a;
  font-size: 14px;
}

.invoice-empty-state small {
  font-size: 11px;
  font-weight: 700;
}

.store-settings-active > :not(.detail-header):not(.store-settings-v2) {
  display: none !important;
}

.store-settings-v2 {
  display: grid;
  gap: 12px;
}

.store-settings-v2 * {
  box-sizing: border-box;
}

.store-toast {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
  padding: 11px 12px;
}

.store-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.store-card.hero {
  align-items: center;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.store-card.hero strong {
  color: #0f172a;
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.store-card.hero small,
.store-card-head small {
  color: #8a99ad;
  font-size: 11px;
  font-weight: 700;
}

.store-card.hero button,
.store-actions button {
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
  min-height: 42px;
  padding: 0 13px;
}

.store-card.hero button {
  background: #2563eb;
  color: #fff;
}

.store-hero-icon,
.store-card-head > span {
  background: #eff6ff;
  border-radius: 14px;
  color: #2563eb;
  display: grid;
  height: 46px;
  place-items: center;
  width: 46px;
}

.store-card-head {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
}

.store-card-head h2 {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.store-card-head b {
  border-radius: 999px;
  font-size: 10px;
  padding: 5px 8px;
  white-space: nowrap;
}

.status-on {
  background: #dcfce7;
  color: #15803d;
}

.status-off {
  background: #f1f5f9;
  color: #64748b;
}

.store-grid {
  display: grid;
  gap: 10px;
}

.store-field {
  display: grid;
  gap: 7px;
}

.store-field span,
.store-subtitle {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.store-field input,
.store-field select,
.store-field textarea {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 13px;
  color: #0f172a;
  min-height: 44px;
  outline: 0;
  padding: 0 12px;
  width: 100%;
}

.store-field textarea {
  min-height: 76px;
  padding: 10px 12px;
  resize: vertical;
}

.payment-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.payment-check,
.store-toggle {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  display: flex;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
}

.payment-check input {
  accent-color: #2563eb;
}

.payment-check span,
.store-toggle span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.store-toggle {
  justify-content: space-between;
}

.store-toggle input {
  display: none;
}

.store-toggle i {
  background: #cbd5e1;
  border-radius: 999px;
  height: 24px;
  position: relative;
  width: 43px;
}

.store-toggle i:after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .24);
  content: "";
  height: 20px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: .18s ease;
  width: 20px;
}

.store-toggle input:checked + i {
  background: #2563eb;
}

.store-toggle input:checked + i:after {
  left: 21px;
}

.store-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.store-actions .secondary {
  background: #eff6ff;
  color: #2563eb;
}

.receipt-preview-v2 {
  background: #f1f5f9;
  border-radius: 16px;
  display: grid;
  justify-items: center;
  padding: 14px;
}

.receipt-paper-v2 {
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
  color: #111827;
  display: grid;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  gap: 6px;
  padding: 14px;
  width: 100%;
}

.receipt-paper-v2.paper-58 {
  max-width: 235px;
}

.receipt-paper-v2.paper-80 {
  max-width: 310px;
}

.receipt-paper-v2 img {
  justify-self: center;
  max-height: 42px;
  max-width: 150px;
  object-fit: contain;
}

.receipt-paper-v2 strong,
.receipt-paper-v2 h3,
.receipt-paper-v2 p,
.receipt-paper-v2 small {
  text-align: center;
}

.receipt-paper-v2 h3 {
  font-size: 13px;
  margin: 4px 0;
}

.receipt-paper-v2 hr {
  border: 0;
  border-top: 1px dashed #94a3b8;
  width: 100%;
}

.receipt-paper-v2 span {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.receipt-paper-v2 span small {
  text-align: left;
}

.receipt-total {
  margin-top: 3px;
  text-align: right !important;
}

.users-management-active > :not(.detail-header):not(.users-v2) {
  display: none !important;
}

.users-v2 {
  display: grid;
  gap: 12px;
}

.users-v2 * {
  box-sizing: border-box;
}

.users-toast {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
  padding: 11px 12px;
}

.users-add-button {
  align-items: center;
  background: #2563eb;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(37, 99, 235, .24);
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.users-search {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 15px;
  color: #8a99ad;
  display: grid;
  gap: 8px;
  grid-template-columns: 20px minmax(0, 1fr);
  min-height: 46px;
  padding: 0 12px;
}

.users-search input {
  background: transparent;
  border: 0;
  color: #0f172a;
  outline: 0;
  width: 100%;
}

.users-stat-strip {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.users-stat-strip div {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.users-stat-strip div + div {
  border-left: 1px solid #e2e8f0;
}

.users-stat-strip span,
.user-section-title {
  color: #8a99ad;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.users-stat-strip strong {
  color: #0f172a;
  font-size: 16px;
  font-weight: 950;
}

.users-stat-strip div:nth-child(2) strong {
  color: #16a34a;
}

.users-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.users-filter-row::-webkit-scrollbar {
  display: none;
}

.users-filter-row button {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 13px;
  color: #64748b;
  flex: none;
  font-size: 12px;
  font-weight: 900;
  min-height: 44px;
  padding: 0 14px;
}

.users-filter-row button.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.users-list-v2 {
  display: grid;
  gap: 8px;
}

.user-row-v2 {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 17px;
  color: #0f172a;
  display: grid;
  gap: 10px;
  grid-template-columns: 46px minmax(0, 1fr) auto 14px;
  min-height: 60px;
  padding: 10px;
  text-align: left;
  width: 100%;
}

.user-avatar-v2 {
  background: #dbeafe;
  border-radius: 14px;
  color: #2563eb;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  height: 42px;
  place-items: center;
  width: 42px;
}

.user-main-v2,
.user-status-v2 {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.user-main-v2 strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-main-v2 small,
.user-status-v2 small,
.permission-summary-v2 small {
  color: #8a99ad;
  font-size: 11px;
  font-weight: 700;
}

.user-status-v2 {
  text-align: right;
}

.user-status-v2 b {
  color: #16a34a;
  font-size: 12px;
  white-space: nowrap;
}

.user-status-v2.locked b {
  color: #dc2626;
}

.user-chevron-v2 {
  color: #0f172a;
  font-size: 24px;
}

.permission-summary-v2 {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 17px;
  display: grid;
  gap: 11px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 13px;
}

.permission-summary-v2 > span {
  color: #2563eb;
}

.permission-summary-v2 strong {
  color: #0f172a;
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.users-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 17px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  padding: 22px;
  text-align: center;
}

.user-sheet-layer {
  inset: 0;
  position: fixed;
  z-index: 80;
}

.user-sheet-backdrop {
  background: rgba(15, 23, 42, .38);
  inset: 0;
  position: absolute;
  width: 100%;
}

.user-sheet {
  background: #fff;
  border-radius: 24px 24px 0 0;
  bottom: 0;
  display: grid;
  gap: 13px;
  left: 50%;
  max-height: 88dvh;
  overflow: auto;
  padding: 18px 16px 20px;
  position: absolute;
  transform: translateX(-50%);
  width: min(100%, 430px);
}

.user-sheet-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.user-sheet-head h2 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.user-sheet-head small {
  color: #8a99ad;
  font-size: 11px;
  font-weight: 700;
}

.user-sheet-head button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  color: #334155;
  display: grid;
  height: 42px;
  place-items: center;
  width: 42px;
}

.user-editor-grid {
  display: grid;
  gap: 10px;
}

.user-field {
  display: grid;
  gap: 7px;
}

.user-field span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.user-field input,
.user-field select {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 13px;
  color: #0f172a;
  min-height: 44px;
  outline: 0;
  padding: 0 12px;
}

.user-permission-grid {
  display: grid;
  gap: 8px;
}

.user-permission-check {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: grid;
  gap: 3px;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 10px;
}

.user-permission-check input {
  accent-color: #2563eb;
  grid-row: span 2;
  margin-top: 3px;
}

.user-permission-check span {
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.user-permission-check small {
  color: #8a99ad;
  font-size: 10px;
  font-weight: 700;
}

.user-permission-check.checked {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.user-sheet-actions {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr 1fr;
}

.user-sheet-actions button,
.user-confirm button {
  align-items: center;
  border-radius: 13px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  justify-content: center;
  min-height: 44px;
}

.user-sheet-actions .primary {
  background: #2563eb;
  color: #fff;
}

.user-sheet-actions .danger,
.user-confirm .danger {
  background: #fef2f2;
  color: #dc2626;
}

.user-confirm {
  background: #fff;
  border-radius: 20px;
  display: grid;
  gap: 10px;
  left: 50%;
  padding: 18px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 360px);
}

.user-confirm strong {
  color: #0f172a;
  font-size: 16px;
}

.user-confirm small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.user-confirm div {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.user-confirm button:first-child {
  background: #f1f5f9;
  color: #334155;
}

.more-page .account-card {
  display: none !important;
}

.product-image-field {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 12px;
}

.product-image-preview {
  background: #eff6ff;
  border: 1px dashed #bfdbfe;
  border-radius: 15px;
  color: #2563eb;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  height: 76px;
  overflow: hidden;
  place-items: center;
  width: 76px;
}

.product-image-preview img,
.product-visual.has-product-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-image-preview.has-image {
  border-style: solid;
}

.product-image-actions {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.product-image-actions strong {
  color: #0f172a;
  font-size: 13px;
}

.product-image-actions small {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.product-image-actions label,
.product-image-actions button {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  width: fit-content;
}

.product-image-actions label {
  background: #2563eb;
  color: #fff;
}

.product-image-actions label input {
  display: none;
}

.product-image-actions button {
  background: #fef2f2;
  color: #dc2626;
}

.product-visual.has-product-photo {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0;
}

.product-visual.has-product-photo i,
.product-visual.has-product-photo b {
  display: none !important;
}

.cart-line .product-visual.has-product-photo {
  border-radius: 12px !important;
  height: 43px !important;
  width: 43px !important;
}

.sale-page .pos-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 1fr !important;
  padding-bottom: 24px !important;
}

.sale-page .pos-product-card {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 17px !important;
  display: grid !important;
  gap: 5px 12px !important;
  grid-template-columns: 64px minmax(0, 1fr) 38px !important;
  grid-template-rows: auto auto auto !important;
  min-height: 88px !important;
  padding: 9px !important;
  position: relative !important;
}

.sale-page .pos-product-card .product-visual {
  border-radius: 14px !important;
  grid-row: 1 / span 3 !important;
  height: 64px !important;
  width: 64px !important;
}

.sale-page .pos-product-card .product-visual.large {
  height: 64px !important;
  width: 64px !important;
}

.sale-page .pos-product-card .product-visual i {
  border-radius: 10px !important;
  height: 72% !important;
  width: 42% !important;
}

.sale-page .pos-product-card > strong {
  align-self: end !important;
  font-size: 12px !important;
  height: auto !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
  padding-right: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.sale-page .pos-product-card .pos-product-sub {
  align-items: center !important;
  align-self: center !important;
  color: #8a99ad !important;
  display: flex !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  gap: 4px !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.sale-page .pos-product-card .sale-product-color {
  font-size: 8px !important;
  min-height: 16px !important;
  padding: 3px 6px !important;
}

.sale-page .pos-product-card > small {
  align-self: start !important;
  color: #2563eb !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.sale-page .pos-product-card .product-add-circle {
  align-self: center !important;
  background: #eff6ff !important;
  border-radius: 13px !important;
  color: #2563eb !important;
  grid-column: 3 !important;
  grid-row: 1 / span 3 !important;
  height: 38px !important;
  justify-self: end !important;
  position: static !important;
  width: 38px !important;
}

.sale-page .pos-product-card .stock-badge {
  display: none !important;
}

.invoice-print-message {
  border-radius: 12px;
  display: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: -6px 0 10px;
  padding: 10px 12px;
}

.invoice-print-message.info,
.invoice-print-message.success,
.invoice-print-message.error {
  display: block;
}

.invoice-print-message.info {
  background: #eff6ff;
  color: #2563eb;
}

.invoice-print-message.success {
  background: #ecfdf5;
  color: #059669;
}

.invoice-print-message.error {
  background: #fef2f2;
  color: #dc2626;
}

.inventory-table {
  gap: 10px !important;
}

.page:has(.inventory-hero) .fab {
  display: none !important;
}

.inventory-row {
  align-items: center !important;
  column-gap: 10px !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) 17px !important;
  grid-template-rows: auto !important;
  min-height: 78px !important;
  padding: 10px !important;
}

.inventory-row .product-visual,
.inventory-row > .product-visual {
  grid-column: 1 !important;
  grid-row: 1 !important;
  height: 52px !important;
  width: 52px !important;
}

.inventory-row > span:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

.inventory-row > span:nth-of-type(3) {
  display: none !important;
}

.inventory-row > span:nth-of-type(4) {
  display: none !important;
}

.inventory-row > svg {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
}

.inventory-row strong {
  overflow-wrap: normal !important;
  text-wrap: nowrap !important;
}

.inventory-row > span:nth-of-type(2) strong,
.inventory-row > span:nth-of-type(2) small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.inventory-row > span:nth-of-type(2) strong {
  font-size: 12px !important;
  margin-bottom: 4px !important;
}

.inventory-row > span:nth-of-type(2) small {
  color: #64748b !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

.inventory-category-list .report-bar > div {
  display: flex !important;
  gap: 12px !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

.inventory-category-list .report-bar span {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.inventory-category-list .report-bar b {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.product-sku-color.product-sku-color-text {
  background: #f1f5f9 !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #475569 !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  height: auto !important;
  line-height: 1 !important;
  min-height: 18px !important;
  padding: 4px 7px !important;
  width: auto !important;
}

.success-actions {
  flex-wrap: wrap;
}

.success-actions .invoice-print-message {
  flex: 0 0 100%;
  margin: 0;
  order: 3;
}

.bill-success-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(72px, .68fr);
  gap: 9px;
}

.bill-success-actions > button {
  min-width: 0;
  width: 100%;
}

.bill-success-actions .bill-close-button {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  display: inline-flex;
  font-weight: 800;
  gap: 5px;
  justify-content: center;
  padding-inline: 9px;
}

.bill-success-actions .bill-close-button svg {
  flex: 0 0 auto;
}

.bill-success-actions .invoice-print-message {
  grid-column: 1 / -1;
  order: initial;
}

.revenue-report-active > :not(.detail-header):not(.revenue-report-v2) {
  display: none !important;
}

.revenue-report-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-bottom: 20px;
}

.revenue-report-v2 .sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.rr-period {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #475569;
  display: flex;
  gap: 9px;
  height: 44px;
  padding: 0 12px;
  position: relative;
}

.rr-period select {
  cursor: pointer;
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.rr-period-label {
  color: #334155;
  flex: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.rr-period::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: '';
  height: 7px;
  margin-top: -4px;
  transform: rotate(45deg);
  width: 7px;
}

.rr-tabs {
  background: #e8edf4;
  border-radius: 8px;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 44px;
  padding: 3px;
}

.rr-tabs button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #64748b;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 5px;
  justify-content: center;
  min-width: 0;
  padding: 0 5px;
  white-space: nowrap;
}

.rr-tabs button svg {
  flex: 0 0 auto;
}

.rr-tabs button.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
  color: #1d4ed8;
}

.rr-summary {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(56px, .6fr);
  padding: 13px 10px;
}

.rr-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0 9px;
}

.rr-summary > div + div {
  border-left: 1px solid #e2e8f0;
}

.rr-summary span {
  color: #94a3b8;
  font-size: 9px;
  letter-spacing: 0;
  white-space: nowrap;
}

.rr-summary strong {
  color: #0f172a;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.rr-summary-revenue strong {
  color: #1d4ed8;
  font-size: 16px;
}

.rr-summary strong.profit,
.rr-row-money small {
  color: #15803d;
}

.rr-summary strong.negative,
.rr-row-money small.negative {
  color: #dc2626;
}

.rr-section-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 4px;
}

.rr-section-head h2 {
  color: #0f172a;
  font-size: 13px;
  letter-spacing: 0;
}

.rr-section-head span {
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.rr-list {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  overflow: hidden;
}

.rr-row {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 34px minmax(0, 1fr) minmax(82px, auto);
  min-height: 75px;
  padding: 10px;
}

.rr-row + .rr-row {
  border-top: 1px solid #edf1f6;
}

.rr-rank {
  align-items: center;
  background: #dbeafe;
  border-radius: 7px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.rr-row-employees .rr-rank {
  background: #ccfbf1;
  color: #0f766e;
}

.rr-row-categories .rr-rank {
  background: #fef3c7;
  color: #b45309;
}

.rr-row-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rr-row-main strong {
  color: #0f172a;
  font-size: 11px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rr-row-main small {
  color: #64748b;
  font-size: 9px;
  line-height: 1.35;
}

.rr-bar {
  background: #e8edf4;
  border-radius: 99px;
  display: block;
  height: 4px;
  margin-top: 3px;
  overflow: hidden;
  width: 100%;
}

.rr-bar i {
  background: #2563eb;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.rr-row-employees .rr-bar i {
  background: #0d9488;
}

.rr-row-categories .rr-bar i {
  background: #f59e0b;
}

.rr-row-money {
  align-items: end;
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.rr-row-money strong {
  color: #0f172a;
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

.rr-row-money small {
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.rr-employee-categories {
  border-top: 1px dashed #cbd5e1;
  display: grid;
  gap: 6px;
  grid-column: 2 / -1;
  margin-top: 3px;
  padding-top: 8px;
}

.rr-employee-category {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.rr-employee-category > span {
  align-items: center;
  color: #475569;
  display: inline-flex;
  gap: 6px;
  min-width: 0;
}

.rr-employee-category i {
  background: #0d9488;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

.rr-employee-category b {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rr-employee-category strong {
  color: #0f766e;
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: 0;
  white-space: nowrap;
}

.rr-employee-categories.empty {
  color: #94a3b8;
  font-size: 9px;
}

.rr-empty {
  color: #94a3b8;
  font-size: 10px;
  padding: 42px 20px;
  text-align: center;
}

@media (max-width: 360px) {
  .rr-tabs button {
    font-size: 9px;
    gap: 3px;
  }

  .rr-tabs button svg {
    height: 14px;
    width: 14px;
  }

  .rr-summary {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 52px;
    padding-inline: 5px;
  }

  .rr-summary > div {
    padding-inline: 6px;
  }

  .rr-summary strong,
  .rr-summary-revenue strong {
    font-size: 12px;
  }

  .rr-row {
    gap: 7px;
    grid-template-columns: 32px minmax(0, 1fr) minmax(72px, auto);
    padding-inline: 8px;
  }

  .rr-rank {
    height: 32px;
    width: 32px;
  }

  .rr-row-money strong {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .bill-success-actions {
    grid-template-columns: minmax(0, 1fr) 88px;
  }

  .bill-success-actions > button:first-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .hd-home-v2 {
    gap: 10px;
  }

  .hd-home-head h1 {
    font-size: 19px;
  }

  .hd-revenue-panel {
    min-height: 224px;
  }

  .hd-stat-row {
    gap: 8px;
  }

  .hd-mini-stat {
    padding: 11px 8px;
  }

  .hd-mini-stat i {
    height: 38px;
    width: 38px;
  }

  .hd-mini-stat strong {
    font-size: 14px;
  }

  .hd-periods button {
    font-size: 10px;
  }
}
