.aea-content:has([data-aea-inventory]) > .aea-module { display: none !important; }
.aea-nav a[href="/products"],
.aea-nav a[href="/products/categories"],
.aea-nav a[href="/products/purchase"],
.aea-nav a[href="/aesthetic-admin/products"],
.aea-nav a[href="/aesthetic-admin/products/categories"],
.aea-nav a[href="/aesthetic-admin/products/purchase"] { display: none !important; }

.aea-inventory {
  --ink: #0f172a;
  --muted: #64748b;
  --teal: #0f766e;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 2px 28px;
}
.aea-invn-head, .aea-invn-top, .aea-invn-filters, .aea-invn-pager, .aea-invn-item, .aea-invn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aea-invn-head { justify-content: space-between; flex-wrap: wrap; }
.aea-invn-title { display: flex; flex-direction: column; }
.aea-invn-title h1 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.aea-invn-title p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.aea-invn-line, .aea-invn-go, .aea-invn-ghost, .aea-invn-tab {
  height: 36px; border-radius: 10px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 700 13px "DM Sans", sans-serif; cursor: pointer;
}
.aea-invn-line { border: 1px solid #e7eef2; background: #fff; color: #334155; }
.aea-invn-go { border: 0; background: var(--teal); color: #fff; }
.aea-invn-ghost { border: 1px solid #e7eef2; background: #fff; color: #334155; }
.aea-invn-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.aea-invn-kpi {
  background: #fff; border: 1px solid #eef3f6; border-radius: 16px; padding: 12px;
  display: flex; gap: 10px; align-items: center; min-width: 0;
}
.aea-invn-kpi b { display: block; font-size: 18px; letter-spacing: -0.03em; }
.aea-invn-kpi span { color: var(--muted); font-size: 12px; font-weight: 700; }
.aea-invn-ico { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.aea-invn-kpi.is-blue { background: #eff6ff; }
.aea-invn-kpi.is-blue .aea-invn-ico { background: #dbeafe; color: #1d4ed8; }
.aea-invn-kpi.is-green { background: #f0fdf4; }
.aea-invn-kpi.is-green .aea-invn-ico { background: #dcfce7; color: #15803d; }
.aea-invn-kpi.is-amber { background: #fffbeb; }
.aea-invn-kpi.is-amber .aea-invn-ico { background: #fef3c7; color: #b45309; }
.aea-invn-kpi.is-rose { background: #fff1f2; }
.aea-invn-kpi.is-rose .aea-invn-ico { background: #ffe4e6; color: #be123c; }
.aea-invn-kpi.is-violet { background: #f5f3ff; }
.aea-invn-kpi.is-violet .aea-invn-ico { background: #ede9fe; color: #6d28d9; }
.aea-invn-kpi.is-orange { background: #fff7ed; }
.aea-invn-kpi.is-orange .aea-invn-ico { background: #ffedd5; color: #c2410c; }

.aea-invn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.aea-invn-main, .aea-invn-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.aea-invn-card {
  background: #fff; border: 1px solid #eef3f6; border-radius: 18px; padding: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.aea-invn-card h2 { margin: 0; font-size: 16px; }
.aea-invn-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.aea-invn-tab { border: 0; background: transparent; color: #64748b; }
.aea-invn-tab.is-on { background: #042f2e; color: #fff; }
.aea-invn-filters { flex-wrap: wrap; }
.aea-invn-input, .aea-invn-select {
  height: 38px; border: 1px solid #e6edf2; border-radius: 10px; padding: 0 10px;
  font: 600 13px "DM Sans", sans-serif; color: var(--ink); background: #fff; box-sizing: border-box; min-width: 0;
}
.aea-invn-q { width: min(280px, 100%); flex: 1; }
.aea-invn-scroll { overflow-x: auto; }
.aea-inventory table { width: 100%; border-collapse: collapse; min-width: 0; table-layout: fixed; }
.aea-inventory th, .aea-inventory td {
  text-align: left; padding: 8px 5px; border-top: 1px solid #f1f5f9;
  font-size: 12px; white-space: nowrap; vertical-align: middle; overflow: hidden; text-overflow: ellipsis;
}
.aea-inventory th:nth-child(1), .aea-inventory td:nth-child(1) { width: 20%; white-space: normal; overflow: visible; }
.aea-inventory th:nth-child(11), .aea-inventory td:nth-child(11) { width: 96px; overflow: visible; }
.aea-inventory th { color: #94a3b8; font-size: 12px; font-weight: 700; }
.aea-invn-item small, .aea-invn-muted { color: var(--muted); font-size: 12px; font-weight: 600; }
.aea-invn-thumb {
  width: 34px; height: 34px; border-radius: 10px; background: #f8fafc; color: #64748b;
  display: grid; place-items: center; flex: none;
}
.aea-invn-cat { border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 800; }
.aea-invn-cat.is-injectable { background: #ede9fe; color: #6d28d9; }
.aea-invn-cat.is-peel { background: #dcfce7; color: #15803d; }
.aea-invn-cat.is-consumable { background: #dbeafe; color: #1d4ed8; }
.aea-invn-cat.is-kit { background: #f3e8ff; color: #7e22ce; }
.aea-invn-cat.is-skincare { background: #fce7f3; color: #be185d; }
.aea-invn-cat.is-device { background: #e2e8f0; color: #334155; }
.aea-invn-stock { font-weight: 800; }
.aea-invn-stock.is-ok { color: #15803d; }
.aea-invn-stock.is-hot { color: #e11d48; }
.aea-invn-status { border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 800; }
.aea-invn-status.is-in { background: #dcfce7; color: #15803d; }
.aea-invn-status.is-low { background: #fee2e2; color: #be123c; }
.aea-invn-status.is-near { background: #ffedd5; color: #c2410c; }
.aea-invn-status.is-expired { background: #ffe4e6; color: #9f1239; }
.aea-invn-iconbtn {
  width: 30px; height: 30px; border-radius: 9px; border: 1px solid #e7eef2; background: #fff;
  color: #475569; display: inline-grid; place-items: center; cursor: pointer;
}
.aea-invn-empty { text-align: center; color: var(--muted); padding: 22px !important; }
.aea-invn-pager { justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.aea-invn-pages { display: flex; gap: 4px; align-items: center; }
.aea-invn-pages button, .aea-invn-size {
  min-width: 32px; height: 32px; border-radius: 9px; border: 1px solid #e7eef2; background: #fff;
  font: 700 13px "DM Sans", sans-serif; cursor: pointer; color: #475569;
}
.aea-invn-pages button.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.aea-invn-size { padding: 0 8px; }
.aea-invn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.aea-invn-tile { border: 1px solid #eef3f6; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.aea-invn-side-head { display: flex; justify-content: space-between; align-items: center; }
.aea-invn-alert { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid #f1f5f9; font-size: 13px; }
.aea-invn-alert b.is-hot { color: #e11d48; }
.aea-invn-link { border: 0; background: transparent; color: var(--teal); font: 800 12px "DM Sans", sans-serif; cursor: pointer; padding: 8px 0 0; }
.aea-invn-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aea-invn-quick button { min-height: 64px; }
.aea-invn-field { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #475569; }
.aea-invn-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aea-invn-error { margin: 0; background: #fff1f2; color: #be123c; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 700; }
.aea-invn-shade { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.28); display: flex; z-index: 40; }
.aea-invn-modal, .aea-invn-drawer { background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.aea-invn-modal { width: min(520px, calc(100% - 32px)); margin: auto; border-radius: 18px; max-height: calc(100% - 32px); overflow: auto; }
.aea-invn-drawer { margin-left: auto; width: min(400px, 100%); height: 100%; overflow: auto; }
.aea-invn-modal h2, .aea-invn-drawer h2 { margin: 0; }
.aea-invn-view { border: 0; background: #f8fafc; border-radius: 10px; width: 34px; height: 34px; cursor: pointer; }

@media (max-width: 1200px) {
  .aea-invn-kpis, .aea-invn-layout, .aea-invn-form { grid-template-columns: 1fr; }
}
