@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Outfit:wght@500;700;800&display=swap');

:root {
  --white: #ffffff;
  --lav-blue: #0a62bd;
  --lav-blue-deep: #0a4a95;
  --lav-cyan: #39c6df;
  --lav-coral: #f46f6d;
  --ink: #163552;
  --soft: #f2f7fb;
  --border: #d3e4f1;
  --danger: #cc3a2b;
  --warning: #c8700a;
  --ok: #0f8a49;
  --shadow-soft: 0 14px 28px rgba(8, 64, 123, 0.14);
  --shadow-card: 0 10px 24px rgba(10, 69, 128, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 100% 0%, rgba(57, 198, 223, 0.2), transparent 60%),
    radial-gradient(760px 360px at 0% 100%, rgba(244, 111, 109, 0.18), transparent 55%),
    #eef4f9;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: 'Outfit', sans-serif;
}

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

a {
  color: inherit;
}

.app-shell {
  --sidebar-width: 248px;
  --sidebar-collapsed-width: 84px;
  --sidebar-current-width: var(--sidebar-width);
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-current-width) minmax(0, 1fr);
  transition: grid-template-columns 220ms ease;
}

.app-shell.sidebar-collapsed {
  --sidebar-current-width: var(--sidebar-collapsed-width);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0.72rem 0.72rem 0.82rem;
  background:
    radial-gradient(circle at 16% 10%, rgba(244, 111, 109, 0.28), transparent 20%),
    radial-gradient(circle at 92% 14%, rgba(57, 198, 223, 0.32), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(244, 111, 109, 0.2), transparent 28%),
    linear-gradient(185deg, #0a5bb3, #0c63bf 52%, #0b4a90 100%);
  box-shadow: 10px 0 28px rgba(6, 52, 106, 0.25);
  z-index: 20;
  transition: padding 220ms ease;
  overflow: hidden;
}

.app-sidebar::before,
.app-sidebar::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.app-sidebar::before {
  top: 2.5rem;
  right: -3.75rem;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(57, 198, 223, 0.26), transparent 68%);
}

.app-sidebar::after {
  left: -2.8rem;
  bottom: -2.2rem;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle, rgba(244, 111, 109, 0.24), transparent 66%);
}

.sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
  margin-bottom: 0.52rem;
}

.sidebar-brand,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f7fbff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.22px;
  min-width: 0;
}

.sidebar-brand {
  flex: 1 1 auto;
  max-width: min(10.8rem, 100%);
}

.sidebar-brand-mark {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.25rem;
}

.sidebar-brand-logo {
  display: block;
  width: auto;
  max-width: 10.4rem;
  height: 2.48rem;
  object-fit: contain;
  object-position: left center;
}

.sidebar-brand-text {
  white-space: nowrap;
}

.sidebar-brand-text--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sidebar-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--lav-coral);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.sidebar-compact-toggle,
.sidebar-close {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.sidebar-compact-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-compact-toggle .btn-icon {
  width: 16px;
  height: 16px;
}

.sidebar-close {
  display: none;
}

.sidebar-caption {
  margin: 0.85rem 0 1rem;
  color: rgba(235, 246, 255, 0.84);
  font-size: 0.84rem;
}

.sidebar-nav {
  display: grid;
  gap: 0.3rem;
  position: relative;
  z-index: 1;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
}

.sidebar-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.7rem 0 0.08rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(228, 243, 255, 0.82);
  font-weight: 700;
}

.sidebar-group::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(57, 198, 223, 0.95), rgba(244, 111, 109, 0.95));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.sidebar-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #edf7ff;
  text-decoration: none;
  min-height: 3rem;
  padding: 0.48rem 0.62rem;
  border-radius: 14px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-link-icon {
  width: 1.78rem;
  height: 1.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.78rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nav-link-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link-label {
  min-width: 0;
  white-space: nowrap;
}

.sidebar-link--cyan .nav-link-icon {
  background: linear-gradient(145deg, rgba(57, 198, 223, 0.32), rgba(57, 198, 223, 0.14));
}

.sidebar-link--coral .nav-link-icon {
  background: linear-gradient(145deg, rgba(244, 111, 109, 0.32), rgba(244, 111, 109, 0.14));
}

.sidebar-link--sky .nav-link-icon {
  background: linear-gradient(145deg, rgba(125, 211, 247, 0.28), rgba(125, 211, 247, 0.12));
}

.sidebar-nav a:hover {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(2px);
  box-shadow: 0 12px 24px rgba(6, 44, 86, 0.16);
}

.sidebar-nav a:hover .nav-link-icon {
  border-color: rgba(255, 255, 255, 0.3);
}

.sidebar-nav a.active {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08) 42%, rgba(57, 198, 223, 0.08) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(5, 38, 74, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  inset: 0.54rem auto 0.54rem 0.22rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(244, 111, 109, 0.9), rgba(57, 198, 223, 0.86));
}

.sidebar-nav a.active .nav-link-icon {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(244, 111, 109, 0.34), rgba(57, 198, 223, 0.24));
}

.app-shell.sidebar-collapsed .app-sidebar {
  padding-inline: 0.55rem;
}

.app-shell.sidebar-collapsed .sidebar-head {
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-brand {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-brand-text,
.app-shell.sidebar-collapsed .nav-link-label {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-head-actions {
  width: auto;
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-compact-toggle .btn-icon svg {
  transform: scaleX(-1);
}

.app-shell.sidebar-collapsed .sidebar-group {
  height: 1px;
  margin: 0.66rem 0 0.16rem;
  border-radius: 999px;
  overflow: hidden;
  color: transparent;
  background: rgba(255, 255, 255, 0.16);
}

.app-shell.sidebar-collapsed .sidebar-nav a {
  justify-content: center;
  padding-inline: 0.4rem;
}

.app-shell.sidebar-collapsed .sidebar-nav a::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 0.7rem);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 0.42rem 0.62rem;
  border-radius: 10px;
  background: rgba(11, 35, 63, 0.96);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(3, 20, 38, 0.26);
  transition: opacity 160ms ease, transform 160ms ease;
}

.app-shell.sidebar-collapsed .sidebar-nav a:hover::after,
.app-shell.sidebar-collapsed .sidebar-nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(3px);
}

.sidebar-backdrop {
  display: none;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(4, 28, 53, 0.5);
}

.app-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(241, 248, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d8e8f4;
}

.sidebar-toggle {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  border: 1px solid #bfd6e8;
  background: #ffffff;
  color: var(--lav-blue-deep);
  cursor: pointer;
  font-size: 1.15rem;
}

.sidebar-toggle .btn-icon {
  width: 18px;
  height: 18px;
}

.topbar-copy {
  display: grid;
  gap: 0.15rem;
}

.topbar-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #113455;
}

.topbar-subtitle {
  margin: 0;
  font-size: 0.86rem;
  color: #5d7388;
}

.user-menu {
  position: relative;
}

.user-trigger {
  min-width: 188px;
  border: 1px solid #c9dced;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.07), rgba(255, 255, 255, 0.98) 32%, rgba(255, 255, 255, 0.98) 86%, rgba(244, 111, 109, 0.04)),
    #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  border-radius: 999px;
  padding: 0.24rem 0.48rem 0.24rem 0.24rem;
  box-shadow: 0 6px 14px rgba(9, 68, 126, 0.08);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.user-trigger:hover,
.user-menu.is-open .user-trigger {
  border-color: rgba(57, 198, 223, 0.52);
  box-shadow: 0 12px 24px rgba(9, 68, 126, 0.13);
  transform: translateY(-1px);
}

.user-avatar {
  width: 1.86rem;
  height: 1.86rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(125deg, var(--lav-blue), #1384d8);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.user-summary {
  display: grid;
  text-align: left;
  min-width: 0;
  flex: 1 1 auto;
}

.user-summary strong {
  font-size: 0.82rem;
  color: #113455;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-summary small {
  font-size: 0.68rem;
  color: #647d93;
  font-weight: 800;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-caret {
  display: inline-grid;
  place-items: center;
  width: 1.18rem;
  height: 1.18rem;
  margin-left: 0.08rem;
  border-radius: 999px;
  color: #5f7b93;
  font-size: 0.68rem;
  background: rgba(232, 242, 250, 0.72);
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 286px;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.07), rgba(255, 255, 255, 0.98) 24%, rgba(255, 255, 255, 0.98) 82%, rgba(244, 111, 109, 0.05)),
    #ffffff;
  border: 1px solid #d5e4f0;
  border-radius: 18px;
  box-shadow: 0 24px 46px rgba(8, 66, 124, 0.18);
  padding: 0.78rem;
  overflow: hidden;
}

.user-menu.is-open .user-dropdown {
  display: grid;
  gap: 0.42rem;
}

.user-dropdown-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.62rem;
  align-items: center;
  padding: 0.36rem 0.3rem 0.46rem;
  border-bottom: 1px solid rgba(213, 228, 240, 0.8);
}

.user-dropdown-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, var(--lav-blue), #237bd0 58%, var(--lav-cyan));
  box-shadow: 0 12px 24px rgba(10, 91, 170, 0.18);
}

.user-dropdown-name {
  margin: 0;
  font-weight: 800;
  color: #173958;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.user-dropdown-role {
  margin: 0.08rem 0 0;
  color: #6887a0;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.user-dropdown-email {
  margin: 0.14rem 0 0.1rem;
  padding: 0.42rem 0.52rem;
  border: 1px solid rgba(216, 230, 240, 0.82);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: #5b748d;
  font-size: 0.82rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.user-dropdown a,
.user-dropdown .logout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 40px;
  width: 100%;
  text-decoration: none;
  color: #1f4f7d;
  padding: 0.5rem 0.58rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.user-dropdown a .btn-icon,
.user-dropdown .logout-link .btn-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.user-dropdown a:hover {
  background: #edf6ff;
}

.logout-form {
  margin: 0;
}

.user-dropdown .logout-link {
  text-align: left;
  border: 1px solid rgba(244, 111, 109, 0.18);
  background: linear-gradient(120deg, #fff8f7, #fff0ee);
  color: #a0332a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.user-dropdown .logout-link:hover {
  color: #ffffff;
  background: linear-gradient(120deg, #cf5953, var(--lav-coral));
  border-color: rgba(207, 89, 83, 0.62);
}

.app-content {
  min-width: 0;
}

.page-content {
  width: min(1410px, 96%);
  margin: 0 auto;
  padding: 1.2rem 0 2.4rem;
}

.guest-header {
  background: linear-gradient(120deg, var(--lav-blue), #1571d2 56%, #29a4de 100%);
  box-shadow: 0 10px 24px rgba(8, 52, 105, 0.24);
}

.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.guest-brand {
  max-width: min(13rem, 100%);
}

.guest-brand-logo {
  display: block;
  width: auto;
  max-width: 12.2rem;
  height: 2.58rem;
  object-fit: contain;
  object-position: left center;
}

.guest-page-content {
  padding-top: 1.8rem;
}

.hero {
  padding: 1.35rem;
  border-radius: 20px;
  border: 1px solid #d7e7f3;
  background:
    radial-gradient(circle at right, rgba(57, 198, 223, 0.25), transparent 44%),
    linear-gradient(125deg, #ffffff, #ecf7ff 62%, #fff3ef);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}

.badge {
  background: linear-gradient(120deg, var(--lav-blue), #0f79d6);
  color: var(--white);
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  font-size: 0.84rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.products-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid #cce0ef;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.94)),
    radial-gradient(circle at right, rgba(57, 198, 223, 0.4), rgba(244, 111, 109, 0.3));
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-card);
}

.products-hero h1 {
  margin-bottom: 0.35rem;
}

.products-hero p {
  margin: 0;
  max-width: 660px;
}

.products-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(120deg, #0a4fa6, #1470d5);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.products-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.products-kpi {
  background: #ffffff;
  border: 1px solid #d8ebf8;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 8px 18px rgba(10, 79, 166, 0.07);
}

.products-kpi h2 {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.82;
}

.products-kpi p {
  margin: 0.2rem 0 0;
  font-size: 1.36rem;
  font-weight: 800;
}

.products-kpi.warning {
  border-color: #f7dab6;
  background: #fff7ed;
}

.products-kpi.warning p {
  color: var(--warning);
}

.products-kpi.danger {
  border-color: #f5c4c4;
  background: #fff2f2;
}

.products-kpi.danger p {
  color: var(--danger);
}

.products-panel {
  border: 1px solid #c5e1f2;
  container-type: inline-size;
  container-name: products-panel;
}

.categories-panel,
.suppliers-panel,
.dosifiers-panel {
  container-type: inline-size;
  container-name: inventory-list-panel;
}

.products-toolbar input {
  min-width: 330px;
}

.products-table-shell table tbody tr:hover {
  background: linear-gradient(90deg, rgba(57, 198, 223, 0.09), rgba(244, 111, 109, 0.06) 100%);
}

.module-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid #cfe3f2;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 20%, rgba(57, 198, 223, 0.2), transparent 40%),
    linear-gradient(122deg, #ffffff, #edf7ff 66%, #fff5f1);
  margin-bottom: 0.85rem;
  box-shadow: 0 10px 22px rgba(8, 68, 128, 0.08);
}

.module-hero.compact {
  margin-bottom: 0.7rem;
}

.module-kicker {
  margin: 0 0 0.26rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1a66b5;
  font-weight: 700;
}

.module-hero h1 {
  margin: 0;
}

.module-hero p {
  margin: 0.28rem 0 0;
  color: #546f87;
}

.module-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--lav-blue), #0f79d6);
  color: #ffffff;
  padding: 0.42rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.section-eyebrow {
  margin: 0 0 0.18rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #1b6bb5;
  font-weight: 800;
  justify-self: start;
  text-align: left;
}

.users-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-items: stretch;
  padding: 1.08rem 1.18rem;
}

.users-hero::before,
.users-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.users-hero::before {
  right: -5.8rem;
  bottom: -6.6rem;
  width: 17rem;
  height: 17rem;
  background: radial-gradient(circle, rgba(244, 111, 109, 0.22), transparent 67%);
}

.users-hero::after {
  right: 9rem;
  top: -6.8rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(57, 198, 223, 0.18), transparent 66%);
}

.users-hero > * {
  position: relative;
  z-index: 1;
}

.users-hero__content {
  max-width: 40rem;
}

.users-hero__content h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 2.7rem);
}

.users-hero__content p:not(.module-kicker) {
  max-width: 56ch;
  color: #527089;
  line-height: 1.55;
}

.users-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
  margin-top: 0.76rem;
}

.users-hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 103, 181, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #245780;
  font-size: 0.83rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(12, 76, 134, 0.08);
}

.users-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(148px, 178px));
  gap: 0.56rem;
  align-self: center;
  min-width: 0;
  max-width: 100%;
}

.users-hero__stats--single {
  grid-template-columns: minmax(148px, 178px);
}

.accounts-hero__stats {
  grid-template-columns: repeat(2, minmax(136px, 156px));
  gap: 0.56rem;
}

.products-hero__stats {
  grid-template-columns: repeat(4, minmax(136px, 156px));
}

.categories-hero__stats {
  grid-template-columns: repeat(2, minmax(136px, 156px));
}

.products-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.accounts-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.categories-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.products-hero__stats .users-stat-card small,
.products-hero__stats .users-stat-card strong {
  text-align: left;
}

.accounts-hero__stats .users-stat-card small,
.accounts-hero__stats .users-stat-card strong {
  text-align: left;
}

.categories-hero__stats .users-stat-card small,
.categories-hero__stats .users-stat-card strong {
  text-align: left;
}

.products-hero__stats .users-stat-card small {
  min-height: auto;
}

.accounts-hero__stats .users-stat-card small {
  min-height: auto;
}

.categories-hero__stats .users-stat-card small {
  min-height: auto;
}

.suppliers-hero__stats,
.reports-hero__stats--three {
  grid-template-columns: repeat(3, minmax(142px, 164px));
}

.suppliers-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.suppliers-hero__stats .users-stat-card small,
.suppliers-hero__stats .users-stat-card strong {
  text-align: left;
}

.suppliers-hero__stats .users-stat-card small {
  min-height: auto;
}

.suppliers-hero__stats {
  gap: 0.56rem;
}

.dosifiers-hero__stats {
  grid-template-columns: repeat(2, minmax(136px, 156px));
  gap: 0.56rem;
}

.dosifiers-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.dosifiers-hero__stats .users-stat-card small,
.dosifiers-hero__stats .users-stat-card strong {
  text-align: left;
}

.dosifiers-hero__stats .users-stat-card small {
  min-height: auto;
}

.entries-hero__stats {
  grid-template-columns: minmax(136px, 156px);
  gap: 0.56rem;
}

.entries-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.entries-hero__stats .users-stat-card small,
.entries-hero__stats .users-stat-card strong {
  text-align: left;
}

.entries-hero__stats .users-stat-card small {
  min-height: auto;
}

.outputs-hero__stats {
  grid-template-columns: minmax(136px, 156px);
  gap: 0.56rem;
}

.outputs-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.outputs-hero__stats .users-stat-card small,
.outputs-hero__stats .users-stat-card strong {
  text-align: left;
}

.outputs-hero__stats .users-stat-card small {
  min-height: auto;
}

.reports-hero__stats--four {
  grid-template-columns: repeat(4, minmax(148px, 172px));
}

.reports-hero__stats .users-stat-card {
  min-height: 78px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.reports-hero__stats .users-stat-card small,
.reports-hero__stats .users-stat-card strong {
  text-align: left;
}

.reports-hero__stats .users-stat-card small {
  min-height: auto;
}

.reports-hero__stats--five {
  grid-template-columns: repeat(3, minmax(150px, 178px));
}

.reports-hero__stats--five:not(.reports-hero__stats--four-only) .users-stat-card:nth-last-child(2) {
  grid-column: 2;
}

.reports-hero__stats--four-only {
  grid-template-columns: repeat(2, minmax(150px, 178px));
}

.reports-hero__stats--six {
  grid-template-columns: repeat(3, minmax(150px, 178px));
}

.users-hero--detail .users-hero__stats {
  grid-template-columns: minmax(0, 168px);
  justify-self: end;
  margin-left: auto;
}

.users-hero--detail .users-stat-card {
  width: 168px;
  padding: 0.72rem 0.78rem;
}

.users-hero--detail .users-stat-card strong {
  font-size: 1.3rem;
}

.users-stat-card {
  position: relative;
  display: grid;
  gap: 0.1rem;
  align-content: center;
  min-width: 0;
  min-height: 76px;
  padding: 0.72rem 0.78rem;
  border-radius: 16px;
  border: 1px solid #d5e5f0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 28px rgba(8, 66, 124, 0.12);
  backdrop-filter: blur(8px);
}

.users-stat-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--lav-blue), var(--lav-cyan));
}

.users-stat-card small {
  min-width: 0;
  max-width: 100%;
  margin-left: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.69rem;
  line-height: 1.2;
  font-weight: 800;
  color: #6887a0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.users-stat-card strong {
  min-width: 0;
  max-width: 100%;
  margin-left: 0.2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.32rem;
  line-height: 1.08;
  color: #163f67;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.users-stat-card span {
  min-width: 0;
  max-width: 100%;
  margin-left: 0.2rem;
  color: #5f7b93;
  font-size: 0.84rem;
  line-height: 1.22;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.users-stat-card--coral::before {
  background: linear-gradient(180deg, var(--lav-coral), #f6a48b);
}

.users-stat-card--cyan::before {
  background: linear-gradient(180deg, var(--lav-cyan), #71d8df);
}

.profile-hero__stats {
  grid-template-columns: repeat(2, minmax(148px, 178px));
}

.profile-panel {
  overflow: hidden;
}

.profile-panel::after {
  top: auto;
  right: 1.2rem;
  bottom: 0.8rem;
  width: min(28rem, 46%);
  height: 9rem;
  border-radius: 0;
  background: url("../img/logo-lavandera.c244191ac044.png") center / contain no-repeat;
  opacity: 0.055;
}

.profile-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.profile-summary-card,
.profile-info-card {
  border: 1px solid #d7e7f2;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.06), rgba(255, 255, 255, 0.98) 26%, rgba(255, 255, 255, 0.98) 78%, rgba(244, 111, 109, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  box-shadow: 0 12px 24px rgba(8, 66, 124, 0.08);
}

.profile-summary-card {
  display: grid;
  gap: 0.82rem;
  justify-items: start;
  padding: 1rem;
  border-radius: 18px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 22px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--lav-blue), #237bd0 58%, var(--lav-cyan));
  box-shadow: 0 16px 30px rgba(10, 91, 170, 0.2);
}

.profile-summary-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.profile-summary-copy h2 {
  margin: 0;
  color: #173f66;
  font-size: 1.28rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.profile-username {
  color: #5f7b93;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.profile-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.profile-main-action {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.profile-main-grid {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.profile-info-card {
  display: grid;
  gap: 0.82rem;
  padding: 0.92rem;
  border-radius: 18px;
}

.profile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.72rem;
}

.profile-card-head h2 {
  margin: 0;
  color: #173f66;
  font-size: 1.18rem;
  line-height: 1.2;
}

.profile-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
  margin: 0;
}

.profile-info-list--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-info-list div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #dce9f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.profile-info-list dt {
  color: #6a879e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-info-list dd {
  margin: 0;
  color: #1b4268;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.profile-note-text {
  margin: 0;
  padding: 0.72rem;
  border: 1px solid #dce9f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #315879;
  font-size: 0.9rem;
  line-height: 1.45;
}

.users-panel {
  position: relative;
  overflow: hidden;
  padding: 0.98rem 1.02rem 0.92rem;
}

.users-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lav-blue), var(--lav-cyan), var(--lav-coral));
}

.users-panel::after {
  content: '';
  position: absolute;
  top: -4.6rem;
  right: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 198, 223, 0.08), transparent 66%);
  pointer-events: none;
}

.users-section-head {
  position: relative;
  align-items: flex-start;
  margin-bottom: 0.82rem;
}

.users-section-copy {
  display: grid;
  gap: 0.06rem;
  justify-items: start;
  text-align: left;
}

.users-section-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
}

.users-section-copy p:last-child {
  margin: 0;
  max-width: 58ch;
  color: #5f7b93;
  font-size: 0.91rem;
  line-height: 1.5;
}

.users-panel-actions {
  position: relative;
  z-index: 1;
  align-items: center;
}

.dashboard-hero {
  align-items: stretch;
}

.dashboard-hero__stats {
  grid-template-columns: repeat(3, minmax(136px, 156px));
  align-self: center;
  width: fit-content;
}

.dashboard-hero__stats .users-stat-card small,
.dashboard-hero__stats .users-stat-card strong {
  text-align: left;
}

.dashboard-hero__stats .users-stat-card small {
  min-height: auto;
}

.dashboard-panel .quick-actions {
  position: relative;
  z-index: 1;
  gap: 0.72rem;
}

.dashboard-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  justify-content: start;
  gap: 0.82rem;
}

.dashboard-card-grid--primary {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
}

.dashboard-card-grid--modules {
  grid-template-columns: repeat(auto-fit, minmax(172px, 235px));
}

.dashboard-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.dashboard-overview-grid--single {
  grid-template-columns: 1fr;
}

.dashboard-insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.dashboard-priority-panel,
.dashboard-chart-panel,
.dashboard-modules-panel {
  min-width: 0;
}

.dashboard-modules-panel {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.dashboard-modules-panel .dashboard-card-grid--modules {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  justify-content: stretch;
}

.dashboard-chart-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.72rem;
}

.dashboard-chart-panel--admin {
  align-items: stretch;
}

.dashboard-chart-panel--viewer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.dashboard-chart-panel > .section-head {
  grid-column: 1 / -1;
}

.dashboard-chart-panel > .dashboard-chart-card {
  height: auto;
  margin-top: 0;
}

.dashboard-chart-panel--viewer > .dashboard-chart-card {
  height: 100%;
}

.dashboard-chart-panel--admin > .dashboard-chart-card {
  height: 100%;
}

.dashboard-alert-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 0.72fr));
  gap: 0.62rem;
  margin-bottom: 0.78rem;
}

