:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: rgba(148, 163, 184, 0.28);
  --text: #172033;
  --muted: #50607a;
  --accent: #0f766e;
  --accent-soft: #dffaf7;
  --premium-1: #0f172a;
  --premium-2: #0ea5e9;
  --premium-3: #14b8a6;
  --premium-4: #8b5cf6;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #ffedd5;
  --danger: #be123c;
  --danger-soft: #ffe4e6;
  --shadow-soft: 0 14px 32px rgba(24, 32, 46, 0.08);
  --shadow-card: 0 18px 34px rgba(15, 23, 42, 0.12);
}

/* Drive folder navigation */
.drive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.2em;
}

body[data-dashboard-warehouse="Triatra"] button,
body[data-over-warehouse="Triatra"] button,
body[data-kalog-warehouse="Triatra"] button {
  background: linear-gradient(135deg, #f4a261, #de7b3d);
  box-shadow: 0 6px 14px rgba(194, 65, 12, 0.18);
}

body[data-dashboard-warehouse="Triatra"] button:hover,
body[data-over-warehouse="Triatra"] button:hover,
body[data-kalog-warehouse="Triatra"] button:hover {
  filter: brightness(1.02);
}

body[data-dashboard-warehouse="Triatra"] .secondary-btn,
body[data-over-warehouse="Triatra"] .secondary-btn,
body[data-kalog-warehouse="Triatra"] .secondary-btn {
  background: rgba(255, 247, 238, 0.96);
  color: #9a3412;
  border: 1px solid rgba(194, 65, 12, 0.44);
  box-shadow: none;
}

body[data-dashboard-warehouse="Triatra"] .secondary-btn:hover,
body[data-over-warehouse="Triatra"] .secondary-btn:hover,
body[data-kalog-warehouse="Triatra"] .secondary-btn:hover {
  background: #ffedd5;
  filter: none;
}

body[data-dashboard-warehouse="Triatra"] .warehouse-logo,
body[data-over-warehouse="Triatra"] .warehouse-logo,
body[data-kalog-warehouse="Triatra"] .warehouse-logo {
  border: 1px solid rgba(194, 65, 12, 0.28);
  background: linear-gradient(
    135deg,
    rgba(251, 146, 60, 0.18),
    rgba(194, 65, 12, 0.1)
  );
}

body[data-dashboard-warehouse="Triatra"] .warehouse-logo-mark,
body[data-over-warehouse="Triatra"] .warehouse-logo-mark,
body[data-kalog-warehouse="Triatra"] .warehouse-logo-mark {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  box-shadow: 0 6px 14px rgba(194, 65, 12, 0.25);
}

body[data-dashboard-warehouse="Triatra"] .warehouse-logo-text,
body[data-over-warehouse="Triatra"] .warehouse-logo-text,
body[data-kalog-warehouse="Triatra"] .warehouse-logo-text {
  color: #9a3412;
}

body[data-dashboard-warehouse="Triatra"] .kpi-grid,
body[data-over-warehouse="Triatra"] .kpi-grid,
body[data-kalog-warehouse="Triatra"] .kpi-grid {
  margin-bottom: 1rem;
}

body[data-dashboard-warehouse="Triatra"] .kpi-card,
body[data-over-warehouse="Triatra"] .kpi-card,
body[data-kalog-warehouse="Triatra"] .kpi-card {
  border: 1px solid rgba(194, 65, 12, 0.16);
}

body[data-dashboard-warehouse="Triatra"] .panel,
body[data-over-warehouse="Triatra"] .panel,
body[data-kalog-warehouse="Triatra"] .panel {
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(194, 65, 12, 0.16);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.96),
    rgba(255, 247, 236, 0.92)
  );
  box-shadow: 0 18px 42px rgba(194, 65, 12, 0.08);
}

body[data-dashboard-warehouse="Triatra"] .form-panel,
body[data-over-warehouse="Triatra"] .form-panel,
body[data-kalog-warehouse="Triatra"] .form-panel {
  margin-bottom: 1rem;
}

body[data-dashboard-warehouse="Triatra"] .panel-head,
body[data-over-warehouse="Triatra"] .panel-head,
body[data-kalog-warehouse="Triatra"] .panel-head {
  margin-bottom: 0.9rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(194, 65, 12, 0.12);
}

body[data-dashboard-warehouse="Triatra"] .panel-head h2,
body[data-over-warehouse="Triatra"] .panel-head h2,
body[data-kalog-warehouse="Triatra"] .panel-head h2 {
  font-size: 1.18rem;
  color: #7c2d12;
}

body[data-dashboard-warehouse="Triatra"] .panel-head #updatedAt,
body[data-over-warehouse="Triatra"] .panel-head #updatedAt,
body[data-kalog-warehouse="Triatra"] .panel-head #updatedAt {
  font-size: 0.84rem;
}

body[data-dashboard-warehouse="Triatra"] .bulk-tools,
body[data-over-warehouse="Triatra"] .bulk-tools,
body[data-kalog-warehouse="Triatra"] .bulk-tools {
  margin-bottom: 1rem;
}

body[data-dashboard-warehouse="Triatra"] .bulk-import-form,
body[data-over-warehouse="Triatra"] .bulk-import-form,
body[data-kalog-warehouse="Triatra"] .bulk-import-form {
  gap: 0.85rem;
}

body[data-dashboard-warehouse="Triatra"] .bulk-import-form label,
body[data-dashboard-warehouse="Triatra"] .inline-toolbar label,
body[data-over-warehouse="Triatra"] .bulk-import-form label,
body[data-over-warehouse="Triatra"] .inline-toolbar label,
body[data-kalog-warehouse="Triatra"] .bulk-import-form label,
body[data-kalog-warehouse="Triatra"] .inline-toolbar label {
  gap: 0.28rem;
  font-size: 0.84rem;
  color: #6b3a12;
}