.dashboard-focus-card,
.dashboard-alert-card,
.dashboard-recent-item {
  text-decoration: none;
}

.dashboard-focus-card,
.dashboard-alert-card {
  display: grid;
  min-width: 0;
  min-height: 104px;
  padding: 0.78rem;
  border: 1px solid #d5e5f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 22px rgba(8, 66, 124, 0.08);
}

.dashboard-focus-card {
  align-content: center;
  background:
    linear-gradient(120deg, rgba(23, 105, 194, 0.12), rgba(57, 198, 223, 0.12)),
    rgba(255, 255, 255, 0.9);
}

.dashboard-focus-card span,
.dashboard-alert-card {
  min-width: 0;
}

.dashboard-focus-card small,
.dashboard-alert-card small {
  display: block;
  color: #6887a0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-focus-card strong,
.dashboard-alert-card strong {
  display: block;
  color: #173f66;
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  line-height: 1.02;
}

.dashboard-focus-card em,
.dashboard-alert-card span {
  color: #5f7b93;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.dashboard-alert-card {
  align-content: center;
  border-left: 4px solid var(--lav-blue);
}

.dashboard-alert-card--cyan {
  border-left-color: var(--lav-cyan);
}

.dashboard-alert-card--coral {
  border-left-color: var(--lav-coral);
}

.dashboard-recent-list,
.dashboard-top-list,
.dashboard-metric-bars {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
}

.dashboard-metric-bars + .dashboard-top-list {
  margin-top: 0.86rem;
}

.dashboard-top-list > .section-eyebrow {
  margin-bottom: 0.12rem;
}

.dashboard-chart-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #dce9f2;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.06), rgba(255, 255, 255, 0.9) 34%, rgba(244, 111, 109, 0.04)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 22px rgba(8, 66, 124, 0.07);
}

.dashboard-chart-card + .dashboard-chart-card {
  margin-top: 0.72rem;
}

.dashboard-chart-panel > .dashboard-chart-card + .dashboard-chart-card {
  margin-top: 0;
}

.dashboard-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.72rem;
  min-width: 0;
}

.dashboard-chart-head .section-eyebrow {
  margin: 0;
}

.dashboard-chart-head strong {
  color: #173f66;
  font-size: 0.92rem;
  line-height: 1.18;
  text-align: right;
  overflow-wrap: anywhere;
}

.dashboard-chart-canvas {
  position: relative;
  min-width: 0;
  height: 176px;
  min-height: 0;
  overflow: hidden;
  padding: 0.18rem 0.1rem 0.1rem;
}

.dashboard-chart-canvas--short {
  height: 168px;
}

.dashboard-chart-canvas--products {
  height: 198px;
}

.dashboard-chart-panel--viewer .dashboard-chart-canvas {
  height: 224px;
}

.dashboard-chart-panel--admin .dashboard-chart-canvas,
.dashboard-chart-panel--admin .dashboard-chart-canvas--short,
.dashboard-chart-panel--admin .dashboard-chart-canvas--products {
  height: 224px;
}

.dashboard-chart-canvas--donut {
  display: grid;
  place-items: center;
}

.dashboard-chart-canvas--donut canvas {
  max-width: 240px;
  margin-inline: auto;
}

.dashboard-chart-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.dashboard-compare-chart,
.dashboard-viewer-summary {
  display: grid;
  gap: 0.52rem;
}

.dashboard-charts-enabled .dashboard-compare-chart,
.dashboard-charts-enabled .dashboard-trend-chart,
.dashboard-charts-enabled .dashboard-top-list .dashboard-top-item {
  display: none;
}

.dashboard-compare-row {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.dashboard-compare-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.72rem;
  min-width: 0;
}

.dashboard-compare-row strong,
.dashboard-viewer-summary strong {
  color: #173f66;
  line-height: 1.16;
}

.dashboard-compare-row span,
.dashboard-viewer-summary small {
  color: #637f96;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-compare-row--coral .dashboard-bar span {
  background: linear-gradient(90deg, #d65d57, var(--lav-coral));
}

.dashboard-viewer-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-viewer-summary > span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.66rem;
  border: 1px solid rgba(213, 229, 240, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-viewer-summary strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.42rem;
}

.dashboard-trend-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.46rem;
  align-items: end;
  min-height: 128px;
  padding: 0.1rem 0 0;
}

.dashboard-trend-bar {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 0.22rem;
  min-width: 0;
  height: 128px;
  text-align: center;
}

.dashboard-trend-bar__track {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 76px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(232, 242, 250, 0.92), rgba(255, 255, 255, 0.64));
  overflow: hidden;
}

.dashboard-trend-bar__track span {
  display: block;
  width: 100%;
  min-height: 4px;
  height: max(4px, var(--bar-size, 0%));
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, var(--lav-blue), var(--lav-cyan));
}

.dashboard-trend-bar small {
  color: #6a879e;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.dashboard-trend-bar strong {
  color: #173f66;
  font-size: 0.8rem;
  line-height: 1.08;
}

.dashboard-recent-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.18rem 0.6rem;
  align-items: center;
  min-height: 58px;
  padding: 0.58rem 0.66rem;
  border: 1px solid #dce9f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.dashboard-recent-type {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  color: #1a65ad;
  background: #edf7ff;
  font-size: 0.74rem;
  font-weight: 900;
}

.dashboard-recent-item strong,
.dashboard-top-item strong,
.dashboard-metric-row strong {
  color: #173f66;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.dashboard-recent-item span:last-child,
.dashboard-top-item span,
.dashboard-metric-row span {
  color: #637f96;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.28;
}

.dashboard-metric-row,
.dashboard-top-item {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.64rem 0.7rem;
  border: 1px solid #dce9f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.dashboard-metric-row div,
.dashboard-top-item div {
  display: grid;
  min-width: 0;
}

.dashboard-bar {
  display: block;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f2fa;
}

.dashboard-bar span {
  display: block;
  width: max(4px, var(--bar-size, 0%));
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lav-blue), var(--lav-cyan));
}

.dashboard-metric-row--coral .dashboard-bar span {
  background: linear-gradient(90deg, #d65d57, var(--lav-coral));
}

.dashboard-bar--thin {
  height: 8px;
}

.dashboard-empty-state {
  padding: 0.7rem;
  border: 1px dashed #cfe0ec;
  border-radius: 14px;
  color: #6a879e;
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-link-card,
.dashboard-mini-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #d5e5f0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
  box-shadow: 0 16px 28px rgba(8, 66, 124, 0.1);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.dashboard-link-card:hover,
.dashboard-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(8, 66, 124, 0.14);
}

.dashboard-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.18rem;
  align-items: center;
  min-height: 86px;
  padding: 0.78rem;
  border-radius: 18px;
}

.dashboard-link-card::before,
.dashboard-mini-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lav-blue), var(--lav-cyan));
}