body[data-dashboard-warehouse="Triatra"] .bulk-import-form input,
body[data-dashboard-warehouse="Triatra"] .inline-toolbar input,
body[data-dashboard-warehouse="Triatra"] .inline-toolbar select,
body[data-over-warehouse="Triatra"] .bulk-import-form input,
body[data-over-warehouse="Triatra"] .inline-toolbar input,
body[data-over-warehouse="Triatra"] .inline-toolbar select,
body[data-kalog-warehouse="Triatra"] .bulk-import-form input,
body[data-kalog-warehouse="Triatra"] .inline-toolbar input,
body[data-kalog-warehouse="Triatra"] .inline-toolbar select {
  border: 1px solid rgba(194, 65, 12, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body[data-dashboard-warehouse="Triatra"] .inline-toolbar,
body[data-over-warehouse="Triatra"] .inline-toolbar,
body[data-kalog-warehouse="Triatra"] .inline-toolbar {
  display: inline-flex;
  align-items: end;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(194, 65, 12, 0.14);
  border-radius: 14px;
  background: rgba(255, 249, 243, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body[data-dashboard-warehouse="Triatra"] .compact-toolbar,
body[data-over-warehouse="Triatra"] .compact-toolbar,
body[data-kalog-warehouse="Triatra"] .compact-toolbar {
  flex-wrap: wrap;
}

body[data-dashboard-warehouse="Triatra"] .table-wrap,
body[data-over-warehouse="Triatra"] .table-wrap,
body[data-kalog-warehouse="Triatra"] .table-wrap {
  max-height: 72vh;
  border-radius: 16px;
  border: 1px solid rgba(194, 65, 12, 0.12);
  box-shadow: 0 14px 32px rgba(24, 32, 46, 0.06);
}

body[data-dashboard-warehouse="Triatra"] .dashboard-table,
body[data-over-warehouse="Triatra"] .dashboard-table,
body[data-kalog-warehouse="Triatra"] .dashboard-table {
  min-width: 1320px;
}

body[data-dashboard-warehouse="Triatra"] .dashboard-table tbody tr:hover,
body[data-over-warehouse="Triatra"] .dashboard-table tbody tr:hover,
body[data-kalog-warehouse="Triatra"] .dashboard-table tbody tr:hover {
  background: rgba(255, 247, 238, 0.88);
}

body[data-dashboard-warehouse="Triatra"] .dashboard-table td,
body[data-dashboard-warehouse="Triatra"] .dashboard-table th,
body[data-over-warehouse="Triatra"] .dashboard-table td,
body[data-over-warehouse="Triatra"] .dashboard-table th,
body[data-kalog-warehouse="Triatra"] .dashboard-table td,
body[data-kalog-warehouse="Triatra"] .dashboard-table th {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

body[data-dashboard-warehouse="Triatra"] .imported-badge,
body[data-over-warehouse="Triatra"] .imported-badge,
body[data-kalog-warehouse="Triatra"] .imported-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.34rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid rgba(194, 65, 12, 0.22);
}

body[data-dashboard-warehouse="Patria"],
body[data-over-warehouse="Patria"],
body[data-kalog-warehouse="Patria"],
body[data-over-location-warehouse="Patria"] {
  --bg: #fff1f2;
  --surface: rgba(255, 246, 248, 0.92);
  --surface-strong: #fff7f8;
  --line: #f3c3cb;
  --accent: #b91c1c;
  --accent-soft: #ffe4e6;
  --warn: #be123c;
  --warn-soft: #ffe4e6;
  --danger: #991b1b;
  --danger-soft: #fee2e2;
}

body[data-dashboard-warehouse="Patria"],
body[data-over-warehouse="Patria"],
body[data-kalog-warehouse="Patria"],
body[data-over-location-warehouse="Patria"] {
  background: var(--bg);
}

body[data-dashboard-warehouse="Patria"] .bg-layer,
body[data-over-warehouse="Patria"] .bg-layer,
body[data-kalog-warehouse="Patria"] .bg-layer,
body[data-over-location-warehouse="Patria"] .bg-layer {
  background: rgba(248, 113, 113, 0.2);
}

body[data-dashboard-warehouse="Patria"] .admin-link,
body[data-over-warehouse="Patria"] .admin-link,
body[data-kalog-warehouse="Patria"] .admin-link,
body[data-over-location-warehouse="Patria"] .admin-link {
  border: 1px solid rgba(185, 28, 28, 0.42);
  color: #991b1b;
}

body[data-dashboard-warehouse="Patria"] .tag,
body[data-over-warehouse="Patria"] .tag,
body[data-kalog-warehouse="Patria"] .tag,
body[data-over-location-warehouse="Patria"] .tag {
  background: #ffe4e6;
  border: 1px solid rgba(185, 28, 28, 0.28);
  color: #991b1b;
}

body[data-dashboard-warehouse="Patria"] .hero-menu select,
body[data-over-warehouse="Patria"] .hero-menu select,
body[data-kalog-warehouse="Patria"] .hero-menu select,
body[data-over-location-warehouse="Patria"] .hero-menu select {
  border-color: rgba(185, 28, 28, 0.34);
  background: rgba(255, 246, 248, 0.96);
}

body[data-dashboard-warehouse="Patria"] .hero-menu select:focus,
body[data-over-warehouse="Patria"] .hero-menu select:focus,
body[data-kalog-warehouse="Patria"] .hero-menu select:focus,
body[data-over-location-warehouse="Patria"] .hero-menu select:focus {
  border-color: rgba(185, 28, 28, 0.66);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

body[data-dashboard-warehouse="Patria"] button,
body[data-over-warehouse="Patria"] button,
body[data-kalog-warehouse="Patria"] button,
body[data-over-location-warehouse="Patria"] button {
  background: #b91c1c;
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.2);
}

body[data-dashboard-warehouse="Patria"] .secondary-btn,
body[data-over-warehouse="Patria"] .secondary-btn,
body[data-kalog-warehouse="Patria"] .secondary-btn,
body[data-over-location-warehouse="Patria"] .secondary-btn {
  background: rgba(255, 246, 248, 0.96);
  color: #991b1b;
  border: 1px solid rgba(185, 28, 28, 0.44);
  box-shadow: none;
}

body[data-dashboard-warehouse="Patria"] .secondary-btn:hover,
body[data-over-warehouse="Patria"] .secondary-btn:hover,
body[data-kalog-warehouse="Patria"] .secondary-btn:hover,
body[data-over-location-warehouse="Patria"] .secondary-btn:hover {
  background: #ffe4e6;
  filter: none;
}

body[data-dashboard-warehouse="Patria"] .warehouse-logo,
body[data-over-warehouse="Patria"] .warehouse-logo,
body[data-kalog-warehouse="Patria"] .warehouse-logo,
body[data-over-location-warehouse="Patria"] .warehouse-logo {
  border: 1px solid rgba(185, 28, 28, 0.28);
  background: rgba(248, 113, 113, 0.14);
}

body[data-dashboard-warehouse="Patria"] .warehouse-logo-mark,
body[data-over-warehouse="Patria"] .warehouse-logo-mark,
body[data-kalog-warehouse="Patria"] .warehouse-logo-mark,
body[data-over-location-warehouse="Patria"] .warehouse-logo-mark {
  background: #991b1b;
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.25);
}

body[data-dashboard-warehouse="Patria"] .warehouse-logo-text,
body[data-over-warehouse="Patria"] .warehouse-logo-text,
body[data-kalog-warehouse="Patria"] .warehouse-logo-text,
body[data-over-location-warehouse="Patria"] .warehouse-logo-text {
  color: #991b1b;
}

body[data-dashboard-warehouse="Patria"] .panel,
body[data-over-warehouse="Patria"] .panel,
body[data-kalog-warehouse="Patria"] .panel,
body[data-over-location-warehouse="Patria"] .panel {
  border: 1px solid rgba(185, 28, 28, 0.16);
  background: rgba(255, 245, 247, 0.95);
  box-shadow: 0 18px 42px rgba(185, 28, 28, 0.08);
}

body[data-dashboard-warehouse="Patria"] .panel-head,
body[data-over-warehouse="Patria"] .panel-head,
body[data-kalog-warehouse="Patria"] .panel-head,
body[data-over-location-warehouse="Patria"] .panel-head {
  border-bottom: 1px solid rgba(185, 28, 28, 0.12);
}

body[data-dashboard-warehouse="Patria"] .panel-head h2,
body[data-over-warehouse="Patria"] .panel-head h2,
body[data-kalog-warehouse="Patria"] .panel-head h2,
body[data-over-location-warehouse="Patria"] .panel-head h2 {
  color: #7f1d1d;
}

body[data-dashboard-warehouse="Patria"] .inline-toolbar,
body[data-over-warehouse="Patria"] .inline-toolbar,
body[data-kalog-warehouse="Patria"] .inline-toolbar,
body[data-over-location-warehouse="Patria"] .inline-toolbar {
  border: 1px solid rgba(185, 28, 28, 0.14);
  background: rgba(255, 245, 247, 0.94);
}

body[data-dashboard-warehouse="Patria"] .table-wrap,
body[data-over-warehouse="Patria"] .table-wrap,
body[data-kalog-warehouse="Patria"] .table-wrap,
body[data-over-location-warehouse="Patria"] .table-wrap {
  border: 1px solid rgba(185, 28, 28, 0.12);
}

body[data-dashboard-warehouse="Patria"] .dashboard-table tbody tr:hover,
body[data-over-warehouse="Patria"] tbody tr:hover,
body[data-kalog-warehouse="Patria"] tbody tr:hover,
body[data-over-location-warehouse="Patria"] tbody tr:hover {
  background: rgba(255, 228, 230, 0.88);
}

body[data-kalog-warehouse="Patria"] thead th {
  color: #7f1d1d;
  background: #fecdd3 !important;
  border-bottom: 1px solid #fb7185;
}

body[data-kalog-warehouse="Patria"] .part-number-link {
  color: #991b1b;
}

body[data-kalog-warehouse="Patria"] .part-number-link:hover {
  color: #b91c1c;
}

body[data-over-warehouse="Patria"] .qty-over-chip,
body[data-over-location-warehouse="Patria"] .qty-over-chip,
body[data-dashboard-warehouse="Patria"] .qty-over-badge {
  color: #991b1b;
  background: #ffe4e6;
  border: 1px solid rgba(185, 28, 28, 0.28);
}

body[data-patria-tone="bold"][data-dashboard-warehouse="Patria"],
body[data-patria-tone="bold"][data-over-warehouse="Patria"],
body[data-patria-tone="bold"][data-kalog-warehouse="Patria"],
body[data-patria-tone="bold"][data-over-location-warehouse="Patria"] {
  --bg: #ffe4e6;
  --surface: rgba(255, 236, 239, 0.94);
  --surface-strong: #fff1f3;
  --line: #f6a7b3;
  --accent: #991b1b;
  --accent-soft: #fecdd3;
  --warn: #9f1239;
  --warn-soft: #fecdd3;
  --danger: #7f1d1d;
  --danger-soft: #fecaca;
}

body[data-patria-tone="bold"][data-dashboard-warehouse="Patria"],
body[data-patria-tone="bold"][data-over-warehouse="Patria"],
body[data-patria-tone="bold"][data-kalog-warehouse="Patria"],
body[data-patria-tone="bold"][data-over-location-warehouse="Patria"] {
  background: var(--bg);
}

body[data-patria-tone="bold"][data-dashboard-warehouse="Patria"] .bg-layer,
body[data-patria-tone="bold"][data-over-warehouse="Patria"] .bg-layer,
body[data-patria-tone="bold"][data-kalog-warehouse="Patria"] .bg-layer,
body[data-patria-tone="bold"][data-over-location-warehouse="Patria"] .bg-layer {
  background: rgba(244, 63, 94, 0.22);
}

body[data-patria-tone="bold"][data-dashboard-warehouse="Patria"] button,
body[data-patria-tone="bold"][data-over-warehouse="Patria"] button,
body[data-patria-tone="bold"][data-kalog-warehouse="Patria"] button,
body[data-patria-tone="bold"][data-over-location-warehouse="Patria"] button {
  background: #991b1b;
  box-shadow: 0 8px 18px rgba(153, 27, 27, 0.24);
}

body[data-patria-tone="bold"][data-dashboard-warehouse="Patria"] .secondary-btn,
body[data-patria-tone="bold"][data-over-warehouse="Patria"] .secondary-btn,
body[data-patria-tone="bold"][data-kalog-warehouse="Patria"] .secondary-btn,
body[data-patria-tone="bold"][data-over-location-warehouse="Patria"]
  .secondary-btn {
  background: rgba(255, 238, 241, 0.96);
  color: #7f1d1d;
  border: 1px solid rgba(153, 27, 27, 0.46);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(59, 130, 246, 0.22),
      transparent 22%
    ),
    radial-gradient(
      circle at 80% 12%,
      rgba(45, 212, 191, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 65% 86%,
      rgba(168, 85, 247, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, #edf6ff 0%, #f5f3ff 28%, #f3fbf9 58%, #f8fafc 100%);
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.45;
}

.bg-layer {
  position: fixed;
  inset: auto 0 -42vh;
  height: 70vh;
  background: linear-gradient(
    100deg,
    rgba(180, 83, 9, 0.16),
    rgba(15, 118, 110, 0.18)
  );
  filter: blur(72px);
  pointer-events: none;
}

.layout {
  width: min(1120px, 94vw);
  margin: 2.2rem auto;
  position: relative;
  z-index: 1;
}

.tracker-shell {
  position: relative;
}

.tracker-shell::before,
.tracker-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.tracker-shell::before {
  width: 240px;
  height: 240px;
  top: -20px;
  right: 10%;
  background: rgba(96, 165, 250, 0.22);
}

.tracker-shell::after {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: 8%;
  background: rgba(45, 212, 191, 0.18);
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.15rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65),
    rgba(247, 250, 252, 0.5)
  );
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.hero-3d {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.96),
    rgba(15, 118, 110, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 22px 45px rgba(13, 54, 78, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: perspective(1200px) rotateX(2deg);
}

.hero-3d .tag,
.hero-3d h1,
.hero-3d .lead,
.hero-3d .admin-link,
.hero-3d button {
  position: relative;
  z-index: 1;
}

.hero-3d .tag {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ecfeff;
}

.hero-3d h1 {
  color: #f8feff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.hero-3d .lead {
  color: rgba(236, 254, 255, 0.9);
}

.warehouse-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.72rem;
  margin-bottom: 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.1),
    rgba(180, 83, 9, 0.08)
  );
  box-shadow: 0 8px 18px rgba(24, 32, 46, 0.08);
}

.warehouse-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #0e8f83);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.23);
}

.warehouse-logo-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #115e59;
  padding-right: 0.25rem;
}

.warehouse-logo-image {
  display: block;
  width: clamp(124px, 16vw, 172px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.title-with-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  line-height: 1.05;
}

.title-logo-image {
  width: clamp(50px, 4.8vw, 62px);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  transform: translateY(1px);
}

.title-with-logo span {
  display: inline-block;
  transform: translateY(1px);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  align-items: end;
}

.hero-menu {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--muted);
  font-size: 0.82rem;
  min-width: 220px;
}

.hero-menu select {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.5rem 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.hero-menu select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.7);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(15, 118, 110, 0.4);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.54rem 0.9rem;
  font-weight: 700;
  transition: all 0.22s ease;
}

.admin-link:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.filter-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.filter-box select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.tag {
  margin: 0;
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #def5f1, #e8f9f6);
  color: var(--accent);
  font-weight: 700;
  border: 1px solid rgba(15, 118, 110, 0.22);
}

h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.lead {
  margin: 0.5rem 0 0;
  color: var(--muted);
  max-width: 760px;
}

button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #0e8f83);
  color: #fff;
  padding: 0.6rem 0.95rem;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.floating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.floating-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(240, 249, 255, 0.7)
  );
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #0f172a;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.09);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.kpi-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(7px);
}

.kpi-card {
  padding: 0.95rem;
  transform: perspective(1000px) rotateX(6deg);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.kpi-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-4px);
  box-shadow: 0 24px 36px rgba(15, 23, 42, 0.14);
}

.kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.kpi-card h3 {
  margin: 0.4rem 0 0;
  font-size: 1.65rem;
}

.kpi-card.base {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97),
    rgba(239, 246, 255, 0.9)
  );
}

.kpi-card.good {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97),
    rgba(220, 252, 231, 0.92)
  );
}

.kpi-card.warn {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97),
    rgba(255, 237, 213, 0.9)
  );
}

.kpi-card.danger {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97),
    rgba(255, 228, 230, 0.92)
  );
}

.kpi-card.accent {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97),
    rgba(224, 251, 245, 0.92)
  );
}

.panel {
  padding: 1rem 1.05rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(248, 250, 252, 0.84)
  );
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 20px 35px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: perspective(1200px) rotateX(1deg);
}

.profile-layout {
  display: grid;
  gap: 1rem;
}

.profile-panel {
  margin-bottom: 0;
}

.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
  gap: 1rem;
}

.profile-copy h3 {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.25;
}

.profile-copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.profile-side-card {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(194, 65, 12, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 247, 236, 0.98)
  );
}

.profile-side-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.profile-logo {
  width: 92px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-side-label {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-meta-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.profile-meta-list div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(194, 65, 12, 0.12);
}

.profile-meta-list dt {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--text);
}

.profile-meta-list dd {
  margin: 0;
  color: var(--muted);
}