.dashboard-link-card--coral::before,
.dashboard-mini-card--coral::before {
  background: linear-gradient(180deg, var(--lav-coral), #f6a48b);
}

.dashboard-link-card--cyan::before,
.dashboard-mini-card--cyan::before {
  background: linear-gradient(180deg, var(--lav-cyan), #71d8df);
}

.dashboard-link-card--soft::before,
.dashboard-mini-card--soft::before {
  background: linear-gradient(180deg, #8fcdf0, #c1ecf2);
}

.dashboard-link-card__icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 103, 181, 0.16);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(17, 103, 181, 0.78), rgba(57, 198, 223, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dashboard-link-card--coral .dashboard-link-card__icon {
  background: linear-gradient(135deg, rgba(244, 111, 109, 0.92), rgba(243, 156, 120, 0.9));
}

.dashboard-link-card--soft .dashboard-link-card__icon {
  background: linear-gradient(135deg, rgba(56, 145, 201, 0.76), rgba(128, 216, 226, 0.82));
}

.dashboard-link-card__icon svg {
  width: 18px;
  height: 18px;
}

.dashboard-link-card__body {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.dashboard-link-card__body small {
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.69rem;
  font-weight: 800;
  color: #6a879e;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.dashboard-link-card__body strong {
  min-width: 0;
  color: #173f66;
  font-size: 1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.dashboard-link-card__body span {
  min-width: 0;
  color: #5f7b93;
  font-size: 0.82rem;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.dashboard-mini-card {
  display: grid;
  gap: 0.18rem;
  min-height: 74px;
  padding: 0.74rem 0.78rem 0.7rem;
  border-radius: 16px;
}

.dashboard-mini-card strong {
  min-width: 0;
  color: #173f66;
  font-size: 0.98rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.dashboard-mini-card span {
  min-width: 0;
  color: #5f7b93;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ops-hero {
  align-items: stretch;
}

.ops-hero .users-hero__content {
  max-width: 42rem;
}

.ops-hero__stats {
  grid-template-columns: repeat(5, minmax(136px, 164px));
}

.ops-hero__stats--three {
  grid-template-columns: repeat(3, minmax(142px, 176px));
}

.ops-hero__stats--four {
  grid-template-columns: repeat(4, minmax(142px, 172px));
}

.ops-hero__stats--single {
  grid-template-columns: minmax(148px, 190px);
}

.users-ghost-link {
  border-color: #f0c5b7;
  color: #b55d47;
  background: linear-gradient(120deg, #fff9f7, #fff3ef);
  box-shadow: 0 10px 20px rgba(185, 91, 63, 0.09);
}

.users-ghost-link.active {
  border-color: #e9aa96;
  background: linear-gradient(120deg, #ffece7, #fff6f3);
  color: #b45235;
}

.users-new-btn {
  padding-inline: 0.95rem;
  background: linear-gradient(120deg, #0c6fcb, #1783d7 54%, #26a7d5);
  box-shadow: 0 14px 24px rgba(8, 84, 158, 0.2);
}

.users-toolbar-wrap {
  position: relative;
  z-index: 12;
  margin-bottom: 0.82rem;
  padding: 0.8rem;
  border: 1px solid #dae8f1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 254, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.panel-muted {
  margin: 0 0 0.85rem;
  color: #53718d;
}

.form-panel {
  width: min(980px, 100%);
  margin-inline: auto;
}

.user-form-panel {
  width: min(980px, 100%);
}

.user-form-shell {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  padding: 0;
  border-radius: 20px;
  border: 1px solid #d1e2ef;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.98));
  box-shadow: 0 20px 36px rgba(10, 70, 126, 0.09);
}

.user-form-side {
  position: relative;
  overflow: hidden;
  padding: 1.02rem 0.92rem;
  border-right: 1px solid #d4e5f1;
  background:
    radial-gradient(circle at 0% 6%, rgba(57, 198, 223, 0.16), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(244, 111, 109, 0.18), transparent 40%),
    linear-gradient(160deg, #f3fbfc, #edf7ff 65%);
}

.user-form-side::after {
  content: '';
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 111, 109, 0.18), transparent 66%);
}

.user-form-side-kicker {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #3b6b8c;
  font-weight: 700;
}

.user-form-side h2 {
  margin: 0;
  font-size: 1.08rem;
  color: #0f3f67;
}

.user-form-side-copy {
  position: relative;
  z-index: 1;
  margin: 0.52rem 0 0;
  color: #567389;
  font-size: 0.89rem;
  line-height: 1.58;
}

.user-form-steps {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.user-form-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  position: relative;
}

.user-form-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 34px;
  width: 2px;
  height: calc(100% + 0.42rem);
  background: #d8e8f3;
}

.user-form-steps li span {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid #b9d4e6;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #4b6f8b;
  font-size: 0.8rem;
  font-weight: 800;
}

.user-form-steps li strong {
  display: block;
  font-size: 0.88rem;
  color: #1d496b;
}

.user-form-steps li small {
  display: block;
  margin-top: 0.08rem;
  color: #66859e;
  font-size: 0.76rem;
}

.user-form-steps li.is-complete span {
  border-color: #1f90bf;
  color: #ffffff;
  background: linear-gradient(120deg, #1f90bf, #0a62bd);
}

.user-form-steps li.is-active span {
  border-color: #2baea6;
  color: #0b6764;
  box-shadow: 0 0 0 4px rgba(43, 174, 166, 0.14);
}

.user-form-main {
  padding: 1rem 0.98rem 0.92rem;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.form-intro {
  margin-bottom: 0.78rem;
}

.form-intro h2 {
  margin: 0;
  font-size: 1.24rem;
}

.form-intro p {
  margin: 0.22rem 0 0;
  color: #5f7a90;
  font-size: 0.9rem;
}

.field-block {
  display: grid;
  gap: 0.3rem;
  padding: 0.72rem 0.76rem 0.68rem;
  border: 1px solid #dce9f1;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.field-block label {
  font-weight: 700;
  font-size: 0.87rem;
  color: #244d6b;
  letter-spacing: 0.01em;
}

.field-block .errorlist {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #a1322a;
  font-size: 0.82rem;
}

.field-errors .errorlist {
  margin-top: 0.1rem;
}

.form-error-box {
  border: 1px solid #f2b8b6;
  border-radius: 12px;
  padding: 0.64rem 0.76rem;
  background: #fff3f3;
  color: #9f2f2b;
  font-size: 0.88rem;
}

.form-error-box .errorlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.form-section-title {
  margin: 0.18rem 0 0.12rem;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a6e9f;
  font-weight: 800;
}

.user-form-grid {
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  column-gap: 0.82rem;
  row-gap: 0.7rem;
  align-items: start;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.user-form-panel input,
.user-form-panel select,
.user-form-panel textarea {
  width: 100%;
  border: 1px solid #ccdee9;
  border-radius: 12px;
  padding: 0.64rem 0.72rem;
  min-height: 44px;
  font: inherit;
  background: #ffffff;
}

.user-form-panel select,
.user-form-main select,
.form-grid select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.25;
  background-color: #ffffff;
  padding-right: 2.35rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f7b93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.82rem center;
  background-size: 14px 14px;
}

.user-form-panel input[type='number'],
.user-form-main input[type='number'],
.form-grid input[type='number'] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

.user-form-panel input[type='number']::-webkit-outer-spin-button,
.user-form-panel input[type='number']::-webkit-inner-spin-button,
.user-form-main input[type='number']::-webkit-outer-spin-button,
.user-form-main input[type='number']::-webkit-inner-spin-button,
.form-grid input[type='number']::-webkit-outer-spin-button,
.form-grid input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.user-form-panel input[type='file'],
.user-form-main input[type='file'],
.form-grid input[type='file'] {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.4rem 0.48rem;
  border: 1px solid #ccdee9;
  border-radius: 12px;
  background: #ffffff;
  color: #355b7e;
  font: inherit;
}

.user-form-panel input[type='file']::file-selector-button,
.user-form-main input[type='file']::file-selector-button,
.form-grid input[type='file']::file-selector-button,
.user-form-panel input[type='file']::-webkit-file-upload-button,
.user-form-main input[type='file']::-webkit-file-upload-button,
.form-grid input[type='file']::-webkit-file-upload-button {
  appearance: none;
  -webkit-appearance: none;
  margin-right: 0.7rem;
  border: 1px solid #c7dceb;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f4f9fd);
  color: #355b7e;
  font: inherit;
  font-weight: 700;
  padding: 0.48rem 0.76rem;
  cursor: pointer;
}

.user-form-panel input:focus,
.user-form-panel select:focus,
.user-form-panel textarea:focus {
  outline: none;
  border-color: #2baea6;
  box-shadow: 0 0 0 3px rgba(43, 174, 166, 0.16);
}

.user-form-main input,
.user-form-main select,
.user-form-main textarea {
  width: 100%;
  border: 1px solid #ccdee9;
  border-radius: 12px;
  padding: 0.64rem 0.72rem;
  min-height: 44px;
  font: inherit;
  background: #ffffff;
}

.user-form-main input:focus,
.user-form-main select:focus,
.user-form-main textarea:focus {
  outline: none;
  border-color: #2baea6;
  box-shadow: 0 0 0 3px rgba(43, 174, 166, 0.16);
}

.user-form-panel textarea,
.user-form-main textarea {
  min-height: 104px;
  resize: vertical;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.72rem;
}

.detail-card {
  border: 1px solid #d4e6f3;
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.85rem;
}

.detail-card p {
  margin: 0.36rem 0;
}

.audit-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 174px) 112px;
  align-items: stretch;
  gap: 0.6rem;
  width: min(100%, 820px);
  margin-bottom: 0.82rem;
}

.toolbar.is-auto-submit button[type='submit'],
.users-toolbar.is-auto-submit button[type='submit'],
.audit-toolbar.is-auto-submit button[type='submit'] {
  display: none;
}

.audit-toolbar .search-field {
  flex: initial;
  min-width: 0;
  width: 100%;
  max-width: none;
}

.audit-toolbar.is-auto-submit {
  width: min(100%, 720px);
}

.audit-toolbar .search-field input {
  min-width: 0;
}

.users-toolbar .search-field input,
.audit-toolbar .search-field input,
.users-toolbar select {
  min-height: 48px;
  border: 1px solid #caddeb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font: inherit;
  color: #173f66;
}

.users-toolbar .search-field input:focus,
.audit-toolbar .search-field input:focus,
.users-toolbar select:focus {
  outline: none;
  border-color: var(--lav-coral);
  box-shadow: 0 0 0 3px rgba(244, 111, 109, 0.16);
}

.products-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 172px) 104px;
  align-items: stretch;
  gap: 0.62rem;
  width: 100%;
  margin: 0;
}

.products-toolbar .search-field {
  min-width: 0;
  max-width: none;
}

.products-toolbar.is-auto-submit {
  grid-template-columns: minmax(280px, 1fr) minmax(150px, 172px);
  width: min(100%, 640px);
}

.products-toolbar input,
.products-toolbar select,
.products-toolbar .btn-outline,
.users-filter-menu summary {
  width: 100%;
  min-width: 0;
}

.outputs-toolbar {
  grid-template-columns: minmax(260px, 1fr) 104px;
  width: min(520px, 100%);
}

.outputs-toolbar.is-auto-submit {
  grid-template-columns: minmax(260px, 1fr);
  width: min(400px, 100%);
}

.entries-toolbar {
  grid-template-columns: minmax(260px, 1fr) 104px;
  width: min(520px, 100%);
}

.entries-toolbar.is-auto-submit {
  grid-template-columns: minmax(260px, 1fr);
  width: min(400px, 100%);
}

.dosifiers-toolbar {
  grid-template-columns: minmax(280px, 1fr) 180px 112px;
  width: min(760px, 100%);
}

.users-toolbar.report-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(132px, 0.85fr)) 120px 120px;
  align-items: stretch;
  gap: 0.72rem;
  width: 100%;
  max-width: none;
}

.users-toolbar.report-toolbar .search-field {
  width: 100%;
  max-width: none;
}

.users-toolbar.report-toolbar > select,
.users-toolbar.report-toolbar > input[type='date'],
.users-toolbar.report-toolbar > input[type='text'] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #caddeb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.users-toolbar.report-toolbar > select:focus,
.users-toolbar.report-toolbar > input[type='date']:focus,
.users-toolbar.report-toolbar > input[type='text']:focus {
  outline: none;
  border-color: var(--lav-coral);
  box-shadow: 0 0 0 3px rgba(244, 111, 109, 0.16);
}

.users-toolbar.report-toolbar .btn-outline,
.users-toolbar.report-toolbar .btn-primary,
.report-reset-btn {
  width: 100%;
  min-width: 122px;
  min-height: 48px;
}

.users-toolbar.report-toolbar.report-toolbar--kardex > select[name='product'],
.users-toolbar.report-toolbar.report-toolbar--kardex > .searchable-select {
  max-width: none;
}

.users-toolbar.report-toolbar.report-toolbar--kardex {
  grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(148px, 0.9fr)) 156px 120px;
}

.users-toolbar.report-toolbar.report-toolbar--existence {
  grid-template-columns: minmax(280px, 1fr) minmax(150px, 188px) 112px;
  width: min(680px, 100%);
}

.users-toolbar.report-toolbar.report-toolbar--entries {
  grid-template-columns: minmax(320px, 1fr) minmax(170px, 196px) minmax(120px, 140px);
  width: min(100%, 860px);
  align-items: start;
}

.users-toolbar.report-toolbar.report-toolbar--outputs {
  grid-template-columns: minmax(340px, 1fr) minmax(170px, 196px) minmax(120px, 140px);
  width: min(100%, 860px);
  align-items: start;
}

.users-toolbar.report-toolbar.report-toolbar--kardex {
  grid-template-columns: minmax(280px, 1.2fr) minmax(170px, 196px) minmax(156px, 176px) minmax(120px, 140px);
  width: min(100%, 980px);
  align-items: start;
}

.report-filter-menu {
  min-width: 0;
}

.report-filter-panel {
  width: min(760px, calc(100vw - 1.5rem));
}

.report-filter-panel--wide {
  width: min(720px, calc(100vw - 1.5rem));
}

.users-toolbar.report-toolbar.report-toolbar--entries .search-field,
.users-toolbar.report-toolbar.report-toolbar--entries .users-filter-menu,
.users-toolbar.report-toolbar.report-toolbar--entries .report-reset-btn {
  min-width: 0;
}

.users-toolbar.report-toolbar.report-toolbar--outputs .search-field,
.users-toolbar.report-toolbar.report-toolbar--outputs .users-filter-menu,
.users-toolbar.report-toolbar.report-toolbar--outputs .report-reset-btn {
  min-width: 0;
}

.users-toolbar.report-toolbar.report-toolbar--kardex > select[name='product'],
.users-toolbar.report-toolbar.report-toolbar--kardex > .searchable-select,
.users-toolbar.report-toolbar.report-toolbar--kardex .users-filter-menu,
.users-toolbar.report-toolbar.report-toolbar--kardex .users-search-btn,
.users-toolbar.report-toolbar.report-toolbar--kardex .report-reset-btn {
  min-width: 0;
}

.users-toolbar.report-toolbar.report-toolbar--entries .users-filter-menu__panel {
  width: min(560px, calc(100vw - 1.5rem));
}

.users-toolbar.report-toolbar.report-toolbar--outputs .users-filter-menu__panel {
  width: min(420px, calc(100vw - 1.5rem));
}

.users-toolbar.report-toolbar.report-toolbar--kardex .users-filter-menu__panel {
  width: min(360px, calc(100vw - 1.5rem));
}

.report-filter-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0.9rem 1rem;
  align-items: start;
}

.report-filter-fields--entries {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.report-filter-fields--outputs {
  grid-template-columns: 1fr;
}

.report-filter-fields--kardex {
  grid-template-columns: 1fr;
}

.report-filter-field {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.report-filter-field span {
  color: #5f7b96;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-filter-field select,
.report-filter-field input[type='date'],
.report-filter-field input[type='text'] {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #caddeb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #173f66;
  font: inherit;
  padding-block: 0.68rem;
}

.report-filter-field .searchable-select__input {
  min-height: 52px;
  padding-block: 0.68rem;
  padding-left: 0.82rem;
}

.report-filter-field select:focus,
.report-filter-field input[type='date']:focus,
.report-filter-field input[type='text']:focus {
  outline: none;
  border-color: var(--lav-coral);
  box-shadow: 0 0 0 3px rgba(244, 111, 109, 0.16);
}

.searchable-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.searchable-select__native {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.searchable-select__control {
  position: relative;
}

.searchable-select__control::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #6f89a0;
  border-bottom: 2px solid #6f89a0;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.searchable-select.has-value .searchable-select__control::after {
  display: none;
}

.searchable-select__input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #caddeb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #173f66;
  font: inherit;
  font-weight: 700;
  padding: 0.64rem 2.35rem 0.64rem 0.72rem;
}

.user-form-panel .searchable-select__input,
.user-form-main .searchable-select__input {
  min-height: 44px;
  border-radius: 12px;
}

.output-form-grid .output-form-field input,
.output-form-grid .output-form-field select,
.output-form-grid .output-form-field .searchable-select__input {
  min-height: 48px;
}

.output-form-field.is-disabled {
  opacity: 0.68;
}

.output-form-field.is-disabled .searchable-select__input {
  cursor: not-allowed;
  background: #eef4f8;
  color: #7e98ad;
}

.output-presentation-summary {
  display: grid;
  gap: 0.28rem;
  min-height: 48px;
  padding: 0.68rem 0.82rem;
  border: 1px solid #caddeb;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  color: #173f66;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.output-presentation-summary strong {
  font-weight: 850;
}

.output-presentation-summary span {
  color: #5f7b96;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.output-product-image-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.72rem;
  border: 1px solid #caddeb;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
}

.output-product-image-preview {
  width: 92px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #d6e4ef;
  border-radius: 10px;
  background: #eef4f8;
}

.output-product-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.output-product-image-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 0.75rem;
}

.output-product-image-meta strong {
  min-width: 0;
  color: #173f66;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.output-product-image-open {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .output-product-image-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .output-product-image-preview {
    width: 72px;
  }

  .output-product-image-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.searchable-select__input::placeholder {
  color: #7e98ad;
  font-weight: 700;
}

.searchable-select__input:focus {
  outline: none;
  border-color: var(--lav-coral);
  box-shadow: 0 0 0 3px rgba(244, 111, 109, 0.16);
}

.user-form-panel .searchable-select__input:focus,
.user-form-main .searchable-select__input:focus {
  border-color: #2baea6;
  box-shadow: 0 0 0 3px rgba(43, 174, 166, 0.16);
}

.searchable-select__list {
  position: fixed;
  z-index: 3000;
  max-height: min(340px, calc(100vh - 24px));
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid #cfe0ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 63, 102, 0.18);
}

.searchable-select__option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #173f66;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  line-height: 1.25;
  padding: 0.58rem 0.64rem;
  text-align: left;
}

.searchable-select__option:hover,
.searchable-select__option:focus,
.searchable-select__option[aria-selected='true'] {
  outline: none;
  background: #edf7fb;
  color: #0a4fa6;
}

.searchable-select__option.is-placeholder {
  color: #7e98ad;
}

.searchable-select__option.is-inactive {
  color: #7a8793;
}

.searchable-select__option.is-inactive::after {
  content: "Inactivo";
  display: inline-block;
  margin-left: 0.45rem;
  border: 1px solid #e4b8b8;
  border-radius: 999px;
  color: #b95d5b;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1;
  padding: 0.18rem 0.36rem;
  text-transform: uppercase;
}

.searchable-select__empty {
  color: #7e98ad;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.68rem;
}

.products-table {
  table-layout: fixed;
  min-width: 1120px;
  width: 100%;
}

.products-table .col-code {
  width: 8%;
}

.products-table .col-product {
  width: 17%;
}

.products-table .col-supply {
  width: 15%;
}

.products-table .col-presentation {
  width: 10%;
}

.products-table .col-balance-qty {
  width: 7%;
}

.products-table .col-balance-measure {
  width: 10%;
}

.products-table .col-unit-cost {
  width: 9%;
}

.products-table .col-total-cost {
  width: 9%;
}

.products-table .col-status {
  width: 9%;
}

.products-table .col-actions {
  width: 7%;
}

.products-table th.is-code,
.products-table td.is-code {
  width: 8%;
}

.products-table th.is-product,
.products-table td.is-product {
  width: 17%;
}

.products-table th.is-supply,
.products-table td.is-supply {
  width: 15%;
}

.products-table th.is-presentation,
.products-table td.is-presentation {
  width: 8%;
}

.products-table th.is-status,
.products-table td.is-status {
  width: 9%;
  text-align: left;
}

.products-table th.is-balance-qty,
.products-table td.is-balance-qty {
  width: 7%;
}

.products-table th.is-balance-measure,
.products-table td.is-balance-measure {
  width: 10%;
}

.products-table th.is-unit-cost,
.products-table td.is-unit-cost {
  width: 9%;
}

.products-table th.is-total-cost,
.products-table td.is-total-cost {
  width: 9%;
}

.products-table th.is-balance-qty,
.products-table th.is-balance-measure,
.products-table th.is-unit-cost,
.products-table th.is-total-cost,
.products-table th.is-actions {
  font-size: 0.84rem;
}

.products-table th.is-balance-qty,
.products-table th.is-balance-measure,
.products-table th.is-unit-cost,
.products-table th.is-total-cost,
.products-table td.is-balance-qty,
.products-table td.is-balance-measure,
.products-table td.is-unit-cost,
.products-table td.is-total-cost {
  text-align: left;
  vertical-align: middle;
}

.products-table th.is-actions,
.products-table td.product-actions {
  width: 7%;
}

.products-table td {
  padding: 0.72rem 0.62rem;
  font-size: 0.92rem;
  vertical-align: middle;
  text-align: left;
  overflow-wrap: normal;
  line-height: 1.34;
}

.products-table thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
}

.products-table th.is-balance-qty,
.products-table th.is-balance-measure,
.products-table th.is-unit-cost,
.products-table th.is-total-cost,
.products-table th.is-actions,
.products-table th.is-presentation,
.products-table th.is-status {
  font-size: 0.95rem;
}

.product-code-cell strong,
.product-text-cell strong,
.product-related-cell strong,
.product-measure-cell strong,
.product-number-cell strong,
.product-money-cell strong {
  display: block;
  color: #2b4f6f;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.34;
  font-variant-numeric: tabular-nums;
}

.product-text-cell,
.product-related-cell,
.product-measure-cell,
.product-number-cell,
.product-money-cell {
  display: grid;
  gap: 0.14rem;
  justify-items: start;
  width: 100%;
}

.product-text-cell span,
.product-related-cell span,
.product-measure-cell span,
.product-number-cell span,
.product-money-cell span {
  color: #648099;
  font-size: 0.85rem;
  line-height: 1.3;
}

.product-code-cell strong {
  color: #13589b;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-text-cell--primary strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.product-text-cell--primary span {
  text-transform: none;
  letter-spacing: 0;
  max-width: 100%;
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.products-table td.is-product .product-text-cell,
.products-table td.is-supply .product-related-cell {
  min-width: 0;
}

.product-related-cell--supply {
  gap: 0.22rem;
}

.product-inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 0.12rem 0.48rem;
  border: 1px solid rgba(42, 153, 198, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(231, 248, 255, 0.98), rgba(241, 252, 255, 0.98));
  color: #2c6891;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-related-cell--supply strong {
  color: #1a3f66;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.product-number-cell,
.product-money-cell {
  text-align: left;
}

.products-table td.is-balance-qty strong,
.products-table td.is-balance-measure strong,
.products-table td.is-unit-cost strong,
.products-table td.is-total-cost strong {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.products-table td.is-presentation strong,
.products-table td.is-balance-qty strong,
.products-table td.is-balance-measure strong,
.products-table td.is-unit-cost strong,
.products-table td.is-total-cost strong {
  font-weight: 400;
}

.products-table td.is-balance-qty,
.products-table td.is-balance-measure,
.products-table td.is-unit-cost,
.products-table td.is-total-cost {
  text-align: left;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

.products-table td.is-balance-qty .product-number-cell,
.products-table td.is-balance-measure .product-measure-cell,
.products-table td.is-unit-cost .product-money-cell,
.products-table td.is-total-cost .product-money-cell {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
}

.products-table th.is-unit-cost,
.products-table th.is-total-cost {
  white-space: normal;
}

.products-table th.is-unit-cost,
.products-table th.is-total-cost {
  text-align: left;
  vertical-align: middle;
}

.products-table td.is-balance-qty strong,
.products-table td.is-balance-measure strong,
.products-table td.is-unit-cost strong,
.products-table td.is-total-cost strong {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.products-pill-status {
  min-width: 78px;
  min-height: 34px;
  padding: 0.24rem 0.56rem;
  font-size: 0.82rem;
}

.products-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
}

.product-card-toggle-cell {
  display: none;
}

.category-card-toggle-cell {
  display: none;
}

.supplier-card-toggle-cell {
  display: none;
}

.dosifier-card-toggle-cell {
  display: none;
}

.entry-card-toggle-cell {
  display: none;
}

.user-card-toggle-cell {
  display: none;
}

.audit-card-toggle-cell {
  display: none;
}

.report-card-toggle-cell {
  display: none;
}

.product-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-card-toggle__main,
.product-card-toggle__name {
  display: grid;
  min-width: 0;
}

.product-card-toggle__main {
  gap: 0.12rem;
}

.product-card-toggle__code {
  color: #13589b;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-toggle__name strong {
  display: block;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-card-toggle__name strong {
  color: #648099;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-toggle .products-pill-status {
  min-width: 74px;
  min-height: 30px;
  padding: 0.18rem 0.48rem;
  font-size: 0.76rem;
}

.product-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.product-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.category-card-toggle__main {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.category-card-toggle__main strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-card-toggle__main strong {
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
}

.category-card-toggle__main span {
  color: #648099;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.category-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.supplier-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.supplier-card-toggle__main,
.supplier-card-toggle__company {
  display: grid;
  min-width: 0;
}

.supplier-card-toggle__main {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.12rem;
}

.supplier-card-toggle__code {
  color: #13589b;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.supplier-card-toggle__company strong {
  display: block;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.supplier-card-toggle .users-pill-status {
  min-width: 74px;
  min-height: 30px;
  padding: 0.18rem 0.48rem;
  font-size: 0.76rem;
}

.supplier-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.supplier-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dosifier-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dosifier-card-toggle__main,
.dosifier-card-toggle__meta {
  display: grid;
  min-width: 0;
}

.dosifier-card-toggle__main strong {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
}

.dosifier-card-toggle__meta {
  color: #2b4f6f;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dosifier-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.dosifier-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.user-card-toggle__main {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.user-card-toggle__main strong {
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.user-card-toggle__main span {
  color: #648099;
  font-size: 0.84rem;
  line-height: 1.28;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.user-card-toggle .users-pill-status {
  min-width: 74px;
  min-height: 30px;
  padding: 0.18rem 0.48rem;
  font-size: 0.76rem;
}

.user-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.user-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audit-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.audit-card-toggle__main {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.audit-card-toggle__main strong {
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.audit-card-toggle__main span,
.audit-card-toggle__meta {
  color: #648099;
  font-size: 0.84rem;
  line-height: 1.28;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.audit-card-toggle__meta {
  font-weight: 700;
}

.audit-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.audit-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.07), rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98) 78%, rgba(244, 111, 109, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.report-card-toggle--existence {
  grid-template-columns: minmax(0, 1fr) auto auto 30px;
}

.report-card-toggle__main {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.report-card-toggle__main strong {
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.report-card-toggle__main span,
.report-card-toggle__meta {
  color: #648099;
  font-size: 0.84rem;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-card-toggle__meta {
  font-weight: 700;
  text-align: right;
}

.report-card-toggle__main .report-card-toggle__code {
  color: #13589b;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-card-toggle__status {
  box-sizing: border-box;
  min-width: 76px;
  max-width: 100%;
  min-height: 30px;
  padding: 0.18rem 0.44rem;
  font-size: 0.76rem;
  justify-self: start;
  align-self: center;
  white-space: nowrap;
}

.report-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.report-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.07), rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98) 78%, rgba(244, 111, 109, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(10, 77, 132, 0.04);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.entry-card-toggle--compact {
  grid-template-columns: minmax(0, 1fr) 30px;
}

.entry-card-toggle__main,
.entry-card-toggle__meta {
  display: grid;
  min-width: 0;
}

.entry-card-toggle__main {
  gap: 0.16rem;
}

.entry-card-toggle__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 0.12rem 0.48rem;
  border: 1px solid rgba(42, 153, 198, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(231, 248, 255, 0.98), rgba(241, 252, 255, 0.98));
  color: #2c6891;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-card-toggle__main strong {
  display: block;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.entry-card-toggle__main span {
  color: #648099;
  font-size: 0.82rem;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-card-toggle__meta {
  gap: 0.12rem;
  justify-items: end;
}

.entry-card-toggle__meta strong {
  color: #244c72;
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.entry-card-toggle__meta span {
  color: #6a859c;
  font-size: 0.77rem;
  line-height: 1.2;
  white-space: nowrap;
}

.entry-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.entry-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.output-card-toggle-cell {
  display: none;
}

.output-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 68px;
  padding: 0.74rem 0.78rem;
  border: 1px solid rgba(198, 222, 239, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.07), rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98) 78%, rgba(244, 111, 109, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.96));
  color: #173f66;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(10, 77, 132, 0.04);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.output-card-toggle:hover {
  border-color: rgba(120, 173, 214, 0.42);
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.09), rgba(255, 255, 255, 0.995) 22%, rgba(255, 255, 255, 0.995) 78%, rgba(244, 111, 109, 0.07)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(240, 248, 255, 0.98));
  box-shadow: 0 14px 26px rgba(10, 77, 132, 0.09);
  transform: translateY(-1px);
}

.output-card-toggle__main,
.output-card-toggle__meta {
  display: grid;
  min-width: 0;
}

.output-card-toggle__main {
  gap: 0.16rem;
}

.output-card-toggle__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 0.12rem 0.48rem;
  border: 1px solid rgba(42, 153, 198, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(231, 248, 255, 0.98), rgba(241, 252, 255, 0.98));
  color: #2c6891;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.output-card-toggle__main strong {
  display: block;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #1a3f66;
  font-size: 0.98rem;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.output-card-toggle__main span {
  color: #648099;
  font-size: 0.82rem;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.output-card-toggle__meta {
  gap: 0.12rem;
  justify-items: end;
}

.output-card-toggle__meta strong {
  color: #244c72;
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.output-card-toggle__meta span {
  color: #6a859c;
  font-size: 0.77rem;
  line-height: 1.2;
  white-space: nowrap;
}

.output-card-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10, 98, 189, 0.16);
  border-radius: 999px;
  color: #0a62bd;
  transition: transform 160ms ease, background 160ms ease;
}

.output-card-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dosifiers-hero__stats {
  grid-template-columns: repeat(2, minmax(136px, 156px));
}

.product-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  white-space: nowrap;
  width: 100%;
}

.products-table .product-actions-group .inline-form {
  display: inline-flex;
  margin: 0;
}

.products-table td.product-actions {
  padding-inline: 0.34rem;
  vertical-align: middle;
}

.products-table .product-actions-group .users-action-btn {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  height: 34px;
}

.products-table .product-actions-group .users-action-btn .btn-icon,
.products-table .product-actions-group .users-action-btn .btn-icon svg {
  width: 15px;
  height: 15px;
}

.products-table td.is-code,
.products-table td.is-product,
.products-table td.is-supply,
.products-table td.is-presentation,
.products-table td.is-status,
.products-table td.is-balance-qty,
.products-table td.is-balance-measure,
.products-table td.is-unit-cost,
.products-table td.is-total-cost {
  text-align: left;
}

.products-table td.is-status {
  padding-right: 0.78rem;
}

.products-table td.is-status,
.products-table th.is-status {
  text-align: left;
}

.products-table th.is-status {
  padding-right: 0.72rem;
}

.products-table td.product-actions {
  text-align: center;
}

.products-table th.is-actions {
  padding-left: 0.34rem;
  padding-right: 0.34rem;
}

.products-table td.product-actions {
  padding-left: 0.34rem;
  padding-right: 0.34rem;
}

.products-table td.is-code {
  color: #13589b;
  font-weight: 800;
}

.products-table .product-measure-cell strong,
.products-table .product-number-cell strong,
.products-table .product-money-cell strong {
  color: #355b7e;
  font-weight: 600;
}

.products-table td.is-presentation strong,
.products-table td.is-balance-qty strong,
.products-table td.is-balance-measure strong,
.products-table td.is-unit-cost strong,
.products-table td.is-total-cost strong {
  font-weight: 400;
}

.movements-table {
  table-layout: fixed;
}

.movements-table .col-date {
  width: 12%;
}

.movements-table .col-item {
  width: 24%;
}

.movements-table .col-source,
.movements-table .col-destination {
  width: 22%;
}

.movements-table .col-qty,
.movements-table .col-cost {
  width: 17%;
}

.movements-table .col-user {
  width: 8%;
}

.movements-table th.is-movement-item,
.movements-table td.is-movement-item {
  width: 24%;
}

.movements-table th.is-movement-source,
.movements-table td.is-movement-source,
.movements-table th.is-movement-destination,
.movements-table td.is-movement-destination {
  width: 22%;
}

.movements-table th.is-movement-qty,
.movements-table td.is-movement-qty,
.movements-table th.is-movement-cost,
.movements-table td.is-movement-cost {
  width: 17%;
}

.movement-date-cell .table-copy,
.movement-user-cell .table-copy {
  font-size: 0.88rem;
}

.movement-identity strong,
.movement-meta strong {
  display: block;
  color: #1a3f66;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.28;
}

.movement-identity span,
.movement-meta span {
  display: block;
  color: #648099;
  font-size: 0.84rem;
  line-height: 1.28;
}

.movement-identity,
.movement-meta {
  display: grid;
  gap: 0.14rem;
}

.movements-table--entries .col-date {
  width: 10%;
}

.movements-table--entries .col-item {
  width: 14%;
}

.movements-table--entries .col-source {
  width: 14%;
}

.movements-table--entries .col-category {
  width: 9.5%;
}

.movements-table--entries .col-qty-physical {
  width: 10%;
}

.movements-table--entries .col-qty {
  width: 12.5%;
}

.movements-table--entries .col-unit-cost {
  width: 8.5%;
}

.movements-table--entries .col-cost {
  width: 9%;
}

.movements-table--entries .col-user {
  width: 7.5%;
}

.movements-table--entries .col-actions {
  width: 4.5%;
}

.movements-table--entries {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.movements-table--entries th.is-entry-date,
.movements-table--entries td.is-entry-date {
  width: 10.5%;
}

.movements-table--entries th.is-entry-product,
.movements-table--entries td.is-entry-product {
  width: 14%;
}

.movements-table--entries th.is-entry-source,
.movements-table--entries td.is-entry-source {
  width: 14%;
}

.movements-table--entries th.is-entry-category,
.movements-table--entries td.is-entry-category {
  width: 9.5%;
}

.movements-table--entries th.is-entry-qty-physical,
.movements-table--entries td.is-entry-qty-physical {
  width: 10%;
}

.movements-table--entries th.is-entry-qty,
.movements-table--entries td.is-entry-qty {
  width: 12.5%;
}

.movements-table--entries th.is-entry-unit-cost,
.movements-table--entries td.is-entry-unit-cost {
  width: 8.5%;
}

.movements-table--entries th.is-entry-cost,
.movements-table--entries td.is-entry-cost {
  width: 9%;
}

.movements-table--entries th.is-entry-user,
.movements-table--entries td.is-entry-user {
  width: 5.5%;
}

.movements-table--entries th.is-entry-actions,
.movements-table--entries td.is-entry-actions {
  width: 6%;
  text-align: left;
}

.movements-table--entries th,
.movements-table--entries td {
  text-align: left;
  vertical-align: middle;
}

.movements-table--entries td {
  padding: 0.72rem 0.62rem;
  font-size: 0.92rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.movements-table--entries thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--entries th.is-entry-qty-physical,
.movements-table--entries th.is-entry-qty,
.movements-table--entries th.is-entry-unit-cost,
.movements-table--entries th.is-entry-cost {
  font-size: 0.92rem;
  white-space: normal;
}

.movements-table--entries th.is-entry-date,
.movements-table--entries td.is-entry-date {
  padding-right: 0.84rem;
}

.movements-table--entries th.is-entry-product,
.movements-table--entries td.is-entry-product {
  padding-left: 0.72rem;
}

.movements-table--entries th.is-entry-source,
.movements-table--entries td.is-entry-source,
.movements-table--entries th.is-entry-category,
.movements-table--entries td.is-entry-category {
  padding-left: 0.66rem;
  padding-right: 0.66rem;
}

.movements-table--entries th.is-entry-qty-physical,
.movements-table--entries td.is-entry-qty-physical,
.movements-table--entries th.is-entry-qty,
.movements-table--entries td.is-entry-qty,
.movements-table--entries th.is-entry-cost,
.movements-table--entries td.is-entry-cost {
  padding-left: 0.66rem;
  padding-right: 0.66rem;
}

.movements-table--entries th.is-entry-unit-cost {
  padding-left: 0.66rem;
  padding-right: 0.66rem;
}

.movements-table--entries td.is-entry-unit-cost {
  padding-left: 0.66rem;
  padding-right: 0.66rem;
}

.movements-table--entries th.is-entry-user,
.movements-table--entries td.is-entry-user {
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.movements-table--entries th.is-entry-actions,
.movements-table--entries td.is-entry-actions {
  padding-left: 0.62rem;
  padding-right: 0.62rem;
}

.movements-table--entries .movement-identity strong,
.movements-table--entries .movement-meta strong {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--entries .movement-meta span,
.movements-table--entries .movement-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movements-table--entries th.is-entry-date,
.movements-table--entries td.is-entry-date,
.movements-table--entries th.is-entry-source,
.movements-table--entries td.is-entry-source,
.movements-table--entries th.is-entry-qty-physical,
.movements-table--entries td.is-entry-qty-physical,
.movements-table--entries th.is-entry-qty,
.movements-table--entries td.is-entry-qty,
.movements-table--entries th.is-entry-unit-cost,
.movements-table--entries td.is-entry-unit-cost,
.movements-table--entries th.is-entry-cost,
.movements-table--entries td.is-entry-cost,
.movements-table--entries th.is-entry-user,
.movements-table--entries td.is-entry-user {
  text-align: left;
}

.movements-table--entries .is-entry-product .movement-identity,
.movements-table--entries .is-entry-date .movement-meta,
.movements-table--entries .is-entry-qty .product-measure-cell,
.movements-table--entries .is-entry-source .product-related-cell,
.movements-table--entries .is-entry-category .product-text-cell,
.movements-table--entries .is-entry-qty-physical .product-number-cell,
.movements-table--entries .is-entry-unit-cost .product-money-cell,
.movements-table--entries .is-entry-cost .product-money-cell,
.movements-table--entries .is-entry-user .product-text-cell {
  justify-items: start;
}

.movements-table--entries .is-entry-source .product-related-cell strong {
  display: block;
  max-width: 100%;
  color: #1a3f66;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.28;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--entries .is-entry-product .movement-identity {
  gap: 0.2rem;
}

.movements-table--entries .is-entry-product .movement-identity span {
  font-size: 0.74rem;
  font-weight: 700;
}

.movements-table--entries .is-entry-product .movement-identity strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.32;
}

.movements-table--entries .is-entry-date .movement-meta strong,
.movements-table--entries .is-entry-source .product-related-cell strong,
.movements-table--entries .is-entry-category .product-text-cell strong,
.movements-table--entries .is-entry-qty-physical .product-number-cell strong,
.movements-table--entries .is-entry-qty .product-measure-cell strong,
.movements-table--entries .is-entry-unit-cost .product-money-cell strong,
.movements-table--entries .is-entry-cost .product-money-cell strong,
.movements-table--entries .is-entry-user .product-text-cell strong {
  color: #173f66;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.28;
}

.movements-table--entries .is-entry-date .movement-meta strong,
.movements-table--entries .is-entry-user .product-text-cell strong {
  font-weight: 700;
}

.movements-table--entries .is-entry-user .product-text-cell strong,
.movements-table--entries .is-entry-category .product-text-cell strong {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--entries .is-entry-source .product-related-cell,
.movements-table--entries .is-entry-category .product-text-cell,
.movements-table--entries .is-entry-qty-physical .product-number-cell,
.movements-table--entries .is-entry-qty .product-measure-cell,
.movements-table--entries .is-entry-unit-cost .product-money-cell,
.movements-table--entries .is-entry-cost .product-money-cell,
.movements-table--entries .is-entry-user .product-text-cell {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
}

.movements-table--entries .is-entry-qty .product-measure-cell strong,
.movements-table--entries .is-entry-unit-cost .product-money-cell strong,
.movements-table--entries .is-entry-cost .product-money-cell strong {
  color: #355b7e;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--entries .is-entry-qty-physical .product-number-cell strong {
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--entries .is-entry-source .product-related-cell,
.movements-table--entries .is-entry-category .product-text-cell,
.movements-table--entries .is-entry-qty-physical .product-number-cell,
.movements-table--entries .is-entry-qty .product-measure-cell,
.movements-table--entries .is-entry-user .product-text-cell {
  display: grid;
  gap: 0.12rem;
  justify-items: start;
  width: 100%;
}

.movements-table--entries .is-entry-unit-cost .product-money-cell,
.movements-table--entries .is-entry-cost .product-money-cell {
  display: grid;
  gap: 0.12rem;
  justify-items: start;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  text-align: left;
}

.movements-table--entries .is-entry-date .movement-meta span,
.movements-table--entries .is-entry-qty .product-measure-cell span {
  font-size: 0.82rem;
  line-height: 1.26;
}

.movements-table--entries .is-entry-source .product-related-cell strong,
.movements-table--entries .is-entry-category .product-text-cell strong,
.movements-table--entries .is-entry-qty-physical .product-number-cell strong,
.movements-table--entries .is-entry-qty .product-measure-cell strong,
.movements-table--entries .is-entry-unit-cost .product-money-cell strong,
.movements-table--entries .is-entry-cost .product-money-cell strong {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.entries-panel,
.entries-table-shell {
  min-width: 0;
}

.entries-panel {
  container-type: inline-size;
  container-name: entries-panel;
}

.entries-table-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.1rem;
  -webkit-overflow-scrolling: touch;
}

.movements-table--outputs .col-date {
  width: 11%;
}

.movements-table--outputs .col-item {
  width: 13.5%;
}

.movements-table--outputs .col-destination {
  width: 13.5%;
}

.movements-table--outputs .col-dosifier {
  width: 14%;
}

.movements-table--outputs .col-qty-physical {
  width: 11%;
}

.movements-table--outputs .col-qty {
  width: 12%;
}

.movements-table--outputs .col-cost {
  width: 11%;
}

.movements-table--outputs .col-user {
  width: 8%;
}

.movements-table--outputs .col-actions {
  width: 5%;
}

.movements-table--outputs {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.movements-table--outputs th.is-movement-qty,
.movements-table--outputs td.is-movement-qty,
.movements-table--outputs th.is-movement-cost,
.movements-table--outputs td.is-movement-cost,
.movements-table--outputs th.is-movement-destination,
.movements-table--outputs td.is-movement-destination {
  width: auto;
}

.movements-table--outputs th,
.movements-table--outputs td {
  text-align: left;
  vertical-align: middle;
}

.movements-table--outputs td {
  padding: 0.72rem 0.62rem;
  font-size: 0.92rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.movements-table--outputs thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--outputs th.is-output-dosifier,
.movements-table--outputs th.is-output-qty-physical,
.movements-table--outputs th.is-movement-qty,
.movements-table--outputs th.is-output-cost {
  font-size: 0.92rem;
  white-space: normal;
}

.movements-table--outputs th.is-output-cost,
.movements-table--outputs td.is-output-cost {
  text-align: left;
}

.movements-table--outputs td.is-output-date,
.movements-table--outputs td.is-output-product,
.movements-table--outputs td.is-output-destination,
.movements-table--outputs td.is-output-dosifier,
.movements-table--outputs td.is-output-qty-physical,
.movements-table--outputs td.is-output-qty,
.movements-table--outputs td.is-output-cost,
.movements-table--outputs td.is-output-user,
.movements-table--outputs td.is-output-actions {
  text-align: left;
}

.movements-table--outputs .is-output-product .movement-identity,
.movements-table--outputs .is-output-destination .product-text-cell,
.movements-table--outputs .is-output-dosifier .product-text-cell,
.movements-table--outputs .is-output-qty-physical .product-number-cell,
.movements-table--outputs .is-output-qty .product-measure-cell,
.movements-table--outputs .is-output-cost .product-money-cell,
.movements-table--outputs .is-output-user .product-text-cell,
.movements-table--outputs .is-output-date .movement-meta {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
}

.movements-table--outputs .is-output-product .movement-identity {
  gap: 0.2rem;
}

.movements-table--outputs .is-output-product .movement-identity span {
  font-size: 0.74rem;
  font-weight: 700;
}

.movements-table--outputs .is-output-product .movement-identity strong,
.movements-table--outputs .is-output-destination .product-text-cell strong,
.movements-table--outputs .is-output-dosifier .product-text-cell strong,
.movements-table--outputs .is-output-qty-physical .product-number-cell strong,
.movements-table--outputs .is-output-qty .product-measure-cell strong,
.movements-table--outputs .is-output-cost .product-money-cell strong,
.movements-table--outputs .is-output-user .product-text-cell strong,
.movements-table--outputs .is-output-date .movement-meta strong {
  color: #173f66;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.28;
}

.movements-table--outputs .is-output-product .movement-identity strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.32;
}

.movements-table--outputs .is-output-date .movement-meta strong,
.movements-table--outputs .is-output-user .product-text-cell strong {
  font-weight: 700;
}

.movements-table--outputs .is-output-destination .product-text-cell strong,
.movements-table--outputs .is-output-dosifier .product-text-cell strong,
.movements-table--outputs .is-output-destination .product-text-cell span,
.movements-table--outputs .is-output-dosifier .product-text-cell span,
.movements-table--outputs .is-output-qty-physical .product-number-cell span,
.movements-table--outputs .is-output-qty .product-measure-cell span,
.movements-table--outputs .is-output-date .movement-meta span {
  font-size: 0.82rem;
  line-height: 1.26;
}

.movements-table--outputs .is-output-destination .product-text-cell,
.movements-table--outputs .is-output-dosifier .product-text-cell,
.movements-table--outputs .is-output-qty-physical .product-number-cell,
.movements-table--outputs .is-output-qty .product-measure-cell,
.movements-table--outputs .is-output-cost .product-money-cell,
.movements-table--outputs .is-output-user .product-text-cell,
.movements-table--outputs .is-output-actions .movement-actions-group {
  display: grid;
  gap: 0.12rem;
  justify-items: start;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.movements-table--outputs .is-output-qty-physical .product-number-cell strong,
.movements-table--outputs .is-output-cost .product-money-cell strong {
  color: #355b7e;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--outputs .is-output-qty .product-measure-cell strong {
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--outputs .is-output-cost .product-money-cell,
.movements-table--outputs .is-output-cost .product-money-cell strong {
  text-align: left;
}

.movements-table--outputs .is-output-destination .product-text-cell strong,
.movements-table--outputs .is-output-dosifier .product-text-cell strong,
.movements-table--outputs .is-output-user .product-text-cell strong {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.outputs-panel,
.outputs-table-shell {
  min-width: 0;
}

.movements-table--outputs .movement-identity strong,
.movements-table--outputs .movement-meta strong {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.movements-table--outputs .movement-meta span,
.movements-table--outputs .movement-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outputs-panel {
  container-type: inline-size;
  container-name: outputs-panel;
}

.outputs-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.dosifier-table {
  table-layout: fixed;
  width: 100%;
}

.dosifier-table .col-name {
  width: 44%;
}

.dosifier-table .col-value,
.dosifier-table .col-unit {
  width: 14%;
}

.dosifier-table .col-status {
  width: 13%;
}

.dosifier-table .col-actions {
  width: 15%;
}

.dosifier-table td.is-actions {
  text-align: center;
}

.dosifier-table .dosifier-actions {
  text-align: center;
}

.dosifier-table .action-row {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.32rem;
}

.dosifier-table .dosifier-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  flex-wrap: nowrap;
  justify-content: center;
  width: auto;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dosifier-table .dosifier-actions-group .inline-form {
  display: inline-flex;
  margin: 0;
}

.dosifier-table .users-action-btn,
.dosifier-table .inline-form .users-action-btn {
  width: 34px;
  height: 34px;
}

.dosifier-table .users-action-btn .btn-icon,
.dosifier-table .users-action-btn .btn-icon svg {
  width: 15px;
  height: 15px;
}

.movement-identity,
.movement-meta {
  display: grid;
  gap: 0.12rem;
}

.movement-identity strong,
.movement-meta strong {
  display: block;
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 700;
}

.movement-identity span,
.movement-meta span {
  color: #648099;
  font-size: 0.84rem;
  line-height: 1.35;
}

.inventory-form-panel {
  width: min(1040px, 100%);
}

.inventory-form-shell {
  max-width: 1120px;
}

.inventory-form-side {
  background:
    radial-gradient(circle at 0% 6%, rgba(57, 198, 223, 0.18), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(244, 111, 109, 0.2), transparent 42%),
    linear-gradient(160deg, #f3fbfc, #eef7ff 68%);
}

.inventory-form-main .form-intro p {
  max-width: 58ch;
}

.inventory-form-main .form-intro {
  margin-bottom: 0.82rem;
}

.inventory-form-main .form-intro h2 {
  margin: 0;
}

.inventory-field-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.06rem;
}

.inventory-field-link {
  justify-self: flex-start;
  margin-top: 0.1rem;
}

.inventory-image-block,
.inventory-state-block {
  align-self: stretch;
}

.inventory-state-block--full {
  display: grid;
  align-content: start;
}

.inventory-state-block {
  display: grid;
  align-content: start;
}

.inventory-equivalence-block {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.18rem;
  border-color: #cbe5ef;
  background: linear-gradient(180deg, #f8fdff, #eef9fb);
}

.inventory-equivalence-label {
  color: #2a6e9f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-equivalence-block strong {
  color: #173f66;
  font-size: 0.96rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.inventory-image-upload-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.82rem;
  border: 1px solid #d7e7f1;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff, #f4f9fd);
}

.inventory-image-upload-card__current {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.inventory-image-upload-card__meta {
  display: grid;
  gap: 0.68rem;
  align-content: start;
  min-width: 0;
}

.inventory-image-upload-card__picker {
  display: grid;
  gap: 0.35rem;
}

.inventory-image-actions {
  display: grid;
  gap: 0.55rem;
  width: min(180px, 100%);
}

.inventory-image-picker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.inventory-image-upload-card__label {
  color: #58758f;
  font-size: 0.82rem;
  font-weight: 700;
}

.inventory-image-link {
  width: 100%;
  justify-content: center;
}

.inventory-image-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 0.85rem;
  border: 1px solid #d6e5f0;
  border-radius: 12px;
  background: #ffffff;
  color: #355b7e;
  font-size: 0.89rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.inventory-image-action:hover {
  border-color: #b8d1e3;
  background: #f8fcff;
}

.inventory-image-action input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.inventory-image-action--danger {
  color: #b04f4b;
  border-color: #f2cbc8;
  background: linear-gradient(180deg, #fff9f9, #fff2f2);
}

.inventory-image-action--danger:hover,
.inventory-image-action--danger.is-active {
  color: #9f3d3a;
  border-color: #f08f89;
  background: linear-gradient(180deg, #fff0ef, #ffe7e5);
}

.inventory-image-help {
  margin: 0;
  color: #69849a;
  font-size: 0.82rem;
  line-height: 1.4;
}

.inventory-image-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 32px;
  padding: 0.34rem 0.62rem;
  border: 1px solid #d8e8f3;
  border-radius: 999px;
  background: #f7fbff;
  color: #4d6f8b;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.inventory-image-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8fb5cf;
}

.inventory-image-status.is-info {
  border-color: #d8e8f3;
  background: #f7fbff;
  color: #4d6f8b;
}

.inventory-image-status.is-info::before {
  background: #6ba7d0;
}

.inventory-image-status.is-warning {
  border-color: #f3d2b7;
  background: #fff8f1;
  color: #9b6738;
}

.inventory-image-status.is-warning::before {
  background: #e8a35f;
}

.inventory-image-status.is-danger {
  border-color: #f3cbc8;
  background: #fff4f3;
  color: #a84e49;
}

.inventory-image-status.is-danger::before {
  background: #e2746d;
}

.inventory-file-input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.inventory-image-picker-button {
  flex: 0 0 auto;
}

.inventory-image-picker-name {
  flex: 1 1 220px;
  color: #5e788f;
  font-size: 0.88rem;
  line-height: 1.35;
  word-break: break-word;
}

.inventory-image-preview {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
  min-height: 190px;
  margin-top: 0;
  padding: 0.72rem;
  border: 1px solid #d7e7f1;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.inventory-image-preview--empty {
  align-content: center;
}

.inventory-image-preview__label {
  color: #58758f;
  font-size: 0.8rem;
  font-weight: 700;
}

.inventory-image-preview__placeholder {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  min-height: 120px;
  text-align: center;
  color: #7290a7;
}

.inventory-image-preview__placeholder svg {
  width: 42px;
  height: 42px;
  stroke: #7ba8c7;
  stroke-width: 1.55;
  fill: none;
}

.inventory-image-preview__placeholder p,
.inventory-image-preview__placeholder small {
  margin: 0;
}

.inventory-image-preview__placeholder p {
  font-weight: 700;
}

.inventory-image-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 132px;
  max-height: none;
  border-radius: 14px;
  border: 1px solid #d8e6ef;
  background: #ffffff;
  object-fit: cover;
}

@media (max-width: 860px) {
  .inventory-image-upload-card__current {
    grid-template-columns: 1fr;
  }

  .inventory-image-picker-row {
    align-items: flex-start;
  }

  .inventory-image-actions {
    width: 100%;
  }

  .inventory-image-preview img {
    width: 100%;
  }
}

.audit-history-table {
  width: 100%;
  table-layout: fixed;
  min-width: 980px;
}

.audit-panel {
  min-width: 0;
}

.audit-table-shell {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.audit-panel {
  container-type: inline-size;
  container-name: audit-panel;
}

.audit-hero__stats {
  grid-template-columns: minmax(148px, 178px);
  gap: 0.56rem;
}

.audit-hero__stats .users-stat-card {
  min-height: 74px;
  align-content: center;
  padding: 0.6rem 0.7rem;
}

.audit-hero__stats .users-stat-card small,
.audit-hero__stats .users-stat-card strong {
  text-align: left;
}

.audit-hero__stats .users-stat-card small {
  min-height: auto;
}

.audit-toolbar-wrap {
  margin-bottom: 0.86rem;
}

.audit-filter-menu {
  min-width: 0;
}

.audit-history-table .col-user {
  width: 14%;
}

.audit-history-table .col-datetime {
  width: 16%;
}

.audit-history-table .col-module {
  width: 15%;
}

.audit-history-table .col-action {
  width: 18%;
}

.audit-history-table .col-detail {
  width: 37%;
}

.audit-history-table th,
.audit-history-table td {
  padding: 0.68rem 0.72rem;
  font-size: 0.93rem;
  vertical-align: middle;
  text-align: left;
}

.audit-history-table th.is-audit-detail,
.audit-history-table td.is-audit-detail {
  padding-right: 0.98rem;
}

.audit-history-table thead th {
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.audit-action-pill {
  box-sizing: border-box;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  text-align: center;
  min-height: 36px;
  padding: 0.36rem 0.78rem;
  border: 1px solid #dce7ef;
  background: linear-gradient(180deg, #fbfdff, #eef4f8);
  color: #40617d;
  font-weight: 800;
  font-size: 0.83rem;
  line-height: 1;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.audit-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.audit-pill-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audit-module-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  border: 1px solid #f1cbc2;
  background: linear-gradient(180deg, #fff6f2, #ffece7);
  color: #cc684f;
  font-weight: 800;
  font-size: 0.83rem;
  line-height: 1;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.audit-history-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(57, 198, 223, 0.08), rgba(244, 111, 109, 0.05) 100%);
}

.empty-inline-state {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px dashed #c8dceb;
  border-radius: 14px;
  background: #f7fbfe;
  color: #56718b;
}

.audit-search-btn {
  flex: 0 0 112px;
  width: 112px;
}

.reports-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
}

.reports-panel,
.reports-table-shell {
  min-width: 0;
}

.reports-panel {
  container-type: inline-size;
  container-name: reports-panel;
}

.report-table {
  width: 100%;
  table-layout: auto;
}

.report-table th,
.report-table td {
  padding: 0.68rem 0.64rem;
  font-size: 0.93rem;
  vertical-align: middle;
}

.report-table th {
  font-size: 0.92rem;
}

.report-table td strong {
  color: #173f66;
}

.report-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(57, 198, 223, 0.08), rgba(244, 111, 109, 0.05) 100%);
}

.report-table--existence {
  table-layout: fixed;
  min-width: 1120px;
}

.report-table--existence.report-table--financial .col-report-code {
  width: 8%;
}

.report-table--existence.report-table--financial .col-report-product {
  width: 13%;
}

.report-table--existence.report-table--financial .col-report-category {
  width: 12.5%;
}

.report-table--existence.report-table--financial .col-report-supplier {
  width: 12%;
}

.report-table--existence.report-table--financial .col-report-balance {
  width: 10.5%;
}

.report-table--existence.report-table--financial .col-report-equivalence {
  width: 10.5%;
}

.report-table--existence.report-table--financial .col-report-min-stock {
  width: 8.5%;
}

.report-table--existence.report-table--financial .col-report-status {
  width: 7.5%;
}

.report-table--existence.report-table--financial .col-report-unit-cost {
  width: 8%;
}

.report-table--existence.report-table--financial .col-report-total-cost {
  width: 10.5%;
}

.report-table--existence.report-table--compact .col-report-code {
  width: 9%;
}

.report-table--existence.report-table--compact .col-report-product {
  width: 21%;
}

.report-table--existence.report-table--compact .col-report-category {
  width: 15%;
}

.report-table--existence.report-table--compact .col-report-supplier {
  width: 18%;
}

.report-table--existence.report-table--compact .col-report-balance {
  width: 11%;
}

.report-table--existence.report-table--compact .col-report-equivalence {
  width: 11%;
}

.report-table--existence.report-table--compact .col-report-min-stock {
  width: 9%;
}

.report-table--existence.report-table--compact .col-report-status {
  width: 6%;
}

.report-table--existence th,
.report-table--existence td {
  text-align: left;
  padding: 0.72rem 0.62rem;
}

.report-table--existence thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--existence th.is-report-unit-cost,
.report-table--existence th.is-report-total-cost,
.report-table--existence th.is-report-balance,
.report-table--existence th.is-report-equivalence,
.report-table--existence th.is-report-min-stock {
  font-size: 0.9rem;
}

.report-table--existence td.is-report-code,
.report-table--existence td.is-report-status {
  text-align: left;
}

.report-table--existence td.is-report-code .product-inline-pill {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--existence td.is-report-product .product-text-cell strong,
.report-table--existence td.is-report-category .product-text-cell strong,
.report-table--existence td.is-report-supplier .product-text-cell strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--existence td.is-report-balance .product-measure-cell,
.report-table--existence td.is-report-equivalence .product-number-cell,
.report-table--existence td.is-report-min-stock .product-measure-cell,
.report-table--existence td.is-report-unit-cost .product-money-cell,
.report-table--existence td.is-report-total-cost .product-money-cell {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.report-table--existence td.is-report-status .pill {
  box-sizing: border-box;
  min-width: 76px;
  max-width: 100%;
  min-height: 36px;
  padding: 0.22rem 0.5rem;
  font-size: 0.8rem;
  justify-self: start;
  white-space: nowrap;
}

.report-table--existence td.is-report-unit-cost strong,
.report-table--existence td.is-report-total-cost strong,
.report-table--existence td.is-report-balance strong,
.report-table--existence td.is-report-equivalence strong,
.report-table--existence td.is-report-min-stock strong {
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--existence td.is-report-balance span,
.report-table--existence td.is-report-equivalence span,
.report-table--existence td.is-report-min-stock span {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--entries {
  table-layout: fixed;
  min-width: 1120px;
}

.report-table--entries .col-report-date {
  width: 12%;
}

.report-table--entries .col-report-code {
  width: 9%;
}

.report-table--entries .col-report-product {
  width: 15%;
}

.report-table--entries .col-report-supplier {
  width: 15%;
}

.report-table--entries .col-report-qty-physical {
  width: 10%;
}

.report-table--entries .col-report-qty {
  width: 11%;
}

.report-table--entries .col-report-unit-cost {
  width: 9%;
}

.report-table--entries .col-report-total-cost {
  width: 11%;
}

.report-table--entries .col-report-user {
  width: 8%;
}

.report-table--entries th,
.report-table--entries td {
  text-align: left;
  padding: 0.72rem 0.62rem;
}

.report-table--entries thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--entries th.is-report-qty-physical,
.report-table--entries th.is-report-qty,
.report-table--entries th.is-report-unit-cost,
.report-table--entries th.is-report-total-cost {
  font-size: 0.9rem;
}

.report-table--entries td.is-report-code,
.report-table--entries td.is-report-user {
  text-align: left;
}

.report-table--entries td.is-report-code .product-inline-pill {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--entries td.is-report-product .product-text-cell strong,
.report-table--entries td.is-report-supplier .product-text-cell strong,
.report-table--entries td.is-report-user .product-text-cell strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--entries td.is-report-date .movement-meta strong,
.report-table--entries td.is-report-qty-physical .product-number-cell strong,
.report-table--entries td.is-report-qty .product-measure-cell strong,
.report-table--entries td.is-report-unit-cost .product-money-cell strong,
.report-table--entries td.is-report-total-cost .product-money-cell strong {
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--entries td.is-report-date .movement-meta span,
.report-table--entries td.is-report-qty .product-measure-cell span {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--entries td.is-report-qty-physical .product-number-cell,
.report-table--entries td.is-report-qty .product-measure-cell,
.report-table--entries td.is-report-unit-cost .product-money-cell,
.report-table--entries td.is-report-total-cost .product-money-cell {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.report-table--outputs {
  table-layout: fixed;
  min-width: 1120px;
}

.report-table--outputs .col-report-date {
  width: 11%;
}

.report-table--outputs .col-report-code {
  width: 8%;
}

.report-table--outputs .col-report-product {
  width: 14%;
}

.report-table--outputs .col-report-destination {
  width: 13%;
}

.report-table--outputs .col-report-mode {
  width: 9.5%;
}

.report-table--outputs .col-report-dosifier {
  width: 10.5%;
}

.report-table--outputs .col-report-dosages {
  width: 9%;
}

.report-table--outputs .col-report-net-output {
  width: 8%;
}

.report-table--outputs .col-report-total-cost {
  width: 10%;
}

.report-table--outputs .col-report-user {
  width: 7%;
}

.report-table--outputs th,
.report-table--outputs td {
  text-align: left;
  padding: 0.72rem 0.62rem;
}

.report-table--outputs thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--outputs th.is-report-dosages,
.report-table--outputs th.is-report-net-output,
.report-table--outputs th.is-report-total-cost {
  font-size: 0.9rem;
}

.report-table--outputs td.is-report-code,
.report-table--outputs td.is-report-user {
  text-align: left;
}

.report-table--outputs td.is-report-code .product-inline-pill {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--outputs td.is-report-product .product-text-cell strong,
.report-table--outputs td.is-report-destination .product-text-cell strong,
.report-table--outputs td.is-report-mode .product-text-cell strong,
.report-table--outputs td.is-report-user .product-text-cell strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--outputs td.is-report-date .movement-meta strong,
.report-table--outputs td.is-report-dosages .product-number-cell strong,
.report-table--outputs td.is-report-net-output .product-measure-cell strong,
.report-table--outputs td.is-report-total-cost .product-money-cell strong {
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--outputs td.is-report-date .movement-meta span,
.report-table--outputs td.is-report-dosifier .product-measure-cell span,
.report-table--outputs td.is-report-net-output .product-measure-cell span {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--outputs td.is-report-dosifier .product-measure-cell,
.report-table--outputs td.is-report-dosages .product-number-cell,
.report-table--outputs td.is-report-net-output .product-measure-cell,
.report-table--outputs td.is-report-total-cost .product-money-cell {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.report-selected-product {
  margin: 0.15rem 0 0.95rem;
}

.report-table--kardex {
  table-layout: fixed;
  min-width: 1160px;
}

.report-table--kardex .col-report-date {
  width: 11%;
}

.report-table--kardex .col-report-type {
  width: 7%;
}

.report-table--kardex .col-report-detail {
  width: 14%;
}

.report-table--kardex .col-report-operational {
  width: 9%;
}

.report-table--kardex .col-report-net-output {
  width: 10%;
}

.report-table--kardex .col-report-unit-cost {
  width: 8%;
}

.report-table--kardex .col-report-total-cost {
  width: 11%;
}

.report-table--kardex .col-report-balance-before {
  width: 10%;
}

.report-table--kardex .col-report-balance-after {
  width: 10.5%;
}

.report-table--kardex .col-report-user {
  width: 9.5%;
}

.report-table--kardex th,
.report-table--kardex td {
  text-align: left;
  padding: 0.72rem 0.62rem;
}

.report-table--kardex thead th {
  padding: 0.72rem 0.62rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--kardex th.is-report-operational,
.report-table--kardex th.is-report-net-output,
.report-table--kardex th.is-report-unit-cost,
.report-table--kardex th.is-report-total-cost,
.report-table--kardex th.is-report-balance-before,
.report-table--kardex th.is-report-balance-after {
  font-size: 0.9rem;
}

.report-table--kardex td.is-report-user {
  text-align: left;
}

.report-table--kardex td.is-report-detail .product-text-cell strong,
.report-table--kardex td.is-report-user .product-text-cell strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--kardex td.is-report-date .movement-meta strong,
.report-table--kardex td.is-report-operational .product-number-cell strong,
.report-table--kardex td.is-report-net-output .product-number-cell strong,
.report-table--kardex td.is-report-unit-cost .product-money-cell strong,
.report-table--kardex td.is-report-total-cost .product-money-cell strong,
.report-table--kardex td.is-report-balance-before .product-number-cell strong,
.report-table--kardex td.is-report-balance-after .product-number-cell strong {
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--kardex td.is-report-date .movement-meta span,
.report-table--kardex td.is-report-net-output .product-number-cell span,
.report-table--kardex td.is-report-balance-before .product-number-cell span,
.report-table--kardex td.is-report-balance-after .product-number-cell span {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-table--kardex td.is-report-operational .product-number-cell,
.report-table--kardex td.is-report-net-output .product-number-cell,
.report-table--kardex td.is-report-unit-cost .product-money-cell,
.report-table--kardex td.is-report-total-cost .product-money-cell,
.report-table--kardex td.is-report-balance-before .product-number-cell,
.report-table--kardex td.is-report-balance-after .product-number-cell {
  justify-items: start;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.report-table--kardex td.is-report-type .pill-mode {
  box-sizing: border-box;
  width: fit-content;
  min-width: 0;
  min-height: 34px;
  padding: 0.28rem 0.58rem;
  font-size: 0.82rem;
  white-space: nowrap;
  justify-self: start;
}

.audit-note {
  margin: 0.75rem 0 0;
  color: #5b7891;
  font-size: 0.88rem;
}

body.is-modal-open {
  overflow: hidden;
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 51, 0.48);
  backdrop-filter: blur(6px);
}

.confirm-modal__dialog {
  position: relative;
  width: min(520px, calc(100vw - 2rem));
  margin: min(14vh, 7rem) auto 0;
  padding: 1.2rem 1.2rem 1rem;
  border-radius: 22px;
  border: 1px solid #f0d3d0;
  background:
    radial-gradient(circle at top right, rgba(244, 111, 109, 0.14), transparent 34%),
    linear-gradient(145deg, #ffffff, #fff7f6);
  box-shadow: 0 26px 54px rgba(10, 42, 77, 0.24);
}

.confirm-modal__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.confirm-modal__badge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #f68b84, #e15f57);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(225, 95, 87, 0.22);
}

.confirm-modal__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a45851;
  font-weight: 800;
}

.confirm-modal__title {
  margin: 0;
  font-size: 1.28rem;
  color: #173958;
}

.confirm-modal__message {
  margin: 0 0 1.1rem;
  color: #425f79;
  font-size: 0.98rem;
  line-height: 1.65;
}

.confirm-modal__reason {
  display: grid;
  gap: 0.42rem;
  margin: 0 0 1.1rem;
}

.confirm-modal__reason[hidden] {
  display: none;
}

.confirm-modal__reason span {
  color: #173958;
  font-size: 0.86rem;
  font-weight: 800;
}

.confirm-modal__reason textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid #d5e5f0;
  border-radius: 14px;
  padding: 0.72rem 0.82rem;
  color: #173958;
  background: #ffffff;
  font: inherit;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.confirm-modal__reason textarea:focus {
  outline: none;
  border-color: var(--lav-coral);
  box-shadow: 0 0 0 4px rgba(244, 111, 109, 0.16);
}

.confirm-modal__reason small {
  color: #b3423d;
  font-size: 0.78rem;
  font-weight: 800;
}

.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.confirm-modal__cancel {
  min-width: 110px;
}

.confirm-modal__accept {
  min-width: 132px;
  min-height: 42px;
  padding: 0.58rem 0.94rem;
  border: 1px solid #0f74cb;
  border-radius: 12px;
  background: linear-gradient(120deg, #0f74cb, #1797bd);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 116, 203, 0.22);
}

.confirm-modal__accept.is-danger {
  border-color: #cf5953;
  background: linear-gradient(120deg, #e46c65, #cf5953);
  box-shadow: 0 12px 24px rgba(207, 89, 83, 0.2);
}

.confirm-modal__accept:hover {
  filter: brightness(0.98);
}

.image-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 61;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 51, 0.52);
  backdrop-filter: blur(5px);
}

.image-modal__dialog {
  position: relative;
  width: min(560px, calc(100vw - 2rem));
  margin: min(10vh, 4.5rem) auto 0;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid #d8e8f3;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(57, 198, 223, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbfe);
  box-shadow: 0 26px 54px rgba(10, 42, 77, 0.24);
}

.image-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.image-modal__eyebrow {
  margin: 0 0 0.14rem;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6888a2;
  font-weight: 800;
}

.image-modal__title {
  margin: 0;
  font-size: 1.2rem;
  color: #173958;
}

.image-modal__close {
  width: 38px;
  height: 38px;
  border: 1px solid #d7e7f1;
  border-radius: 12px;
  background: #ffffff;
  color: #355b7e;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
}

.image-modal__body {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 0.5rem;
  border: 1px solid #d8e8f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f4f9fd);
}

.image-modal__body img {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 520px);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(24, 63, 102, 0.18);
}

.card,
.panel,
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.metric {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.metric.warning {
  color: var(--warning);
}

.metric.danger {
  color: var(--danger);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn-primary,
.btn-outline,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-weight: 700;
  padding: 0.56rem 0.85rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.btn-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-primary,
button[type='submit']:not(.btn-outline):not(.btn-danger-outline):not(.btn-success-outline) {
  background: linear-gradient(120deg, var(--lav-blue), #1572d9);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--lav-blue);
  color: var(--lav-blue);
  background: var(--white);
}

.btn-outline.active {
  background: #eaf5ff;
  border-color: #95bee0;
  color: #1a5d98;
}

.btn-danger-outline,
.btn-success-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.44rem 0.74rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  border: 1px solid;
}

.btn-danger-outline {
  border-color: #b64a47;
  background: linear-gradient(120deg, #df6864, #b64a47);
}

.btn-danger-outline:hover {
  background: linear-gradient(120deg, #d75f5b, #a8423f);
}

.btn-success-outline {
  border-color: #0a7a43;
  background: linear-gradient(120deg, #1ca562, #0a7a43);
}

.btn-success-outline:hover {
  background: linear-gradient(120deg, #189758, #086c3c);
}

.btn-nav-soft {
  border-color: #b8d7e9;
  background: linear-gradient(120deg, #ffffff, #f4fbff);
  color: #275b85;
  box-shadow: 0 8px 18px rgba(15, 116, 203, 0.08);
}

.btn-nav-soft:hover {
  border-color: #96c3df;
  background: linear-gradient(120deg, #fafdff, #eaf6fd);
  color: #184d77;
}

.btn-export-soft {
  border-color: #8dcad9;
  background: linear-gradient(120deg, #f8fdff, #e7f7fb);
  color: #146180;
  box-shadow: 0 8px 18px rgba(35, 170, 197, 0.1);
}

.btn-export-soft:hover {
  border-color: #6dbfd2;
  background: linear-gradient(120deg, #f1fbfe, #dff3f8);
  color: #0f5370;
}

.btn-search-soft {
  border-color: #7fcddd;
  background: linear-gradient(120deg, #effbfe, #dff5fb);
  color: #0f5f88;
  box-shadow: 0 8px 18px rgba(23, 151, 189, 0.12);
}

.btn-search-soft:hover {
  border-color: #63bfd4;
  background: linear-gradient(120deg, #e7f8fd, #d3eff8);
  color: #0c557d;
}

.btn-action-sm {
  min-height: 40px;
  padding: 0.52rem 0.82rem;
  border-radius: 11px;
  font-size: 0.89rem;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-action-sm .btn-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.btn-action-sm .btn-icon svg {
  width: 15px;
  height: 15px;
}

.btn-icon-only {
  width: 40px;
  min-width: 40px;
  padding-inline: 0;
  padding-block: 0;
}

.btn-icon-only .btn-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.btn-icon-only .btn-icon svg {
  width: 16px;
  height: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 0.88rem 0.96rem;
}

.form-grid > div {
  display: grid;
  gap: 0.28rem;
}

.form-grid > .form-actions {
  display: flex;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #c8d9e6;
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  min-height: 44px;
  font-size: 0.98rem;
  font: inherit;
  background: #ffffff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #8ba2b8;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: #23aac5;
  box-shadow: 0 0 0 3px rgba(35, 170, 197, 0.14);
  background: #ffffff;
}

.form-grid > .errorlist {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0.64rem 0.76rem;
  border: 1px solid #f2b8b6;
  border-radius: 12px;
  background: #fff3f3;
  color: #9f2f2b;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b8d7ec;
  border-radius: 10px;
  padding: 0.56rem 0.62rem;
  font: inherit;
  background: #fcfeff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #3497dd;
  box-shadow: 0 0 0 3px rgba(52, 151, 221, 0.14);
  background: #ffffff;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.42rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e0ecf5;
}

.form-actions .btn-primary,
.form-actions .btn-outline,
.form-actions button,
.form-actions a {
  width: auto;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 42px;
  white-space: nowrap;
  border-radius: 10px;
  font-size: 0.91rem;
  line-height: 1.1;
  padding: 0.56rem 0.92rem;
}

.form-actions .btn-outline {
  border-color: #b8cfe0;
  color: #325876;
  background: #ffffff;
}

.user-form-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.btn-compact {
  min-width: 108px;
  min-height: 42px;
  padding: 0.52rem 0.9rem;
  border-radius: 10px;
  font-size: 0.89rem;
  line-height: 1.1;
}

.btn-cancel-inline {
  min-width: 0;
  width: auto !important;
  padding-inline: 0.72rem;
}

.btn-save-inline {
  min-width: 122px;
  width: auto !important;
}

.user-form-actions .btn-outline {
  border-color: #c1d7e6;
  color: #355875;
  background: linear-gradient(120deg, #ffffff, #f8fbfe);
}

.user-form-actions .btn-primary {
  background: linear-gradient(120deg, #0c6fcb, #1783d7 54%, #26a7d5);
}

@media (max-height: 860px) and (min-width: 981px) {
  .app-sidebar {
    padding: 0.58rem 0.64rem 0.7rem;
  }

  .sidebar-head {
    margin-bottom: 0.36rem;
  }

  .sidebar-brand,
  .brand {
    font-size: 0.96rem;
  }

  .guest-brand-logo {
    max-width: 10.8rem;
    height: 2.3rem;
  }

  .sidebar-nav {
    gap: 0.22rem;
  }

  .sidebar-group {
    margin: 0.56rem 0 0.04rem;
    font-size: 0.64rem;
  }

  .sidebar-nav a {
    min-height: 2.7rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.86rem;
  }

  .nav-link-icon {
    width: 1.62rem;
    height: 1.62rem;
    flex-basis: 1.62rem;
  }

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

@media (max-width: 1220px) {
  .dashboard-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .dashboard-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .dashboard-card-grid--primary {
    grid-template-columns: repeat(auto-fit, minmax(220px, 265px));
  }

  .dashboard-overview-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-chart-panel,
  .dashboard-chart-panel--viewer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-alert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-hero__stats {
    grid-template-columns: repeat(3, minmax(136px, 164px));
  }
}

@media (max-width: 860px) {
  .ops-hero__stats {
    grid-template-columns: repeat(2, minmax(136px, 1fr));
    width: 100%;
  }

  .dashboard-hero {
    gap: 0.82rem;
  }

  .dashboard-panel {
    padding: 0.9rem;
  }

  .dashboard-alert-grid {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .dashboard-card-grid,
  .dashboard-card-grid--primary {
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: stretch;
  }

  .dashboard-card-grid--modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
    gap: 0.58rem;
  }

  .dashboard-panel.users-panel--list .dashboard-card-grid {
    justify-items: stretch;
  }

  .dashboard-modules-panel .dashboard-card-grid--modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-link-card {
    min-height: 78px;
    border-radius: 18px;
  }

  .dashboard-mini-card {
    min-height: 62px;
    padding: 0.62rem 0.66rem;
    border-radius: 15px;
  }

  .dashboard-mini-card strong {
    font-size: 0.88rem;
  }

  .dashboard-mini-card span {
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .dashboard-focus-card,
  .dashboard-alert-card {
    min-height: auto;
    padding: 0.68rem 0.72rem;
    border-radius: 15px;
  }

  .dashboard-focus-card strong,
  .dashboard-alert-card strong {
    font-size: 1.42rem;
  }

  .dashboard-chart-card {
    padding: 0.66rem;
    border-radius: 15px;
  }

  .dashboard-chart-canvas {
    height: 188px;
  }

  .dashboard-chart-panel--viewer .dashboard-chart-canvas {
    height: 218px;
  }

  .dashboard-chart-panel--admin .dashboard-chart-canvas,
  .dashboard-chart-panel--admin .dashboard-chart-canvas--short,
  .dashboard-chart-panel--admin .dashboard-chart-canvas--products {
    height: 218px;
  }

  .dashboard-chart-canvas--short {
    height: 168px;
  }

  .dashboard-chart-canvas--products {
    height: 218px;
  }

  .dashboard-chart-head {
    flex-direction: column;
    align-items: center;
    gap: 0.22rem;
    text-align: center;
  }

  .dashboard-chart-head strong {
    text-align: center;
  }

  .dashboard-compare-row div {
    display: grid;
    gap: 0.12rem;
    text-align: left;
  }

  .dashboard-recent-item {
    grid-template-columns: 1fr;
  }

  .dashboard-recent-type {
    grid-row: auto;
    justify-self: start;
    padding-inline: 0.68rem;
  }

  .ops-hero__stats--single {
    grid-template-columns: minmax(136px, 1fr);
  }

  .ops-search-field {
    min-width: 0;
    max-width: none;
    flex-basis: 100%;
  }

  .profile-shell {
    grid-template-columns: 1fr;
  }

  .profile-panel::after {
    right: -1rem;
    bottom: 1rem;
    width: min(18rem, 68%);
    height: 6rem;
    opacity: 0.045;
  }

  .profile-summary-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .profile-pill-row,
  .profile-main-action {
    grid-column: 1 / -1;
  }

  .profile-info-list,
  .profile-info-list--compact {
    grid-template-columns: 1fr;
  }
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.inline-form {
  display: inline-flex;
}

.inline-form button {
  margin: 0;
}

.grid.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.8rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.toolbar input,
.toolbar select {
  width: min(280px, 100%);
}

.users-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(162px, 196px) 104px;
  align-items: stretch;
  gap: 0.72rem;
  width: min(760px, 100%);
  max-width: 100%;
  margin: 0;
}

.users-toolbar > *,
.products-toolbar > *,
.audit-toolbar > * {
  min-width: 0;
}

.users-toolbar.is-auto-submit {
  grid-template-columns: minmax(260px, 1fr) minmax(162px, 196px);
  width: min(640px, 100%);
  max-width: 100%;
}

.categories-toolbar,
.suppliers-toolbar,
.dosifiers-toolbar {
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 188px) 104px;
  width: min(100%, 760px);
  max-width: 100%;
}

.categories-toolbar.is-auto-submit,
.suppliers-toolbar.is-auto-submit,
.dosifiers-toolbar.is-auto-submit {
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 188px);
  width: min(100%, 700px);
  max-width: 100%;
}

.products-toolbar,
.products-toolbar.is-auto-submit {
  width: min(100%, 860px);
  max-width: 100%;
}

.products-toolbar.is-auto-submit {
  width: min(100%, 640px);
}

.search-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.search-field input {
  width: 100%;
  padding-left: 2rem;
}

.search-icon {
  position: absolute;
  left: 0.65rem;
  color: #5f7b93;
  font-size: 0.9rem;
  pointer-events: none;
}

.users-toolbar select {
  width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.25;
  background-color: #ffffff;
  padding-right: 2.35rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f7b93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.82rem center;
  background-size: 14px 14px;
}

.users-filter-menu {
  position: relative;
  min-width: 0;
}

.users-filter-menu summary {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 48px;
  border: 1px solid rgba(10, 98, 189, 0.72);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: #0a62bd;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 16px rgba(8, 84, 158, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.users-filter-menu summary::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lav-blue), var(--lav-cyan));
  opacity: 0.72;
}

.users-filter-menu summary:hover,
.users-filter-menu[open] summary {
  border-color: var(--lav-blue);
  color: #084f9f;
  box-shadow: 0 12px 22px rgba(8, 84, 158, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.users-filter-menu[open] summary::before {
  background: linear-gradient(180deg, var(--lav-cyan), var(--lav-blue));
  opacity: 1;
}

.users-filter-menu summary::-webkit-details-marker {
  display: none;
}

.users-filter-menu summary .btn-icon,
.users-filter-menu summary .btn-icon svg {
  width: 18px;
  height: 18px;
}

.users-filter-menu__panel {
  position: fixed;
  left: var(--filter-panel-left, 1rem);
  top: var(--filter-panel-top, 1rem);
  right: auto;
  z-index: 80;
  display: grid;
  gap: 0.16rem;
  box-sizing: border-box;
  width: min(280px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  max-height: min(68vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.46rem;
  border: 1px solid #cfe1ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(10, 70, 126, 0.16);
}

.users-filter-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  width: 100%;
  padding: 0.3rem 0.64rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #1b4c75;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.24;
  cursor: pointer;
}

.users-export-menu {
  position: relative;
  min-width: 150px;
}

.users-panel-actions:has(.users-export-menu[open]) {
  z-index: 140;
}

.users-export-menu[open] {
  z-index: 150;
}

.users-export-menu summary {
  min-width: 150px;
  padding: 0.72rem 1rem;
}

.users-export-menu__panel {
  z-index: 220;
  width: min(190px, calc(100vw - 1.5rem));
}

.users-export-option {
  text-decoration: none;
}

.users-filter-option:hover {
  border-color: rgba(10, 98, 189, 0.18);
  background: #f3f8fd;
}

.users-filter-option.active,
.users-filter-option.is-active {
  border-color: rgba(10, 98, 189, 0.72);
  background: #0f79d6;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(8, 84, 158, 0.14);
}

.users-filter-option.active::before,
.users-filter-option.is-active::before {
  content: '✓';
  flex: 0 0 auto;
  margin-right: 0.42rem;
  font-weight: 800;
}

.users-filter-option__check {
  display: none;
}

.users-filter-option:focus-visible {
  outline: 3px solid rgba(244, 111, 109, 0.2);
  outline-offset: 2px;
}

.users-toolbar .btn-outline {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding-inline: 0.72rem;
  font-size: 0.92rem;
}

@media (min-width: 961px) {
  .products-toolbar.is-auto-submit {
    grid-template-columns: minmax(280px, 1fr) minmax(150px, 172px);
  }

  .categories-toolbar.is-auto-submit,
  .suppliers-toolbar.is-auto-submit,
  .dosifiers-toolbar.is-auto-submit {
    grid-template-columns: minmax(260px, 1fr) minmax(170px, 188px);
    width: min(100%, 700px);
  }
}

.users-search-btn {
  border-color: #7fcddd;
  background: linear-gradient(120deg, #effbfe, #dff5fb);
  color: #0f5f88;
  box-shadow: 0 8px 18px rgba(23, 151, 189, 0.12);
}

.users-search-btn:hover {
  border-color: #63bfd4;
  background: linear-gradient(120deg, #e7f8fd, #d3eff8);
  color: #0c557d;
}

.users-table {
  table-layout: fixed;
  background: transparent;
}

.accounts-table {
  min-width: 960px;
}

.accounts-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.accounts-table .col-name {
  width: 19%;
}

.accounts-table .col-username {
  width: 13%;
}

.accounts-table .col-email {
  width: 24%;
}

.accounts-table .col-phone {
  width: 11%;
}

.accounts-table .col-role {
  width: 12%;
}

.accounts-table .col-status {
  width: 9%;
}

.accounts-table .col-actions {
  width: 12%;
}

.users-table.products-table .col-code {
  width: 7%;
}

.users-table.products-table .col-product {
  width: 16%;
}

.users-table.products-table .col-supply {
  width: 14%;
}

.users-table.products-table .col-presentation {
  width: 9%;
}

.users-table.products-table .col-balance-qty {
  width: 8%;
}

.users-table.products-table .col-balance-measure {
  width: 11%;
}

.users-table.products-table .col-unit-cost {
  width: 9%;
}

.users-table.products-table .col-total-cost {
  width: 9%;
}

.users-table.products-table .col-status {
  width: 8%;
}

.users-table.products-table .col-actions {
  width: 9%;
}

.accounts-table th.is-role,
.accounts-table td.is-role,
.accounts-table th.is-status,
.accounts-table td.is-status,
.accounts-table th.is-actions,
.accounts-table td.is-actions {
  text-align: left;
}

.users-table.products-table th.is-balance-qty,
.users-table.products-table th.is-balance-measure,
.users-table.products-table th.is-unit-cost,
.users-table.products-table th.is-total-cost,
.users-table.products-table td.is-balance-qty,
.users-table.products-table td.is-balance-measure,
.users-table.products-table td.is-unit-cost,
.users-table.products-table td.is-total-cost {
  text-align: left;
}

.users-table.products-table td.product-actions {
  text-align: center;
}

.accounts-panel {
  min-width: 0;
  container-type: inline-size;
  container-name: accounts-panel;
}

.users-table td {
  vertical-align: middle;
  padding: 0.72rem 0.62rem;
  font-size: 0.93rem;
}

.users-name-cell,
.users-email-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.34;
}

.users-name-cell {
  font-weight: 800;
  color: #1a3f66;
}

.users-username-cell {
  color: #13589b;
  font-weight: 800;
}

.users-email-cell {
  color: #355b7e;
}

.users-phone-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #28496a;
}

.users-table .users-actions-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.32rem;
}

.users-table .users-actions-group .btn-outline,
.users-table .users-actions-group .btn-danger-outline,
.users-table .users-actions-group .btn-success-outline {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 10px;
}

.users-action-btn {
  width: 34px;
  height: 34px;
}

.users-action-btn .btn-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.users-action-btn .btn-icon svg {
  width: 15px;
  height: 15px;
}

.users-table .users-actions-group > a,
.users-table .users-actions-group > form {
  width: auto;
}

.users-table .users-actions-group .inline-form {
  display: inline-flex;
  margin: 0;
}

.users-table .users-actions-group .inline-form button {
  width: 34px;
  margin: 0;
}

.movement-actions-group {
  justify-content: flex-start;
}

.movement-actions-group .btn-danger-outline {
  color: #c84f49;
  border-color: rgba(200, 79, 73, 0.72);
  background: #fff8f7;
}

.movement-actions-group .btn-danger-outline:hover {
  color: #ffffff;
  background: #cf5953;
  border-color: #cf5953;
}

.users-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 36px;
  padding: 0.36rem 0.78rem;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.users-pill-role {
  min-width: 118px;
  margin-inline: 0;
}

.users-pill-status {
  min-width: 92px;
  margin-inline: 0;
}

.users-pill-status--warning {
  border-color: #f2d5a6;
  background: #fff6e8;
  color: #bd7a20;
}

.users-pill-status--danger {
  border-color: #f0c3bf;
  background: #fff0ee;
  color: #c84f49;
}

.output-requests-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.72rem;
  margin-bottom: 0.82rem;
  padding: 0.82rem;
  border: 1px solid #dae8f1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.output-requests-panel summary {
  cursor: pointer;
  list-style: none;
}

.output-requests-panel summary::-webkit-details-marker {
  display: none;
}

.output-requests-panel:not([open]) {
  gap: 0;
}

.output-requests-panel:not([open]) .output-request-list {
  display: none;
}

.output-requests-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
}

.output-requests-head h3 {
  margin: 0;
  color: #173f66;
  font-size: 1.08rem;
  line-height: 1.2;
}

.output-request-list {
  display: grid;
  gap: 0.58rem;
}

.output-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto) auto;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e8f2;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(57, 198, 223, 0.07), rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98) 78%, rgba(244, 111, 109, 0.05)),
    #ffffff;
}

.output-request-card__main,
.output-request-card__meta {
  display: grid;
  min-width: 0;
}

.output-request-card__main {
  gap: 0.14rem;
}

.output-request-card__main strong {
  color: #173f66;
  font-size: 0.98rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.output-request-card__main span:not(.product-inline-pill) {
  color: #638098;
  font-size: 0.82rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.output-request-card__meta {
  justify-items: start;
  color: #244c72;
  font-variant-numeric: tabular-nums;
}

.output-request-card__meta strong {
  font-size: 0.96rem;
}

.output-request-card__meta span {
  color: #6a859c;
  font-size: 0.78rem;
}

.output-request-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.table-copy {
  display: block;
  width: 100%;
  line-height: 1.34;
}

.table-copy strong {
  display: block;
  color: #173f66;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.table-copy--secondary {
  color: #355b7e;
  font-size: 0.9rem;
}

.supplier-table .col-code {
  width: 9%;
}

.supplier-table .col-nit {
  width: 12%;
}

.supplier-table .col-company {
  width: 21%;
}

.supplier-table .col-contact {
  width: 14%;
}

.supplier-table .col-phone {
  width: 10%;
}

.supplier-table .col-email {
  width: 16%;
}

.supplier-table .col-status {
  width: 8%;
}

.supplier-table .col-actions {
  width: 10%;
}

.category-table .col-actions {
  width: 92px;
}

.supplier-table,
.category-table,
.dosifier-table,
.movements-table {
  width: 100%;
}

.supplier-table {
  min-width: 1120px;
}

.supplier-table th.is-status,
.supplier-table td.is-status,
.supplier-table th.is-actions,
.supplier-table td.is-actions {
  text-align: left;
}

.supplier-table,
.category-table {
  table-layout: fixed;
}

.categories-table-shell {
  overflow-x: hidden;
  overflow-y: hidden;
}

.suppliers-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.category-table .col-name {
  width: 30%;
}

.category-table .col-description {
  width: 44%;
}

.category-table .col-status {
  width: 12%;
}

.category-table .col-actions {
  width: 14%;
}

.category-table th:nth-child(3),
.category-table td:nth-child(3) {
  text-align: left;
}

.category-table td.is-actions {
  text-align: center;
}

.category-table .users-pill-status {
  min-width: 82px;
  padding-inline: 0.68rem;
}

.category-table .users-action-btn,
.category-table .category-actions-group .inline-form button {
  width: 32px;
  height: 32px;
}

.category-table .users-action-btn .btn-icon,
.category-table .users-action-btn .btn-icon svg {
  width: 14px;
  height: 14px;
}

.supplier-table .action-row,
.category-table .category-actions-group {
  flex-wrap: nowrap;
  justify-content: center;
}

.category-table .product-text-cell {
  display: grid;
  gap: 0.16rem;
  justify-items: start;
  width: 100%;
}

.category-table .product-text-cell strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.34;
  max-width: 100%;
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.category-table .category-name-cell .product-text-cell strong {
  font-weight: 800;
}

.category-table .category-description-cell .product-text-cell strong {
  color: #648099;
  font-weight: 400;
}

.category-table .category-actions {
  text-align: center;
}

.category-table .category-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.category-table .category-actions-group .inline-form {
  display: inline-flex;
  margin: 0;
}

.supplier-table .users-pill-status {
  min-width: 75px;
  padding-inline: 0.64rem;
  justify-self: start;
}

.supplier-table .product-text-cell {
  display: grid;
  gap: 0.16rem;
  justify-items: start;
  min-width: 0;
  width: 100%;
}

.supplier-code-cell .product-text-cell strong {
  color: #13589b;
  font-size: 0.94rem;
  font-weight: 800;
}

.supplier-company-cell .product-text-cell strong {
  color: #1a3f66;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.34;
}

.supplier-table .supplier-company-cell .product-text-cell strong,
.supplier-table .supplier-contact-cell .product-text-cell strong,
.supplier-table .supplier-email-cell .product-text-cell strong {
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.supplier-table .supplier-phone-cell .product-text-cell strong,
.supplier-table .supplier-nit-cell .product-text-cell strong {
  color: #355b7e;
  font-weight: 400;
}

.supplier-table .supplier-code-cell .product-text-cell strong,
.supplier-table .supplier-phone-cell .product-text-cell strong,
.supplier-table .supplier-nit-cell .product-text-cell strong {
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.supplier-table .supplier-contact-cell .product-text-cell strong,
.supplier-table .supplier-email-cell .product-text-cell strong {
  color: #355b7e;
  font-weight: 400;
}

.supplier-table td.is-email,
.supplier-table .supplier-email-cell .product-text-cell,
.supplier-table .supplier-email-cell .product-text-cell strong {
  text-align: left;
  justify-self: start;
}

.supplier-table .action-row {
  gap: 0.28rem;
}

.supplier-table .users-action-btn,
.supplier-table .action-row .inline-form button {
  width: 32px;
  height: 32px;
}

.supplier-table .users-action-btn .btn-icon,
.supplier-table .users-action-btn .btn-icon svg {
  width: 14px;
  height: 14px;
}

.supplier-table .supplier-actions {
  text-align: left;
}

.supplier-table .supplier-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.supplier-table .supplier-actions-group .inline-form {
  display: inline-flex;
  margin: 0;
}

.supplier-table td,
.category-table td,
.dosifier-table td,
.movements-table td {
  padding: 0.78rem 0.72rem;
  font-size: 0.93rem;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
}

.supplier-table thead th,
.category-table thead th,
.dosifier-table thead th,
.movements-table thead th {
  padding: 0.74rem 0.72rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.users-table thead th,
.accounts-table thead th,
.products-table thead th,
.supplier-table thead th,
.category-table thead th,
.dosifier-table thead th,
.movements-table thead th,
.audit-history-table thead th,
.report-table thead th {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.supplier-code-cell .product-text-cell strong,
.supplier-company-cell .product-text-cell strong,
.category-name-cell .table-copy strong,
.dosifier-name-cell .table-copy strong {
  color: #1a5f98;
}

.dosifier-name-cell .product-text-cell strong {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1a3f66;
}

.dosifier-value-cell .product-number-cell strong,
.dosifier-unit-cell .product-text-cell strong {
  color: #355b7e;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dosifier-status-cell {
  text-align: left;
}

.dosifier-table .users-pill-status {
  min-width: 84px;
  padding-inline: 0.66rem;
}

.dosifier-actions {
  padding-inline: 0.34rem;
}

.dosifiers-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.supplier-contact-cell .product-text-cell,
.supplier-email-cell .product-text-cell,
.category-description-cell .table-copy {
  overflow-wrap: anywhere;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.table-shell {
  overflow-x: auto;
}

.users-table-shell {
  position: relative;
  z-index: 1;
  border: 1px solid #d8e6ef;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  overflow: hidden;
}

.users-table-shell.categories-table-shell {
  overflow-x: hidden;
  overflow-y: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.users-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(57, 198, 223, 0.09), rgba(244, 111, 109, 0.06) 100%);
}

tbody tr:nth-child(even) {
  background: rgba(251, 253, 255, 0.82);
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #e2edf6;
  padding: 0.62rem;
  font-size: 0.97rem;
}

.users-table tbody tr:last-child td {
  border-bottom: 0;
}

th {
  background: linear-gradient(180deg, #f7fbfe, #eef5fa);
  font-family: 'Outfit', sans-serif;
  color: #1d466b;
  font-size: 0.98rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 999px;
  min-height: 36px;
  padding: 0.36rem 0.78rem;
  font-weight: 700;
  line-height: 1;
  font-size: 0.83rem;
  background: #edf3f8;
  color: #496784;
}

.pill-state {
  min-width: 92px;
}

.pill-state-wide {
  min-width: 118px;
}

.pill-mode {
  min-width: 104px;
}

.pill.success {
  background: #e5f8ef;
  color: var(--ok);
}

.pill.warning {
  background: #fff3e2;
  color: var(--warning);
}

.pill.danger {
  background: #ffe8e5;
  color: var(--danger);
}

.users-pill.warning {
  background: #fff4e8;
  border-color: #f1debf;
  color: #c27510;
}

.users-pill.success,
.audit-action-pill.success {
  background: #ebf8f1;
  border-color: #cbe7d7;
  color: #14864b;
}

.audit-action-pill.info {
  background: #edf6ff;
  border-color: #d4e5f5;
  color: #1a5f98;
}

.users-pill.danger,
.audit-action-pill.danger {
  background: #fff0ee;
  border-color: #f4cbc5;
  color: #d24a39;
}

.audit-action-pill.warning {
  background: #fff7e8;
  border-color: #f1e2bc;
  color: #be7b13;
}

.users-table td:first-child,
.audit-history-table td.is-audit-user {
  font-weight: 700;
  color: #173b5a;
  font-size: 0.89rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.accounts-table td.is-username,
.audit-history-table td.is-audit-module {
  color: #1a5f98;
  font-weight: 700;
}

.accounts-table td.is-email,
.audit-history-table td.is-audit-detail {
  color: #274b67;
}

.audit-history-table td.is-audit-detail {
  line-height: 1.35;
}

.audit-detail-text {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.messages {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.message {
  border-radius: 11px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #d7e6f2;
  background: #f5fbff;
}

.message.success {
  border-color: #b8e7cd;
  background: #eafaf1;
}

.message.error {
  border-color: #f8bfc0;
  background: #fff0f0;
}

.auth-layout {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
}

.auth-layout--lavandera {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 440px);
  gap: clamp(1rem, 3vw, 2rem);
  width: min(1180px, 100%);
  min-height: calc(100vh - 130px);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(205, 227, 243, 0.78);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 111, 109, 0.9) 0 11rem, transparent 11.1rem),
    radial-gradient(circle at 88% 62%, rgba(57, 198, 223, 0.86) 0 7.4rem, transparent 7.5rem),
    radial-gradient(circle at 62% 9%, rgba(255, 255, 255, 0.98) 0 6rem, transparent 6.1rem),
    linear-gradient(120deg, #155ba7 0%, #0d62bb 54%, #237dcc 100%);
  box-shadow: 0 28px 70px rgba(11, 77, 142, 0.2);
}

.auth-layout--lavandera::before,
.auth-layout--lavandera::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.auth-layout--lavandera::before {
  right: -5.6rem;
  bottom: -4.6rem;
  width: 17rem;
  height: 17rem;
  border: 3.4rem solid rgba(255, 255, 255, 0.92);
  background: transparent;
}

.auth-layout--lavandera::after {
  right: 14rem;
  top: -5.2rem;
  width: 9.8rem;
  height: 18rem;
  background: rgba(255, 255, 255, 0.96);
  transform: rotate(7deg);
}

.auth-brand-panel,
.auth-card--lavandera {
  position: relative;
  z-index: 1;
}

.auth-brand-panel {
  align-self: stretch;
  display: grid;
  align-content: space-between;
  min-height: 520px;
  color: #ffffff;
}

.auth-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  width: fit-content;
  max-width: min(12.5rem, 100%);
  font-family: 'Outfit', sans-serif;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.auth-brand-logo {
  display: block;
  width: auto;
  max-width: 12rem;
  height: 2.7rem;
  object-fit: contain;
  object-position: left center;
}

.auth-hero-copy {
  display: grid;
  gap: 0.76rem;
  max-width: 33rem;
}

.auth-hero-copy .module-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.auth-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.auth-hero-copy span {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.45;
}

.auth-visual {
  position: absolute;
  right: clamp(0.5rem, 5vw, 4.2rem);
  bottom: clamp(0.6rem, 4vw, 3rem);
  width: min(38vw, 360px);
  aspect-ratio: 0.86;
  pointer-events: none;
}

.auth-washer {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 72%;
  aspect-ratio: 0.78;
  border: 1px solid rgba(27, 69, 108, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, #f9fbfd, #bfc9d1 58%, #eef2f5);
  box-shadow: 0 22px 42px rgba(8, 44, 84, 0.32);
}

.auth-washer__top {
  position: absolute;
  inset: 0.72rem 0.72rem auto;
  height: 22%;
  border: 1px solid rgba(65, 87, 110, 0.22);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #dbe3e9);
}

.auth-washer__top::before,
.auth-washer__top::after {
  content: '';
  position: absolute;
  top: 32%;
  height: 7px;
  border-radius: 999px;
  background: rgba(35, 76, 114, 0.28);
}

.auth-washer__top::before {
  left: 0.8rem;
  width: 38%;
}

.auth-washer__top::after {
  right: 0.8rem;
  width: 20%;
}

.auth-washer__door {
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: 62%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 0.72rem solid #eef4f8;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.8), transparent 21%),
    radial-gradient(circle at center, rgba(80, 118, 154, 0.58), rgba(16, 47, 80, 0.86));
  box-shadow: inset 0 0 0 2px rgba(31, 73, 112, 0.28), 0 12px 24px rgba(11, 47, 84, 0.22);
}

.auth-bubble {
  position: absolute;
  display: block;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(8, 44, 84, 0.18);
}

.auth-bubble--coral {
  left: 1rem;
  top: 6rem;
  width: 7.2rem;
  height: 7.2rem;
  background:
    radial-gradient(circle at 50% 72%, #ffffff 0 34%, transparent 35%),
    var(--lav-coral);
}

.auth-bubble--cyan {
  right: -1rem;
  top: 1.2rem;
  width: 4.4rem;
  height: 4.4rem;
  background: var(--lav-cyan);
}

.auth-card--lavandera {
  width: 100%;
  padding: 1.18rem;
  border: 1px solid rgba(217, 232, 243, 0.98);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 54px rgba(8, 44, 84, 0.22);
  backdrop-filter: blur(10px);
}

.auth-card-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  margin-bottom: 1rem;
}

.auth-card-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.auth-card-logo {
  display: block;
  width: auto;
  max-width: 4.8rem;
  height: 1.85rem;
  object-fit: contain;
}

.auth-card-logo--form {
  max-width: 5.8rem;
  height: 2.7rem;
}

.auth-card-head h1 {
  margin: 0;
  color: #173f66;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.08;
}

.auth-form {
  display: grid;
  gap: 0.72rem;
}

.auth-field {
  display: grid;
  gap: 0.32rem;
  color: #244c72;
  font-weight: 800;
}

.auth-field span {
  font-size: 0.84rem;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #caddeb;
  border-radius: 14px;
  background: #ffffff;
  color: #173f66;
  font: inherit;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--lav-coral);
  box-shadow: 0 0 0 3px rgba(244, 111, 109, 0.16);
}

.auth-submit {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  margin-top: 0.14rem;
  border-radius: 14px;
  font-size: 0.96rem;
}

.pagination-shell {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pagination-info {
  margin: 0;
  color: #56718b;
  font-size: 0.9rem;
}

.pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.pagination-links a,
.pagination-links span {
  border-radius: 9px;
  border: 1px solid #c5dced;
  padding: 0.34rem 0.62rem;
  min-width: 2rem;
  text-align: center;
  font-size: 0.84rem;
  text-decoration: none;
}

.pagination-links a {
  background: #ffffff;
  color: #25527d;
}

.pagination-links a:hover {
  background: #edf6ff;
}

.pagination-links .active {
  background: linear-gradient(120deg, var(--lav-blue), #0f79d6);
  border-color: #0f79d6;
  color: #ffffff;
  font-weight: 700;
}

.pagination-links .disabled {
  background: #f5f9fc;
  color: #88a0b7;
}

@media (max-width: 1180px) {
  .topbar-subtitle {
    display: none;
  }

  .users-table td,
  .supplier-table td,
  .category-table td,
  .dosifier-table td,
  .movements-table td,
  .products-table td {
    padding-inline: 0.62rem;
    font-size: 0.91rem;
  }

  .users-table thead th,
  .supplier-table thead th,
  .category-table thead th,
  .dosifier-table thead th,
  .movements-table thead th,
  .products-table thead th {
    padding-inline: 0.62rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(82vw, 296px);
    transform: translateX(-108%);
    transition: transform 220ms ease;
  }

  .sidebar-compact-toggle {
    display: none;
  }

  .sidebar-close,
  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 19;
  }

  .app-shell.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-shell.sidebar-open .sidebar-backdrop {
    display: block;
  }

  .auth-layout--lavandera {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-brand-panel {
    min-height: 280px;
    align-content: start;
    gap: 1.4rem;
  }

  .auth-hero-copy h1 {
    max-width: 11ch;
  }

  .auth-visual {
    right: 0.4rem;
    bottom: -0.6rem;
    width: min(44vw, 260px);
  }

  .app-topbar {
    padding-inline: 0.8rem;
  }

  .topbar-copy {
    gap: 0;
  }

  .topbar-title {
    font-size: 0.96rem;
  }

  .user-summary {
    display: none;
  }

  .user-trigger {
    min-width: 0;
    padding-right: 0.3rem;
  }

  .form-grid,
  .grid.two-cols {
    grid-template-columns: 1fr;
  }

  .users-hero__stats {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .accounts-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .accounts-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 78px;
    padding: 0.64rem 0.74rem;
  }

  .products-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .products-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .categories-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .categories-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .suppliers-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .suppliers-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .entries-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .entries-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .outputs-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .outputs-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .reports-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.46rem;
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
    align-self: stretch;
  }

  .reports-hero {
    gap: 0.78rem;
    padding: 0.92rem;
  }

  .reports-hero .users-hero__content {
    width: 100%;
    max-width: none;
  }

  .reports-hero .users-hero__content h1 {
    font-size: clamp(1.78rem, 8vw, 2.35rem);
  }

  .reports-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 64px;
    padding: 0.5rem 0.6rem;
  }

  .reports-hero__stats .users-stat-card small {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.16;
  }

  .reports-hero__stats .users-stat-card strong {
    font-size: 1.1rem;
    line-height: 1.08;
  }

  .dosifiers-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .dosifiers-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 76px;
    padding: 0.58rem 0.68rem;
  }

  .users-section-head {
    flex-direction: column;
  }

  .users-panel--list .users-section-head {
    align-items: center;
  }

  .users-panel--list .users-section-copy {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .users-panel--list .users-section-copy .section-eyebrow {
    justify-self: center;
    text-align: center;
  }

  .users-panel-actions {
    width: 100%;
  }

  .users-panel--list .users-panel-actions {
    justify-content: center;
  }

  .products-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
  }

  .products-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 42vw, 188px);
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 0.95rem;
  }

  .user-form-shell {
    grid-template-columns: 1fr;
  }

  .user-form-side {
    border-right: none;
    border-bottom: 1px solid #d7e7f2;
    padding: 0.95rem;
  }

  .user-form-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .user-form-steps li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .user-form-steps li:not(:last-child)::after {
    display: none;
  }

  .user-form-main {
    padding: 0.95rem 0.9rem;
  }

  .user-form-actions {
    justify-content: flex-end;
    border-top: 1px solid #e0ecf5;
    padding-top: 0.45rem;
  }

  .hero,
  .products-hero,
  .module-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-toolbar input {
    min-width: 0;
  }

  .products-toolbar,
  .products-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    width: 100%;
  }

  .products-toolbar .search-field {
    grid-column: auto;
  }

  .products-toolbar .users-search-btn {
    grid-column: 2;
  }

  .products-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .products-table {
    display: block;
    table-layout: auto;
    min-width: 0;
    width: 100%;
  }

  .products-table thead {
    display: none;
  }

  .products-table,
  .products-table tbody,
  .products-table tbody tr {
    width: 100%;
  }

  .products-table tbody {
    display: grid;
    gap: 0.82rem;
  }

  .products-table tbody tr {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .products-table tbody tr:hover {
    border-color: rgba(120, 173, 214, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(240, 248, 255, 0.98));
    box-shadow: 0 14px 26px rgba(10, 77, 132, 0.09);
    transform: translateY(-1px);
  }

  .products-table tbody tr td {
    display: grid;
    grid-template-columns: minmax(136px, 142px) minmax(0, 1fr);
    align-items: start;
    gap: 0.94rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
  }

  .products-table tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .products-table tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
    align-self: start;
  }

  .products-table tbody tr.product-row:not(.is-expanded) td:not(.product-card-toggle-cell) {
    display: none;
  }

  .products-table tbody tr .product-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .products-table tbody tr .product-card-toggle-cell::before {
    display: none;
  }

  .products-table tbody tr.product-row.is-expanded .product-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .products-table tbody tr.product-row.is-expanded .product-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .products-table tbody tr.product-row.is-expanded td.is-code {
    margin-top: 0.72rem;
  }

  .products-table td.is-code,
  .products-table td.is-product,
  .products-table td.is-supply,
  .products-table td.is-presentation,
  .products-table td.is-status,
  .products-table td.is-balance-qty,
  .products-table td.is-balance-measure,
  .products-table td.is-unit-cost,
  .products-table td.is-total-cost,
  .products-table td.product-actions {
    text-align: left;
  }

  .products-table td.product-actions {
    padding-top: 0.42rem;
    padding-right: 0;
  }

  .products-table td .product-code-cell,
  .products-table td .product-text-cell,
  .products-table td .product-related-cell,
  .products-table td .product-measure-cell,
  .products-table td .product-number-cell,
  .products-table td .product-money-cell,
  .products-table td .products-pill-status,
  .products-table td .product-actions-group {
    justify-self: start;
  }

  .product-actions-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: fit-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .products-table td .product-code-cell strong,
  .products-table td .product-text-cell--primary strong,
  .products-table td .product-related-cell--supply strong,
  .products-table td .product-measure-cell strong,
  .products-table td .product-number-cell strong,
  .products-table td .product-money-cell strong {
    font-size: 0.98rem;
    line-height: 1.24;
  }

  .products-table td .product-text-cell--primary span,
  .products-table td .product-related-cell span,
  .products-table td .product-measure-cell span,
  .products-table td .product-number-cell span,
  .products-table td .product-money-cell span {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .products-table td.is-status .products-pill-status {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .products-table td.is-status,
  .products-table td.product-actions {
    align-items: start;
  }

  .products-table td.is-status::before,
  .products-table td.product-actions::before {
    min-height: 1rem;
    align-items: flex-start;
    padding-top: 0.04rem;
  }

  .products-table td.product-actions .product-actions-group {
    min-height: 40px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .products-table td.is-balance-qty strong,
  .products-table td.is-balance-measure strong,
  .products-table td.is-unit-cost strong,
  .products-table td.is-total-cost strong {
    white-space: normal;
  }

  .products-table td.is-product .product-text-cell--primary strong,
  .products-table td.is-supply .product-related-cell--supply strong {
    -webkit-line-clamp: unset;
  }

  .products-table td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .products-table td[colspan]::before {
    display: none;
  }

  .users-toolbar {
    grid-template-columns: minmax(0, 1fr) 164px 104px;
    width: 100%;
    max-width: 100%;
  }

  .users-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) 164px;
    width: 100%;
    max-width: 100%;
  }

  .audit-toolbar {
    width: min(560px, 100%);
  }

  .users-toolbar.report-toolbar {
    width: 100%;
  }
}

@container products-panel (max-width: 1120px) {
  .products-toolbar input {
    min-width: 0;
  }

  .products-toolbar,
  .products-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    width: 100%;
  }

  .products-toolbar .search-field {
    grid-column: auto;
  }

  .products-toolbar .users-search-btn {
    grid-column: 2;
  }

  .products-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
  }

  .products-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 42vw, 188px);
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 0.95rem;
  }

  .products-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .products-table {
    display: block;
    table-layout: auto;
    min-width: 0;
    width: 100%;
  }

  .products-table thead {
    display: none;
  }

  .products-table,
  .products-table tbody,
  .products-table tbody tr {
    width: 100%;
  }

  .products-table tbody {
    display: grid;
    gap: 0.82rem;
  }

  .products-table tbody tr {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
  }

  .products-table tbody tr td {
    display: grid;
    grid-template-columns: minmax(136px, 142px) minmax(0, 1fr);
    align-items: start;
    gap: 0.94rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
  }

  .products-table tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .products-table tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
    align-self: start;
  }

  .products-table tbody tr.product-row:not(.is-expanded) td:not(.product-card-toggle-cell) {
    display: none;
  }

  .products-table tbody tr .product-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .products-table tbody tr .product-card-toggle-cell::before {
    display: none;
  }

  .products-table tbody tr.product-row.is-expanded .product-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .products-table tbody tr.product-row.is-expanded .product-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .products-table tbody tr.product-row.is-expanded td.is-code {
    margin-top: 0.72rem;
  }

  .products-table td.is-code,
  .products-table td.is-product,
  .products-table td.is-supply,
  .products-table td.is-presentation,
  .products-table td.is-status,
  .products-table td.is-balance-qty,
  .products-table td.is-balance-measure,
  .products-table td.is-unit-cost,
  .products-table td.is-total-cost,
  .products-table td.product-actions {
    text-align: left;
  }

  .products-table td.product-actions {
    padding-top: 0.42rem;
    padding-right: 0;
  }

  .products-table td .product-code-cell,
  .products-table td .product-text-cell,
  .products-table td .product-related-cell,
  .products-table td .product-measure-cell,
  .products-table td .product-number-cell,
  .products-table td .product-money-cell,
  .products-table td .products-pill-status,
  .products-table td .product-actions-group {
    justify-self: start;
  }

  .product-actions-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: fit-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .products-table td .product-code-cell strong,
  .products-table td .product-text-cell--primary strong,
  .products-table td .product-related-cell--supply strong,
  .products-table td .product-measure-cell strong,
  .products-table td .product-number-cell strong,
  .products-table td .product-money-cell strong {
    font-size: 0.98rem;
    line-height: 1.24;
  }

  .products-table td .product-text-cell--primary span,
  .products-table td .product-related-cell span,
  .products-table td .product-measure-cell span,
  .products-table td .product-number-cell span,
  .products-table td .product-money-cell span {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .products-table td.is-status .products-pill-status {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .products-table td.is-status,
  .products-table td.product-actions {
    align-items: start;
  }

  .products-table td.is-status::before,
  .products-table td.product-actions::before {
    min-height: 1rem;
    align-items: flex-start;
    padding-top: 0.04rem;
  }

  .products-table td.product-actions .product-actions-group {
    min-height: 40px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .products-table td.is-balance-qty strong,
  .products-table td.is-balance-measure strong,
  .products-table td.is-unit-cost strong,
  .products-table td.is-total-cost strong {
    white-space: normal;
  }

  .products-table td.is-product .product-text-cell--primary strong,
  .products-table td.is-supply .product-related-cell--supply strong {
    -webkit-line-clamp: unset;
  }

  .products-table td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .products-table td[colspan]::before {
    display: none;
  }
}

@container accounts-panel (max-width: 1120px) {
  .accounts-toolbar input {
    min-width: 0;
  }

  .accounts-toolbar,
  .accounts-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    width: 100%;
  }

  .accounts-toolbar .search-field {
    grid-column: auto;
  }

  .accounts-toolbar .users-search-btn {
    grid-column: 2;
  }

  .accounts-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
  }

  .accounts-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 42vw, 188px);
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 0.95rem;
  }

  .accounts-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .accounts-table {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .accounts-table thead {
    display: none;
  }

  .accounts-table,
  .accounts-table tbody,
  .accounts-table tbody tr {
    width: 100%;
  }

  .accounts-table tbody {
    display: grid;
    gap: 0.82rem;
  }

  .accounts-table tbody tr.user-row {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .accounts-table tbody tr.user-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .accounts-table tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .accounts-table tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .accounts-table tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .accounts-table tbody tr.user-row:not(.is-expanded) td:not(.user-card-toggle-cell) {
    display: none;
  }

  .accounts-table tbody tr .user-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .accounts-table tbody tr .user-card-toggle-cell::before {
    display: none;
  }

  .accounts-table tbody tr.user-row.is-expanded .user-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .accounts-table tbody tr.user-row.is-expanded .user-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .accounts-table tbody tr.user-row.is-expanded td.is-name {
    margin-top: 0.72rem;
  }

  .accounts-table td,
  .accounts-table td.is-role,
  .accounts-table td.is-status,
  .accounts-table td.is-actions {
    text-align: left;
  }

  .accounts-table td.is-status,
  .accounts-table td.is-actions {
    align-items: start;
  }

  .accounts-table td.is-status::before,
  .accounts-table td.is-actions::before {
    min-height: 1rem;
    align-items: flex-start;
    padding-top: 0.04rem;
  }

  .accounts-table td.is-status .users-pill-status,
  .accounts-table td.is-role .users-pill-role {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .accounts-table td.is-actions .users-actions-group {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    justify-self: start;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 0.32rem;
  }

  .accounts-table td.is-email,
  .accounts-table td.is-name {
    overflow-wrap: anywhere;
  }
}

@container accounts-panel (max-width: 620px) {
  .accounts-toolbar,
  .accounts-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .accounts-toolbar .users-search-btn {
    grid-column: auto;
  }

  .accounts-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .accounts-panel .users-panel-actions > a {
    min-width: clamp(144px, 68vw, 188px);
  }
}

@container audit-panel (max-width: 1120px) {
  .audit-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(148px, 176px) 104px;
    width: 100%;
    max-width: 100%;
  }

  .audit-toolbar-wrap {
    margin-bottom: 0.92rem;
  }

  .audit-toolbar .search-field {
    flex: initial;
    max-width: none;
  }

  .audit-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .audit-history-table {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .audit-history-table colgroup,
  .audit-history-table thead {
    display: none;
  }

  .audit-history-table,
  .audit-history-table tbody,
  .audit-history-table tbody tr {
    width: 100%;
  }

  .audit-history-table tbody {
    display: grid;
    gap: 0.82rem;
  }

  .audit-history-table tbody tr.audit-row {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .audit-history-table tbody tr.audit-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .audit-history-table tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .audit-history-table tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .audit-history-table tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .audit-history-table tbody tr.audit-row:not(.is-expanded) td:not(.audit-card-toggle-cell) {
    display: none;
  }

  .audit-history-table tbody tr .audit-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .audit-history-table tbody tr .audit-card-toggle-cell::before {
    display: none;
  }

  .audit-history-table tbody tr.audit-row.is-expanded .audit-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .audit-history-table tbody tr.audit-row.is-expanded .audit-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .audit-history-table tbody tr.audit-row.is-expanded td.is-audit-user {
    margin-top: 0.72rem;
  }

  .audit-history-table td.is-audit-module .audit-module-chip,
  .audit-history-table td.is-audit-action .audit-action-pill {
    justify-self: start;
  }

  .audit-card-toggle {
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: start;
    gap: 0.52rem 0.72rem;
  }

  .audit-card-toggle__main {
    grid-column: 1 / -1;
  }

  .audit-card-toggle__meta {
    grid-column: 1 / 2;
    grid-row: 2;
    align-self: center;
    text-align: left;
  }

  .audit-card-toggle__icon {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }
}

@container audit-panel (max-width: 620px) {
  .audit-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .audit-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 78px;
    padding: 0.64rem 0.74rem;
  }

  .audit-toolbar {
    grid-template-columns: 1fr;
  }

  .audit-toolbar-wrap {
    margin-bottom: 0.98rem;
  }

  .audit-search-btn {
    width: 100%;
  }
}

@container reports-panel (max-width: 1120px) {
  .reports-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .report-table--existence,
  .report-table--existence tbody,
  .report-table--existence tbody tr {
    width: 100%;
  }

  .report-table--existence {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .report-table--existence colgroup,
  .report-table--existence thead {
    display: none;
  }

  .report-table--existence tbody {
    display: grid;
    gap: 0.82rem;
  }

  .report-table--existence tbody tr.report-row {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .report-table--existence tbody tr.report-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .report-table--existence tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .report-table--existence tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .report-table--existence tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .report-table--existence tbody tr.report-row:not(.is-expanded) td:not(.report-card-toggle-cell) {
    display: none;
  }

  .report-table--existence tbody tr .report-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .report-table--existence tbody tr .report-card-toggle-cell::before {
    display: none;
  }

  .report-table--existence tbody tr.report-row.is-expanded .report-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .report-table--existence tbody tr.report-row.is-expanded .report-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .report-table--existence tbody tr.report-row.is-expanded td.is-report-code {
    margin-top: 0.72rem;
  }

  .report-table--existence td.is-report-status .pill {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .report-table--existence td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .report-table--existence td[colspan]::before {
    display: none;
  }

  .report-table--entries,
  .report-table--entries tbody,
  .report-table--entries tbody tr {
    width: 100%;
  }

  .report-table--entries {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .report-table--entries colgroup,
  .report-table--entries thead {
    display: none;
  }

  .report-table--entries tbody {
    display: grid;
    gap: 0.82rem;
  }

  .report-table--entries tbody tr.report-row {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .report-table--entries tbody tr.report-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .report-table--entries tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .report-table--entries tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .report-table--entries tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .report-table--entries tbody tr.report-row:not(.is-expanded) td:not(.report-card-toggle-cell) {
    display: none;
  }

  .report-table--entries tbody tr .report-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .report-table--entries tbody tr .report-card-toggle-cell::before {
    display: none;
  }

  .report-table--entries tbody tr.report-row.is-expanded .report-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .report-table--entries tbody tr.report-row.is-expanded .report-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .report-table--entries tbody tr.report-row.is-expanded td.is-report-date {
    margin-top: 0.72rem;
  }

  .report-table--entries td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .report-table--entries td[colspan]::before {
    display: none;
  }

  .report-table--outputs,
  .report-table--outputs tbody,
  .report-table--outputs tbody tr {
    width: 100%;
  }

  .report-table--outputs {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .report-table--outputs colgroup,
  .report-table--outputs thead {
    display: none;
  }

  .report-table--outputs tbody {
    display: grid;
    gap: 0.82rem;
  }

  .report-table--outputs tbody tr.report-row {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .report-table--outputs tbody tr.report-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .report-table--outputs tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .report-table--outputs tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .report-table--outputs tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .report-table--outputs tbody tr.report-row:not(.is-expanded) td:not(.report-card-toggle-cell) {
    display: none;
  }

  .report-table--outputs tbody tr .report-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .report-table--outputs tbody tr .report-card-toggle-cell::before {
    display: none;
  }

  .report-table--outputs tbody tr.report-row.is-expanded .report-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .report-table--outputs tbody tr.report-row.is-expanded .report-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .report-table--outputs tbody tr.report-row.is-expanded td.is-report-date {
    margin-top: 0.72rem;
  }

  .report-table--outputs td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .report-table--outputs td[colspan]::before {
    display: none;
  }

  .report-table--kardex,
  .report-table--kardex tbody,
  .report-table--kardex tbody tr {
    width: 100%;
  }

  .report-table--kardex {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .report-table--kardex colgroup,
  .report-table--kardex thead {
    display: none;
  }

  .report-table--kardex tbody {
    display: grid;
    gap: 0.82rem;
  }

  .report-table--kardex tbody tr.report-row {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .report-table--kardex tbody tr.report-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .report-table--kardex tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .report-table--kardex tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .report-table--kardex tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .report-table--kardex tbody tr.report-row:not(.is-expanded) td:not(.report-card-toggle-cell) {
    display: none;
  }

  .report-table--kardex tbody tr .report-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .report-table--kardex tbody tr .report-card-toggle-cell::before {
    display: none;
  }

  .report-table--kardex tbody tr.report-row.is-expanded .report-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .report-table--kardex tbody tr.report-row.is-expanded .report-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .report-table--kardex tbody tr.report-row.is-expanded td.is-report-date {
    margin-top: 0.72rem;
  }

  .report-table--kardex td.is-report-type .pill-mode {
    min-width: 0;
    width: fit-content;
    justify-self: start;
  }

  .report-table--kardex td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .report-table--kardex td[colspan]::before {
    display: none;
  }
}

@container reports-panel (max-width: 820px) {
  .users-toolbar.report-toolbar.report-toolbar--entries {
    grid-template-columns: minmax(0, 1fr) minmax(138px, 164px);
    width: 100%;
  }

  .users-toolbar.report-toolbar.report-toolbar--entries .search-field {
    grid-column: 1 / -1;
  }

  .users-toolbar.report-toolbar.report-toolbar--entries .users-filter-menu {
    grid-column: 1 / 2;
  }

  .users-toolbar.report-toolbar.report-toolbar--entries .report-reset-btn {
    grid-column: 2 / 3;
  }

  .users-toolbar.report-toolbar.report-toolbar--entries .users-filter-menu__panel {
    width: min(680px, calc(100vw - 1.5rem));
  }

  .users-toolbar.report-toolbar.report-toolbar--outputs {
    grid-template-columns: minmax(0, 1fr) minmax(138px, 164px);
    width: 100%;
  }

  .users-toolbar.report-toolbar.report-toolbar--outputs .search-field {
    grid-column: 1 / -1;
  }

  .users-toolbar.report-toolbar.report-toolbar--outputs .users-filter-menu {
    grid-column: 1 / 2;
  }

  .users-toolbar.report-toolbar.report-toolbar--outputs .report-reset-btn {
    grid-column: 2 / 3;
  }

  .users-toolbar.report-toolbar.report-toolbar--outputs .users-filter-menu__panel {
    width: min(560px, calc(100vw - 1.5rem));
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex {
    grid-template-columns: minmax(0, 1fr) minmax(156px, 176px) minmax(120px, 140px);
    width: 100%;
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex > select[name='product'],
  .users-toolbar.report-toolbar.report-toolbar--kardex > .searchable-select {
    grid-column: 1 / -1;
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex .users-filter-menu {
    grid-column: 1 / 2;
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex .users-search-btn {
    grid-column: 2 / 3;
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex .report-reset-btn {
    grid-column: 3 / 4;
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex .users-filter-menu__panel {
    width: min(360px, calc(100vw - 1.5rem));
  }
}

@container reports-panel (max-width: 620px) {
  .report-card-toggle {
    grid-template-columns: minmax(0, 1fr) auto 30px;
    align-items: start;
    min-height: 74px;
  }

  .users-toolbar.report-toolbar.report-toolbar--existence {
    grid-template-columns: 1fr;
  }

  .report-filter-panel {
    width: min(560px, calc(100vw - 1.5rem));
  }

  .report-filter-fields {
    grid-template-columns: 1fr;
  }

  .users-toolbar.report-toolbar.report-toolbar--entries {
    grid-template-columns: 1fr;
  }

  .users-toolbar.report-toolbar.report-toolbar--outputs {
    grid-template-columns: 1fr;
  }

  .users-toolbar.report-toolbar.report-toolbar--kardex {
    grid-template-columns: 1fr;
  }

  .report-table--entries tbody tr td {
    grid-template-columns: minmax(108px, 120px) minmax(0, 1fr);
    gap: 0.72rem;
  }

  .report-table--outputs tbody tr td {
    grid-template-columns: minmax(108px, 120px) minmax(0, 1fr);
    gap: 0.72rem;
  }

  .report-table--kardex tbody tr td {
    grid-template-columns: minmax(108px, 120px) minmax(0, 1fr);
    gap: 0.72rem;
  }

  .report-table--existence tbody tr td {
    grid-template-columns: minmax(108px, 120px) minmax(0, 1fr);
    gap: 0.72rem;
  }

  .report-card-toggle--existence {
    grid-template-columns: minmax(0, 1fr) auto 30px;
    gap: 0.52rem 0.72rem;
    align-items: start;
  }

  .report-card-toggle--existence .report-card-toggle__main {
    grid-column: 1 / -1;
  }

  .report-card-toggle--existence .report-card-toggle__main strong {
    overflow-wrap: anywhere;
  }

  .report-card-toggle--existence .report-card-toggle__main span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .report-card-toggle--existence .report-card-toggle__meta {
    align-self: center;
    white-space: normal;
    text-align: left;
  }

  .report-card-toggle--existence .report-card-toggle__status {
    justify-self: start;
    align-self: center;
  }

  .report-card-toggle--existence .report-card-toggle__icon {
    justify-self: end;
    align-self: center;
  }

  .report-card-toggle--outputs {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 0.52rem 0.72rem;
    align-items: start;
  }

  .report-card-toggle--outputs .report-card-toggle__main {
    grid-column: 1 / -1;
  }

  .report-card-toggle--outputs .report-card-toggle__main strong {
    overflow-wrap: anywhere;
  }

  .report-card-toggle--outputs .report-card-toggle__main span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .report-card-toggle--outputs .report-card-toggle__meta {
    grid-column: 1 / 2;
    grid-row: 2;
    align-self: center;
    white-space: normal;
    text-align: left;
  }

  .report-card-toggle--outputs .report-card-toggle__icon {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  .report-card-toggle--kardex {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 0.52rem 0.72rem;
    align-items: start;
  }

  .report-card-toggle--kardex .report-card-toggle__main {
    grid-column: 1 / -1;
  }

  .report-card-toggle--kardex .report-card-toggle__main strong {
    overflow-wrap: anywhere;
  }

  .report-card-toggle--kardex .report-card-toggle__main span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .report-card-toggle--kardex .report-card-toggle__meta {
    grid-column: 1 / 2;
    grid-row: 2;
    align-self: center;
    white-space: normal;
    text-align: left;
  }

  .report-card-toggle--kardex .report-card-toggle__icon {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  .report-card-toggle--entries {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 0.52rem 0.72rem;
    align-items: start;
  }

  .report-card-toggle--entries .report-card-toggle__main {
    grid-column: 1 / -1;
  }

  .report-card-toggle--entries .report-card-toggle__main strong {
    overflow-wrap: anywhere;
  }

  .report-card-toggle--entries .report-card-toggle__main span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .report-card-toggle--entries .report-card-toggle__meta {
    grid-column: 1 / 2;
    grid-row: 2;
    align-self: center;
    white-space: normal;
    text-align: left;
  }

  .report-card-toggle--entries .report-card-toggle__icon {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }
}

@media (max-width: 620px) {
  .dashboard-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
  }

  .dashboard-hero__stats .users-stat-card {
    max-width: none;
    min-height: 64px;
    padding: 0.5rem 0.6rem;
  }

  .dashboard-hero__stats .users-stat-card small {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.16;
  }

  .dashboard-hero__stats .users-stat-card strong {
    font-size: 1.08rem;
    line-height: 1.08;
  }

  .dashboard-link-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 70px;
    padding: 0.66rem 0.7rem;
  }

  .dashboard-link-card__icon {
    width: 2.42rem;
    height: 2.42rem;
    border-radius: 14px;
  }

  .dashboard-link-card__body strong {
    font-size: 0.94rem;
  }

  .dashboard-link-card__body span,
  .dashboard-mini-card span,
  .dashboard-recent-item span:last-child,
  .dashboard-top-item span,
  .dashboard-metric-row span {
    font-size: 0.78rem;
  }

  .dashboard-viewer-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-chart-panel,
  .dashboard-chart-panel--viewer {
    grid-template-columns: 1fr;
  }

  .dashboard-chart-canvas {
    height: 178px;
    padding-inline: 0;
  }

  .dashboard-chart-panel--viewer .dashboard-chart-canvas {
    height: 214px;
  }

  .dashboard-chart-panel--admin .dashboard-chart-canvas,
  .dashboard-chart-panel--admin .dashboard-chart-canvas--short,
  .dashboard-chart-panel--admin .dashboard-chart-canvas--products {
    height: 214px;
  }

  .dashboard-chart-canvas--short {
    height: 160px;
  }

  .dashboard-chart-canvas--products {
    height: 220px;
  }

  .dashboard-chart-panel--viewer .dashboard-chart-canvas--products {
    height: 214px;
  }

  .dashboard-trend-chart {
    gap: 0.34rem;
    min-height: 112px;
  }

  .dashboard-trend-bar {
    height: 112px;
  }

  .dashboard-trend-bar__track {
    min-height: 62px;
    border-radius: 12px;
  }

  .dashboard-card-grid--modules {
    gap: 0.52rem;
  }

  .dashboard-modules-panel .dashboard-card-grid--modules {
    grid-template-columns: 1fr;
  }

  .dashboard-mini-card {
    min-height: 58px;
    padding: 0.58rem 0.62rem;
  }

  .dashboard-mini-card strong {
    font-size: 0.84rem;
  }

  .dashboard-mini-card span {
    font-size: 0.72rem;
  }

  .auth-layout--lavandera {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .auth-brand-panel {
    min-height: 220px;
    align-content: start;
  }

  .auth-brand-mark {
    position: absolute;
    left: 0.95rem;
    top: 0.82rem;
    z-index: 3;
  }

  .auth-hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .auth-hero-copy span {
    font-size: 0.92rem;
  }

  .auth-hero-copy {
    display: none;
  }

  .auth-visual {
    right: 0.8rem;
    bottom: 0.55rem;
    opacity: 0.76;
    width: min(44vw, 176px);
  }

  .auth-bubble--coral {
    width: 5.4rem;
    height: 5.4rem;
    left: -0.2rem;
  }

  .auth-card--lavandera {
    padding: 0.95rem;
    border-radius: 18px;
  }

  .auth-card-head {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .auth-card-mark {
    width: 84px;
    height: 46px;
  }

  .auth-brand-logo {
    max-width: 10.8rem;
    height: 2.38rem;
  }

  .auth-card-logo {
    max-width: 4.3rem;
    height: 1.62rem;
  }

  .auth-card-logo--form {
    max-width: 5rem;
    height: 2.36rem;
  }

  .profile-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .profile-summary-card {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 18px;
    font-size: 1.34rem;
  }

  .profile-info-card,
  .profile-summary-card {
    padding: 0.82rem;
  }

  .products-toolbar,
  .products-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .products-toolbar .users-search-btn {
    grid-column: auto;
  }

  .product-card-toggle {
    grid-template-columns: minmax(0, 1fr) auto 30px;
    align-items: center;
    min-height: 74px;
  }

  .product-card-toggle .products-pill-status {
    align-self: center;
  }

}

@media (max-width: 430px) {
  .dashboard-card-grid--modules {
    grid-template-columns: 1fr;
  }
}

@container products-panel (max-width: 620px) {
  .products-toolbar,
  .products-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .products-toolbar .users-search-btn {
    grid-column: auto;
  }
}

@container inventory-list-panel (max-width: 1040px) {
  .categories-toolbar,
  .categories-toolbar.is-auto-submit,
  .suppliers-toolbar,
  .suppliers-toolbar.is-auto-submit,
  .dosifiers-toolbar,
  .dosifiers-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    width: 100%;
  }

  .suppliers-toolbar .search-field {
    grid-column: auto;
  }

  .categories-toolbar .users-search-btn,
  .suppliers-toolbar .users-search-btn,
  .dosifiers-toolbar .users-search-btn {
    grid-column: 2;
  }

  .categories-panel .users-panel-actions,
  .suppliers-panel .users-panel-actions,
  .dosifiers-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
  }

  .categories-panel .users-panel-actions > a,
  .suppliers-panel .users-panel-actions > a,
  .dosifiers-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 42vw, 188px);
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 0.95rem;
  }

  .categories-table-shell,
  .suppliers-table-shell,
  .dosifiers-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .category-table,
  .supplier-table,
  .dosifier-table {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .category-table thead,
  .supplier-table thead,
  .dosifier-table thead {
    display: none;
  }

  .category-table,
  .category-table tbody,
  .category-table tbody tr,
  .supplier-table,
  .supplier-table tbody,
  .supplier-table tbody tr {
    width: 100%;
  }

  .category-table tbody,
  .supplier-table tbody,
  .dosifier-table tbody {
    display: grid;
    gap: 0.82rem;
  }

  .category-table tbody tr,
  .supplier-table tbody tr,
  .dosifier-table tbody tr {
    display: grid;
    gap: 0;
    padding: 1rem 1.06rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(57, 198, 223, 0.08), transparent 52%),
      radial-gradient(circle at right center, rgba(244, 111, 109, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .dosifier-table tbody tr.dosifier-row:hover {
    border-color: rgba(164, 204, 231, 0.92);
    box-shadow: 0 12px 22px rgba(10, 77, 132, 0.08);
    transform: translateY(-1px);
  }

  .category-table tbody tr td,
  .supplier-table tbody tr td,
  .dosifier-table tbody tr td {
    display: grid;
    grid-template-columns: minmax(124px, 136px) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    width: 100% !important;
    max-width: none !important;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .category-table tbody tr td + td,
  .supplier-table tbody tr td + td,
  .dosifier-table tbody tr td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.38rem;
  }

  .category-table tbody tr td::before,
  .supplier-table tbody tr td::before,
  .dosifier-table tbody tr td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
  }

  .category-table tbody tr.category-row:not(.is-expanded) td:not(.category-card-toggle-cell) {
    display: none;
  }

  .category-table tbody tr .category-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .category-table tbody tr .category-card-toggle-cell::before {
    display: none;
  }

  .category-table tbody tr.category-row.is-expanded .category-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .category-table tbody tr.category-row.is-expanded .category-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .category-table tbody tr.category-row.is-expanded td.is-name {
    margin-top: 0.72rem;
  }

  .supplier-table tbody tr.supplier-row:not(.is-expanded) td:not(.supplier-card-toggle-cell) {
    display: none;
  }

  .supplier-table tbody tr .supplier-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .supplier-table tbody tr .supplier-card-toggle-cell::before {
    display: none;
  }

  .supplier-table tbody tr.supplier-row.is-expanded .supplier-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .supplier-table tbody tr.supplier-row.is-expanded .supplier-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .supplier-table tbody tr.supplier-row.is-expanded td.is-code {
    margin-top: 0.72rem;
  }

  .dosifier-table tbody tr.dosifier-row:not(.is-expanded) td:not(.dosifier-card-toggle-cell) {
    display: none;
  }

  .dosifier-table tbody tr .dosifier-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
  }

  .dosifier-table tbody tr .dosifier-card-toggle-cell::before {
    display: none;
  }

  .dosifier-table tbody tr.dosifier-row.is-expanded .dosifier-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .dosifier-table tbody tr.dosifier-row.is-expanded .dosifier-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .dosifier-table tbody tr.dosifier-row.is-expanded td:first-child:not(.dosifier-card-toggle-cell) {
    margin-top: 0.72rem;
  }

  .category-table td,
  .supplier-table td,
  .dosifier-table td,
  .category-table td:nth-child(4),
  .supplier-table td:nth-child(8),
  .dosifier-table td:last-child {
    text-align: left;
  }

  .category-table .users-pill-status,
  .supplier-table .users-pill-status,
  .dosifier-table .users-pill-status,
  .category-table .product-text-cell,
  .supplier-table .product-text-cell,
  .dosifier-table .table-copy {
    justify-self: start;
  }

  .category-table .category-actions-group,
  .supplier-table .supplier-actions-group,
  .dosifier-table .action-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: fit-content;
    padding: 0.26rem;
    border: 1px solid #d8e6f0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(10, 77, 132, 0.04);
  }

  .dosifier-table .dosifier-actions-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: fit-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dosifier-table .action-row {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .category-table td.is-status,
  .category-table td.is-actions,
  .supplier-table td.is-status,
  .supplier-table td.is-actions,
  .dosifier-table td.is-status,
  .dosifier-table td.is-actions {
    align-items: start;
  }

  .category-table td.is-status::before,
  .category-table td.is-actions::before,
  .supplier-table td.is-status::before,
  .supplier-table td.is-actions::before,
  .dosifier-table td.is-status::before,
  .dosifier-table td.is-actions::before {
    min-height: 1rem;
    align-items: flex-start;
    padding-top: 0.04rem;
  }

  .category-table td.is-status .users-pill-status {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .category-table td.is-actions .category-actions-group {
    min-height: 40px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .supplier-table td.is-status .users-pill-status {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .supplier-table td.is-actions .supplier-actions-group {
    min-height: 40px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dosifier-table td.is-actions .dosifier-actions-group {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-self: start;
    width: auto;
    max-width: 100%;
  }

  .dosifier-table td.is-status .users-pill-status {
    min-width: 96px;
    min-height: 38px;
    width: fit-content;
    justify-self: start;
  }

  .supplier-table td.is-code .product-text-cell strong,
  .supplier-table td.is-company .product-text-cell strong {
    font-size: 0.96rem;
  }

  .supplier-table td.is-contact .product-text-cell strong,
  .supplier-table td.is-email .product-text-cell strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .supplier-table td.is-email .product-text-cell {
    display: grid;
    width: 100%;
    justify-self: start;
    text-align: left;
  }

  .supplier-table td.is-email .product-text-cell strong {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .category-table td.is-name .product-text-cell strong {
    font-size: 0.96rem;
  }

  .category-table td.is-description .product-text-cell strong {
    font-size: 0.9rem;
    font-weight: 400;
  }

  .category-table td[colspan],
  .supplier-table td[colspan],
  .dosifier-table td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .category-table td[colspan]::before,
  .supplier-table td[colspan]::before,
  .dosifier-table td[colspan]::before {
    display: none;
  }
}

@container inventory-list-panel (max-width: 860px) {
  .categories-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .categories-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 40vw, 188px);
    max-width: 100%;
  }

  .suppliers-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .suppliers-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 40vw, 188px);
    max-width: 100%;
  }

  .suppliers-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 164px));
    gap: 0.56rem;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    align-self: start;
  }

  .suppliers-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: 164px;
    min-height: 78px;
    padding: 0.64rem 0.74rem;
  }
}

@container inventory-list-panel (max-width: 620px) {
  .categories-toolbar,
  .categories-toolbar.is-auto-submit,
  .suppliers-toolbar,
  .suppliers-toolbar.is-auto-submit,
  .dosifiers-toolbar,
  .dosifiers-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .categories-toolbar .users-search-btn,
  .suppliers-toolbar .users-search-btn,
  .dosifiers-toolbar .users-search-btn {
    grid-column: auto;
  }

  .categories-panel .users-panel-actions > a {
    min-width: clamp(144px, 68vw, 188px);
  }

  .suppliers-panel .users-panel-actions > a {
    min-width: clamp(144px, 68vw, 188px);
  }

  .dosifier-card-toggle {
    grid-template-columns: minmax(0, 1fr) auto 30px;
    gap: 0.52rem 0.72rem;
    align-items: center;
  }

  .dosifier-card-toggle__main {
    grid-column: 1 / -1;
  }

  .dosifier-card-toggle__meta {
    justify-self: start;
  }
}

@container entries-panel (max-width: 1120px) {
  .entries-toolbar input {
    min-width: 0;
  }

  .entries-toolbar,
  .entries-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    width: 100%;
  }

  .entries-toolbar .search-field {
    grid-column: auto;
  }

  .entries-toolbar .users-search-btn {
    grid-column: 2;
  }

  .entries-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
  }

  .entries-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 42vw, 188px);
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 0.95rem;
  }
}

@container entries-panel (max-width: 860px) {
  .entries-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .entries-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 40vw, 188px);
    max-width: 100%;
  }

  .entries-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .movements-table--entries {
    display: block;
    width: 100%;
    min-width: 0;
    table-layout: auto;
  }

  .movements-table--entries colgroup {
    display: none;
  }

  .movements-table--entries thead {
    display: none;
  }

  .movements-table--entries tbody {
    display: grid;
    gap: 0.88rem;
    width: 100%;
  }

  .movements-table--entries tbody tr.entry-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.28rem;
    width: 100%;
    padding: 0.96rem 1rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      linear-gradient(90deg, rgba(57, 198, 223, 0.08), rgba(255, 255, 255, 0.99) 18%, rgba(255, 255, 255, 0.99) 82%, rgba(244, 111, 109, 0.06)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .movements-table--entries tbody tr.entry-row:hover {
    border-color: rgba(120, 173, 214, 0.42);
    background:
      linear-gradient(90deg, rgba(57, 198, 223, 0.1), rgba(255, 255, 255, 0.995) 18%, rgba(255, 255, 255, 0.995) 82%, rgba(244, 111, 109, 0.075)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(240, 248, 255, 0.98));
    box-shadow: 0 14px 26px rgba(10, 77, 132, 0.09);
    transform: translateY(-1px);
  }

  .movements-table--entries tbody tr.entry-row td {
    display: grid;
    grid-template-columns: minmax(132px, 140px) minmax(0, 1fr);
    align-items: start;
    gap: 0.94rem;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .movements-table--entries tbody tr.entry-row td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.36rem;
  }

  .movements-table--entries tbody tr.entry-row td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
    align-self: start;
  }

  .movements-table--entries tbody tr.entry-row:not(.is-expanded) td:not(.entry-card-toggle-cell) {
    display: none;
  }

  .movements-table--entries tbody tr.entry-row .entry-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .movements-table--entries tbody tr.entry-row .entry-card-toggle-cell::before {
    display: none;
  }

  .movements-table--entries tbody tr.entry-row.is-expanded .entry-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .movements-table--entries tbody tr.entry-row.is-expanded .entry-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .movements-table--entries tbody tr.entry-row.is-expanded {
    border-color: rgba(120, 173, 214, 0.38);
    box-shadow: 0 14px 26px rgba(10, 77, 132, 0.09);
  }

  .movements-table--entries tbody tr.entry-row.is-expanded td.is-entry-date {
    margin-top: 0.72rem;
  }

  .movements-table--entries td.is-entry-date,
  .movements-table--entries td.is-entry-product,
  .movements-table--entries td.is-entry-source,
  .movements-table--entries td.is-entry-category,
  .movements-table--entries td.is-entry-qty-physical,
  .movements-table--entries td.is-entry-qty,
  .movements-table--entries td.is-entry-unit-cost,
  .movements-table--entries td.is-entry-cost,
  .movements-table--entries td.is-entry-user {
    text-align: left;
  }

  .movements-table--entries td .movement-meta,
  .movements-table--entries td .movement-identity,
  .movements-table--entries td .product-related-cell,
  .movements-table--entries td .product-text-cell,
  .movements-table--entries td .product-number-cell,
  .movements-table--entries td .product-measure-cell,
  .movements-table--entries td .product-money-cell {
    justify-self: start;
    min-width: 0;
  }

  .movements-table--entries td .movement-meta strong,
  .movements-table--entries td .movement-identity strong,
  .movements-table--entries td .product-text-cell strong,
  .movements-table--entries td .product-number-cell strong,
  .movements-table--entries td .product-measure-cell strong,
  .movements-table--entries td .product-money-cell strong {
    font-size: 0.98rem;
    line-height: 1.24;
  }

  .movements-table--entries td .movement-meta span,
  .movements-table--entries td .movement-identity span,
  .movements-table--entries td .product-related-cell span,
  .movements-table--entries td .product-text-cell span,
  .movements-table--entries td .product-measure-cell span {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .movements-table--entries td .movement-meta strong,
  .movements-table--entries td .movement-identity strong,
  .movements-table--entries td .product-related-cell strong,
  .movements-table--entries td .product-text-cell strong,
  .movements-table--entries td .product-measure-cell strong,
  .movements-table--entries td .product-money-cell strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .movements-table--entries td.is-entry-date .movement-meta strong,
  .movements-table--entries td.is-entry-user .product-text-cell strong {
    font-weight: 700;
  }

  .movements-table--entries td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .movements-table--entries td[colspan]::before {
    display: none;
  }
}

@container entries-panel (max-width: 620px) {
  .entries-toolbar,
  .entries-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .entries-toolbar .search-field,
  .entries-toolbar .users-search-btn {
    grid-column: auto;
    width: 100%;
  }

  .entries-panel .users-panel-actions > a {
    min-width: clamp(144px, 68vw, 188px);
  }

  .entry-card-toggle {
    min-height: 72px;
    padding: 0.78rem 0.82rem;
  }

  .entry-card-toggle__main strong {
    font-size: 0.96rem;
    line-height: 1.22;
    -webkit-line-clamp: 2;
  }

  .entry-card-toggle__main span {
    font-size: 0.78rem;
  }

  .movements-table--entries tbody tr.entry-row {
    padding: 0.9rem 0.92rem;
  }

  .movements-table--entries tbody tr.entry-row td {
    grid-template-columns: minmax(108px, 116px) minmax(0, 1fr);
    gap: 0.74rem;
  }
}


@container outputs-panel (max-width: 1120px) {
  .outputs-toolbar input {
    min-width: 0;
  }

  .outputs-toolbar,
  .outputs-toolbar.is-auto-submit {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    width: 100%;
  }

  .outputs-toolbar .search-field {
    grid-column: auto;
  }

  .outputs-toolbar .users-search-btn {
    grid-column: 2;
  }

  .outputs-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
  }

  .outputs-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 42vw, 188px);
    max-width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 0.95rem;
  }
}

@container outputs-panel (max-width: 860px) {
  .outputs-panel .users-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .outputs-panel .users-panel-actions > a {
    width: auto;
    flex: 0 1 auto;
    min-width: clamp(152px, 40vw, 188px);
    max-width: 100%;
  }

  .outputs-table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.16rem 0.2rem 0.08rem;
  }

  .movements-table--outputs {
    display: block;
    width: 100%;
    min-width: 0;
    table-layout: auto;
  }

  .movements-table--outputs colgroup {
    display: none;
  }

  .movements-table--outputs thead {
    display: none;
  }

  .movements-table--outputs tbody {
    display: grid;
    gap: 0.88rem;
    width: 100%;
  }

  .movements-table--outputs tbody tr.output-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.28rem;
    width: 100%;
    padding: 0.96rem 1rem;
    border: 1px solid rgba(214, 229, 240, 0.84);
    border-radius: 24px;
    background:
      linear-gradient(90deg, rgba(57, 198, 223, 0.08), rgba(255, 255, 255, 0.99) 18%, rgba(255, 255, 255, 0.99) 82%, rgba(244, 111, 109, 0.06)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 255, 0.97));
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.05);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .movements-table--outputs tbody tr.output-row:hover {
    border-color: rgba(120, 173, 214, 0.42);
    background:
      linear-gradient(90deg, rgba(57, 198, 223, 0.1), rgba(255, 255, 255, 0.995) 18%, rgba(255, 255, 255, 0.995) 82%, rgba(244, 111, 109, 0.075)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(240, 248, 255, 0.98));
    box-shadow: 0 14px 26px rgba(10, 77, 132, 0.09);
    transform: translateY(-1px);
  }

  .movements-table--outputs tbody tr.output-row td {
    display: grid;
    grid-template-columns: minmax(132px, 140px) minmax(0, 1fr);
    align-items: start;
    gap: 0.94rem;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }

  .movements-table--outputs tbody tr.output-row td + td {
    border-top: 1px solid rgba(214, 229, 240, 0.72);
    padding-top: 0.36rem;
  }

  .movements-table--outputs tbody tr.output-row td::before {
    content: attr(data-label);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c88a3;
    line-height: 1.15;
    min-height: 1rem;
    padding-top: 0.04rem;
    align-self: start;
  }

  .movements-table--outputs tbody tr.output-row:not(.is-expanded) td:not(.output-card-toggle-cell) {
    display: none;
  }

  .movements-table--outputs tbody tr.output-row .output-card-toggle-cell {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .movements-table--outputs tbody tr.output-row .output-card-toggle-cell::before {
    display: none;
  }

  .movements-table--outputs tbody tr.output-row.is-expanded .output-card-toggle {
    border-color: rgba(10, 98, 189, 0.32);
    box-shadow: 0 8px 16px rgba(10, 77, 132, 0.06);
  }

  .movements-table--outputs tbody tr.output-row.is-expanded .output-card-toggle__icon {
    transform: rotate(180deg);
    background: rgba(10, 98, 189, 0.08);
  }

  .movements-table--outputs tbody tr.output-row.is-expanded {
    border-color: rgba(120, 173, 214, 0.38);
    box-shadow: 0 14px 26px rgba(10, 77, 132, 0.09);
  }

  .movements-table--outputs tbody tr.output-row.is-expanded td.is-output-date {
    margin-top: 0.72rem;
  }

  .movements-table--outputs td .movement-meta,
  .movements-table--outputs td .movement-identity,
  .movements-table--outputs td .product-number-cell,
  .movements-table--outputs td .product-text-cell,
  .movements-table--outputs td .product-measure-cell,
  .movements-table--outputs td .product-money-cell {
    justify-self: start;
    min-width: 0;
  }

  .movements-table--outputs td .movement-meta strong,
  .movements-table--outputs td .movement-identity strong,
  .movements-table--outputs td .product-number-cell strong,
  .movements-table--outputs td .product-text-cell strong,
  .movements-table--outputs td .product-measure-cell strong,
  .movements-table--outputs td .product-money-cell strong {
    font-size: 0.98rem;
    line-height: 1.24;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .movements-table--outputs td .movement-meta span,
  .movements-table--outputs td .movement-identity span,
  .movements-table--outputs td .product-number-cell span,
  .movements-table--outputs td .product-text-cell span,
  .movements-table--outputs td .product-measure-cell span {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .movements-table--outputs td.is-output-date .movement-meta strong,
  .movements-table--outputs td.is-output-user .product-text-cell strong {
    font-weight: 700;
  }

  .movements-table--outputs td[colspan] {
    display: block;
    padding: 0.4rem 0.1rem;
  }

  .movements-table--outputs td[colspan]::before {
    display: none;
  }
}

@container outputs-panel (max-width: 620px) {
  .output-requests-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .output-request-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .output-request-card__actions {
    justify-content: flex-start;
  }

  .output-request-card__actions .btn-action-sm {
    min-height: 38px;
  }

  .outputs-toolbar,
  .outputs-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .outputs-toolbar .search-field,
  .outputs-toolbar .users-search-btn {
    grid-column: auto;
    width: 100%;
  }

  .outputs-panel .users-panel-actions > a {
    min-width: clamp(144px, 68vw, 188px);
  }

  .output-card-toggle {
    min-height: 74px;
    padding: 0.78rem 0.82rem;
    grid-template-columns: minmax(0, 1fr) auto 30px;
    align-items: start;
  }

  .output-card-toggle__main strong {
    font-size: 0.96rem;
    line-height: 1.22;
    -webkit-line-clamp: 2;
  }

  .output-card-toggle__main span {
    font-size: 0.78rem;
  }

  .output-card-toggle__meta {
    align-self: center;
  }

  .output-card-toggle__meta strong {
    font-size: 0.84rem;
  }

  .output-card-toggle__meta span {
    font-size: 0.74rem;
  }

  .movements-table--outputs tbody tr.output-row {
    padding: 0.9rem 0.92rem;
  }

  .movements-table--outputs tbody tr.output-row td {
    grid-template-columns: minmax(108px, 116px) minmax(0, 1fr);
    gap: 0.74rem;
  }
}

@media (max-width: 640px) {
  .page-content {
    width: min(1260px, 94%);
  }

  .sidebar-nav a {
    font-size: 0.9rem;
  }

  .user-dropdown {
    min-width: min(286px, calc(100vw - 1.5rem));
  }

  .toolbar input,
  .toolbar select {
    width: 100%;
  }

  .users-toolbar {
    grid-template-columns: 1fr;
  }

  .users-toolbar .btn-outline {
    width: 100%;
  }

  .users-toolbar.is-auto-submit {
    grid-template-columns: 1fr;
  }

  .users-toolbar.report-toolbar,
  .users-toolbar.report-toolbar.report-toolbar--existence,
  .users-toolbar.report-toolbar.report-toolbar--entries,
  .users-toolbar.report-toolbar.report-toolbar--outputs,
  .users-toolbar.report-toolbar.report-toolbar--kardex {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .users-toolbar.report-toolbar .search-field,
  .users-toolbar.report-toolbar > select,
  .users-toolbar.report-toolbar > .searchable-select,
  .users-toolbar.report-toolbar > input[type='date'],
  .users-toolbar.report-toolbar > input[type='text'],
  .users-toolbar.report-toolbar .btn-outline,
  .users-toolbar.report-toolbar .btn-primary {
    width: 100%;
    max-width: none;
  }

  .audit-toolbar {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .audit-toolbar .search-field {
    flex-basis: 100%;
    max-width: none;
  }

  .confirm-modal__dialog {
    width: min(520px, calc(100vw - 1.2rem));
    margin-top: 1rem;
    padding: 1rem 0.9rem 0.9rem;
  }

  .confirm-modal__actions {
    flex-direction: column-reverse;
  }

  .confirm-modal__cancel,
  .confirm-modal__accept {
    width: 100%;
  }

  .form-actions {
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .user-form-actions {
    flex-wrap: wrap !important;
  }

  .inventory-field-links,
  .inventory-field-link {
    width: 100%;
  }

  .inventory-field-link {
    justify-content: center;
  }

  .user-form-steps {
    grid-template-columns: 1fr;
  }

  .user-form-steps li small {
    display: none;
  }
}

.users-hero--form {
  gap: 0.86rem;
  padding-block: 0.92rem;
}

.users-hero--form .users-hero__content h1 {
  font-size: clamp(1.72rem, 3vw, 2.2rem);
}

.users-hero--form .users-hero__stats {
  grid-template-columns: repeat(2, minmax(128px, 150px));
  gap: 0.5rem;
  width: fit-content;
  justify-content: flex-end;
  align-self: center;
}

.users-hero--form .users-stat-card {
  min-height: 64px;
  padding: 0.54rem 0.64rem;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(8, 66, 124, 0.1);
}

.users-hero--form .users-stat-card small {
  font-size: 0.62rem;
  line-height: 1.16;
  letter-spacing: 0.08em;
}

.users-hero--form .users-stat-card strong {
  font-size: clamp(1.02rem, 2.5vw, 1.24rem);
  line-height: 1.08;
}

@media (max-width: 980px) {
  .users-hero .users-hero__stats,
  .users-hero .accounts-hero__stats,
  .users-hero .products-hero__stats,
  .users-hero .categories-hero__stats,
  .users-hero .suppliers-hero__stats,
  .users-hero .dosifiers-hero__stats,
  .users-hero .entries-hero__stats,
  .users-hero .outputs-hero__stats,
  .users-hero .reports-hero__stats,
  .users-hero .dashboard-hero__stats,
  .users-hero .audit-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
    align-self: stretch;
  }

  .users-hero .users-hero__stats--single,
  .users-hero .entries-hero__stats,
  .users-hero .outputs-hero__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .users-hero .users-hero__stats .users-stat-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 64px;
    height: auto;
    align-content: center;
    padding: 0.5rem 0.6rem;
  }

  .users-hero .users-hero__stats .users-stat-card small,
  .users-hero .users-hero__stats .users-stat-card strong {
    min-width: 0;
    max-width: 100%;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .users-hero .users-hero__stats .users-stat-card small {
    min-height: auto;
    font-size: 0.62rem;
    line-height: 1.16;
    letter-spacing: 0.08em;
  }

  .users-hero .users-hero__stats .users-stat-card strong {
    font-size: clamp(1.08rem, 5vw, 1.45rem);
    line-height: 1.08;
  }

  .users-hero .reports-hero__stats--five .users-stat-card {
    grid-column: auto;
  }

  .users-hero--form .users-hero__stats {
    width: 100%;
    justify-content: stretch;
  }

  .users-hero--form .users-stat-card {
    min-height: 62px;
  }
}

@media (max-width: 380px) {
  .users-hero .users-hero__stats,
  .users-hero .accounts-hero__stats,
  .users-hero .products-hero__stats,
  .users-hero .categories-hero__stats,
  .users-hero .suppliers-hero__stats,
  .users-hero .dosifiers-hero__stats,
  .users-hero .reports-hero__stats,
  .users-hero .dashboard-hero__stats,
  .users-hero .audit-hero__stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