.profile-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-service-card {
  border-radius: 14px;
  padding: 0.95rem;
  border: 1px solid rgba(194, 65, 12, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.profile-service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.profile-service-card p {
  margin: 0;
  color: var(--muted);
}

.profile-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.profile-values-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(194, 65, 12, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.profile-values-list strong {
  color: var(--text);
}

.profile-values-list span {
  color: var(--muted);
}

.profile-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-link-card {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(194, 65, 12, 0.12);
  background: rgba(255, 255, 255, 0.76);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.profile-link-card:hover {
  transform: translateY(-1px);
  background: #fff7ed;
  border-color: rgba(194, 65, 12, 0.24);
}

.profile-link-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-panel {
  margin-bottom: 1rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

h2 {
  margin: 0;
  font-size: 1.1rem;
}

#updatedAt {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.stock-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(239, 246, 255, 0.7)
  );
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 24px rgba(15, 23, 42, 0.08);
  transform: perspective(1200px) rotateX(2deg);
}

.stock-form--date-only {
  grid-template-columns: minmax(0, 1fr) repeat(2, max-content);
  max-width: 640px;
  align-items: end;
}

.stock-form--date-only label {
  min-width: 0;
}

.stock-form--date-only input {
  width: 100%;
}

.stock-form--date-only button {
  white-space: nowrap;
}

.admin-stock-form {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.actual-stock-form {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stock-form button {
  height: 42px;
}

.stock-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stock-form select,
.stock-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.stock-form select:focus,
.stock-form input:focus,
.bulk-import-form input:focus,
.filter-box select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.7);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.form-message {
  margin: 0.75rem 0 0;
  min-height: 1.2rem;
  font-size: 0.88rem;
}

.form-message.info {
  color: var(--accent);
}

.form-message.success {
  color: var(--ok);
}

.form-message.error {
  color: var(--danger);
}

.admin-separator {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 1rem 0;
}

.bulk-tools {
  margin-bottom: 0.8rem;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.secondary-btn:hover {
  background: var(--accent-soft);
  filter: none;
}

.bulk-import-form {
  display: grid;
  grid-template-columns: 2fr auto;
  gap: 0.75rem;
  align-items: end;
}

.bulk-import-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.bulk-import-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

#kalogImportForm .col-2 {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}

#kalogImportForm #kalogFile {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
}

.kalog-import-inline {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.45rem;
}

.kalog-import-inline label {
  margin: 0;
}

.kalog-import-inline button[type="submit"] {
  margin-bottom: 0;
  height: 36px;
  padding: 0.36rem 0.72rem;
}

.kalog-import-form {
  grid-template-columns: minmax(0, 340px) auto;
}

.kalog-import-form .kalog-file-input {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
}

.kalog-import-form--small {
  gap: 0.5rem;
}

.kalog-import-form--small label {
  gap: 0.22rem;
  font-size: 0.82rem;
}

.kalog-import-form--small .kalog-file-input {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  padding: 0.42rem 0.5rem;
  font-size: 0.8rem;
}

.kalog-import-form--small button {
  height: 34px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.bulk-part-stock-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.bulk-part-stock-form input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.bulk-part-stock-form button {
  align-self: end;
  height: 42px;
}

.feature-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.feature-actions button {
  width: 100%;
}

.feature-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 27, 36, 0.48);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.feature-modal.is-open {
  display: flex;
}

.feature-modal-card {
  width: min(760px, 96vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.feature-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.feature-modal-head h2 {
  margin: 0;
}

.modal-close-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  box-shadow: none;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

.quick-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.inline-toolbar {
  flex-wrap: wrap;
}

.inline-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

.muted-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.qty-over-badge {
  margin: 0.34rem 0 0;
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid rgba(194, 65, 12, 0.28);
}

.inline-toolbar input,
.inline-toolbar select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox-inline input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.actual-row {
  cursor: pointer;
}

.table-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.38rem 0.5rem;
  background: #fff;
  color: var(--text);
}

.row-action-btn {
  background: linear-gradient(135deg, #0f766e, #0e8f83);
  box-shadow: none;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
}

.row-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.finding-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid rgba(21, 128, 61, 0.25);
  font-size: 0.74rem;
  font-weight: 700;
}

.status-main {
  font-weight: 700;
}

.imported-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.24rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: rgba(3, 105, 161, 0.1);
  color: #075985;
  border: 1px solid rgba(3, 105, 161, 0.26);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-reason {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.table-photo-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  box-shadow:
    0 12px 22px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: perspective(900px) rotateX(16deg) rotateY(-12deg) rotateZ(2deg);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.photo-thumb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0.18rem;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
  background: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.12),
    rgba(255, 255, 255, 0.6)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.photo-thumb-link:hover {
  transform: translateY(-4px) scale(1.04);
  filter: saturate(1.18);
}

.photo-thumb-link:hover .table-photo-thumb {
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) rotateZ(0deg)
    scale(1.12);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.2);
}

.photo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px dashed rgba(79, 92, 103, 0.35);
  color: #6b7280;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(241, 245, 249, 0.8)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.kalog-upload-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  min-width: 92px;
}

.kalog-photo-input {
  display: none;
  font-size: 0.78rem;
}

.kalog-upload-btn {
  min-width: 72px;
  height: 30px;
  padding: 0.22rem 0.56rem;
  font-size: 0.74rem;
  border-radius: 9px;
}

.kalog-upload-note {
  font-size: 0.68rem;
  min-height: 1rem;
  color: var(--muted);
  line-height: 1.25;
}

.kalog-upload-note.info {
  color: #0f766e;
}

.kalog-upload-note.success {
  color: #15803d;
}

.kalog-upload-note.error {
  color: #b91c1c;
}

.part-number-link {
  border: 0;
  background: none;
  color: #9a3412;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.part-number-link:hover {
  color: #c2410c;
}

.history-table-wrap {
  max-height: 48vh;
}

.danger-zone {
  margin-top: 1rem;
  border: 1px solid rgba(185, 28, 28, 0.3);
  background: linear-gradient(
    180deg,
    rgba(254, 242, 242, 0.95),
    rgba(255, 255, 255, 0.9)
  );
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.danger-title {
  margin: 0;
  color: var(--danger);
  font-size: 1rem;
}

.danger-text {
  margin: 0.25rem 0 0;
  color: #7f1d1d;
  font-size: 0.88rem;
}

.danger-btn {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.22);
}

.table-wrap {
  overflow: auto;
  max-height: 68vh;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  table-layout: fixed;
}

.dashboard-table {
  min-width: 1280px;
}

.actual-stock-table {
  min-width: 980px;
}

.summary-table {
  min-width: 1260px;
}

.over-short-table {
  min-width: 1320px;
}

.over-location-table {
  min-width: 1500px;
}

.over-short-table td:last-child {
  vertical-align: middle;
}

.over-location-table td:last-child {
  text-align: center;
  font-weight: 700;
}

.qty-over-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid rgba(194, 65, 12, 0.28);
}

.age-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.age-chip.age-normal {
  color: #14532d;
  background: #dcfce7;
  border-color: rgba(22, 101, 52, 0.26);
}

.age-chip.age-warning {
  color: #92400e;
  background: #ffedd5;
  border-color: rgba(194, 65, 12, 0.28);
}

.age-chip.age-critical {
  color: #991b1b;
  background: #fee2e2;
  border-color: rgba(185, 28, 28, 0.3);
}

.over-short-table .row-action-stack {
  margin-top: 0.42rem;
  display: grid;
  gap: 0.32rem;
}

.over-short-table .row-action-btn {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 0.38rem 0.52rem;
  white-space: nowrap;
}

.user-monitoring-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.user-monitoring-table thead th {
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.08),
    rgba(59, 130, 246, 0.06)
  );
  border: 0;
  padding: 0.9rem 0.8rem;
  box-shadow: none;
}

.user-monitoring-table tbody tr {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94),
    rgba(248, 250, 252, 0.86)
  );
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.user-monitoring-table tbody tr:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 22px 32px rgba(15, 23, 42, 0.14);
  border-color: rgba(14, 165, 233, 0.26);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(239, 246, 255, 0.92)
  );
}

.user-monitoring-table td {
  padding: 0.9rem 0.8rem;
  background: transparent;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.user-monitoring-table td:first-child {
  border-left: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px 0 0 16px;
}

.user-monitoring-table td:last-child {
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0 16px 16px 0;
}

.kalog-table {
  min-width: 1080px;
}

.history-table {
  min-width: 980px;
}

th,
td {
  border-bottom: 1px solid #ece6db;
  padding: 0.64rem 0.56rem;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

thead th {
  color: #4f5c67;
  font-size: 0.84rem;
  position: sticky;
  top: 0;
  z-index: 3;
  white-space: nowrap;
  background: linear-gradient(180deg, #fffdfb, #f5f0e8);
  box-shadow: inset 0 -1px 0 #ece6db;
}

.dashboard-table th:nth-child(1),
.dashboard-table td:nth-child(1) {
  width: 5%;
}

.dashboard-table th:nth-child(2),
.dashboard-table td:nth-child(2) {
  width: 8%;
}

.dashboard-table th:nth-child(3),
.dashboard-table td:nth-child(3) {
  width: 8%;
}

.dashboard-table th:nth-child(4),
.dashboard-table td:nth-child(4) {
  width: 9%;
}

.dashboard-table th:nth-child(5),
.dashboard-table td:nth-child(5) {
  width: 14%;
}

.dashboard-table th:nth-child(6),
.dashboard-table td:nth-child(6) {
  width: 10%;
}

.dashboard-table th:nth-child(7),
.dashboard-table td:nth-child(7) {
  width: 8%;
}

.dashboard-table th:nth-child(8),
.dashboard-table td:nth-child(8) {
  width: 8%;
}

.dashboard-table th:nth-child(9),
.dashboard-table td:nth-child(9) {
  width: 7%;
}

.dashboard-table th:nth-child(10),
.dashboard-table td:nth-child(10) {
  width: 10%;
}

.dashboard-table th:nth-child(11),
.dashboard-table td:nth-child(11) {
  width: 6%;
}

.dashboard-table th:nth-child(12),
.dashboard-table td:nth-child(12) {
  width: 7%;
}

body[data-kalog-warehouse="Triatra"] thead th {
  color: #7c2d12;
  background: linear-gradient(180deg, #fed7aa, #fdba74) !important;
  border-bottom: 1px solid #f59e0b;
}

tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.5);
}

tbody tr:hover {
  background: rgba(15, 118, 110, 0.08);
}

.actual-stock-table th:nth-child(1),
.actual-stock-table td:nth-child(1) {
  width: 12%;
}

.actual-stock-table th:nth-child(2),
.actual-stock-table td:nth-child(2) {
  width: 11%;
}

.actual-stock-table th:nth-child(3),
.actual-stock-table td:nth-child(3) {
  width: 20%;
}

.actual-stock-table th:nth-child(4),
.actual-stock-table td:nth-child(4) {
  width: 9%;
}

.actual-stock-table th:nth-child(5),
.actual-stock-table td:nth-child(5) {
  width: 12%;
}

.actual-stock-table th:nth-child(6),
.actual-stock-table td:nth-child(6) {
  width: 10%;
}

.actual-stock-table th:nth-child(7),
.actual-stock-table td:nth-child(7) {
  width: 12%;
}

.actual-stock-table th:nth-child(8),
.actual-stock-table td:nth-child(8) {
  width: 14%;
}

.summary-table th:nth-child(1),
.summary-table td:nth-child(1) {
  width: 8%;
}

.summary-table th:nth-child(2),
.summary-table td:nth-child(2) {
  width: 8%;
}

.summary-table th:nth-child(3),
.summary-table td:nth-child(3) {
  width: 10%;
}

.summary-table th:nth-child(4),
.summary-table td:nth-child(4) {
  width: 15%;
}

.summary-table th:nth-child(5),
.summary-table td:nth-child(5) {
  width: 10%;
}

.summary-table th:nth-child(6),
.summary-table td:nth-child(6) {
  width: 8%;
}

.summary-table th:nth-child(7),
.summary-table td:nth-child(7) {
  width: 8%;
}

.summary-table th:nth-child(8),
.summary-table td:nth-child(8) {
  width: 7%;
}

.summary-table th:nth-child(9),
.summary-table td:nth-child(9) {
  width: 10%;
}

.summary-table th:nth-child(10),
.summary-table td:nth-child(10) {
  width: 6%;
}

.summary-table th:nth-child(11),
.summary-table td:nth-child(11) {
  width: 10%;
}

.over-short-table th:nth-child(1),
.over-short-table td:nth-child(1) {
  width: 7%;
}

.over-short-table th:nth-child(2),
.over-short-table td:nth-child(2) {
  width: 7%;
}

.over-short-table th:nth-child(3),
.over-short-table td:nth-child(3) {
  width: 8%;
}

.over-short-table th:nth-child(4),
.over-short-table td:nth-child(4) {
  width: 10%;
}

.over-short-table th:nth-child(5),
.over-short-table td:nth-child(5) {
  width: 13%;
}

.over-short-table th:nth-child(6),
.over-short-table td:nth-child(6) {
  width: 9%;
}

.over-short-table th:nth-child(7),
.over-short-table td:nth-child(7) {
  width: 7%;
}

.over-short-table th:nth-child(8),
.over-short-table td:nth-child(8) {
  width: 7%;
}

.over-short-table th:nth-child(9),
.over-short-table td:nth-child(9) {
  width: 6%;
}

.over-short-table th:nth-child(10),
.over-short-table td:nth-child(10) {
  width: 12%;
}

.over-short-table th:nth-child(11),
.over-short-table td:nth-child(11) {
  width: 13%;
}

.over-location-table th:nth-child(1),
.over-location-table td:nth-child(1) {
  width: 7%;
}

.over-location-table th:nth-child(2),
.over-location-table td:nth-child(2) {
  width: 7%;
}

.over-location-table th:nth-child(3),
.over-location-table td:nth-child(3) {
  width: 9%;
}

.over-location-table th:nth-child(4),
.over-location-table td:nth-child(4) {
  width: 10%;
}

.over-location-table th:nth-child(5),
.over-location-table td:nth-child(5) {
  width: 14%;
}

.over-location-table th:nth-child(6),
.over-location-table td:nth-child(6) {
  width: 10%;
}

.over-location-table th:nth-child(7),
.over-location-table td:nth-child(7) {
  width: 7%;
}

.over-location-table th:nth-child(8),
.over-location-table td:nth-child(8) {
  width: 7%;
}

.over-location-table th:nth-child(9),
.over-location-table td:nth-child(9) {
  width: 6%;
}

.over-location-table th:nth-child(10),
.over-location-table td:nth-child(10) {
  width: 10%;
}

.over-location-table th:nth-child(11),
.over-location-table td:nth-child(11) {
  width: 8%;
}

.over-location-table th:nth-child(12),
.over-location-table td:nth-child(12) {
  width: 11%;
}

.over-location-table th:nth-child(13),
.over-location-table td:nth-child(13) {
  width: 4%;
}

.user-monitoring-table th:nth-child(1),
.user-monitoring-table td:nth-child(1) {
  width: 10%;
}

.user-monitoring-table th:nth-child(2),
.user-monitoring-table td:nth-child(2) {
  width: 10%;
}

.user-monitoring-table th:nth-child(3),
.user-monitoring-table td:nth-child(3) {
  width: 19%;
}

.user-monitoring-table th:nth-child(4),
.user-monitoring-table td:nth-child(4) {
  width: 12%;
}

.user-monitoring-table th:nth-child(5),
.user-monitoring-table td:nth-child(5) {
  width: 10%;
}

.user-monitoring-table th:nth-child(6),
.user-monitoring-table td:nth-child(6) {
  width: 10%;
}

.user-monitoring-table th:nth-child(7),
.user-monitoring-table td:nth-child(7) {
  width: 9%;
}

.user-monitoring-table th:nth-child(8),
.user-monitoring-table td:nth-child(8) {
  width: 20%;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.73rem;
  font-weight: 700;
  border: 1px solid;
  letter-spacing: 0.02em;
}

.pill.ok {
  color: var(--ok);
  background: var(--ok-soft);
}

.pill.lebih {
  color: var(--warn);
  background: var(--warn-soft);
}

.pill.kurang {
  color: var(--danger);
  background: var(--danger-soft);
}

.pill.pending {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.15);
  border-color: rgba(194, 65, 12, 0.35);
}

.drive-panel {
  border: 1px solid rgba(194, 65, 12, 0.2);
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 252, 247, 0.94),
    rgba(255, 248, 240, 0.88)
  );
  box-shadow: 0 18px 42px rgba(194, 65, 12, 0.08);
}

.drive-toolbar {
  display: grid;
  gap: 0.85rem;
  margin: 0.35rem 0 0.9rem;
  padding: 0.95rem;
  border: 1px solid rgba(194, 65, 12, 0.16);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.drive-toolbar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0;
}

.drive-dropzone {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 92px;
  border: 1.5px dashed rgba(194, 65, 12, 0.34);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 241, 0.98),
    rgba(255, 239, 224, 0.92)
  );
  color: #7c2d12;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.drive-dropzone strong {
  font-size: 0.95rem;
}

.drive-dropzone span {
  font-size: 0.82rem;
  color: #9a3412;
}

.drive-dropzone.is-dragover {
  border-color: rgba(194, 65, 12, 0.72);
  background: linear-gradient(180deg, #fff1df, #ffe2c1);
  box-shadow: 0 12px 30px rgba(194, 65, 12, 0.12);
  transform: translateY(-1px);
}

.drive-dropzone.is-uploading {
  opacity: 0.78;
  pointer-events: none;
}

.drive-upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.6rem;
  flex: 1 1 420px;
}

.drive-upload-label,
.drive-search-box {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.drive-upload-label input,
.drive-search-box input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.52rem 0.62rem;
  background: rgba(255, 255, 255, 0.95);
}

.drive-search-box input {
  min-width: 280px;
}

.drive-browser {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 0.95rem;
  margin-top: 0.2rem;
}

.drive-sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
  background: linear-gradient(180deg, #fff5ea, #fffaf5);
  border: 1px solid rgba(194, 65, 12, 0.22);
  border-radius: 18px;
  padding: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(194, 65, 12, 0.06);
}

.drive-sidebar h3 {
  margin: 0 0 0.45rem;
  color: #9a3412;
  font-size: 1rem;
}

.drive-path {
  margin: 0;
  color: #7c2d12;
  background: #ffedd5;
  border: 1px solid rgba(194, 65, 12, 0.24);
  border-radius: 9px;
  padding: 0.36rem 0.48rem;
  font-size: 0.82rem;
  word-break: break-all;
}

.drive-meta-list {
  margin: 0.85rem 0 0;
  padding: 0;
  color: #6b3a12;
  display: grid;
  gap: 0.35rem;
  list-style: none;
}

.drive-meta-list li {
  padding: 0.55rem 0.68rem;
  border-radius: 12px;
  background: rgba(255, 247, 238, 0.92);
  border: 1px solid rgba(194, 65, 12, 0.12);
}

.drive-content {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(221, 214, 201, 0.8);
  border-radius: 18px;
  padding: 0.55rem;
  overflow-x: auto;
  max-width: 100%;
  box-shadow: 0 14px 34px rgba(24, 32, 46, 0.06);
}

.drive-table {
  width: 100%;
  min-width: 820px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  word-break: break-word;
}

.drive-table th:nth-child(1),
.drive-table td:nth-child(1) {
  width: 43%;
}

.drive-table th:nth-child(2),
.drive-table td:nth-child(2) {
  width: 9%;
  text-align: center;
}

.drive-table th:nth-child(3),
.drive-table td:nth-child(3) {
  width: 12%;
  text-align: right;
}

.drive-table th:nth-child(4),
.drive-table td:nth-child(4) {
  width: 18%;
  white-space: nowrap;
}

.drive-table th:nth-child(5),
.drive-table td:nth-child(5) {
  width: 18%;
}

.drive-table td {
  vertical-align: middle;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 0.82rem;
  padding-bottom: 0.82rem;
}

.drive-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fffaf4, #fff3e7);
  color: #9a3412;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(194, 65, 12, 0.16);
  padding: 0.78rem 0.65rem;
}

.drive-table tbody tr {
  transition:
    transform 0.12s ease,
    background-color 0.12s ease,
    box-shadow 0.12s ease;
}

.drive-table tbody tr:hover td {
  background: rgba(255, 247, 238, 0.78);
}

.drive-row-file {
  cursor: grab;
}

.drive-row-folder {
  cursor: move;
}

.drive-row.is-dragging {
  opacity: 0.45;
}

.drive-row.is-drop-target td {
  background: rgba(255, 237, 213, 0.92);
}

.drive-breadcrumb-part.is-drop-target {
  color: #7c2d12;
  background: #ffedd5;
  border-radius: 999px;
  padding: 0.05rem 0.35rem;
}

.drive-file-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.drive-file-icon {
  min-width: 2.1rem;
  text-align: center;
  border-radius: 8px;
  background: #ffedd5;
  border: 1px solid rgba(194, 65, 12, 0.24);
  color: #9a3412;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.3rem;
}

.drive-file-name {
  font-weight: 700;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
  display: inline-block;
}

.drive-table .row-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  justify-content: flex-start;
}

.drive-table .row-action-btn {
  width: auto;
  min-width: 78px;
  text-align: center;
  padding: 0.34rem 0.58rem;
  font-size: 0.72rem;
  line-height: 1.2;
}

.drive-preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 40;
}

.drive-preview-modal.is-open {
  display: flex;
}

.drive-preview-dialog {
  width: min(1080px, 94vw);
  max-height: 88vh;
  background: linear-gradient(180deg, #fffdf9, #fff7ee);
  border: 1px solid rgba(194, 65, 12, 0.24);
  border-radius: 18px;
  padding: 0.95rem;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.6rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.drive-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.1rem;
}

.drive-preview-head h3 {
  margin: 0;
  color: #7c2d12;
  font-size: 1.02rem;
}

.drive-preview-hint {
  margin: 0;
  color: #6b7280;
  font-size: 0.83rem;
}

.drive-preview-body {
  min-height: 240px;
  max-height: 66vh;
  overflow: auto;
  border: 1px solid rgba(221, 214, 201, 0.95);
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem;
}

.drive-preview-frame {
  width: 100%;
  height: 60vh;
  border: 0;
}

.drive-preview-text {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.35;
  font-size: 0.82rem;
}

.drive-preview-fallback {
  display: grid;
  gap: 0.45rem;
  color: #374151;
}

/* General User dashboard */
body.user-monitoring-page {
  --user-ink: #15263d;
  --user-muted: #617189;
  --user-teal: #087f8c;
  --user-orange: #ed7d3a;
  --user-line: rgba(111, 137, 158, 0.22);
  min-height: 100vh;
  color: var(--user-ink);
  background:
    linear-gradient(rgba(214, 229, 233, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 229, 233, 0.34) 1px, transparent 1px),
    linear-gradient(135deg, #f6fbfa 0%, #eef6f8 48%, #fff8f1 100%);
  background-size:
    34px 34px,
    34px 34px,
    auto;
}

body.user-monitoring-page .bg-layer,
body.user-monitoring-page .tracker-shell::before,
body.user-monitoring-page .tracker-shell::after {
  display: none;
}

body.user-monitoring-page .layout {
  width: min(1240px, 94vw);
  margin: 2rem auto 3rem;
}

body.user-monitoring-page .hero-3d {
  min-height: 238px;
  align-items: flex-end;
  padding: 2rem 2.1rem;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background:
    linear-gradient(
      112deg,
      rgba(5, 68, 82, 0.98),
      rgba(8, 127, 140, 0.92) 56%,
      rgba(13, 93, 112, 0.94)
    ),
    #075766;
  box-shadow: 0 24px 52px rgba(19, 69, 85, 0.22);
  transform: none;
}

body.user-monitoring-page .hero-3d::after {
  content: "PST";
  position: absolute;
  right: 1.8rem;
  bottom: -2.8rem;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  pointer-events: none;
}

body.user-monitoring-page .hero-3d h1 {
  max-width: 680px;
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  letter-spacing: 0.01em;
}

body.user-monitoring-page .hero-3d .lead {
  max-width: 590px;
  margin-top: 0.8rem;
  font-size: 1rem;
}

body.user-monitoring-page .hero-3d .tag {
  padding: 0.42rem 0.78rem;
  color: #d8fbf6;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.23);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

body.user-monitoring-page .hero-actions {
  position: relative;
  z-index: 2;
  align-items: stretch;
  flex-direction: column;
  min-width: 190px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  background: rgba(4, 45, 57, 0.26);
  backdrop-filter: blur(8px);
}

body.user-monitoring-page .hero-actions .admin-link,
body.user-monitoring-page .hero-actions button {
  min-height: 42px;
  width: 100%;
}

body.user-monitoring-page .hero-actions .admin-link {
  color: #e7fffb;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

body.user-monitoring-page .hero-actions .admin-link:hover {
  color: var(--user-ink);
  background: #fff;
}

body.user-monitoring-page .hero-actions button {
  background: var(--user-orange);
  box-shadow: 0 9px 18px rgba(117, 52, 19, 0.24);
}

body.user-monitoring-page .floating-pills {
  position: relative;
  z-index: 2;
  gap: 0.55rem;
  margin: -0.8rem 2rem 1.2rem;
}

body.user-monitoring-page .floating-pills span {
  padding: 0.45rem 0.82rem;
  color: #075766;
  background: #ffffff;
  border: 1px solid var(--user-line);
  box-shadow: 0 8px 18px rgba(31, 75, 88, 0.1);
}

body.user-monitoring-page .kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

body.user-monitoring-page .kpi-card {
  position: relative;
  min-height: 112px;
  padding: 1.15rem 1.2rem;
  overflow: hidden;
  border: 1px solid var(--user-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(38, 79, 90, 0.08);
  transform: none;
}

body.user-monitoring-page .kpi-card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  right: -22px;
  bottom: -25px;
  border: 12px solid rgba(8, 127, 140, 0.11);
  border-radius: 50%;
}

body.user-monitoring-page .kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(38, 79, 90, 0.13);
}

body.user-monitoring-page .kpi-card p {
  color: var(--user-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.user-monitoring-page .kpi-card h3 {
  color: var(--user-ink);
  font-size: 1.9rem;
}

body.user-monitoring-page .kpi-card.good h3 {
  color: #187b50;
}
body.user-monitoring-page .kpi-card.accent h3 {
  color: var(--user-teal);
}
body.user-monitoring-page .kpi-card.warn h3 {
  color: #c35c24;
}

body.user-monitoring-page .panel {
  border: 1px solid var(--user-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(38, 79, 90, 0.08);
  transform: none;
}

body.user-monitoring-page .panel-head {
  align-items: flex-end;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(111, 137, 158, 0.16);
}

body.user-monitoring-page .panel-head h2 {
  color: var(--user-ink);
  font-size: 1.28rem;
}

body.user-monitoring-page .panel-head p:not(#updatedAt) {
  margin: 0.25rem 0 0;
  color: var(--user-muted);
}

body.user-monitoring-page .stock-form {
  grid-template-columns: minmax(160px, 0.7fr) minmax(250px, 1.8fr) auto;
  padding: 0.7rem;
  border: 1px solid rgba(8, 127, 140, 0.15);
  border-radius: 15px;
  background: #f3faf9;
  box-shadow: none;
  transform: none;
}

body.user-monitoring-page .stock-form label {
  color: var(--user-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.user-monitoring-page .stock-form input,
body.user-monitoring-page .stock-form select {
  min-height: 44px;
  border-color: rgba(111, 137, 158, 0.28);
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
}

body.user-monitoring-page .stock-form button {
  min-width: 108px;
  height: 44px;
  background: var(--user-teal);
}

body.user-monitoring-page .form-message.info {
  color: var(--user-teal);
  font-weight: 700;
}

body.user-monitoring-page .table-wrap {
  max-height: 64vh;
  overflow: auto;
  border: 1px solid var(--user-line);
  border-radius: 15px;
  background: #fff;
}

body.user-monitoring-page .user-monitoring-table {
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 0;
}

body.user-monitoring-page .user-monitoring-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.85rem 0.8rem;
  color: #fff;
  background: #145d6a;
  border-bottom: 0;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.user-monitoring-page .user-monitoring-table tbody tr {
  transition: background 0.16s ease;
}

body.user-monitoring-page .user-monitoring-table tbody tr:nth-child(even) {
  background: #f8fbfb;
}

body.user-monitoring-page .user-monitoring-table tbody tr:hover {
  background: #eaf7f5;
}

body.user-monitoring-page .user-monitoring-table td {
  padding: 0.82rem 0.8rem;
  color: #30455c;
  border-bottom: 1px solid rgba(111, 137, 158, 0.13);
  vertical-align: middle;
}

body.user-monitoring-page .user-monitoring-table td:nth-child(2),
body.user-monitoring-page .user-monitoring-table td:nth-child(3) {
  color: var(--user-ink);
  font-weight: 800;
}

body.user-monitoring-page .user-monitoring-table td:nth-child(7),
body.user-monitoring-page .user-monitoring-table td:nth-child(8) {
  color: var(--user-teal);
  font-weight: 800;
  white-space: nowrap;
}

body.user-monitoring-page .photo-thumb-link {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid rgba(8, 127, 140, 0.2);
  border-radius: 9px;
  background: #fff;
}

body.user-monitoring-page .photo-empty {
  display: inline-block;
  padding: 0.28rem 0.48rem;
  border-radius: 6px;
  color: var(--user-muted);
  background: #edf3f4;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  body.user-monitoring-page .layout {
    width: min(100% - 1.2rem, 1240px);
    margin-top: 0.6rem;
  }

  body.user-monitoring-page .hero-3d {
    min-height: 0;
    padding: 1.4rem;
    border-radius: 20px;
  }

  body.user-monitoring-page .hero-3d h1 {
    font-size: 2rem;
  }

  body.user-monitoring-page .hero-3d::after {
    right: -1rem;
    bottom: -1rem;
    font-size: 7rem;
  }

  body.user-monitoring-page .hero-actions {
    width: 100%;
    min-width: 0;
  }

  body.user-monitoring-page .floating-pills {
    margin: -0.55rem 0.8rem 1rem;
  }

  body.user-monitoring-page .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.user-monitoring-page .stock-form {
    grid-template-columns: 1fr;
  }

  body.user-monitoring-page .stock-form button {
    width: 100%;
  }

  body.user-monitoring-page .panel {
    padding: 0.85rem;
  }
}

@media (max-width: 420px) {
  body.user-monitoring-page .kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .drive-panel {
    padding: 0.85rem;
  }

  .drive-toolbar {
    padding: 0.8rem;
  }

  .drive-browser {
    grid-template-columns: 1fr;
  }

  .drive-sidebar {
    position: static;
  }

  .drive-table {
    min-width: 680px;
  }
  .drive-file-name {
    max-width: 160px;
  }
}

@media (max-width: 700px) {
  .layout {
    margin: 1.2rem auto;
  }

  .drive-panel {
    padding: 0.7rem;
  }

  .drive-toolbar {
    padding: 0.7rem;
  }

  .drive-toolbar-row {
    width: 100%;
  }

  .drive-upload-form,
  .drive-search-box,
  .drive-search-box input,
  .drive-upload-label,
  .drive-upload-label input {
    width: 100%;
  }

  .drive-search-box input {
    min-width: 0;
  }

  .drive-dropzone {
    min-height: 80px;
    padding: 0.8rem 0.9rem;
  }

  .hero {
    flex-direction: column;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-menu {
    min-width: 0;
    width: 100%;
  }

  .warehouse-logo {
    padding: 0.4rem 0.62rem;
    border-radius: 12px;
  }

  .warehouse-logo-image {
    width: clamp(118px, 42vw, 156px);
  }

  .title-with-logo {
    gap: 0.45rem;
    line-height: 1.05;
  }

  .title-logo-image {
    width: clamp(42px, 9.8vw, 52px);
    transform: translateY(0.5px);
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-overview,
  .profile-dual-grid {
    grid-template-columns: 1fr;
  }

  .profile-service-grid,
  .profile-link-grid {
    grid-template-columns: 1fr;
  }

  .stock-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actual-stock-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-actions {
    grid-template-columns: 1fr;
  }

  .feature-modal-card {
    width: 100%;
    padding: 0.85rem;
  }

  table {
    min-width: 680px;
  }

  .drive-browser {
    grid-template-columns: 1fr;
  }

  .drive-search-box,
  .drive-search-box input {
    width: 100%;
    min-width: 0;
  }

  .drive-preview-dialog {
    width: 96vw;
    max-height: 90vh;
  }

  .drive-table .row-action-stack {
    display: grid;
    grid-template-columns: 1fr;
  }

  .drive-table .row-action-btn {
    width: 100%;
  }

  .drive-preview-frame {
    height: 54vh;
  }

  th,
  td {
    padding: 0.52rem 0.44rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .stock-form {
    grid-template-columns: 1fr;
  }

  .bulk-import-form {
    grid-template-columns: 1fr;
  }

  .quick-tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .danger-zone {
    flex-direction: column;
    align-items: flex-start;
  }
}

.login-page .layout {
  width: min(980px, 94vw);
  margin: 0 auto;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0;
}

.login-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.login-shell::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  background: linear-gradient(
    120deg,
    rgba(15, 118, 110, 0.15),
    rgba(180, 83, 9, 0.13),
    rgba(20, 83, 45, 0.15)
  );
  filter: blur(18px);
  z-index: -1;
}

.login-brand,
.login-card {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(8px);
  animation: loginRise 420ms ease both;
}

.login-brand {
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.96),
      rgba(240, 250, 247, 0.88)
    ),
    radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.14), transparent 40%);
}

.login-card {
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.97),
      rgba(255, 248, 240, 0.92)
    ),
    radial-gradient(circle at 100% 0%, rgba(180, 83, 9, 0.12), transparent 40%);
  animation-delay: 70ms;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #14532d 60%, #b45309);
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.28);
}

.brand-kicker {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.brand-sub {
  margin: 0.08rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.login-brand h1 {
  margin-top: 0.72rem;
  max-width: 14ch;
}

.login-points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #55626d;
}

.login-points li {
  margin-bottom: 0.5rem;
}

.login-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
}

.login-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.login-filter {
  width: 100%;
}

.login-filter select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.66rem 0.72rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.login-filter select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.78);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  transform: translateY(-1px);
}

.access-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.access-tile {
  border: 1px solid #d5dfdc;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #f3f8f7);
  color: var(--text);
  box-shadow: none;
  padding: 0.62rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.52rem;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.access-tile:hover {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 8px 14px rgba(15, 118, 110, 0.14);
  transform: translateY(-1px);
}

.access-tile.active {
  border-color: rgba(15, 118, 110, 0.78);
  background: linear-gradient(160deg, #e7f7f4, #f2fbfa);
  box-shadow: 0 9px 16px rgba(15, 118, 110, 0.16);
}

.access-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #14532d);
}

.access-text {
  font-size: 0.85rem;
  font-weight: 700;
}

.login-actions {
  display: flex;
  gap: 0.6rem;
}

.login-actions button {
  min-width: 128px;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.23);
}

.login-actions .secondary-btn {
  box-shadow: 0 7px 16px rgba(17, 24, 39, 0.08);
}

.login-footnote {
  text-align: center;
  color: #5f6a73;
  font-size: 0.86rem;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

@keyframes loginRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-page .layout {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .access-tiles {
    grid-template-columns: 1fr;
  }

  .login-actions {
    flex-direction: column;
  }

  .login-actions button {
    width: 100%;
  }
}

body.user-monitoring-page .product-panel {
  overflow: hidden;
}

body.user-monitoring-page .product-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.1rem;
  align-items: stretch;
}

body.user-monitoring-page .product-stage-column {
  min-width: 0;
}

body.user-monitoring-page .product-stage {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, 0.98),
      transparent 31%
    ),
    linear-gradient(145deg, #dff2f0 0%, #eef7f5 48%, #fff1e7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.user-monitoring-page .product-stage::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  bottom: -28%;
  border-radius: 50%;
  border: 1px solid rgba(8, 127, 140, 0.15);
  box-shadow:
    0 0 0 26px rgba(8, 127, 140, 0.04),
    0 0 0 52px rgba(8, 127, 140, 0.03);
}

body.user-monitoring-page .stage-label {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  color: var(--user-teal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

body.user-monitoring-page .product-art {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(270px, 70%);
  aspect-ratio: 1 / 0.82;
  place-items: center;
  transform: perspective(900px) rotateX(8deg)
    rotateY(var(--product-rotation, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.user-monitoring-page .product-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  height: 18%;
  bottom: -9%;
  border-radius: 50%;
  background: rgba(21, 62, 73, 0.25);
  filter: blur(16px);
  transform: translateZ(-30px);
}

body.user-monitoring-page .product-art-face {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: linear-gradient(145deg, #1296a0, #075766);
  box-shadow: 12px 14px 0 rgba(5, 71, 84, 0.18);
  backface-visibility: hidden;
  transform: translateZ(-18px);
}

body.user-monitoring-page .product-art-front {
  display: flex;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  transform: translateZ(8px);
}

body.user-monitoring-page .product-art-back {
  transform: translateZ(-12px) translate(14px, 14px);
  background: linear-gradient(145deg, #f59a5e, #d45f2c);
}

body.user-monitoring-page .product-art-side {
  transform: translateZ(-2px) translate(8px, 8px) rotate(4deg);
  background: rgba(255, 255, 255, 0.52);
}

body.user-monitoring-page .product-art-top {
  transform: translateZ(-5px) translate(-7px, -7px) rotate(-4deg);
  background: rgba(255, 255, 255, 0.3);
}

body.user-monitoring-page .product-art-mark {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.user-monitoring-page .product-art-code {
  max-width: 80%;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.user-monitoring-page .product-image {
  position: relative;
  z-index: 3;
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(16px 18px 9px rgba(13, 62, 73, 0.2));
  transform: translateZ(28px) rotate(-3deg);
}

body.user-monitoring-page .product-image[hidden],
body.user-monitoring-page .stage-empty[hidden] {
  display: none;
}

body.user-monitoring-page .stage-empty {
  position: absolute;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.user-monitoring-page .stage-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--user-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.user-monitoring-page .stage-control {
  display: inline-grid;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(8, 127, 140, 0.25);
  border-radius: 50%;
  color: var(--user-teal);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

body.user-monitoring-page .stage-control:hover {
  background: #fff;
  transform: translateY(-1px);
}

body.user-monitoring-page .product-picker {
  display: flex;
  gap: 0.65rem;
  max-width: 100%;
  margin-top: 0.8rem;
  padding: 0.25rem 0.1rem 0.5rem;
  overflow-x: auto;
  scrollbar-color: rgba(8, 127, 140, 0.45) transparent;
}

body.user-monitoring-page .product-picker-item {
  display: flex;
  flex: 0 0 190px;
  align-items: center;
  gap: 0.55rem;
  min-height: 68px;
  padding: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--user-line);
  border-radius: 13px;
  color: var(--user-ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
  text-align: left;
}

body.user-monitoring-page .product-picker-item:hover,
body.user-monitoring-page .product-picker-item.active {
  border-color: rgba(8, 127, 140, 0.55);
  background: #e9f8f5;
  box-shadow: 0 7px 16px rgba(8, 127, 140, 0.11);
  transform: translateY(-1px);
}

body.user-monitoring-page .picker-image-wrap {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #d9f0ed, #fff0e5);
}

body.user-monitoring-page .picker-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.user-monitoring-page .picker-image-fallback {
  color: var(--user-teal);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body.user-monitoring-page .picker-copy {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

body.user-monitoring-page .picker-copy strong,
body.user-monitoring-page .picker-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.user-monitoring-page .picker-copy strong {
  font-size: 0.77rem;
}

body.user-monitoring-page .picker-copy span {
  color: var(--user-muted);
  font-size: 0.7rem;
}

body.user-monitoring-page .picker-empty {
  width: 100%;
  margin: 0;
  padding: 1.4rem;
  color: var(--user-muted);
  text-align: center;
}

body.user-monitoring-page .product-detail {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 0%, #f4fbfa 68%, #fff7f0 100%);
}

body.user-monitoring-page .detail-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--user-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.user-monitoring-page .detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

body.user-monitoring-page .detail-heading h3 {
  max-width: 390px;
  margin: 0;
  color: var(--user-ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
}

body.user-monitoring-page .detail-warehouse {
  margin: 0.55rem 0 0;
  color: var(--user-teal);
  font-weight: 800;
}

body.user-monitoring-page .stock-badge {
  flex: 0 0 auto;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(111, 137, 158, 0.22);
  border-radius: 999px;
  color: var(--user-muted);
  background: #f1f5f6;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

body.user-monitoring-page .stock-badge.in-stock {
  color: #187b50;
  background: #e3f7ea;
  border-color: rgba(24, 123, 80, 0.2);
}

body.user-monitoring-page .stock-badge.out-of-stock {
  color: #b54d2b;
  background: #fff0e7;
  border-color: rgba(181, 77, 43, 0.2);
}

body.user-monitoring-page .detail-rule {
  height: 1px;
  margin: 1.5rem 0;
  background: rgba(111, 137, 158, 0.18);
}

body.user-monitoring-page .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

body.user-monitoring-page .detail-grid div {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(111, 137, 158, 0.14);
}

body.user-monitoring-page .detail-grid dt {
  margin-bottom: 0.28rem;
  color: var(--user-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.user-monitoring-page .detail-grid dd {
  margin: 0;
  overflow: hidden;
  color: var(--user-ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.user-monitoring-page .detail-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.75rem;
  border-radius: 12px;
  color: var(--user-muted);
  background: rgba(8, 127, 140, 0.06);
}

body.user-monitoring-page .detail-note-icon {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--user-teal);
  font-size: 0.72rem;
  font-weight: 900;
}

body.user-monitoring-page .detail-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 820px) {
  body.user-monitoring-page .product-explorer {
    grid-template-columns: 1fr;
  }

  body.user-monitoring-page .product-stage,
  body.user-monitoring-page .product-detail {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  body.user-monitoring-page .product-stage {
    min-height: 310px;
    padding: 1.2rem;
  }

  body.user-monitoring-page .product-detail {
    min-height: 0;
    padding: 1.25rem;
  }

  body.user-monitoring-page .detail-heading {
    flex-direction: column;
  }

  body.user-monitoring-page .detail-grid {
    gap: 0.75rem;
  }
}
